yc-vep-ui 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/element-plus.d.ts +1 -0
- package/dist/element-plus.es.js +1 -0
- package/dist/element-plus.umd.js +1 -0
- package/dist/entry.d.ts +3 -0
- package/dist/icons-vue.es.js +1 -0
- package/dist/icons-vue.umd.js +1 -0
- package/dist/icons.d.ts +1 -0
- package/dist/vep-ui.es.js +389 -711
- package/dist/vep-ui.umd.js +1 -1
- package/dist/yc-vep-ui.css +166 -1
- package/package.json +15 -2
- package/dist/components/Chart/Bar.vue.d.ts +0 -3
- package/dist/components/Chart/Pie.vue.d.ts +0 -3
- package/dist/components/Chart/Series.vue.d.ts +0 -9
- package/dist/components/Chart/index.d.ts +0 -4
package/dist/vep-ui.es.js
CHANGED
|
@@ -1,187 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
breadcrumb: { label: "面包屑" },
|
|
9
|
-
colorpicker: {
|
|
10
|
-
confirm: "确定",
|
|
11
|
-
clear: "清空",
|
|
12
|
-
defaultLabel: "颜色选择器",
|
|
13
|
-
description: "当前颜色 {color},按 Enter 键选择新颜色",
|
|
14
|
-
alphaLabel: "选择透明度的值",
|
|
15
|
-
alphaDescription: "透明度 {alpha}, 当前颜色 {color}",
|
|
16
|
-
hueLabel: "选择色相值",
|
|
17
|
-
hueDescription: "色相 {hue}, 当前颜色 {color}",
|
|
18
|
-
svLabel: "选择饱和度与明度的值",
|
|
19
|
-
svDescription: "饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",
|
|
20
|
-
predefineDescription: "选择 {value} 作为颜色"
|
|
21
|
-
},
|
|
22
|
-
datepicker: {
|
|
23
|
-
now: "此刻",
|
|
24
|
-
today: "今天",
|
|
25
|
-
cancel: "取消",
|
|
26
|
-
clear: "清空",
|
|
27
|
-
confirm: "确定",
|
|
28
|
-
dateTablePrompt: "使用方向键与 Enter 键可选择日期",
|
|
29
|
-
monthTablePrompt: "使用方向键与 Enter 键可选择月份",
|
|
30
|
-
yearTablePrompt: "使用方向键与 Enter 键可选择年份",
|
|
31
|
-
selectedDate: "已选日期",
|
|
32
|
-
selectDate: "选择日期",
|
|
33
|
-
selectTime: "选择时间",
|
|
34
|
-
startDate: "开始日期",
|
|
35
|
-
startTime: "开始时间",
|
|
36
|
-
endDate: "结束日期",
|
|
37
|
-
endTime: "结束时间",
|
|
38
|
-
prevYear: "前一年",
|
|
39
|
-
nextYear: "后一年",
|
|
40
|
-
prevMonth: "上个月",
|
|
41
|
-
nextMonth: "下个月",
|
|
42
|
-
year: "年",
|
|
43
|
-
month1: "1 月",
|
|
44
|
-
month2: "2 月",
|
|
45
|
-
month3: "3 月",
|
|
46
|
-
month4: "4 月",
|
|
47
|
-
month5: "5 月",
|
|
48
|
-
month6: "6 月",
|
|
49
|
-
month7: "7 月",
|
|
50
|
-
month8: "8 月",
|
|
51
|
-
month9: "9 月",
|
|
52
|
-
month10: "10 月",
|
|
53
|
-
month11: "11 月",
|
|
54
|
-
month12: "12 月",
|
|
55
|
-
weeks: {
|
|
56
|
-
sun: "日",
|
|
57
|
-
mon: "一",
|
|
58
|
-
tue: "二",
|
|
59
|
-
wed: "三",
|
|
60
|
-
thu: "四",
|
|
61
|
-
fri: "五",
|
|
62
|
-
sat: "六"
|
|
63
|
-
},
|
|
64
|
-
weeksFull: {
|
|
65
|
-
sun: "星期日",
|
|
66
|
-
mon: "星期一",
|
|
67
|
-
tue: "星期二",
|
|
68
|
-
wed: "星期三",
|
|
69
|
-
thu: "星期四",
|
|
70
|
-
fri: "星期五",
|
|
71
|
-
sat: "星期六"
|
|
72
|
-
},
|
|
73
|
-
months: {
|
|
74
|
-
jan: "一月",
|
|
75
|
-
feb: "二月",
|
|
76
|
-
mar: "三月",
|
|
77
|
-
apr: "四月",
|
|
78
|
-
may: "五月",
|
|
79
|
-
jun: "六月",
|
|
80
|
-
jul: "七月",
|
|
81
|
-
aug: "八月",
|
|
82
|
-
sep: "九月",
|
|
83
|
-
oct: "十月",
|
|
84
|
-
nov: "十一月",
|
|
85
|
-
dec: "十二月"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
inputNumber: {
|
|
89
|
-
decrease: "减少数值",
|
|
90
|
-
increase: "增加数值"
|
|
91
|
-
},
|
|
92
|
-
select: {
|
|
93
|
-
loading: "加载中",
|
|
94
|
-
noMatch: "无匹配数据",
|
|
95
|
-
noData: "无数据",
|
|
96
|
-
placeholder: "请选择"
|
|
97
|
-
},
|
|
98
|
-
mention: { loading: "加载中" },
|
|
99
|
-
dropdown: { toggleDropdown: "切换下拉选项" },
|
|
100
|
-
cascader: {
|
|
101
|
-
noMatch: "无匹配数据",
|
|
102
|
-
loading: "加载中",
|
|
103
|
-
placeholder: "请选择",
|
|
104
|
-
noData: "暂无数据"
|
|
105
|
-
},
|
|
106
|
-
pagination: {
|
|
107
|
-
goto: "前往",
|
|
108
|
-
pagesize: "条/页",
|
|
109
|
-
total: "共 {total} 条",
|
|
110
|
-
pageClassifier: "页",
|
|
111
|
-
page: "页",
|
|
112
|
-
prev: "上一页",
|
|
113
|
-
next: "下一页",
|
|
114
|
-
currentPage: "第 {pager} 页",
|
|
115
|
-
prevPages: "向前 {pager} 页",
|
|
116
|
-
nextPages: "向后 {pager} 页",
|
|
117
|
-
deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
|
|
118
|
-
},
|
|
119
|
-
dialog: { close: "关闭此对话框" },
|
|
120
|
-
drawer: { close: "关闭此对话框" },
|
|
121
|
-
messagebox: {
|
|
122
|
-
title: "提示",
|
|
123
|
-
confirm: "确定",
|
|
124
|
-
cancel: "取消",
|
|
125
|
-
error: "输入的数据不合法!",
|
|
126
|
-
close: "关闭此对话框"
|
|
127
|
-
},
|
|
128
|
-
upload: {
|
|
129
|
-
deleteTip: "按 Delete 键可删除",
|
|
130
|
-
delete: "删除",
|
|
131
|
-
preview: "查看图片",
|
|
132
|
-
continue: "继续上传"
|
|
133
|
-
},
|
|
134
|
-
slider: {
|
|
135
|
-
defaultLabel: "滑块介于 {min} 至 {max}",
|
|
136
|
-
defaultRangeStartLabel: "选择起始值",
|
|
137
|
-
defaultRangeEndLabel: "选择结束值"
|
|
138
|
-
},
|
|
139
|
-
table: {
|
|
140
|
-
emptyText: "暂无数据",
|
|
141
|
-
confirmFilter: "筛选",
|
|
142
|
-
resetFilter: "重置",
|
|
143
|
-
clearFilter: "全部",
|
|
144
|
-
sumText: "合计",
|
|
145
|
-
selectAllLabel: "选择所有行",
|
|
146
|
-
selectRowLabel: "选择当前行",
|
|
147
|
-
expandRowLabel: "展开当前行",
|
|
148
|
-
collapseRowLabel: "收起当前行",
|
|
149
|
-
sortLabel: "按 {column} 排序",
|
|
150
|
-
filterLabel: "按 {column} 过滤"
|
|
151
|
-
},
|
|
152
|
-
tag: { close: "关闭此标签" },
|
|
153
|
-
tour: {
|
|
154
|
-
next: "下一步",
|
|
155
|
-
previous: "上一步",
|
|
156
|
-
finish: "结束导览",
|
|
157
|
-
close: "关闭此对话框"
|
|
158
|
-
},
|
|
159
|
-
tree: { emptyText: "暂无数据" },
|
|
160
|
-
transfer: {
|
|
161
|
-
noMatch: "无匹配数据",
|
|
162
|
-
noData: "无数据",
|
|
163
|
-
titles: ["列表 1", "列表 2"],
|
|
164
|
-
filterPlaceholder: "请输入搜索内容",
|
|
165
|
-
noCheckedFormat: "共 {total} 项",
|
|
166
|
-
hasCheckedFormat: "已选 {checked}/{total} 项"
|
|
167
|
-
},
|
|
168
|
-
image: { error: "加载失败" },
|
|
169
|
-
pageHeader: { title: "返回" },
|
|
170
|
-
popconfirm: {
|
|
171
|
-
confirmButtonText: "确定",
|
|
172
|
-
cancelButtonText: "取消"
|
|
173
|
-
},
|
|
174
|
-
carousel: {
|
|
175
|
-
leftArrow: "上一张幻灯片",
|
|
176
|
-
rightArrow: "下一张幻灯片",
|
|
177
|
-
indicator: "幻灯片切换至索引 {index}"
|
|
178
|
-
},
|
|
179
|
-
inputOTP: {
|
|
180
|
-
groupLabel: "一次性密码输入框",
|
|
181
|
-
defaultLabel: "请输入第 {index} 位 OTP 字符"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}, Fe = { class: /* @__PURE__ */ h({ bodyClass: !0 }) }, Ie = /* @__PURE__ */ u({
|
|
1
|
+
import e from "element-plus/es/locale/lang/zh-cn";
|
|
2
|
+
import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createPropsRestProxy as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, h as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onMounted as v, onUnmounted as y, openBlock as b, reactive as x, ref as S, renderList as C, renderSlot as w, resolveComponent as T, resolveDirective as E, resolveDynamicComponent as D, setBlockTracking as O, toDisplayString as k, toValue as A, unref as j, useCssVars as ee, useModel as te, watch as M, watchEffect as ne, withCtx as N, withDirectives as P } from "vue";
|
|
3
|
+
import { ElButton as F, ElCard as I, ElCol as re, ElConfigProvider as ie, ElDatePicker as L, ElDescriptions as ae, ElDescriptionsItem as oe, ElDialog as se, ElDropdown as ce, ElDropdownItem as le, ElDropdownMenu as ue, ElForm as de, ElFormItem as fe, ElIcon as pe, ElInput as R, ElInputNumber as me, ElInputTag as z, ElLink as B, ElMessage as he, ElMessageBox as V, ElNotification as ge, ElOption as _e, ElOptionGroup as ve, ElPagination as ye, ElPopconfirm as be, ElPopover as xe, ElRadio as Se, ElRadioButton as Ce, ElRadioGroup as H, ElRow as we, ElScrollbar as Te, ElSelect as Ee, ElSwitch as De, ElTable as Oe, ElTableColumn as ke, ElTag as U, ElText as W, ElTimeSelect as Ae, ElTreeV2 as je, ElUpload as Me, provideGlobalConfig as Ne } from "element-plus";
|
|
4
|
+
import { ArrowRight as Pe, ArrowUp as Fe, CirclePlus as Ie, Delete as Le, DocumentAdd as Re, Edit as ze, Folder as Be, MoreFilled as Ve, Promotion as He, Refresh as G, Search as Ue } from "@element-plus/icons-vue";
|
|
5
|
+
import { AiEditor as We } from "aieditor";
|
|
6
|
+
//#region src/components/Card/index.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var Ge = { class: /* @__PURE__ */ g({ bodyClass: !0 }) }, Ke = /* @__PURE__ */ d({
|
|
185
8
|
__name: "index",
|
|
186
9
|
props: {
|
|
187
10
|
title: {},
|
|
@@ -190,180 +13,35 @@ var Pe = {
|
|
|
190
13
|
icon: {}
|
|
191
14
|
},
|
|
192
15
|
setup(e) {
|
|
193
|
-
let
|
|
16
|
+
let t = n(() => ({
|
|
194
17
|
display: "flex",
|
|
195
18
|
alignItems: "center",
|
|
196
19
|
gap: "4px",
|
|
197
20
|
borderBottom: e.hideBorder ? "1px solid #e5e7eb" : "none"
|
|
198
21
|
}));
|
|
199
|
-
return (
|
|
200
|
-
let
|
|
201
|
-
return
|
|
22
|
+
return (n, a) => {
|
|
23
|
+
let s = T("el-icon"), u = T("el-card");
|
|
24
|
+
return b(), r(u, m(n.$attrs, { class: {
|
|
202
25
|
"ui-card": !0,
|
|
203
26
|
hideBorder: e.hideBorder
|
|
204
|
-
} }),
|
|
205
|
-
default: N(() => [
|
|
27
|
+
} }), c({
|
|
28
|
+
default: N(() => [o("div", Ge, [w(n.$slots, "default", {}, void 0, !0)])]),
|
|
206
29
|
_: 2
|
|
207
30
|
}, [e.title && e.title?.length > 0 ? {
|
|
208
31
|
name: "header",
|
|
209
|
-
fn: N(() => [
|
|
210
|
-
default: N(() => [(
|
|
32
|
+
fn: N(() => [o("div", { style: _(t.value) }, [e.icon ? (b(), r(s, { key: 0 }, {
|
|
33
|
+
default: N(() => [(b(), r(D(e.icon), { color: "#2563eb" }))]),
|
|
211
34
|
_: 1
|
|
212
|
-
})) :
|
|
35
|
+
})) : i("", !0), a[0] || (O(-1, !0), (a[0] = o("h4", null, [l(k(e.title), 1)])).cacheIndex = 0, O(1), a[0])], 4)]),
|
|
213
36
|
key: "0"
|
|
214
37
|
} : void 0]), 1040, ["class"]);
|
|
215
38
|
};
|
|
216
39
|
}
|
|
217
|
-
}),
|
|
40
|
+
}), K = (e, t) => {
|
|
218
41
|
let n = e.__vccOpts || e;
|
|
219
42
|
for (let [e, r] of t) n[e] = r;
|
|
220
43
|
return n;
|
|
221
|
-
},
|
|
222
|
-
name: "ArrowRight",
|
|
223
|
-
__name: "arrow-right",
|
|
224
|
-
setup(e) {
|
|
225
|
-
return (e, t) => (y(), i("svg", {
|
|
226
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
227
|
-
viewBox: "0 0 1024 1024"
|
|
228
|
-
}, [a("path", {
|
|
229
|
-
fill: "currentColor",
|
|
230
|
-
d: "M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
|
|
231
|
-
})]));
|
|
232
|
-
}
|
|
233
|
-
}), Re = /* @__PURE__ */ u({
|
|
234
|
-
name: "ArrowUp",
|
|
235
|
-
__name: "arrow-up",
|
|
236
|
-
setup(e) {
|
|
237
|
-
return (e, t) => (y(), i("svg", {
|
|
238
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
239
|
-
viewBox: "0 0 1024 1024"
|
|
240
|
-
}, [a("path", {
|
|
241
|
-
fill: "currentColor",
|
|
242
|
-
d: "m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"
|
|
243
|
-
})]));
|
|
244
|
-
}
|
|
245
|
-
}), ze = /* @__PURE__ */ u({
|
|
246
|
-
name: "CirclePlus",
|
|
247
|
-
__name: "circle-plus",
|
|
248
|
-
setup(e) {
|
|
249
|
-
return (e, t) => (y(), i("svg", {
|
|
250
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
251
|
-
viewBox: "0 0 1024 1024"
|
|
252
|
-
}, [
|
|
253
|
-
a("path", {
|
|
254
|
-
fill: "currentColor",
|
|
255
|
-
d: "M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"
|
|
256
|
-
}),
|
|
257
|
-
a("path", {
|
|
258
|
-
fill: "currentColor",
|
|
259
|
-
d: "M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"
|
|
260
|
-
}),
|
|
261
|
-
a("path", {
|
|
262
|
-
fill: "currentColor",
|
|
263
|
-
d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
|
|
264
|
-
})
|
|
265
|
-
]));
|
|
266
|
-
}
|
|
267
|
-
}), Be = /* @__PURE__ */ u({
|
|
268
|
-
name: "Delete",
|
|
269
|
-
__name: "delete",
|
|
270
|
-
setup(e) {
|
|
271
|
-
return (e, t) => (y(), i("svg", {
|
|
272
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
273
|
-
viewBox: "0 0 1024 1024"
|
|
274
|
-
}, [a("path", {
|
|
275
|
-
fill: "currentColor",
|
|
276
|
-
d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"
|
|
277
|
-
})]));
|
|
278
|
-
}
|
|
279
|
-
}), Ve = /* @__PURE__ */ u({
|
|
280
|
-
name: "DocumentAdd",
|
|
281
|
-
__name: "document-add",
|
|
282
|
-
setup(e) {
|
|
283
|
-
return (e, t) => (y(), i("svg", {
|
|
284
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
285
|
-
viewBox: "0 0 1024 1024"
|
|
286
|
-
}, [a("path", {
|
|
287
|
-
fill: "currentColor",
|
|
288
|
-
d: "M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"
|
|
289
|
-
})]));
|
|
290
|
-
}
|
|
291
|
-
}), He = /* @__PURE__ */ u({
|
|
292
|
-
name: "Edit",
|
|
293
|
-
__name: "edit",
|
|
294
|
-
setup(e) {
|
|
295
|
-
return (e, t) => (y(), i("svg", {
|
|
296
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
297
|
-
viewBox: "0 0 1024 1024"
|
|
298
|
-
}, [a("path", {
|
|
299
|
-
fill: "currentColor",
|
|
300
|
-
d: "M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"
|
|
301
|
-
}), a("path", {
|
|
302
|
-
fill: "currentColor",
|
|
303
|
-
d: "m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"
|
|
304
|
-
})]));
|
|
305
|
-
}
|
|
306
|
-
}), Ue = /* @__PURE__ */ u({
|
|
307
|
-
name: "Folder",
|
|
308
|
-
__name: "folder",
|
|
309
|
-
setup(e) {
|
|
310
|
-
return (e, t) => (y(), i("svg", {
|
|
311
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
312
|
-
viewBox: "0 0 1024 1024"
|
|
313
|
-
}, [a("path", {
|
|
314
|
-
fill: "currentColor",
|
|
315
|
-
d: "M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"
|
|
316
|
-
})]));
|
|
317
|
-
}
|
|
318
|
-
}), We = /* @__PURE__ */ u({
|
|
319
|
-
name: "MoreFilled",
|
|
320
|
-
__name: "more-filled",
|
|
321
|
-
setup(e) {
|
|
322
|
-
return (e, t) => (y(), i("svg", {
|
|
323
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
324
|
-
viewBox: "0 0 1024 1024"
|
|
325
|
-
}, [a("path", {
|
|
326
|
-
fill: "currentColor",
|
|
327
|
-
d: "M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"
|
|
328
|
-
})]));
|
|
329
|
-
}
|
|
330
|
-
}), Ge = /* @__PURE__ */ u({
|
|
331
|
-
name: "Promotion",
|
|
332
|
-
__name: "promotion",
|
|
333
|
-
setup(e) {
|
|
334
|
-
return (e, t) => (y(), i("svg", {
|
|
335
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
336
|
-
viewBox: "0 0 1024 1024"
|
|
337
|
-
}, [a("path", {
|
|
338
|
-
fill: "currentColor",
|
|
339
|
-
d: "m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"
|
|
340
|
-
})]));
|
|
341
|
-
}
|
|
342
|
-
}), q = /* @__PURE__ */ u({
|
|
343
|
-
name: "Refresh",
|
|
344
|
-
__name: "refresh",
|
|
345
|
-
setup(e) {
|
|
346
|
-
return (e, t) => (y(), i("svg", {
|
|
347
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
348
|
-
viewBox: "0 0 1024 1024"
|
|
349
|
-
}, [a("path", {
|
|
350
|
-
fill: "currentColor",
|
|
351
|
-
d: "M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"
|
|
352
|
-
})]));
|
|
353
|
-
}
|
|
354
|
-
}), Ke = /* @__PURE__ */ u({
|
|
355
|
-
name: "Search",
|
|
356
|
-
__name: "search",
|
|
357
|
-
setup(e) {
|
|
358
|
-
return (e, t) => (y(), i("svg", {
|
|
359
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
360
|
-
viewBox: "0 0 1024 1024"
|
|
361
|
-
}, [a("path", {
|
|
362
|
-
fill: "currentColor",
|
|
363
|
-
d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"
|
|
364
|
-
})]));
|
|
365
|
-
}
|
|
366
|
-
});
|
|
44
|
+
}, q = /* @__PURE__ */ K(Ke, [["__scopeId", "data-v-ae248017"]]);
|
|
367
45
|
//#endregion
|
|
368
46
|
//#region src/components/utils/tools.ts
|
|
369
47
|
function qe(e) {
|
|
@@ -397,7 +75,7 @@ function X(e, t) {
|
|
|
397
75
|
}
|
|
398
76
|
//#endregion
|
|
399
77
|
//#region src/components/Filter/index.vue?vue&type=script&setup=true&lang.ts
|
|
400
|
-
var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */
|
|
78
|
+
var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ K(/* @__PURE__ */ d({
|
|
401
79
|
name: "UiDefaultFilter",
|
|
402
80
|
__name: "index",
|
|
403
81
|
props: {
|
|
@@ -418,8 +96,8 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
418
96
|
"reset",
|
|
419
97
|
"search"
|
|
420
98
|
],
|
|
421
|
-
setup(
|
|
422
|
-
let d =
|
|
99
|
+
setup(e, { emit: c }) {
|
|
100
|
+
let d = c, f = s(e, [
|
|
423
101
|
"fields",
|
|
424
102
|
"labelWidth",
|
|
425
103
|
"valueWidth",
|
|
@@ -427,69 +105,69 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
427
105
|
"column",
|
|
428
106
|
"size",
|
|
429
107
|
"filterFixedValues"
|
|
430
|
-
]),
|
|
108
|
+
]), p = x({
|
|
431
109
|
expandNum: 0,
|
|
432
110
|
expand: !1
|
|
433
|
-
}), h =
|
|
434
|
-
|
|
435
|
-
|
|
111
|
+
}), h = x({}), g = n(() => e.fields.slice(0, p.expand ? e.fields.length : p.expandNum)), y = n(() => 24 - g.value?.reduce((t, n) => t + (n.span || 24 / e.column), 0) % 24 - 24 / e.column);
|
|
112
|
+
v(() => {
|
|
113
|
+
p.expandNum = f?.expandNum ?? 2 * e.column - 1, e.fields.forEach((e) => {
|
|
436
114
|
let t = Y(e, h)?.props?.defaultValue;
|
|
437
115
|
t !== void 0 && (h[e.prop] = t);
|
|
438
116
|
});
|
|
439
117
|
});
|
|
440
|
-
function
|
|
441
|
-
let
|
|
442
|
-
Object.keys(h).forEach((
|
|
443
|
-
if (h[
|
|
444
|
-
let n =
|
|
445
|
-
e
|
|
118
|
+
function S() {
|
|
119
|
+
let t = {};
|
|
120
|
+
Object.keys(h).forEach((e) => {
|
|
121
|
+
if (h[e] !== void 0) {
|
|
122
|
+
let n = A(h[e]);
|
|
123
|
+
t[e] = typeof n == "string" ? n.trim() : n;
|
|
446
124
|
}
|
|
447
125
|
}), d("submit", {
|
|
448
|
-
...
|
|
449
|
-
...
|
|
126
|
+
...t,
|
|
127
|
+
...e.filterFixedValues
|
|
450
128
|
}), d("search", {
|
|
451
|
-
...
|
|
452
|
-
...
|
|
129
|
+
...t,
|
|
130
|
+
...e.filterFixedValues
|
|
453
131
|
});
|
|
454
132
|
}
|
|
455
|
-
function
|
|
456
|
-
Object.keys(h).forEach((
|
|
457
|
-
|
|
133
|
+
function E() {
|
|
134
|
+
Object.keys(h).forEach((t) => {
|
|
135
|
+
e.omitFields.includes(t) || (h[t] = void 0);
|
|
458
136
|
}), d("reset", h);
|
|
459
137
|
}
|
|
460
|
-
return (
|
|
461
|
-
let
|
|
462
|
-
return
|
|
138
|
+
return (n, s) => {
|
|
139
|
+
let c = T("el-input"), d = T("el-form-item"), f = T("el-col"), v = T("el-button"), x = T("el-row"), O = T("el-form");
|
|
140
|
+
return b(), r(O, m({
|
|
463
141
|
model: h,
|
|
464
142
|
class: "ui-filter",
|
|
465
|
-
size:
|
|
466
|
-
},
|
|
467
|
-
default: N(() => [
|
|
468
|
-
default: N(() => [(
|
|
469
|
-
default: N(() => [(
|
|
470
|
-
key:
|
|
471
|
-
label:
|
|
472
|
-
"label-width":
|
|
473
|
-
"value-width":
|
|
143
|
+
size: e.size
|
|
144
|
+
}, n.$attrs), {
|
|
145
|
+
default: N(() => [u(x, { gutter: 20 }, {
|
|
146
|
+
default: N(() => [(b(!0), a(t, null, C(g.value, (t) => (b(), r(f, { span: t.span || 24 / e.column }, {
|
|
147
|
+
default: N(() => [(b(), r(d, {
|
|
148
|
+
key: t.prop,
|
|
149
|
+
label: t.label,
|
|
150
|
+
"label-width": j(qe)(t?.labelWidth || e.labelWidth),
|
|
151
|
+
"value-width": j(J)(t?.valueWidth || e.valueWidth)
|
|
474
152
|
}, {
|
|
475
|
-
default: N(() => [
|
|
153
|
+
default: N(() => [t.render ? (b(), r(D(j(Y)(t, h).component), m({
|
|
476
154
|
key: 0,
|
|
477
|
-
modelValue: h[
|
|
478
|
-
"onUpdate:modelValue": (
|
|
479
|
-
}, { ref_for: !0 },
|
|
155
|
+
modelValue: h[t.prop],
|
|
156
|
+
"onUpdate:modelValue": (e) => h[t.prop] = e
|
|
157
|
+
}, { ref_for: !0 }, j(Y)(t, h).props, {
|
|
480
158
|
clearable: !0,
|
|
481
|
-
style: { width:
|
|
159
|
+
style: { width: j(J)(t?.valueWidth || e.valueWidth) }
|
|
482
160
|
}), null, 16, [
|
|
483
161
|
"modelValue",
|
|
484
162
|
"onUpdate:modelValue",
|
|
485
163
|
"style"
|
|
486
|
-
])) : (
|
|
164
|
+
])) : (b(), r(c, {
|
|
487
165
|
key: 1,
|
|
488
|
-
modelValue: h[
|
|
489
|
-
"onUpdate:modelValue": (
|
|
166
|
+
modelValue: h[t.prop],
|
|
167
|
+
"onUpdate:modelValue": (e) => h[t.prop] = e,
|
|
490
168
|
placeholder: "请输入",
|
|
491
169
|
clearable: !0,
|
|
492
|
-
style:
|
|
170
|
+
style: _({ width: j(J)(t?.valueWidth || e.valueWidth) })
|
|
493
171
|
}, null, 8, [
|
|
494
172
|
"modelValue",
|
|
495
173
|
"onUpdate:modelValue",
|
|
@@ -502,42 +180,42 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
502
180
|
"value-width"
|
|
503
181
|
]))]),
|
|
504
182
|
_: 2
|
|
505
|
-
}, 1032, ["span"]))), 256)),
|
|
506
|
-
span: 24 /
|
|
507
|
-
offset:
|
|
183
|
+
}, 1032, ["span"]))), 256)), u(f, {
|
|
184
|
+
span: 24 / e.column,
|
|
185
|
+
offset: y.value
|
|
508
186
|
}, {
|
|
509
|
-
default: N(() => [
|
|
187
|
+
default: N(() => [u(d, {
|
|
510
188
|
label: "",
|
|
511
189
|
"label-width": "30px"
|
|
512
190
|
}, {
|
|
513
|
-
default: N(() => [
|
|
514
|
-
|
|
515
|
-
|
|
191
|
+
default: N(() => [o("div", Je, [
|
|
192
|
+
w(n.$slots, "left", { form: h }, void 0, !0),
|
|
193
|
+
e.fields.length >= 2 * e.column ? (b(), r(v, {
|
|
516
194
|
key: 0,
|
|
517
195
|
text: "",
|
|
518
|
-
icon:
|
|
519
|
-
onClick:
|
|
196
|
+
icon: p.expand ? j(Fe) : j(Pe),
|
|
197
|
+
onClick: s[0] ||= (e) => p.expand = !p.expand
|
|
520
198
|
}, {
|
|
521
|
-
default: N(() => [
|
|
199
|
+
default: N(() => [l(k(p.expand ? "收起" : "展开"), 1)]),
|
|
522
200
|
_: 1
|
|
523
|
-
}, 8, ["icon"])) :
|
|
524
|
-
|
|
525
|
-
icon:
|
|
201
|
+
}, 8, ["icon"])) : i("", !0),
|
|
202
|
+
u(v, {
|
|
203
|
+
icon: j(Ue),
|
|
526
204
|
type: "primary",
|
|
527
|
-
onClick:
|
|
205
|
+
onClick: S
|
|
528
206
|
}, {
|
|
529
|
-
default: N(() => [...
|
|
207
|
+
default: N(() => [...s[1] ||= [l("查询", -1)]]),
|
|
530
208
|
_: 1
|
|
531
209
|
}, 8, ["icon"]),
|
|
532
|
-
|
|
533
|
-
icon:
|
|
534
|
-
onClick:
|
|
210
|
+
u(v, {
|
|
211
|
+
icon: j(G),
|
|
212
|
+
onClick: E
|
|
535
213
|
}, {
|
|
536
|
-
default: N(() => [...
|
|
214
|
+
default: N(() => [...s[2] ||= [l("重置", -1)]]),
|
|
537
215
|
_: 1
|
|
538
216
|
}, 8, ["icon"]),
|
|
539
|
-
|
|
540
|
-
|
|
217
|
+
w(n.$slots, "handle", { form: h }, void 0, !0),
|
|
218
|
+
w(n.$slots, "right", { form: h }, void 0, !0)
|
|
541
219
|
])]),
|
|
542
220
|
_: 3
|
|
543
221
|
})]),
|
|
@@ -558,7 +236,7 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
558
236
|
}, Qe = {
|
|
559
237
|
key: 0,
|
|
560
238
|
class: "ui-form-buttons"
|
|
561
|
-
}, $e = /* @__PURE__ */
|
|
239
|
+
}, $e = /* @__PURE__ */ K(/* @__PURE__ */ d({
|
|
562
240
|
__name: "index",
|
|
563
241
|
props: {
|
|
564
242
|
fields: {},
|
|
@@ -567,7 +245,7 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
567
245
|
labelWidth: { default: "100px" },
|
|
568
246
|
labelPosition: { default: "top" },
|
|
569
247
|
omitFields: { default: () => [] },
|
|
570
|
-
rules: { default: () =>
|
|
248
|
+
rules: { default: () => x({}) },
|
|
571
249
|
required: { type: Boolean },
|
|
572
250
|
column: { default: 24 },
|
|
573
251
|
defaultValues: {},
|
|
@@ -576,9 +254,9 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
576
254
|
size: {}
|
|
577
255
|
},
|
|
578
256
|
emits: ["submit", "reset"],
|
|
579
|
-
setup(
|
|
257
|
+
setup(e, { expose: o, emit: c }) {
|
|
580
258
|
ee((e) => ({ ec46e5ec: e.column / 2 }));
|
|
581
|
-
let d =
|
|
259
|
+
let d = c, f = s(e, [
|
|
582
260
|
"fields",
|
|
583
261
|
"labelWidth",
|
|
584
262
|
"valueWidth",
|
|
@@ -587,121 +265,121 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
587
265
|
"labelPosition",
|
|
588
266
|
"valueModel",
|
|
589
267
|
"column"
|
|
590
|
-
]),
|
|
591
|
-
let
|
|
592
|
-
return
|
|
593
|
-
let n =
|
|
594
|
-
v[
|
|
595
|
-
let n =
|
|
596
|
-
v[
|
|
268
|
+
]), p = S(0), h = S(), v = x({}), y = n(() => {
|
|
269
|
+
let t = A(v);
|
|
270
|
+
return e.fields.forEach((e) => {
|
|
271
|
+
let n = e.prop ? t?.[e.prop] : void 0, r = X(e, v)?.props?.defaultValue;
|
|
272
|
+
v[e.prop] = n ?? r ?? void 0, e?.slots && e?.slots?.length > 0 && e.slots.forEach((e) => {
|
|
273
|
+
let n = e.prop ? t?.[e.prop] : void 0, r = X(e, v)?.props?.defaultValue;
|
|
274
|
+
v[e.prop] = n ?? r ?? void 0;
|
|
597
275
|
});
|
|
598
|
-
}),
|
|
599
|
-
}),
|
|
600
|
-
if (
|
|
601
|
-
let
|
|
602
|
-
return
|
|
603
|
-
|
|
276
|
+
}), e.fields.filter((e) => typeof e.prop == "string");
|
|
277
|
+
}), E = n(() => {
|
|
278
|
+
if (e.rules && Object.keys(e.rules).length) return e.rules;
|
|
279
|
+
let t = {};
|
|
280
|
+
return y.value.forEach((e) => {
|
|
281
|
+
e.rules && Object.keys(e.rules).length ? t[e.prop] = e.rules : e.required && (t[e.prop] = [{
|
|
604
282
|
required: !0,
|
|
605
|
-
message: "请输入" +
|
|
283
|
+
message: "请输入" + e.label,
|
|
606
284
|
trigger: "change"
|
|
607
285
|
}]);
|
|
608
|
-
}),
|
|
286
|
+
}), t;
|
|
609
287
|
});
|
|
610
|
-
|
|
288
|
+
ne(() => {
|
|
611
289
|
Object.assign(v, f?.form);
|
|
612
290
|
});
|
|
613
|
-
async function
|
|
291
|
+
async function O(e) {
|
|
614
292
|
let t = !0;
|
|
615
293
|
if (await e.validate((e) => {
|
|
616
294
|
t = e;
|
|
617
295
|
}), !t) return;
|
|
618
296
|
let n = {};
|
|
619
297
|
Object.keys(v).forEach((e) => {
|
|
620
|
-
v[e] !== void 0 && (n[e] =
|
|
298
|
+
v[e] !== void 0 && (n[e] = A(v[e]));
|
|
621
299
|
}), d("submit", n);
|
|
622
300
|
}
|
|
301
|
+
function te() {
|
|
302
|
+
h && h.value?.clearValidate();
|
|
303
|
+
}
|
|
623
304
|
function M() {
|
|
624
|
-
|
|
305
|
+
Object.keys(v).forEach((t) => {
|
|
306
|
+
e.omitFields.includes(t) || (v[t] = void 0);
|
|
307
|
+
}), p.value += 1, d("reset", v);
|
|
625
308
|
}
|
|
626
309
|
function P() {
|
|
627
|
-
Object.keys(v).forEach((e) => {
|
|
628
|
-
a.omitFields.includes(e) || (v[e] = void 0);
|
|
629
|
-
}), m.value += 1, d("reset", v);
|
|
630
|
-
}
|
|
631
|
-
function F() {
|
|
632
310
|
return v;
|
|
633
311
|
}
|
|
634
|
-
function
|
|
312
|
+
function F(e) {
|
|
635
313
|
Object.keys(e).forEach((t) => {
|
|
636
314
|
v[t] = e[t];
|
|
637
315
|
});
|
|
638
316
|
}
|
|
639
317
|
async function I() {
|
|
640
318
|
return new Promise((e) => {
|
|
641
|
-
|
|
319
|
+
h.value?.validate((t, n) => e(n));
|
|
642
320
|
});
|
|
643
321
|
}
|
|
644
|
-
return
|
|
645
|
-
getValues:
|
|
646
|
-
setValues:
|
|
647
|
-
clearValidate:
|
|
648
|
-
onSubmit:
|
|
322
|
+
return o({
|
|
323
|
+
getValues: P,
|
|
324
|
+
setValues: F,
|
|
325
|
+
clearValidate: te,
|
|
326
|
+
onSubmit: O,
|
|
649
327
|
validate: I
|
|
650
|
-
}), (
|
|
651
|
-
let s =
|
|
652
|
-
return
|
|
328
|
+
}), (n, o) => {
|
|
329
|
+
let s = T("el-input"), c = T("el-form-item"), d = T("el-form"), f = T("el-button");
|
|
330
|
+
return b(), a(t, null, [u(d, m({
|
|
653
331
|
ref_key: "uiFormRef",
|
|
654
|
-
ref:
|
|
332
|
+
ref: h,
|
|
655
333
|
model: v
|
|
656
|
-
},
|
|
657
|
-
rules:
|
|
658
|
-
inline:
|
|
659
|
-
"label-position":
|
|
334
|
+
}, n.$attrs, {
|
|
335
|
+
rules: E.value,
|
|
336
|
+
inline: e.labelPosition !== "top",
|
|
337
|
+
"label-position": e.labelPosition,
|
|
660
338
|
class: {
|
|
661
339
|
"ui-form": !0,
|
|
662
|
-
horizontal:
|
|
340
|
+
horizontal: e.labelPosition !== "top"
|
|
663
341
|
},
|
|
664
342
|
"validate-on-rule-change": !1
|
|
665
343
|
}), {
|
|
666
|
-
default: N(() => [(
|
|
667
|
-
key:
|
|
668
|
-
label:
|
|
669
|
-
"label-width":
|
|
670
|
-
"value-width":
|
|
671
|
-
prop:
|
|
672
|
-
style:
|
|
673
|
-
width: `${
|
|
674
|
-
gridColumn: `span ${(
|
|
344
|
+
default: N(() => [(b(!0), a(t, null, C(y.value, (i) => (b(), r(c, {
|
|
345
|
+
key: i.prop,
|
|
346
|
+
label: i.label,
|
|
347
|
+
"label-width": e.labelWidth,
|
|
348
|
+
"value-width": e.valueWidth,
|
|
349
|
+
prop: i.prop,
|
|
350
|
+
style: _({
|
|
351
|
+
width: `${i?.width ? i?.width + "px" : "100%"}`,
|
|
352
|
+
gridColumn: `span ${(i?.span || e.column) / 2 || 1}`
|
|
675
353
|
})
|
|
676
354
|
}, {
|
|
677
|
-
default: N(() => [
|
|
355
|
+
default: N(() => [i.render ? (b(), a(t, { key: 0 }, [j(X)(i, v).component ? (b(), r(D(j(X)(i, v).component), m({
|
|
678
356
|
key: 1,
|
|
679
|
-
modelValue: v[
|
|
680
|
-
"onUpdate:modelValue": (e) => v[
|
|
681
|
-
}, { ref_for: !0 },
|
|
357
|
+
modelValue: v[i.prop],
|
|
358
|
+
"onUpdate:modelValue": (e) => v[i.prop] = e
|
|
359
|
+
}, { ref_for: !0 }, j(X)(i, v).props, {
|
|
682
360
|
clearable: !0,
|
|
683
|
-
key: `${
|
|
361
|
+
key: `${i.prop}-${p.value}`,
|
|
684
362
|
style: { display: "inline-block" },
|
|
685
|
-
class: { underline:
|
|
363
|
+
class: { underline: e.valueModel === "underline" }
|
|
686
364
|
}), null, 16, [
|
|
687
365
|
"modelValue",
|
|
688
366
|
"onUpdate:modelValue",
|
|
689
367
|
"class"
|
|
690
|
-
])) : (
|
|
368
|
+
])) : (b(), a("span", Xe, k(j(X)(i, v) || "-"), 1)), (b(!0), a(t, null, C(i.slots, (t) => w(n.$slots, "default", { form: v }, () => [j(X)(t, v).component ? (b(), r(D(j(X)(t, v).component), m({
|
|
691
369
|
key: 1,
|
|
692
|
-
modelValue: v[
|
|
693
|
-
"onUpdate:modelValue": (
|
|
694
|
-
"default-value":
|
|
695
|
-
placeholder:
|
|
696
|
-
}, { ref_for: !0 },
|
|
370
|
+
modelValue: v[t.prop],
|
|
371
|
+
"onUpdate:modelValue": (e) => v[t.prop] = e,
|
|
372
|
+
"default-value": t.defaultValue,
|
|
373
|
+
placeholder: t.placeholder
|
|
374
|
+
}, { ref_for: !0 }, j(X)(t, v).props, {
|
|
697
375
|
style: {
|
|
698
376
|
display: "inline-block",
|
|
699
377
|
marginLeft: "10px",
|
|
700
|
-
width: `${
|
|
378
|
+
width: `${t.width ? t.width + "px" : "100%"}`
|
|
701
379
|
},
|
|
702
|
-
class: { underline:
|
|
380
|
+
class: { underline: e.valueModel === "underline" },
|
|
703
381
|
clearable: !0,
|
|
704
|
-
key: `${
|
|
382
|
+
key: `${t.prop}-${p.value}`
|
|
705
383
|
}), null, 16, [
|
|
706
384
|
"modelValue",
|
|
707
385
|
"onUpdate:modelValue",
|
|
@@ -709,13 +387,13 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
709
387
|
"placeholder",
|
|
710
388
|
"style",
|
|
711
389
|
"class"
|
|
712
|
-
])) : (
|
|
390
|
+
])) : (b(), a("span", Ze, k(j(X)(t, v) || "-"), 1))], !0)), 256))], 64)) : (b(), r(s, {
|
|
713
391
|
key: 1,
|
|
714
|
-
modelValue: v[
|
|
715
|
-
"onUpdate:modelValue": (e) => v[
|
|
392
|
+
modelValue: v[i.prop],
|
|
393
|
+
"onUpdate:modelValue": (e) => v[i.prop] = e,
|
|
716
394
|
placeholder: "请输入",
|
|
717
395
|
clearable: !0,
|
|
718
|
-
class:
|
|
396
|
+
class: g({ underline: e.valueModel === "underline" })
|
|
719
397
|
}, null, 8, [
|
|
720
398
|
"modelValue",
|
|
721
399
|
"onUpdate:modelValue",
|
|
@@ -736,31 +414,31 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
736
414
|
"inline",
|
|
737
415
|
"label-position",
|
|
738
416
|
"class"
|
|
739
|
-
]),
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
icon:
|
|
743
|
-
onClick: o[0] ||= (e) =>
|
|
744
|
-
size:
|
|
417
|
+
]), n.$attrs?.hideHandle ? i("", !0) : (b(), a("div", Qe, [
|
|
418
|
+
w(n.$slots, "handle", { form: v }, void 0, !0),
|
|
419
|
+
u(f, {
|
|
420
|
+
icon: j(G),
|
|
421
|
+
onClick: o[0] ||= (e) => h.value && M(),
|
|
422
|
+
size: n.$props.size
|
|
745
423
|
}, {
|
|
746
|
-
default: N(() => [...o[2] ||= [
|
|
424
|
+
default: N(() => [...o[2] ||= [l("重置", -1)]]),
|
|
747
425
|
_: 1
|
|
748
426
|
}, 8, ["icon", "size"]),
|
|
749
|
-
|
|
750
|
-
icon:
|
|
427
|
+
u(f, {
|
|
428
|
+
icon: j(He),
|
|
751
429
|
type: "primary",
|
|
752
|
-
onClick: o[1] ||= (e) =>
|
|
753
|
-
size:
|
|
430
|
+
onClick: o[1] ||= (e) => h.value && O(h.value),
|
|
431
|
+
size: n.$props.size
|
|
754
432
|
}, {
|
|
755
|
-
default: N(() => [...o[3] ||= [
|
|
433
|
+
default: N(() => [...o[3] ||= [l("提交", -1)]]),
|
|
756
434
|
_: 1
|
|
757
435
|
}, 8, ["icon", "size"])
|
|
758
436
|
]))], 64);
|
|
759
437
|
};
|
|
760
438
|
}
|
|
761
|
-
}), [["__scopeId", "data-v-f8f2a1f5"]]), et = ["disabled"], Z = /* @__PURE__ */
|
|
439
|
+
}), [["__scopeId", "data-v-f8f2a1f5"]]), et = ["disabled"], Z = /* @__PURE__ */ d({
|
|
762
440
|
__name: "index",
|
|
763
|
-
props: /* @__PURE__ */
|
|
441
|
+
props: /* @__PURE__ */ p({
|
|
764
442
|
defaultValue: { default: "" },
|
|
765
443
|
disabled: {
|
|
766
444
|
type: Boolean,
|
|
@@ -773,25 +451,25 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
773
451
|
},
|
|
774
452
|
modelModifiers: {}
|
|
775
453
|
}),
|
|
776
|
-
emits: /* @__PURE__ */
|
|
454
|
+
emits: /* @__PURE__ */ p(["change"], ["update:modelValue"]),
|
|
777
455
|
setup(e, { emit: t }) {
|
|
778
|
-
let n =
|
|
779
|
-
return
|
|
780
|
-
o = new
|
|
456
|
+
let n = S(), r = te(e, "modelValue"), i = S(r.value || e.defaultValue || ""), o = null, s = t;
|
|
457
|
+
return v(() => {
|
|
458
|
+
o = new We({
|
|
781
459
|
element: n.value,
|
|
782
460
|
placeholder: "点击输入内容...",
|
|
783
461
|
content: r.value || e.defaultValue || "",
|
|
784
462
|
toolbarExcludeKeys: ["ai"],
|
|
785
463
|
onChange: (e) => {
|
|
786
464
|
let t = e.getHtml();
|
|
787
|
-
r.value = t,
|
|
465
|
+
r.value = t, i.value = t, s("change", t);
|
|
788
466
|
}
|
|
789
467
|
}), o.setEditable(!e.disabled);
|
|
790
468
|
}), M(r, (e) => {
|
|
791
469
|
o && e !== o.getHtml() && o.setContent(e);
|
|
792
|
-
}),
|
|
470
|
+
}), y(() => {
|
|
793
471
|
o && o.destroy();
|
|
794
|
-
}), (t, r) => (
|
|
472
|
+
}), (t, r) => (b(), a("div", {
|
|
795
473
|
ref_key: "editorRef",
|
|
796
474
|
ref: n,
|
|
797
475
|
style: { height: "500px" },
|
|
@@ -814,7 +492,7 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
814
492
|
color: "#ef4444",
|
|
815
493
|
display: "flex",
|
|
816
494
|
"align-items": "center"
|
|
817
|
-
} }, ot = /* @__PURE__ */
|
|
495
|
+
} }, ot = /* @__PURE__ */ K(/* @__PURE__ */ d({
|
|
818
496
|
__name: "index",
|
|
819
497
|
props: {
|
|
820
498
|
id: {},
|
|
@@ -831,16 +509,16 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
831
509
|
},
|
|
832
510
|
emits: ["change"],
|
|
833
511
|
setup(e, { emit: t }) {
|
|
834
|
-
let
|
|
512
|
+
let n = s(e, [
|
|
835
513
|
"filterable",
|
|
836
514
|
"placeholder",
|
|
837
515
|
"data",
|
|
838
516
|
"props"
|
|
839
|
-
]),
|
|
840
|
-
M(
|
|
517
|
+
]), c = S(""), d = S(), f = S(null);
|
|
518
|
+
M(c, (t) => {
|
|
841
519
|
e.filterable && f.value.filter(t);
|
|
842
520
|
});
|
|
843
|
-
function
|
|
521
|
+
function p(t, n) {
|
|
844
522
|
return t ? n?.[e.props?.label || "label"]?.includes(t) ?? !1 : !0;
|
|
845
523
|
}
|
|
846
524
|
function h(e, t) {
|
|
@@ -852,7 +530,7 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
852
530
|
cancelButtonText: "取消",
|
|
853
531
|
callback: async (e) => {
|
|
854
532
|
if (e.action === "confirm") {
|
|
855
|
-
if (!
|
|
533
|
+
if (!n?.id) return;
|
|
856
534
|
console.log("添加 =》》", e?.value);
|
|
857
535
|
}
|
|
858
536
|
}
|
|
@@ -870,15 +548,15 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
870
548
|
async function v(e) {
|
|
871
549
|
e.id && console.log("删除节点 =》》", e.id);
|
|
872
550
|
}
|
|
873
|
-
return (t,
|
|
874
|
-
let d =
|
|
875
|
-
return
|
|
876
|
-
e.filterable ? (
|
|
877
|
-
modelValue:
|
|
878
|
-
"onUpdate:modelValue":
|
|
551
|
+
return (t, s) => {
|
|
552
|
+
let d = T("el-input"), y = T("el-icon"), x = T("el-button"), S = T("el-dropdown-item"), C = T("el-dropdown-menu"), E = T("el-dropdown"), D = T("el-tree-v2");
|
|
553
|
+
return b(), a("div", tt, [
|
|
554
|
+
e.filterable ? (b(), a("div", nt, [u(d, {
|
|
555
|
+
modelValue: c.value,
|
|
556
|
+
"onUpdate:modelValue": s[0] ||= (e) => c.value = e,
|
|
879
557
|
placeholder: e.placeholder ?? "请输入",
|
|
880
558
|
clearable: ""
|
|
881
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
559
|
+
}, null, 8, ["modelValue", "placeholder"]), n?.hidePlusHandle ? i("", !0) : (b(), r(x, {
|
|
882
560
|
key: 0,
|
|
883
561
|
style: {
|
|
884
562
|
margin: "0px",
|
|
@@ -886,14 +564,14 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
886
564
|
},
|
|
887
565
|
link: ""
|
|
888
566
|
}, {
|
|
889
|
-
default: N(() => [
|
|
890
|
-
default: N(() => [
|
|
567
|
+
default: N(() => [u(y, { size: 22 }, {
|
|
568
|
+
default: N(() => [u(j(Ie), { onClick: s[1] ||= (e) => g() })]),
|
|
891
569
|
_: 1
|
|
892
570
|
})]),
|
|
893
571
|
_: 1
|
|
894
|
-
}))])) :
|
|
895
|
-
|
|
896
|
-
|
|
572
|
+
}))])) : i("", !0),
|
|
573
|
+
w(t.$slots, "handle", { style: "margin-top: 8px" }, void 0, !0),
|
|
574
|
+
u(D, m({
|
|
897
575
|
ref_key: "treeRef",
|
|
898
576
|
ref: f,
|
|
899
577
|
style: { "margin-top": "8px" }
|
|
@@ -901,59 +579,59 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
901
579
|
...t.$props,
|
|
902
580
|
...t.$attrs
|
|
903
581
|
}, {
|
|
904
|
-
"node-key":
|
|
582
|
+
"node-key": n?.nodeKey || "id",
|
|
905
583
|
"highlight-current": !0,
|
|
906
|
-
"filter-method":
|
|
584
|
+
"filter-method": p
|
|
907
585
|
}), {
|
|
908
|
-
default: N((
|
|
909
|
-
default: N(() => [
|
|
586
|
+
default: N((c) => [c?.data ? (b(), a("div", rt, [o("div", it, [c.data?.children?.length ? (b(), r(y, { key: 0 }, {
|
|
587
|
+
default: N(() => [u(j(Be))]),
|
|
910
588
|
_: 1
|
|
911
|
-
})) :
|
|
589
|
+
})) : i("", !0), l(" " + k(c.data?.[e.props?.label || "label"]) + " " + k(c.data?.children?.length ? `(${c.data.children.length})` : ""), 1)]), n.hideNodeHandle ? i("", !0) : (b(), r(E, {
|
|
912
590
|
key: 0,
|
|
913
591
|
trigger: "click"
|
|
914
592
|
}, {
|
|
915
|
-
dropdown: N(() => [
|
|
593
|
+
dropdown: N(() => [u(C, null, {
|
|
916
594
|
default: N(() => [
|
|
917
|
-
|
|
595
|
+
n?.hideNodeAdd ? i("", !0) : (b(), r(S, {
|
|
918
596
|
key: 0,
|
|
919
|
-
onClick:
|
|
597
|
+
onClick: s[2] ||= (e) => g()
|
|
920
598
|
}, {
|
|
921
|
-
default: N(() => [
|
|
922
|
-
default: N(() => [
|
|
599
|
+
default: N(() => [u(y, null, {
|
|
600
|
+
default: N(() => [u(j(Re))]),
|
|
923
601
|
_: 1
|
|
924
|
-
}),
|
|
602
|
+
}), s[3] ||= l("添加 ", -1)]),
|
|
925
603
|
_: 1
|
|
926
604
|
})),
|
|
927
|
-
|
|
605
|
+
n?.hideNodeEdit ? i("", !0) : (b(), r(S, {
|
|
928
606
|
key: 1,
|
|
929
|
-
onClick: (e) => _(
|
|
607
|
+
onClick: (e) => _(c.data)
|
|
930
608
|
}, {
|
|
931
|
-
default: N(() => [
|
|
932
|
-
default: N(() => [
|
|
609
|
+
default: N(() => [u(y, null, {
|
|
610
|
+
default: N(() => [u(j(ze))]),
|
|
933
611
|
_: 1
|
|
934
|
-
}),
|
|
612
|
+
}), s[4] ||= l("编辑 ", -1)]),
|
|
935
613
|
_: 1
|
|
936
614
|
}, 8, ["onClick"])),
|
|
937
|
-
|
|
615
|
+
n?.hideNodeDel ? i("", !0) : (b(), r(S, {
|
|
938
616
|
key: 2,
|
|
939
|
-
onClick: (e) => v(
|
|
617
|
+
onClick: (e) => v(c.data)
|
|
940
618
|
}, {
|
|
941
|
-
default: N(() => [
|
|
942
|
-
default: N(() => [
|
|
619
|
+
default: N(() => [o("span", at, [u(y, null, {
|
|
620
|
+
default: N(() => [u(j(Le))]),
|
|
943
621
|
_: 1
|
|
944
|
-
}),
|
|
622
|
+
}), s[5] ||= l("删除 ", -1)])]),
|
|
945
623
|
_: 1
|
|
946
624
|
}, 8, ["onClick"])),
|
|
947
|
-
|
|
625
|
+
w(t.$slots, "node-handle", { data: c.data }, void 0, !0)
|
|
948
626
|
]),
|
|
949
627
|
_: 2
|
|
950
628
|
}, 1024)]),
|
|
951
|
-
default: N(() => [
|
|
952
|
-
default: N(() => [
|
|
629
|
+
default: N(() => [u(y, { onClick: (e) => h(e, c.data) }, {
|
|
630
|
+
default: N(() => [u(j(Ve))]),
|
|
953
631
|
_: 1
|
|
954
632
|
}, 8, ["onClick"])]),
|
|
955
633
|
_: 2
|
|
956
|
-
}, 1024))])) :
|
|
634
|
+
}, 1024))])) : i("", !0)]),
|
|
957
635
|
_: 3
|
|
958
636
|
}, 16, ["node-key"])
|
|
959
637
|
]);
|
|
@@ -965,10 +643,10 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
965
643
|
"justify-content": "space-between",
|
|
966
644
|
"align-items": "center",
|
|
967
645
|
gap: "10px"
|
|
968
|
-
} }, lt = { style: { margin: "10px 0px" } }, ut = ["onClick"], dt = { key: 0 }, ft = /* @__PURE__ */
|
|
646
|
+
} }, lt = { style: { margin: "10px 0px" } }, ut = ["onClick"], dt = { key: 0 }, ft = /* @__PURE__ */ K(/* @__PURE__ */ d({
|
|
969
647
|
__name: "index",
|
|
970
648
|
props: {
|
|
971
|
-
loading: { default: () =>
|
|
649
|
+
loading: { default: () => S(!1) },
|
|
972
650
|
data: {},
|
|
973
651
|
placeholder: {},
|
|
974
652
|
props: {},
|
|
@@ -976,36 +654,36 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
976
654
|
filterable: { type: Boolean }
|
|
977
655
|
},
|
|
978
656
|
emits: ["node-click"],
|
|
979
|
-
setup(
|
|
980
|
-
let c = s, l =
|
|
981
|
-
M(() => [u.value,
|
|
982
|
-
!
|
|
657
|
+
setup(e, { emit: s }) {
|
|
658
|
+
let c = s, l = S(""), u = S(), d = n(() => l.value ? e.data.filter((t) => t[e.props?.label || "label"]?.includes(l.value)) : e.data);
|
|
659
|
+
M(() => [u.value, e.data?.[0]], (t) => {
|
|
660
|
+
!t[0] && t[1] && (u.value = e.data?.[0]);
|
|
983
661
|
}, { immediate: !0 });
|
|
984
662
|
function f(e) {
|
|
985
663
|
u.value = e, c("node-click", e);
|
|
986
664
|
}
|
|
987
|
-
return (
|
|
988
|
-
let c =
|
|
989
|
-
return
|
|
990
|
-
|
|
665
|
+
return (n, s) => {
|
|
666
|
+
let c = T("el-input");
|
|
667
|
+
return b(), a("div", st, [
|
|
668
|
+
o("div", ct, [e.filterable ? (b(), r(c, {
|
|
991
669
|
key: 0,
|
|
992
670
|
modelValue: l.value,
|
|
993
671
|
"onUpdate:modelValue": s[0] ||= (e) => l.value = e,
|
|
994
|
-
placeholder:
|
|
995
|
-
}, null, 8, ["modelValue", "placeholder"])) :
|
|
996
|
-
|
|
997
|
-
P((
|
|
672
|
+
placeholder: e.placeholder ?? "请输入"
|
|
673
|
+
}, null, 8, ["modelValue", "placeholder"])) : i("", !0), w(n.$slots, "plus", {}, void 0, !0)]),
|
|
674
|
+
o("div", lt, [w(n.$slots, "handle", {}, void 0, !0)]),
|
|
675
|
+
P((b(), a("ul", m({
|
|
998
676
|
class: "infinite-list",
|
|
999
677
|
"infinite-scroll-immediate": !1
|
|
1000
|
-
},
|
|
1001
|
-
key: "infinite-list-" +
|
|
1002
|
-
class:
|
|
678
|
+
}, n.$attrs), [(b(!0), a(t, null, C(d.value, (t, r) => (b(), a("li", {
|
|
679
|
+
key: "infinite-list-" + r,
|
|
680
|
+
class: g({
|
|
1003
681
|
"infinite-list-item": !0,
|
|
1004
|
-
active:
|
|
682
|
+
active: t === u.value
|
|
1005
683
|
}),
|
|
1006
|
-
onClick: (
|
|
1007
|
-
}, [
|
|
1008
|
-
|
|
684
|
+
onClick: (e) => f(t)
|
|
685
|
+
}, [o("span", null, k(t[e.props?.label || "label"]), 1), w(n.$slots, "itemHandle", { data: t }, void 0, !0)], 10, ut))), 128))], 16)), [[j(e.vInfiniteScroll), e.vInfiniteScroll]]),
|
|
686
|
+
e.loading.value ? (b(), a("p", dt, "loading...")) : i("", !0)
|
|
1009
687
|
]);
|
|
1010
688
|
};
|
|
1011
689
|
}
|
|
@@ -1016,7 +694,7 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
1016
694
|
"margin-bottom": "10px",
|
|
1017
695
|
"border-bottom": "1px solid #e5e5e5"
|
|
1018
696
|
}
|
|
1019
|
-
}, mt = { key: 1 }, ht = /* @__PURE__ */
|
|
697
|
+
}, mt = { key: 1 }, ht = /* @__PURE__ */ K(/* @__PURE__ */ d({
|
|
1020
698
|
__name: "index",
|
|
1021
699
|
props: {
|
|
1022
700
|
data: {},
|
|
@@ -1029,33 +707,33 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
1029
707
|
extra: {},
|
|
1030
708
|
labelWidth: {}
|
|
1031
709
|
},
|
|
1032
|
-
setup(
|
|
1033
|
-
let
|
|
710
|
+
setup(e) {
|
|
711
|
+
let n = s(e, [
|
|
1034
712
|
"title",
|
|
1035
713
|
"column",
|
|
1036
714
|
"fields",
|
|
1037
715
|
"data"
|
|
1038
716
|
]);
|
|
1039
717
|
return (o, s) => {
|
|
1040
|
-
let c =
|
|
1041
|
-
return
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
l
|
|
1045
|
-
default: N(() => [(
|
|
1046
|
-
key:
|
|
1047
|
-
label:
|
|
1048
|
-
span:
|
|
718
|
+
let c = T("el-descriptions-item"), l = T("el-descriptions");
|
|
719
|
+
return b(), a(t, null, [
|
|
720
|
+
e.title ? (b(), a("h4", pt, k(e.title), 1)) : i("", !0),
|
|
721
|
+
w(o.$slots, "title", {}, void 0, !0),
|
|
722
|
+
u(l, m({ column: e.column }, n, { class: "ui-descriptions" }), {
|
|
723
|
+
default: N(() => [(b(!0), a(t, null, C(e.fields, (t) => (b(), r(c, {
|
|
724
|
+
key: t.prop,
|
|
725
|
+
label: t.label,
|
|
726
|
+
span: t.span || 2
|
|
1049
727
|
}, {
|
|
1050
|
-
default: N(() => [
|
|
728
|
+
default: N(() => [t.render ? (b(), r(D(j(Y)(t, e.data).component), m({
|
|
1051
729
|
key: 0,
|
|
1052
|
-
modelValue:
|
|
1053
|
-
"onUpdate:modelValue": (n) =>
|
|
1054
|
-
}, { ref_for: !0 },
|
|
730
|
+
modelValue: e.data[t.prop],
|
|
731
|
+
"onUpdate:modelValue": (n) => e.data[t.prop] = n
|
|
732
|
+
}, { ref_for: !0 }, j(Y)(t, e.data).props, {
|
|
1055
733
|
clearable: !0,
|
|
1056
|
-
key:
|
|
734
|
+
key: t.prop,
|
|
1057
735
|
style: { display: "inline-block" }
|
|
1058
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : (
|
|
736
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : (b(), a("span", mt, k(e.data[t.prop] || "-"), 1))]),
|
|
1059
737
|
_: 2
|
|
1060
738
|
}, 1032, ["label", "span"]))), 128))]),
|
|
1061
739
|
_: 1
|
|
@@ -1066,7 +744,7 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
1066
744
|
}), [["__scopeId", "data-v-f02c30f9"]]), gt = {
|
|
1067
745
|
key: 0,
|
|
1068
746
|
class: "dialog-footer"
|
|
1069
|
-
}, _t = /* @__PURE__ */
|
|
747
|
+
}, _t = /* @__PURE__ */ K(/* @__PURE__ */ d({
|
|
1070
748
|
__name: "index",
|
|
1071
749
|
props: {
|
|
1072
750
|
visible: { type: Boolean },
|
|
@@ -1081,36 +759,36 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
1081
759
|
"submit"
|
|
1082
760
|
],
|
|
1083
761
|
setup(e, { emit: t }) {
|
|
1084
|
-
let
|
|
1085
|
-
function
|
|
1086
|
-
|
|
762
|
+
let n = t, o = e, s = S();
|
|
763
|
+
function c() {
|
|
764
|
+
n("close"), n("update:visible", !1);
|
|
1087
765
|
}
|
|
1088
766
|
function d() {
|
|
1089
|
-
|
|
767
|
+
n("submit", A(s?.value || {})), n("update:visible", !1);
|
|
1090
768
|
}
|
|
1091
769
|
return (e, t) => {
|
|
1092
|
-
let
|
|
1093
|
-
return
|
|
770
|
+
let n = T("el-button"), f = T("el-dialog");
|
|
771
|
+
return b(), r(f, m(e.$attrs, {
|
|
1094
772
|
"model-value": o.visible,
|
|
1095
773
|
"show-close": o.disabled,
|
|
1096
774
|
fullscreen: !o.width,
|
|
1097
775
|
"destroy-on-close": "",
|
|
1098
776
|
"lock-scroll": !1,
|
|
1099
777
|
"close-on-click-modal": !1,
|
|
1100
|
-
"onUpdate:modelValue": t[0] ||= (e) => !e &&
|
|
1101
|
-
onClose:
|
|
778
|
+
"onUpdate:modelValue": t[0] ||= (e) => !e && c(),
|
|
779
|
+
onClose: c
|
|
1102
780
|
}), {
|
|
1103
|
-
default: N(() => [(
|
|
781
|
+
default: N(() => [(b(), r(D(o.component), m({
|
|
1104
782
|
ref_key: "slotRef",
|
|
1105
783
|
ref: s
|
|
1106
|
-
}, o.componentProps), null, 16)), o.disabled ?
|
|
1107
|
-
default: N(() => [...t[1] ||= [
|
|
784
|
+
}, o.componentProps), null, 16)), o.disabled ? i("", !0) : (b(), a("div", gt, [u(n, { onClick: c }, {
|
|
785
|
+
default: N(() => [...t[1] ||= [l("取消", -1)]]),
|
|
1108
786
|
_: 1
|
|
1109
|
-
}),
|
|
787
|
+
}), u(n, {
|
|
1110
788
|
type: "primary",
|
|
1111
789
|
onClick: d
|
|
1112
790
|
}, {
|
|
1113
|
-
default: N(() => [...t[2] ||= [
|
|
791
|
+
default: N(() => [...t[2] ||= [l("确定", -1)]]),
|
|
1114
792
|
_: 1
|
|
1115
793
|
})]))]),
|
|
1116
794
|
_: 1
|
|
@@ -1125,13 +803,13 @@ var Je = { class: "filter-buttons" }, Ye = /* @__PURE__ */ G(/* @__PURE__ */ u({
|
|
|
1125
803
|
//#endregion
|
|
1126
804
|
//#region src/components/utils/render.ts
|
|
1127
805
|
function vt(e) {
|
|
1128
|
-
return
|
|
806
|
+
return f("template", { style: {
|
|
1129
807
|
display: "flex",
|
|
1130
808
|
flexDirection: "row",
|
|
1131
809
|
flexWrap: "wrap"
|
|
1132
810
|
} }, (Array.isArray(e) ? e : [e]).map((e) => {
|
|
1133
811
|
let { text: t, ...n } = e;
|
|
1134
|
-
return
|
|
812
|
+
return f(F, {
|
|
1135
813
|
...n,
|
|
1136
814
|
link: !0,
|
|
1137
815
|
size: "small",
|
|
@@ -1140,38 +818,38 @@ function vt(e) {
|
|
|
1140
818
|
}));
|
|
1141
819
|
}
|
|
1142
820
|
function yt(e) {
|
|
1143
|
-
return Array.isArray(e) ?
|
|
821
|
+
return Array.isArray(e) ? f("div", { style: {
|
|
1144
822
|
display: "flex",
|
|
1145
823
|
gap: "8px",
|
|
1146
824
|
flexDirection: "row",
|
|
1147
825
|
flexWrap: "wrap"
|
|
1148
|
-
} }, e.map((e) =>
|
|
826
|
+
} }, e.map((e) => f(B, {
|
|
1149
827
|
...e,
|
|
1150
828
|
type: e.type || "primary"
|
|
1151
|
-
},
|
|
829
|
+
}, f(W, {
|
|
1152
830
|
lineClamp: e?.lineClamp,
|
|
1153
831
|
type: e.type || "primary"
|
|
1154
|
-
}, () => e.prop)))) :
|
|
832
|
+
}, () => e.prop)))) : f(B, {
|
|
1155
833
|
...e,
|
|
1156
834
|
type: e.type || "primary"
|
|
1157
|
-
},
|
|
835
|
+
}, f(W, {
|
|
1158
836
|
lineClamp: e?.lineClamp,
|
|
1159
837
|
type: e.type || "primary"
|
|
1160
838
|
}, () => e.prop));
|
|
1161
839
|
}
|
|
1162
840
|
function bt(e) {
|
|
1163
|
-
return
|
|
841
|
+
return f("div", { style: {
|
|
1164
842
|
display: "flex",
|
|
1165
843
|
gap: "4px",
|
|
1166
844
|
flexDirection: "row",
|
|
1167
845
|
flexWrap: "wrap"
|
|
1168
|
-
} }, (Array.isArray(e.prop) ? e.prop : [e.prop]).map((t) =>
|
|
846
|
+
} }, (Array.isArray(e.prop) ? e.prop : [e.prop]).map((t) => f(U, e, () => t)));
|
|
1169
847
|
}
|
|
1170
848
|
function xt(e) {
|
|
1171
|
-
return
|
|
849
|
+
return f(U, { ...e });
|
|
1172
850
|
}
|
|
1173
851
|
function St(e) {
|
|
1174
|
-
return
|
|
852
|
+
return f(Ee, {
|
|
1175
853
|
style: { minWidth: "160px" },
|
|
1176
854
|
...e,
|
|
1177
855
|
placeholder: "请选择",
|
|
@@ -1180,7 +858,7 @@ function St(e) {
|
|
|
1180
858
|
}
|
|
1181
859
|
function Ct(e) {
|
|
1182
860
|
let t = e?.type === "datetime" ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
|
|
1183
|
-
return
|
|
861
|
+
return f(L, {
|
|
1184
862
|
format: t,
|
|
1185
863
|
valueFormat: t,
|
|
1186
864
|
startPlaceholder: "开始时间",
|
|
@@ -1192,7 +870,7 @@ function Ct(e) {
|
|
|
1192
870
|
}
|
|
1193
871
|
function wt(e) {
|
|
1194
872
|
let { start: t = "00:00", end: n = "23:30", ...r } = e;
|
|
1195
|
-
return
|
|
873
|
+
return f(Ae, {
|
|
1196
874
|
start: t,
|
|
1197
875
|
end: n,
|
|
1198
876
|
...r,
|
|
@@ -1201,14 +879,14 @@ function wt(e) {
|
|
|
1201
879
|
});
|
|
1202
880
|
}
|
|
1203
881
|
function Tt(e) {
|
|
1204
|
-
return
|
|
882
|
+
return f(R, {
|
|
1205
883
|
...e,
|
|
1206
884
|
placeholder: "请输入"
|
|
1207
885
|
});
|
|
1208
886
|
}
|
|
1209
887
|
function Et(e) {
|
|
1210
888
|
let { align: t = "left", controlsPosition: n = "right", ...r } = e;
|
|
1211
|
-
return
|
|
889
|
+
return f(me, {
|
|
1212
890
|
align: t,
|
|
1213
891
|
style: {
|
|
1214
892
|
...e?.style || {},
|
|
@@ -1221,7 +899,7 @@ function Et(e) {
|
|
|
1221
899
|
}
|
|
1222
900
|
function Dt(e) {
|
|
1223
901
|
let { rows: t = 1, ...n } = e;
|
|
1224
|
-
return
|
|
902
|
+
return f(R, {
|
|
1225
903
|
placeholder: "请输入",
|
|
1226
904
|
rows: t,
|
|
1227
905
|
...n,
|
|
@@ -1229,20 +907,20 @@ function Dt(e) {
|
|
|
1229
907
|
});
|
|
1230
908
|
}
|
|
1231
909
|
function Ot(e) {
|
|
1232
|
-
return
|
|
910
|
+
return f(z, {
|
|
1233
911
|
placeholder: "请输入",
|
|
1234
912
|
...e,
|
|
1235
913
|
clearable: !1
|
|
1236
914
|
});
|
|
1237
915
|
}
|
|
1238
916
|
function kt(e) {
|
|
1239
|
-
return
|
|
917
|
+
return f(Z, e);
|
|
1240
918
|
}
|
|
1241
919
|
function At(e) {
|
|
1242
|
-
return
|
|
920
|
+
return f(H, e);
|
|
1243
921
|
}
|
|
1244
922
|
function jt(e) {
|
|
1245
|
-
return
|
|
923
|
+
return f(W, e, () => e.prop);
|
|
1246
924
|
}
|
|
1247
925
|
var Q = {
|
|
1248
926
|
button: vt,
|
|
@@ -1259,7 +937,7 @@ var Q = {
|
|
|
1259
937
|
editor: kt,
|
|
1260
938
|
radio: At,
|
|
1261
939
|
text: jt
|
|
1262
|
-
}, Mt = /* @__PURE__ */
|
|
940
|
+
}, Mt = /* @__PURE__ */ d({
|
|
1263
941
|
name: "UiColumn",
|
|
1264
942
|
__name: "UiColumn",
|
|
1265
943
|
props: {
|
|
@@ -1270,9 +948,9 @@ var Q = {
|
|
|
1270
948
|
size: {}
|
|
1271
949
|
},
|
|
1272
950
|
emits: ["update:data"],
|
|
1273
|
-
setup(
|
|
1274
|
-
let o =
|
|
1275
|
-
function
|
|
951
|
+
setup(e, { emit: n }) {
|
|
952
|
+
let o = n, s = e;
|
|
953
|
+
function c(e, t, n) {
|
|
1276
954
|
let r = {};
|
|
1277
955
|
Object.keys(Q).forEach((i) => {
|
|
1278
956
|
let a = i;
|
|
@@ -1295,44 +973,44 @@ var Q = {
|
|
|
1295
973
|
h: r,
|
|
1296
974
|
column: n
|
|
1297
975
|
}) : null;
|
|
1298
|
-
return i ? typeof i == "object" ? i :
|
|
976
|
+
return i ? typeof i == "object" ? i : f("div", { innerHTML: String(i) }) : null;
|
|
1299
977
|
}
|
|
1300
|
-
return (
|
|
1301
|
-
let u =
|
|
1302
|
-
return
|
|
978
|
+
return (n, o) => {
|
|
979
|
+
let u = T("UiColumn", !0), d = T("el-table-column"), f = T("el-text");
|
|
980
|
+
return e.column?.children && e.column?.children?.length > 0 ? (b(), r(d, {
|
|
1303
981
|
key: 0,
|
|
1304
|
-
label:
|
|
982
|
+
label: e.column.label,
|
|
1305
983
|
align: s.align
|
|
1306
984
|
}, {
|
|
1307
|
-
default: N(() => [(
|
|
985
|
+
default: N(() => [(b(!0), a(t, null, C(e.column.children, (e) => (b(), r(u, m({
|
|
1308
986
|
column: e,
|
|
1309
987
|
data: s.data
|
|
1310
|
-
}, { ref_for: !0 },
|
|
988
|
+
}, { ref_for: !0 }, n.$attrs, { align: s.align }), null, 16, [
|
|
1311
989
|
"column",
|
|
1312
990
|
"data",
|
|
1313
991
|
"align"
|
|
1314
992
|
]))), 256))]),
|
|
1315
993
|
_: 1
|
|
1316
|
-
}, 8, ["label", "align"])) : (
|
|
994
|
+
}, 8, ["label", "align"])) : (b(), r(d, {
|
|
1317
995
|
key: 1,
|
|
1318
|
-
prop: String(
|
|
1319
|
-
label:
|
|
1320
|
-
"column-key": String(
|
|
996
|
+
prop: String(e.column.prop),
|
|
997
|
+
label: e.column.label,
|
|
998
|
+
"column-key": String(e.column.prop),
|
|
1321
999
|
align: s.align,
|
|
1322
|
-
width:
|
|
1323
|
-
"show-overflow-tooltip":
|
|
1000
|
+
width: e.column.width,
|
|
1001
|
+
"show-overflow-tooltip": e.column.showOverflowTooltip
|
|
1324
1002
|
}, {
|
|
1325
|
-
default: N((
|
|
1003
|
+
default: N((n) => [n?.row ? (b(), a(t, { key: 0 }, [e.column.render ? (b(), r(D(c(n.row, n.$index, e.column)), {
|
|
1326
1004
|
key: 0,
|
|
1327
1005
|
align: s.align,
|
|
1328
1006
|
size: s.size
|
|
1329
|
-
}, null, 8, ["align", "size"])) : (
|
|
1007
|
+
}, null, 8, ["align", "size"])) : (b(), r(f, {
|
|
1330
1008
|
key: 1,
|
|
1331
|
-
"line-clamp":
|
|
1009
|
+
"line-clamp": e.column?.lineClamp || 2
|
|
1332
1010
|
}, {
|
|
1333
|
-
default: N(() => [
|
|
1011
|
+
default: N(() => [l(k(n.row[e.column.prop]), 1)]),
|
|
1334
1012
|
_: 2
|
|
1335
|
-
}, 1032, ["line-clamp"]))], 64)) :
|
|
1013
|
+
}, 1032, ["line-clamp"]))], 64)) : i("", !0)]),
|
|
1336
1014
|
_: 1
|
|
1337
1015
|
}, 8, [
|
|
1338
1016
|
"prop",
|
|
@@ -1344,7 +1022,7 @@ var Q = {
|
|
|
1344
1022
|
]));
|
|
1345
1023
|
};
|
|
1346
1024
|
}
|
|
1347
|
-
}), $ = /* @__PURE__ */
|
|
1025
|
+
}), $ = /* @__PURE__ */ K(/* @__PURE__ */ d({
|
|
1348
1026
|
__name: "index",
|
|
1349
1027
|
props: {
|
|
1350
1028
|
loading: {
|
|
@@ -1356,14 +1034,14 @@ var Q = {
|
|
|
1356
1034
|
default: !1
|
|
1357
1035
|
},
|
|
1358
1036
|
size: { default: "default" },
|
|
1359
|
-
data: { default: () =>
|
|
1037
|
+
data: { default: () => x([]) },
|
|
1360
1038
|
columns: {},
|
|
1361
1039
|
align: { default: "left" },
|
|
1362
1040
|
hidePagination: {
|
|
1363
1041
|
type: Boolean,
|
|
1364
1042
|
default: !1
|
|
1365
1043
|
},
|
|
1366
|
-
pagination: { default: () =>
|
|
1044
|
+
pagination: { default: () => x({
|
|
1367
1045
|
page: 1,
|
|
1368
1046
|
pageSize: 10,
|
|
1369
1047
|
total: 0,
|
|
@@ -1380,8 +1058,8 @@ var Q = {
|
|
|
1380
1058
|
rowKey: {}
|
|
1381
1059
|
},
|
|
1382
1060
|
emits: ["pagination"],
|
|
1383
|
-
setup(
|
|
1384
|
-
let c =
|
|
1061
|
+
setup(e, { emit: o }) {
|
|
1062
|
+
let c = o, l = s(e, [
|
|
1385
1063
|
"loading",
|
|
1386
1064
|
"border",
|
|
1387
1065
|
"align",
|
|
@@ -1389,28 +1067,28 @@ var Q = {
|
|
|
1389
1067
|
"pagination",
|
|
1390
1068
|
"data",
|
|
1391
1069
|
"size"
|
|
1392
|
-
]), u =
|
|
1393
|
-
M(() => [l.defaultCheckedKeys,
|
|
1394
|
-
!e?.length || !t?.length ||
|
|
1070
|
+
]), u = S(), d = n(() => A(l.columns)?.some((e) => e.type === "index")), f = n(() => A(l.columns)?.some((e) => e.type === "selection")), p = n(() => !l.columns || !l.columns.length ? [] : l.columns.filter((e) => e.type !== "index" && e.type !== "selection"));
|
|
1071
|
+
M(() => [l.defaultCheckedKeys, e.data], ([e, t]) => {
|
|
1072
|
+
!e?.length || !t?.length || h(() => {
|
|
1395
1073
|
if (!u.value) return;
|
|
1396
1074
|
let n = t.filter((t) => e.includes(t.id));
|
|
1397
1075
|
u.value.clearSelection(), n.forEach((e) => u.value?.toggleRowSelection(e, !0));
|
|
1398
1076
|
});
|
|
1399
1077
|
}, { immediate: !0 });
|
|
1400
|
-
function g(
|
|
1401
|
-
|
|
1078
|
+
function g(t, n) {
|
|
1079
|
+
e.pagination.page = t || e.pagination.page, e.pagination.pageSize = n || e.pagination.pageSize, c("pagination", A(e.pagination));
|
|
1402
1080
|
}
|
|
1403
|
-
function _(
|
|
1404
|
-
|
|
1405
|
-
...
|
|
1406
|
-
[
|
|
1081
|
+
function _(t, n, r) {
|
|
1082
|
+
e.data[t] && (e.data[t] = {
|
|
1083
|
+
...e.data[t],
|
|
1084
|
+
[n]: r
|
|
1407
1085
|
});
|
|
1408
1086
|
}
|
|
1409
|
-
return (
|
|
1410
|
-
let s =
|
|
1411
|
-
return
|
|
1412
|
-
P((
|
|
1413
|
-
data:
|
|
1087
|
+
return (n, o) => {
|
|
1088
|
+
let s = T("el-table-column"), c = T("el-table"), h = T("el-pagination"), v = E("loading");
|
|
1089
|
+
return b(), a("div", null, [
|
|
1090
|
+
P((b(), r(c, m({ border: e.border }, n.$attrs, {
|
|
1091
|
+
data: e.data,
|
|
1414
1092
|
lazy: !0,
|
|
1415
1093
|
class: "ui-table",
|
|
1416
1094
|
fit: "",
|
|
@@ -1418,30 +1096,30 @@ var Q = {
|
|
|
1418
1096
|
ref: u
|
|
1419
1097
|
}), {
|
|
1420
1098
|
default: N(() => [
|
|
1421
|
-
f.value ? (
|
|
1099
|
+
f.value ? (b(), r(s, {
|
|
1422
1100
|
key: 0,
|
|
1423
1101
|
type: "selection",
|
|
1424
1102
|
selectable: l.selectable,
|
|
1425
1103
|
"column-key": "selection_0",
|
|
1426
|
-
align:
|
|
1104
|
+
align: e.align,
|
|
1427
1105
|
fixed: "left"
|
|
1428
|
-
}, null, 8, ["selectable", "align"])) :
|
|
1429
|
-
d.value ? (
|
|
1106
|
+
}, null, 8, ["selectable", "align"])) : i("", !0),
|
|
1107
|
+
d.value ? (b(), r(s, {
|
|
1430
1108
|
key: 1,
|
|
1431
1109
|
fixed: "left",
|
|
1432
1110
|
type: "index",
|
|
1433
1111
|
label: "序号",
|
|
1434
1112
|
width: "60",
|
|
1435
1113
|
"column-key": "index_1",
|
|
1436
|
-
align:
|
|
1437
|
-
}, null, 8, ["align"])) :
|
|
1438
|
-
(
|
|
1439
|
-
key:
|
|
1440
|
-
column:
|
|
1441
|
-
data:
|
|
1442
|
-
align:
|
|
1114
|
+
align: e.align
|
|
1115
|
+
}, null, 8, ["align"])) : i("", !0),
|
|
1116
|
+
(b(!0), a(t, null, C(p.value, (t, n) => (b(), r(Mt, {
|
|
1117
|
+
key: n + "column_" + t?.prop?.toString(),
|
|
1118
|
+
column: t,
|
|
1119
|
+
data: e.data,
|
|
1120
|
+
align: e.align,
|
|
1443
1121
|
"onUpdate:data": _,
|
|
1444
|
-
size:
|
|
1122
|
+
size: e.size
|
|
1445
1123
|
}, null, 8, [
|
|
1446
1124
|
"column",
|
|
1447
1125
|
"data",
|
|
@@ -1450,24 +1128,24 @@ var Q = {
|
|
|
1450
1128
|
]))), 128))
|
|
1451
1129
|
]),
|
|
1452
1130
|
_: 1
|
|
1453
|
-
}, 16, ["border", "data"])), [[v,
|
|
1454
|
-
|
|
1131
|
+
}, 16, ["border", "data"])), [[v, e.loading]]),
|
|
1132
|
+
e.hidePagination ? i("", !0) : (b(), r(h, {
|
|
1455
1133
|
key: 0,
|
|
1456
1134
|
class: "ui-pagination",
|
|
1457
1135
|
size: "small",
|
|
1458
1136
|
background: "",
|
|
1459
1137
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
1460
|
-
"page-sizes":
|
|
1138
|
+
"page-sizes": e.pagination?.pageSizes || [
|
|
1461
1139
|
10,
|
|
1462
1140
|
20,
|
|
1463
1141
|
50
|
|
1464
1142
|
],
|
|
1465
|
-
"page-size":
|
|
1466
|
-
"onUpdate:pageSize": o[0] ||= (
|
|
1467
|
-
"current-page":
|
|
1468
|
-
"onUpdate:currentPage": o[1] ||= (
|
|
1469
|
-
total:
|
|
1470
|
-
"onUpdate:total": o[2] ||= (
|
|
1143
|
+
"page-size": e.pagination.pageSize,
|
|
1144
|
+
"onUpdate:pageSize": o[0] ||= (t) => e.pagination.pageSize = t,
|
|
1145
|
+
"current-page": e.pagination.page,
|
|
1146
|
+
"onUpdate:currentPage": o[1] ||= (t) => e.pagination.page = t,
|
|
1147
|
+
total: e.pagination.total,
|
|
1148
|
+
"onUpdate:total": o[2] ||= (t) => e.pagination.total = t,
|
|
1471
1149
|
onChange: g
|
|
1472
1150
|
}, null, 8, [
|
|
1473
1151
|
"page-sizes",
|
|
@@ -1475,53 +1153,53 @@ var Q = {
|
|
|
1475
1153
|
"current-page",
|
|
1476
1154
|
"total"
|
|
1477
1155
|
])),
|
|
1478
|
-
|
|
1156
|
+
w(n.$slots, "default", {}, void 0, !0)
|
|
1479
1157
|
]);
|
|
1480
1158
|
};
|
|
1481
1159
|
}
|
|
1482
1160
|
}), [["__scopeId", "data-v-3402edfe"]]), Nt = {
|
|
1483
1161
|
ElButton: F,
|
|
1484
|
-
ElCard:
|
|
1485
|
-
ElCol:
|
|
1486
|
-
ElConfigProvider:
|
|
1162
|
+
ElCard: I,
|
|
1163
|
+
ElCol: re,
|
|
1164
|
+
ElConfigProvider: ie,
|
|
1487
1165
|
ElDatePicker: L,
|
|
1488
|
-
ElDescriptions:
|
|
1489
|
-
ElDescriptionsItem:
|
|
1490
|
-
ElDialog:
|
|
1491
|
-
ElDropdown:
|
|
1492
|
-
ElDropdownItem:
|
|
1493
|
-
ElDropdownMenu:
|
|
1494
|
-
ElForm:
|
|
1495
|
-
ElFormItem:
|
|
1496
|
-
ElIcon:
|
|
1166
|
+
ElDescriptions: ae,
|
|
1167
|
+
ElDescriptionsItem: oe,
|
|
1168
|
+
ElDialog: se,
|
|
1169
|
+
ElDropdown: ce,
|
|
1170
|
+
ElDropdownItem: le,
|
|
1171
|
+
ElDropdownMenu: ue,
|
|
1172
|
+
ElForm: de,
|
|
1173
|
+
ElFormItem: fe,
|
|
1174
|
+
ElIcon: pe,
|
|
1497
1175
|
ElInput: R,
|
|
1498
|
-
ElInputNumber:
|
|
1176
|
+
ElInputNumber: me,
|
|
1499
1177
|
ElInputTag: z,
|
|
1500
1178
|
ElLink: B,
|
|
1501
|
-
ElOption:
|
|
1502
|
-
ElOptionGroup:
|
|
1503
|
-
ElPagination:
|
|
1504
|
-
ElPopconfirm:
|
|
1505
|
-
ElPopover:
|
|
1506
|
-
ElRadio:
|
|
1507
|
-
ElRadioButton:
|
|
1179
|
+
ElOption: _e,
|
|
1180
|
+
ElOptionGroup: ve,
|
|
1181
|
+
ElPagination: ye,
|
|
1182
|
+
ElPopconfirm: be,
|
|
1183
|
+
ElPopover: xe,
|
|
1184
|
+
ElRadio: Se,
|
|
1185
|
+
ElRadioButton: Ce,
|
|
1508
1186
|
ElRadioGroup: H,
|
|
1509
|
-
ElRow:
|
|
1510
|
-
ElScrollbar:
|
|
1511
|
-
ElSelect:
|
|
1512
|
-
ElSwitch:
|
|
1513
|
-
ElTable:
|
|
1514
|
-
ElTableColumn:
|
|
1187
|
+
ElRow: we,
|
|
1188
|
+
ElScrollbar: Te,
|
|
1189
|
+
ElSelect: Ee,
|
|
1190
|
+
ElSwitch: De,
|
|
1191
|
+
ElTable: Oe,
|
|
1192
|
+
ElTableColumn: ke,
|
|
1515
1193
|
ElTag: U,
|
|
1516
1194
|
ElText: W,
|
|
1517
|
-
ElTimeSelect:
|
|
1518
|
-
ElTreeV2:
|
|
1519
|
-
ElUpload:
|
|
1195
|
+
ElTimeSelect: Ae,
|
|
1196
|
+
ElTreeV2: je,
|
|
1197
|
+
ElUpload: Me,
|
|
1520
1198
|
ElMessageBox: V,
|
|
1521
|
-
ElMessage:
|
|
1522
|
-
ElNotification:
|
|
1199
|
+
ElMessage: he,
|
|
1200
|
+
ElNotification: ge
|
|
1523
1201
|
}, Pt = {
|
|
1524
|
-
UiCard:
|
|
1202
|
+
UiCard: q,
|
|
1525
1203
|
UiTable: $,
|
|
1526
1204
|
UiFilter: Ye,
|
|
1527
1205
|
UiForm: $e,
|
|
@@ -1530,10 +1208,10 @@ var Q = {
|
|
|
1530
1208
|
UiInfiniteScroll: ft,
|
|
1531
1209
|
UiDescriptions: ht,
|
|
1532
1210
|
UiDialog: _t
|
|
1533
|
-
}, Ft = { install(
|
|
1534
|
-
for (let [,
|
|
1535
|
-
|
|
1536
|
-
for (let [
|
|
1211
|
+
}, Ft = { install(t) {
|
|
1212
|
+
for (let [, e] of Object.entries(Nt)) e?.name && t.component(e.name, e);
|
|
1213
|
+
Ne({ locale: e });
|
|
1214
|
+
for (let [e, n] of Object.entries(Pt)) t.component(e, n);
|
|
1537
1215
|
} };
|
|
1538
1216
|
//#endregion
|
|
1539
|
-
export {
|
|
1217
|
+
export { q as UiCard, ht as UiDescriptions, _t as UiDialog, Z as UiEditor, Ye as UiFilter, $e as UiForm, ft as UiInfiniteScroll, $ as UiTable, ot as UiTree, Ft as default };
|