ling-yun-custom-components 0.0.35 → 0.0.36

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.
Files changed (39) hide show
  1. package/es/IconRenderer.mjs +62 -13
  2. package/es/IconSelect.mjs +15 -15
  3. package/es/PageNotFound.mjs +42 -0
  4. package/es/SearchBar.mjs +1 -1
  5. package/es/UpdatePasswordDialog.mjs +1 -1
  6. package/es/assets/PageNotFound.css +0 -0
  7. package/es/assets/layout3.css +1 -1
  8. package/es/chunks/global.BoqYDmws.js +8387 -0
  9. package/es/chunks/global.DBatr4rf.js +15746 -0
  10. package/es/chunks/global.DLyUBjAm.js +8080 -0
  11. package/es/chunks/global.DpSgdQXX.js +7906 -0
  12. package/es/chunks/layout.BgtHhnxJ.js +66 -0
  13. package/es/chunks/layout.C9yoozRN.js +592 -0
  14. package/es/chunks/layout.CRtj9xK9.js +230 -0
  15. package/es/chunks/layout.CYgILBXq.js +592 -0
  16. package/es/chunks/layout.DTDMwNO7.js +231 -0
  17. package/es/chunks/layout.D_fCzVf0.js +39 -0
  18. package/es/chunks/layout.DdM4MaRr.js +149 -0
  19. package/es/index.mjs +49 -44
  20. package/lib/IconRenderer.js +1 -1
  21. package/lib/IconSelect.js +1 -1
  22. package/lib/PageNotFound.js +1 -0
  23. package/lib/SearchBar.js +1 -1
  24. package/lib/UpdatePasswordDialog.js +1 -1
  25. package/lib/assets/PageNotFound.css +0 -0
  26. package/lib/assets/layout3.css +1 -1
  27. package/lib/chunks/global.3UE6pLnj.js +1 -0
  28. package/lib/chunks/global.BNCddmRI.js +1 -0
  29. package/lib/chunks/global.Cmc2k3td.js +1 -0
  30. package/lib/chunks/global.DUq6tY9B.js +1 -0
  31. package/lib/chunks/layout.BCsKDB9S.js +1 -0
  32. package/lib/chunks/layout.BbWwZ-k5.js +1 -0
  33. package/lib/chunks/layout.BlY_nSey.js +1 -0
  34. package/lib/chunks/layout.CsWdFS5P.js +1 -0
  35. package/lib/chunks/layout.D0p4CwoO.js +1 -0
  36. package/lib/chunks/layout.DE2mqrz_.js +1 -0
  37. package/lib/chunks/layout.YVnsUDl7.js +1 -0
  38. package/lib/index.js +1 -1
  39. package/package.json +5 -4
@@ -0,0 +1,231 @@
1
+ import { useAttrs as $, computed as d, onMounted as L, createBlock as p, openBlock as c, unref as a, mergeProps as U, withCtx as r, createElementBlock as y, renderSlot as g, createElementVNode as v, createCommentVNode as A, createTextVNode as h, toDisplayString as C, Fragment as R, createVNode as E } from "vue";
2
+ import { ElDialog as q, ElButton as x, ElIcon as z } from "element-plus";
3
+ import { IconClose as H, IconBack as J } from "color-message-lingyun-vue";
4
+ import { emitsMap as e } from "ling-yun-methods";
5
+ import { _ as K } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import '../assets/layout.css';const t = {
7
+ DEFAULT: "default",
8
+ PAGE: "page"
9
+ }, Q = {
10
+ key: 0,
11
+ class: "flex justify-center w-full"
12
+ }, W = {
13
+ class: "dialog-content flex flex-col",
14
+ style: { width: "60%" }
15
+ }, X = {
16
+ key: 0,
17
+ class: "title-name flex items-center"
18
+ }, Y = { class: "dialog-footer" }, Z = {
19
+ key: 0,
20
+ class: "flex justify-center items-center w-full"
21
+ }, ee = {
22
+ class: "flex justify-center items-center",
23
+ style: { width: "60%" }
24
+ }, oe = { class: "flex justify-end items-center w-full" }, te = /* @__PURE__ */ Object.assign({
25
+ name: "CustomDialog"
26
+ }, {
27
+ __name: "layout",
28
+ props: {
29
+ // 绑定值
30
+ modelValue: {
31
+ type: Boolean,
32
+ default: !1
33
+ },
34
+ // 对话框宽度
35
+ width: {
36
+ type: [String, Number],
37
+ default: "50%"
38
+ },
39
+ // 是否可以通过点击 modal 关闭对话框
40
+ closeOnClickModal: {
41
+ type: Boolean,
42
+ default: !1
43
+ },
44
+ // 是否可以通过按下 ESC 关闭对话框
45
+ closeOnPressEscape: {
46
+ type: Boolean,
47
+ default: !1
48
+ },
49
+ // 是否在对话框出现时将 body 滚动锁定
50
+ lockScroll: {
51
+ type: Boolean,
52
+ default: !0
53
+ },
54
+ // 关闭图标
55
+ closeIcon: {
56
+ type: Object,
57
+ default: H
58
+ },
59
+ // 按钮配置对象
60
+ buttons: {
61
+ type: Object,
62
+ default: () => ({})
63
+ },
64
+ appendToBody: {
65
+ type: Boolean,
66
+ default: !0
67
+ },
68
+ // 弹窗覆盖的模式 default|page
69
+ dialogMode: {
70
+ type: String,
71
+ default: t.DEFAULT
72
+ },
73
+ // route模式下标题值
74
+ titleName: {
75
+ type: String,
76
+ default: "默认标题"
77
+ }
78
+ },
79
+ emits: [
80
+ e.updateModelValue,
81
+ e.open,
82
+ e.opened,
83
+ e.close,
84
+ e.closed,
85
+ e.openAutoFocus,
86
+ e.closeAutoFocus,
87
+ e.cancel,
88
+ e.confirm
89
+ ],
90
+ setup(u, { emit: M }) {
91
+ const P = {
92
+ showCancel: !0,
93
+ showConfirm: !0,
94
+ cancelText: "取消",
95
+ confirmText: "确认",
96
+ onCancel: null,
97
+ onConfirm: null
98
+ }, o = u, m = $(), n = M, b = d(() => o.dialogMode === t.PAGE ? {
99
+ marginLeft: "250px",
100
+ borderRadius: "24px",
101
+ boxShadow: "none"
102
+ } : {}), _ = d(() => o.dialogMode === t.PAGE ? !1 : m.modal ? m.modal : !0), B = d(() => o.dialogMode === t.PAGE ? !0 : m.modalPenetrable ? m.modalPenetrable : !1), V = d(() => o.dialogMode === t.PAGE ? "calc(100% - 250px - 12px)" : o.width), F = d(() => o.dialogMode === t.PAGE ? "66px" : o.top || "15vh"), i = d({
103
+ get: () => o.modelValue,
104
+ set: (s) => {
105
+ n(e.updateModelValue, s);
106
+ }
107
+ }), l = d(() => ({
108
+ ...P,
109
+ ...o.buttons
110
+ })), G = d(() => {
111
+ const { modelValue: s, ...f } = o;
112
+ return f;
113
+ }), O = () => {
114
+ n(e.open);
115
+ }, T = () => {
116
+ n(e.opened);
117
+ }, S = () => {
118
+ n(e.close);
119
+ }, j = () => {
120
+ n(e.closed);
121
+ }, N = () => {
122
+ n(e.openAutoFocus);
123
+ }, D = () => {
124
+ n(e.closeAutoFocus);
125
+ }, I = () => {
126
+ l.value.onCancel ? l.value.onCancel() : i.value = !1, n(e.cancel);
127
+ }, k = async () => {
128
+ if (l.value.onConfirm)
129
+ try {
130
+ await l.value.onConfirm() !== !1 && (i.value = !1);
131
+ } catch {
132
+ }
133
+ else
134
+ i.value = !1;
135
+ n(e.confirm);
136
+ };
137
+ return L(() => {
138
+ o.dialogMode === t.PAGE && (document.querySelector(".el-overlay-dialog").style.overflow = "hidden");
139
+ }), (s, f) => (c(), p(a(q), U({
140
+ ref: "dialogRef",
141
+ modelValue: i.value,
142
+ "onUpdate:modelValue": f[1] || (f[1] = (w) => i.value = w)
143
+ }, G.value, {
144
+ width: V.value,
145
+ top: F.value,
146
+ style: b.value,
147
+ modal: _.value,
148
+ "modal-penetrable": B.value,
149
+ onOpen: O,
150
+ onOpened: T,
151
+ onClose: S,
152
+ onClosed: j,
153
+ onOpenAutoFocus: N,
154
+ onCloseAutoFocus: D,
155
+ "append-to-body": u.appendToBody,
156
+ class: {
157
+ "custom-dialog-page": u.dialogMode === a(t).PAGE
158
+ }
159
+ }), {
160
+ header: r(() => [
161
+ u.dialogMode === a(t).PAGE ? (c(), y("div", X, [
162
+ E(a(z), {
163
+ size: 20,
164
+ color: "var(--text-color-1)",
165
+ class: "mg-r-6 pointer",
166
+ onClick: f[0] || (f[0] = (w) => i.value = !1)
167
+ }, {
168
+ default: r(() => [
169
+ E(a(J))
170
+ ]),
171
+ _: 1
172
+ }),
173
+ h(" " + C(u.titleName), 1)
174
+ ])) : g(s.$slots, "header", { key: 1 }, void 0, !0)
175
+ ]),
176
+ footer: r(() => [
177
+ g(s.$slots, "footer", {}, () => [
178
+ v("div", Y, [
179
+ u.dialogMode === a(t).PAGE ? (c(), y("div", Z, [
180
+ v("div", ee, [
181
+ v("div", oe, [
182
+ l.value.showConfirm ? (c(), p(a(x), {
183
+ key: 0,
184
+ type: "primary",
185
+ onClick: k
186
+ }, {
187
+ default: r(() => [
188
+ h(C(l.value.confirmText), 1)
189
+ ]),
190
+ _: 1
191
+ })) : A("", !0)
192
+ ])
193
+ ])
194
+ ])) : (c(), y(R, { key: 1 }, [
195
+ l.value.showCancel ? (c(), p(a(x), {
196
+ key: 0,
197
+ onClick: I
198
+ }, {
199
+ default: r(() => [
200
+ h(C(l.value.cancelText), 1)
201
+ ]),
202
+ _: 1
203
+ })) : A("", !0),
204
+ l.value.showConfirm ? (c(), p(a(x), {
205
+ key: 1,
206
+ type: "primary",
207
+ onClick: k
208
+ }, {
209
+ default: r(() => [
210
+ h(C(l.value.confirmText), 1)
211
+ ]),
212
+ _: 1
213
+ })) : A("", !0)
214
+ ], 64))
215
+ ])
216
+ ], !0)
217
+ ]),
218
+ default: r(() => [
219
+ u.dialogMode === a(t).PAGE ? (c(), y("div", Q, [
220
+ v("div", W, [
221
+ g(s.$slots, "default", {}, void 0, !0)
222
+ ])
223
+ ])) : g(s.$slots, "default", { key: 1 }, void 0, !0)
224
+ ]),
225
+ _: 3
226
+ }, 16, ["modelValue", "width", "top", "style", "modal", "modal-penetrable", "append-to-body", "class"]));
227
+ }
228
+ }), ce = /* @__PURE__ */ K(te, [["__scopeId", "data-v-9fa594c0"]]);
229
+ export {
230
+ ce as C
231
+ };
@@ -0,0 +1,39 @@
1
+ import { useCssVars as o, createElementBlock as c, openBlock as n, toDisplayString as a } from "vue";
2
+ import { _ as s } from "./_plugin-vue_export-helper.CHgC5LLL.js";
3
+ import '../assets/layout3.css';const r = { class: "custom-title" }, i = /* @__PURE__ */ Object.assign({
4
+ name: "CustomTitle"
5
+ }, {
6
+ __name: "layout",
7
+ props: {
8
+ // 标题内容
9
+ content: {
10
+ type: String,
11
+ default: "自定义标题"
12
+ },
13
+ // 字体大小
14
+ fontSize: {
15
+ type: Number,
16
+ default: 18
17
+ },
18
+ // 字体颜色
19
+ color: {
20
+ type: String,
21
+ default: "var(--text-color-1)"
22
+ },
23
+ // 字体粗细
24
+ fontWeight: {
25
+ type: Number,
26
+ default: 700
27
+ }
28
+ },
29
+ setup(t) {
30
+ return o((e) => ({
31
+ v47d985ee: t.fontWeight,
32
+ v6d50a5d6: t.fontSize + "px",
33
+ v4b029cbc: t.color
34
+ })), (e, l) => (n(), c("div", r, a(t.content), 1));
35
+ }
36
+ }), d = /* @__PURE__ */ s(i, [["__scopeId", "data-v-4d572364"]]);
37
+ export {
38
+ d as C
39
+ };
@@ -0,0 +1,149 @@
1
+ import { useCssVars as L, ref as N, watch as U, createElementBlock as u, createCommentVNode as v, openBlock as r, Fragment as x, renderList as j, normalizeClass as z, unref as o, createElementVNode as m, createBlock as f, normalizeStyle as O, withCtx as S, resolveDynamicComponent as T, toDisplayString as k, renderSlot as M, createVNode as E } from "vue";
2
+ import { ElImage as R, ElIcon as w } from "element-plus";
3
+ import { emitsMap as c, uploadFileTypeMap as P, uploadFileType as a } from "ling-yun-methods";
4
+ import { IconTxt as A, IconPpt as F, IconXls as I, IconDoc as b, IconPdf as G, IconDelete as K } from "color-message-lingyun-vue";
5
+ import { _ as X } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import '../assets/layout5.css';const i = {
7
+ uploading: "uploading",
8
+ success: "success",
9
+ error: "error"
10
+ }, q = {
11
+ key: 0,
12
+ class: "file-list display-grid pd-t-12 pd-b-12"
13
+ }, H = { class: "flex overflow-hidden flex-1 pd-r-10" }, J = { class: "pd-l-8 flex-1 overflow-hidden" }, Q = ["title"], W = { class: "fz-12 text-ellipsis lh-16" }, Y = {
14
+ key: 1,
15
+ class: "text-74798c"
16
+ }, Z = /* @__PURE__ */ Object.assign({
17
+ name: "FileList"
18
+ }, {
19
+ __name: "layout",
20
+ props: {
21
+ // 文件列表数据
22
+ modelValue: {
23
+ type: Array,
24
+ default: () => []
25
+ },
26
+ // 是否显示删除按钮
27
+ showDelete: {
28
+ type: Boolean,
29
+ default: !0
30
+ },
31
+ // 字段映射配置
32
+ fieldMapping: {
33
+ type: Object,
34
+ default: () => ({
35
+ // fileName: 'fileName',
36
+ // fileUrl: 'fileUrl',
37
+ })
38
+ },
39
+ rowCount: {
40
+ type: Number,
41
+ default: 2
42
+ },
43
+ // 图标大小
44
+ iconSize: {
45
+ type: Number,
46
+ default: 36
47
+ }
48
+ },
49
+ emits: [c.delete, c.change, c.updateModelValue],
50
+ setup(l, { emit: _ }) {
51
+ L((e) => ({
52
+ v247946fe: l.rowCount
53
+ }));
54
+ const p = l, y = _, n = N(p.modelValue), B = Object.fromEntries(
55
+ Object.entries(P).map(([e, s]) => [s, e])
56
+ ), g = (e) => e[p.fieldMapping.fileUrl] ? e[p.fieldMapping.fileUrl] : e.raw && e.raw instanceof File ? URL.createObjectURL(e.raw) : e instanceof File ? URL.createObjectURL(e) : "", C = {
57
+ [a.pdf]: G,
58
+ [a.doc]: b,
59
+ [a.docx]: b,
60
+ [a.xls]: I,
61
+ [a.xlsx]: I,
62
+ [a.ppt]: F,
63
+ [a.pptx]: F,
64
+ [a.txt]: A
65
+ }, V = (e) => e?.includes("image"), $ = (e) => {
66
+ const s = B[e];
67
+ return C[s];
68
+ }, h = (e) => {
69
+ if (!e || e === 0) return "0 B";
70
+ const s = 1024, t = ["B", "KB", "MB", "GB"], d = Math.floor(Math.log(e) / Math.log(s));
71
+ return `${parseFloat((e / Math.pow(s, d)).toFixed(2))} ${t[d]}`;
72
+ }, D = (e, s) => {
73
+ n.value.splice(s, 1), y(c.delete, e), y(c.updateModelValue, n.value), y(c.change, n.value);
74
+ };
75
+ return U(
76
+ () => p.modelValue,
77
+ (e) => {
78
+ n.value = e;
79
+ },
80
+ { immediate: !0 }
81
+ ), (e, s) => n.value?.length ? (r(), u("div", q, [
82
+ (r(!0), u(x, null, j(n.value, (t, d) => (r(), u("div", {
83
+ key: d,
84
+ class: z(["pd-l-8 pd-r-8 pd-t-6 pd-b-6 radius-8 file-item overflow-hidden flex items-center", {
85
+ "bg-uploading": t.fileStatus === o(i).uploading,
86
+ "bg-fcfdff": t.fileStatus !== o(i).uploading,
87
+ "border-error": t.fileStatus === o(i).error,
88
+ "border-normal": t.fileStatus !== o(i).error
89
+ }])
90
+ }, [
91
+ m("div", H, [
92
+ V(t?.type) && g(t) ? (r(), f(o(R), {
93
+ key: 0,
94
+ src: g(t),
95
+ class: "radius-4",
96
+ fit: "cover",
97
+ style: O({ width: `${l.iconSize}px`, height: `${l.iconSize}px` })
98
+ }, null, 8, ["src", "style"])) : (r(), f(o(w), {
99
+ key: 1,
100
+ size: l.iconSize,
101
+ class: "pointer"
102
+ }, {
103
+ default: S(() => [
104
+ (r(), f(T($(t?.type))))
105
+ ]),
106
+ _: 2
107
+ }, 1032, ["size"])),
108
+ m("div", J, [
109
+ m("div", {
110
+ class: z(["fz-14 text-ellipsis lh-20 flex-1", {
111
+ "text-ec0e13": t.fileStatus === o(i).error,
112
+ "text-262626": t.fileStatus !== o(i).error
113
+ }]),
114
+ title: t[l.fieldMapping.fileName]
115
+ }, k(t[l.fieldMapping.fileName]), 11, Q),
116
+ m("div", W, [
117
+ e.$slots.status ? M(e.$slots, "status", {
118
+ key: 0,
119
+ file: t
120
+ }, void 0, !0) : (r(), u(x, { key: 1 }, [
121
+ e.$slots.size ? M(e.$slots, "size", {
122
+ key: 0,
123
+ file: t,
124
+ size: h(t.size)
125
+ }, void 0, !0) : (r(), u("span", Y, k(h(t.size)), 1))
126
+ ], 64))
127
+ ])
128
+ ])
129
+ ]),
130
+ l.showDelete ? (r(), f(o(w), {
131
+ key: 0,
132
+ size: 16,
133
+ color: t.fileStatus === o(i).error ? "var(--error-color-1)" : "var(--text-color-4)",
134
+ class: "pointer",
135
+ onClick: (ee) => D(t, d)
136
+ }, {
137
+ default: S(() => [
138
+ E(o(K))
139
+ ]),
140
+ _: 1
141
+ }, 8, ["color", "onClick"])) : v("", !0)
142
+ ], 2))), 128))
143
+ ])) : v("", !0);
144
+ }
145
+ }), ae = /* @__PURE__ */ X(Z, [["__scopeId", "data-v-0980a743"]]);
146
+ export {
147
+ ae as _,
148
+ i as u
149
+ };
package/es/index.mjs CHANGED
@@ -3,79 +3,84 @@ import { SearchBar as e } from "./SearchBar.mjs";
3
3
  import { PaginationTable as i } from "./PaginationTable.mjs";
4
4
  import { UploadFile as p } from "./UploadFile.mjs";
5
5
  import { FileList as n } from "./FileList.mjs";
6
- import { BatchImport as f } from "./BatchImport.mjs";
7
- import { GradientButton as a } from "./GradientButton.mjs";
6
+ import { BatchImport as a } from "./BatchImport.mjs";
7
+ import { GradientButton as f } from "./GradientButton.mjs";
8
8
  import { CustomDialog as l } from "./CustomDialog.mjs";
9
9
  import { CustomPagination as s } from "./CustomPagination.mjs";
10
10
  import { CustomTitle as c } from "./CustomTitle.mjs";
11
11
  import { CustomDropdown as S } from "./CustomDropdown.mjs";
12
12
  import { TreeSelect as u } from "./TreeSelect.mjs";
13
- import { TreeShowSelect as T } from "./TreeShowSelect.mjs";
14
- import { IconEmpty as d } from "./IconEmpty.mjs";
15
- import { IconRenderer as I } from "./IconRenderer.mjs";
16
- import { IconSelect as _ } from "./IconSelect.mjs";
17
- import { UpdatePasswordDialog as B } from "./UpdatePasswordDialog.mjs";
18
- import { BUILD_BIG_TITLES as C, BUILD_STEPS as D, BUILD_TITLES as E, BUILD_TYPES as L, BuildComponents as P, STEP_ARROW_IMAGE as g } from "./BuildComponents.mjs";
19
- import { CustomTab as U } from "./CustomTab.mjs";
20
- import { dayjs as b } from "element-plus";
13
+ import { TreeShowSelect as d } from "./TreeShowSelect.mjs";
14
+ import { IconEmpty as T } from "./IconEmpty.mjs";
15
+ import { IconRenderer as I, iconLibraryMap as _ } from "./IconRenderer.mjs";
16
+ import { IconSelect as B } from "./IconSelect.mjs";
17
+ import { PageNotFound as L } from "./PageNotFound.mjs";
18
+ import { UpdatePasswordDialog as P } from "./UpdatePasswordDialog.mjs";
19
+ import { BUILD_BIG_TITLES as g, BUILD_STEPS as C, BUILD_TITLES as D, BUILD_TYPES as E, BuildComponents as b, STEP_ARROW_IMAGE as U } from "./BuildComponents.mjs";
20
+ import { CustomTab as y } from "./CustomTab.mjs";
21
+ import { dayjs as w } from "element-plus";
21
22
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22
23
  __proto__: null,
23
- BUILD_BIG_TITLES: C,
24
- BUILD_STEPS: D,
25
- BUILD_TITLES: E,
26
- BUILD_TYPES: L,
27
- BatchImport: f,
28
- BuildComponents: P,
24
+ BUILD_BIG_TITLES: g,
25
+ BUILD_STEPS: C,
26
+ BUILD_TITLES: D,
27
+ BUILD_TYPES: E,
28
+ BatchImport: a,
29
+ BuildComponents: b,
29
30
  CustomDialog: l,
30
31
  CustomDropdown: S,
31
32
  CustomPagination: s,
32
33
  CustomSelect: m,
33
- CustomTab: U,
34
+ CustomTab: y,
34
35
  CustomTitle: c,
35
36
  FileList: n,
36
- GradientButton: a,
37
- IconEmpty: d,
37
+ GradientButton: f,
38
+ IconEmpty: T,
38
39
  IconRenderer: I,
39
- IconSelect: _,
40
+ IconSelect: B,
41
+ PageNotFound: L,
40
42
  PaginationTable: i,
41
- STEP_ARROW_IMAGE: g,
43
+ STEP_ARROW_IMAGE: U,
42
44
  SearchBar: e,
43
45
  TreeSelect: u,
44
- TreeShowSelect: T,
45
- UpdatePasswordDialog: B,
46
- UploadFile: p
46
+ TreeShowSelect: d,
47
+ UpdatePasswordDialog: P,
48
+ UploadFile: p,
49
+ iconLibraryMap: _
47
50
  }, Symbol.toStringTag, { value: "Module" }));
48
- b.en.weekStart = 1;
49
- const w = (r) => {
50
- for (const t in o)
51
- o[t].install && r.use(o[t]);
52
- }, Q = {
53
- install: w
51
+ w.en.weekStart = 1;
52
+ const h = (t) => {
53
+ for (const r in o)
54
+ o[r].install && t.use(o[r]);
55
+ }, Z = {
56
+ install: h
54
57
  };
55
58
  export {
56
- C as BUILD_BIG_TITLES,
57
- D as BUILD_STEPS,
58
- E as BUILD_TITLES,
59
- L as BUILD_TYPES,
60
- f as BatchImport,
61
- P as BuildComponents,
59
+ g as BUILD_BIG_TITLES,
60
+ C as BUILD_STEPS,
61
+ D as BUILD_TITLES,
62
+ E as BUILD_TYPES,
63
+ a as BatchImport,
64
+ b as BuildComponents,
62
65
  l as CustomDialog,
63
66
  S as CustomDropdown,
64
67
  s as CustomPagination,
65
68
  m as CustomSelect,
66
- U as CustomTab,
69
+ y as CustomTab,
67
70
  c as CustomTitle,
68
71
  n as FileList,
69
- a as GradientButton,
70
- d as IconEmpty,
72
+ f as GradientButton,
73
+ T as IconEmpty,
71
74
  I as IconRenderer,
72
- _ as IconSelect,
75
+ B as IconSelect,
76
+ L as PageNotFound,
73
77
  i as PaginationTable,
74
- g as STEP_ARROW_IMAGE,
78
+ U as STEP_ARROW_IMAGE,
75
79
  e as SearchBar,
76
80
  u as TreeSelect,
77
- T as TreeShowSelect,
78
- B as UpdatePasswordDialog,
81
+ d as TreeShowSelect,
82
+ P as UpdatePasswordDialog,
79
83
  p as UploadFile,
80
- Q as default
84
+ Z as default,
85
+ _ as iconLibraryMap
81
86
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./chunks/index.CkihWzK6.js"),e=require("vue"),c=require("element-plus"),l=require("./chunks/global.Cv8u--Cy.js"),u=Object.assign({name:"IconRenderer"},{__name:"layout",props:{iconName:{type:String,default:""},size:{type:Number,default:16},color:{type:String,default:""}},setup(t){return(n,a)=>t.iconName?(e.openBlock(),e.createBlock(e.unref(c.ElIcon),e.mergeProps({key:0,size:t.size,color:t.color},n.$attrs),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l.components_exports)[t.iconName])))]),_:1},16,["size","color"])):e.createCommentVNode("",!0)}}),o=r.withInstall(u);exports.IconRenderer=o;exports.default=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./chunks/index.CkihWzK6.js"),e=require("vue"),s=require("element-plus"),a={lingyun:"lingyun",aibox:"aibox"},d=async(o,n)=>{if(!n)return null;try{switch(o){case a.lingyun:const{icons:r}=await Promise.resolve().then(()=>require("./chunks/global.BNCddmRI.js"));return r[n]||null;case a.aibox:const{icons:t}=await Promise.resolve().then(()=>require("./chunks/global.DUq6tY9B.js"));return t[n]||null}}catch(r){return console.warn(`Failed to load icon ${n} from ${o} library:`,r),null}},m=Object.assign({name:"IconRenderer"},{__name:"layout",props:{iconName:{type:String,default:""},iconLibrary:{type:String,default:a.lingyun,validator:o=>Object.values(a).includes(o)},size:{type:Number,default:16},color:{type:String,default:""}},setup(o){const n=o,r=e.shallowRef(null),t=e.ref(!1),c=async()=>{if(!n.iconName){r.value=null;return}if(!t.value){t.value=!0;try{const l=await d(n.iconLibrary,n.iconName);r.value=l}catch(l){console.error("Failed to load icon component:",l),r.value=null}finally{t.value=!1}}};return e.watch(()=>[n.iconLibrary,n.iconName],()=>{c()},{immediate:!1}),e.onMounted(()=>{c()}),(l,y)=>o.iconName&&r.value?(e.openBlock(),e.createBlock(e.unref(s.ElIcon),e.mergeProps({key:0,size:o.size,color:o.color},l.$attrs),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value)))]),_:1},16,["size","color"])):e.createCommentVNode("",!0)}}),i=u.withInstall(m);exports.IconRenderer=i;exports.default=i;exports.iconLibraryMap=a;
package/lib/IconSelect.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/IconSelect.css');const y=require("./chunks/index.CkihWzK6.js"),e=require("vue"),c=require("element-plus"),p=require("color-message-lingyun-vue"),f=require("./chunks/global.Cv8u--Cy.js"),_=require("./chunks/layout.B8d4J538.js"),g=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),w={class:"icon-select-content flex flex-col overflow-hidden"},b={class:"icon-select-grid overflow-y-auto display-grid"},h=["title","onClick"],B={key:0,class:"no-data"},I=Object.assign({name:"IconSelect"},{__name:"layout",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"请选择图标"},width:{type:Number,default:520},iconSize:{type:Number,default:62}},emits:["update:modelValue"],setup(a,{emit:k}){const u=a,x=k,i=e.ref(!1),r=e.ref(""),n=e.ref(u.modelValue),d=e.computed(()=>Object.entries(f.components_exports).filter(([t])=>t.toLowerCase().includes("menu")).map(([t,o])=>({name:t,component:o}))),m=e.computed(()=>r.value?d.value.filter(t=>t.name.toLowerCase().includes(r.value.toLowerCase())):d.value),s=e.computed(()=>n.value&&f.components_exports[n.value]||null),V=t=>{n.value=t.name,x("update:modelValue",t.name),i.value=!1};return e.watch(()=>u.modelValue,t=>{n.value=t}),(t,o)=>(e.openBlock(),e.createBlock(e.unref(c.ElPopover),{visible:i.value,"onUpdate:visible":o[1]||(o[1]=l=>i.value=l),placement:"bottom-start",width:a.width,trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["flex items-center pointer radius-16 justify-center w-icon-item",{"select-icon-box bg-fcfdff text-202434 fz-14 flex-col":!s.value,"icon-item":n.value}])},[s.value?(e.openBlock(),e.createBlock(e.unref(c.ElIcon),{key:0,size:a.iconSize},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value)))]),_:1},8,["size"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(c.ElIcon),{size:16},{default:e.withCtx(()=>[e.createVNode(e.unref(p.IconAdd))]),_:1}),o[2]||(o[2]=e.createTextVNode(" 上传 ",-1))],64))],2)]),default:e.withCtx(()=>[e.createElementVNode("div",w,[e.createVNode(e.unref(c.ElInput),{class:"mg-b-12",modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=l=>r.value=l),placeholder:"搜索图标","prefix-icon":e.unref(p.IconSearch),clearable:""},null,8,["modelValue","prefix-icon"]),e.createElementVNode("div",b,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,l=>(e.openBlock(),e.createElementBlock("div",{key:l.name,class:e.normalizeClass(["icon-item radius-8 justify-center items-center pointer flex w-icon-item",{active:n.value===l.name}]),title:l.name,onClick:E=>V(l)},[e.createVNode(e.unref(c.ElIcon),{size:50},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.component)))]),_:2},1024)],10,h))),128))]),m.value.length===0?(e.openBlock(),e.createElementBlock("div",B,[e.createVNode(_.IconEmpty,{text:"未找到相关图标"})])):e.createCommentVNode("",!0)])]),_:1},8,["visible","width"]))}}),C=g._export_sfc(I,[["__scopeId","data-v-b6a428ec"]]),v=y.withInstall(C);exports.IconSelect=v;exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/IconSelect.css');const y=require("./chunks/index.CkihWzK6.js"),e=require("vue"),c=require("element-plus"),f=require("color-message-lingyun-vue"),p=require("./chunks/global.BNCddmRI.js"),g=require("./chunks/layout.B8d4J538.js"),w=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),b={class:"icon-select-content flex flex-col overflow-hidden"},h={class:"icon-select-grid overflow-y-auto display-grid"},_=["title","onClick"],B={key:0,class:"no-data"},I=Object.assign({name:"IconSelect"},{__name:"layout",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"请选择图标"},width:{type:Number,default:520},iconSize:{type:Number,default:62}},emits:["update:modelValue"],setup(r,{emit:k}){const s=r,x=k,i=e.ref(!1),a=e.ref(""),n=e.ref(s.modelValue),d=e.computed(()=>Object.entries(p.icons).filter(([t])=>t.toLowerCase().includes("menu")).map(([t,o])=>({name:t,component:o}))),m=e.computed(()=>a.value?d.value.filter(t=>t.name.toLowerCase().includes(a.value.toLowerCase())):d.value),u=e.computed(()=>n.value&&p.icons[n.value]||null),V=t=>{n.value=t.name,x("update:modelValue",t.name),i.value=!1};return e.watch(()=>s.modelValue,t=>{n.value=t}),(t,o)=>(e.openBlock(),e.createBlock(e.unref(c.ElPopover),{visible:i.value,"onUpdate:visible":o[1]||(o[1]=l=>i.value=l),placement:"bottom-start",width:r.width,trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["flex items-center pointer radius-16 justify-center w-icon-item",{"select-icon-box bg-fcfdff text-202434 fz-14 flex-col":!u.value,"icon-item":n.value}])},[u.value?(e.openBlock(),e.createBlock(e.unref(c.ElIcon),{key:0,size:r.iconSize},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value)))]),_:1},8,["size"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(c.ElIcon),{size:16},{default:e.withCtx(()=>[e.createVNode(e.unref(f.IconAdd))]),_:1}),o[2]||(o[2]=e.createTextVNode(" 上传 ",-1))],64))],2)]),default:e.withCtx(()=>[e.createElementVNode("div",b,[e.createVNode(e.unref(c.ElInput),{class:"mg-b-12",modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=l=>a.value=l),placeholder:"搜索图标","prefix-icon":e.unref(f.IconSearch),clearable:""},null,8,["modelValue","prefix-icon"]),e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,l=>(e.openBlock(),e.createElementBlock("div",{key:l.name,class:e.normalizeClass(["icon-item radius-8 justify-center items-center pointer flex w-icon-item",{active:n.value===l.name}]),title:l.name,onClick:E=>V(l)},[e.createVNode(e.unref(c.ElIcon),{size:50},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.component)))]),_:2},1024)],10,_))),128))]),m.value.length===0?(e.openBlock(),e.createElementBlock("div",B,[e.createVNode(g.IconEmpty,{text:"未找到相关图标"})])):e.createCommentVNode("",!0)])]),_:1},8,["visible","width"]))}}),C=w._export_sfc(I,[["__scopeId","data-v-b6a428ec"]]),v=y.withInstall(C);exports.IconSelect=v;exports.default=v;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./chunks/index.CkihWzK6.js"),e=require("vue"),n=require("color-message-lingyun-vue"),r=require("element-plus"),a={class:"page-not-found flex flex-col items-center justify-center h-full w-full overflow-hidden"},d={__name:"layout",props:{routePath:{type:String}},setup(s){const l=s,c=()=>{const o=window?.$wujie?.props?.useRouter();o&&o?.push?.(l.routePath)};return(o,t)=>(e.openBlock(),e.createElementBlock("div",a,[e.createVNode(e.unref(r.ElIcon),{size:140},{default:e.withCtx(()=>[e.createVNode(e.unref(n.Page404))]),_:1}),t[1]||(t[1]=e.createElementVNode("div",{class:"pd-b-20 fz-16 text-666"},"啊哦,你访问的页面不存在了",-1)),e.createVNode(e.unref(r.ElButton),{onClick:c,type:"primary",icon:e.unref(n.IconBack)},{default:e.withCtx(()=>[...t[0]||(t[0]=[e.createTextVNode("返回",-1)])]),_:1},8,["icon"])]))}},u=i.withInstall(d);exports.PageNotFound=u;exports.default=u;
package/lib/SearchBar.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./chunks/index.CkihWzK6.js"),t=require("./chunks/layout.D4arET4r.js"),e=r.withInstall(t.SearchBar);exports.SearchBar=e;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./chunks/index.CkihWzK6.js"),t=require("./chunks/layout.D0p4CwoO.js"),e=r.withInstall(t.SearchBar);exports.SearchBar=e;exports.default=e;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/UpdatePasswordDialog.css');const P=require("./chunks/index.CkihWzK6.js"),e=require("vue"),_=require("./chunks/layout.B9EVVV-O.js"),M=require("./chunks/layout.D4arET4r.js"),o=require("ling-yun-methods"),V=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),h=()=>{const u=e.ref({password:"",confirmPassword:""}),p=e.computed(()=>[{label:"请输入新密码",key:"password",type:o.componentType.text,placeholder:"请输入6-20位,需包含大小写字母、数字",wide:!0,required:!0,showPassword:!0,validator:d},{label:"请再次输入新密码",key:"confirmPassword",type:o.componentType.text,placeholder:"请输入6-20位,需包含大小写字母、数字",wide:!0,required:!0,showPassword:!0,validator:i}]),d=(l,s,t)=>{!s||!/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{6,20}$/.test(s)?t(new Error("请输入6-20位,需包含大小写字母、数字")):t()},i=(l,s,t)=>{s===""?t(new Error("两次密码不一致")):s!==u.value.password?t(new Error("两次密码不一致")):t()};return{formData:u,userFromItems:p}},x={__name:"layout",props:{modelValue:{type:Boolean,default:!1},nowUserData:{type:Object,default:()=>{}},apiConfig:{type:Object,default:()=>{}}},emits:[o.emitsMap.updateModelValue,o.emitsMap.change],setup(u,{emit:p}){const d=u,i=p,l=e.computed({get:()=>d.modelValue,set:r=>i(o.emitsMap.updateModelValue,r)}),s=e.ref(null),{formData:t,userFromItems:y}=h(),g=async()=>{const r=await d.apiConfig.getSecretKeyApi();if(r.code!==o.codeMap.success)return{};const{key:a,iv:n,keyId:c}=r.data,{password:f}=s.value.getFormData(),m=o.AESCrypto.encrypt(f,a,n);return{keyId:c,encryptedPassword:m}},v=async()=>{let r=!1;return await s.value.validate(async a=>{if(!a)return;const{keyId:n,encryptedPassword:c}=await g();if(!n||!c)return;const f={userId:d.nowUserData.id,newPassword:c,aesKeyId:n};(await d.apiConfig.updatePasswordApi(f)).code===o.codeMap.success&&(o.messageSuccess("修改成功"),l.value=!1,r=!0,i(o.emitsMap.change))}),r};return(r,a)=>(e.openBlock(),e.createBlock(_.CustomDialog,{modelValue:l.value,"onUpdate:modelValue":a[1]||(a[1]=n=>l.value=n),title:"修改密码",buttons:{confirmText:"确定",onConfirm:v},top:"30vh",width:"568px","destroy-on-close":""},{default:e.withCtx(()=>[e.createVNode(M.SearchBar,{modelValue:e.unref(t),"onUpdate:modelValue":a[0]||(a[0]=n=>e.isRef(t)?t.value=n:null),ref_key:"formRef",ref:s,items:e.unref(y),isExpand:!1,operationList:[],filterMode:!1,labelPosition:"top"},null,8,["modelValue","items"])]),_:1},8,["modelValue","buttons"]))}},b=V._export_sfc(x,[["__scopeId","data-v-0088227a"]]),w=P.withInstall(b);exports.UpdatePasswordDialog=w;exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/UpdatePasswordDialog.css');const P=require("./chunks/index.CkihWzK6.js"),e=require("vue"),_=require("./chunks/layout.B9EVVV-O.js"),M=require("./chunks/layout.D0p4CwoO.js"),o=require("ling-yun-methods"),V=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),h=()=>{const u=e.ref({password:"",confirmPassword:""}),p=e.computed(()=>[{label:"请输入新密码",key:"password",type:o.componentType.text,placeholder:"请输入6-20位,需包含大小写字母、数字",wide:!0,required:!0,showPassword:!0,validator:d},{label:"请再次输入新密码",key:"confirmPassword",type:o.componentType.text,placeholder:"请输入6-20位,需包含大小写字母、数字",wide:!0,required:!0,showPassword:!0,validator:i}]),d=(l,s,t)=>{!s||!/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{6,20}$/.test(s)?t(new Error("请输入6-20位,需包含大小写字母、数字")):t()},i=(l,s,t)=>{s===""?t(new Error("两次密码不一致")):s!==u.value.password?t(new Error("两次密码不一致")):t()};return{formData:u,userFromItems:p}},x={__name:"layout",props:{modelValue:{type:Boolean,default:!1},nowUserData:{type:Object,default:()=>{}},apiConfig:{type:Object,default:()=>{}}},emits:[o.emitsMap.updateModelValue,o.emitsMap.change],setup(u,{emit:p}){const d=u,i=p,l=e.computed({get:()=>d.modelValue,set:r=>i(o.emitsMap.updateModelValue,r)}),s=e.ref(null),{formData:t,userFromItems:y}=h(),g=async()=>{const r=await d.apiConfig.getSecretKeyApi();if(r.code!==o.codeMap.success)return{};const{key:a,iv:n,keyId:c}=r.data,{password:f}=s.value.getFormData(),m=o.AESCrypto.encrypt(f,a,n);return{keyId:c,encryptedPassword:m}},v=async()=>{let r=!1;return await s.value.validate(async a=>{if(!a)return;const{keyId:n,encryptedPassword:c}=await g();if(!n||!c)return;const f={userId:d.nowUserData.id,newPassword:c,aesKeyId:n};(await d.apiConfig.updatePasswordApi(f)).code===o.codeMap.success&&(o.messageSuccess("修改成功"),l.value=!1,r=!0,i(o.emitsMap.change))}),r};return(r,a)=>(e.openBlock(),e.createBlock(_.CustomDialog,{modelValue:l.value,"onUpdate:modelValue":a[1]||(a[1]=n=>l.value=n),title:"修改密码",buttons:{confirmText:"确定",onConfirm:v},top:"30vh",width:"568px","destroy-on-close":""},{default:e.withCtx(()=>[e.createVNode(M.SearchBar,{modelValue:e.unref(t),"onUpdate:modelValue":a[0]||(a[0]=n=>e.isRef(t)?t.value=n:null),ref_key:"formRef",ref:s,items:e.unref(y),isExpand:!1,operationList:[],filterMode:!1,labelPosition:"top"},null,8,["modelValue","items"])]),_:1},8,["modelValue","buttons"]))}},b=V._export_sfc(x,[["__scopeId","data-v-0088227a"]]),w=P.withInstall(b);exports.UpdatePasswordDialog=w;exports.default=w;
File without changes
@@ -1 +1 @@
1
- .filter-form[data-v-6092c6e2]{grid-template-columns:repeat(2,1fr);gap:10px}.filter-preview-form[data-v-6092c6e2]{display:flex}.filter-preview-form .el-form-item[data-v-6092c6e2]{width:var(--v21117ed0);margin-right:10px}.search-bar-form[data-v-6092c6e2]{grid-template-columns:repeat(auto-fit,minmax(var(--v21117ed0),1fr));gap:10px}.search-bar-form.el-form--inline .el-form-item[data-v-6092c6e2]{margin-right:0;margin-bottom:10px}.search-bar-form.el-form--inline .el-form-item.el-form-item--label-left[data-v-6092c6e2]{display:flex;padding:0 14px;background:var(--neutral-color-18);border-radius:8px;border:1px solid var(--parting-line)}.search-bar-form.el-form--inline .el-form-item.el-form-item--label-left[data-v-6092c6e2] .el-form-item__content{justify-content:end}.search-bar-form.el-form--inline.el-form--label-top[data-v-6092c6e2]{display:grid}.search-bar-item--wide[data-v-6092c6e2]{grid-column:span 2}.is-collapsed[data-v-fd5ceec9]{max-height:var(--v2e56a75a)}.operation-buttons[data-v-fd5ceec9]{width:var(--v63e17c4e);z-index:1}.h-32[data-v-fd5ceec9]{height:32px}.drawer-header[data-v-fd5ceec9]{display:flex;justify-content:space-between;align-items:center;width:100%}.drawer-header .shrink-button[data-v-fd5ceec9]{margin-left:auto}.border-top[data-v-fd5ceec9]{border-top:1px solid var(--parting-line)}[data-v-fd5ceec9] .el-drawer__body{padding:16px 0;display:flex;flex-direction:column;overflow:hidden}.filter-form-popover[data-v-fd5ceec9]{max-height:400px}[data-v-fd5ceec9] .el-drawer__header{margin-bottom:0;padding:16px 16px 0}
1
+ .filter-form[data-v-6092c6e2]{grid-template-columns:repeat(2,1fr);gap:10px}.filter-preview-form[data-v-6092c6e2]{display:flex}.filter-preview-form .el-form-item[data-v-6092c6e2]{width:var(--v21117ed0);margin-right:10px}.search-bar-form[data-v-6092c6e2]{grid-template-columns:repeat(auto-fit,minmax(var(--v21117ed0),1fr));gap:10px}.search-bar-form.el-form--inline .el-form-item[data-v-6092c6e2]{margin-right:0;margin-bottom:10px}.search-bar-form.el-form--inline .el-form-item.el-form-item--label-left[data-v-6092c6e2]{display:flex;padding:0 14px;background:var(--neutral-color-18);border-radius:8px;border:1px solid var(--parting-line)}.search-bar-form.el-form--inline .el-form-item.el-form-item--label-left[data-v-6092c6e2] .el-form-item__content{justify-content:end}.search-bar-form.el-form--inline.el-form--label-top[data-v-6092c6e2]{display:grid}.search-bar-item--wide[data-v-6092c6e2]{grid-column:span 2}.is-collapsed[data-v-146b7880]{max-height:var(--v1bbac240)}.operation-buttons[data-v-146b7880]{width:var(--v84cfd7f0);z-index:1}.h-32[data-v-146b7880]{height:32px}.drawer-header[data-v-146b7880]{display:flex;justify-content:space-between;align-items:center;width:100%}.drawer-header .shrink-button[data-v-146b7880]{margin-left:auto}.border-top[data-v-146b7880]{border-top:1px solid var(--parting-line)}[data-v-146b7880] .el-drawer__body{padding:16px 0;display:flex;flex-direction:column;overflow:hidden}.filter-form-popover[data-v-146b7880]{max-height:400px}[data-v-146b7880] .el-drawer__header{margin-bottom:0;padding:16px 16px 0}