@skyfox2000/webui 1.0.4 → 1.0.6
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/components/common/button/index.vue.d.ts +0 -1
- package/lib/components/common/icon/appicon.vue.d.ts +0 -1
- package/lib/components/common/icon/fullscreen.vue.d.ts +0 -1
- package/lib/components/common/icon/helper.vue.d.ts +0 -1
- package/lib/components/common/icon/index.vue.d.ts +0 -1
- package/lib/components/common/icon/layoutIcon.vue.d.ts +0 -1
- package/lib/components/common/icon/projectIcon.vue.d.ts +0 -1
- package/lib/components/common/icon/toolIcon.vue.d.ts +0 -1
- package/lib/components/common/index.d.ts +0 -1
- package/lib/components/common/tooltip/index.vue.d.ts +0 -1
- package/lib/components/content/dialog/index.vue.d.ts +0 -1
- package/lib/components/content/drawer/index.vue.d.ts +0 -1
- package/lib/components/content/form/formItem.vue.d.ts +0 -1
- package/lib/components/content/form/index.vue.d.ts +0 -1
- package/lib/components/content/index.d.ts +0 -1
- package/lib/components/content/search/index.vue.d.ts +0 -1
- package/lib/components/content/search/searchItem.vue.d.ts +0 -1
- package/lib/components/content/table/index.vue.d.ts +0 -1
- package/lib/components/content/table/tableOperate.vue.d.ts +0 -1
- package/lib/components/content/toolbar/icontool.vue.d.ts +0 -1
- package/lib/components/content/toolbar/index.vue.d.ts +0 -1
- package/lib/components/content/tree/index.vue.d.ts +0 -1
- package/lib/components/form/aceEditor/aceConfig.d.ts +0 -1
- package/lib/components/form/autoComplete/index.vue.d.ts +0 -1
- package/lib/components/form/cascader/index.vue.d.ts +0 -1
- package/lib/components/form/checkbox/index.vue.d.ts +0 -1
- package/lib/components/form/datePicker/index.vue.d.ts +0 -1
- package/lib/components/form/index.d.ts +0 -1
- package/lib/components/form/input/index.vue.d.ts +0 -1
- package/lib/components/form/input/inputIcon.vue.d.ts +0 -1
- package/lib/components/form/input/inputNumber.vue.d.ts +0 -1
- package/lib/components/form/input/inputPassword.vue.d.ts +0 -1
- package/lib/components/form/propEditor/index.vue.d.ts +0 -1
- package/lib/components/form/radio/index.vue.d.ts +0 -1
- package/lib/components/form/radio/radioStatus.vue.d.ts +0 -1
- package/lib/components/form/rangePicker/index.vue.d.ts +0 -1
- package/lib/components/form/select/index.vue.d.ts +0 -1
- package/lib/components/form/switch/index.vue.d.ts +0 -1
- package/lib/components/form/textarea/index.vue.d.ts +0 -1
- package/lib/components/form/transfer/index.vue.d.ts +0 -1
- package/lib/components/form/transfer/transferTable.vue.d.ts +0 -1
- package/lib/components/form/treeSelect/index.vue.d.ts +0 -1
- package/lib/components/form/upload/uploadList.vue.d.ts +0 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/components/layout/breadcrumb/index.vue.d.ts +0 -1
- package/lib/components/layout/content/index.vue.d.ts +0 -1
- package/lib/components/layout/datetime/index.vue.d.ts +0 -1
- package/lib/components/layout/header/headerExits.vue.d.ts +0 -1
- package/lib/components/layout/header/index.vue.d.ts +0 -1
- package/lib/components/layout/header/user.vue.d.ts +0 -1
- package/lib/components/layout/index.d.ts +0 -1
- package/lib/components/layout/menu/index.vue.d.ts +0 -1
- package/lib/components/layout/menu/menuTabs.vue.d.ts +0 -1
- package/lib/webui.es.js +85 -85
- package/package.json +2 -2
- package/src/components/content/search/index.vue +4 -0
- package/tsconfig.json +1 -1
- package/lib/components/common/button/index.vue.d.ts.map +0 -1
- package/lib/components/common/icon/appicon.vue.d.ts.map +0 -1
- package/lib/components/common/icon/fullscreen.vue.d.ts.map +0 -1
- package/lib/components/common/icon/helper.vue.d.ts.map +0 -1
- package/lib/components/common/icon/index.vue.d.ts.map +0 -1
- package/lib/components/common/icon/layoutIcon.vue.d.ts.map +0 -1
- package/lib/components/common/icon/projectIcon.vue.d.ts.map +0 -1
- package/lib/components/common/icon/toolIcon.vue.d.ts.map +0 -1
- package/lib/components/common/index.d.ts.map +0 -1
- package/lib/components/common/tooltip/index.vue.d.ts.map +0 -1
- package/lib/components/content/dialog/index.vue.d.ts.map +0 -1
- package/lib/components/content/drawer/index.vue.d.ts.map +0 -1
- package/lib/components/content/form/formItem.vue.d.ts.map +0 -1
- package/lib/components/content/form/index.vue.d.ts.map +0 -1
- package/lib/components/content/index.d.ts.map +0 -1
- package/lib/components/content/search/index.vue.d.ts.map +0 -1
- package/lib/components/content/search/searchItem.vue.d.ts.map +0 -1
- package/lib/components/content/table/index.vue.d.ts.map +0 -1
- package/lib/components/content/table/tableOperate.vue.d.ts.map +0 -1
- package/lib/components/content/toolbar/icontool.vue.d.ts.map +0 -1
- package/lib/components/content/toolbar/index.vue.d.ts.map +0 -1
- package/lib/components/content/tree/index.vue.d.ts.map +0 -1
- package/lib/components/form/aceEditor/aceConfig.d.ts.map +0 -1
- package/lib/components/form/autoComplete/index.vue.d.ts.map +0 -1
- package/lib/components/form/cascader/index.vue.d.ts.map +0 -1
- package/lib/components/form/checkbox/index.vue.d.ts.map +0 -1
- package/lib/components/form/datePicker/index.vue.d.ts.map +0 -1
- package/lib/components/form/index.d.ts.map +0 -1
- package/lib/components/form/input/index.vue.d.ts.map +0 -1
- package/lib/components/form/input/inputIcon.vue.d.ts.map +0 -1
- package/lib/components/form/input/inputNumber.vue.d.ts.map +0 -1
- package/lib/components/form/input/inputPassword.vue.d.ts.map +0 -1
- package/lib/components/form/propEditor/index.vue.d.ts.map +0 -1
- package/lib/components/form/radio/index.vue.d.ts.map +0 -1
- package/lib/components/form/radio/radioStatus.vue.d.ts.map +0 -1
- package/lib/components/form/rangePicker/index.vue.d.ts.map +0 -1
- package/lib/components/form/select/index.vue.d.ts.map +0 -1
- package/lib/components/form/switch/index.vue.d.ts.map +0 -1
- package/lib/components/form/textarea/index.vue.d.ts.map +0 -1
- package/lib/components/form/transfer/index.vue.d.ts.map +0 -1
- package/lib/components/form/transfer/transferTable.vue.d.ts.map +0 -1
- package/lib/components/form/treeSelect/index.vue.d.ts.map +0 -1
- package/lib/components/form/upload/uploadList.vue.d.ts.map +0 -1
- package/lib/components/index.d.ts.map +0 -1
- package/lib/components/layout/breadcrumb/index.vue.d.ts.map +0 -1
- package/lib/components/layout/content/index.vue.d.ts.map +0 -1
- package/lib/components/layout/datetime/index.vue.d.ts.map +0 -1
- package/lib/components/layout/header/headerExits.vue.d.ts.map +0 -1
- package/lib/components/layout/header/index.vue.d.ts.map +0 -1
- package/lib/components/layout/header/user.vue.d.ts.map +0 -1
- package/lib/components/layout/index.d.ts.map +0 -1
- package/lib/components/layout/menu/index.vue.d.ts.map +0 -1
- package/lib/components/layout/menu/menuTabs.vue.d.ts.map +0 -1
package/lib/webui.es.js
CHANGED
|
@@ -4,20 +4,20 @@ import { _ as Y } from "./assets/modules/index-BEWJ_qAH.js";
|
|
|
4
4
|
import { a as qa } from "./assets/modules/index-BEWJ_qAH.js";
|
|
5
5
|
import { _ as j } from "./assets/modules/menuTabs-BXdbFZor.js";
|
|
6
6
|
import { a as Va, c as ja, d as Ha, e as Wa, I as Ja, f as Ga, g as Xa, b as Za } from "./assets/modules/menuTabs-BXdbFZor.js";
|
|
7
|
-
import { defineComponent as C, createBlock as
|
|
7
|
+
import { defineComponent as C, createBlock as g, openBlock as f, 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 ne, toDisplayString as D, createCommentVNode as k, ref as h, provide as ge, watch as $, onMounted as K, createTextVNode as P, inject as ue, resolveDirective as Q, withDirectives as V, computed as re, createElementBlock as w, normalizeClass as N, createSlots as he, useSlots as ze, Fragment as M, renderList as L, resolveDynamicComponent as Ke, onUnmounted as xe, onActivated as Oe, withKeys as fe } from "vue";
|
|
8
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 q, useToolFactory as Ue, getToolByKey as Z, filterColumns as we, onColumnVisibleChanged as qe, AppRouter as Qe, openNewForm as Ve, useInputFactory as O, loadOption as $e, unloadOption as Se, formValidate as U, gridQueryFind as ve, gridQueryList as je, gridStatusUpdate as He, OPTIONS as Te, queryTree as De, OptionCommProps as We, circleLoading as Je, doQuery as Ie } from "@skyfox2000/webbase";
|
|
9
9
|
import { Popover as Ge, theme as Be, Drawer as Xe, Space as G, Form as Fe, message as Ze, FormItem as Pe, ConfigProvider as me, Popconfirm as et, Button as Me, DropdownButton as tt, Menu as ie, MenuItem as de, Dropdown as oe, Checkbox as at, Switch as lt, Table as Ne, Tree as rt, Cascader as ot, DatePicker as st, Input as se, InputPassword as nt, InputNumber as ut, RangePicker as it, Textarea as dt, Transfer as ct, TreeSelect as pt, LayoutContent as ft } from "ant-design-vue";
|
|
10
10
|
import { SERVER_HOST as vt, fieldMapping as ee } from "@skyfox2000/fapi";
|
|
11
11
|
import { VueDraggableNext as mt } from "vue-draggable-next";
|
|
12
12
|
import _t from "vue-m-message";
|
|
13
|
-
import { _ as
|
|
13
|
+
import { _ as gt, a as ht, b as xt, c as yt } from "./assets/modules/index-BahGnrAq.js";
|
|
14
14
|
import _e from "dayjs";
|
|
15
15
|
import { _ as tl } from "./assets/modules/uploadList-Dzlg47V0.js";
|
|
16
16
|
const _a = /* @__PURE__ */ C({
|
|
17
17
|
__name: "fullscreen",
|
|
18
18
|
setup(v) {
|
|
19
19
|
const r = ye();
|
|
20
|
-
return (a, t) => (f(),
|
|
20
|
+
return (a, t) => (f(), g(Y, {
|
|
21
21
|
onClick: J(e(Ae), ["stop"]),
|
|
22
22
|
icon: e(r).fullscreen ? "icon-exitscreen" : "icon-fullscreen",
|
|
23
23
|
class: "w-[17px] h-[17px]"
|
|
@@ -32,7 +32,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
32
32
|
},
|
|
33
33
|
setup(v) {
|
|
34
34
|
const r = W();
|
|
35
|
-
return (a, t) => (f(),
|
|
35
|
+
return (a, t) => (f(), g(e(Ge), { placement: "topRight" }, {
|
|
36
36
|
content: _(() => [
|
|
37
37
|
I(a.$slots, "default", {}, () => [
|
|
38
38
|
T("div", {
|
|
@@ -52,7 +52,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
52
52
|
_: 3
|
|
53
53
|
}));
|
|
54
54
|
}
|
|
55
|
-
}),
|
|
55
|
+
}), ga = /* @__PURE__ */ C({
|
|
56
56
|
__name: "layoutIcon",
|
|
57
57
|
props: {
|
|
58
58
|
icon: {
|
|
@@ -69,14 +69,14 @@ const _a = /* @__PURE__ */ C({
|
|
|
69
69
|
icon: r.icon,
|
|
70
70
|
icons: r.icons
|
|
71
71
|
});
|
|
72
|
-
return (o, n) => v.icon || v.icons ? (f(),
|
|
72
|
+
return (o, n) => v.icon || v.icons ? (f(), g(e(t), B({
|
|
73
73
|
key: 0,
|
|
74
74
|
icon: v.icon,
|
|
75
75
|
icons: v.icons,
|
|
76
76
|
class: ["align-middle"]
|
|
77
77
|
}, o.$attrs), null, 16, ["icon", "icons"])) : k("", !0);
|
|
78
78
|
}
|
|
79
|
-
}), Ct = { class: "hover:bg-gray-200 w-[24px] h-[24px] rounded-md" },
|
|
79
|
+
}), Ct = { class: "hover:bg-gray-200 w-[24px] h-[24px] rounded-md" }, ha = /* @__PURE__ */ C({
|
|
80
80
|
__name: "index",
|
|
81
81
|
props: {
|
|
82
82
|
saveText: {},
|
|
@@ -85,8 +85,8 @@ const _a = /* @__PURE__ */ C({
|
|
|
85
85
|
editorCtrl: {}
|
|
86
86
|
},
|
|
87
87
|
setup(v) {
|
|
88
|
-
const { useToken: r } = Be, { token: a } = r(), t =
|
|
89
|
-
|
|
88
|
+
const { useToken: r } = Be, { token: a } = r(), t = h(!1), n = v.editorCtrl;
|
|
89
|
+
ge(X.EditorControl, n), $(
|
|
90
90
|
() => n.visible.value,
|
|
91
91
|
(d) => {
|
|
92
92
|
t.value = d ?? !1;
|
|
@@ -97,7 +97,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
97
97
|
const p = () => {
|
|
98
98
|
ae(n);
|
|
99
99
|
};
|
|
100
|
-
return (d, c) => (f(),
|
|
100
|
+
return (d, c) => (f(), g(e(Xe), {
|
|
101
101
|
open: t.value,
|
|
102
102
|
"onUpdate:open": c[4] || (c[4] = (s) => t.value = s),
|
|
103
103
|
"get-container": !1,
|
|
@@ -140,7 +140,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
140
140
|
footer: _(() => [
|
|
141
141
|
b(e(G), null, {
|
|
142
142
|
default: _(() => [
|
|
143
|
-
d.cancelText !== "" ? (f(),
|
|
143
|
+
d.cancelText !== "" ? (f(), g(e(z), {
|
|
144
144
|
key: 0,
|
|
145
145
|
onClick: c[1] || (c[1] = () => e(ae)(e(n)))
|
|
146
146
|
}, {
|
|
@@ -149,7 +149,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
149
149
|
]),
|
|
150
150
|
_: 1
|
|
151
151
|
})) : k("", !0),
|
|
152
|
-
d.saveAsText !== "" && e(n).saveAsBtnVisible !== !1 ? (f(),
|
|
152
|
+
d.saveAsText !== "" && e(n).saveAsBtnVisible !== !1 ? (f(), g(e(z), {
|
|
153
153
|
key: 1,
|
|
154
154
|
onClick: c[2] || (c[2] = () => e(Ye)(e(n))),
|
|
155
155
|
type: "primary",
|
|
@@ -160,7 +160,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
160
160
|
]),
|
|
161
161
|
_: 1
|
|
162
162
|
}, 8, ["loading"])) : k("", !0),
|
|
163
|
-
d.saveText !== "" && e(n).saveBtnVisible !== !1 ? (f(),
|
|
163
|
+
d.saveText !== "" && e(n).saveBtnVisible !== !1 ? (f(), g(e(z), {
|
|
164
164
|
key: 2,
|
|
165
165
|
onClick: c[3] || (c[3] = () => e(be)(e(n))),
|
|
166
166
|
type: "primary",
|
|
@@ -189,7 +189,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
189
189
|
const r = v, a = r.editorCtrl ?? ue(X.EditorControl, void 0);
|
|
190
190
|
return (t, o) => {
|
|
191
191
|
const n = Q("submit");
|
|
192
|
-
return V((f(),
|
|
192
|
+
return V((f(), g(e(Fe), {
|
|
193
193
|
"label-col": { flex: r.labelWidth ?? "85px" },
|
|
194
194
|
"wrapper-col": {
|
|
195
195
|
flex: r.wrapperWidth ?? "1"
|
|
@@ -226,7 +226,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
226
226
|
width: {}
|
|
227
227
|
},
|
|
228
228
|
setup(v) {
|
|
229
|
-
const r = v, a = W(), t = ue(X.EditorControl, void 0), o = ke(r, t), n =
|
|
229
|
+
const r = v, a = W(), t = ue(X.EditorControl, void 0), o = ke(r, t), n = h(!1);
|
|
230
230
|
setTimeout(() => {
|
|
231
231
|
n.value = !0;
|
|
232
232
|
}, 30);
|
|
@@ -245,7 +245,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
245
245
|
return (c, s) => (f(), w("div", {
|
|
246
246
|
class: N(["w-full relative mb-1", c.width])
|
|
247
247
|
}, [
|
|
248
|
-
n.value ? (f(),
|
|
248
|
+
n.value ? (f(), g(e(Pe), B({
|
|
249
249
|
key: 0,
|
|
250
250
|
required: d.value,
|
|
251
251
|
class: "!w-[95%] relative"
|
|
@@ -264,7 +264,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
264
264
|
]),
|
|
265
265
|
T("div", St, [
|
|
266
266
|
I(c.$slots, "helper", {}, () => [
|
|
267
|
-
c.helper ? (f(),
|
|
267
|
+
c.helper ? (f(), g(e(kt), {
|
|
268
268
|
key: 0,
|
|
269
269
|
text: c.helper
|
|
270
270
|
}, null, 8, ["text"])) : k("", !0)
|
|
@@ -297,7 +297,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
297
297
|
}, e(a), {
|
|
298
298
|
class: [n.rule ? "" : "mb-3", n.width],
|
|
299
299
|
labelCol: { span: 6 }
|
|
300
|
-
}),
|
|
300
|
+
}), he({
|
|
301
301
|
default: _(() => [
|
|
302
302
|
T("div", It, [
|
|
303
303
|
T("div", Bt, [
|
|
@@ -329,7 +329,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
329
329
|
},
|
|
330
330
|
emits: ["update:search"],
|
|
331
331
|
setup(v, { emit: r }) {
|
|
332
|
-
const a = v, t = r, o =
|
|
332
|
+
const a = v, t = r, o = h(0), n = h(0), p = h(0), d = (m) => {
|
|
333
333
|
let x = 0;
|
|
334
334
|
for (let S = 0; S < m.length; S++)
|
|
335
335
|
typeof m[S].type == "object" && x++;
|
|
@@ -368,7 +368,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
368
368
|
...(x = a.gridCtrl.gridQuery) == null ? void 0 : x.Query,
|
|
369
369
|
...m
|
|
370
370
|
}
|
|
371
|
-
}, a.gridCtrl.reload.value = !0;
|
|
371
|
+
}, a.gridCtrl.pageNo.value = 1, a.gridCtrl.reload.value = !0;
|
|
372
372
|
}, i = () => {
|
|
373
373
|
const m = JSON.parse(JSON.stringify(u));
|
|
374
374
|
for (const x in a.search)
|
|
@@ -377,7 +377,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
377
377
|
};
|
|
378
378
|
return (m, x) => {
|
|
379
379
|
const S = Q("submit");
|
|
380
|
-
return n.value + p.value > 0 ? V((f(),
|
|
380
|
+
return n.value + p.value > 0 ? V((f(), g(e(Fe), {
|
|
381
381
|
key: 0,
|
|
382
382
|
"label-col": { flex: "60px" },
|
|
383
383
|
style: {
|
|
@@ -389,15 +389,15 @@ const _a = /* @__PURE__ */ C({
|
|
|
389
389
|
default: _(() => [
|
|
390
390
|
I(m.$slots, "default"),
|
|
391
391
|
m.gridCtrl.searchBar ? I(m.$slots, "control", { key: 0 }) : k("", !0),
|
|
392
|
-
o.value >= 1 ? (f(),
|
|
392
|
+
o.value >= 1 ? (f(), g(le, {
|
|
393
393
|
key: 1,
|
|
394
394
|
class: "w-1/3"
|
|
395
395
|
})) : k("", !0),
|
|
396
|
-
o.value >= 2 ? (f(),
|
|
396
|
+
o.value >= 2 ? (f(), g(le, {
|
|
397
397
|
key: 2,
|
|
398
398
|
class: "w-1/3"
|
|
399
399
|
})) : k("", !0),
|
|
400
|
-
n.value || m.gridCtrl.searchBar ? (f(),
|
|
400
|
+
n.value || m.gridCtrl.searchBar ? (f(), g(le, {
|
|
401
401
|
key: 3,
|
|
402
402
|
class: "w-1/3 flex justify-end text-right pr-5",
|
|
403
403
|
"wrapper-col": { flex: "auto" }
|
|
@@ -482,7 +482,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
482
482
|
};
|
|
483
483
|
return (d, c) => {
|
|
484
484
|
const s = Q("role"), u = Q("permit");
|
|
485
|
-
return f(),
|
|
485
|
+
return f(), g(e(me), { theme: {
|
|
486
486
|
token: {
|
|
487
487
|
fontSize: 13
|
|
488
488
|
}
|
|
@@ -493,7 +493,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
493
493
|
(f(!0), w(M, null, L(e(o), (l) => (f(), w(M, {
|
|
494
494
|
key: l.key
|
|
495
495
|
}, [
|
|
496
|
-
e(H)(l, r.record) ? (f(),
|
|
496
|
+
e(H)(l, r.record) ? (f(), g(e(et), {
|
|
497
497
|
key: 0,
|
|
498
498
|
disabled: p(l) || !l.confirm,
|
|
499
499
|
cancelText: "否",
|
|
@@ -504,7 +504,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
504
504
|
onConfirm: (i) => e(R)(l, e(a).page, e(a), r.record, !0)
|
|
505
505
|
}, {
|
|
506
506
|
default: _(() => [
|
|
507
|
-
e(H)(l, r.record) ? V((f(),
|
|
507
|
+
e(H)(l, r.record) ? V((f(), g(e(Me), {
|
|
508
508
|
key: l.key,
|
|
509
509
|
type: l.type ?? "text",
|
|
510
510
|
danger: l.danger,
|
|
@@ -527,12 +527,12 @@ const _a = /* @__PURE__ */ C({
|
|
|
527
527
|
_: 2
|
|
528
528
|
}, 1032, ["disabled", "title", "onConfirm"])) : k("", !0)
|
|
529
529
|
], 64))), 128)),
|
|
530
|
-
d.record.Enabled == 1 ? (f(),
|
|
530
|
+
d.record.Enabled == 1 ? (f(), g(e(me), {
|
|
531
531
|
key: 0,
|
|
532
532
|
autoInsertSpaceInButton: !1
|
|
533
533
|
}, {
|
|
534
534
|
default: _(() => [
|
|
535
|
-
e(n).length > 0 ? (f(),
|
|
535
|
+
e(n).length > 0 ? (f(), g(e(tt), {
|
|
536
536
|
key: 0,
|
|
537
537
|
size: "small"
|
|
538
538
|
}, {
|
|
@@ -542,7 +542,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
542
542
|
(f(!0), w(M, null, L(e(n), (l) => (f(), w(M, {
|
|
543
543
|
key: l.key
|
|
544
544
|
}, [
|
|
545
|
-
e(H)(l, r.record) ? V((f(),
|
|
545
|
+
e(H)(l, r.record) ? V((f(), g(e(de), {
|
|
546
546
|
key: 0,
|
|
547
547
|
disabled: p(l),
|
|
548
548
|
onClick: (i) => e(R)(l, e(a).page, e(a), r.record)
|
|
@@ -590,7 +590,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
590
590
|
Z(t, "tool.export.excel.selected") && (Z(t, "tool.export.excel.selected").disabled = !d), Z(t, "tool.export.pdf.selected") && (Z(t, "tool.export.pdf.selected").disabled = !d);
|
|
591
591
|
}
|
|
592
592
|
);
|
|
593
|
-
const n =
|
|
593
|
+
const n = h([]);
|
|
594
594
|
$(
|
|
595
595
|
() => a.columns.value,
|
|
596
596
|
(d) => {
|
|
@@ -605,7 +605,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
605
605
|
(f(!0), w(M, null, L(e(t), (s, u) => (f(), w(M, {
|
|
606
606
|
key: s.key
|
|
607
607
|
}, [
|
|
608
|
-
e(H)(s) && s.dropdown ? (f(),
|
|
608
|
+
e(H)(s) && s.dropdown ? (f(), g(e(oe), {
|
|
609
609
|
key: 0,
|
|
610
610
|
placement: "bottomRight",
|
|
611
611
|
class: "p-0 rounded-none"
|
|
@@ -614,7 +614,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
614
614
|
T("div", {
|
|
615
615
|
class: N(["min-w-[100px] bg-white rounded shadow-md p-4", s.dropdownClass])
|
|
616
616
|
}, [
|
|
617
|
-
s.dropdown === "headset" ? (f(),
|
|
617
|
+
s.dropdown === "headset" ? (f(), g(e(mt), {
|
|
618
618
|
key: 0,
|
|
619
619
|
modelValue: n.value,
|
|
620
620
|
"onUpdate:modelValue": c[1] || (c[1] = (l) => n.value = l),
|
|
@@ -673,7 +673,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
673
673
|
}, 1032, ["class", "disabled", "tiptext", "onClick"])
|
|
674
674
|
]),
|
|
675
675
|
_: 2
|
|
676
|
-
}, 1024)) : !s.children && e(H)(s) ? (f(),
|
|
676
|
+
}, 1024)) : !s.children && e(H)(s) ? (f(), g(e(z), {
|
|
677
677
|
key: 1,
|
|
678
678
|
class: N([
|
|
679
679
|
"px-[8px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
@@ -692,7 +692,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
692
692
|
}, null, 8, ["icon"])
|
|
693
693
|
]),
|
|
694
694
|
_: 2
|
|
695
|
-
}, 1032, ["class", "disabled", "tiptext", "onClick"])) : e(H)(s) ? (f(),
|
|
695
|
+
}, 1032, ["class", "disabled", "tiptext", "onClick"])) : e(H)(s) ? (f(), g(e(oe), {
|
|
696
696
|
key: 2,
|
|
697
697
|
placement: "bottomRight",
|
|
698
698
|
class: "p-0 rounded-none"
|
|
@@ -700,7 +700,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
700
700
|
overlay: _(() => [
|
|
701
701
|
b(e(ie), null, {
|
|
702
702
|
default: _(() => [
|
|
703
|
-
(f(!0), w(M, null, L(s.children, (l) => (f(),
|
|
703
|
+
(f(!0), w(M, null, L(s.children, (l) => (f(), g(e(de), {
|
|
704
704
|
key: l.key,
|
|
705
705
|
disabled: e(q)(l)
|
|
706
706
|
}, {
|
|
@@ -757,7 +757,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
757
757
|
// 默认仅受权限码控制
|
|
758
758
|
click: () => Ve(o)
|
|
759
759
|
}
|
|
760
|
-
], p =
|
|
760
|
+
], p = h([]), d = h([]);
|
|
761
761
|
return $(
|
|
762
762
|
() => {
|
|
763
763
|
var c;
|
|
@@ -781,7 +781,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
781
781
|
return f(), w("div", zt, [
|
|
782
782
|
b(e(G), null, {
|
|
783
783
|
default: _(() => [
|
|
784
|
-
(f(!0), w(M, null, L(p.value, (i) => V((f(),
|
|
784
|
+
(f(!0), w(M, null, L(p.value, (i) => V((f(), g(e(z), {
|
|
785
785
|
key: i.key,
|
|
786
786
|
type: i.type,
|
|
787
787
|
danger: i.danger,
|
|
@@ -797,11 +797,11 @@ const _a = /* @__PURE__ */ C({
|
|
|
797
797
|
[u, i.role],
|
|
798
798
|
[l, i.permit]
|
|
799
799
|
])), 128)),
|
|
800
|
-
d.value.length > 0 ? (f(),
|
|
800
|
+
d.value.length > 0 ? (f(), g(e(oe), { key: 0 }, {
|
|
801
801
|
overlay: _(() => [
|
|
802
802
|
b(e(ie), null, {
|
|
803
803
|
default: _(() => [
|
|
804
|
-
(f(!0), w(M, null, L(d.value, (i) => V((f(),
|
|
804
|
+
(f(!0), w(M, null, L(d.value, (i) => V((f(), g(e(de), {
|
|
805
805
|
key: i.key,
|
|
806
806
|
disabled: e(q)(i),
|
|
807
807
|
onClick: (m) => e(R)(i, e(t), e(a))
|
|
@@ -835,7 +835,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
835
835
|
}),
|
|
836
836
|
b(e(G), { class: "mr-1" }, {
|
|
837
837
|
default: _(() => [
|
|
838
|
-
(f(),
|
|
838
|
+
(f(), g(Ke(Nt), { "grid-ctrl": e(a) }, null, 8, ["grid-ctrl"]))
|
|
839
839
|
]),
|
|
840
840
|
_: 1
|
|
841
841
|
})
|
|
@@ -855,7 +855,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
855
855
|
},
|
|
856
856
|
emits: ["change"],
|
|
857
857
|
setup(v, { emit: r }) {
|
|
858
|
-
const a = v, t =
|
|
858
|
+
const a = v, t = h([]), o = r, { editorCtrl: n, errInfo: p } = O(), d = (c) => {
|
|
859
859
|
p != null && p.value.errClass && n && U(n), o("change", c);
|
|
860
860
|
};
|
|
861
861
|
return K(() => {
|
|
@@ -868,7 +868,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
868
868
|
Se(a);
|
|
869
869
|
}), (c, s) => {
|
|
870
870
|
var u;
|
|
871
|
-
return t.value.length === 2 ? (f(),
|
|
871
|
+
return t.value.length === 2 ? (f(), g(e(lt), B({
|
|
872
872
|
key: 0,
|
|
873
873
|
class: [((u = e(p)) == null ? void 0 : u.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : "", "bg-blue-300", "w-[58px]"],
|
|
874
874
|
checkedChildren: t.value[0].label,
|
|
@@ -894,7 +894,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
894
894
|
setup(v) {
|
|
895
895
|
const r = v, a = W(), t = r.gridCtrl;
|
|
896
896
|
t && (t.pageNo.value = 1, t.total.value = 0, t.pageSize.value = t.pageSize.value);
|
|
897
|
-
const o =
|
|
897
|
+
const o = h(t.pageSize.value), n = h(t.pageNo.value), p = h([]), d = h({
|
|
898
898
|
total: 0,
|
|
899
899
|
current: 1,
|
|
900
900
|
pageSize: o.value,
|
|
@@ -917,7 +917,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
917
917
|
},
|
|
918
918
|
{ immediate: !0 }
|
|
919
919
|
);
|
|
920
|
-
const c =
|
|
920
|
+
const c = h(t.columns.value), s = {
|
|
921
921
|
onChange: (i, m) => {
|
|
922
922
|
t && (t.selectKeys.value = i, t.selectRows.value = m);
|
|
923
923
|
},
|
|
@@ -926,7 +926,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
926
926
|
disabled: i.Enabled === 0
|
|
927
927
|
}),
|
|
928
928
|
...r.rowSelection
|
|
929
|
-
}, u =
|
|
929
|
+
}, u = h(s);
|
|
930
930
|
$(
|
|
931
931
|
() => t.selectable.value,
|
|
932
932
|
(i) => {
|
|
@@ -940,23 +940,23 @@ const _a = /* @__PURE__ */ C({
|
|
|
940
940
|
},
|
|
941
941
|
{ deep: !0, immediate: !0 }
|
|
942
942
|
);
|
|
943
|
-
const l =
|
|
943
|
+
const l = h(!1);
|
|
944
944
|
return Oe(() => {
|
|
945
945
|
l.value && t && (t.reload.value = !0);
|
|
946
946
|
}), K(async () => {
|
|
947
|
-
|
|
947
|
+
ge(X.GridControl, t), t.tableData.value ? (p.value = t.tableData.value, t.total.value = p.value.length, d.value.total = t.total.value ?? 0) : t.autoload !== !1 && (t.remotePage ? p.value = (await ve(t)).rows : p.value = await je(t)), setTimeout(() => {
|
|
948
948
|
l.value = !0;
|
|
949
949
|
}, 50);
|
|
950
950
|
}), (i, m) => {
|
|
951
951
|
var S, F;
|
|
952
952
|
const x = Q("permit");
|
|
953
953
|
return f(), w(M, null, [
|
|
954
|
-
(S = e(t).buttons) != null && S.value.length || (F = e(t).tools) != null && F.length ? (f(),
|
|
954
|
+
(S = e(t).buttons) != null && S.value.length || (F = e(t).tools) != null && F.length ? (f(), g(At, {
|
|
955
955
|
key: 0,
|
|
956
956
|
"grid-ctrl": e(t),
|
|
957
957
|
"editor-ctrl": e(t).editor
|
|
958
958
|
}, null, 8, ["grid-ctrl", "editor-ctrl"])) : k("", !0),
|
|
959
|
-
l.value ? (f(),
|
|
959
|
+
l.value ? (f(), g(e(Ne), B({
|
|
960
960
|
key: 1,
|
|
961
961
|
class: "w-full",
|
|
962
962
|
"row-key": r.primaryKey ?? e(t).primaryKey ?? "Id",
|
|
@@ -976,7 +976,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
976
976
|
column: y == null ? void 0 : y.column,
|
|
977
977
|
record: y == null ? void 0 : y.record
|
|
978
978
|
}),
|
|
979
|
-
e(t) && ((A = y == null ? void 0 : y.column) == null ? void 0 : A.dataIndex) === "enabled" ? V((f(),
|
|
979
|
+
e(t) && ((A = y == null ? void 0 : y.column) == null ? void 0 : A.dataIndex) === "enabled" ? V((f(), g(Et, {
|
|
980
980
|
key: 0,
|
|
981
981
|
checked: y.record.Enabled,
|
|
982
982
|
"onUpdate:checked": (pe) => y.record.Enabled = pe,
|
|
@@ -1016,14 +1016,14 @@ const _a = /* @__PURE__ */ C({
|
|
|
1016
1016
|
},
|
|
1017
1017
|
emits: ["select", "update:selectedKeys"],
|
|
1018
1018
|
setup(v, { emit: r }) {
|
|
1019
|
-
const a = v, t = W(), o = a.treeCtrl, n =
|
|
1019
|
+
const a = v, t = W(), o = a.treeCtrl, n = h([]);
|
|
1020
1020
|
$(
|
|
1021
1021
|
() => o.data.value,
|
|
1022
1022
|
(u) => {
|
|
1023
1023
|
u && (n.value = o.fieldMap ? ee(o.fieldMap, u) : u, s(a.selectedKeys ?? []));
|
|
1024
1024
|
}
|
|
1025
1025
|
);
|
|
1026
|
-
const p = r, d =
|
|
1026
|
+
const p = r, d = h([]);
|
|
1027
1027
|
$(
|
|
1028
1028
|
() => a.selectedKeys,
|
|
1029
1029
|
(u) => {
|
|
@@ -1031,7 +1031,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
1031
1031
|
},
|
|
1032
1032
|
{ immediate: !0 }
|
|
1033
1033
|
);
|
|
1034
|
-
const c =
|
|
1034
|
+
const c = h(["-"]);
|
|
1035
1035
|
$(
|
|
1036
1036
|
() => a.expandedKeys,
|
|
1037
1037
|
(u) => {
|
|
@@ -1049,7 +1049,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
1049
1049
|
value: "Id",
|
|
1050
1050
|
icon: "Icon"
|
|
1051
1051
|
}), o.data.value ? n.value = ee(o.fieldMap, o.data.value) : o.autoload && De(o);
|
|
1052
|
-
}), (u, l) => (f(),
|
|
1052
|
+
}), (u, l) => (f(), g(e(rt), B({
|
|
1053
1053
|
class: "w-full",
|
|
1054
1054
|
"show-line": !0,
|
|
1055
1055
|
"tree-data": n.value,
|
|
@@ -1074,7 +1074,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
1074
1074
|
_: 3
|
|
1075
1075
|
}, 16, ["tree-data", "expanded-keys", "selected-keys", "loading"]));
|
|
1076
1076
|
}
|
|
1077
|
-
}), wa = /* @__PURE__ */ j(
|
|
1077
|
+
}), wa = /* @__PURE__ */ j(gt, [["__scopeId", "data-v-1e39ad49"]]), Rt = {
|
|
1078
1078
|
key: 0,
|
|
1079
1079
|
class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
|
|
1080
1080
|
}, Ut = /* @__PURE__ */ C({
|
|
@@ -1084,13 +1084,13 @@ const _a = /* @__PURE__ */ C({
|
|
|
1084
1084
|
emits: ["change", "update:labels", "update:value"],
|
|
1085
1085
|
setup(v, { emit: r }) {
|
|
1086
1086
|
var m, x, S;
|
|
1087
|
-
const a = v, t = W(), o =
|
|
1087
|
+
const a = v, t = W(), o = h({
|
|
1088
1088
|
...a.url,
|
|
1089
1089
|
url: ((m = a.url) == null ? void 0 : m.url) || "",
|
|
1090
1090
|
fieldMap: a.fieldMap || ((x = a.url) == null ? void 0 : x.fieldMap),
|
|
1091
1091
|
params: a.params || ((S = a.url) == null ? void 0 : S.params),
|
|
1092
1092
|
loadingText: !1
|
|
1093
|
-
}), n = O(), { editorCtrl: p, errInfo: d, labelText: c } = n, s =
|
|
1093
|
+
}), n = O(), { editorCtrl: p, errInfo: d, labelText: c } = n, s = h(t.placeholder);
|
|
1094
1094
|
$(
|
|
1095
1095
|
() => o.value.loading,
|
|
1096
1096
|
(F) => {
|
|
@@ -1100,7 +1100,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
1100
1100
|
);
|
|
1101
1101
|
const u = r;
|
|
1102
1102
|
n.inputEmit = u;
|
|
1103
|
-
const l =
|
|
1103
|
+
const l = h([]), i = (F, y) => {
|
|
1104
1104
|
if (!y || y.length === 0) {
|
|
1105
1105
|
u("update:labels", []), u("update:value", []);
|
|
1106
1106
|
return;
|
|
@@ -1137,7 +1137,7 @@ const _a = /* @__PURE__ */ C({
|
|
|
1137
1137
|
]);
|
|
1138
1138
|
};
|
|
1139
1139
|
}
|
|
1140
|
-
}), $a = /* @__PURE__ */ j(Ut, [["__scopeId", "data-v-05e57a52"]]), Sa = /* @__PURE__ */ j(
|
|
1140
|
+
}), $a = /* @__PURE__ */ j(Ut, [["__scopeId", "data-v-05e57a52"]]), Sa = /* @__PURE__ */ j(ht, [["__scopeId", "data-v-dc59fe7f"]]);
|
|
1141
1141
|
function te() {
|
|
1142
1142
|
return te = Object.assign ? Object.assign.bind() : function(v) {
|
|
1143
1143
|
for (var r = 1; r < arguments.length; r++) {
|
|
@@ -1201,10 +1201,10 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1201
1201
|
setup(v) {
|
|
1202
1202
|
const r = v, { editorCtrl: a, labelText: t, errInfo: o } = O(), n = () => {
|
|
1203
1203
|
o != null && o.value.errClass && a && U(a);
|
|
1204
|
-
}, p =
|
|
1204
|
+
}, p = h(r.valueFormat ?? "YYYY-MM-DD");
|
|
1205
1205
|
return (d, c) => {
|
|
1206
1206
|
var s;
|
|
1207
|
-
return f(),
|
|
1207
|
+
return f(), g(e(st), {
|
|
1208
1208
|
class: N([[((s = e(o)) == null ? void 0 : s.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""], "w-full"]),
|
|
1209
1209
|
placeholder: "请选择" + e(t),
|
|
1210
1210
|
locale: e(ce),
|
|
@@ -1222,7 +1222,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1222
1222
|
setup(v, { emit: r }) {
|
|
1223
1223
|
const { editorCtrl: a, labelText: t, errInfo: o } = O(), n = () => {
|
|
1224
1224
|
o != null && o.value.errClass && a && U(a);
|
|
1225
|
-
}, p = v, d = r, c =
|
|
1225
|
+
}, p = v, d = r, c = h(p.value);
|
|
1226
1226
|
$(
|
|
1227
1227
|
() => p.value,
|
|
1228
1228
|
(u) => {
|
|
@@ -1245,7 +1245,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1245
1245
|
};
|
|
1246
1246
|
return (u, l) => {
|
|
1247
1247
|
var i, m;
|
|
1248
|
-
return f(),
|
|
1248
|
+
return f(), g(e(se), B({
|
|
1249
1249
|
class: [
|
|
1250
1250
|
(i = e(o)) == null ? void 0 : i.errClass,
|
|
1251
1251
|
((m = e(o)) == null ? void 0 : m.errClass) === "error" && !u.$slots.addonBefore && !u.$slots.addonAfter ? "!border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""
|
|
@@ -1257,7 +1257,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1257
1257
|
placeholder: "请输入" + e(t),
|
|
1258
1258
|
onBlur: n,
|
|
1259
1259
|
onChange: s
|
|
1260
|
-
}, u.$attrs),
|
|
1260
|
+
}, u.$attrs), he({ _: 2 }, [
|
|
1261
1261
|
u.$slots.addonBefore ? {
|
|
1262
1262
|
name: "addonBefore",
|
|
1263
1263
|
fn: _(() => [
|
|
@@ -1282,7 +1282,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1282
1282
|
},
|
|
1283
1283
|
emits: ["update:value"],
|
|
1284
1284
|
setup(v, { emit: r }) {
|
|
1285
|
-
const a = v, t = r, o =
|
|
1285
|
+
const a = v, t = r, o = h(void 0);
|
|
1286
1286
|
return $(
|
|
1287
1287
|
() => a.value,
|
|
1288
1288
|
(n) => {
|
|
@@ -1294,7 +1294,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1294
1294
|
(n) => {
|
|
1295
1295
|
t("update:value", n);
|
|
1296
1296
|
}
|
|
1297
|
-
), (n, p) => (f(),
|
|
1297
|
+
), (n, p) => (f(), g(Vt, B({
|
|
1298
1298
|
class: ["w-[80%]"],
|
|
1299
1299
|
value: o.value,
|
|
1300
1300
|
"onUpdate:value": p[0] || (p[0] = (d) => o.value = d)
|
|
@@ -1316,7 +1316,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1316
1316
|
};
|
|
1317
1317
|
return (n, p) => {
|
|
1318
1318
|
var d;
|
|
1319
|
-
return f(),
|
|
1319
|
+
return f(), g(e(nt), B({
|
|
1320
1320
|
class: ((d = e(t)) == null ? void 0 : d.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1321
1321
|
"allow-clear": !0,
|
|
1322
1322
|
autocomplete: "new-password",
|
|
@@ -1333,7 +1333,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1333
1333
|
};
|
|
1334
1334
|
return (n, p) => {
|
|
1335
1335
|
var d;
|
|
1336
|
-
return f(),
|
|
1336
|
+
return f(), g(e(ut), B({
|
|
1337
1337
|
class: [[((d = e(t)) == null ? void 0 : d.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""], "w-[50%]"],
|
|
1338
1338
|
onBlur: o,
|
|
1339
1339
|
"allow-clear": !1,
|
|
@@ -1350,7 +1350,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1350
1350
|
},
|
|
1351
1351
|
emits: ["update:value"],
|
|
1352
1352
|
setup(v, { emit: r }) {
|
|
1353
|
-
const a = v, t = r, o =
|
|
1353
|
+
const a = v, t = r, o = h([]);
|
|
1354
1354
|
let n = !1;
|
|
1355
1355
|
const p = () => {
|
|
1356
1356
|
o.value = Object.entries(a.value).map(([u, l]) => ({
|
|
@@ -1441,11 +1441,11 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1441
1441
|
}
|
|
1442
1442
|
},
|
|
1443
1443
|
setup(v) {
|
|
1444
|
-
const r = v, a =
|
|
1444
|
+
const r = v, a = h(JSON.parse(JSON.stringify(Te.getOptions(r.dataKey))));
|
|
1445
1445
|
return r.all === !0 && a.value.unshift({
|
|
1446
1446
|
label: "全部",
|
|
1447
1447
|
value: r.allValue || [0, 1]
|
|
1448
|
-
}), (t, o) => (f(),
|
|
1448
|
+
}), (t, o) => (f(), g(Gt, { data: a.value }, null, 8, ["data"]));
|
|
1449
1449
|
}
|
|
1450
1450
|
}), Ma = /* @__PURE__ */ C({
|
|
1451
1451
|
__name: "index",
|
|
@@ -1474,7 +1474,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1474
1474
|
};
|
|
1475
1475
|
return (s, u) => {
|
|
1476
1476
|
var l;
|
|
1477
|
-
return f(),
|
|
1477
|
+
return f(), g(e(it), {
|
|
1478
1478
|
class: N([((l = e(n)) == null ? void 0 : l.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "", "w-full"]),
|
|
1479
1479
|
locale: e(ce),
|
|
1480
1480
|
"value-format": p.value,
|
|
@@ -1491,7 +1491,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1491
1491
|
};
|
|
1492
1492
|
return (n, p) => {
|
|
1493
1493
|
var d;
|
|
1494
|
-
return f(),
|
|
1494
|
+
return f(), g(e(dt), B({
|
|
1495
1495
|
class: ((d = e(t)) == null ? void 0 : d.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1496
1496
|
"allow-clear": !0,
|
|
1497
1497
|
placeholder: "请输入" + e(a),
|
|
@@ -1513,7 +1513,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1513
1513
|
},
|
|
1514
1514
|
emits: ["change", "update:value"],
|
|
1515
1515
|
setup(v, { emit: r }) {
|
|
1516
|
-
const a = v, t =
|
|
1516
|
+
const a = v, t = h({ ...a.url }), { editorCtrl: o, labelText: n, errInfo: p } = O(), d = r, c = h([]), s = h([]);
|
|
1517
1517
|
a.value && a.value.every((l) => {
|
|
1518
1518
|
s.value.push(l.toString());
|
|
1519
1519
|
}), $(
|
|
@@ -1540,7 +1540,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1540
1540
|
}
|
|
1541
1541
|
}), (l, i) => {
|
|
1542
1542
|
var m;
|
|
1543
|
-
return f(),
|
|
1543
|
+
return f(), g(e(ct), B({
|
|
1544
1544
|
class: ((m = e(p)) == null ? void 0 : m.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1545
1545
|
placeholder: "请输入" + e(n),
|
|
1546
1546
|
targetKeys: s.value,
|
|
@@ -1587,7 +1587,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1587
1587
|
},
|
|
1588
1588
|
emits: ["update:value"],
|
|
1589
1589
|
setup(v, { emit: r }) {
|
|
1590
|
-
const a = v, t = r, o =
|
|
1590
|
+
const a = v, t = r, o = h(a.autoload), n = h(a.value), p = h(a.gridCtrl.primaryKey);
|
|
1591
1591
|
$(
|
|
1592
1592
|
() => n.value,
|
|
1593
1593
|
(s) => {
|
|
@@ -1598,7 +1598,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1598
1598
|
(s) => {
|
|
1599
1599
|
s && (n.value = s);
|
|
1600
1600
|
}
|
|
1601
|
-
), a.gridCtrl.autoload = !1, a.gridCtrl.remotePage = !1, a.gridCtrl.selectable =
|
|
1601
|
+
), a.gridCtrl.autoload = !1, a.gridCtrl.remotePage = !1, a.gridCtrl.selectable = h(!0), a.gridCtrl.buttons = h([]), a.gridCtrl.tools = [];
|
|
1602
1602
|
const d = ({ disabled: s, selectedKeys: u, onItemSelectAll: l, onItemSelect: i }) => ({
|
|
1603
1603
|
getCheckboxProps: (m) => ({
|
|
1604
1604
|
// 控制是否禁止
|
|
@@ -1612,7 +1612,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1612
1612
|
i(m, x);
|
|
1613
1613
|
},
|
|
1614
1614
|
selectedRowKeys: u
|
|
1615
|
-
}), c =
|
|
1615
|
+
}), c = h([]);
|
|
1616
1616
|
return K(async () => {
|
|
1617
1617
|
if (o.value) {
|
|
1618
1618
|
const s = await Ie(a.gridCtrl, {
|
|
@@ -1623,7 +1623,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1623
1623
|
});
|
|
1624
1624
|
c.value = (s == null ? void 0 : s.data) ?? [];
|
|
1625
1625
|
}
|
|
1626
|
-
}), (s, u) => (f(),
|
|
1626
|
+
}), (s, u) => (f(), g(Xt, B({
|
|
1627
1627
|
"data-source": c.value,
|
|
1628
1628
|
"row-key": (l) => l[p.value],
|
|
1629
1629
|
value: n.value,
|
|
@@ -1686,7 +1686,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1686
1686
|
setup(v, { emit: r }) {
|
|
1687
1687
|
const a = v, t = a.treeCtrl, o = O(), { errInfo: n, labelText: p } = o, d = r;
|
|
1688
1688
|
o.inputEmit = d;
|
|
1689
|
-
const c =
|
|
1689
|
+
const c = h([]), s = h();
|
|
1690
1690
|
$(
|
|
1691
1691
|
() => a.value,
|
|
1692
1692
|
(l) => {
|
|
@@ -1711,7 +1711,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1711
1711
|
}), t.data.value ? c.value = t.fieldMap ? ee(t.fieldMap, t.data.value) : t.data.value : a.treeCtrl.autoload && De(a.treeCtrl);
|
|
1712
1712
|
}), (l, i) => {
|
|
1713
1713
|
var m;
|
|
1714
|
-
return f(),
|
|
1714
|
+
return f(), g(e(pt), B({
|
|
1715
1715
|
class: [[(m = e(n)) == null ? void 0 : m.errClass], "w-full"],
|
|
1716
1716
|
"tree-line": "",
|
|
1717
1717
|
multiple: v.multiple,
|
|
@@ -1759,7 +1759,7 @@ const Ta = /* @__PURE__ */ C({
|
|
|
1759
1759
|
}), ra = { class: "font-['Courier'] text-[#666]" }, Ea = /* @__PURE__ */ C({
|
|
1760
1760
|
__name: "index",
|
|
1761
1761
|
setup(v) {
|
|
1762
|
-
const r =
|
|
1762
|
+
const r = h("");
|
|
1763
1763
|
return K(() => {
|
|
1764
1764
|
setInterval(() => {
|
|
1765
1765
|
const a = /* @__PURE__ */ new Date(), t = { month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit" }, o = a.toLocaleString(void 0, t).replace(/\//g, "-").replace(",", "");
|
|
@@ -1779,7 +1779,7 @@ export {
|
|
|
1779
1779
|
Ta as DatePicker,
|
|
1780
1780
|
Ea as Datetime,
|
|
1781
1781
|
Ra as Dialog,
|
|
1782
|
-
|
|
1782
|
+
ha as Drawer,
|
|
1783
1783
|
xa as Form,
|
|
1784
1784
|
ya as FormItem,
|
|
1785
1785
|
_a as Fullscreen,
|
|
@@ -1792,7 +1792,7 @@ export {
|
|
|
1792
1792
|
Da as InputIcon,
|
|
1793
1793
|
Ba as InputNumber,
|
|
1794
1794
|
Ia as InputPassword,
|
|
1795
|
-
|
|
1795
|
+
ga as LayoutIcon,
|
|
1796
1796
|
Ga as Menu,
|
|
1797
1797
|
Xa as MenuTabs,
|
|
1798
1798
|
Za as ProjectIcon,
|