@skyfox2000/webui 0.1.7 → 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.
package/lib/webui.es.js CHANGED
@@ -2,18 +2,18 @@ import { _ as La } from "./assets/modules/index-D47Ci-T3.js";
2
2
  import { _ as O } from "./assets/modules/index-BoKIa2sr.js";
3
3
  import { _ as Y } from "./assets/modules/index-BEWJ_qAH.js";
4
4
  import { a as Ua } from "./assets/modules/index-BEWJ_qAH.js";
5
- import { _ as V } from "./assets/modules/menuTabs-JxjPoyCD.js";
6
- import { a as qa, c as Qa, d as Va, e as Ha, I as Wa, f as Ja, g as Ga, b as Xa } from "./assets/modules/menuTabs-JxjPoyCD.js";
7
- import { defineComponent as k, createBlock as h, openBlock as p, withModifiers as J, unref as e, useAttrs as W, withCtx as m, createElementVNode as S, createVNode as b, mergeProps as B, renderSlot as I, normalizeStyle as se, toDisplayString as D, createCommentVNode as C, ref as g, provide as he, watch as $, onMounted as z, createTextVNode as M, inject as ne, resolveDirective as q, withDirectives as Q, createElementBlock as w, normalizeClass as N, createSlots as ge, useSlots as Oe, Fragment as F, renderList as L, resolveDynamicComponent as ze, onUnmounted as xe, onActivated as Ke, computed as pe, withKeys as fe } from "vue";
8
- import { useSettingInfo as ye, onFullscreenClick as Ae, createFromIconfont as Ee, ProviderKeys as X, onFormClose as ae, onFormSaveAs as Ye, onFormSave as be, useFormItemFactory as Ce, getToolGroup as ke, onGridRowEdit as Le, onGridRowDelete as Re, getToolVisible as H, onToolClicked as R, getToolStatus as j, useToolFactory as Ue, getToolByKey as Z, filterColumns as we, onColumnVisibleChanged as je, AppRouter as qe, openNewForm as Qe, useInputFactory as K, loadOption as $e, unloadOption as Se, formValidate as U, gridQueryFind as ve, gridQueryList as Ve, gridStatusUpdate as He, OPTIONS as Te, queryTree as De, OptionCommProps as We, circleLoading as Je, doQuery as Ie } from "@skyfox2000/webbase";
9
- import { Popover as Ge, theme as Be, Drawer as Xe, Space as G, Form as Pe, FormItem as Me, ConfigProvider as me, Popconfirm as Ze, Button as Fe, DropdownButton as et, Menu as ue, MenuItem as ie, Dropdown as re, Checkbox as tt, Switch as at, Table as Ne, Tree as lt, Cascader as rt, DatePicker as ot, Input as oe, InputPassword as st, InputNumber as nt, RangePicker as ut, Textarea as it, Transfer as dt, TreeSelect as ct, LayoutContent as pt } from "ant-design-vue";
5
+ import { _ as V } from "./assets/modules/menuTabs-BXdbFZor.js";
6
+ import { a as qa, c as Qa, d as Va, e as Ha, I as Wa, f as Ja, g as Ga, b as Xa } from "./assets/modules/menuTabs-BXdbFZor.js";
7
+ import { defineComponent as C, createBlock as h, openBlock as p, withModifiers as J, unref as e, useAttrs as W, withCtx as _, createElementVNode as T, createVNode as b, mergeProps as B, renderSlot as I, normalizeStyle as se, toDisplayString as D, createCommentVNode as k, ref as g, provide as he, watch as $, onMounted as z, createTextVNode as P, inject as ne, resolveDirective as q, withDirectives as Q, createElementBlock as w, normalizeClass as N, createSlots as ge, useSlots as Oe, Fragment as M, renderList as L, resolveDynamicComponent as ze, onUnmounted as xe, onActivated as Ke, computed as pe, withKeys as fe } from "vue";
8
+ import { useSettingInfo as ye, onFullscreenClick as Ae, createFromIconfont as Ee, ProviderKeys as X, onFormClose as ae, onFormSaveAs as Ye, onFormSave as be, useFormItemFactory as ke, getToolGroup as Ce, onGridRowEdit as Le, onGridRowDelete as Re, getToolVisible as H, onToolClicked as R, getToolStatus as j, useToolFactory as Ue, getToolByKey as Z, filterColumns as we, onColumnVisibleChanged as je, AppRouter as qe, openNewForm as Qe, useInputFactory as K, loadOption as $e, unloadOption as Se, formValidate as U, gridQueryFind as ve, gridQueryList as Ve, gridStatusUpdate as He, OPTIONS as Te, queryTree as De, OptionCommProps as We, circleLoading as Je, doQuery as Ie } from "@skyfox2000/webbase";
9
+ import { Popover as Ge, theme as Be, Drawer as Xe, Space as G, Form as Fe, FormItem as Pe, ConfigProvider as me, Popconfirm as Ze, Button as Me, DropdownButton as et, Menu as ue, MenuItem as ie, Dropdown as re, Checkbox as tt, Switch as at, Table as Ne, Tree as lt, Cascader as rt, DatePicker as ot, Input as oe, InputPassword as st, InputNumber as nt, RangePicker as ut, Textarea as it, Transfer as dt, TreeSelect as ct, LayoutContent as pt } from "ant-design-vue";
10
10
  import { SERVER_HOST as ft, fieldMapping as ee } from "@skyfox2000/fapi";
11
11
  import { VueDraggableNext as vt } from "vue-draggable-next";
12
12
  import mt from "vue-m-message";
13
13
  import { _ as _t, a as ht, b as gt, c as xt } from "./assets/modules/index-BahGnrAq.js";
14
14
  import _e from "dayjs";
15
15
  import { _ as el } from "./assets/modules/uploadList-Dzlg47V0.js";
16
- const ma = /* @__PURE__ */ k({
16
+ const ma = /* @__PURE__ */ C({
17
17
  __name: "fullscreen",
18
18
  setup(v) {
19
19
  const o = ye();
@@ -23,7 +23,7 @@ const ma = /* @__PURE__ */ k({
23
23
  class: "w-[17px] h-[17px]"
24
24
  }, null, 8, ["onClick", "icon"]));
25
25
  }
26
- }), yt = { class: "ml-2" }, bt = /* @__PURE__ */ k({
26
+ }), yt = { class: "ml-2" }, bt = /* @__PURE__ */ C({
27
27
  inheritAttrs: !1,
28
28
  __name: "helper",
29
29
  props: {
@@ -33,16 +33,16 @@ const ma = /* @__PURE__ */ k({
33
33
  setup(v) {
34
34
  const o = W();
35
35
  return (a, t) => (p(), h(e(Ge), { placement: "topRight" }, {
36
- content: m(() => [
36
+ content: _(() => [
37
37
  I(a.$slots, "default", {}, () => [
38
- S("div", {
38
+ T("div", {
39
39
  class: "text-[14px]",
40
40
  style: se({ maxWidth: a.maxWidth })
41
41
  }, D(a.text), 5)
42
42
  ])
43
43
  ]),
44
- default: m(() => [
45
- S("span", yt, [
44
+ default: _(() => [
45
+ T("span", yt, [
46
46
  b(Y, B({
47
47
  icon: "icon-question-circle",
48
48
  class: "text-[#888] w-4 h-4"
@@ -52,7 +52,7 @@ const ma = /* @__PURE__ */ k({
52
52
  _: 3
53
53
  }));
54
54
  }
55
- }), _a = /* @__PURE__ */ k({
55
+ }), _a = /* @__PURE__ */ C({
56
56
  __name: "layoutIcon",
57
57
  props: {
58
58
  icon: {
@@ -74,9 +74,9 @@ const ma = /* @__PURE__ */ k({
74
74
  icon: v.icon,
75
75
  icons: v.icons,
76
76
  class: ["align-middle"]
77
- }, r.$attrs), null, 16, ["icon", "icons"])) : C("", !0);
77
+ }, r.$attrs), null, 16, ["icon", "icons"])) : k("", !0);
78
78
  }
79
- }), Ct = { class: "hover:bg-gray-200 w-[24px] h-[24px] rounded-md" }, ha = /* @__PURE__ */ k({
79
+ }), kt = { class: "hover:bg-gray-200 w-[24px] h-[24px] rounded-md" }, ha = /* @__PURE__ */ C({
80
80
  __name: "index",
81
81
  props: {
82
82
  saveText: {},
@@ -120,8 +120,8 @@ const ma = /* @__PURE__ */ k({
120
120
  width: "420px",
121
121
  onClose: c
122
122
  }, {
123
- extra: m(() => [
124
- S("div", Ct, [
123
+ extra: _(() => [
124
+ T("div", kt, [
125
125
  b(e(Y), {
126
126
  class: "top-[-2px] left-[2px] w-6 h-6",
127
127
  icon: "icon-new",
@@ -134,43 +134,43 @@ const ma = /* @__PURE__ */ k({
134
134
  })
135
135
  ])
136
136
  ]),
137
- default: m(() => [
137
+ default: _(() => [
138
138
  I(d.$slots, "default")
139
139
  ]),
140
- footer: m(() => [
140
+ footer: _(() => [
141
141
  b(e(G), null, {
142
- default: m(() => [
142
+ default: _(() => [
143
143
  d.cancelText !== "" ? (p(), h(e(O), {
144
144
  key: 0,
145
145
  onClick: f[1] || (f[1] = () => e(ae)(e(n)))
146
146
  }, {
147
- default: m(() => [
148
- M(D(d.cancelText ?? "取消"), 1)
147
+ default: _(() => [
148
+ P(D(d.cancelText ?? "取消"), 1)
149
149
  ]),
150
150
  _: 1
151
- })) : C("", !0),
151
+ })) : k("", !0),
152
152
  d.saveAsText !== "" && e(n).saveAsBtnVisible !== !1 ? (p(), h(e(O), {
153
153
  key: 1,
154
154
  onClick: f[2] || (f[2] = () => e(Ye)(e(n))),
155
155
  type: "primary",
156
156
  loading: e(n).isFormSaving.value
157
157
  }, {
158
- default: m(() => [
159
- M(D(d.saveAsText ?? "另存为"), 1)
158
+ default: _(() => [
159
+ P(D(d.saveAsText ?? "另存为"), 1)
160
160
  ]),
161
161
  _: 1
162
- }, 8, ["loading"])) : C("", !0),
162
+ }, 8, ["loading"])) : k("", !0),
163
163
  d.saveText !== "" && e(n).saveBtnVisible !== !1 ? (p(), h(e(O), {
164
164
  key: 2,
165
165
  onClick: f[3] || (f[3] = () => e(be)(e(n))),
166
166
  type: "primary",
167
167
  loading: e(n).isFormSaving.value
168
168
  }, {
169
- default: m(() => [
170
- M(D(d.saveText ?? "保存"), 1)
169
+ default: _(() => [
170
+ P(D(d.saveText ?? "保存"), 1)
171
171
  ]),
172
172
  _: 1
173
- }, 8, ["loading"])) : C("", !0)
173
+ }, 8, ["loading"])) : k("", !0)
174
174
  ]),
175
175
  _: 1
176
176
  })
@@ -178,7 +178,7 @@ const ma = /* @__PURE__ */ k({
178
178
  _: 3
179
179
  }, 8, ["open", "header-style"]));
180
180
  }
181
- }), ga = /* @__PURE__ */ k({
181
+ }), ga = /* @__PURE__ */ C({
182
182
  __name: "index",
183
183
  props: {
184
184
  labelWidth: {},
@@ -189,7 +189,7 @@ const ma = /* @__PURE__ */ k({
189
189
  const o = v, a = o.editorCtrl ?? ne(X.EditorControl, void 0);
190
190
  return (t, r) => {
191
191
  const n = q("submit");
192
- return Q((p(), h(e(Pe), {
192
+ return Q((p(), h(e(Fe), {
193
193
  "label-col": { flex: o.labelWidth ?? "85px" },
194
194
  "wrapper-col": {
195
195
  flex: o.wrapperWidth ?? "1"
@@ -199,7 +199,7 @@ const ma = /* @__PURE__ */ k({
199
199
  flexWrap: "wrap"
200
200
  }
201
201
  }, {
202
- default: m(() => [
202
+ default: _(() => [
203
203
  I(t.$slots, "default")
204
204
  ]),
205
205
  _: 3
@@ -213,10 +213,10 @@ const ma = /* @__PURE__ */ k({
213
213
  ]);
214
214
  };
215
215
  }
216
- }), kt = { class: "w-full flex items-center" }, wt = { class: "flex-grow" }, $t = { class: "w-8 mt-[-2px]" }, St = {
216
+ }), Ct = { class: "w-full flex items-center" }, wt = { class: "flex-grow" }, $t = { class: "w-8 mt-[-2px]" }, St = {
217
217
  key: 1,
218
218
  class: "absolute bottom-[3px] left-[85px] text-[12px] text-[#ff4d4fcc] block"
219
- }, xa = /* @__PURE__ */ k({
219
+ }, xa = /* @__PURE__ */ C({
220
220
  inheritAttrs: !1,
221
221
  __name: "formItem",
222
222
  props: {
@@ -226,7 +226,7 @@ const ma = /* @__PURE__ */ k({
226
226
  width: {}
227
227
  },
228
228
  setup(v) {
229
- const o = v, a = W(), t = ne(X.EditorControl, void 0), r = Ce(o, t), n = g(!1);
229
+ const o = v, a = W(), t = ne(X.EditorControl, void 0), r = ke(o, t), n = g(!1);
230
230
  return setTimeout(() => {
231
231
  n.value = !0;
232
232
  }, 30), (c, d) => {
@@ -234,43 +234,43 @@ const ma = /* @__PURE__ */ k({
234
234
  return p(), w("div", {
235
235
  class: N(["w-full relative mb-1", c.width])
236
236
  }, [
237
- n.value ? (p(), h(e(Me), B({
237
+ n.value ? (p(), h(e(Pe), B({
238
238
  key: 0,
239
239
  required: !!c.rule && ((l = (u = (s = (f = e(t)) == null ? void 0 : f.formRules) == null ? void 0 : s.value) == null ? void 0 : u[c.rule]) == null ? void 0 : l.required),
240
240
  class: "!w-[95%] relative"
241
241
  }, e(a), {
242
242
  class: [c.rule ? "" : "mb-3"]
243
243
  }), {
244
- label: m(() => [
245
- S("span", {
244
+ label: _(() => [
245
+ T("span", {
246
246
  class: N([e(r).errClass ? "text-[#ff4d4f]" : "", "w-full"])
247
247
  }, D(c.label), 3)
248
248
  ]),
249
- default: m(() => [
250
- S("div", kt, [
251
- S("div", wt, [
249
+ default: _(() => [
250
+ T("div", Ct, [
251
+ T("div", wt, [
252
252
  I(c.$slots, "default")
253
253
  ]),
254
- S("div", $t, [
254
+ T("div", $t, [
255
255
  I(c.$slots, "helper", {}, () => [
256
256
  c.helper ? (p(), h(e(bt), {
257
257
  key: 0,
258
258
  text: c.helper
259
- }, null, 8, ["text"])) : C("", !0)
259
+ }, null, 8, ["text"])) : k("", !0)
260
260
  ])
261
261
  ])
262
262
  ])
263
263
  ]),
264
264
  _: 3
265
- }, 16, ["required", "class"])) : C("", !0),
266
- e(r).errClass ? (p(), w("span", St, D(e(r).msg), 1)) : C("", !0)
265
+ }, 16, ["required", "class"])) : k("", !0),
266
+ e(r).errClass ? (p(), w("span", St, D(e(r).msg), 1)) : k("", !0)
267
267
  ], 2);
268
268
  };
269
269
  }
270
270
  }), Tt = { class: "w-1/3 relative mb-1" }, Dt = { class: "flex items-center" }, It = { class: "flex-grow pl-1" }, Bt = {
271
271
  key: 0,
272
272
  class: "absolute bottom-[3px] left-[85px] text-[12px] text-[#ff4d4fcc] block"
273
- }, le = /* @__PURE__ */ k({
273
+ }, le = /* @__PURE__ */ C({
274
274
  inheritAttrs: !1,
275
275
  __name: "searchItem",
276
276
  props: {
@@ -279,18 +279,18 @@ const ma = /* @__PURE__ */ k({
279
279
  rule: {}
280
280
  },
281
281
  setup(v) {
282
- const o = v, a = W(), t = ne(X.EditorControl, void 0), r = Ce(o, t);
282
+ const o = v, a = W(), t = ne(X.EditorControl, void 0), r = ke(o, t);
283
283
  return (n, c) => (p(), w("div", Tt, [
284
- b(e(Me), B({
284
+ b(e(Pe), B({
285
285
  required: n.rule !== void 0,
286
286
  class: "w-[90%] relative"
287
287
  }, e(a), {
288
288
  class: [n.rule ? "" : "mb-3", n.width],
289
289
  labelCol: { span: 6 }
290
290
  }), ge({
291
- default: m(() => [
292
- S("div", Dt, [
293
- S("div", It, [
291
+ default: _(() => [
292
+ T("div", Dt, [
293
+ T("div", It, [
294
294
  I(n.$slots, "default")
295
295
  ])
296
296
  ])
@@ -299,29 +299,30 @@ const ma = /* @__PURE__ */ k({
299
299
  }, [
300
300
  n.label ? {
301
301
  name: "label",
302
- fn: m(() => [
303
- S("span", {
302
+ fn: _(() => [
303
+ T("span", {
304
304
  class: N([e(r).errClass ? "text-[#ff4d4f]" : "", "w-full"])
305
305
  }, D(n.label), 3)
306
306
  ]),
307
307
  key: "0"
308
308
  } : void 0
309
309
  ]), 1040, ["required", "class"]),
310
- e(r).msg ? (p(), w("span", Bt, D(e(r).msg), 1)) : C("", !0)
310
+ e(r).msg ? (p(), w("span", Bt, D(e(r).msg), 1)) : k("", !0)
311
311
  ]));
312
312
  }
313
- }), ya = /* @__PURE__ */ k({
313
+ }), ya = /* @__PURE__ */ C({
314
314
  __name: "index",
315
315
  props: {
316
316
  search: {},
317
- gridCtrl: {}
317
+ gridCtrl: {},
318
+ likeFields: {}
318
319
  },
319
320
  emits: ["update:search"],
320
321
  setup(v, { emit: o }) {
321
- const a = v, t = o, r = g(0), n = g(0), c = g(0), d = (_) => {
322
+ const a = v, t = o, r = g(0), n = g(0), c = g(0), d = (m) => {
322
323
  let x = 0;
323
- for (let T = 0; T < _.length; T++)
324
- typeof _[T].type == "object" && x++;
324
+ for (let S = 0; S < m.length; S++)
325
+ typeof m[S].type == "object" && x++;
325
326
  return x;
326
327
  }, f = Oe(), s = () => {
327
328
  n.value = 0, c.value = 0, f.default && (n.value = d(f.default({}))), a.gridCtrl.searchBar && f.control && (c.value = d(f.control({}))), r.value = 2 - (n.value + c.value) % 3;
@@ -336,34 +337,37 @@ const ma = /* @__PURE__ */ k({
336
337
  z(() => {
337
338
  var x;
338
339
  s();
339
- let _ = { ...a.search };
340
+ let m = { ...a.search };
340
341
  a.gridCtrl.gridQuery = {
341
342
  ...a.gridCtrl.gridQuery,
342
343
  Query: {
343
344
  ...(x = a.gridCtrl.gridQuery) == null ? void 0 : x.Query,
344
- ..._
345
+ ...m
345
346
  }
346
347
  };
347
348
  });
348
349
  const l = () => {
349
350
  var x;
350
- let _ = { ...a.search };
351
+ let m = { ...a.search };
352
+ if (a.likeFields)
353
+ for (const S of a.likeFields)
354
+ m[S] && (m[S] = { $like: "%" + m[S] + "%" });
351
355
  a.gridCtrl.gridQuery = {
352
356
  ...a.gridCtrl.gridQuery,
353
357
  Query: {
354
358
  ...(x = a.gridCtrl.gridQuery) == null ? void 0 : x.Query,
355
- ..._
359
+ ...m
356
360
  }
357
361
  }, a.gridCtrl.reload.value = !0;
358
362
  }, i = () => {
359
- const _ = JSON.parse(JSON.stringify(u));
363
+ const m = JSON.parse(JSON.stringify(u));
360
364
  for (const x in a.search)
361
- _[x] === void 0 && (_[x] = void 0);
362
- t("update:search", _);
365
+ m[x] === void 0 && (m[x] = void 0);
366
+ t("update:search", m);
363
367
  };
364
- return (_, x) => {
365
- const T = q("submit");
366
- return n.value + c.value > 0 ? Q((p(), h(e(Pe), {
368
+ return (m, x) => {
369
+ const S = q("submit");
370
+ return n.value + c.value > 0 ? Q((p(), h(e(Fe), {
367
371
  key: 0,
368
372
  "label-col": { flex: "60px" },
369
373
  style: {
@@ -372,32 +376,32 @@ const ma = /* @__PURE__ */ k({
372
376
  },
373
377
  class: "flex mb-[10px]"
374
378
  }, {
375
- default: m(() => [
376
- I(_.$slots, "default"),
377
- _.gridCtrl.searchBar ? I(_.$slots, "control", { key: 0 }) : C("", !0),
379
+ default: _(() => [
380
+ I(m.$slots, "default"),
381
+ m.gridCtrl.searchBar ? I(m.$slots, "control", { key: 0 }) : k("", !0),
378
382
  r.value >= 1 ? (p(), h(le, {
379
383
  key: 1,
380
384
  class: "w-1/3"
381
- })) : C("", !0),
385
+ })) : k("", !0),
382
386
  r.value >= 2 ? (p(), h(le, {
383
387
  key: 2,
384
388
  class: "w-1/3"
385
- })) : C("", !0),
386
- n.value || _.gridCtrl.searchBar ? (p(), h(le, {
389
+ })) : k("", !0),
390
+ n.value || m.gridCtrl.searchBar ? (p(), h(le, {
387
391
  key: 3,
388
392
  class: "w-1/3 flex justify-end text-right pr-5",
389
393
  "wrapper-col": { flex: "auto" }
390
394
  }, {
391
- default: m(() => [
395
+ default: _(() => [
392
396
  b(e(G), null, {
393
- default: m(() => [
397
+ default: _(() => [
394
398
  b(e(O), {
395
399
  type: "primary",
396
400
  onClick: l,
397
401
  icon: "icon-search"
398
402
  }, {
399
- default: m(() => x[0] || (x[0] = [
400
- M("搜索")
403
+ default: _(() => x[0] || (x[0] = [
404
+ P("搜索")
401
405
  ])),
402
406
  _: 1,
403
407
  __: [0]
@@ -406,8 +410,8 @@ const ma = /* @__PURE__ */ k({
406
410
  onClick: i,
407
411
  icon: "icon-reset"
408
412
  }, {
409
- default: m(() => x[1] || (x[1] = [
410
- M("重置")
413
+ default: _(() => x[1] || (x[1] = [
414
+ P("重置")
411
415
  ])),
412
416
  _: 1,
413
417
  __: [1]
@@ -417,15 +421,15 @@ const ma = /* @__PURE__ */ k({
417
421
  })
418
422
  ]),
419
423
  _: 1
420
- })) : C("", !0)
424
+ })) : k("", !0)
421
425
  ]),
422
426
  _: 3
423
427
  })), [
424
- [T, l]
425
- ]) : C("", !0);
428
+ [S, l]
429
+ ]) : k("", !0);
426
430
  };
427
431
  }
428
- }), Pt = /* @__PURE__ */ k({
432
+ }), Ft = /* @__PURE__ */ C({
429
433
  __name: "tableOperate",
430
434
  props: {
431
435
  record: {},
@@ -452,7 +456,7 @@ const ma = /* @__PURE__ */ k({
452
456
  confirmText: "是否删除此记录?",
453
457
  click: () => Re(a, o.record)
454
458
  }
455
- ], { buttons: r, menus: n } = ke(t, 0, a.operates), c = (d) => {
459
+ ], { buttons: r, menus: n } = Ce(t, 0, a.operates), c = (d) => {
456
460
  if (typeof d.disabled == "boolean")
457
461
  return d.disabled;
458
462
  if (typeof d.disabled == "function")
@@ -473,10 +477,10 @@ const ma = /* @__PURE__ */ k({
473
477
  fontSize: 13
474
478
  }
475
479
  } }, {
476
- default: m(() => [
480
+ default: _(() => [
477
481
  b(e(G), null, {
478
- default: m(() => [
479
- (p(!0), w(F, null, L(e(r), (l) => (p(), w(F, {
482
+ default: _(() => [
483
+ (p(!0), w(M, null, L(e(r), (l) => (p(), w(M, {
480
484
  key: l.key
481
485
  }, [
482
486
  e(H)(l, o.record) ? (p(), h(e(Ze), {
@@ -489,8 +493,8 @@ const ma = /* @__PURE__ */ k({
489
493
  cancelButtonProps: { size: "small" },
490
494
  onConfirm: (i) => e(R)(l, e(a).page, e(a), o.record, !0)
491
495
  }, {
492
- default: m(() => [
493
- e(H)(l, o.record) ? Q((p(), h(e(Fe), {
496
+ default: _(() => [
497
+ e(H)(l, o.record) ? Q((p(), h(e(Me), {
494
498
  key: l.key,
495
499
  type: l.type ?? "text",
496
500
  danger: l.danger,
@@ -501,31 +505,31 @@ const ma = /* @__PURE__ */ k({
501
505
  padding: l.type ?? "0px 4px"
502
506
  })
503
507
  }, {
504
- default: m(() => [
505
- M(D(l.label), 1)
508
+ default: _(() => [
509
+ P(D(l.label), 1)
506
510
  ]),
507
511
  _: 2
508
512
  }, 1032, ["type", "danger", "disabled", "onClick", "style"])), [
509
513
  [s, l.role],
510
514
  [u, l.permit]
511
- ]) : C("", !0)
515
+ ]) : k("", !0)
512
516
  ]),
513
517
  _: 2
514
- }, 1032, ["disabled", "title", "onConfirm"])) : C("", !0)
518
+ }, 1032, ["disabled", "title", "onConfirm"])) : k("", !0)
515
519
  ], 64))), 128)),
516
520
  d.record.Enabled == 1 ? (p(), h(e(me), {
517
521
  key: 0,
518
522
  autoInsertSpaceInButton: !1
519
523
  }, {
520
- default: m(() => [
524
+ default: _(() => [
521
525
  e(n).length > 0 ? (p(), h(e(et), {
522
526
  key: 0,
523
527
  size: "small"
524
528
  }, {
525
- overlay: m(() => [
529
+ overlay: _(() => [
526
530
  b(e(ue), null, {
527
- default: m(() => [
528
- (p(!0), w(F, null, L(e(n), (l) => (p(), w(F, {
531
+ default: _(() => [
532
+ (p(!0), w(M, null, L(e(n), (l) => (p(), w(M, {
529
533
  key: l.key
530
534
  }, [
531
535
  e(H)(l, o.record) ? Q((p(), h(e(ie), {
@@ -533,28 +537,28 @@ const ma = /* @__PURE__ */ k({
533
537
  disabled: c(l),
534
538
  onClick: (i) => e(R)(l, e(a).page, e(a), o.record)
535
539
  }, {
536
- default: m(() => [
537
- M(D(l.label), 1)
540
+ default: _(() => [
541
+ P(D(l.label), 1)
538
542
  ]),
539
543
  _: 2
540
544
  }, 1032, ["disabled", "onClick"])), [
541
545
  [s, l.role],
542
546
  [u, l.permit]
543
- ]) : C("", !0)
547
+ ]) : k("", !0)
544
548
  ], 64))), 128))
545
549
  ]),
546
550
  _: 1
547
551
  })
548
552
  ]),
549
- default: m(() => [
550
- f[0] || (f[0] = M(" 更多 "))
553
+ default: _(() => [
554
+ f[0] || (f[0] = P(" 更多 "))
551
555
  ]),
552
556
  _: 1,
553
557
  __: [0]
554
- })) : C("", !0)
558
+ })) : k("", !0)
555
559
  ]),
556
560
  _: 1
557
- })) : C("", !0)
561
+ })) : k("", !0)
558
562
  ]),
559
563
  _: 1
560
564
  })
@@ -563,7 +567,7 @@ const ma = /* @__PURE__ */ k({
563
567
  });
564
568
  };
565
569
  }
566
- }), Mt = { class: "inline-flex [&>div]:ml-[-1px] first:[&>div]:ml-0" }, Ft = /* @__PURE__ */ k({
570
+ }), Pt = { class: "inline-flex [&>div]:ml-[-1px] first:[&>div]:ml-0" }, Mt = /* @__PURE__ */ C({
567
571
  __name: "icontool",
568
572
  props: {
569
573
  gridCtrl: {}
@@ -587,8 +591,8 @@ const ma = /* @__PURE__ */ k({
587
591
  const c = () => {
588
592
  a.columns.value.splice(0, a.columns.value.length, ...n.value), r.setTableColumns(qe.currentRoute.value.path, a.columns.value);
589
593
  };
590
- return (d, f) => (p(), w("div", Mt, [
591
- (p(!0), w(F, null, L(e(t), (s, u) => (p(), w(F, {
594
+ return (d, f) => (p(), w("div", Pt, [
595
+ (p(!0), w(M, null, L(e(t), (s, u) => (p(), w(M, {
592
596
  key: s.key
593
597
  }, [
594
598
  e(H)(s) && s.dropdown ? (p(), h(e(re), {
@@ -596,8 +600,8 @@ const ma = /* @__PURE__ */ k({
596
600
  placement: "bottomRight",
597
601
  class: "p-0 rounded-none"
598
602
  }, {
599
- overlay: m(() => [
600
- S("div", {
603
+ overlay: _(() => [
604
+ T("div", {
601
605
  class: N(["min-w-[100px] bg-white rounded shadow-md p-4", s.dropdownClass])
602
606
  }, [
603
607
  s.dropdown === "headset" ? (p(), h(e(vt), {
@@ -608,14 +612,14 @@ const ma = /* @__PURE__ */ k({
608
612
  onEnd: c,
609
613
  handle: ".drag-handle"
610
614
  }, {
611
- default: m(() => [
612
- (p(!0), w(F, null, L(n.value, (l) => (p(), w("div", {
615
+ default: _(() => [
616
+ (p(!0), w(M, null, L(n.value, (l) => (p(), w("div", {
613
617
  key: l.name,
614
618
  onClick: f[0] || (f[0] = J(() => {
615
619
  }, ["stop"])),
616
620
  class: "flex items-center mb-2 last:mb-0 select-none"
617
621
  }, [
618
- f[2] || (f[2] = S("span", { class: "drag-handle mr-2 text-gray-400 hover:text-gray-600 cursor-move" }, "⋮⋮", -1)),
622
+ f[2] || (f[2] = T("span", { class: "drag-handle mr-2 text-gray-400 hover:text-gray-600 cursor-move" }, "⋮⋮", -1)),
619
623
  b(e(tt), {
620
624
  checked: l.visible !== !1,
621
625
  onChange: J(
@@ -626,18 +630,18 @@ const ma = /* @__PURE__ */ k({
626
630
  ),
627
631
  class: "text-gray-700 hover:text-gray-900 select-none"
628
632
  }, {
629
- default: m(() => [
630
- M(D(l.title), 1)
633
+ default: _(() => [
634
+ P(D(l.title), 1)
631
635
  ]),
632
636
  _: 2
633
637
  }, 1032, ["checked", "onChange"])
634
638
  ]))), 128))
635
639
  ]),
636
640
  _: 1
637
- }, 8, ["modelValue"])) : C("", !0)
641
+ }, 8, ["modelValue"])) : k("", !0)
638
642
  ], 2)
639
643
  ]),
640
- default: m(() => [
644
+ default: _(() => [
641
645
  b(e(O), {
642
646
  class: N([
643
647
  "px-[8px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
@@ -648,7 +652,7 @@ const ma = /* @__PURE__ */ k({
648
652
  tiptext: s.label,
649
653
  onClick: (l) => e(R)(s, e(a).page, e(a))
650
654
  }, {
651
- default: m(() => [
655
+ default: _(() => [
652
656
  b(e(Y), {
653
657
  icon: s.icon,
654
658
  class: "w-[18px] h-[18.5px]",
@@ -670,7 +674,7 @@ const ma = /* @__PURE__ */ k({
670
674
  tiptext: s.label,
671
675
  onClick: (l) => e(R)(s, e(a).page, e(a))
672
676
  }, {
673
- default: m(() => [
677
+ default: _(() => [
674
678
  b(e(Y), {
675
679
  icon: s.icon,
676
680
  class: "w-[18px] h-[18.5px]",
@@ -683,15 +687,15 @@ const ma = /* @__PURE__ */ k({
683
687
  placement: "bottomRight",
684
688
  class: "p-0 rounded-none"
685
689
  }, {
686
- overlay: m(() => [
690
+ overlay: _(() => [
687
691
  b(e(ue), null, {
688
- default: m(() => [
689
- (p(!0), w(F, null, L(s.children, (l) => (p(), h(e(ie), {
692
+ default: _(() => [
693
+ (p(!0), w(M, null, L(s.children, (l) => (p(), h(e(ie), {
690
694
  key: l.key,
691
695
  disabled: e(j)(l)
692
696
  }, {
693
- default: m(() => [
694
- M(D(l.label), 1)
697
+ default: _(() => [
698
+ P(D(l.label), 1)
695
699
  ]),
696
700
  _: 2
697
701
  }, 1032, ["disabled"]))), 128))
@@ -699,7 +703,7 @@ const ma = /* @__PURE__ */ k({
699
703
  _: 2
700
704
  }, 1024)
701
705
  ]),
702
- default: m(() => [
706
+ default: _(() => [
703
707
  b(e(O), {
704
708
  class: N([
705
709
  "!w-[46px] px-[5px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
@@ -711,7 +715,7 @@ const ma = /* @__PURE__ */ k({
711
715
  iconProps: { class: "w-[19px] h-[19px]" },
712
716
  onClick: (l) => e(R)(s, e(a).page, e(a))
713
717
  }, {
714
- default: m(() => [
718
+ default: _(() => [
715
719
  b(e(Y), {
716
720
  icon: "icon-down-arrow",
717
721
  class: "w-[12px] h-[12px]"
@@ -721,11 +725,11 @@ const ma = /* @__PURE__ */ k({
721
725
  }, 1032, ["class", "disabled", "tiptext", "icon", "onClick"])
722
726
  ]),
723
727
  _: 2
724
- }, 1024)) : C("", !0)
728
+ }, 1024)) : k("", !0)
725
729
  ], 64))), 128))
726
730
  ]));
727
731
  }
728
- }), Nt = { class: "flex justify-between mb-[10px]" }, Ot = { key: 1 }, zt = 3, Kt = /* @__PURE__ */ k({
732
+ }), Nt = { class: "flex justify-between mb-[10px]" }, Ot = { key: 1 }, zt = 3, Kt = /* @__PURE__ */ C({
729
733
  __name: "index",
730
734
  props: {
731
735
  gridCtrl: {},
@@ -751,7 +755,7 @@ const ma = /* @__PURE__ */ k({
751
755
  },
752
756
  () => {
753
757
  var u;
754
- const { buttons: f, menus: s } = ke(
758
+ const { buttons: f, menus: s } = Ce(
755
759
  n,
756
760
  a.flat !== void 0 ? a.flat : zt,
757
761
  (u = a.buttons) == null ? void 0 : u.value
@@ -766,17 +770,17 @@ const ma = /* @__PURE__ */ k({
766
770
  const u = q("role"), l = q("permit");
767
771
  return p(), w("div", Nt, [
768
772
  b(e(G), null, {
769
- default: m(() => [
770
- (p(!0), w(F, null, L(c.value, (i) => Q((p(), h(e(O), {
773
+ default: _(() => [
774
+ (p(!0), w(M, null, L(c.value, (i) => Q((p(), h(e(O), {
771
775
  key: i.key,
772
776
  type: i.type,
773
777
  danger: i.danger,
774
778
  disabled: e(j)(i),
775
779
  icon: i.icon,
776
- onClick: (_) => e(R)(i, e(t), e(a))
780
+ onClick: (m) => e(R)(i, e(t), e(a))
777
781
  }, {
778
- default: m(() => [
779
- M(D(i.label), 1)
782
+ default: _(() => [
783
+ P(D(i.label), 1)
780
784
  ]),
781
785
  _: 2
782
786
  }, 1032, ["type", "danger", "disabled", "icon", "onClick"])), [
@@ -784,16 +788,16 @@ const ma = /* @__PURE__ */ k({
784
788
  [l, i.permit]
785
789
  ])), 128)),
786
790
  d.value.length > 0 ? (p(), h(e(re), { key: 0 }, {
787
- overlay: m(() => [
791
+ overlay: _(() => [
788
792
  b(e(ue), null, {
789
- default: m(() => [
790
- (p(!0), w(F, null, L(d.value, (i) => Q((p(), h(e(ie), {
793
+ default: _(() => [
794
+ (p(!0), w(M, null, L(d.value, (i) => Q((p(), h(e(ie), {
791
795
  key: i.key,
792
796
  disabled: e(j)(i),
793
- onClick: (_) => e(R)(i, e(t), e(a))
797
+ onClick: (m) => e(R)(i, e(t), e(a))
794
798
  }, {
795
- default: m(() => [
796
- M(D(i.label), 1)
799
+ default: _(() => [
800
+ P(D(i.label), 1)
797
801
  ]),
798
802
  _: 2
799
803
  }, 1032, ["disabled", "onClick"])), [
@@ -804,31 +808,31 @@ const ma = /* @__PURE__ */ k({
804
808
  _: 1
805
809
  })
806
810
  ]),
807
- default: m(() => [
811
+ default: _(() => [
808
812
  b(e(O), null, {
809
- default: m(() => s[0] || (s[0] = [
810
- M(" 更多操作 ")
813
+ default: _(() => s[0] || (s[0] = [
814
+ P(" 更多操作 ")
811
815
  ])),
812
816
  _: 1,
813
817
  __: [0]
814
818
  })
815
819
  ]),
816
820
  _: 1
817
- })) : C("", !0),
818
- c.value.length === 0 && d.value.length === 0 ? (p(), w("span", Ot)) : C("", !0)
821
+ })) : k("", !0),
822
+ c.value.length === 0 && d.value.length === 0 ? (p(), w("span", Ot)) : k("", !0)
819
823
  ]),
820
824
  _: 1
821
825
  }),
822
826
  b(e(G), { class: "mr-1" }, {
823
- default: m(() => [
824
- (p(), h(ze(Ft), { "grid-ctrl": e(a) }, null, 8, ["grid-ctrl"]))
827
+ default: _(() => [
828
+ (p(), h(ze(Mt), { "grid-ctrl": e(a) }, null, 8, ["grid-ctrl"]))
825
829
  ]),
826
830
  _: 1
827
831
  })
828
832
  ]);
829
833
  };
830
834
  }
831
- }), At = /* @__PURE__ */ k({
835
+ }), At = /* @__PURE__ */ C({
832
836
  __name: "index",
833
837
  props: {
834
838
  /**
@@ -862,10 +866,10 @@ const ma = /* @__PURE__ */ k({
862
866
  unCheckedChildren: t.value[1].label,
863
867
  unCheckedValue: t.value[1].value,
864
868
  onChange: d
865
- }, f.$attrs), null, 16, ["class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : C("", !0);
869
+ }, f.$attrs), null, 16, ["class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : k("", !0);
866
870
  };
867
871
  }
868
- }), ba = /* @__PURE__ */ k({
872
+ }), ba = /* @__PURE__ */ C({
869
873
  inheritAttrs: !1,
870
874
  __name: "index",
871
875
  props: {
@@ -885,8 +889,8 @@ const ma = /* @__PURE__ */ k({
885
889
  current: 1,
886
890
  pageSize: r.value,
887
891
  showTotal: (i) => `共 ${i} 条记录`,
888
- onChange: (i, _) => {
889
- d.value.current = i, d.value.pageSize = _, r.value = _, n.value = i, t && (t.pageNo.value = i, t.pageSize.value = _, t.remotePage && ve(t));
892
+ onChange: (i, m) => {
893
+ d.value.current = i, d.value.pageSize = m, r.value = m, n.value = i, t && (t.pageNo.value = i, t.pageSize.value = m, t.remotePage && ve(t));
890
894
  },
891
895
  ...o.pagination
892
896
  });
@@ -904,8 +908,8 @@ const ma = /* @__PURE__ */ k({
904
908
  { immediate: !0 }
905
909
  );
906
910
  const f = g(t.columns.value), s = {
907
- onChange: (i, _) => {
908
- t && (t.selectKeys.value = i, t.selectRows.value = _);
911
+ onChange: (i, m) => {
912
+ t && (t.selectKeys.value = i, t.selectRows.value = m);
909
913
  },
910
914
  columnWidth: "30px",
911
915
  getCheckboxProps: (i) => ({
@@ -933,15 +937,15 @@ const ma = /* @__PURE__ */ k({
933
937
  he(X.GridControl, t), t.tableData.value ? (c.value = t.tableData.value, t.total.value = c.value.length, d.value.total = t.total.value ?? 0) : t.autoload !== !1 && (t.remotePage ? c.value = (await ve(t)).rows : c.value = await Ve(t)), setTimeout(() => {
934
938
  l.value = !0;
935
939
  }, 50);
936
- }), (i, _) => {
937
- var T, P;
940
+ }), (i, m) => {
941
+ var S, F;
938
942
  const x = q("permit");
939
- return p(), w(F, null, [
940
- (T = e(t).buttons) != null && T.value.length || (P = e(t).tools) != null && P.length ? (p(), h(Kt, {
943
+ return p(), w(M, null, [
944
+ (S = e(t).buttons) != null && S.value.length || (F = e(t).tools) != null && F.length ? (p(), h(Kt, {
941
945
  key: 0,
942
946
  "grid-ctrl": e(t),
943
947
  "editor-ctrl": e(t).editor
944
- }, null, 8, ["grid-ctrl", "editor-ctrl"])) : C("", !0),
948
+ }, null, 8, ["grid-ctrl", "editor-ctrl"])) : k("", !0),
945
949
  l.value ? (p(), h(e(Ne), B({
946
950
  key: 1,
947
951
  class: "w-full",
@@ -955,7 +959,7 @@ const ma = /* @__PURE__ */ k({
955
959
  size: e(t).tableSize.value,
956
960
  bordered: ""
957
961
  }, e(a)), {
958
- bodyCell: m((y) => {
962
+ bodyCell: _((y) => {
959
963
  var A, E;
960
964
  return [
961
965
  I(i.$slots, "bodyCell", {
@@ -976,24 +980,24 @@ const ma = /* @__PURE__ */ k({
976
980
  loading: y == null ? void 0 : y.record.isLoading
977
981
  }, null, 8, ["checked", "onUpdate:checked", "disabled", "data", "onClick", "class", "loading"])), [
978
982
  [x, ":enabled", "disable"]
979
- ]) : C("", !0),
983
+ ]) : k("", !0),
980
984
  e(t) && ((E = y == null ? void 0 : y.column) == null ? void 0 : E.dataIndex) === "operation" ? I(i.$slots, "operate", {
981
985
  key: 1,
982
986
  record: y == null ? void 0 : y.record
983
987
  }, () => [
984
- b(Pt, {
988
+ b(Ft, {
985
989
  record: y == null ? void 0 : y.record,
986
990
  "grid-ctrl": e(t)
987
991
  }, null, 8, ["record", "grid-ctrl"])
988
- ]) : C("", !0)
992
+ ]) : k("", !0)
989
993
  ];
990
994
  }),
991
995
  _: 3
992
- }, 16, ["row-key", "data-source", "loading", "columns", "pagination", "row-selection", "scroll", "size"])) : C("", !0)
996
+ }, 16, ["row-key", "data-source", "loading", "columns", "pagination", "row-selection", "scroll", "size"])) : k("", !0)
993
997
  ], 64);
994
998
  };
995
999
  }
996
- }), Et = { class: "flex items-center gap-1" }, Yt = { class: "text-nowrap" }, Ca = /* @__PURE__ */ k({
1000
+ }), Et = { class: "flex items-center gap-1" }, Yt = { class: "text-nowrap" }, ka = /* @__PURE__ */ C({
997
1001
  __name: "index",
998
1002
  props: {
999
1003
  treeCtrl: {},
@@ -1045,48 +1049,48 @@ const ma = /* @__PURE__ */ k({
1045
1049
  loading: e(r).isTreeLoading,
1046
1050
  onSelect: s
1047
1051
  }, e(t)), {
1048
- title: m(({ key: i, label: _, icon: x }) => [
1052
+ title: _(({ key: i, label: m, icon: x }) => [
1049
1053
  I(u.$slots, "title", {
1050
- label: _,
1054
+ label: m,
1051
1055
  key: i,
1052
1056
  icon: x
1053
1057
  }, () => [
1054
- S("div", Et, [
1058
+ T("div", Et, [
1055
1059
  b(e(Y), { icon: x }, null, 8, ["icon"]),
1056
- S("span", Yt, D(_), 1)
1060
+ T("span", Yt, D(m), 1)
1057
1061
  ])
1058
1062
  ])
1059
1063
  ]),
1060
1064
  _: 3
1061
1065
  }, 16, ["tree-data", "expanded-keys", "selected-keys", "loading"]));
1062
1066
  }
1063
- }), ka = /* @__PURE__ */ V(_t, [["__scopeId", "data-v-1e39ad49"]]), Lt = {
1067
+ }), Ca = /* @__PURE__ */ V(_t, [["__scopeId", "data-v-1e39ad49"]]), Lt = {
1064
1068
  key: 0,
1065
1069
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
1066
- }, Rt = /* @__PURE__ */ k({
1070
+ }, Rt = /* @__PURE__ */ C({
1067
1071
  inheritAttrs: !1,
1068
1072
  __name: "index",
1069
1073
  props: We,
1070
1074
  emits: ["change", "update:labels", "update:value"],
1071
1075
  setup(v, { emit: o }) {
1072
- var _, x, T;
1076
+ var m, x, S;
1073
1077
  const a = v, t = W(), r = g({
1074
1078
  ...a.url,
1075
- url: ((_ = a.url) == null ? void 0 : _.url) || "",
1079
+ url: ((m = a.url) == null ? void 0 : m.url) || "",
1076
1080
  fieldMap: a.fieldMap || ((x = a.url) == null ? void 0 : x.fieldMap),
1077
- params: a.params || ((T = a.url) == null ? void 0 : T.params),
1081
+ params: a.params || ((S = a.url) == null ? void 0 : S.params),
1078
1082
  loadingText: !1
1079
1083
  }), n = K(), { editorCtrl: c, errInfo: d, labelText: f } = n, s = g(t.placeholder);
1080
1084
  $(
1081
1085
  () => r.value.loading,
1082
- (P) => {
1083
- P ? s.value = "" : s.value || (s.value = "请选择" + f.value);
1086
+ (F) => {
1087
+ F ? s.value = "" : s.value || (s.value = "请选择" + f.value);
1084
1088
  },
1085
1089
  { immediate: !0 }
1086
1090
  );
1087
1091
  const u = o;
1088
1092
  n.inputEmit = u;
1089
- const l = g([]), i = (P, y) => {
1093
+ const l = g([]), i = (F, y) => {
1090
1094
  if (!y || y.length === 0) {
1091
1095
  u("update:labels", []), u("update:value", []);
1092
1096
  return;
@@ -1106,12 +1110,12 @@ const ma = /* @__PURE__ */ k({
1106
1110
  }), $e(a.autoload, a, l, n, r.value, r.value.params);
1107
1111
  }), xe(() => {
1108
1112
  Se(a, n);
1109
- }), (P, y) => {
1113
+ }), (F, y) => {
1110
1114
  var A;
1111
1115
  return p(), w("div", null, [
1112
- l.value.length ? C("", !0) : (p(), w("div", Lt, [
1116
+ l.value.length ? k("", !0) : (p(), w("div", Lt, [
1113
1117
  b(e(Je), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
1114
- y[0] || (y[0] = S("span", null, "数据加载中...", -1))
1118
+ y[0] || (y[0] = T("span", null, "数据加载中...", -1))
1115
1119
  ])),
1116
1120
  b(e(rt), B({
1117
1121
  options: l.value,
@@ -1179,7 +1183,7 @@ const Ut = {
1179
1183
  timePickerLocale: te({}, jt)
1180
1184
  };
1181
1185
  de.lang.ok = "确定";
1182
- const Sa = /* @__PURE__ */ k({
1186
+ const Sa = /* @__PURE__ */ C({
1183
1187
  __name: "index",
1184
1188
  props: {
1185
1189
  valueFormat: {}
@@ -1199,7 +1203,7 @@ const Sa = /* @__PURE__ */ k({
1199
1203
  }, null, 8, ["class", "placeholder", "locale", "valueFormat"]);
1200
1204
  };
1201
1205
  }
1202
- }), qt = /* @__PURE__ */ k({
1206
+ }), qt = /* @__PURE__ */ C({
1203
1207
  __name: "index",
1204
1208
  props: {
1205
1209
  value: {}
@@ -1230,11 +1234,11 @@ const Sa = /* @__PURE__ */ k({
1230
1234
  f.value === "" && (f.value = void 0);
1231
1235
  };
1232
1236
  return (u, l) => {
1233
- var i, _;
1237
+ var i, m;
1234
1238
  return p(), h(e(oe), B({
1235
1239
  class: [
1236
1240
  (i = e(r)) == null ? void 0 : i.errClass,
1237
- ((_ = e(r)) == null ? void 0 : _.errClass) === "error" && !u.$slots.addonBefore && !u.$slots.addonAfter ? "!border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""
1241
+ ((m = e(r)) == null ? void 0 : m.errClass) === "error" && !u.$slots.addonBefore && !u.$slots.addonAfter ? "!border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""
1238
1242
  ],
1239
1243
  value: f.value,
1240
1244
  "onUpdate:value": l[0] || (l[0] = (x) => f.value = x),
@@ -1246,14 +1250,14 @@ const Sa = /* @__PURE__ */ k({
1246
1250
  }, u.$attrs), ge({ _: 2 }, [
1247
1251
  u.$slots.addonBefore ? {
1248
1252
  name: "addonBefore",
1249
- fn: m(() => [
1253
+ fn: _(() => [
1250
1254
  I(u.$slots, "addonBefore")
1251
1255
  ]),
1252
1256
  key: "0"
1253
1257
  } : void 0,
1254
1258
  u.$slots.addonAfter ? {
1255
1259
  name: "addonAfter",
1256
- fn: m(() => [
1260
+ fn: _(() => [
1257
1261
  I(u.$slots, "addonAfter")
1258
1262
  ]),
1259
1263
  key: "1"
@@ -1261,7 +1265,7 @@ const Sa = /* @__PURE__ */ k({
1261
1265
  ]), 1040, ["class", "value", "placeholder"]);
1262
1266
  };
1263
1267
  }
1264
- }), Qt = /* @__PURE__ */ k({
1268
+ }), Qt = /* @__PURE__ */ C({
1265
1269
  __name: "inputIcon",
1266
1270
  props: {
1267
1271
  value: {}
@@ -1285,7 +1289,7 @@ const Sa = /* @__PURE__ */ k({
1285
1289
  value: r.value,
1286
1290
  "onUpdate:value": c[0] || (c[0] = (d) => r.value = d)
1287
1291
  }, n.$attrs), {
1288
- addonBefore: m(() => [
1292
+ addonBefore: _(() => [
1289
1293
  b(e(Y), {
1290
1294
  class: "!w-4 !h-4",
1291
1295
  icon: r.value
@@ -1294,7 +1298,7 @@ const Sa = /* @__PURE__ */ k({
1294
1298
  _: 1
1295
1299
  }, 16, ["value"]));
1296
1300
  }
1297
- }), Ta = /* @__PURE__ */ V(Qt, [["__scopeId", "data-v-f7b3ed74"]]), Da = /* @__PURE__ */ k({
1301
+ }), Ta = /* @__PURE__ */ V(Qt, [["__scopeId", "data-v-f7b3ed74"]]), Da = /* @__PURE__ */ C({
1298
1302
  __name: "inputPassword",
1299
1303
  setup(v) {
1300
1304
  const { editorCtrl: o, labelText: a, errInfo: t } = K(), r = () => {
@@ -1311,7 +1315,7 @@ const Sa = /* @__PURE__ */ k({
1311
1315
  }, n.$attrs), null, 16, ["class", "placeholder"]);
1312
1316
  };
1313
1317
  }
1314
- }), Ia = /* @__PURE__ */ k({
1318
+ }), Ia = /* @__PURE__ */ C({
1315
1319
  __name: "inputNumber",
1316
1320
  setup(v) {
1317
1321
  const { editorCtrl: o, labelText: a, errInfo: t } = K(), r = () => {
@@ -1327,7 +1331,7 @@ const Sa = /* @__PURE__ */ k({
1327
1331
  }, n.$attrs), null, 16, ["class", "placeholder"]);
1328
1332
  };
1329
1333
  }
1330
- }), Vt = { class: "flex flex-col gap-2" }, Ht = { class: "w-[33%]" }, Wt = { class: "w-[64%]" }, Ba = /* @__PURE__ */ k({
1334
+ }), Vt = { class: "flex flex-col gap-2" }, Ht = { class: "w-[33%]" }, Wt = { class: "w-[64%]" }, Ba = /* @__PURE__ */ C({
1331
1335
  __name: "index",
1332
1336
  props: {
1333
1337
  value: {},
@@ -1361,45 +1365,45 @@ const Sa = /* @__PURE__ */ k({
1361
1365
  d();
1362
1366
  };
1363
1367
  return (u, l) => (p(), w("div", Vt, [
1364
- (p(!0), w(F, null, L(r.value, (i) => (p(), w("div", {
1368
+ (p(!0), w(M, null, L(r.value, (i) => (p(), w("div", {
1365
1369
  key: i.id,
1366
1370
  class: "flex items-center gap-2"
1367
1371
  }, [
1368
- S("div", Ht, [
1372
+ T("div", Ht, [
1369
1373
  b(e(oe), {
1370
1374
  value: i.field,
1371
- "onUpdate:value": (_) => i.field = _,
1375
+ "onUpdate:value": (m) => i.field = m,
1372
1376
  title: i.field,
1373
1377
  class: "w-full",
1374
1378
  placeholder: u.labelHolder || "配置名",
1375
1379
  onInput: s
1376
1380
  }, null, 8, ["value", "onUpdate:value", "title", "placeholder"])
1377
1381
  ]),
1378
- l[0] || (l[0] = S("div", { class: "w-[3%]" }, " = ", -1)),
1379
- S("div", Wt, [
1382
+ l[0] || (l[0] = T("div", { class: "w-[3%]" }, " = ", -1)),
1383
+ T("div", Wt, [
1380
1384
  b(e(oe), {
1381
1385
  value: i.value,
1382
- "onUpdate:value": (_) => i.value = _,
1386
+ "onUpdate:value": (m) => i.value = m,
1383
1387
  placeholder: u.valueHolder,
1384
1388
  onInput: s,
1385
1389
  title: i.value
1386
1390
  }, null, 8, ["value", "onUpdate:value", "placeholder", "title"])
1387
1391
  ])
1388
1392
  ]))), 128)),
1389
- b(e(Fe), {
1393
+ b(e(Me), {
1390
1394
  onClick: f,
1391
1395
  class: "mt-1 w-[80px] !text-[12px] text-[#666] bg-[#e6f7ff] border-[#b3e0ff] hover:bg-[#b3e0ff] hover:border-[#8abeff]",
1392
1396
  size: "small"
1393
1397
  }, {
1394
- default: m(() => l[1] || (l[1] = [
1395
- M(" 新增配置行 ")
1398
+ default: _(() => l[1] || (l[1] = [
1399
+ P(" 新增配置行 ")
1396
1400
  ])),
1397
1401
  _: 1,
1398
1402
  __: [1]
1399
1403
  })
1400
1404
  ]));
1401
1405
  }
1402
- }), Jt = /* @__PURE__ */ V(gt, [["__scopeId", "data-v-f9b2ac3d"]]), Pa = /* @__PURE__ */ k({
1406
+ }), Jt = /* @__PURE__ */ V(gt, [["__scopeId", "data-v-f9b2ac3d"]]), Fa = /* @__PURE__ */ C({
1403
1407
  __name: "radioStatus",
1404
1408
  props: {
1405
1409
  /**
@@ -1433,7 +1437,7 @@ const Sa = /* @__PURE__ */ k({
1433
1437
  value: o.allValue || [0, 1]
1434
1438
  }), (t, r) => (p(), h(Jt, { data: a.value }, null, 8, ["data"]));
1435
1439
  }
1436
- }), Ma = /* @__PURE__ */ k({
1440
+ }), Pa = /* @__PURE__ */ C({
1437
1441
  __name: "index",
1438
1442
  props: {
1439
1443
  startDate: {},
@@ -1469,7 +1473,7 @@ const Sa = /* @__PURE__ */ k({
1469
1473
  }, null, 8, ["class", "locale", "value-format", "value"]);
1470
1474
  };
1471
1475
  }
1472
- }), Fa = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-bf782acb"]]), Na = /* @__PURE__ */ k({
1476
+ }), Ma = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-bf782acb"]]), Na = /* @__PURE__ */ C({
1473
1477
  __name: "index",
1474
1478
  setup(v) {
1475
1479
  const { editorCtrl: o, labelText: a, errInfo: t } = K(), r = () => {
@@ -1489,7 +1493,7 @@ const Sa = /* @__PURE__ */ k({
1489
1493
  }, n.$attrs), null, 16, ["class", "placeholder"]);
1490
1494
  };
1491
1495
  }
1492
- }), Gt = /* @__PURE__ */ k({
1496
+ }), Gt = /* @__PURE__ */ C({
1493
1497
  __name: "index",
1494
1498
  props: {
1495
1499
  autoload: { type: Boolean },
@@ -1525,18 +1529,18 @@ const Sa = /* @__PURE__ */ k({
1525
1529
  }
1526
1530
  }
1527
1531
  }), (l, i) => {
1528
- var _;
1532
+ var m;
1529
1533
  return p(), h(e(dt), B({
1530
- class: ((_ = e(c)) == null ? void 0 : _.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
1534
+ class: ((m = e(c)) == null ? void 0 : m.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
1531
1535
  placeholder: "请输入" + e(n),
1532
1536
  targetKeys: s.value,
1533
1537
  onChange: u
1534
1538
  }, l.$attrs), {
1535
- children: m(({ direction: x, disabled: T, filteredItems: P, onItemSelectAll: y, onItemSelect: A, selectedKeys: E }) => [
1539
+ children: _(({ direction: x, disabled: S, filteredItems: F, onItemSelectAll: y, onItemSelect: A, selectedKeys: E }) => [
1536
1540
  I(l.$slots, "children", {
1537
1541
  direction: x,
1538
- disabled: T,
1539
- filteredItems: P,
1542
+ disabled: S,
1543
+ filteredItems: F,
1540
1544
  onItemSelectAll: y,
1541
1545
  onItemSelect: A,
1542
1546
  selectedKeys: E
@@ -1546,7 +1550,7 @@ const Sa = /* @__PURE__ */ k({
1546
1550
  }, 16, ["class", "placeholder", "targetKeys"]);
1547
1551
  };
1548
1552
  }
1549
- }), Oa = /* @__PURE__ */ k({
1553
+ }), Oa = /* @__PURE__ */ C({
1550
1554
  __name: "transferTable",
1551
1555
  props: {
1552
1556
  /**
@@ -1586,16 +1590,16 @@ const Sa = /* @__PURE__ */ k({
1586
1590
  }
1587
1591
  ), a.gridCtrl.autoload = !1, a.gridCtrl.remotePage = !1, a.gridCtrl.selectable = g(!0), a.gridCtrl.buttons = g([]), a.gridCtrl.tools = [];
1588
1592
  const d = ({ disabled: s, selectedKeys: u, onItemSelectAll: l, onItemSelect: i }) => ({
1589
- getCheckboxProps: (_) => ({
1593
+ getCheckboxProps: (m) => ({
1590
1594
  // 控制是否禁止
1591
- disabled: s || _.disabled
1595
+ disabled: s || m.disabled
1592
1596
  }),
1593
- onSelectAll(_, x) {
1594
- const T = x.filter((P) => !P.disabled).map(({ [c.value]: P }) => P);
1595
- l(T, _);
1597
+ onSelectAll(m, x) {
1598
+ const S = x.filter((F) => !F.disabled).map(({ [c.value]: F }) => F);
1599
+ l(S, m);
1596
1600
  },
1597
- onSelect({ [c.value]: _ }, x) {
1598
- i(_, x);
1601
+ onSelect({ [c.value]: m }, x) {
1602
+ i(m, x);
1599
1603
  },
1600
1604
  selectedRowKeys: u
1601
1605
  }), f = g([]);
@@ -1621,13 +1625,13 @@ const Sa = /* @__PURE__ */ k({
1621
1625
  "show-select-all": !1,
1622
1626
  "show-search": !0,
1623
1627
  "filter-option": (l, i) => {
1624
- for (const _ of a.gridCtrl.columns.value)
1625
- if (i[_.dataIndex].toString().indexOf(l) !== -1)
1628
+ for (const m of a.gridCtrl.columns.value)
1629
+ if (i[m.dataIndex].toString().indexOf(l) !== -1)
1626
1630
  return !0;
1627
1631
  return !1;
1628
1632
  }
1629
1633
  }, s.$attrs), {
1630
- children: m(({ filteredItems: l, onItemSelectAll: i, onItemSelect: _, selectedKeys: x }) => [
1634
+ children: _(({ filteredItems: l, onItemSelectAll: i, onItemSelect: m, selectedKeys: x }) => [
1631
1635
  b(e(Ne), {
1632
1636
  columns: v.gridCtrl.columns.value,
1633
1637
  "row-key": c.value,
@@ -1635,16 +1639,16 @@ const Sa = /* @__PURE__ */ k({
1635
1639
  disabled: !1,
1636
1640
  selectedKeys: x,
1637
1641
  onItemSelectAll: i,
1638
- onItemSelect: _
1642
+ onItemSelect: m
1639
1643
  }),
1640
1644
  bordered: !1,
1641
1645
  size: "small",
1642
1646
  "data-source": l,
1643
1647
  scroll: { x: 300 },
1644
- "custom-row": (T) => ({
1648
+ "custom-row": (S) => ({
1645
1649
  onClick: () => {
1646
- const P = T[c.value];
1647
- _(P, !x.includes(P));
1650
+ const F = S[c.value];
1651
+ m(F, !x.includes(F));
1648
1652
  }
1649
1653
  })
1650
1654
  }, null, 8, ["columns", "row-key", "row-selection", "data-source", "custom-row"])
@@ -1652,7 +1656,7 @@ const Sa = /* @__PURE__ */ k({
1652
1656
  _: 1
1653
1657
  }, 16, ["data-source", "row-key", "value", "filter-option"]));
1654
1658
  }
1655
- }), Xt = /* @__PURE__ */ k({
1659
+ }), Xt = /* @__PURE__ */ C({
1656
1660
  __name: "index",
1657
1661
  props: {
1658
1662
  multiple: {
@@ -1696,9 +1700,9 @@ const Sa = /* @__PURE__ */ k({
1696
1700
  value: "Id"
1697
1701
  }), t.data.value ? f.value = t.fieldMap ? ee(t.fieldMap, t.data.value) : t.data.value : a.treeCtrl.autoload && De(a.treeCtrl);
1698
1702
  }), (l, i) => {
1699
- var _;
1703
+ var m;
1700
1704
  return p(), h(e(ct), B({
1701
- class: [[(_ = e(n)) == null ? void 0 : _.errClass], "w-full"],
1705
+ class: [[(m = e(n)) == null ? void 0 : m.errClass], "w-full"],
1702
1706
  "tree-line": "",
1703
1707
  multiple: v.multiple,
1704
1708
  "tree-default-expanded-keys": ["-"],
@@ -1714,7 +1718,7 @@ const Sa = /* @__PURE__ */ k({
1714
1718
  }), za = /* @__PURE__ */ V(Xt, [["__scopeId", "data-v-64be74cc"]]), Zt = { class: "relative h-[calc(100vh-80px)] overflow-y-auto" }, ea = { class: "flex w-full h-full min-h-full" }, ta = {
1715
1719
  key: 0,
1716
1720
  class: "w-1/4 pr-4 min-h-full min-w-[170px] max-w-[200px]"
1717
- }, aa = { class: "flex-1 h-full overflow-y-auto" }, Ka = /* @__PURE__ */ k({
1721
+ }, aa = { class: "flex-1 h-full overflow-y-auto" }, Ka = /* @__PURE__ */ C({
1718
1722
  __name: "index",
1719
1723
  props: {
1720
1724
  left: { type: Boolean }
@@ -1728,12 +1732,12 @@ const Sa = /* @__PURE__ */ k({
1728
1732
  backgroundColor: e(a).colorBgContainer
1729
1733
  })
1730
1734
  }, {
1731
- default: m(() => [
1732
- S("div", ea, [
1735
+ default: _(() => [
1736
+ T("div", ea, [
1733
1737
  t.left ? (p(), w("div", ta, [
1734
1738
  I(t.$slots, "left")
1735
- ])) : C("", !0),
1736
- S("div", aa, [
1739
+ ])) : k("", !0),
1740
+ T("div", aa, [
1737
1741
  I(t.$slots, "default")
1738
1742
  ])
1739
1743
  ])
@@ -1742,7 +1746,7 @@ const Sa = /* @__PURE__ */ k({
1742
1746
  }, 8, ["style"])
1743
1747
  ]));
1744
1748
  }
1745
- }), la = { class: "font-['Courier'] text-[#666]" }, Aa = /* @__PURE__ */ k({
1749
+ }), la = { class: "font-['Courier'] text-[#666]" }, Aa = /* @__PURE__ */ C({
1746
1750
  __name: "index",
1747
1751
  setup(v) {
1748
1752
  const o = g("");
@@ -1756,7 +1760,7 @@ const Sa = /* @__PURE__ */ k({
1756
1760
  });
1757
1761
  export {
1758
1762
  qa as AppIcon,
1759
- ka as AutoComplete,
1763
+ Ca as AutoComplete,
1760
1764
  Qa as Breadcrumb,
1761
1765
  O as Button,
1762
1766
  wa as Cascader,
@@ -1773,7 +1777,7 @@ export {
1773
1777
  Ha as HeaderExits,
1774
1778
  bt as Helper,
1775
1779
  Wa as Icon,
1776
- Ft as Icontool,
1780
+ Mt as Icontool,
1777
1781
  qt as Input,
1778
1782
  Ta as InputIcon,
1779
1783
  Ia as InputNumber,
@@ -1784,21 +1788,21 @@ export {
1784
1788
  Xa as ProjectIcon,
1785
1789
  Ba as PropEditor,
1786
1790
  Jt as Radio,
1787
- Pa as RadioStatus,
1788
- Ma as RangePicker,
1791
+ Fa as RadioStatus,
1792
+ Pa as RangePicker,
1789
1793
  ya as Search,
1790
1794
  le as SearchItem,
1791
- Fa as Select,
1795
+ Ma as Select,
1792
1796
  At as Switch,
1793
1797
  ba as Table,
1794
- Pt as TableOperate,
1798
+ Ft as TableOperate,
1795
1799
  Na as Textarea,
1796
1800
  Y as ToolIcon,
1797
1801
  Kt as Toolbar,
1798
1802
  Ua as Tooltip,
1799
1803
  Gt as Transfer,
1800
1804
  Oa as TransferTable,
1801
- Ca as Tree,
1805
+ ka as Tree,
1802
1806
  za as TreeSelect,
1803
1807
  el as UploadList
1804
1808
  };