jtui-vite 1.0.0 → 1.0.2

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.
@@ -0,0 +1,1571 @@
1
+ import './jtui-vite.css';
2
+ import { resolveComponent as _, createBlock as f, openBlock as n, normalizeProps as Ce, guardReactiveProps as Fe, withCtx as g, renderSlot as ie, createCommentVNode as h, createVNode as ae, createElementBlock as D, Fragment as P, renderList as q, normalizeStyle as C, toDisplayString as W, withModifiers as me, normalizeClass as be, createTextVNode as ce, createElementVNode as ge, ref as te, getCurrentInstance as xe, reactive as pe, toRef as Ve, computed as ke, shallowRef as Me, onBeforeUnmount as Ye, watch as Ke, nextTick as ve, useCssVars as Be } from "vue";
3
+ const _e = (o, i) => {
4
+ const c = o.__vccOpts || o;
5
+ for (const [a, m] of i)
6
+ c[a] = m;
7
+ return c;
8
+ }, Re = {
9
+ name: "cus-button"
10
+ };
11
+ function Ae(o, i, c, a, m, H) {
12
+ const E = _("el-button");
13
+ return n(), f(E, Ce(Fe(o.$attrs)), {
14
+ default: g(() => [
15
+ ie(o.$slots, "default")
16
+ ]),
17
+ _: 3
18
+ }, 16);
19
+ }
20
+ const Ue = /* @__PURE__ */ _e(Re, [["render", Ae]]);
21
+ function Se(o) {
22
+ var i = { 11: "北京", 12: "天津", 13: "河北", 14: "山西", 15: "内蒙古", 21: "辽宁", 22: "吉林", 23: "黑龙江 ", 31: "上海", 32: "江苏", 33: "浙江", 34: "安徽", 35: "福建", 36: "江西", 37: "山东", 41: "河南", 42: "湖北 ", 43: "湖南", 44: "广东", 45: "广西", 46: "海南", 50: "重庆", 51: "四川", 52: "贵州", 53: "云南", 54: "西藏 ", 61: "陕西", 62: "甘肃", 63: "青海", 64: "宁夏", 65: "新疆", 71: "台湾", 81: "香港", 82: "澳门", 91: "国外 " }, c = !0;
23
+ if (!o || !/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(o))
24
+ c = !1;
25
+ else if (!i[o.substr(0, 2)])
26
+ c = !1;
27
+ else if (o.length == 18) {
28
+ o = o.split("");
29
+ for (var a = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2], m = [1, 0, "X", 9, 8, 7, 6, 5, 4, 3, 2], H = 0, E = 0, R = 0, K = 0; K < 17; K++)
30
+ E = o[K], R = a[K], H += E * R;
31
+ m[H % 11], m[H % 11] != o[17] && (c = !1);
32
+ }
33
+ return c;
34
+ }
35
+ class Te {
36
+ //必传(失去焦点)
37
+ required() {
38
+ return { required: !0, whitespace: !0, message: "该项必须填写", trigger: "blur" };
39
+ }
40
+ //必传(获取焦点)
41
+ requiredFocus() {
42
+ return { required: !0, whitespace: !0, message: "该项必须填写", trigger: "focus" };
43
+ }
44
+ //字符数量范围
45
+ range(i, c) {
46
+ return { min: Number(i), max: Number(c), message: `长度在 ${i} 到 ${c} 个字符`, trigger: "blur" };
47
+ }
48
+ //字符长度
49
+ len(i) {
50
+ return { len: Number(i), message: `字符长度必须是 ${i}`, trigger: "blur" };
51
+ }
52
+ //数字类型
53
+ num() {
54
+ return { validator: (c, a, m) => {
55
+ isNaN(Number(a)) && m(new Error("必须是数字类型")), m();
56
+ }, trigger: "blur" };
57
+ }
58
+ //邮箱
59
+ email() {
60
+ return { validator: (c, a, m) => {
61
+ /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(a) || m(new Error("邮箱格式不正确")), m();
62
+ }, trigger: "blur" };
63
+ }
64
+ //身份证
65
+ idCard() {
66
+ return { validator: (c, a, m) => {
67
+ Se(a) || m(new Error("身份证号码不正确")), m();
68
+ }, trigger: "blur" };
69
+ }
70
+ //手机号
71
+ phone() {
72
+ return { validator: (c, a, m) => {
73
+ /^1[3-9]\d{9}$/.test(a) || m(new Error("手机号码不正确")), m();
74
+ }, trigger: "blur" };
75
+ }
76
+ //匹配英文字母
77
+ letters() {
78
+ return { validator: (c, a, m) => {
79
+ /^[a-zA-Z]+$/.test(a) || a === "" ? m() : m(new Error("必须是英文字母"));
80
+ }, trigger: "blur" };
81
+ }
82
+ //require All types
83
+ requireAll() {
84
+ return { validator: (c, a, m) => {
85
+ a !== "" && a !== void 0 && a !== null ? m() : m(new Error("该项不能为空"));
86
+ }, trigger: "blur" };
87
+ }
88
+ requireSelect() {
89
+ return { validator: (c, a, m) => {
90
+ Array.isArray(a) && a.length > 0 ? m() : m(new Error("请至少选择一个"));
91
+ }, trigger: "blur" };
92
+ }
93
+ }
94
+ function He(o) {
95
+ return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
96
+ }
97
+ var he = { exports: {} }, Ie = he.exports, Ee;
98
+ function Oe() {
99
+ return Ee || (Ee = 1, (function(o, i) {
100
+ (function(c, a) {
101
+ o.exports = a();
102
+ })(Ie, (function() {
103
+ var c = 1e3, a = 6e4, m = 36e5, H = "millisecond", E = "second", R = "minute", K = "hour", V = "day", I = "week", k = "month", j = "quarter", A = "year", U = "date", Z = "Invalid Date", oe = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, ue = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, ne = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(e) {
104
+ var u = ["th", "st", "nd", "rd"], l = e % 100;
105
+ return "[" + e + (u[(l - 20) % 10] || u[l] || u[0]) + "]";
106
+ } }, X = function(e, u, l) {
107
+ var d = String(e);
108
+ return !d || d.length >= u ? e : "" + Array(u + 1 - d.length).join(l) + e;
109
+ }, re = { s: X, z: function(e) {
110
+ var u = -e.utcOffset(), l = Math.abs(u), d = Math.floor(l / 60), r = l % 60;
111
+ return (u <= 0 ? "+" : "-") + X(d, 2, "0") + ":" + X(r, 2, "0");
112
+ }, m: function e(u, l) {
113
+ if (u.date() < l.date()) return -e(l, u);
114
+ var d = 12 * (l.year() - u.year()) + (l.month() - u.month()), r = u.clone().add(d, k), p = l - r < 0, y = u.clone().add(d + (p ? -1 : 1), k);
115
+ return +(-(d + (l - r) / (p ? r - y : y - r)) || 0);
116
+ }, a: function(e) {
117
+ return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
118
+ }, p: function(e) {
119
+ return { M: k, y: A, w: I, d: V, D: U, h: K, m: R, s: E, ms: H, Q: j }[e] || String(e || "").toLowerCase().replace(/s$/, "");
120
+ }, u: function(e) {
121
+ return e === void 0;
122
+ } }, Q = "en", L = {};
123
+ L[Q] = ne;
124
+ var de = "$isDayjsObject", le = function(e) {
125
+ return e instanceof $ || !(!e || !e[de]);
126
+ }, G = function e(u, l, d) {
127
+ var r;
128
+ if (!u) return Q;
129
+ if (typeof u == "string") {
130
+ var p = u.toLowerCase();
131
+ L[p] && (r = p), l && (L[p] = l, r = p);
132
+ var y = u.split("-");
133
+ if (!r && y.length > 1) return e(y[0]);
134
+ } else {
135
+ var v = u.name;
136
+ L[v] = u, r = v;
137
+ }
138
+ return !d && r && (Q = r), r || !d && Q;
139
+ }, F = function(e, u) {
140
+ if (le(e)) return e.clone();
141
+ var l = typeof u == "object" ? u : {};
142
+ return l.date = e, l.args = arguments, new $(l);
143
+ }, b = re;
144
+ b.l = G, b.i = le, b.w = function(e, u) {
145
+ return F(e, { locale: u.$L, utc: u.$u, x: u.$x, $offset: u.$offset });
146
+ };
147
+ var $ = (function() {
148
+ function e(l) {
149
+ this.$L = G(l.locale, null, !0), this.parse(l), this.$x = this.$x || l.x || {}, this[de] = !0;
150
+ }
151
+ var u = e.prototype;
152
+ return u.parse = function(l) {
153
+ this.$d = (function(d) {
154
+ var r = d.date, p = d.utc;
155
+ if (r === null) return /* @__PURE__ */ new Date(NaN);
156
+ if (b.u(r)) return /* @__PURE__ */ new Date();
157
+ if (r instanceof Date) return new Date(r);
158
+ if (typeof r == "string" && !/Z$/i.test(r)) {
159
+ var y = r.match(oe);
160
+ if (y) {
161
+ var v = y[2] - 1 || 0, w = (y[7] || "0").substring(0, 3);
162
+ return p ? new Date(Date.UTC(y[1], v, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, w)) : new Date(y[1], v, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, w);
163
+ }
164
+ }
165
+ return new Date(r);
166
+ })(l), this.init();
167
+ }, u.init = function() {
168
+ var l = this.$d;
169
+ this.$y = l.getFullYear(), this.$M = l.getMonth(), this.$D = l.getDate(), this.$W = l.getDay(), this.$H = l.getHours(), this.$m = l.getMinutes(), this.$s = l.getSeconds(), this.$ms = l.getMilliseconds();
170
+ }, u.$utils = function() {
171
+ return b;
172
+ }, u.isValid = function() {
173
+ return this.$d.toString() !== Z;
174
+ }, u.isSame = function(l, d) {
175
+ var r = F(l);
176
+ return this.startOf(d) <= r && r <= this.endOf(d);
177
+ }, u.isAfter = function(l, d) {
178
+ return F(l) < this.startOf(d);
179
+ }, u.isBefore = function(l, d) {
180
+ return this.endOf(d) < F(l);
181
+ }, u.$g = function(l, d, r) {
182
+ return b.u(l) ? this[d] : this.set(r, l);
183
+ }, u.unix = function() {
184
+ return Math.floor(this.valueOf() / 1e3);
185
+ }, u.valueOf = function() {
186
+ return this.$d.getTime();
187
+ }, u.startOf = function(l, d) {
188
+ var r = this, p = !!b.u(d) || d, y = b.p(l), v = function(S, B) {
189
+ var N = b.w(r.$u ? Date.UTC(r.$y, B, S) : new Date(r.$y, B, S), r);
190
+ return p ? N : N.endOf(V);
191
+ }, w = function(S, B) {
192
+ return b.w(r.toDate()[S].apply(r.toDate("s"), (p ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(B)), r);
193
+ }, M = this.$W, t = this.$M, s = this.$D, x = "set" + (this.$u ? "UTC" : "");
194
+ switch (y) {
195
+ case A:
196
+ return p ? v(1, 0) : v(31, 11);
197
+ case k:
198
+ return p ? v(1, t) : v(0, t + 1);
199
+ case I:
200
+ var Y = this.$locale().weekStart || 0, T = (M < Y ? M + 7 : M) - Y;
201
+ return v(p ? s - T : s + (6 - T), t);
202
+ case V:
203
+ case U:
204
+ return w(x + "Hours", 0);
205
+ case K:
206
+ return w(x + "Minutes", 1);
207
+ case R:
208
+ return w(x + "Seconds", 2);
209
+ case E:
210
+ return w(x + "Milliseconds", 3);
211
+ default:
212
+ return this.clone();
213
+ }
214
+ }, u.endOf = function(l) {
215
+ return this.startOf(l, !1);
216
+ }, u.$set = function(l, d) {
217
+ var r, p = b.p(l), y = "set" + (this.$u ? "UTC" : ""), v = (r = {}, r[V] = y + "Date", r[U] = y + "Date", r[k] = y + "Month", r[A] = y + "FullYear", r[K] = y + "Hours", r[R] = y + "Minutes", r[E] = y + "Seconds", r[H] = y + "Milliseconds", r)[p], w = p === V ? this.$D + (d - this.$W) : d;
218
+ if (p === k || p === A) {
219
+ var M = this.clone().set(U, 1);
220
+ M.$d[v](w), M.init(), this.$d = M.set(U, Math.min(this.$D, M.daysInMonth())).$d;
221
+ } else v && this.$d[v](w);
222
+ return this.init(), this;
223
+ }, u.set = function(l, d) {
224
+ return this.clone().$set(l, d);
225
+ }, u.get = function(l) {
226
+ return this[b.p(l)]();
227
+ }, u.add = function(l, d) {
228
+ var r, p = this;
229
+ l = Number(l);
230
+ var y = b.p(d), v = function(t) {
231
+ var s = F(p);
232
+ return b.w(s.date(s.date() + Math.round(t * l)), p);
233
+ };
234
+ if (y === k) return this.set(k, this.$M + l);
235
+ if (y === A) return this.set(A, this.$y + l);
236
+ if (y === V) return v(1);
237
+ if (y === I) return v(7);
238
+ var w = (r = {}, r[R] = a, r[K] = m, r[E] = c, r)[y] || 1, M = this.$d.getTime() + l * w;
239
+ return b.w(M, this);
240
+ }, u.subtract = function(l, d) {
241
+ return this.add(-1 * l, d);
242
+ }, u.format = function(l) {
243
+ var d = this, r = this.$locale();
244
+ if (!this.isValid()) return r.invalidDate || Z;
245
+ var p = l || "YYYY-MM-DDTHH:mm:ssZ", y = b.z(this), v = this.$H, w = this.$m, M = this.$M, t = r.weekdays, s = r.months, x = r.meridiem, Y = function(B, N, J, ee) {
246
+ return B && (B[N] || B(d, p)) || J[N].slice(0, ee);
247
+ }, T = function(B) {
248
+ return b.s(v % 12 || 12, B, "0");
249
+ }, S = x || function(B, N, J) {
250
+ var ee = B < 12 ? "AM" : "PM";
251
+ return J ? ee.toLowerCase() : ee;
252
+ };
253
+ return p.replace(ue, (function(B, N) {
254
+ return N || (function(J) {
255
+ switch (J) {
256
+ case "YY":
257
+ return String(d.$y).slice(-2);
258
+ case "YYYY":
259
+ return b.s(d.$y, 4, "0");
260
+ case "M":
261
+ return M + 1;
262
+ case "MM":
263
+ return b.s(M + 1, 2, "0");
264
+ case "MMM":
265
+ return Y(r.monthsShort, M, s, 3);
266
+ case "MMMM":
267
+ return Y(s, M);
268
+ case "D":
269
+ return d.$D;
270
+ case "DD":
271
+ return b.s(d.$D, 2, "0");
272
+ case "d":
273
+ return String(d.$W);
274
+ case "dd":
275
+ return Y(r.weekdaysMin, d.$W, t, 2);
276
+ case "ddd":
277
+ return Y(r.weekdaysShort, d.$W, t, 3);
278
+ case "dddd":
279
+ return t[d.$W];
280
+ case "H":
281
+ return String(v);
282
+ case "HH":
283
+ return b.s(v, 2, "0");
284
+ case "h":
285
+ return T(1);
286
+ case "hh":
287
+ return T(2);
288
+ case "a":
289
+ return S(v, w, !0);
290
+ case "A":
291
+ return S(v, w, !1);
292
+ case "m":
293
+ return String(w);
294
+ case "mm":
295
+ return b.s(w, 2, "0");
296
+ case "s":
297
+ return String(d.$s);
298
+ case "ss":
299
+ return b.s(d.$s, 2, "0");
300
+ case "SSS":
301
+ return b.s(d.$ms, 3, "0");
302
+ case "Z":
303
+ return y;
304
+ }
305
+ return null;
306
+ })(B) || y.replace(":", "");
307
+ }));
308
+ }, u.utcOffset = function() {
309
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
310
+ }, u.diff = function(l, d, r) {
311
+ var p, y = this, v = b.p(d), w = F(l), M = (w.utcOffset() - this.utcOffset()) * a, t = this - w, s = function() {
312
+ return b.m(y, w);
313
+ };
314
+ switch (v) {
315
+ case A:
316
+ p = s() / 12;
317
+ break;
318
+ case k:
319
+ p = s();
320
+ break;
321
+ case j:
322
+ p = s() / 3;
323
+ break;
324
+ case I:
325
+ p = (t - M) / 6048e5;
326
+ break;
327
+ case V:
328
+ p = (t - M) / 864e5;
329
+ break;
330
+ case K:
331
+ p = t / m;
332
+ break;
333
+ case R:
334
+ p = t / a;
335
+ break;
336
+ case E:
337
+ p = t / c;
338
+ break;
339
+ default:
340
+ p = t;
341
+ }
342
+ return r ? p : b.a(p);
343
+ }, u.daysInMonth = function() {
344
+ return this.endOf(k).$D;
345
+ }, u.$locale = function() {
346
+ return L[this.$L];
347
+ }, u.locale = function(l, d) {
348
+ if (!l) return this.$L;
349
+ var r = this.clone(), p = G(l, d, !0);
350
+ return p && (r.$L = p), r;
351
+ }, u.clone = function() {
352
+ return b.w(this.$d, this);
353
+ }, u.toDate = function() {
354
+ return new Date(this.valueOf());
355
+ }, u.toJSON = function() {
356
+ return this.isValid() ? this.toISOString() : null;
357
+ }, u.toISOString = function() {
358
+ return this.$d.toISOString();
359
+ }, u.toString = function() {
360
+ return this.$d.toUTCString();
361
+ }, e;
362
+ })(), se = $.prototype;
363
+ return F.prototype = se, [["$ms", H], ["$s", E], ["$m", R], ["$H", K], ["$W", V], ["$M", k], ["$y", A], ["$D", U]].forEach((function(e) {
364
+ se[e[1]] = function(u) {
365
+ return this.$g(u, e[0], e[1]);
366
+ };
367
+ })), F.extend = function(e, u) {
368
+ return e.$i || (e(u, $, F), e.$i = !0), F;
369
+ }, F.locale = G, F.isDayjs = le, F.unix = function(e) {
370
+ return F(1e3 * e);
371
+ }, F.en = L[Q], F.Ls = L, F.p = {}, F;
372
+ }));
373
+ })(he)), he.exports;
374
+ }
375
+ var Pe = Oe();
376
+ const z = /* @__PURE__ */ He(Pe), ze = [
377
+ {
378
+ text: "昨天",
379
+ value: () => {
380
+ const o = z().subtract(1, "days").hour(0).minute(0).second(0).format("YYYY-MM-DD HH:mm:ss"), i = z().subtract(1, "days").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss");
381
+ return [o, i];
382
+ }
383
+ },
384
+ {
385
+ text: "今天",
386
+ value: () => {
387
+ const o = z().hour(0).minute(0).second(0).format("YYYY-MM-DD HH:mm:ss"), i = z().format("YYYY-MM-DD HH:mm:ss");
388
+ return [o, i];
389
+ }
390
+ },
391
+ {
392
+ text: "最近2天",
393
+ value: () => {
394
+ const o = z().subtract(2, "days").hour(0).minute(0).second(0).format("YYYY-MM-DD HH:mm:ss"), i = z().subtract(1, "days").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss");
395
+ return [o, i];
396
+ }
397
+ },
398
+ {
399
+ text: "最近3天",
400
+ value: () => {
401
+ const o = z().subtract(3, "days").hour(0).minute(0).second(0).format("YYYY-MM-DD HH:mm:ss"), i = z().subtract(1, "days").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss");
402
+ return [o, i];
403
+ }
404
+ },
405
+ {
406
+ text: "最近一周",
407
+ value: () => {
408
+ const o = z().subtract(1, "weeks").hour(0).minute(0).second(0).format("YYYY-MM-DD HH:mm:ss"), i = z().subtract(1, "days").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss");
409
+ return [o, i];
410
+ }
411
+ },
412
+ {
413
+ text: "最近一个月",
414
+ value: () => {
415
+ const o = z().subtract(1, "months").hour(0).minute(0).second(0).format("YYYY-MM-DD HH:mm:ss"), i = z().subtract(1, "days").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss");
416
+ return [o, i];
417
+ }
418
+ }
419
+ ];
420
+ var je = {
421
+ name: "zh-cn",
422
+ el: {
423
+ breadcrumb: {
424
+ label: "面包屑"
425
+ },
426
+ colorpicker: {
427
+ confirm: "确定",
428
+ clear: "清空",
429
+ defaultLabel: "颜色选择器",
430
+ description: "当前颜色 {color},按 Enter 键选择新颜色",
431
+ alphaLabel: "选择透明度的值",
432
+ alphaDescription: "透明度 {alpha}, 当前颜色 {color}",
433
+ hueLabel: "选择色相值",
434
+ hueDescription: "色相 {hue}, 当前颜色 {color}",
435
+ svLabel: "选择饱和度与明度的值",
436
+ svDescription: "饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",
437
+ predefineDescription: "选择 {value} 作为颜色"
438
+ },
439
+ datepicker: {
440
+ now: "此刻",
441
+ today: "今天",
442
+ cancel: "取消",
443
+ clear: "清空",
444
+ confirm: "确定",
445
+ dateTablePrompt: "使用方向键与 Enter 键可选择日期",
446
+ monthTablePrompt: "使用方向键与 Enter 键可选择月份",
447
+ yearTablePrompt: "使用方向键与 Enter 键可选择年份",
448
+ selectedDate: "已选日期",
449
+ selectDate: "选择日期",
450
+ selectTime: "选择时间",
451
+ startDate: "开始日期",
452
+ startTime: "开始时间",
453
+ endDate: "结束日期",
454
+ endTime: "结束时间",
455
+ prevYear: "前一年",
456
+ nextYear: "后一年",
457
+ prevMonth: "上个月",
458
+ nextMonth: "下个月",
459
+ year: "年",
460
+ month1: "1 月",
461
+ month2: "2 月",
462
+ month3: "3 月",
463
+ month4: "4 月",
464
+ month5: "5 月",
465
+ month6: "6 月",
466
+ month7: "7 月",
467
+ month8: "8 月",
468
+ month9: "9 月",
469
+ month10: "10 月",
470
+ month11: "11 月",
471
+ month12: "12 月",
472
+ weeks: {
473
+ sun: "日",
474
+ mon: "一",
475
+ tue: "二",
476
+ wed: "三",
477
+ thu: "四",
478
+ fri: "五",
479
+ sat: "六"
480
+ },
481
+ weeksFull: {
482
+ sun: "星期日",
483
+ mon: "星期一",
484
+ tue: "星期二",
485
+ wed: "星期三",
486
+ thu: "星期四",
487
+ fri: "星期五",
488
+ sat: "星期六"
489
+ },
490
+ months: {
491
+ jan: "一月",
492
+ feb: "二月",
493
+ mar: "三月",
494
+ apr: "四月",
495
+ may: "五月",
496
+ jun: "六月",
497
+ jul: "七月",
498
+ aug: "八月",
499
+ sep: "九月",
500
+ oct: "十月",
501
+ nov: "十一月",
502
+ dec: "十二月"
503
+ }
504
+ },
505
+ inputNumber: {
506
+ decrease: "减少数值",
507
+ increase: "增加数值"
508
+ },
509
+ select: {
510
+ loading: "加载中",
511
+ noMatch: "无匹配数据",
512
+ noData: "无数据",
513
+ placeholder: "请选择"
514
+ },
515
+ mention: {
516
+ loading: "加载中"
517
+ },
518
+ dropdown: {
519
+ toggleDropdown: "切换下拉选项"
520
+ },
521
+ cascader: {
522
+ noMatch: "无匹配数据",
523
+ loading: "加载中",
524
+ placeholder: "请选择",
525
+ noData: "暂无数据"
526
+ },
527
+ pagination: {
528
+ goto: "前往",
529
+ pagesize: "条/页",
530
+ total: "共 {total} 条",
531
+ pageClassifier: "页",
532
+ page: "页",
533
+ prev: "上一页",
534
+ next: "下一页",
535
+ currentPage: "第 {pager} 页",
536
+ prevPages: "向前 {pager} 页",
537
+ nextPages: "向后 {pager} 页",
538
+ deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
539
+ },
540
+ dialog: {
541
+ close: "关闭此对话框"
542
+ },
543
+ drawer: {
544
+ close: "关闭此对话框"
545
+ },
546
+ messagebox: {
547
+ title: "提示",
548
+ confirm: "确定",
549
+ cancel: "取消",
550
+ error: "输入的数据不合法!",
551
+ close: "关闭此对话框"
552
+ },
553
+ upload: {
554
+ deleteTip: "按 Delete 键可删除",
555
+ delete: "删除",
556
+ preview: "查看图片",
557
+ continue: "继续上传"
558
+ },
559
+ slider: {
560
+ defaultLabel: "滑块介于 {min} 至 {max}",
561
+ defaultRangeStartLabel: "选择起始值",
562
+ defaultRangeEndLabel: "选择结束值"
563
+ },
564
+ table: {
565
+ emptyText: "暂无数据",
566
+ confirmFilter: "筛选",
567
+ resetFilter: "重置",
568
+ clearFilter: "全部",
569
+ sumText: "合计",
570
+ selectAllLabel: "选择所有行",
571
+ selectRowLabel: "选择当前行",
572
+ expandRowLabel: "展开当前行",
573
+ collapseRowLabel: "收起当前行",
574
+ sortLabel: "按 {column} 排序",
575
+ filterLabel: "按 {column} 过滤"
576
+ },
577
+ tag: {
578
+ close: "关闭此标签"
579
+ },
580
+ tour: {
581
+ next: "下一步",
582
+ previous: "上一步",
583
+ finish: "结束导览",
584
+ close: "关闭此对话框"
585
+ },
586
+ tree: {
587
+ emptyText: "暂无数据"
588
+ },
589
+ transfer: {
590
+ noMatch: "无匹配数据",
591
+ noData: "无数据",
592
+ titles: ["列表 1", "列表 2"],
593
+ filterPlaceholder: "请输入搜索内容",
594
+ noCheckedFormat: "共 {total} 项",
595
+ hasCheckedFormat: "已选 {checked}/{total} 项"
596
+ },
597
+ image: {
598
+ error: "加载失败"
599
+ },
600
+ pageHeader: {
601
+ title: "返回"
602
+ },
603
+ popconfirm: {
604
+ confirmButtonText: "确定",
605
+ cancelButtonText: "取消"
606
+ },
607
+ carousel: {
608
+ leftArrow: "上一张幻灯片",
609
+ rightArrow: "下一张幻灯片",
610
+ indicator: "幻灯片切换至索引 {index}"
611
+ }
612
+ }
613
+ };
614
+ const ye = {
615
+ name: "jt-form",
616
+ emits: ["switchChange", "focus", "blur", "casChange", "cusBtn"],
617
+ // components: { Editor, Toolbar },
618
+ props: {
619
+ id: {
620
+ type: [String, Number],
621
+ require: !0
622
+ },
623
+ //表单数据源
624
+ model: {
625
+ type: Object,
626
+ require: !0
627
+ },
628
+ //表单配置项
629
+ formConfig: {
630
+ type: Array,
631
+ require: !0
632
+ },
633
+ //表单域标签宽度
634
+ labelWidth: {
635
+ type: String,
636
+ default: "80px"
637
+ },
638
+ //是否开启行内表单
639
+ inline: {
640
+ type: Boolean,
641
+ default: !1
642
+ },
643
+ //表单尺寸
644
+ size: {
645
+ type: String,
646
+ default: "default"
647
+ },
648
+ //标签位置
649
+ labelPosition: {
650
+ type: String,
651
+ default: "right"
652
+ },
653
+ //验证规则
654
+ rules: {
655
+ type: Object,
656
+ default: () => ({})
657
+ },
658
+ col: {
659
+ type: Number,
660
+ default: 1
661
+ },
662
+ border: {
663
+ type: Boolean,
664
+ default: !1
665
+ },
666
+ //多选模式下是否折叠Tag
667
+ collapseTags: {
668
+ type: Boolean,
669
+ default: !1
670
+ },
671
+ axios: {
672
+ type: Function
673
+ },
674
+ title: {
675
+ type: String,
676
+ default: ""
677
+ },
678
+ lazyLoadParams: {
679
+ type: Object,
680
+ default: null
681
+ },
682
+ autoInputConfig: {
683
+ type: Object,
684
+ default: null
685
+ }
686
+ },
687
+ setup(o, { emit: i }) {
688
+ let c = te(!0);
689
+ const a = xe();
690
+ let m = pe({});
691
+ const H = Ve(o, "lazyLoadParams"), E = ke(() => o.model), R = te(!1), K = te(), V = pe({
692
+ selectid: "",
693
+ keywords: ""
694
+ }), I = te([{ retjson: {}, DataArray: [], Result: "" }]);
695
+ let k = [], j = te(!1), A = te(!1);
696
+ const U = pe({
697
+ PageIndex: 1,
698
+ PageRowCount: 50,
699
+ total: 100
700
+ }), Z = Me(), oe = {}, ue = (t) => ({
701
+ placeholder: t.placeholder ? t.placeholder : "请输入内容...",
702
+ readOnly: t.readOnly ? t.readOnly : !1,
703
+ autoFocus: t.autoFocus ? t.autoFocus : !0,
704
+ maxLength: t.maxlength ? t.maxlength : null
705
+ });
706
+ Ye(() => {
707
+ const t = Z.value;
708
+ t?.destroy();
709
+ });
710
+ const ne = (t, s) => {
711
+ E.value[s.modelKey] = atob(E.value[s.modelKey]), Z.value = t;
712
+ };
713
+ Ke(E.value, (t) => {
714
+ o.formConfig.forEach((s) => {
715
+ "submitKey" in s && (E.value[s.submitKey] = t[s.modelKey]);
716
+ });
717
+ }), o.rules && (c.value = !1, L(), ve(() => {
718
+ c.value = !0;
719
+ }));
720
+ function X(t) {
721
+ t.isPwd = !t.isPwd, t.isPwd ? t.iType = "text" : t.iType = "password";
722
+ }
723
+ function re(t) {
724
+ switch (t) {
725
+ case "large":
726
+ return "36px";
727
+ case "default":
728
+ return "32px";
729
+ case "small":
730
+ return "28px";
731
+ }
732
+ }
733
+ function Q(t, s) {
734
+ i("switchChange", t[0], s);
735
+ }
736
+ function L() {
737
+ let t = new Te();
738
+ Object.keys(o.rules).forEach((s) => {
739
+ m[s] = [], o.rules[s].forEach((x) => {
740
+ if (typeof x == "string") {
741
+ let Y = x.split("-");
742
+ if (Y[1]) {
743
+ let T = Y[1].split(",");
744
+ m[s].push(t[Y[0]](...T));
745
+ } else
746
+ m[s].push(t[x]());
747
+ }
748
+ });
749
+ });
750
+ }
751
+ function de(t, s) {
752
+ i("focus", t, s);
753
+ }
754
+ function le(t, s) {
755
+ i("blur", t, s);
756
+ }
757
+ function G(t) {
758
+ let { path: s, childPath: x } = t, Y = t.multiple || !1, T = t.checkStrictly || !1;
759
+ return {
760
+ lazy: !0,
761
+ multiple: Y,
762
+ checkStrictly: T,
763
+ async lazyLoad(S, B) {
764
+ const { level: N, data: J } = S;
765
+ if (N === 0) {
766
+ const { data: ee } = await o.axios.post(
767
+ s + x,
768
+ t.params || H.value
769
+ );
770
+ B(
771
+ ee.map((O) => ({
772
+ label: O.name,
773
+ leaf: O.path === "-" || !O.path,
774
+ path: O.path,
775
+ value: O.id,
776
+ other: O
777
+ }))
778
+ );
779
+ }
780
+ if (N > 0) {
781
+ if (J.path === "-" || !J.path) {
782
+ B();
783
+ return;
784
+ }
785
+ const { data: ee } = await o.axios.post(
786
+ s + J.path,
787
+ t.params || H.value
788
+ );
789
+ B(
790
+ ee.map((O) => ({
791
+ label: O.name,
792
+ leaf: O.path === "-" || !O.path,
793
+ path: O.path,
794
+ value: O.id,
795
+ other: O
796
+ }))
797
+ );
798
+ }
799
+ }
800
+ };
801
+ }
802
+ function F(t, s) {
803
+ const x = a.refs[t][0].getCheckedNodes();
804
+ i("casChange", x, s);
805
+ }
806
+ function b(t, s) {
807
+ i("cusBtn", t, s);
808
+ }
809
+ function $() {
810
+ return o.formConfig.forEach((t) => {
811
+ t.type == "htmlarea" && (E.value[t.modelKey + "_base64"] = btoa(E.value[t.modelKey]));
812
+ }), a.refs[o.id].validate();
813
+ }
814
+ function se() {
815
+ a.refs[o.id].resetFields();
816
+ }
817
+ const e = te(null), u = (t) => {
818
+ const [s] = t;
819
+ e.value = s;
820
+ }, l = () => {
821
+ e.value = null;
822
+ }, d = (t, s) => {
823
+ if (!e.value)
824
+ return !1;
825
+ if (s) {
826
+ const x = new Date(e.value).getTime() - s * 24 * 60 * 60 * 1e3, Y = new Date(e.value).getTime() + s * 24 * 60 * 60 * 1e3;
827
+ return t < x || t > Y;
828
+ } else
829
+ return !1;
830
+ };
831
+ function r(t) {
832
+ return t == "datetime" || t == "datetimerange" ? "YYYY-MM-DD HH:mm" : t == "year" ? "YYYY" : t == "month" || t == "monthrange" ? "YYYY-MM" : t == "week" ? "YYYY年第ww周" : "YYYY-MM-DD";
833
+ }
834
+ async function p() {
835
+ Array.isArray(o?.autoInputConfig?.selectData) && o.autoInputConfig.selectData.length > 0 ? V.selectid = o.autoInputConfig.selectData[0].value : delete V.selectid, o.autoInputConfig.keywords || delete V.keywords, U.PageIndex = 1, k = [], R.value = !0, ve(() => {
836
+ w();
837
+ });
838
+ }
839
+ function y(t, s) {
840
+ if (t == "cellClick") {
841
+ const { row: x } = s;
842
+ Object.keys(x).forEach((Y) => {
843
+ Object.keys(o.model).forEach((T) => {
844
+ T == Y && (o.model[T] = x[Y]);
845
+ });
846
+ }), R.value = !1;
847
+ }
848
+ }
849
+ async function v() {
850
+ A.value = !1, U.PageIndex = 1, k = [], w();
851
+ }
852
+ async function w() {
853
+ if (A.value == !0)
854
+ return;
855
+ j.value = !0;
856
+ const { data: t } = await o.axios.post(
857
+ o.autoInputConfig.path + o.autoInputConfig.childPath,
858
+ Object.assign(V, o.autoInputConfig.subParams, U)
859
+ ), s = t;
860
+ if (s[0].Result == 0) {
861
+ j.value = !1, K.value.loadData([]);
862
+ return;
863
+ }
864
+ I.value[0].retjson = s[0].retjson, s[0].retjson.isPages ? (U.total = s[0].retjson.TotalCount, s[0].Result == 0 ? A.value = !0 : (k = k.concat(s[0].DataArray), K.value.loadData(k, () => {
865
+ j.value = !1, U.PageIndex++;
866
+ }))) : K.value.loadData(s[0].DataArray, () => {
867
+ j.value = !1, A.value = !0;
868
+ });
869
+ }
870
+ async function M(t, s) {
871
+ const { path: x, childPath: Y } = s;
872
+ if (t) {
873
+ const { data: T } = await o.axios.post(
874
+ x + Y,
875
+ s.params || H.value
876
+ );
877
+ s.options = T.map((S) => ({
878
+ label: S.name,
879
+ leaf: S.path === "-" || !S.path,
880
+ path: S.path,
881
+ value: S.id,
882
+ other: S
883
+ }));
884
+ }
885
+ }
886
+ return {
887
+ casVisibleChange: M,
888
+ handleChange: u,
889
+ handleFocus: l,
890
+ disabledDate: d,
891
+ isShow: c,
892
+ eyeClick: X,
893
+ switchChange: Q,
894
+ focus: de,
895
+ resetAll: se,
896
+ validateAll: $,
897
+ itemClick: b,
898
+ casChange: F,
899
+ blur: le,
900
+ loadData: G,
901
+ type2size: re,
902
+ rulesMap: m,
903
+ shortcuts: ze,
904
+ timeFormat: r,
905
+ locale: je,
906
+ modelRemote: E,
907
+ openAutoInput: p,
908
+ isAutoInput: R,
909
+ autoQuery: V,
910
+ autoTableData: I,
911
+ customEvents: y,
912
+ search: v,
913
+ loading: j,
914
+ page: U,
915
+ load: w,
916
+ autoInputTable: K,
917
+ editorRef: Z,
918
+ toolbarConfig: oe,
919
+ editorConfig: ue,
920
+ handleCreated: ne
921
+ };
922
+ }
923
+ }, we = () => {
924
+ Be((o) => ({
925
+ v7306ce68: o.labelWidth,
926
+ c689ef3a: o.labelPosition
927
+ }));
928
+ }, De = ye.setup;
929
+ ye.setup = De ? (o, i) => (we(), De(o, i)) : we;
930
+ const Le = {
931
+ key: 3,
932
+ class: "ht-text"
933
+ }, Ne = ["onClick"], qe = {
934
+ key: 12,
935
+ style: { "margin-right": "5px" }
936
+ }, We = {
937
+ key: 14,
938
+ style: { "margin-left": "5px" }
939
+ }, Ze = { class: "cell-item" }, Qe = {
940
+ key: 0,
941
+ style: { color: "red" }
942
+ }, Je = {
943
+ key: 3,
944
+ class: "ht-text"
945
+ }, Xe = ["onClick"], Ge = {
946
+ key: 12,
947
+ style: { "margin-right": "5px" }
948
+ }, $e = {
949
+ key: 14,
950
+ style: { "margin-left": "5px" }
951
+ }, el = { class: "filter-box" }, ll = {
952
+ key: 0,
953
+ class: "table-box"
954
+ };
955
+ function al(o, i, c, a, m, H) {
956
+ const E = _("el-input"), R = _("el-tooltip"), K = _("el-input-number"), V = _("el-option"), I = _("el-select"), k = _("el-cascader"), j = _("el-date-picker"), A = _("el-time-picker"), U = _("el-switch"), Z = _("el-checkbox"), oe = _("el-checkbox-group"), ue = _("el-radio"), ne = _("el-radio-group"), X = _("el-autocomplete"), re = _("el-form-item"), Q = _("Toolbar"), L = _("Editor"), de = _("el-descriptions-item"), le = _("el-descriptions"), G = _("el-form"), F = _("el-button"), b = _("table-big-data"), $ = _("el-drawer"), se = _("el-config-provider");
957
+ return n(), f(se, { locale: a.locale }, {
958
+ default: g(() => [
959
+ a.isShow ? (n(), f(G, {
960
+ key: 0,
961
+ model: c.model,
962
+ "label-width": 0,
963
+ "label-position": c.labelPosition,
964
+ rules: a.rulesMap,
965
+ ref: c.id,
966
+ inline: c.inline,
967
+ "inline-message": "",
968
+ "status-icon": ""
969
+ }, {
970
+ default: g(() => [
971
+ (n(!0), D(P, null, q(c.formConfig, (e, u) => (n(), D(P, { key: u }, [
972
+ c.inline ? (n(), f(re, {
973
+ key: 0,
974
+ label: e.label,
975
+ "label-align": e.align || "center",
976
+ prop: e.modelKey,
977
+ style: C(e.width ? e.width : "100%")
978
+ }, {
979
+ default: g(() => [
980
+ e.type === "empty" ? (n(), D("div", {
981
+ key: 0,
982
+ style: C({
983
+ height: a.type2size(c.size)
984
+ })
985
+ }, null, 4)) : h("", !0),
986
+ e.type === "upload" ? ie(o.$slots, e.slotName ? e.slotName : "upload", { key: 1 }, void 0, !0) : h("", !0),
987
+ e.type === "custom" ? (n(), f(R, {
988
+ key: 2,
989
+ "popper-class": "jt-form-popper",
990
+ placement: "top"
991
+ }, {
992
+ content: g(() => [
993
+ ie(o.$slots, e.slotName, {}, void 0, !0)
994
+ ]),
995
+ default: g(() => [
996
+ ae(E, {
997
+ modelValue: a.modelRemote[e.modelKey],
998
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
999
+ placeholder: e.placeholder ? e.placeholder : ""
1000
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
1001
+ ]),
1002
+ _: 2
1003
+ }, 1024)) : h("", !0),
1004
+ e.type === "text" ? (n(), D("span", Le, W(c.model[e.modelKey]), 1)) : h("", !0),
1005
+ e.type === "input" ? (n(), f(E, {
1006
+ key: 4,
1007
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1008
+ placeholder: e.placeholder ? e.placeholder : "",
1009
+ type: e.iType ? e.iType : "text",
1010
+ disabled: e.disabled ? e.disabled : !1,
1011
+ modelValue: a.modelRemote[e.modelKey],
1012
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1013
+ onFocus: (l) => a.focus(e.modelKey, l),
1014
+ onBlur: (l) => a.blur(e.modelKey, l)
1015
+ }, {
1016
+ suffix: g(() => [
1017
+ "isPwd" in e ? (n(), D("i", {
1018
+ key: 0,
1019
+ class: be(["jtIcon", e.isPwd ? "iconyincangmima" : "iconxianshimima"]),
1020
+ onClick: me((l) => a.eyeClick(e), ["stop"])
1021
+ }, null, 10, Ne)) : h("", !0)
1022
+ ]),
1023
+ _: 2
1024
+ }, 1032, ["style", "placeholder", "type", "disabled", "modelValue", "onUpdate:modelValue", "onFocus", "onBlur"])) : h("", !0),
1025
+ e.type === "textarea" ? (n(), f(E, {
1026
+ key: 5,
1027
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1028
+ placeholder: e.placeholder ? e.placeholder : "",
1029
+ type: "textarea",
1030
+ disabled: e.disabled ? e.disabled : !1,
1031
+ modelValue: a.modelRemote[e.modelKey],
1032
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1033
+ maxlength: e.maxlength ? e.maxlength : -1,
1034
+ autosize: typeof e.autosize == "boolean" ? e.autosize : {
1035
+ minRows: e.minRows,
1036
+ maxRows: e.maxRows
1037
+ },
1038
+ "show-word-limit": e.maxlength != -1,
1039
+ onFocus: (l) => a.focus(e.modelKey, l),
1040
+ onBlur: (l) => a.blur(e.modelKey, l)
1041
+ }, null, 8, ["style", "placeholder", "disabled", "modelValue", "onUpdate:modelValue", "maxlength", "autosize", "show-word-limit", "onFocus", "onBlur"])) : h("", !0),
1042
+ e.type === "iNumber" ? (n(), f(K, {
1043
+ key: 6,
1044
+ modelValue: a.modelRemote[e.modelKey],
1045
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1046
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1047
+ disabled: e.disabled ? e.disabled : !1,
1048
+ min: e.min != null ? e.min : -1 / 0,
1049
+ max: e.max != null ? e.max : 1 / 0,
1050
+ "controls-position": "right"
1051
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "disabled", "min", "max"])) : h("", !0),
1052
+ e.type === "select" ? (n(), f(I, {
1053
+ key: 7,
1054
+ "default-first-option": "",
1055
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1056
+ modelValue: a.modelRemote[e.modelKey],
1057
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1058
+ disabled: e.disabled ? e.disabled : !1,
1059
+ filterable: !!e.isCreate,
1060
+ "allow-create": !!e.isCreate,
1061
+ multiple: e.multiple !== void 0,
1062
+ "collapse-tags": e.collapse !== void 0,
1063
+ placeholder: e.placeholder ? e.placeholder : ""
1064
+ }, {
1065
+ default: g(() => [
1066
+ (n(!0), D(P, null, q(e.options, (l) => (n(), f(V, {
1067
+ key: l.value,
1068
+ label: l.label,
1069
+ value: l.value
1070
+ }, null, 8, ["label", "value"]))), 128))
1071
+ ]),
1072
+ _: 2
1073
+ }, 1032, ["style", "modelValue", "onUpdate:modelValue", "disabled", "filterable", "allow-create", "multiple", "collapse-tags", "placeholder"])) : h("", !0),
1074
+ e.type === "select_r" ? (n(), f(I, {
1075
+ key: 8,
1076
+ modelValue: a.modelRemote[e.modelKey],
1077
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1078
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1079
+ disabled: e.disabled ? e.disabled : !1,
1080
+ multiple: e.multiple !== void 0,
1081
+ "collapse-tags": e.collapse !== void 0,
1082
+ filterable: "",
1083
+ remote: "",
1084
+ "remote-method": e.remoteMethod,
1085
+ placeholder: e.placeholder ? e.placeholder : ""
1086
+ }, {
1087
+ default: g(() => [
1088
+ (n(!0), D(P, null, q(e.options, (l) => (n(), f(V, {
1089
+ key: l.value,
1090
+ label: l.label,
1091
+ value: l.value
1092
+ }, null, 8, ["label", "value"]))), 128))
1093
+ ]),
1094
+ _: 2
1095
+ }, 1032, ["modelValue", "onUpdate:modelValue", "style", "disabled", "multiple", "collapse-tags", "remote-method", "placeholder"])) : h("", !0),
1096
+ e.type === "cascader" ? (n(), f(k, {
1097
+ key: 9,
1098
+ filterable: e.filterable !== void 0 ? e.filterable : !0,
1099
+ ref_for: !0,
1100
+ ref: e.modelKey ? e.modelKey : "elCascader",
1101
+ disabled: e.disabled ? e.disabled : !1,
1102
+ "collapse-tags": c.collapseTags,
1103
+ "show-all-levels": e.isEnd ? e.isEnd : !0,
1104
+ placeholder: e.placeholder ? e.placeholder : "请选择",
1105
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1106
+ options: e.options || [],
1107
+ onVisibleChange: (l) => a.casVisibleChange(l, e),
1108
+ onChange: (l) => a.casChange(
1109
+ e.modelKey ? e.modelKey : "elCascader",
1110
+ e.modelKey
1111
+ ),
1112
+ props: a.loadData({
1113
+ path: e.path,
1114
+ childPath: e.childPath,
1115
+ params: e.params,
1116
+ checkStrictly: e.checkStrictly,
1117
+ multiple: e.multiple
1118
+ })
1119
+ }, null, 8, ["filterable", "disabled", "collapse-tags", "show-all-levels", "placeholder", "style", "options", "onVisibleChange", "onChange", "props"])) : h("", !0),
1120
+ e.type === "date" ? (n(), f(j, {
1121
+ key: 10,
1122
+ modelValue: a.modelRemote[e.modelKey],
1123
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1124
+ shortcuts: a.shortcuts,
1125
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1126
+ disabled: e.disabled ? e.disabled : !1,
1127
+ type: e.dType,
1128
+ "value-format": e.valFormat,
1129
+ "unlink-panels": "",
1130
+ "start-placeholder": "开始日期",
1131
+ format: a.timeFormat(e.dType),
1132
+ "disabled-date": (l) => a.disabledDate(l, e.timeRangeNum),
1133
+ onFocus: a.handleFocus,
1134
+ onCalendarChange: a.handleChange,
1135
+ "end-placeholder": "结束日期",
1136
+ placeholder: "选择日期",
1137
+ "range-separator": "至"
1138
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "shortcuts", "style", "disabled", "type", "value-format", "format", "disabled-date", "onFocus", "onCalendarChange"])) : h("", !0),
1139
+ e.type === "time" ? (n(), f(A, {
1140
+ key: 11,
1141
+ modelValue: a.modelRemote[e.modelKey],
1142
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1143
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1144
+ "value-format": "HH:mm:ss",
1145
+ disabled: e.disabled ? e.disabled : !1,
1146
+ placeholder: e.placeholder ? e.placeholder : "请选择时间"
1147
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "disabled", "placeholder"])) : h("", !0),
1148
+ e.type === "switch" ? (n(), D("span", qe, W(e.bText), 1)) : h("", !0),
1149
+ e.type === "switch" ? (n(), f(U, {
1150
+ key: 13,
1151
+ modelValue: a.modelRemote[e.modelKey],
1152
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1153
+ disabled: e.disabled ? e.disabled : !1,
1154
+ "active-text": e.rt ? e.rt : "",
1155
+ "inactive-text": e.lt ? e.lt : "",
1156
+ "active-color": "#13ce66",
1157
+ onChange: (l) => a.switchChange(arguments, e.modelKey),
1158
+ "inactive-color": "#ff4949"
1159
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "active-text", "inactive-text", "onChange"])) : h("", !0),
1160
+ e.type === "switch" ? (n(), D("span", We, W(e.fText), 1)) : h("", !0),
1161
+ e.type === "checkbox" ? (n(), f(oe, {
1162
+ key: 15,
1163
+ modelValue: a.modelRemote[e.modelKey],
1164
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l
1165
+ }, {
1166
+ default: g(() => [
1167
+ (n(!0), D(P, null, q(e.options, (l, d) => (n(), f(Z, {
1168
+ label: l.value,
1169
+ key: d,
1170
+ disabled: l.disabled ? l.disabled : !1
1171
+ }, {
1172
+ default: g(() => [
1173
+ ce(W(l.label), 1)
1174
+ ]),
1175
+ _: 2
1176
+ }, 1032, ["label", "disabled"]))), 128))
1177
+ ]),
1178
+ _: 2
1179
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : h("", !0),
1180
+ e.type === "radio" ? (n(), f(ne, {
1181
+ key: 16,
1182
+ modelValue: a.modelRemote[e.modelKey],
1183
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l
1184
+ }, {
1185
+ default: g(() => [
1186
+ (n(!0), D(P, null, q(e.options, (l, d) => (n(), f(ue, {
1187
+ key: d,
1188
+ disabled: l.disabled ? l.disabled : !1,
1189
+ label: l.value
1190
+ }, {
1191
+ default: g(() => [
1192
+ ce(W(l.label), 1)
1193
+ ]),
1194
+ _: 2
1195
+ }, 1032, ["disabled", "label"]))), 128))
1196
+ ]),
1197
+ _: 2
1198
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : h("", !0),
1199
+ e.type === "autocomplete" ? (n(), f(X, {
1200
+ key: 17,
1201
+ class: "inline-input",
1202
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1203
+ modelValue: a.modelRemote[e.modelKey],
1204
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1205
+ "fetch-suggestions": e.querySearch,
1206
+ placeholder: e.placeholder ? e.placeholder : "请输入"
1207
+ }, null, 8, ["style", "modelValue", "onUpdate:modelValue", "fetch-suggestions", "placeholder"])) : h("", !0)
1208
+ ]),
1209
+ _: 2
1210
+ }, 1032, ["label", "label-align", "prop", "style"])) : h("", !0)
1211
+ ], 64))), 128)),
1212
+ c.inline ? h("", !0) : (n(), f(le, {
1213
+ key: 0,
1214
+ column: c.col,
1215
+ size: c.size,
1216
+ border: c.border,
1217
+ title: c.title
1218
+ }, {
1219
+ default: g(() => [
1220
+ (n(!0), D(P, null, q(c.formConfig, (e, u) => (n(), f(de, {
1221
+ "label-align": e.align || "center",
1222
+ key: u
1223
+ }, {
1224
+ label: g(() => [
1225
+ ge("div", Ze, [
1226
+ e.modelKey in c.rules ? (n(), D("span", Qe, "*")) : h("", !0),
1227
+ ce(" " + W(e.label), 1)
1228
+ ])
1229
+ ]),
1230
+ default: g(() => [
1231
+ ae(re, {
1232
+ prop: e.modelKey,
1233
+ style: C([{ "margin-bottom": "0", display: "inline-block" }, e.width ? e.width : "100%"])
1234
+ }, {
1235
+ default: g(() => [
1236
+ e.type === "empty" ? (n(), D("div", {
1237
+ key: 0,
1238
+ style: C({
1239
+ height: a.type2size(c.size)
1240
+ })
1241
+ }, null, 4)) : h("", !0),
1242
+ e.type === "upload" ? ie(o.$slots, e.slotName ? e.slotName : "upload", { key: 1 }, void 0, !0) : h("", !0),
1243
+ e.type === "custom" ? (n(), f(R, {
1244
+ key: 2,
1245
+ "popper-class": "jt-form-popper",
1246
+ placement: "top"
1247
+ }, {
1248
+ content: g(() => [
1249
+ ie(o.$slots, e.slotName, {}, void 0, !0)
1250
+ ]),
1251
+ default: g(() => [
1252
+ ae(E, {
1253
+ modelValue: a.modelRemote[e.modelKey],
1254
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1255
+ placeholder: e.placeholder ? e.placeholder : ""
1256
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
1257
+ ]),
1258
+ _: 2
1259
+ }, 1024)) : h("", !0),
1260
+ e.type === "text" ? (n(), D("span", Je, W(c.model[e.modelKey]), 1)) : h("", !0),
1261
+ e.type === "input" ? (n(), f(E, {
1262
+ key: 4,
1263
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1264
+ placeholder: e.placeholder ? e.placeholder : "",
1265
+ type: e.iType ? e.iType : "text",
1266
+ disabled: e.disabled ? e.disabled : !1,
1267
+ modelValue: a.modelRemote[e.modelKey],
1268
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1269
+ onFocus: (l) => a.focus(e.modelKey, l),
1270
+ onBlur: (l) => a.blur(e.modelKey, l)
1271
+ }, {
1272
+ suffix: g(() => [
1273
+ "isPwd" in e ? (n(), D("i", {
1274
+ key: 0,
1275
+ class: be(["jtIcon", e.isPwd ? "iconyincangmima" : "iconxianshimima"]),
1276
+ onClick: me((l) => a.eyeClick(e), ["stop"])
1277
+ }, null, 10, Xe)) : h("", !0)
1278
+ ]),
1279
+ _: 2
1280
+ }, 1032, ["style", "placeholder", "type", "disabled", "modelValue", "onUpdate:modelValue", "onFocus", "onBlur"])) : h("", !0),
1281
+ e.type === "textarea" ? (n(), f(E, {
1282
+ key: 5,
1283
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1284
+ placeholder: e.placeholder ? e.placeholder : "",
1285
+ type: "textarea",
1286
+ disabled: e.disabled ? e.disabled : !1,
1287
+ modelValue: a.modelRemote[e.modelKey],
1288
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1289
+ maxlength: e.maxlength ? e.maxlength : -1,
1290
+ autosize: typeof e.autosize == "boolean" ? e.autosize : {
1291
+ minRows: e.minRows,
1292
+ maxRows: e.maxRows
1293
+ },
1294
+ "show-word-limit": e.maxlength != -1,
1295
+ onFocus: (l) => a.focus(e.modelKey, l),
1296
+ onBlur: (l) => a.blur(e.modelKey, l)
1297
+ }, null, 8, ["style", "placeholder", "disabled", "modelValue", "onUpdate:modelValue", "maxlength", "autosize", "show-word-limit", "onFocus", "onBlur"])) : h("", !0),
1298
+ e.type === "iNumber" ? (n(), f(K, {
1299
+ key: 6,
1300
+ modelValue: a.modelRemote[e.modelKey],
1301
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1302
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1303
+ disabled: e.disabled ? e.disabled : !1,
1304
+ min: e.min != null ? e.min : -1 / 0,
1305
+ max: e.max != null ? e.max : 1 / 0,
1306
+ "controls-position": "right"
1307
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "disabled", "min", "max"])) : h("", !0),
1308
+ e.type === "select" ? (n(), f(I, {
1309
+ key: 7,
1310
+ "default-first-option": "",
1311
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1312
+ modelValue: a.modelRemote[e.modelKey],
1313
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1314
+ disabled: e.disabled ? e.disabled : !1,
1315
+ filterable: !!e.isCreate,
1316
+ "allow-create": !!e.isCreate,
1317
+ multiple: e.multiple !== void 0,
1318
+ "collapse-tags": e.collapse !== void 0,
1319
+ placeholder: e.placeholder ? e.placeholder : ""
1320
+ }, {
1321
+ default: g(() => [
1322
+ (n(!0), D(P, null, q(e.options, (l) => (n(), f(V, {
1323
+ key: l.value,
1324
+ label: l.label,
1325
+ value: l.value
1326
+ }, null, 8, ["label", "value"]))), 128))
1327
+ ]),
1328
+ _: 2
1329
+ }, 1032, ["style", "modelValue", "onUpdate:modelValue", "disabled", "filterable", "allow-create", "multiple", "collapse-tags", "placeholder"])) : h("", !0),
1330
+ e.type === "select_r" ? (n(), f(I, {
1331
+ key: 8,
1332
+ modelValue: a.modelRemote[e.modelKey],
1333
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1334
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1335
+ disabled: e.disabled ? e.disabled : !1,
1336
+ multiple: e.multiple !== void 0,
1337
+ "collapse-tags": e.collapse !== void 0,
1338
+ filterable: "",
1339
+ remote: "",
1340
+ "remote-method": e.remoteMethod,
1341
+ placeholder: e.placeholder ? e.placeholder : ""
1342
+ }, {
1343
+ default: g(() => [
1344
+ (n(!0), D(P, null, q(e.options, (l) => (n(), f(V, {
1345
+ key: l.value,
1346
+ label: l.label,
1347
+ value: l.value
1348
+ }, null, 8, ["label", "value"]))), 128))
1349
+ ]),
1350
+ _: 2
1351
+ }, 1032, ["modelValue", "onUpdate:modelValue", "style", "disabled", "multiple", "collapse-tags", "remote-method", "placeholder"])) : h("", !0),
1352
+ e.type === "cascader" ? (n(), f(k, {
1353
+ key: 9,
1354
+ filterable: e.filterable !== void 0 ? e.filterable : !0,
1355
+ ref_for: !0,
1356
+ ref: e.modelKey ? e.modelKey : "elCascader",
1357
+ disabled: e.disabled ? e.disabled : !1,
1358
+ "collapse-tags": c.collapseTags,
1359
+ "show-all-levels": e.isEnd ? e.isEnd : !0,
1360
+ placeholder: e.placeholder ? e.placeholder : "请选择",
1361
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1362
+ options: e.options || [],
1363
+ onVisibleChange: (l) => a.casVisibleChange(l, e),
1364
+ onChange: (l) => a.casChange(
1365
+ e.modelKey ? e.modelKey : "elCascader",
1366
+ e.modelKey
1367
+ ),
1368
+ props: a.loadData({
1369
+ path: e.path,
1370
+ childPath: e.childPath,
1371
+ params: e.params,
1372
+ checkStrictly: e.checkStrictly,
1373
+ multiple: e.multiple
1374
+ })
1375
+ }, null, 8, ["filterable", "disabled", "collapse-tags", "show-all-levels", "placeholder", "style", "options", "onVisibleChange", "onChange", "props"])) : h("", !0),
1376
+ e.type === "date" ? (n(), f(j, {
1377
+ key: 10,
1378
+ shortcuts: a.shortcuts,
1379
+ modelValue: a.modelRemote[e.modelKey],
1380
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1381
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1382
+ disabled: e.disabled ? e.disabled : !1,
1383
+ type: e.dType,
1384
+ "value-format": e.valFormat,
1385
+ "disabled-date": (l) => a.disabledDate(l, e.timeRangeNum),
1386
+ onFocus: a.handleFocus,
1387
+ onCalendarChange: a.handleChange,
1388
+ "unlink-panels": "",
1389
+ format: a.timeFormat(e.dType),
1390
+ "start-placeholder": "开始日期",
1391
+ "end-placeholder": "结束日期",
1392
+ placeholder: "选择日期"
1393
+ }, null, 8, ["shortcuts", "modelValue", "onUpdate:modelValue", "style", "disabled", "type", "value-format", "disabled-date", "onFocus", "onCalendarChange", "format"])) : h("", !0),
1394
+ e.type === "time" ? (n(), f(A, {
1395
+ key: 11,
1396
+ modelValue: a.modelRemote[e.modelKey],
1397
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1398
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1399
+ "value-format": "HH:mm:ss",
1400
+ disabled: e.disabled ? e.disabled : !1,
1401
+ placeholder: e.placeholder ? e.placeholder : "请选择时间"
1402
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "disabled", "placeholder"])) : h("", !0),
1403
+ e.type === "switch" ? (n(), D("span", Ge, W(e.bText), 1)) : h("", !0),
1404
+ e.type === "switch" ? (n(), f(U, {
1405
+ key: 13,
1406
+ modelValue: a.modelRemote[e.modelKey],
1407
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1408
+ disabled: e.disabled ? e.disabled : !1,
1409
+ "active-text": e.rt ? e.rt : "",
1410
+ "inactive-text": e.lt ? e.lt : "",
1411
+ "active-value": e.rv ? e.rv : !0,
1412
+ "inactive-value": e.lv ? e.lv : !1,
1413
+ "active-color": "#13ce66",
1414
+ onChange: (l) => a.switchChange(arguments, e.modelKey),
1415
+ "inactive-color": "#ff4949"
1416
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "active-text", "inactive-text", "active-value", "inactive-value", "onChange"])) : h("", !0),
1417
+ e.type === "switch" ? (n(), D("span", $e, W(e.fText), 1)) : h("", !0),
1418
+ e.type === "checkbox" ? (n(), f(oe, {
1419
+ key: 15,
1420
+ modelValue: a.modelRemote[e.modelKey],
1421
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l
1422
+ }, {
1423
+ default: g(() => [
1424
+ (n(!0), D(P, null, q(e.options, (l, d) => (n(), f(Z, {
1425
+ label: l.value,
1426
+ key: d,
1427
+ disabled: l.disabled ? l.disabled : !1
1428
+ }, {
1429
+ default: g(() => [
1430
+ ce(W(l.label), 1)
1431
+ ]),
1432
+ _: 2
1433
+ }, 1032, ["label", "disabled"]))), 128))
1434
+ ]),
1435
+ _: 2
1436
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : h("", !0),
1437
+ e.type === "radio" ? (n(), f(ne, {
1438
+ key: 16,
1439
+ modelValue: a.modelRemote[e.modelKey],
1440
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l
1441
+ }, {
1442
+ default: g(() => [
1443
+ (n(!0), D(P, null, q(e.options, (l, d) => (n(), f(ue, {
1444
+ key: d,
1445
+ disabled: l.disabled ? l.disabled : !1,
1446
+ label: l.value
1447
+ }, {
1448
+ default: g(() => [
1449
+ ce(W(l.label), 1)
1450
+ ]),
1451
+ _: 2
1452
+ }, 1032, ["disabled", "label"]))), 128))
1453
+ ]),
1454
+ _: 2
1455
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : h("", !0),
1456
+ e.type === "autocomplete" ? (n(), f(X, {
1457
+ key: 17,
1458
+ class: "inline-input",
1459
+ style: C({ width: e.width ? e.width + "px" : "auto" }),
1460
+ modelValue: a.modelRemote[e.modelKey],
1461
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1462
+ "fetch-suggestions": e.querySearch,
1463
+ placeholder: e.placeholder ? e.placeholder : "请输入"
1464
+ }, null, 8, ["style", "modelValue", "onUpdate:modelValue", "fetch-suggestions", "placeholder"])) : h("", !0),
1465
+ e.type === "htmlarea" ? (n(), D("div", {
1466
+ key: 18,
1467
+ style: C({ width: e.width ? e.width + "px" : "auto" })
1468
+ }, [
1469
+ ae(Q, {
1470
+ style: { "border-bottom": "1px solid #ccc" },
1471
+ editor: a.editorRef,
1472
+ defaultConfig: a.toolbarConfig,
1473
+ mode: "default"
1474
+ }, null, 8, ["editor", "defaultConfig"]),
1475
+ ae(L, {
1476
+ style: C({ height: e.height ? e.height + "px" : "300px", overflowY: "hidden" }),
1477
+ modelValue: a.modelRemote[e.modelKey],
1478
+ "onUpdate:modelValue": (l) => a.modelRemote[e.modelKey] = l,
1479
+ defaultConfig: a.editorConfig(e),
1480
+ mode: "default",
1481
+ onOnCreated: (l) => a.handleCreated(l, e)
1482
+ }, null, 8, ["style", "modelValue", "onUpdate:modelValue", "defaultConfig", "onOnCreated"])
1483
+ ], 4)) : h("", !0)
1484
+ ]),
1485
+ _: 2
1486
+ }, 1032, ["prop", "style"])
1487
+ ]),
1488
+ _: 2
1489
+ }, 1032, ["label-align"]))), 128))
1490
+ ]),
1491
+ _: 3
1492
+ }, 8, ["column", "size", "border", "title"]))
1493
+ ]),
1494
+ _: 3
1495
+ }, 8, ["model", "label-position", "rules", "inline"])) : h("", !0),
1496
+ ae($, {
1497
+ modelValue: a.isAutoInput,
1498
+ "onUpdate:modelValue": i[2] || (i[2] = (e) => a.isAutoInput = e),
1499
+ title: "辅助输入",
1500
+ size: "50%",
1501
+ direction: "rtl"
1502
+ }, {
1503
+ default: g(() => [
1504
+ ge("div", el, [
1505
+ Array.isArray(c.autoInputConfig.selectData) && c.autoInputConfig.selectData.length > 0 ? (n(), f(I, {
1506
+ key: 0,
1507
+ modelValue: a.autoQuery.selectid,
1508
+ "onUpdate:modelValue": i[0] || (i[0] = (e) => a.autoQuery.selectid = e),
1509
+ style: { "margin-right": "15px", width: "240px" },
1510
+ placeholder: "请选择"
1511
+ }, {
1512
+ default: g(() => [
1513
+ (n(!0), D(P, null, q(c.autoInputConfig.selectData, (e) => (n(), f(V, {
1514
+ key: e.value,
1515
+ label: e.label,
1516
+ value: e.value
1517
+ }, null, 8, ["label", "value"]))), 128))
1518
+ ]),
1519
+ _: 1
1520
+ }, 8, ["modelValue"])) : h("", !0),
1521
+ c.autoInputConfig?.keywords ? (n(), f(E, {
1522
+ key: 1,
1523
+ style: { width: "200px" },
1524
+ placeholder: "请输入",
1525
+ modelValue: a.autoQuery.keywords,
1526
+ "onUpdate:modelValue": i[1] || (i[1] = (e) => a.autoQuery.keywords = e)
1527
+ }, null, 8, ["modelValue"])) : h("", !0),
1528
+ Array.isArray(c.autoInputConfig.selectData) && c.autoInputConfig.selectData.length > 0 || c.autoInputConfig?.keywords ? (n(), f(F, {
1529
+ key: 2,
1530
+ type: "primary",
1531
+ style: { "margin-left": "15px" },
1532
+ onClick: a.search
1533
+ }, {
1534
+ default: g(() => [...i[3] || (i[3] = [
1535
+ ce("查询", -1)
1536
+ ])]),
1537
+ _: 1
1538
+ }, 8, ["onClick"])) : h("", !0)
1539
+ ]),
1540
+ c.autoInputConfig ? (n(), D("div", ll, [
1541
+ ae(b, {
1542
+ id: "autoInputTable",
1543
+ ref: "autoInputTable",
1544
+ data: a.autoTableData,
1545
+ onCustomEvents: a.customEvents,
1546
+ load: a.load,
1547
+ loading: a.loading,
1548
+ page: a.page
1549
+ }, null, 8, ["data", "onCustomEvents", "load", "loading", "page"])
1550
+ ])) : h("", !0)
1551
+ ]),
1552
+ _: 1
1553
+ }, 8, ["modelValue"])
1554
+ ]),
1555
+ _: 3
1556
+ }, 8, ["locale"]);
1557
+ }
1558
+ const fe = /* @__PURE__ */ _e(ye, [["render", al], ["__scopeId", "data-v-ada8ebe2"]]);
1559
+ fe.install = function(o) {
1560
+ o.component(fe.name, fe);
1561
+ };
1562
+ const tl = [Ue, fe], ol = (o) => {
1563
+ tl.forEach(
1564
+ (i) => {
1565
+ o.component(i.name || i.__name, i);
1566
+ }
1567
+ );
1568
+ }, nl = { install: ol };
1569
+ export {
1570
+ nl as default
1571
+ };