@sunny-base-web/ui 0.3.5 → 0.3.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/dist/index.js +1 -1
- package/dist/index.mjs +697 -697
- package/dist/ui.css +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { getCurrentInstance as dt, inject as Pe, defineComponent as O, computed as C, openBlock as w, createElementBlock as
|
|
2
|
-
import { Modal as We, Button as he, Tooltip as ht, Upload as Ye, Checkbox as Ie, Progress as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { IconifyIcon as
|
|
5
|
-
import { isString as Ae, isHttpUrl as
|
|
6
|
-
import { patterns as
|
|
7
|
-
import { ScrollAreaRoot as
|
|
1
|
+
import { getCurrentInstance as dt, inject as Pe, defineComponent as O, computed as C, openBlock as w, createElementBlock as T, normalizeStyle as re, normalizeClass as Y, createElementVNode as A, useAttrs as Xe, ref as j, createBlock as Q, unref as c, mergeProps as L, withModifiers as ve, withCtx as I, renderSlot as z, createTextVNode as H, toDisplayString as R, createCommentVNode as W, createVNode as k, reactive as ft, h as Ve, shallowRef as ot, onErrorCaptured as Dt, markRaw as zt, createStaticVNode as Ut, resolveDynamicComponent as Ue, normalizeProps as oe, watch as X, withDirectives as qe, vShow as nt, Fragment as se, renderList as Z, resolveComponent as ne, createSlots as ae, guardReactiveProps as le, onMounted as Se, isRef as ye, toRaw as ue, provide as Re, useSlots as we, defineAsyncComponent as qt, nextTick as me, onBeforeUnmount as pt, withKeys as mt, isReactive as Wt, vModelText as Yt } from "vue";
|
|
2
|
+
import { Modal as We, Button as he, Tooltip as ht, Upload as Ye, Checkbox as Ie, Progress as Jt, Message as G, Select as Ce, Option as gt, TimePicker as rt, DatePicker as Je, Switch as Ge, Radio as st, TreeSelect as Gt, Cascader as Kt, Slider as Ht, Rate as Xt, RangePicker as vt, RadioGroup as Zt, CheckboxGroup as _t, Textarea as yt, InputNumber as Ze, InputPassword as eo, Input as Fe, MonthPicker as to, Popover as oo, WeekPicker as no, YearPicker as ro, Tree as so, Dropdown as lo, Doption as ao, Pagination as io } from "@arco-design/web-vue";
|
|
3
|
+
import { useI18n as co, $t as ce } from "@sunny-base-web/locales";
|
|
4
|
+
import { IconifyIcon as uo, IconDefault as fo } from "@sunny-base-web/icons";
|
|
5
|
+
import { isString as Ae, isHttpUrl as po, isObject as _, isFunction as te, cn as _e, cloneDeep as Ee, is as mo, isBoolean as Te, get as lt, isEqual as ho, set as go } from "@sunny-base-web/utils";
|
|
6
|
+
import { patterns as Vl, startProgress as Rl, stopProgress as Fl } from "@sunny-base-web/utils";
|
|
7
|
+
import { ScrollAreaRoot as vo, ScrollAreaViewport as yo, ScrollAreaCorner as bo, ScrollAreaScrollbar as Ao, ScrollAreaThumb as Co } from "reka-ui";
|
|
8
8
|
import ge from "axios";
|
|
9
|
-
import { debounce as
|
|
10
|
-
import { useStore as
|
|
11
|
-
import { Store as
|
|
12
|
-
import { useBreakpoints as
|
|
13
|
-
import { useForm as bt, defineRule as At, useFormValues as Ct, Field as
|
|
14
|
-
import { toTypedSchema as
|
|
15
|
-
import * as
|
|
16
|
-
import { VxeGrid as St, VxeUI as
|
|
17
|
-
import { VxeSelect as
|
|
18
|
-
const
|
|
9
|
+
import { debounce as So, toString as wo, set as at, isArray as Ke, hasIn as ko, cloneDeep as xo, get as Eo } from "lodash-es";
|
|
10
|
+
import { useStore as Bo } from "@tanstack/vue-store";
|
|
11
|
+
import { Store as Io } from "@tanstack/store";
|
|
12
|
+
import { useBreakpoints as Po, useDebounceFn as Vo } from "@vueuse/core";
|
|
13
|
+
import { useForm as bt, defineRule as At, useFormValues as Ct, Field as Ro, useFormContext as Fo } from "vee-validate";
|
|
14
|
+
import { toTypedSchema as No } from "@vee-validate/zod";
|
|
15
|
+
import * as cl from "zod";
|
|
16
|
+
import { VxeGrid as St, VxeUI as To } from "vxe-table";
|
|
17
|
+
import { VxeSelect as Lo, VxeInput as Mo, VxeButton as He, VxePager as jo } from "vxe-pc-ui";
|
|
18
|
+
const Qo = /* @__PURE__ */ Symbol("ArcoConfigProvider"), Oo = "arco", Do = "$arco", de = (e) => {
|
|
19
19
|
var o, t, n;
|
|
20
|
-
const r = dt(), s = Pe(
|
|
21
|
-
return `${(n = (t = s?.prefixCls) != null ? t : (o = r?.appContext.config.globalProperties[
|
|
22
|
-
},
|
|
20
|
+
const r = dt(), s = Pe(Qo, void 0);
|
|
21
|
+
return `${(n = (t = s?.prefixCls) != null ? t : (o = r?.appContext.config.globalProperties[Do]) == null ? void 0 : o.classPrefix) != null ? n : Oo}-${e}`;
|
|
22
|
+
}, zo = Object.prototype.toString;
|
|
23
23
|
function fe(e) {
|
|
24
|
-
return
|
|
24
|
+
return zo.call(e) === "[object Number]" && e === e;
|
|
25
25
|
}
|
|
26
26
|
var pe = (e, o) => {
|
|
27
27
|
for (const [t, n] of o)
|
|
28
28
|
e[t] = n;
|
|
29
29
|
return e;
|
|
30
30
|
};
|
|
31
|
-
const
|
|
31
|
+
const $o = O({
|
|
32
32
|
name: "IconClose",
|
|
33
33
|
props: {
|
|
34
34
|
size: {
|
|
@@ -68,14 +68,14 @@ const zo = O({
|
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
}), Uo = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
71
|
-
function
|
|
72
|
-
return w(),
|
|
71
|
+
function qo(e, o, t, n, r, s) {
|
|
72
|
+
return w(), T("svg", {
|
|
73
73
|
viewBox: "0 0 48 48",
|
|
74
74
|
fill: "none",
|
|
75
75
|
xmlns: "http://www.w3.org/2000/svg",
|
|
76
76
|
stroke: "currentColor",
|
|
77
|
-
class:
|
|
78
|
-
style:
|
|
77
|
+
class: Y(e.cls),
|
|
78
|
+
style: re(e.innerStyle),
|
|
79
79
|
"stroke-width": e.strokeWidth,
|
|
80
80
|
"stroke-linecap": e.strokeLinecap,
|
|
81
81
|
"stroke-linejoin": e.strokeLinejoin,
|
|
@@ -84,14 +84,14 @@ function $o(e, o, t, n, r, s) {
|
|
|
84
84
|
A("path", { d: "M9.857 9.858 24 24m0 0 14.142 14.142M24 24 38.142 9.858M24 24 9.857 38.142" }, null, -1)
|
|
85
85
|
]), 14, Uo);
|
|
86
86
|
}
|
|
87
|
-
var Le = /* @__PURE__ */ pe(
|
|
87
|
+
var Le = /* @__PURE__ */ pe($o, [["render", qo]]);
|
|
88
88
|
const wt = Object.assign(Le, {
|
|
89
89
|
install: (e, o) => {
|
|
90
90
|
var t;
|
|
91
91
|
const n = (t = o?.iconPrefix) != null ? t : "";
|
|
92
92
|
e.component(n + Le.name, Le);
|
|
93
93
|
}
|
|
94
|
-
}),
|
|
94
|
+
}), Wo = O({
|
|
95
95
|
name: "IconQuestionCircle",
|
|
96
96
|
props: {
|
|
97
97
|
size: {
|
|
@@ -130,15 +130,15 @@ const wt = Object.assign(Le, {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
}),
|
|
134
|
-
function
|
|
135
|
-
return w(),
|
|
133
|
+
}), Yo = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
134
|
+
function Jo(e, o, t, n, r, s) {
|
|
135
|
+
return w(), T("svg", {
|
|
136
136
|
viewBox: "0 0 48 48",
|
|
137
137
|
fill: "none",
|
|
138
138
|
xmlns: "http://www.w3.org/2000/svg",
|
|
139
139
|
stroke: "currentColor",
|
|
140
|
-
class:
|
|
141
|
-
style:
|
|
140
|
+
class: Y(e.cls),
|
|
141
|
+
style: re(e.innerStyle),
|
|
142
142
|
"stroke-width": e.strokeWidth,
|
|
143
143
|
"stroke-linecap": e.strokeLinecap,
|
|
144
144
|
"stroke-linejoin": e.strokeLinejoin,
|
|
@@ -146,16 +146,16 @@ function Yo(e, o, t, n, r, s) {
|
|
|
146
146
|
}, o[1] || (o[1] = [
|
|
147
147
|
A("path", { d: "M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z" }, null, -1),
|
|
148
148
|
A("path", { d: "M24.006 31v4.008m0-6.008L24 28c0-3 3-4 4.78-6.402C30.558 19.195 28.288 15 23.987 15c-4.014 0-5.382 2.548-5.388 4.514v.465" }, null, -1)
|
|
149
|
-
]), 14,
|
|
149
|
+
]), 14, Yo);
|
|
150
150
|
}
|
|
151
|
-
var Me = /* @__PURE__ */ pe(
|
|
151
|
+
var Me = /* @__PURE__ */ pe(Wo, [["render", Jo]]);
|
|
152
152
|
const kt = Object.assign(Me, {
|
|
153
153
|
install: (e, o) => {
|
|
154
154
|
var t;
|
|
155
155
|
const n = (t = o?.iconPrefix) != null ? t : "";
|
|
156
156
|
e.component(n + Me.name, Me);
|
|
157
157
|
}
|
|
158
|
-
}),
|
|
158
|
+
}), Go = O({
|
|
159
159
|
name: "IconSearch",
|
|
160
160
|
props: {
|
|
161
161
|
size: {
|
|
@@ -194,31 +194,31 @@ const kt = Object.assign(Me, {
|
|
|
194
194
|
}
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
|
-
}),
|
|
198
|
-
function
|
|
199
|
-
return w(),
|
|
197
|
+
}), Ko = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
198
|
+
function Ho(e, o, t, n, r, s) {
|
|
199
|
+
return w(), T("svg", {
|
|
200
200
|
viewBox: "0 0 48 48",
|
|
201
201
|
fill: "none",
|
|
202
202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
203
203
|
stroke: "currentColor",
|
|
204
|
-
class:
|
|
205
|
-
style:
|
|
204
|
+
class: Y(e.cls),
|
|
205
|
+
style: re(e.innerStyle),
|
|
206
206
|
"stroke-width": e.strokeWidth,
|
|
207
207
|
"stroke-linecap": e.strokeLinecap,
|
|
208
208
|
"stroke-linejoin": e.strokeLinejoin,
|
|
209
209
|
onClick: o[0] || (o[0] = (...l) => e.onClick && e.onClick(...l))
|
|
210
210
|
}, o[1] || (o[1] = [
|
|
211
211
|
A("path", { d: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
|
|
212
|
-
]), 14,
|
|
212
|
+
]), 14, Ko);
|
|
213
213
|
}
|
|
214
|
-
var je = /* @__PURE__ */ pe(
|
|
215
|
-
const
|
|
214
|
+
var je = /* @__PURE__ */ pe(Go, [["render", Ho]]);
|
|
215
|
+
const Xo = Object.assign(je, {
|
|
216
216
|
install: (e, o) => {
|
|
217
217
|
var t;
|
|
218
218
|
const n = (t = o?.iconPrefix) != null ? t : "";
|
|
219
219
|
e.component(n + je.name, je);
|
|
220
220
|
}
|
|
221
|
-
}),
|
|
221
|
+
}), Zo = O({
|
|
222
222
|
name: "IconUpload",
|
|
223
223
|
props: {
|
|
224
224
|
size: {
|
|
@@ -257,31 +257,31 @@ const Ho = Object.assign(je, {
|
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
|
-
}),
|
|
261
|
-
function
|
|
262
|
-
return w(),
|
|
260
|
+
}), _o = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
261
|
+
function en(e, o, t, n, r, s) {
|
|
262
|
+
return w(), T("svg", {
|
|
263
263
|
viewBox: "0 0 48 48",
|
|
264
264
|
fill: "none",
|
|
265
265
|
xmlns: "http://www.w3.org/2000/svg",
|
|
266
266
|
stroke: "currentColor",
|
|
267
|
-
class:
|
|
268
|
-
style:
|
|
267
|
+
class: Y(e.cls),
|
|
268
|
+
style: re(e.innerStyle),
|
|
269
269
|
"stroke-width": e.strokeWidth,
|
|
270
270
|
"stroke-linecap": e.strokeLinecap,
|
|
271
271
|
"stroke-linejoin": e.strokeLinejoin,
|
|
272
272
|
onClick: o[0] || (o[0] = (...l) => e.onClick && e.onClick(...l))
|
|
273
273
|
}, o[1] || (o[1] = [
|
|
274
274
|
A("path", { d: "M14.93 17.071 24.001 8l9.071 9.071m-9.07 16.071v-25M40 35v6H8v-6" }, null, -1)
|
|
275
|
-
]), 14,
|
|
275
|
+
]), 14, _o);
|
|
276
276
|
}
|
|
277
|
-
var Qe = /* @__PURE__ */ pe(
|
|
278
|
-
const
|
|
277
|
+
var Qe = /* @__PURE__ */ pe(Zo, [["render", en]]);
|
|
278
|
+
const tn = Object.assign(Qe, {
|
|
279
279
|
install: (e, o) => {
|
|
280
280
|
var t;
|
|
281
281
|
const n = (t = o?.iconPrefix) != null ? t : "";
|
|
282
282
|
e.component(n + Qe.name, Qe);
|
|
283
283
|
}
|
|
284
|
-
}),
|
|
284
|
+
}), on = O({
|
|
285
285
|
name: "IconAttachment",
|
|
286
286
|
props: {
|
|
287
287
|
size: {
|
|
@@ -320,31 +320,31 @@ const en = Object.assign(Qe, {
|
|
|
320
320
|
}
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
|
-
}),
|
|
324
|
-
function
|
|
325
|
-
return w(),
|
|
323
|
+
}), nn = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
324
|
+
function rn(e, o, t, n, r, s) {
|
|
325
|
+
return w(), T("svg", {
|
|
326
326
|
viewBox: "0 0 48 48",
|
|
327
327
|
fill: "none",
|
|
328
328
|
stroke: "currentColor",
|
|
329
329
|
xmlns: "http://www.w3.org/2000/svg",
|
|
330
|
-
class:
|
|
331
|
-
style:
|
|
330
|
+
class: Y(e.cls),
|
|
331
|
+
style: re(e.innerStyle),
|
|
332
332
|
"stroke-width": e.strokeWidth,
|
|
333
333
|
"stroke-linecap": e.strokeLinecap,
|
|
334
334
|
"stroke-linejoin": e.strokeLinejoin,
|
|
335
335
|
onClick: o[0] || (o[0] = (...l) => e.onClick && e.onClick(...l))
|
|
336
336
|
}, o[1] || (o[1] = [
|
|
337
337
|
A("path", { d: "M29.037 15.236s-9.174 9.267-11.48 11.594c-2.305 2.327-1.646 4.987-.329 6.316 1.317 1.33 3.994 1.953 6.258-.332L37.32 18.851c3.623-3.657 2.092-8.492 0-10.639-2.093-2.147-6.916-3.657-10.54 0L11.3 23.838c-3.623 3.657-3.953 10.638.329 14.96 4.282 4.322 11.115 4.105 14.821.333 3.706-3.773 8.74-8.822 11.224-11.33" }, null, -1)
|
|
338
|
-
]), 14,
|
|
338
|
+
]), 14, nn);
|
|
339
339
|
}
|
|
340
|
-
var Oe = /* @__PURE__ */ pe(
|
|
341
|
-
const
|
|
340
|
+
var Oe = /* @__PURE__ */ pe(on, [["render", rn]]);
|
|
341
|
+
const sn = Object.assign(Oe, {
|
|
342
342
|
install: (e, o) => {
|
|
343
343
|
var t;
|
|
344
344
|
const n = (t = o?.iconPrefix) != null ? t : "";
|
|
345
345
|
e.component(n + Oe.name, Oe);
|
|
346
346
|
}
|
|
347
|
-
}),
|
|
347
|
+
}), ln = O({
|
|
348
348
|
name: "IconDelete",
|
|
349
349
|
props: {
|
|
350
350
|
size: {
|
|
@@ -383,31 +383,31 @@ const rn = Object.assign(Oe, {
|
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
|
-
}),
|
|
387
|
-
function
|
|
388
|
-
return w(),
|
|
386
|
+
}), an = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
387
|
+
function cn(e, o, t, n, r, s) {
|
|
388
|
+
return w(), T("svg", {
|
|
389
389
|
viewBox: "0 0 48 48",
|
|
390
390
|
fill: "none",
|
|
391
391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
392
392
|
stroke: "currentColor",
|
|
393
|
-
class:
|
|
394
|
-
style:
|
|
393
|
+
class: Y(e.cls),
|
|
394
|
+
style: re(e.innerStyle),
|
|
395
395
|
"stroke-width": e.strokeWidth,
|
|
396
396
|
"stroke-linecap": e.strokeLinecap,
|
|
397
397
|
"stroke-linejoin": e.strokeLinejoin,
|
|
398
398
|
onClick: o[0] || (o[0] = (...l) => e.onClick && e.onClick(...l))
|
|
399
399
|
}, o[1] || (o[1] = [
|
|
400
400
|
A("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
|
|
401
|
-
]), 14,
|
|
401
|
+
]), 14, an);
|
|
402
402
|
}
|
|
403
|
-
var De = /* @__PURE__ */ pe(
|
|
403
|
+
var De = /* @__PURE__ */ pe(ln, [["render", cn]]);
|
|
404
404
|
const xt = Object.assign(De, {
|
|
405
405
|
install: (e, o) => {
|
|
406
406
|
var t;
|
|
407
407
|
const n = (t = o?.iconPrefix) != null ? t : "";
|
|
408
408
|
e.component(n + De.name, De);
|
|
409
409
|
}
|
|
410
|
-
}),
|
|
410
|
+
}), un = O({
|
|
411
411
|
name: "IconFullscreenExit",
|
|
412
412
|
props: {
|
|
413
413
|
size: {
|
|
@@ -446,31 +446,31 @@ const xt = Object.assign(De, {
|
|
|
446
446
|
}
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
|
-
}),
|
|
450
|
-
function
|
|
451
|
-
return w(),
|
|
449
|
+
}), dn = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
450
|
+
function fn(e, o, t, n, r, s) {
|
|
451
|
+
return w(), T("svg", {
|
|
452
452
|
viewBox: "0 0 48 48",
|
|
453
453
|
fill: "none",
|
|
454
454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
455
455
|
stroke: "currentColor",
|
|
456
|
-
class:
|
|
457
|
-
style:
|
|
456
|
+
class: Y(e.cls),
|
|
457
|
+
style: re(e.innerStyle),
|
|
458
458
|
"stroke-width": e.strokeWidth,
|
|
459
459
|
"stroke-linecap": e.strokeLinecap,
|
|
460
460
|
"stroke-linejoin": e.strokeLinejoin,
|
|
461
461
|
onClick: o[0] || (o[0] = (...l) => e.onClick && e.onClick(...l))
|
|
462
462
|
}, o[1] || (o[1] = [
|
|
463
463
|
A("path", { d: "M35 6v8a1 1 0 0 0 1 1h8M13 6v8a1 1 0 0 1-1 1H4m31 27v-8a1 1 0 0 1 1-1h8m-31 9v-8a1 1 0 0 0-1-1H4" }, null, -1)
|
|
464
|
-
]), 14,
|
|
464
|
+
]), 14, dn);
|
|
465
465
|
}
|
|
466
|
-
var ze = /* @__PURE__ */ pe(
|
|
467
|
-
const
|
|
466
|
+
var ze = /* @__PURE__ */ pe(un, [["render", fn]]);
|
|
467
|
+
const pn = Object.assign(ze, {
|
|
468
468
|
install: (e, o) => {
|
|
469
469
|
var t;
|
|
470
470
|
const n = (t = o?.iconPrefix) != null ? t : "";
|
|
471
471
|
e.component(n + ze.name, ze);
|
|
472
472
|
}
|
|
473
|
-
}),
|
|
473
|
+
}), mn = O({
|
|
474
474
|
name: "IconFullscreen",
|
|
475
475
|
props: {
|
|
476
476
|
size: {
|
|
@@ -509,31 +509,31 @@ const fn = Object.assign(ze, {
|
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
|
-
}),
|
|
513
|
-
function
|
|
514
|
-
return w(),
|
|
512
|
+
}), hn = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
513
|
+
function gn(e, o, t, n, r, s) {
|
|
514
|
+
return w(), T("svg", {
|
|
515
515
|
viewBox: "0 0 48 48",
|
|
516
516
|
fill: "none",
|
|
517
517
|
xmlns: "http://www.w3.org/2000/svg",
|
|
518
518
|
stroke: "currentColor",
|
|
519
|
-
class:
|
|
520
|
-
style:
|
|
519
|
+
class: Y(e.cls),
|
|
520
|
+
style: re(e.innerStyle),
|
|
521
521
|
"stroke-width": e.strokeWidth,
|
|
522
522
|
"stroke-linecap": e.strokeLinecap,
|
|
523
523
|
"stroke-linejoin": e.strokeLinejoin,
|
|
524
524
|
onClick: o[0] || (o[0] = (...l) => e.onClick && e.onClick(...l))
|
|
525
525
|
}, o[1] || (o[1] = [
|
|
526
526
|
A("path", { d: "M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8" }, null, -1)
|
|
527
|
-
]), 14,
|
|
527
|
+
]), 14, hn);
|
|
528
528
|
}
|
|
529
|
-
var
|
|
530
|
-
const
|
|
529
|
+
var $e = /* @__PURE__ */ pe(mn, [["render", gn]]);
|
|
530
|
+
const vn = Object.assign($e, {
|
|
531
531
|
install: (e, o) => {
|
|
532
532
|
var t;
|
|
533
533
|
const n = (t = o?.iconPrefix) != null ? t : "";
|
|
534
|
-
e.component(n +
|
|
534
|
+
e.component(n + $e.name, $e);
|
|
535
535
|
}
|
|
536
|
-
}), vn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4gAAADQCAYAAABFhU/JAAAAAXNSR0IArs4c6QAAIABJREFUeF7t3b+PHMe16PFT/XtmdrlN2bIlAb6wgWdc4DLkP8DgQe8tBBJM5gUWCBAKmOlvuPs/CHgBIwLOvKECAkoeMyfXIQNfAXZAWDBEmQtqd/vHTHfXQ++Ion4suTuz3T1VXd8N7e6qcz6nRKm4M+co4QcBBBC4hMB8rveK4DiUk5Ps888/yC7xCo8ggAACCCCAAAIIWCagLIuXcBFAYGCBW7d0sPv+caq0H73auqp1o6Myy//xTvbkiaoGDontEEAAAQQQQAABBHoS4ILYEyzLIjAGgfn82aSO30mrSt74Z0VZV0U5e5E9efS7Ygw5kwMCCCCAAAIIIOCyABdEl6tP7gi8ReDOJ3pXsmz3skh+2VRBkGeHN97N5EA1l32P5xBAAAEEEEAAAQTMEeCCaE4tiAQBIwQODrT39Om3aekHyaYBecUiC8OvssPDG4tN1+A9BBBAAAEEEEAAgeEFuCAOb86OCBgrsL//ZRym76eild9FkH40LYNcssNDlXexHmsggAACCCCAAAII9CvABbFfX1ZHwBqBD+/pWbLM9noJWE1rmUgWH59dFute9mBRBBBAAAEEEEAAgSsLcEG8MiELIGC/wN27R2mTRNMhMqm9ad78QrLHn6lyiP3YAwEEEEAAAQQQQODyAlwQL2/FkwiMTuDWgQ52/yqp0tn3IyyGSjKum+XLZCf74o+SiSg91L7sgwACCCCAAAIIIPBmAS6InA4EHBWYz/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D9EhgAACCLghsGpqo3PPi2lq40bJN87ybU1tzi6IjLDY2JYXEXBaoKlV0F4ORcR3GoLkEUAAAQQQMEwgEr0IgpimNobVxbRwzmtqoz68989ZstzdMy1Y4kEAAbMFdO3Fgee1l0N+EEAAAQQQQMBcgTpWTa5UQlMbc2tkRGSvmtr8f0k503PA5tvdAAAAAElFTkSuQmCC", yn = { class: "flex-1 font-semibold text-base text-[var(--color-text-1)] overflow-hidden text-ellipsis whitespace-nowrap" }, bn = { class: "flex items-center gap-3 ml-3" }, An = { class: "cursor-pointer text-[var(--color-text-2)] flex items-center justify-center transition-colors duration-200 text-base hover:text-[var(--color-text-1)]" }, Cn = {
|
|
536
|
+
}), yn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4gAAADQCAYAAABFhU/JAAAAAXNSR0IArs4c6QAAIABJREFUeF7t3b+PHMe16PFT/XtmdrlN2bIlAb6wgWdc4DLkP8DgQe8tBBJM5gUWCBAKmOlvuPs/CHgBIwLOvKECAkoeMyfXIQNfAXZAWDBEmQtqd/vHTHfXQ++Ion4suTuz3T1VXd8N7e6qcz6nRKm4M+co4QcBBBC4hMB8rveK4DiUk5Ps888/yC7xCo8ggAACCCCAAAIIWCagLIuXcBFAYGCBW7d0sPv+caq0H73auqp1o6Myy//xTvbkiaoGDontEEAAAQQQQAABBHoS4ILYEyzLIjAGgfn82aSO30mrSt74Z0VZV0U5e5E9efS7Ygw5kwMCCCCAAAIIIOCyABdEl6tP7gi8ReDOJ3pXsmz3skh+2VRBkGeHN97N5EA1l32P5xBAAAEEEEAAAQTMEeCCaE4tiAQBIwQODrT39Om3aekHyaYBecUiC8OvssPDG4tN1+A9BBBAAAEEEEAAgeEFuCAOb86OCBgrsL//ZRym76eild9FkH40LYNcssNDlXexHmsggAACCCCAAAII9CvABbFfX1ZHwBqBD+/pWbLM9noJWE1rmUgWH59dFute9mBRBBBAAAEEEEAAgSsLcEG8MiELIGC/wN27R2mTRNMhMqm9ad78QrLHn6lyiP3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ERad1oPFEHBGgBEWzpSaRBFAAAEEDBMIGr2UJKapjWF1MS2cohC9syNFUUhxeKje+Nvn1xfEgwPvo//+zz2/ySamJUM8CCBgtgAjLMyuD9EhgAACCLghsGpqo3PPi2lq40bJN87ybU1tzi6IjLDY2JYXEXBaoKlV0F4ORcR3GoLkEUAAAQQQMEwgEr0IgpimNobVxbRwzmtqoz68989ZstzdMy1Y4kEAAbMFdO3Fgee1l0N+EEAAAQQQQMBcgTpWTa5UQlMbc2tkRGSvmtr8f0k503PA5tvdAAAAAElFTkSuQmCC", bn = { class: "flex-1 font-semibold text-base text-[var(--color-text-1)] overflow-hidden text-ellipsis whitespace-nowrap" }, An = { class: "flex items-center gap-3 ml-3" }, Cn = { class: "cursor-pointer text-[var(--color-text-2)] flex items-center justify-center transition-colors duration-200 text-base hover:text-[var(--color-text-1)]" }, Sn = {
|
|
537
537
|
key: 1,
|
|
538
538
|
class: "flex items-center justify-end gap-2"
|
|
539
539
|
}, et = /* @__PURE__ */ O({
|
|
@@ -563,7 +563,7 @@ const gn = Object.assign(Ue, {
|
|
|
563
563
|
},
|
|
564
564
|
emits: ["update:modelValue", "close", "ok", "fullscreen-change"],
|
|
565
565
|
setup(e, { emit: o }) {
|
|
566
|
-
const { t } =
|
|
566
|
+
const { t } = co(), n = e, r = o, s = Xe(), l = j(!1), a = C({
|
|
567
567
|
get: () => n.modelValue,
|
|
568
568
|
set: (m) => r("update:modelValue", m)
|
|
569
569
|
}), h = C(() => n.helpMessage || t("common.modal.helpTip")), v = j(!1), g = () => {
|
|
@@ -584,7 +584,7 @@ const gn = Object.assign(Ue, {
|
|
|
584
584
|
else
|
|
585
585
|
r("ok"), a.value = !1;
|
|
586
586
|
};
|
|
587
|
-
return (m, f) => (w(), Q(c(We),
|
|
587
|
+
return (m, f) => (w(), Q(c(We), L({
|
|
588
588
|
visible: a.value,
|
|
589
589
|
"onUpdate:visible": f[1] || (f[1] = (b) => a.value = b),
|
|
590
590
|
title: e.title,
|
|
@@ -597,7 +597,7 @@ const gn = Object.assign(Ue, {
|
|
|
597
597
|
closable: !1
|
|
598
598
|
}, m.$attrs, {
|
|
599
599
|
class: "k-modal-custom",
|
|
600
|
-
style: { "--modal-bg-image": `url(${c(
|
|
600
|
+
style: { "--modal-bg-image": `url(${c(yn)})` },
|
|
601
601
|
onClick: f[2] || (f[2] = ve(() => {
|
|
602
602
|
}, ["stop"])),
|
|
603
603
|
onMousedown: f[3] || (f[3] = ve(() => {
|
|
@@ -608,30 +608,30 @@ const gn = Object.assign(Ue, {
|
|
|
608
608
|
class: "flex items-center justify-between w-full",
|
|
609
609
|
onDblclick: f[0] || (f[0] = (b) => n.fullscreen && g())
|
|
610
610
|
}, [
|
|
611
|
-
A("div",
|
|
611
|
+
A("div", bn, [
|
|
612
612
|
z(m.$slots, "title", {}, () => [
|
|
613
|
-
|
|
613
|
+
H(R(e.title), 1)
|
|
614
614
|
])
|
|
615
615
|
]),
|
|
616
|
-
A("div",
|
|
616
|
+
A("div", An, [
|
|
617
617
|
h.value ? (w(), Q(c(ht), {
|
|
618
618
|
key: 0,
|
|
619
619
|
content: h.value
|
|
620
620
|
}, {
|
|
621
621
|
default: I(() => [
|
|
622
|
-
A("div",
|
|
622
|
+
A("div", Cn, [
|
|
623
623
|
k(c(kt))
|
|
624
624
|
])
|
|
625
625
|
]),
|
|
626
626
|
_: 1
|
|
627
|
-
}, 8, ["content"])) :
|
|
628
|
-
n.fullscreen ? (w(),
|
|
627
|
+
}, 8, ["content"])) : W("", !0),
|
|
628
|
+
n.fullscreen ? (w(), T("div", {
|
|
629
629
|
key: 1,
|
|
630
630
|
class: "cursor-pointer text-[var(--color-text-2)] flex items-center justify-center transition-colors duration-200 text-base hover:text-[var(--color-text-1)]",
|
|
631
631
|
onClick: ve(g, ["stop"])
|
|
632
632
|
}, [
|
|
633
|
-
v.value ? (w(), Q(c(
|
|
634
|
-
])) :
|
|
633
|
+
v.value ? (w(), Q(c(pn), { key: 0 })) : (w(), Q(c(vn), { key: 1 }))
|
|
634
|
+
])) : W("", !0),
|
|
635
635
|
A("div", {
|
|
636
636
|
class: "cursor-pointer text-[var(--color-text-2)] flex items-center justify-center transition-colors duration-200 text-base hover:text-[rgb(var(--red-6))]",
|
|
637
637
|
onClick: ve(i, ["stop"])
|
|
@@ -642,21 +642,21 @@ const gn = Object.assign(Ue, {
|
|
|
642
642
|
], 32)
|
|
643
643
|
]),
|
|
644
644
|
footer: I(() => [
|
|
645
|
-
m.$slots.footer ? z(m.$slots, "footer", { key: 0 }) : (w(),
|
|
645
|
+
m.$slots.footer ? z(m.$slots, "footer", { key: 0 }) : (w(), T("div", Sn, [
|
|
646
646
|
z(m.$slots, "insertFooter"),
|
|
647
|
-
c(s).hideCancel ?
|
|
647
|
+
c(s).hideCancel ? W("", !0) : (w(), Q(c(he), L({ key: 0 }, c(s).cancelButtonProps, { onClick: c(d) }), {
|
|
648
648
|
default: I(() => [
|
|
649
|
-
|
|
649
|
+
H(R(c(s).cancelText || c(t)("common.modal.cancel")), 1)
|
|
650
650
|
]),
|
|
651
651
|
_: 1
|
|
652
652
|
}, 16, ["onClick"])),
|
|
653
653
|
z(m.$slots, "centerFooter"),
|
|
654
|
-
k(c(he),
|
|
654
|
+
k(c(he), L({
|
|
655
655
|
type: "primary",
|
|
656
656
|
loading: l.value || c(s).okLoading || c(s).confirmLoading
|
|
657
657
|
}, c(s).okButtonProps, { onClick: u }), {
|
|
658
658
|
default: I(() => [
|
|
659
|
-
|
|
659
|
+
H(R(c(s).okText || c(t)("common.modal.confirm")), 1)
|
|
660
660
|
]),
|
|
661
661
|
_: 1
|
|
662
662
|
}, 16, ["loading"]),
|
|
@@ -670,7 +670,7 @@ const gn = Object.assign(Ue, {
|
|
|
670
670
|
}, 16, ["visible", "title", "width", "top", "z-index", "mask-closable", "esc-to-close", "fullscreen", "style"]));
|
|
671
671
|
}
|
|
672
672
|
});
|
|
673
|
-
class
|
|
673
|
+
class wn {
|
|
674
674
|
state;
|
|
675
675
|
constructor(o = {}) {
|
|
676
676
|
this.state = ft({
|
|
@@ -696,8 +696,8 @@ class Sn {
|
|
|
696
696
|
return this;
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
|
-
function
|
|
700
|
-
const o = new
|
|
699
|
+
function fl(e = {}) {
|
|
700
|
+
const o = new wn(e);
|
|
701
701
|
return [O({
|
|
702
702
|
name: "SunnyConnectedModal",
|
|
703
703
|
inheritAttrs: !1,
|
|
@@ -716,15 +716,15 @@ function dl(e = {}) {
|
|
|
716
716
|
}
|
|
717
717
|
}), o];
|
|
718
718
|
}
|
|
719
|
-
const
|
|
719
|
+
const pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
720
720
|
__proto__: null
|
|
721
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
721
|
+
}, Symbol.toStringTag, { value: "Module" })), kn = {
|
|
722
722
|
key: 0,
|
|
723
723
|
class: "flex items-center justify-center min-h-[400px] p-8"
|
|
724
|
-
},
|
|
724
|
+
}, xn = { class: "max-w-[520px] w-full text-center" }, En = { class: "mb-3 text-lg font-semibold text-[var(--color-text-1)]" }, Bn = { class: "mb-6 text-sm text-[var(--color-text-2)] leading-relaxed" }, In = {
|
|
725
725
|
key: 0,
|
|
726
726
|
class: "mt-6 mb-6 text-left bg-[var(--color-fill-1)] border border-[var(--color-border-2)] rounded-md overflow-hidden"
|
|
727
|
-
},
|
|
727
|
+
}, Pn = { class: "flex items-center gap-2 px-4 py-3 bg-[var(--color-fill-2)] border-b border-[var(--color-border-2)] text-sm font-medium text-[var(--color-text-2)]" }, Vn = { class: "p-4" }, Rn = { class: "mb-3" }, Fn = { class: "block mb-1 text-xs text-[var(--color-text-3)]" }, Nn = { class: "p-2 bg-[var(--color-fill-1)] rounded text-xs text-[var(--color-text-2)] font-mono break-all" }, Tn = { class: "block mb-1 text-xs text-[var(--color-text-3)]" }, Ln = { class: "mt-2 p-3 bg-[var(--color-fill-2)] rounded text-xs text-[var(--color-text-2)] font-mono leading-relaxed overflow-x-auto whitespace-pre-wrap break-all max-h-[240px]" }, Mn = { class: "flex gap-3 justify-center flex-wrap" }, ml = /* @__PURE__ */ O({
|
|
728
728
|
name: "ErrorBoundary",
|
|
729
729
|
__name: "ErrorBoundary",
|
|
730
730
|
props: {
|
|
@@ -739,14 +739,14 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
739
739
|
emits: ["error", "retry", "report"],
|
|
740
740
|
setup(e, { emit: o }) {
|
|
741
741
|
const t = e, n = o, r = ot(!1), s = ot(null), l = C(() => ({
|
|
742
|
-
title: t.errorMessage ||
|
|
743
|
-
desc:
|
|
744
|
-
retry:
|
|
745
|
-
refresh:
|
|
746
|
-
report:
|
|
747
|
-
details:
|
|
748
|
-
errorMessage:
|
|
749
|
-
errorStack:
|
|
742
|
+
title: t.errorMessage || ce("error.title"),
|
|
743
|
+
desc: ce("error.message"),
|
|
744
|
+
retry: ce("error.retry"),
|
|
745
|
+
refresh: ce("error.refresh"),
|
|
746
|
+
report: ce("error.reportError"),
|
|
747
|
+
details: ce("error.details"),
|
|
748
|
+
errorMessage: ce("error.errorMessage"),
|
|
749
|
+
errorStack: ce("error.errorStack")
|
|
750
750
|
}));
|
|
751
751
|
Dt((g, i, d) => {
|
|
752
752
|
if (r.value)
|
|
@@ -763,13 +763,13 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
763
763
|
function v() {
|
|
764
764
|
s.value && n("report", s.value);
|
|
765
765
|
}
|
|
766
|
-
return (g, i) => r.value ? (w(),
|
|
767
|
-
A("div",
|
|
766
|
+
return (g, i) => r.value ? (w(), T("div", kn, [
|
|
767
|
+
A("div", xn, [
|
|
768
768
|
i[1] || (i[1] = Ut('<div class="flex justify-center mb-6 text-[var(--color-danger-6)]"><svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-12 h-12"><circle cx="24" cy="24" r="23" stroke="currentColor" stroke-width="1.5"></circle><path d="M24 16v8M24 28v4" stroke="currentColor" stroke-width="2" stroke-linecap="round"></path><circle cx="24" cy="36" r="1.5" fill="currentColor"></circle></svg></div>', 1)),
|
|
769
|
-
A("div",
|
|
770
|
-
A("div",
|
|
771
|
-
s.value ? (w(),
|
|
772
|
-
A("div",
|
|
769
|
+
A("div", En, R(l.value.title), 1),
|
|
770
|
+
A("div", Bn, R(l.value.desc), 1),
|
|
771
|
+
s.value ? (w(), T("div", In, [
|
|
772
|
+
A("div", Pn, [
|
|
773
773
|
i[0] || (i[0] = A("svg", {
|
|
774
774
|
viewBox: "0 0 16 16",
|
|
775
775
|
fill: "currentColor",
|
|
@@ -783,38 +783,38 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
783
783
|
], -1)),
|
|
784
784
|
A("span", null, R(l.value.details), 1)
|
|
785
785
|
]),
|
|
786
|
-
A("div",
|
|
787
|
-
A("div",
|
|
788
|
-
A("span",
|
|
789
|
-
A("div",
|
|
786
|
+
A("div", Vn, [
|
|
787
|
+
A("div", Rn, [
|
|
788
|
+
A("span", Fn, R(l.value.errorMessage), 1),
|
|
789
|
+
A("div", Nn, R(s.value?.message), 1)
|
|
790
790
|
]),
|
|
791
791
|
A("div", null, [
|
|
792
|
-
A("span",
|
|
793
|
-
A("pre",
|
|
792
|
+
A("span", Tn, R(l.value.errorStack), 1),
|
|
793
|
+
A("pre", Ln, R(s.value?.stack), 1)
|
|
794
794
|
])
|
|
795
795
|
])
|
|
796
|
-
])) :
|
|
797
|
-
A("div",
|
|
798
|
-
e.showRetry ? (w(),
|
|
796
|
+
])) : W("", !0),
|
|
797
|
+
A("div", Mn, [
|
|
798
|
+
e.showRetry ? (w(), T("button", {
|
|
799
799
|
key: 0,
|
|
800
800
|
class: "px-4 py-2 bg-[rgb(var(--primary-6))] text-white rounded hover:bg-[rgb(var(--primary-7))]",
|
|
801
801
|
onClick: a
|
|
802
|
-
}, R(l.value.retry), 1)) :
|
|
803
|
-
e.showRefresh ? (w(),
|
|
802
|
+
}, R(l.value.retry), 1)) : W("", !0),
|
|
803
|
+
e.showRefresh ? (w(), T("button", {
|
|
804
804
|
key: 1,
|
|
805
805
|
class: "px-4 py-2 bg-[var(--color-bg-5)] text-[var(--color-text-1)] rounded hover:bg-[var(--color-bg-4)] border border-[var(--color-border)]",
|
|
806
806
|
onClick: h
|
|
807
|
-
}, R(l.value.refresh), 1)) :
|
|
808
|
-
e.showReport ? (w(),
|
|
807
|
+
}, R(l.value.refresh), 1)) : W("", !0),
|
|
808
|
+
e.showReport ? (w(), T("button", {
|
|
809
809
|
key: 2,
|
|
810
810
|
class: "px-4 py-2 bg-[var(--color-danger-6)] text-white rounded hover:bg-[var(--color-danger-7)]",
|
|
811
811
|
onClick: v
|
|
812
|
-
}, R(l.value.report), 1)) :
|
|
812
|
+
}, R(l.value.report), 1)) : W("", !0)
|
|
813
813
|
])
|
|
814
814
|
])
|
|
815
815
|
])) : z(g.$slots, "default", { key: 1 });
|
|
816
816
|
}
|
|
817
|
-
}),
|
|
817
|
+
}), jn = ["src"], Qn = /* @__PURE__ */ O({
|
|
818
818
|
name: "SunnyIcon",
|
|
819
819
|
__name: "icon",
|
|
820
820
|
props: {
|
|
@@ -822,18 +822,18 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
822
822
|
icon: { type: [Function, String] }
|
|
823
823
|
},
|
|
824
824
|
setup(e) {
|
|
825
|
-
const o = e, t = C(() => Ae(o.icon) &&
|
|
825
|
+
const o = e, t = C(() => Ae(o.icon) && po(o.icon)), n = C(() => {
|
|
826
826
|
const { icon: r } = o;
|
|
827
|
-
return !Ae(r) && (
|
|
827
|
+
return !Ae(r) && (_(r) || te(r));
|
|
828
828
|
});
|
|
829
|
-
return (r, s) => n.value ? (w(), Q(
|
|
829
|
+
return (r, s) => n.value ? (w(), Q(Ue(e.icon), oe(L({ key: 0 }, r.$attrs)), null, 16)) : t.value ? (w(), T("img", L({
|
|
830
830
|
key: 1,
|
|
831
831
|
src: e.icon
|
|
832
|
-
}, r.$attrs), null, 16,
|
|
832
|
+
}, r.$attrs), null, 16, jn)) : e.icon ? (w(), Q(c(uo), L({ key: 2 }, r.$attrs, {
|
|
833
833
|
icon: e.icon
|
|
834
|
-
}), null, 16, ["icon"])) : e.fallback ? (w(), Q(c(
|
|
834
|
+
}), null, 16, ["icon"])) : e.fallback ? (w(), Q(c(fo), oe(L({ key: 3 }, r.$attrs)), null, 16)) : W("", !0);
|
|
835
835
|
}
|
|
836
|
-
}),
|
|
836
|
+
}), On = /* @__PURE__ */ O({
|
|
837
837
|
name: "SunnyScrollArea",
|
|
838
838
|
__name: "ScrollArea",
|
|
839
839
|
props: {
|
|
@@ -851,11 +851,11 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
851
851
|
const { class: n, onScroll: r, ...s } = o;
|
|
852
852
|
return s;
|
|
853
853
|
});
|
|
854
|
-
return (n, r) => (w(), Q(c(
|
|
855
|
-
class: c(
|
|
854
|
+
return (n, r) => (w(), Q(c(vo), L(t.value, {
|
|
855
|
+
class: c(_e)("relative overflow-hidden", o.class)
|
|
856
856
|
}), {
|
|
857
857
|
default: I(() => [
|
|
858
|
-
k(c(
|
|
858
|
+
k(c(yo), {
|
|
859
859
|
"as-child": "",
|
|
860
860
|
class: "h-full w-full rounded-[inherit] focus:outline-none",
|
|
861
861
|
onScroll: e.onScroll
|
|
@@ -866,7 +866,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
866
866
|
_: 3
|
|
867
867
|
}, 8, ["onScroll"]),
|
|
868
868
|
k(c(Et)),
|
|
869
|
-
k(c(
|
|
869
|
+
k(c(bo))
|
|
870
870
|
]),
|
|
871
871
|
_: 3
|
|
872
872
|
}, 16, ["class"]));
|
|
@@ -886,8 +886,8 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
886
886
|
const { class: n, ...r } = o;
|
|
887
887
|
return r;
|
|
888
888
|
});
|
|
889
|
-
return (n, r) => (w(), Q(c(
|
|
890
|
-
class: c(
|
|
889
|
+
return (n, r) => (w(), Q(c(Ao), L(t.value, {
|
|
890
|
+
class: c(_e)(
|
|
891
891
|
"flex touch-none select-none transition-colors",
|
|
892
892
|
e.orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-px",
|
|
893
893
|
e.orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-px",
|
|
@@ -895,12 +895,12 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
895
895
|
)
|
|
896
896
|
}), {
|
|
897
897
|
default: I(() => [
|
|
898
|
-
k(c(
|
|
898
|
+
k(c(Co), { class: "relative flex-1 rounded-full bg-border" })
|
|
899
899
|
]),
|
|
900
900
|
_: 1
|
|
901
901
|
}, 16, ["class"]));
|
|
902
902
|
}
|
|
903
|
-
}), it = 1,
|
|
903
|
+
}), it = 1, Dn = /* @__PURE__ */ O({
|
|
904
904
|
name: "SunnyScrollbar",
|
|
905
905
|
__name: "scrollbar",
|
|
906
906
|
props: {
|
|
@@ -930,31 +930,31 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
930
930
|
top: r.value
|
|
931
931
|
});
|
|
932
932
|
}
|
|
933
|
-
return (m, f) => (w(), Q(c(
|
|
934
|
-
class:
|
|
933
|
+
return (m, f) => (w(), Q(c(On), {
|
|
934
|
+
class: Y([[c(_e)(t.class), d.value], "sunny-scrollbar relative"]),
|
|
935
935
|
"on-scroll": u
|
|
936
936
|
}, {
|
|
937
937
|
default: I(() => [
|
|
938
|
-
h.value ? (w(),
|
|
938
|
+
h.value ? (w(), T("div", {
|
|
939
939
|
key: 0,
|
|
940
|
-
class:
|
|
940
|
+
class: Y([{
|
|
941
941
|
"opacity-100": !r.value,
|
|
942
942
|
"border-t border-border": e.shadowBorder && !r.value
|
|
943
943
|
}, "scrollbar-top-shadow pointer-events-none absolute top-0 z-10 h-12 w-full opacity-0 transition-opacity duration-300 ease-in-out will-change-[opacity]"])
|
|
944
|
-
}, null, 2)) :
|
|
944
|
+
}, null, 2)) : W("", !0),
|
|
945
945
|
z(m.$slots, "default", {}, void 0, !0),
|
|
946
|
-
v.value ? (w(),
|
|
946
|
+
v.value ? (w(), T("div", {
|
|
947
947
|
key: 1,
|
|
948
|
-
class:
|
|
948
|
+
class: Y([{
|
|
949
949
|
"opacity-100": !r.value && !l.value,
|
|
950
950
|
"border-b border-border": e.shadowBorder && !r.value && !l.value
|
|
951
951
|
}, "scrollbar-bottom-shadow pointer-events-none absolute bottom-0 z-10 h-12 w-full opacity-0 transition-opacity duration-300 ease-in-out will-change-[opacity]"])
|
|
952
|
-
}, null, 2)) :
|
|
952
|
+
}, null, 2)) : W("", !0),
|
|
953
953
|
e.horizontal ? (w(), Q(c(Et), {
|
|
954
954
|
key: 2,
|
|
955
|
-
class:
|
|
955
|
+
class: Y(e.scrollBarClass),
|
|
956
956
|
orientation: "horizontal"
|
|
957
|
-
}, null, 8, ["class"])) :
|
|
957
|
+
}, null, 8, ["class"])) : W("", !0)
|
|
958
958
|
]),
|
|
959
959
|
_: 3
|
|
960
960
|
}, 8, ["class"]));
|
|
@@ -964,7 +964,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
964
964
|
for (const [n, r] of o)
|
|
965
965
|
t[n] = r;
|
|
966
966
|
return t;
|
|
967
|
-
},
|
|
967
|
+
}, hl = /* @__PURE__ */ Ne(Dn, [["__scopeId", "data-v-299d4e0d"]]), zn = { class: "sunny-file-upload" }, $n = { class: "font-bold text-gray-700 mb-2" }, Un = { class: "flex flex-wrap items-center text-sm mb-3 select-none" }, qn = { class: "cursor-pointer text-blue-600 hover:text-blue-700 flex items-center mr-4 transition-colors" }, Wn = { class: "text-xs text-blue-600" }, Yn = { class: "text-xs text-gray-400" }, Jn = { class: "border border-dashed border-gray-300 rounded-lg p-4 transition-all duration-300" }, Gn = { class: "grid grid-cols-1 sm:grid-cols-2 gap-4" }, Kn = { class: "flex-1 min-w-0 pr-8" }, Hn = ["title"], Xn = { class: "flex items-center text-xs text-gray-500" }, Zn = { class: "mr-3 min-w-[3em]" }, _n = { class: "ml-2 w-8 text-right" }, ct = 1024, gl = /* @__PURE__ */ O({
|
|
968
968
|
__name: "index",
|
|
969
969
|
props: {
|
|
970
970
|
modelValue: { default: "" },
|
|
@@ -1003,9 +1003,9 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1003
1003
|
"vscode-icons:file-type-zip": ["zip", "rar", "7z", "tar", "gz"],
|
|
1004
1004
|
"vscode-icons:file-type-pdf": ["pdf"]
|
|
1005
1005
|
};
|
|
1006
|
-
for (const [
|
|
1007
|
-
if (P.includes(F) || P.some((
|
|
1008
|
-
return
|
|
1006
|
+
for (const [J, P] of Object.entries(D))
|
|
1007
|
+
if (P.includes(F) || P.some(($) => p.includes($)))
|
|
1008
|
+
return J;
|
|
1009
1009
|
return p.includes("excel") || p.includes("spreadsheet") ? "vscode-icons:file-type-excel" : p.includes("powerpoint") || p.includes("presentation") ? "vscode-icons:file-type-powerpoint" : p.includes("text/plain") ? "vscode-icons:file-type-text" : p.includes("word") || p.includes("document") ? "vscode-icons:file-type-word" : p.includes("zip") || p.includes("compressed") ? "vscode-icons:file-type-zip" : p.includes("pdf") ? "vscode-icons:file-type-pdf" : "vscode-icons:default-file";
|
|
1010
1010
|
}, m = () => {
|
|
1011
1011
|
const B = JSON.stringify(a.value);
|
|
@@ -1013,12 +1013,12 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1013
1013
|
}, f = (B, p) => {
|
|
1014
1014
|
if (p.status !== "init") return;
|
|
1015
1015
|
if (a.value.length >= n.limit) {
|
|
1016
|
-
|
|
1016
|
+
G.error(`最多上传${n.limit}个文件`);
|
|
1017
1017
|
return;
|
|
1018
1018
|
}
|
|
1019
1019
|
const x = n.maxSize * 1024 * 1024;
|
|
1020
1020
|
if (p.file.size > x) {
|
|
1021
|
-
|
|
1021
|
+
G.error(`文件最大限制${d(x)}`);
|
|
1022
1022
|
return;
|
|
1023
1023
|
}
|
|
1024
1024
|
a.value.push({
|
|
@@ -1038,16 +1038,16 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1038
1038
|
x.append("fileName", p.file), x.append("encryptFile", l.value ? "1" : "0"), n.storeType && x.append("storeType", n.storeType), n.s3FileDir && x.append("s3FileDir", n.s3FileDir), n.preSigned && x.append("preSigned", n.preSigned), n.preSignedExpire && x.append("preSignedExpire", n.preSignedExpire);
|
|
1039
1039
|
try {
|
|
1040
1040
|
const F = await ge.post(n.action, x, {
|
|
1041
|
-
onUploadProgress: (
|
|
1042
|
-
if (
|
|
1043
|
-
const P = Math.floor(
|
|
1041
|
+
onUploadProgress: (J) => {
|
|
1042
|
+
if (J.total) {
|
|
1043
|
+
const P = Math.floor(J.loaded / J.total * 100);
|
|
1044
1044
|
p.percentage = P;
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
1047
|
}), { data: D } = F;
|
|
1048
|
-
D.code === 200 ? (Object.assign(p, D.result),
|
|
1048
|
+
D.code === 200 ? (Object.assign(p, D.result), G.success(D.message || "上传成功")) : (G.error(D.message || "上传失败"), E(p.uid));
|
|
1049
1049
|
} catch {
|
|
1050
|
-
|
|
1050
|
+
G.error("上传失败"), E(p.uid);
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
1053
|
m();
|
|
@@ -1064,7 +1064,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1064
1064
|
storeType: n.storeType
|
|
1065
1065
|
}).then((x) => {
|
|
1066
1066
|
const { data: F } = x;
|
|
1067
|
-
|
|
1067
|
+
G[F.success ? "success" : "error"](F.message), F.code === 200 && (a.value.splice(p, 1), m());
|
|
1068
1068
|
});
|
|
1069
1069
|
}
|
|
1070
1070
|
}) : (a.value.splice(p, 1), m());
|
|
@@ -1084,15 +1084,15 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1084
1084
|
storeType: n.storeType
|
|
1085
1085
|
}).then((x) => {
|
|
1086
1086
|
const { data: F } = x;
|
|
1087
|
-
|
|
1087
|
+
G[F.success ? "success" : "error"](F.message), F.code === 200 && (a.value = a.value.filter((D) => !D.checked), m());
|
|
1088
1088
|
}).finally(() => {
|
|
1089
1089
|
h.value = !1;
|
|
1090
1090
|
}) : (a.value = a.value.filter((x) => !x.checked), m(), h.value = !1);
|
|
1091
1091
|
}
|
|
1092
1092
|
});
|
|
1093
1093
|
};
|
|
1094
|
-
return (B, p) => (w(),
|
|
1095
|
-
A("div",
|
|
1094
|
+
return (B, p) => (w(), T("div", zn, [
|
|
1095
|
+
A("div", $n, R(i("附件")), 1),
|
|
1096
1096
|
qe(A("div", Un, [
|
|
1097
1097
|
k(c(Ye), {
|
|
1098
1098
|
"show-file-list": !1,
|
|
@@ -1102,26 +1102,26 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1102
1102
|
onChange: f
|
|
1103
1103
|
}, {
|
|
1104
1104
|
"upload-button": I(() => [
|
|
1105
|
-
A("span",
|
|
1106
|
-
k(c(
|
|
1107
|
-
|
|
1105
|
+
A("span", qn, [
|
|
1106
|
+
k(c(sn), { class: "mr-1 w-4 h-4" }),
|
|
1107
|
+
H(" " + R(i("选择附件")), 1)
|
|
1108
1108
|
])
|
|
1109
1109
|
]),
|
|
1110
1110
|
_: 1
|
|
1111
1111
|
}, 8, ["accept"]),
|
|
1112
1112
|
A("span", {
|
|
1113
|
-
class:
|
|
1113
|
+
class: Y(["flex items-center mr-4 transition-colors", v.value ? "text-gray-300 cursor-not-allowed" : "cursor-pointer text-gray-600 hover:text-gray-800"]),
|
|
1114
1114
|
onClick: p[0] || (p[0] = (x) => !v.value && b())
|
|
1115
1115
|
}, [
|
|
1116
|
-
k(c(
|
|
1117
|
-
|
|
1116
|
+
k(c(tn), { class: "mr-1 w-4 h-4" }),
|
|
1117
|
+
H(" " + R(i("上传附件")), 1)
|
|
1118
1118
|
], 2),
|
|
1119
1119
|
A("span", {
|
|
1120
1120
|
class: "cursor-pointer text-blue-600 hover:text-blue-700 mr-4 transition-colors",
|
|
1121
1121
|
onClick: S
|
|
1122
1122
|
}, R(i("全选")), 1),
|
|
1123
1123
|
A("span", {
|
|
1124
|
-
class:
|
|
1124
|
+
class: Y(["mr-4 transition-colors", g.value === 0 ? "text-gray-300 cursor-not-allowed" : "cursor-pointer text-gray-500 hover:text-red-500"]),
|
|
1125
1125
|
onClick: V
|
|
1126
1126
|
}, R(i("删除")), 3),
|
|
1127
1127
|
e.showEncrypt ? (w(), Q(c(Ie), {
|
|
@@ -1131,11 +1131,11 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1131
1131
|
class: "mr-4"
|
|
1132
1132
|
}, {
|
|
1133
1133
|
default: I(() => [
|
|
1134
|
-
A("span",
|
|
1134
|
+
A("span", Wn, R(i("是否加密")), 1)
|
|
1135
1135
|
]),
|
|
1136
1136
|
_: 1
|
|
1137
|
-
}, 8, ["modelValue"])) :
|
|
1138
|
-
A("span",
|
|
1137
|
+
}, 8, ["modelValue"])) : W("", !0),
|
|
1138
|
+
A("span", Yn, " (" + R(i("单个文件最大")) + R(e.maxSize) + "MB," + R(i("最多上传")) + R(e.limit) + R(i("个")) + ") ", 1),
|
|
1139
1139
|
A("span", {
|
|
1140
1140
|
class: "ml-auto cursor-pointer text-blue-600 text-xs hover:text-blue-700 transition-colors",
|
|
1141
1141
|
onClick: p[2] || (p[2] = (x) => s.value = !s.value)
|
|
@@ -1143,40 +1143,40 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1143
1143
|
], 512), [
|
|
1144
1144
|
[nt, !e.readonly]
|
|
1145
1145
|
]),
|
|
1146
|
-
qe(A("div",
|
|
1147
|
-
A("div",
|
|
1148
|
-
(w(!0),
|
|
1146
|
+
qe(A("div", Jn, [
|
|
1147
|
+
A("div", Gn, [
|
|
1148
|
+
(w(!0), T(se, null, Z(a.value, (x, F) => (w(), T("div", {
|
|
1149
1149
|
key: x.uid || F,
|
|
1150
1150
|
class: "bg-gray-50 hover:bg-gray-100 rounded p-3 relative flex items-center border border-transparent hover:border-gray-200 transition-colors group"
|
|
1151
1151
|
}, [
|
|
1152
|
-
k(c(
|
|
1152
|
+
k(c(Qn), {
|
|
1153
1153
|
icon: u(x),
|
|
1154
1154
|
class: "w-10 h-10 mr-3 flex-shrink-0"
|
|
1155
1155
|
}, null, 8, ["icon"]),
|
|
1156
|
-
A("div",
|
|
1156
|
+
A("div", Kn, [
|
|
1157
1157
|
A("div", {
|
|
1158
1158
|
class: "text-sm truncate font-medium text-gray-700 mb-1",
|
|
1159
1159
|
title: x.name
|
|
1160
|
-
}, R(x.name), 9,
|
|
1161
|
-
A("div",
|
|
1162
|
-
A("span",
|
|
1163
|
-
k(c(
|
|
1160
|
+
}, R(x.name), 9, Hn),
|
|
1161
|
+
A("div", Xn, [
|
|
1162
|
+
A("span", Zn, R(d(x.size)), 1),
|
|
1163
|
+
k(c(Jt), {
|
|
1164
1164
|
percent: x.percentage / 100,
|
|
1165
1165
|
size: "small",
|
|
1166
1166
|
"show-text": !1,
|
|
1167
1167
|
color: x.percentage === 100 ? "#00b42a" : "#165dff",
|
|
1168
1168
|
class: "flex-1"
|
|
1169
1169
|
}, null, 8, ["percent", "color"]),
|
|
1170
|
-
A("span",
|
|
1170
|
+
A("span", _n, R(x.percentage) + "%", 1)
|
|
1171
1171
|
])
|
|
1172
1172
|
]),
|
|
1173
|
-
e.readonly ?
|
|
1173
|
+
e.readonly ? W("", !0) : (w(), Q(c(Ie), {
|
|
1174
1174
|
key: 0,
|
|
1175
1175
|
modelValue: x.checked,
|
|
1176
1176
|
"onUpdate:modelValue": (D) => x.checked = D,
|
|
1177
1177
|
class: "absolute top-3 right-3"
|
|
1178
1178
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])),
|
|
1179
|
-
e.readonly ?
|
|
1179
|
+
e.readonly ? W("", !0) : (w(), Q(c(xt), {
|
|
1180
1180
|
key: 1,
|
|
1181
1181
|
class: "absolute bottom-3 right-3 w-4 h-4 cursor-pointer text-gray-400 hover:text-red-500 transition-colors",
|
|
1182
1182
|
onClick: (D) => y(x, F)
|
|
@@ -1188,7 +1188,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1188
1188
|
])
|
|
1189
1189
|
]));
|
|
1190
1190
|
}
|
|
1191
|
-
}),
|
|
1191
|
+
}), er = { class: "flex gap-2 items-center flex-nowrap overflow-hidden" }, tr = { class: "flex gap-2 item-center flex-nowrap" }, or = /* @__PURE__ */ O({
|
|
1192
1192
|
__name: "index",
|
|
1193
1193
|
props: {
|
|
1194
1194
|
modelValue: {
|
|
@@ -1239,11 +1239,11 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1239
1239
|
const t = e, n = C(() => JSON.parse(t.modelValue || "[]")), r = o, s = (a) => {
|
|
1240
1240
|
const { onProgress: h, onError: v, onSuccess: g, fileItem: i, name: d } = a;
|
|
1241
1241
|
if (t.limit && n.value.length >= t.limit) {
|
|
1242
|
-
|
|
1242
|
+
G.error(`最多只能上传 ${t.limit} 个文件`), v();
|
|
1243
1243
|
return;
|
|
1244
1244
|
}
|
|
1245
1245
|
if (t.maxSize && i.file.size > t.maxSize * 1024 * 1024) {
|
|
1246
|
-
|
|
1246
|
+
G.error(`文件大小不能超过 ${t.maxSize} MB`), v();
|
|
1247
1247
|
return;
|
|
1248
1248
|
}
|
|
1249
1249
|
var u = new FormData();
|
|
@@ -1258,11 +1258,11 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1258
1258
|
}
|
|
1259
1259
|
).then((m) => {
|
|
1260
1260
|
if (m.data.code === 200) {
|
|
1261
|
-
|
|
1261
|
+
G.success(m.data.message || "上传成功"), g(m.data.result);
|
|
1262
1262
|
const f = [...n.value, i];
|
|
1263
1263
|
r("update:modelValue", JSON.stringify(f)), r("change", JSON.stringify(f));
|
|
1264
1264
|
} else
|
|
1265
|
-
|
|
1265
|
+
G.error(m.data.message || "上传失败"), v();
|
|
1266
1266
|
}).catch(() => {
|
|
1267
1267
|
v();
|
|
1268
1268
|
});
|
|
@@ -1275,17 +1275,17 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1275
1275
|
}
|
|
1276
1276
|
).then((h) => {
|
|
1277
1277
|
const { data: v } = h;
|
|
1278
|
-
if (
|
|
1278
|
+
if (G.success(v.message || "删除成功"), v.code === 200) {
|
|
1279
1279
|
const g = n.value.filter((i) => i.uid !== a.uid);
|
|
1280
1280
|
r("update:modelValue", JSON.stringify(g));
|
|
1281
1281
|
}
|
|
1282
1282
|
}).catch((h) => {
|
|
1283
|
-
|
|
1283
|
+
G.error("删除失败"), console.error("删除文件失败:", h);
|
|
1284
1284
|
});
|
|
1285
1285
|
};
|
|
1286
1286
|
return (a, h) => {
|
|
1287
|
-
const v =
|
|
1288
|
-
return w(),
|
|
1287
|
+
const v = ne("a-button"), g = ne("a-upload"), i = ne("a-tag");
|
|
1288
|
+
return w(), T("div", er, [
|
|
1289
1289
|
k(g, {
|
|
1290
1290
|
"show-file-list": !1,
|
|
1291
1291
|
action: e.action,
|
|
@@ -1297,22 +1297,22 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1297
1297
|
size: "mini"
|
|
1298
1298
|
}, {
|
|
1299
1299
|
default: I(() => [
|
|
1300
|
-
|
|
1300
|
+
H(R(a.$t("common.upload")), 1)
|
|
1301
1301
|
]),
|
|
1302
1302
|
_: 1
|
|
1303
1303
|
})
|
|
1304
1304
|
]),
|
|
1305
1305
|
_: 1
|
|
1306
1306
|
}, 8, ["action"]),
|
|
1307
|
-
A("div",
|
|
1308
|
-
(w(!0),
|
|
1307
|
+
A("div", tr, [
|
|
1308
|
+
(w(!0), T(se, null, Z(n.value, (d) => (w(), Q(i, {
|
|
1309
1309
|
loading: !1,
|
|
1310
1310
|
color: d.status === "error" ? "red" : "green",
|
|
1311
1311
|
closable: "",
|
|
1312
1312
|
onClose: (u) => l(d)
|
|
1313
1313
|
}, {
|
|
1314
1314
|
default: I(() => [
|
|
1315
|
-
|
|
1315
|
+
H(R(d.name), 1)
|
|
1316
1316
|
]),
|
|
1317
1317
|
_: 2
|
|
1318
1318
|
}, 1032, ["color", "onClose"]))), 256))
|
|
@@ -1320,7 +1320,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1320
1320
|
]);
|
|
1321
1321
|
};
|
|
1322
1322
|
}
|
|
1323
|
-
}),
|
|
1323
|
+
}), nr = /* @__PURE__ */ O({
|
|
1324
1324
|
name: "SunnySelect",
|
|
1325
1325
|
inheritAttrs: !1,
|
|
1326
1326
|
props: {
|
|
@@ -1366,11 +1366,11 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1366
1366
|
const l = (a) => {
|
|
1367
1367
|
o("update:modelValue", a);
|
|
1368
1368
|
};
|
|
1369
|
-
return () => k(Ce,
|
|
1369
|
+
return () => k(Ce, L(n, {
|
|
1370
1370
|
modelValue: s.value,
|
|
1371
1371
|
"onUpdate:modelValue": l
|
|
1372
1372
|
}), {
|
|
1373
|
-
default: () => e.options.map((a) => r(a) ? k(gt,
|
|
1373
|
+
default: () => e.options.map((a) => r(a) ? k(gt, L({
|
|
1374
1374
|
key: a.value
|
|
1375
1375
|
}, a), {
|
|
1376
1376
|
default: () => t.option ? t.option({
|
|
@@ -1380,7 +1380,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1380
1380
|
...Object.fromEntries(Object.entries(t).filter(([a]) => a !== "option" && a !== "default"))
|
|
1381
1381
|
});
|
|
1382
1382
|
}
|
|
1383
|
-
}),
|
|
1383
|
+
}), rr = { class: "flex items-center justify-between px-3 py-2 border-b border-[var(--color-neutral-3)] bg-[var(--color-bg-popup)] select-none" }, sr = { class: "flex items-center gap-1" }, lr = { class: "w-6 h-6 flex items-center justify-center rounded cursor-help text-[var(--color-text-3)] hover:text-[var(--color-text-1)] hover:bg-[var(--color-fill-3)] transition-all" }, vl = /* @__PURE__ */ O({
|
|
1384
1384
|
name: "SunnyBatchSelect",
|
|
1385
1385
|
inheritAttrs: !1,
|
|
1386
1386
|
__name: "BatchSelect",
|
|
@@ -1455,12 +1455,12 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1455
1455
|
}), f.length > 0) {
|
|
1456
1456
|
i.preventDefault();
|
|
1457
1457
|
const y = Array.from(/* @__PURE__ */ new Set([...t.modelValue, ...f]));
|
|
1458
|
-
n("update:modelValue", y), n("change", y),
|
|
1458
|
+
n("update:modelValue", y), n("change", y), G.success(`成功识别并选中 ${b} 项 (Matched ${b} items)`);
|
|
1459
1459
|
}
|
|
1460
1460
|
};
|
|
1461
1461
|
return (i, d) => {
|
|
1462
|
-
const u =
|
|
1463
|
-
return w(), Q(c(
|
|
1462
|
+
const u = ne("a-checkbox"), m = ne("a-tooltip");
|
|
1463
|
+
return w(), Q(c(nr), L(i.$attrs, {
|
|
1464
1464
|
"model-value": e.modelValue,
|
|
1465
1465
|
options: e.options,
|
|
1466
1466
|
"filter-model": e.filterModel,
|
|
@@ -1468,9 +1468,9 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1468
1468
|
"allow-search": "",
|
|
1469
1469
|
"onUpdate:modelValue": a,
|
|
1470
1470
|
onPaste: g
|
|
1471
|
-
}),
|
|
1471
|
+
}), ae({
|
|
1472
1472
|
header: I(() => [
|
|
1473
|
-
A("div",
|
|
1473
|
+
A("div", rr, [
|
|
1474
1474
|
k(u, {
|
|
1475
1475
|
"model-value": s.value,
|
|
1476
1476
|
indeterminate: l.value,
|
|
@@ -1482,7 +1482,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1482
1482
|
])]),
|
|
1483
1483
|
_: 1
|
|
1484
1484
|
}, 8, ["model-value", "indeterminate"]),
|
|
1485
|
-
A("div",
|
|
1485
|
+
A("div", sr, [
|
|
1486
1486
|
k(m, { content: "清除所有选中项" }, {
|
|
1487
1487
|
default: I(() => [
|
|
1488
1488
|
A("div", {
|
|
@@ -1500,7 +1500,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1500
1500
|
position: "left"
|
|
1501
1501
|
}, {
|
|
1502
1502
|
default: I(() => [
|
|
1503
|
-
A("div",
|
|
1503
|
+
A("div", lr, [
|
|
1504
1504
|
k(c(kt))
|
|
1505
1505
|
])
|
|
1506
1506
|
]),
|
|
@@ -1514,16 +1514,16 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1514
1514
|
Z(i.$slots, (f, b) => ({
|
|
1515
1515
|
name: b,
|
|
1516
1516
|
fn: I((E) => [
|
|
1517
|
-
z(i.$slots, b,
|
|
1517
|
+
z(i.$slots, b, oe(le(E || {})))
|
|
1518
1518
|
])
|
|
1519
1519
|
}))
|
|
1520
1520
|
]), 1040, ["model-value", "options", "filter-model"]);
|
|
1521
1521
|
};
|
|
1522
1522
|
}
|
|
1523
|
-
}),
|
|
1523
|
+
}), ar = { class: "w-full" }, ir = {
|
|
1524
1524
|
key: 0,
|
|
1525
1525
|
class: "flex justify-between items-center w-full"
|
|
1526
|
-
},
|
|
1526
|
+
}, cr = { class: "text-[var(--color-text-3)] text-xs" }, yl = /* @__PURE__ */ O({
|
|
1527
1527
|
name: "SunnyCustomizeSelect",
|
|
1528
1528
|
inheritAttrs: !0,
|
|
1529
1529
|
__name: "CustomizeSelect",
|
|
@@ -1559,13 +1559,13 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1559
1559
|
...r.attrParam
|
|
1560
1560
|
}
|
|
1561
1561
|
};
|
|
1562
|
-
d.value && (E.cVal =
|
|
1562
|
+
d.value && (E.cVal = wo(d.value));
|
|
1563
1563
|
const y = await ge.post("/core/assSelect/commonQuery", E);
|
|
1564
|
-
y.data.code === 200 ? (h.value = y.data.result.optionList, v.value = y.data.result.optionList, i.value = !1) : (i.value = !0,
|
|
1564
|
+
y.data.code === 200 ? (h.value = y.data.result.optionList, v.value = y.data.result.optionList, i.value = !1) : (i.value = !0, G.error(y.data.message));
|
|
1565
1565
|
}
|
|
1566
1566
|
}, m = (E) => {
|
|
1567
1567
|
s("selectChange", E, l?.proxy);
|
|
1568
|
-
}, f =
|
|
1568
|
+
}, f = So((E) => {
|
|
1569
1569
|
if (E !== "") {
|
|
1570
1570
|
g.value = !0;
|
|
1571
1571
|
const y = {
|
|
@@ -1593,8 +1593,8 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1593
1593
|
{ deep: !0 }
|
|
1594
1594
|
), Se(() => {
|
|
1595
1595
|
r.defaultQuery && r.defaultQuery === !0 ? u() : r.cNum && r.defaultQuery === !1 && (a.value = Object.assign({}, a.value, r.defaultConfig));
|
|
1596
|
-
}), (E, y) => (w(),
|
|
1597
|
-
k(c(t),
|
|
1596
|
+
}), (E, y) => (w(), T("div", ar, [
|
|
1597
|
+
k(c(t), L({
|
|
1598
1598
|
modelValue: d.value,
|
|
1599
1599
|
"onUpdate:modelValue": y[0] || (y[0] = (S) => d.value = S),
|
|
1600
1600
|
"allow-clear": "",
|
|
@@ -1610,16 +1610,16 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1610
1610
|
}
|
|
1611
1611
|
}), {
|
|
1612
1612
|
default: I(() => [
|
|
1613
|
-
(w(!0),
|
|
1613
|
+
(w(!0), T(se, null, Z(h.value, (S) => (w(), Q(c(n), {
|
|
1614
1614
|
key: S.cKeynumb,
|
|
1615
1615
|
label: S.cKeyname,
|
|
1616
1616
|
value: S.cKeynumb
|
|
1617
1617
|
}, {
|
|
1618
1618
|
default: I(() => [
|
|
1619
|
-
a.value.cLabelslotcol ? (w(),
|
|
1619
|
+
a.value.cLabelslotcol ? (w(), T("div", ir, [
|
|
1620
1620
|
A("span", null, R(S.cKeyname), 1),
|
|
1621
|
-
A("span",
|
|
1622
|
-
])) :
|
|
1621
|
+
A("span", cr, R(S.cSlot), 1)
|
|
1622
|
+
])) : W("", !0)
|
|
1623
1623
|
]),
|
|
1624
1624
|
_: 2
|
|
1625
1625
|
}, 1032, ["label", "value"]))), 128))
|
|
@@ -1628,7 +1628,7 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1628
1628
|
}, 16, ["modelValue", "allow-search", "loading", "error", "onSearch"])
|
|
1629
1629
|
]));
|
|
1630
1630
|
}
|
|
1631
|
-
}),
|
|
1631
|
+
}), ur = /* @__PURE__ */ O({
|
|
1632
1632
|
name: "SunnySearchInputTag",
|
|
1633
1633
|
inheritAttrs: !1,
|
|
1634
1634
|
__name: "SearchInputTag",
|
|
@@ -1658,8 +1658,8 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1658
1658
|
t.disabled || n("search");
|
|
1659
1659
|
};
|
|
1660
1660
|
return (i, d) => {
|
|
1661
|
-
const u =
|
|
1662
|
-
return w(), Q(u,
|
|
1661
|
+
const u = ne("a-input-tag");
|
|
1662
|
+
return w(), Q(u, L(i.$attrs, {
|
|
1663
1663
|
"model-value": l.value,
|
|
1664
1664
|
"input-value": "",
|
|
1665
1665
|
disabled: e.disabled,
|
|
@@ -1670,15 +1670,15 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1670
1670
|
onRemove: h,
|
|
1671
1671
|
onClear: v,
|
|
1672
1672
|
onKeydown: a
|
|
1673
|
-
}),
|
|
1673
|
+
}), ae({
|
|
1674
1674
|
suffix: I(() => [
|
|
1675
1675
|
A("div", {
|
|
1676
|
-
class:
|
|
1676
|
+
class: Y(["flex items-center h-full px-2 border-l border-[var(--color-neutral-3)] group-hover:border-[var(--color-neutral-4)] -mr-3", [
|
|
1677
1677
|
e.disabled ? "cursor-not-allowed text-[var(--color-text-4)]" : "cursor-pointer text-[var(--color-text-2)] group"
|
|
1678
1678
|
]]),
|
|
1679
1679
|
onClick: ve(g, ["stop"])
|
|
1680
1680
|
}, [
|
|
1681
|
-
k(c(
|
|
1681
|
+
k(c(Xo), { class: "transition-colors group-hover:text-[var(--color-primary-6)]" })
|
|
1682
1682
|
], 2)
|
|
1683
1683
|
]),
|
|
1684
1684
|
_: 2
|
|
@@ -1686,14 +1686,14 @@ const fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1686
1686
|
Z(i.$slots, (m, f) => ({
|
|
1687
1687
|
name: f,
|
|
1688
1688
|
fn: I((b) => [
|
|
1689
|
-
z(i.$slots, f,
|
|
1689
|
+
z(i.$slots, f, oe(le(b || {})))
|
|
1690
1690
|
])
|
|
1691
1691
|
}))
|
|
1692
1692
|
]), 1040, ["model-value", "disabled", "placeholder", "max-tag-count"]);
|
|
1693
1693
|
};
|
|
1694
1694
|
}
|
|
1695
1695
|
});
|
|
1696
|
-
class
|
|
1696
|
+
class dr {
|
|
1697
1697
|
// 核心 TanStack Store 实例 / Core TanStack Store instance
|
|
1698
1698
|
store;
|
|
1699
1699
|
/**
|
|
@@ -1704,7 +1704,7 @@ class ur {
|
|
|
1704
1704
|
* @param options 配置项 / Configuration options
|
|
1705
1705
|
*/
|
|
1706
1706
|
constructor(o, t) {
|
|
1707
|
-
this.store = new
|
|
1707
|
+
this.store = new Io(o), t?.onUpdate && this.store.subscribe(() => {
|
|
1708
1708
|
t.onUpdate?.();
|
|
1709
1709
|
});
|
|
1710
1710
|
}
|
|
@@ -1735,7 +1735,7 @@ class ur {
|
|
|
1735
1735
|
}
|
|
1736
1736
|
function ut(e, o = "YYYY-MM-DD") {
|
|
1737
1737
|
if (!e) return e;
|
|
1738
|
-
if (
|
|
1738
|
+
if (te(e.format))
|
|
1739
1739
|
return e.format(o);
|
|
1740
1740
|
if (e instanceof Date) {
|
|
1741
1741
|
const t = e.getFullYear(), n = String(e.getMonth() + 1).padStart(2, "0"), r = String(e.getDate()).padStart(2, "0"), s = String(e.getHours()).padStart(2, "0"), l = String(e.getMinutes()).padStart(2, "0"), a = String(e.getSeconds()).padStart(2, "0");
|
|
@@ -1744,20 +1744,20 @@ function ut(e, o = "YYYY-MM-DD") {
|
|
|
1744
1744
|
return String(e);
|
|
1745
1745
|
}
|
|
1746
1746
|
function ke(e) {
|
|
1747
|
-
return
|
|
1747
|
+
return mo(e, "Date");
|
|
1748
1748
|
}
|
|
1749
1749
|
function xe(e) {
|
|
1750
|
-
return
|
|
1750
|
+
return _(e) && "$d" in e && "$y" in e && "$M" in e;
|
|
1751
1751
|
}
|
|
1752
1752
|
function Be(e, o) {
|
|
1753
|
-
if (!
|
|
1753
|
+
if (!_(e) || !_(o) || Array.isArray(o)) return o;
|
|
1754
1754
|
const t = { ...e };
|
|
1755
1755
|
return Object.keys(o).forEach((n) => {
|
|
1756
1756
|
const r = t[n], s = o[n];
|
|
1757
|
-
|
|
1757
|
+
_(r) && _(s) ? t[n] = Be(r, s) : t[n] = s;
|
|
1758
1758
|
}), t;
|
|
1759
1759
|
}
|
|
1760
|
-
class
|
|
1760
|
+
class fr {
|
|
1761
1761
|
condition = !1;
|
|
1762
1762
|
resolveFn = null;
|
|
1763
1763
|
promise = null;
|
|
@@ -1773,14 +1773,14 @@ class dr {
|
|
|
1773
1773
|
})), await this.promise);
|
|
1774
1774
|
}
|
|
1775
1775
|
}
|
|
1776
|
-
function
|
|
1776
|
+
function pr(e) {
|
|
1777
1777
|
const o = Object.getPrototypeOf(e), t = Object.getOwnPropertyNames(o);
|
|
1778
1778
|
for (const n of t) {
|
|
1779
1779
|
const r = e[n];
|
|
1780
1780
|
n !== "constructor" && typeof r == "function" && (e[n] = r.bind(e));
|
|
1781
1781
|
}
|
|
1782
1782
|
}
|
|
1783
|
-
function
|
|
1783
|
+
function mr() {
|
|
1784
1784
|
return {
|
|
1785
1785
|
actionWrapperClass: "",
|
|
1786
1786
|
collapsed: !1,
|
|
@@ -1804,7 +1804,7 @@ function pr() {
|
|
|
1804
1804
|
values: {}
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
|
-
class
|
|
1807
|
+
class hr {
|
|
1808
1808
|
// vee-validate 表单上下文
|
|
1809
1809
|
form;
|
|
1810
1810
|
// 是否已挂载
|
|
@@ -1826,8 +1826,8 @@ class mr {
|
|
|
1826
1826
|
// 上一次的状态 (用于 Diff)
|
|
1827
1827
|
prevState = null;
|
|
1828
1828
|
constructor(o = {}) {
|
|
1829
|
-
const { ...t } = o, n =
|
|
1830
|
-
this.store = new
|
|
1829
|
+
const { ...t } = o, n = mr();
|
|
1830
|
+
this.store = new dr(
|
|
1831
1831
|
{
|
|
1832
1832
|
...n,
|
|
1833
1833
|
...t
|
|
@@ -1837,7 +1837,7 @@ class mr {
|
|
|
1837
1837
|
this.prevState = this.state, this.state = this.store.getState(), this.updateState();
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
|
-
), this.state = this.store.getState(), this.stateHandler = new
|
|
1840
|
+
), this.state = this.store.getState(), this.stateHandler = new fr(), pr(this);
|
|
1841
1841
|
}
|
|
1842
1842
|
/**
|
|
1843
1843
|
* 获取字段组件实例
|
|
@@ -2010,7 +2010,7 @@ class mr {
|
|
|
2010
2010
|
* Update state
|
|
2011
2011
|
*/
|
|
2012
2012
|
setState(o) {
|
|
2013
|
-
|
|
2013
|
+
te(o) ? this.store.setState((t) => Be(t, o(t))) : this.store.setState((t) => Be(t, o));
|
|
2014
2014
|
}
|
|
2015
2015
|
/**
|
|
2016
2016
|
* 设置表单值
|
|
@@ -2044,12 +2044,12 @@ class mr {
|
|
|
2044
2044
|
* 只保留目标对象中存在的路径
|
|
2045
2045
|
*/
|
|
2046
2046
|
filterNestedValues(o, t) {
|
|
2047
|
-
if (!
|
|
2047
|
+
if (!_(o) || !_(t) || Array.isArray(o)) return o;
|
|
2048
2048
|
const n = {};
|
|
2049
2049
|
for (const r in o)
|
|
2050
2050
|
if (Object.prototype.hasOwnProperty.call(o, r) && r in t) {
|
|
2051
2051
|
const s = o[r], l = t[r];
|
|
2052
|
-
|
|
2052
|
+
_(s) && !Array.isArray(s) && !ke(s) && !xe(s) && _(l) && !Array.isArray(l) && !ke(l) && !xe(l) ? n[r] = this.filterNestedValues(s, l) : n[r] = s;
|
|
2053
2053
|
}
|
|
2054
2054
|
return n;
|
|
2055
2055
|
}
|
|
@@ -2058,12 +2058,12 @@ class mr {
|
|
|
2058
2058
|
* Filter and merge values
|
|
2059
2059
|
*/
|
|
2060
2060
|
filterAndMergeValues(o, t) {
|
|
2061
|
-
if (!
|
|
2061
|
+
if (!_(o) || !_(t) || Array.isArray(o)) return o;
|
|
2062
2062
|
const n = {};
|
|
2063
2063
|
for (const r in o)
|
|
2064
2064
|
if (Object.prototype.hasOwnProperty.call(o, r) && r in t) {
|
|
2065
2065
|
const s = o[r], l = t[r];
|
|
2066
|
-
|
|
2066
|
+
_(s) && !Array.isArray(s) && !ke(s) && !xe(s) && _(l) && !Array.isArray(l) && !ke(l) && !xe(l) ? n[r] = this.filterAndMergeValues(s, l) : n[r] = s;
|
|
2067
2067
|
}
|
|
2068
2068
|
return n;
|
|
2069
2069
|
}
|
|
@@ -2281,7 +2281,7 @@ class mr {
|
|
|
2281
2281
|
const [h, v] = t[r];
|
|
2282
2282
|
if (a === null)
|
|
2283
2283
|
t[s] = h, t[l] = v;
|
|
2284
|
-
else if (
|
|
2284
|
+
else if (te(a))
|
|
2285
2285
|
t[s] = a(h, r), t[l] = a(v, r);
|
|
2286
2286
|
else {
|
|
2287
2287
|
const [g, i] = Array.isArray(a) ? a : [a, a];
|
|
@@ -2321,7 +2321,7 @@ class mr {
|
|
|
2321
2321
|
// Type definition placeholder, actual implementation injected in useSunnyForm
|
|
2322
2322
|
useStore;
|
|
2323
2323
|
}
|
|
2324
|
-
const Bt = /* @__PURE__ */ Symbol("FormRenderProps"),
|
|
2324
|
+
const Bt = /* @__PURE__ */ Symbol("FormRenderProps"), gr = /* @__PURE__ */ Symbol("ComponentRefMap"), It = /* @__PURE__ */ Symbol("FieldSlots"), vr = (e) => {
|
|
2325
2325
|
Re(Bt, e);
|
|
2326
2326
|
}, tt = () => {
|
|
2327
2327
|
const e = Pe(Bt);
|
|
@@ -2330,11 +2330,11 @@ const Bt = /* @__PURE__ */ Symbol("FormRenderProps"), hr = /* @__PURE__ */ Symbo
|
|
|
2330
2330
|
"injectRenderFormProps must be used within provideFormRenderProps"
|
|
2331
2331
|
);
|
|
2332
2332
|
return e;
|
|
2333
|
-
}, vr = (e) => {
|
|
2334
|
-
Re(hr, e);
|
|
2335
2333
|
}, yr = (e) => {
|
|
2334
|
+
Re(gr, e);
|
|
2335
|
+
}, br = (e) => {
|
|
2336
2336
|
Re(It, e);
|
|
2337
|
-
},
|
|
2337
|
+
}, Ar = () => Pe(It), Pt = () => {
|
|
2338
2338
|
const e = tt(), o = C(
|
|
2339
2339
|
() => e.layout === "vertical"
|
|
2340
2340
|
);
|
|
@@ -2353,13 +2353,13 @@ const Bt = /* @__PURE__ */ Symbol("FormRenderProps"), hr = /* @__PURE__ */ Symbo
|
|
|
2353
2353
|
function Rt(e) {
|
|
2354
2354
|
Re(Vt, e);
|
|
2355
2355
|
}
|
|
2356
|
-
function
|
|
2356
|
+
function Cr() {
|
|
2357
2357
|
const e = Pe(Vt);
|
|
2358
2358
|
if (!e)
|
|
2359
2359
|
throw new Error("Form context not found (表单上下文未找到,请确保在 SunnyForm 或 SunnyUseForm 内部使用)");
|
|
2360
2360
|
return e;
|
|
2361
2361
|
}
|
|
2362
|
-
function
|
|
2362
|
+
function Sr(e) {
|
|
2363
2363
|
const o = we(), t = C(() => {
|
|
2364
2364
|
const s = c(e), l = {};
|
|
2365
2365
|
return (s.schema || []).forEach((a) => {
|
|
@@ -2378,27 +2378,27 @@ function Cr(e) {
|
|
|
2378
2378
|
delegatedSlots: r
|
|
2379
2379
|
};
|
|
2380
2380
|
}
|
|
2381
|
-
const
|
|
2381
|
+
const wr = qt(() => import("./SunnyBusinessSearch-DZMYebZ1.mjs"));
|
|
2382
2382
|
At("required", (e) => e == null || e === "" || Array.isArray(e) && e.length === 0 ? "此项必填" : !0);
|
|
2383
|
-
const
|
|
2383
|
+
const kr = {
|
|
2384
2384
|
Input: Fe,
|
|
2385
|
-
InputPassword:
|
|
2386
|
-
InputNumber:
|
|
2385
|
+
InputPassword: eo,
|
|
2386
|
+
InputNumber: Ze,
|
|
2387
2387
|
Textarea: yt,
|
|
2388
2388
|
Select: Ce,
|
|
2389
2389
|
Checkbox: Ie,
|
|
2390
|
-
CheckboxGroup:
|
|
2390
|
+
CheckboxGroup: _t,
|
|
2391
2391
|
Radio: st,
|
|
2392
|
-
RadioGroup:
|
|
2392
|
+
RadioGroup: Zt,
|
|
2393
2393
|
Switch: Ge,
|
|
2394
2394
|
DatePicker: Je,
|
|
2395
2395
|
RangePicker: vt,
|
|
2396
2396
|
TimePicker: rt,
|
|
2397
2397
|
Upload: Ye,
|
|
2398
|
-
Rate:
|
|
2399
|
-
Slider:
|
|
2400
|
-
Cascader:
|
|
2401
|
-
TreeSelect:
|
|
2398
|
+
Rate: Xt,
|
|
2399
|
+
Slider: Ht,
|
|
2400
|
+
Cascader: Kt,
|
|
2401
|
+
TreeSelect: Gt,
|
|
2402
2402
|
// Mentions,
|
|
2403
2403
|
// Alias for prefix if needed, or map to same
|
|
2404
2404
|
SunnySelect: Ce,
|
|
@@ -2408,9 +2408,9 @@ const wr = {
|
|
|
2408
2408
|
SunnyDatePicker: Je,
|
|
2409
2409
|
SunnyTimePicker: rt,
|
|
2410
2410
|
SunnyUpload: Ye,
|
|
2411
|
-
SunnyBusinessSearch:
|
|
2411
|
+
SunnyBusinessSearch: wr
|
|
2412
2412
|
}, Ft = {};
|
|
2413
|
-
function
|
|
2413
|
+
function bl(e) {
|
|
2414
2414
|
const { config: o, defineRules: t } = e, {
|
|
2415
2415
|
// 默认禁用 change 事件监听 (Arco 组件通常不需要手动监听 change)
|
|
2416
2416
|
// Default disable change listener (Arco components usually don't need manual change listener)
|
|
@@ -2434,7 +2434,7 @@ function yl(e) {
|
|
|
2434
2434
|
for (const a of Object.keys(t))
|
|
2435
2435
|
At(a, t[a]);
|
|
2436
2436
|
}
|
|
2437
|
-
function
|
|
2437
|
+
function xr(e) {
|
|
2438
2438
|
const o = Ct(), n = tt().form;
|
|
2439
2439
|
if (!o)
|
|
2440
2440
|
throw new Error("useDependencies should be used within <SunnyForm> (VeeValidate Form)");
|
|
@@ -2442,32 +2442,32 @@ function kr(e) {
|
|
|
2442
2442
|
const d = s.value;
|
|
2443
2443
|
if (!d) return !0;
|
|
2444
2444
|
const { if: u } = d, m = r.value;
|
|
2445
|
-
return
|
|
2445
|
+
return te(u) ? !!u(m, n) : Te(u) ? u : !0;
|
|
2446
2446
|
}), a = C(() => {
|
|
2447
2447
|
const d = s.value;
|
|
2448
2448
|
if (!d) return !0;
|
|
2449
2449
|
const { show: u } = d, m = r.value;
|
|
2450
|
-
return
|
|
2450
|
+
return te(u) ? !!u(m, n) : Te(u) ? u : !0;
|
|
2451
2451
|
}), h = C(() => {
|
|
2452
2452
|
const d = s.value;
|
|
2453
2453
|
if (!d) return !1;
|
|
2454
2454
|
const { disabled: u } = d, m = r.value;
|
|
2455
|
-
return
|
|
2455
|
+
return te(u) ? !!u(m, n) : Te(u) ? u : !1;
|
|
2456
2456
|
}), v = C(() => {
|
|
2457
2457
|
const d = s.value;
|
|
2458
2458
|
if (!d) return !1;
|
|
2459
2459
|
const { required: u } = d, m = r.value;
|
|
2460
|
-
return
|
|
2460
|
+
return te(u) ? !!u(m, n) : !1;
|
|
2461
2461
|
}), g = C(() => {
|
|
2462
2462
|
const d = s.value;
|
|
2463
2463
|
if (!d) return {};
|
|
2464
2464
|
const { componentProps: u } = d, m = r.value;
|
|
2465
|
-
return
|
|
2465
|
+
return te(u) ? u(m, n) || {} : {};
|
|
2466
2466
|
}), i = C(() => {
|
|
2467
2467
|
const d = s.value;
|
|
2468
2468
|
if (!d) return;
|
|
2469
2469
|
const { rules: u } = d, m = r.value;
|
|
2470
|
-
if (
|
|
2470
|
+
if (te(u))
|
|
2471
2471
|
return u(m, n);
|
|
2472
2472
|
});
|
|
2473
2473
|
return {
|
|
@@ -2479,13 +2479,13 @@ function kr(e) {
|
|
|
2479
2479
|
isShow: a
|
|
2480
2480
|
};
|
|
2481
2481
|
}
|
|
2482
|
-
const
|
|
2482
|
+
const Er = /* @__PURE__ */ O({
|
|
2483
2483
|
__name: "FormField",
|
|
2484
2484
|
props: {
|
|
2485
2485
|
schema: {}
|
|
2486
2486
|
},
|
|
2487
2487
|
setup(e) {
|
|
2488
|
-
const o = e, t = Ct(), n = tt(), { isVertical: r } = Pt(), s = n.form, l =
|
|
2488
|
+
const o = e, t = Ct(), n = tt(), { isVertical: r } = Pt(), s = n.form, l = Ar(), {
|
|
2489
2489
|
dynamicComponentProps: a,
|
|
2490
2490
|
// 动态组件属性
|
|
2491
2491
|
dynamicRules: h,
|
|
@@ -2498,9 +2498,9 @@ const xr = /* @__PURE__ */ O({
|
|
|
2498
2498
|
// 是否必填
|
|
2499
2499
|
isShow: d
|
|
2500
2500
|
// 是否显示 (v-show)
|
|
2501
|
-
} =
|
|
2501
|
+
} = xr(() => o.schema.dependencies), u = C(() => {
|
|
2502
2502
|
const { component: P } = o.schema;
|
|
2503
|
-
return Ae(P) &&
|
|
2503
|
+
return Ae(P) && kr[P] || P;
|
|
2504
2504
|
}), m = C(() => {
|
|
2505
2505
|
const { component: P } = o.schema;
|
|
2506
2506
|
return P === "Slot";
|
|
@@ -2508,12 +2508,12 @@ const xr = /* @__PURE__ */ O({
|
|
|
2508
2508
|
if (!m.value || !l) return !1;
|
|
2509
2509
|
const P = o.schema.fieldName;
|
|
2510
2510
|
return P ? !!l[P] : !1;
|
|
2511
|
-
}), b = (P,
|
|
2512
|
-
const
|
|
2513
|
-
if (!
|
|
2514
|
-
const
|
|
2515
|
-
P.onInput(
|
|
2516
|
-
},
|
|
2511
|
+
}), b = (P, $) => {
|
|
2512
|
+
const N = o.schema.fieldName;
|
|
2513
|
+
if (!N || !l || !l[N]) return null;
|
|
2514
|
+
const q = l[N], M = (U) => {
|
|
2515
|
+
P.onInput(U);
|
|
2516
|
+
}, ie = {
|
|
2517
2517
|
// 整个表单的值 (支持双向绑定)
|
|
2518
2518
|
model: t.value,
|
|
2519
2519
|
// 当前字段的值
|
|
@@ -2523,13 +2523,13 @@ const xr = /* @__PURE__ */ O({
|
|
|
2523
2523
|
// 是否禁用
|
|
2524
2524
|
disabled: F.value,
|
|
2525
2525
|
// 验证错误信息
|
|
2526
|
-
errorMessage:
|
|
2526
|
+
errorMessage: $,
|
|
2527
2527
|
// 原始 field 对象 (包含 onInput, onChange 等)
|
|
2528
2528
|
field: P,
|
|
2529
2529
|
// 组件属性
|
|
2530
2530
|
componentProps: p.value
|
|
2531
2531
|
};
|
|
2532
|
-
return
|
|
2532
|
+
return q(ie);
|
|
2533
2533
|
}, E = O({
|
|
2534
2534
|
name: "FieldSlotRenderer",
|
|
2535
2535
|
props: {
|
|
@@ -2549,12 +2549,12 @@ const xr = /* @__PURE__ */ O({
|
|
|
2549
2549
|
if (Ae(S.value))
|
|
2550
2550
|
return S.value.split("|").includes("required");
|
|
2551
2551
|
const P = ue(S.value);
|
|
2552
|
-
let
|
|
2552
|
+
let $ = P?.isOptional?.();
|
|
2553
2553
|
if (P?._def?.typeName === "ZodDefault") {
|
|
2554
|
-
const
|
|
2555
|
-
|
|
2554
|
+
const q = P?._def.innerType;
|
|
2555
|
+
q && ($ = q.isOptional?.());
|
|
2556
2556
|
}
|
|
2557
|
-
return
|
|
2557
|
+
return !$;
|
|
2558
2558
|
}), B = C(() => {
|
|
2559
2559
|
if (!y.value)
|
|
2560
2560
|
return null;
|
|
@@ -2564,33 +2564,33 @@ const xr = /* @__PURE__ */ O({
|
|
|
2564
2564
|
if (Ae(P))
|
|
2565
2565
|
return P;
|
|
2566
2566
|
if (!!V.value) {
|
|
2567
|
-
const
|
|
2568
|
-
|
|
2567
|
+
const N = P?.unwrap?.();
|
|
2568
|
+
N && (P = N);
|
|
2569
2569
|
}
|
|
2570
|
-
return
|
|
2570
|
+
return No(P);
|
|
2571
2571
|
}), p = C(() => {
|
|
2572
|
-
const { componentProps: P, commonComponentProps:
|
|
2572
|
+
const { componentProps: P, commonComponentProps: $ } = o.schema, N = te(P) ? P(t.value, s) : P;
|
|
2573
2573
|
return {
|
|
2574
|
-
|
|
2575
|
-
...
|
|
2574
|
+
...$,
|
|
2575
|
+
...N,
|
|
2576
2576
|
...a.value
|
|
2577
2577
|
};
|
|
2578
2578
|
}), x = (P) => {
|
|
2579
|
-
const
|
|
2580
|
-
|
|
2581
|
-
},
|
|
2582
|
-
|
|
2579
|
+
const $ = p.value, N = (M, ie) => (...U) => {
|
|
2580
|
+
te(M) && M(...U), ie(...U);
|
|
2581
|
+
}, q = (M) => {
|
|
2582
|
+
te($?.onInput) && $.onInput(M), P.onInput(M);
|
|
2583
2583
|
};
|
|
2584
2584
|
return {
|
|
2585
|
-
|
|
2585
|
+
...$,
|
|
2586
2586
|
// 合并 onInput 事件
|
|
2587
|
-
onInput:
|
|
2587
|
+
onInput: N($?.onInput, P.onInput),
|
|
2588
2588
|
// 合并 onChange 事件
|
|
2589
|
-
onChange:
|
|
2589
|
+
onChange: N($?.onChange, P.onChange),
|
|
2590
2590
|
// model-value 绑定
|
|
2591
2591
|
modelValue: P.value,
|
|
2592
2592
|
// update:modelValue 事件
|
|
2593
|
-
"onUpdate:modelValue":
|
|
2593
|
+
"onUpdate:modelValue": q
|
|
2594
2594
|
};
|
|
2595
2595
|
};
|
|
2596
2596
|
X(
|
|
@@ -2608,48 +2608,48 @@ const xr = /* @__PURE__ */ O({
|
|
|
2608
2608
|
flex: 1
|
|
2609
2609
|
}
|
|
2610
2610
|
};
|
|
2611
|
-
}),
|
|
2611
|
+
}), J = C(() => {
|
|
2612
2612
|
if (r.value || !o.schema.labelWidth)
|
|
2613
2613
|
return;
|
|
2614
|
-
const P = o.schema.labelWidth,
|
|
2614
|
+
const P = o.schema.labelWidth, $ = typeof P == "number" ? `${P}px` : P;
|
|
2615
2615
|
return {
|
|
2616
2616
|
style: {
|
|
2617
|
-
width:
|
|
2618
|
-
minWidth:
|
|
2619
|
-
maxWidth:
|
|
2620
|
-
flex: `0 0 ${
|
|
2617
|
+
width: $,
|
|
2618
|
+
minWidth: $,
|
|
2619
|
+
maxWidth: $,
|
|
2620
|
+
flex: `0 0 ${$}`
|
|
2621
2621
|
}
|
|
2622
2622
|
};
|
|
2623
2623
|
});
|
|
2624
|
-
return (P,
|
|
2625
|
-
const
|
|
2626
|
-
return y.value && e.schema.fieldName ? (w(), Q(c(
|
|
2624
|
+
return (P, $) => {
|
|
2625
|
+
const N = ne("a-form-item");
|
|
2626
|
+
return y.value && e.schema.fieldName ? (w(), Q(c(Ro), {
|
|
2627
2627
|
key: 0,
|
|
2628
2628
|
name: e.schema.fieldName,
|
|
2629
2629
|
rules: B.value,
|
|
2630
2630
|
label: e.schema.label
|
|
2631
2631
|
}, {
|
|
2632
|
-
default: I(({ field:
|
|
2633
|
-
k(
|
|
2632
|
+
default: I(({ field: q, errorMessage: M }) => [
|
|
2633
|
+
k(N, L({
|
|
2634
2634
|
label: e.schema.label,
|
|
2635
2635
|
help: M || e.schema.help,
|
|
2636
2636
|
"validate-status": M ? "error" : void 0,
|
|
2637
2637
|
required: V.value,
|
|
2638
|
-
"label-col-props":
|
|
2638
|
+
"label-col-props": J.value,
|
|
2639
2639
|
"wrapper-col-props": D.value
|
|
2640
2640
|
}, e.schema.formFieldProps), {
|
|
2641
2641
|
default: I(() => [
|
|
2642
|
-
f.value ? (w(), Q(
|
|
2642
|
+
f.value ? (w(), Q(Ue(c(E)), {
|
|
2643
2643
|
key: 0,
|
|
2644
|
-
field:
|
|
2644
|
+
field: q,
|
|
2645
2645
|
"error-message": M
|
|
2646
|
-
}, null, 8, ["field", "error-message"])) : (w(), Q(
|
|
2646
|
+
}, null, 8, ["field", "error-message"])) : (w(), Q(Ue(u.value), L({ key: 1 }, x(q), { disabled: F.value }), null, 16, ["disabled"]))
|
|
2647
2647
|
]),
|
|
2648
2648
|
_: 2
|
|
2649
2649
|
}, 1040, ["label", "help", "validate-status", "required", "label-col-props", "wrapper-col-props"])
|
|
2650
2650
|
]),
|
|
2651
2651
|
_: 1
|
|
2652
|
-
}, 8, ["name", "rules", "label"])) :
|
|
2652
|
+
}, 8, ["name", "rules", "label"])) : W("", !0);
|
|
2653
2653
|
};
|
|
2654
2654
|
}
|
|
2655
2655
|
}), Nt = /* @__PURE__ */ O({
|
|
@@ -2660,7 +2660,7 @@ const xr = /* @__PURE__ */ O({
|
|
|
2660
2660
|
},
|
|
2661
2661
|
emits: ["update:modelValue", "reset", "submit"],
|
|
2662
2662
|
setup(e, { expose: o, emit: t }) {
|
|
2663
|
-
const n = e, r = t, { props: s } = Pt(), l =
|
|
2663
|
+
const n = e, r = t, { props: s } = Pt(), l = Fo(), a = C({
|
|
2664
2664
|
get: () => n.modelValue ?? !1,
|
|
2665
2665
|
set: (u) => r("update:modelValue", u)
|
|
2666
2666
|
}), h = C(() => ({
|
|
@@ -2737,62 +2737,62 @@ const xr = /* @__PURE__ */ O({
|
|
|
2737
2737
|
return o({
|
|
2738
2738
|
handleReset: i,
|
|
2739
2739
|
handleSubmit: g
|
|
2740
|
-
}), (u, m) => (w(),
|
|
2741
|
-
class:
|
|
2740
|
+
}), (u, m) => (w(), T("div", {
|
|
2741
|
+
class: Y(d.value)
|
|
2742
2742
|
}, [
|
|
2743
|
-
c(c(s)).actionButtonsReverse ?
|
|
2743
|
+
c(c(s)).actionButtonsReverse ? W("", !0) : (w(), T(se, { key: 0 }, [
|
|
2744
2744
|
z(u.$slots, "submit-before"),
|
|
2745
|
-
v.value.show ? (w(), Q(c(he),
|
|
2745
|
+
v.value.show ? (w(), Q(c(he), L({
|
|
2746
2746
|
key: 0,
|
|
2747
2747
|
type: "primary",
|
|
2748
2748
|
size: c(c(s)).size || "small",
|
|
2749
2749
|
onClick: g
|
|
2750
2750
|
}, v.value), {
|
|
2751
2751
|
default: I(() => [
|
|
2752
|
-
|
|
2752
|
+
H(R(v.value.content), 1)
|
|
2753
2753
|
]),
|
|
2754
2754
|
_: 1
|
|
2755
|
-
}, 16, ["size"])) :
|
|
2755
|
+
}, 16, ["size"])) : W("", !0)
|
|
2756
2756
|
], 64)),
|
|
2757
2757
|
z(u.$slots, "reset-before"),
|
|
2758
|
-
h.value.show ? (w(), Q(c(he),
|
|
2758
|
+
h.value.show ? (w(), Q(c(he), L({
|
|
2759
2759
|
key: 1,
|
|
2760
2760
|
size: c(c(s)).size,
|
|
2761
2761
|
onClick: i
|
|
2762
2762
|
}, h.value), {
|
|
2763
2763
|
default: I(() => [
|
|
2764
|
-
|
|
2764
|
+
H(R(h.value.content), 1)
|
|
2765
2765
|
]),
|
|
2766
2766
|
_: 1
|
|
2767
|
-
}, 16, ["size"])) :
|
|
2768
|
-
c(c(s)).actionButtonsReverse ? (w(),
|
|
2767
|
+
}, 16, ["size"])) : W("", !0),
|
|
2768
|
+
c(c(s)).actionButtonsReverse ? (w(), T(se, { key: 2 }, [
|
|
2769
2769
|
z(u.$slots, "submit-before"),
|
|
2770
|
-
v.value.show ? (w(), Q(c(he),
|
|
2770
|
+
v.value.show ? (w(), Q(c(he), L({
|
|
2771
2771
|
key: 0,
|
|
2772
2772
|
type: "primary",
|
|
2773
2773
|
size: c(c(s)).size || "small",
|
|
2774
2774
|
onClick: g
|
|
2775
2775
|
}, v.value), {
|
|
2776
2776
|
default: I(() => [
|
|
2777
|
-
|
|
2777
|
+
H(R(v.value.content), 1)
|
|
2778
2778
|
]),
|
|
2779
2779
|
_: 1
|
|
2780
|
-
}, 16, ["size"])) :
|
|
2781
|
-
], 64)) :
|
|
2780
|
+
}, 16, ["size"])) : W("", !0)
|
|
2781
|
+
], 64)) : W("", !0),
|
|
2782
2782
|
z(u.$slots, "expand-before"),
|
|
2783
|
-
c(c(s)).showCollapseButton ? (w(),
|
|
2783
|
+
c(c(s)).showCollapseButton ? (w(), T("div", {
|
|
2784
2784
|
key: 3,
|
|
2785
2785
|
class: "cursor-pointer ml-2 text-primary hover:opacity-80 transition-opacity select-none",
|
|
2786
2786
|
onClick: m[0] || (m[0] = (f) => a.value = !a.value)
|
|
2787
2787
|
}, [
|
|
2788
2788
|
A("span", null, R(a.value ? "展开" : "收起"), 1)
|
|
2789
|
-
])) :
|
|
2789
|
+
])) : W("", !0),
|
|
2790
2790
|
z(u.$slots, "expand-after")
|
|
2791
2791
|
], 2));
|
|
2792
2792
|
}
|
|
2793
2793
|
});
|
|
2794
|
-
function
|
|
2795
|
-
const t =
|
|
2794
|
+
function Br(e) {
|
|
2795
|
+
const t = Po({
|
|
2796
2796
|
xs: 576,
|
|
2797
2797
|
sm: 576,
|
|
2798
2798
|
md: 768,
|
|
@@ -2836,7 +2836,7 @@ function Er(e) {
|
|
|
2836
2836
|
}
|
|
2837
2837
|
return { spans: n, actionSpan: r };
|
|
2838
2838
|
}
|
|
2839
|
-
const
|
|
2839
|
+
const Ir = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O({
|
|
2840
2840
|
__name: "Form",
|
|
2841
2841
|
props: {
|
|
2842
2842
|
formApi: {},
|
|
@@ -2844,7 +2844,7 @@ const Br = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O
|
|
|
2844
2844
|
},
|
|
2845
2845
|
emits: ["submit"],
|
|
2846
2846
|
setup(e, { expose: o, emit: t }) {
|
|
2847
|
-
const n = e, r = t, s = we(), l =
|
|
2847
|
+
const n = e, r = t, s = we(), l = Cr(), a = ft({ ...l.value });
|
|
2848
2848
|
X(
|
|
2849
2849
|
() => l.value,
|
|
2850
2850
|
(p) => {
|
|
@@ -2852,35 +2852,35 @@ const Br = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O
|
|
|
2852
2852
|
},
|
|
2853
2853
|
{ deep: !0 }
|
|
2854
2854
|
// 深度监听,确保对象内部属性变化也能捕获
|
|
2855
|
-
),
|
|
2856
|
-
const { spans: h, actionSpan: v } =
|
|
2855
|
+
), vr(a), br(s);
|
|
2856
|
+
const { spans: h, actionSpan: v } = Br(a), g = C(() => {
|
|
2857
2857
|
const {
|
|
2858
2858
|
commonConfig: p = {},
|
|
2859
2859
|
labelWidth: x,
|
|
2860
2860
|
schema: F = []
|
|
2861
2861
|
} = a, {
|
|
2862
2862
|
componentProps: D = {},
|
|
2863
|
-
formFieldProps:
|
|
2863
|
+
formFieldProps: J = {},
|
|
2864
2864
|
...P
|
|
2865
|
-
} = p,
|
|
2866
|
-
return x !== void 0 && Object.assign(
|
|
2865
|
+
} = p, $ = { ...P };
|
|
2866
|
+
return x !== void 0 && Object.assign($, { labelWidth: x }), F.map((N) => ({
|
|
2867
2867
|
// 合并策略:全局配置 (Global) < 表单项自身配置 (Item)
|
|
2868
|
-
|
|
2869
|
-
...
|
|
2868
|
+
...$,
|
|
2869
|
+
...N,
|
|
2870
2870
|
// 显隐逻辑:只处理 Item 自身配置的 hide 属性
|
|
2871
2871
|
// (v-if/v-show 的动态逻辑由 dependencies.ts 处理)
|
|
2872
|
-
hidden:
|
|
2872
|
+
hidden: N.hide,
|
|
2873
2873
|
// 注入通用组件属性
|
|
2874
2874
|
// 注意:这里只是透传,最终合并逻辑在 FormField 组件内部进行
|
|
2875
2875
|
commonComponentProps: D,
|
|
2876
2876
|
// 合并表单项容器属性 (Wrapper Props)
|
|
2877
2877
|
// 直接在此处合并全局配置和局部配置,减少下层组件的计算负担
|
|
2878
2878
|
formFieldProps: {
|
|
2879
|
-
...
|
|
2880
|
-
...
|
|
2879
|
+
...J,
|
|
2880
|
+
...N.formFieldProps || {}
|
|
2881
2881
|
},
|
|
2882
2882
|
// 显式保留组件原本的 props,防止在合并过程中被意外覆盖
|
|
2883
|
-
componentProps:
|
|
2883
|
+
componentProps: N.componentProps
|
|
2884
2884
|
}));
|
|
2885
2885
|
}), i = C(() => a.layout === "inline"), { handleSubmit: d, resetForm: u, setValues: m, values: f, validate: b, errors: E, meta: y } = n.form || bt({
|
|
2886
2886
|
// 提取默认值构建初始状态
|
|
@@ -2915,45 +2915,45 @@ const Br = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O
|
|
|
2915
2915
|
}), V = (p) => {
|
|
2916
2916
|
a.collapsed = p, a.handleCollapsedChange?.(p), n.formApi && n.formApi.setState({ collapsed: p });
|
|
2917
2917
|
}, B = C(() => {
|
|
2918
|
-
const { compact: p, gridProps: x } = a, F = p ? 8 : 16, D = x?.xGap ?? x?.["x-gap"] ?? F,
|
|
2919
|
-
return { x: D, y:
|
|
2918
|
+
const { compact: p, gridProps: x } = a, F = p ? 8 : 16, D = x?.xGap ?? x?.["x-gap"] ?? F, J = x?.yGap ?? x?.["y-gap"] ?? F;
|
|
2919
|
+
return { x: D, y: J };
|
|
2920
2920
|
});
|
|
2921
2921
|
return (p, x) => {
|
|
2922
|
-
const F =
|
|
2923
|
-
return w(), Q(
|
|
2922
|
+
const F = ne("a-col"), D = ne("a-row"), J = ne("a-form");
|
|
2923
|
+
return w(), Q(J, {
|
|
2924
2924
|
model: {},
|
|
2925
2925
|
layout: c(l).layout || "horizontal",
|
|
2926
2926
|
size: c(l).size || "small",
|
|
2927
2927
|
class: "arco-form",
|
|
2928
|
-
onSubmit: x[0] || (x[0] = (P,
|
|
2928
|
+
onSubmit: x[0] || (x[0] = (P, $) => c(S)($))
|
|
2929
2929
|
}, {
|
|
2930
2930
|
default: I(() => [
|
|
2931
2931
|
k(D, {
|
|
2932
2932
|
gutter: [B.value.x, B.value.y],
|
|
2933
|
-
class:
|
|
2933
|
+
class: Y(a.wrapperClass),
|
|
2934
2934
|
align: (a.layout || "horizontal") === "vertical" ? "stretch" : void 0
|
|
2935
2935
|
}, {
|
|
2936
2936
|
default: I(() => [
|
|
2937
|
-
(w(!0),
|
|
2938
|
-
key: P.fieldName ||
|
|
2937
|
+
(w(!0), T(se, null, Z(g.value, (P, $) => (w(), T(se, {
|
|
2938
|
+
key: P.fieldName || $
|
|
2939
2939
|
}, [
|
|
2940
|
-
P.fieldName && !P.hidden && (!a.collapsed ||
|
|
2940
|
+
P.fieldName && !P.hidden && (!a.collapsed || $ < 24 / (c(h)[P.fieldName] ?? 24) * (a.collapsedRows ?? 1) - 1) ? (w(), Q(F, {
|
|
2941
2941
|
key: 0,
|
|
2942
2942
|
span: c(h)[P.fieldName] ?? (i.value ? void 0 : 24)
|
|
2943
2943
|
}, {
|
|
2944
2944
|
default: I(() => [
|
|
2945
|
-
k(
|
|
2945
|
+
k(Er, { schema: P }, null, 8, ["schema"])
|
|
2946
2946
|
]),
|
|
2947
2947
|
_: 2
|
|
2948
|
-
}, 1032, ["span"])) :
|
|
2948
|
+
}, 1032, ["span"])) : W("", !0)
|
|
2949
2949
|
], 64))), 128)),
|
|
2950
2950
|
a.showDefaultActions || c(s).actions ? (w(), Q(F, {
|
|
2951
2951
|
key: 0,
|
|
2952
2952
|
span: c(v),
|
|
2953
|
-
style:
|
|
2953
|
+
style: re(i.value ? { marginLeft: "16px" } : { flex: 1, textAlign: "right" })
|
|
2954
2954
|
}, {
|
|
2955
2955
|
default: I(() => [
|
|
2956
|
-
A("div",
|
|
2956
|
+
A("div", Ir, [
|
|
2957
2957
|
c(s).actions ? z(p.$slots, "actions", {
|
|
2958
2958
|
key: 0,
|
|
2959
2959
|
collapsed: a.collapsed,
|
|
@@ -2963,7 +2963,7 @@ const Br = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O
|
|
|
2963
2963
|
"model-value": a.collapsed,
|
|
2964
2964
|
"onUpdate:modelValue": V,
|
|
2965
2965
|
"form-api": n.formApi
|
|
2966
|
-
},
|
|
2966
|
+
}, ae({ _: 2 }, [
|
|
2967
2967
|
c(s)["submit-before"] ? {
|
|
2968
2968
|
name: "submit-before",
|
|
2969
2969
|
fn: I(() => [
|
|
@@ -2996,7 +2996,7 @@ const Br = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O
|
|
|
2996
2996
|
])
|
|
2997
2997
|
]),
|
|
2998
2998
|
_: 3
|
|
2999
|
-
}, 8, ["span", "style"])) :
|
|
2999
|
+
}, 8, ["span", "style"])) : W("", !0)
|
|
3000
3000
|
]),
|
|
3001
3001
|
_: 3
|
|
3002
3002
|
}, 8, ["gutter", "class", "align"])
|
|
@@ -3046,8 +3046,8 @@ const Br = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O
|
|
|
3046
3046
|
const o = e, t = o.formApi.useStore?.() || C(() => ({})), n = C(() => {
|
|
3047
3047
|
const g = Object.entries(o).reduce((i, [d, u]) => (u !== void 0 && (i[d] = u), i), {});
|
|
3048
3048
|
return { ...t.value, ...g };
|
|
3049
|
-
}), r = /* @__PURE__ */ new Map(), { delegatedSlots: s, form: l } =
|
|
3050
|
-
Rt(n),
|
|
3049
|
+
}), r = /* @__PURE__ */ new Map(), { delegatedSlots: s, form: l } = Sr(n);
|
|
3050
|
+
Rt(n), yr(r), pt(() => {
|
|
3051
3051
|
o.formApi.unmount();
|
|
3052
3052
|
});
|
|
3053
3053
|
const a = {};
|
|
@@ -3061,7 +3061,7 @@ const Br = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O
|
|
|
3061
3061
|
const d = [];
|
|
3062
3062
|
for (const u of i) {
|
|
3063
3063
|
const m = lt(g, u), f = lt(a, u);
|
|
3064
|
-
|
|
3064
|
+
ho(m, f) || (d.push(u), go(a, u, m));
|
|
3065
3065
|
}
|
|
3066
3066
|
if (d.length > 0) {
|
|
3067
3067
|
const u = await o.formApi.getValues();
|
|
@@ -3074,36 +3074,36 @@ const Br = { class: "h-full flex flex-col justify-end" }, Tt = /* @__PURE__ */ O
|
|
|
3074
3074
|
{ deep: !0 }
|
|
3075
3075
|
);
|
|
3076
3076
|
});
|
|
3077
|
-
const h =
|
|
3077
|
+
const h = Vo(async () => {
|
|
3078
3078
|
t.value.submitOnChange && await o.formApi.submitForm();
|
|
3079
3079
|
}, 300);
|
|
3080
3080
|
function v(g) {
|
|
3081
3081
|
t.value.submitOnEnter && (g.target instanceof HTMLTextAreaElement || (g.preventDefault(), o.formApi.submitForm()));
|
|
3082
3082
|
}
|
|
3083
|
-
return (g, i) => (w(),
|
|
3084
|
-
class:
|
|
3083
|
+
return (g, i) => (w(), T("div", {
|
|
3084
|
+
class: Y(n.value.wrapperClass)
|
|
3085
3085
|
}, [
|
|
3086
|
-
k(Tt,
|
|
3086
|
+
k(Tt, L(n.value, {
|
|
3087
3087
|
form: c(l),
|
|
3088
3088
|
"form-api": o.formApi,
|
|
3089
3089
|
onKeydown: mt(v, ["enter"])
|
|
3090
|
-
}),
|
|
3090
|
+
}), ae({
|
|
3091
3091
|
default: I(() => []),
|
|
3092
3092
|
_: 2
|
|
3093
3093
|
}, [
|
|
3094
3094
|
Z(c(s), (d) => ({
|
|
3095
3095
|
name: d,
|
|
3096
3096
|
fn: I((u) => [
|
|
3097
|
-
z(g.$slots, d,
|
|
3097
|
+
z(g.$slots, d, oe(le(u)))
|
|
3098
3098
|
])
|
|
3099
3099
|
}))
|
|
3100
3100
|
]), 1040, ["form", "form-api"])
|
|
3101
3101
|
], 2));
|
|
3102
3102
|
}
|
|
3103
3103
|
});
|
|
3104
|
-
function
|
|
3105
|
-
const o = new
|
|
3106
|
-
return o.useStore = (n) =>
|
|
3104
|
+
function Pr(e = {}) {
|
|
3105
|
+
const o = new hr(e);
|
|
3106
|
+
return o.useStore = (n) => Bo(o.store.store, n), Wt(e) && X(
|
|
3107
3107
|
() => e.schema,
|
|
3108
3108
|
() => {
|
|
3109
3109
|
e.schema && o.setState({ schema: e.schema });
|
|
@@ -3133,7 +3133,7 @@ function Ir(e = {}) {
|
|
|
3133
3133
|
}
|
|
3134
3134
|
}), o];
|
|
3135
3135
|
}
|
|
3136
|
-
const
|
|
3136
|
+
const Vr = /* @__PURE__ */ O({
|
|
3137
3137
|
__name: "SunnyForm",
|
|
3138
3138
|
props: {
|
|
3139
3139
|
id: {},
|
|
@@ -3192,14 +3192,14 @@ const Pr = /* @__PURE__ */ O({
|
|
|
3192
3192
|
submit: () => {
|
|
3193
3193
|
l.value?.handleSubmit && l.value.handleSubmit(v)(void 0);
|
|
3194
3194
|
}
|
|
3195
|
-
}), (i, d) => (w(),
|
|
3196
|
-
class:
|
|
3195
|
+
}), (i, d) => (w(), T("div", {
|
|
3196
|
+
class: Y(n.wrapperClass)
|
|
3197
3197
|
}, [
|
|
3198
3198
|
k(Tt, {
|
|
3199
3199
|
ref_key: "formRenderRef",
|
|
3200
3200
|
ref: l,
|
|
3201
3201
|
onSubmit: v
|
|
3202
|
-
},
|
|
3202
|
+
}, ae({
|
|
3203
3203
|
default: I(() => [
|
|
3204
3204
|
n.showDefaultActions ? (w(), Q(Nt, {
|
|
3205
3205
|
key: 0,
|
|
@@ -3220,21 +3220,21 @@ const Pr = /* @__PURE__ */ O({
|
|
|
3220
3220
|
z(i.$slots, "expand-after")
|
|
3221
3221
|
]),
|
|
3222
3222
|
_: 3
|
|
3223
|
-
}, 8, ["model-value"])) :
|
|
3223
|
+
}, 8, ["model-value"])) : W("", !0)
|
|
3224
3224
|
]),
|
|
3225
3225
|
_: 2
|
|
3226
3226
|
}, [
|
|
3227
3227
|
Z(c(s), (u, m) => ({
|
|
3228
3228
|
name: m,
|
|
3229
3229
|
fn: I((f) => [
|
|
3230
|
-
z(i.$slots, m,
|
|
3230
|
+
z(i.$slots, m, oe(le(f)))
|
|
3231
3231
|
])
|
|
3232
3232
|
}))
|
|
3233
3233
|
]), 1536)
|
|
3234
3234
|
], 2));
|
|
3235
3235
|
}
|
|
3236
3236
|
});
|
|
3237
|
-
let
|
|
3237
|
+
let Rr = class {
|
|
3238
3238
|
gridRef;
|
|
3239
3239
|
// private options: any;
|
|
3240
3240
|
constructor(o, t) {
|
|
@@ -3307,24 +3307,24 @@ let Vr = class {
|
|
|
3307
3307
|
return t ? t.validate(o) : null;
|
|
3308
3308
|
}
|
|
3309
3309
|
};
|
|
3310
|
-
const
|
|
3310
|
+
const Fr = /* @__PURE__ */ O({
|
|
3311
3311
|
__name: "use-vxe-grid",
|
|
3312
3312
|
setup(e, { expose: o }) {
|
|
3313
3313
|
const t = j();
|
|
3314
3314
|
return o({
|
|
3315
3315
|
getGrid: () => t.value
|
|
3316
3316
|
}), (n, r) => {
|
|
3317
|
-
const s =
|
|
3317
|
+
const s = ne("a-config-provider");
|
|
3318
3318
|
return w(), Q(s, { size: "small" }, {
|
|
3319
3319
|
default: I(() => [
|
|
3320
|
-
k(c(St),
|
|
3320
|
+
k(c(St), L({
|
|
3321
3321
|
ref_key: "gridRef",
|
|
3322
3322
|
ref: t
|
|
3323
|
-
}, n.$attrs),
|
|
3323
|
+
}, n.$attrs), ae({ _: 2 }, [
|
|
3324
3324
|
Z(n.$slots, (l, a) => ({
|
|
3325
3325
|
name: a,
|
|
3326
3326
|
fn: I((h) => [
|
|
3327
|
-
z(n.$slots, a,
|
|
3327
|
+
z(n.$slots, a, oe(le(h || {})))
|
|
3328
3328
|
])
|
|
3329
3329
|
}))
|
|
3330
3330
|
]), 1040)
|
|
@@ -3334,19 +3334,19 @@ const Rr = /* @__PURE__ */ O({
|
|
|
3334
3334
|
};
|
|
3335
3335
|
}
|
|
3336
3336
|
});
|
|
3337
|
-
function
|
|
3338
|
-
const o = j(), t = new
|
|
3337
|
+
function Cl(e) {
|
|
3338
|
+
const o = j(), t = new Rr(o, e);
|
|
3339
3339
|
return [O(
|
|
3340
3340
|
(r, { attrs: s, slots: l }) => {
|
|
3341
3341
|
const { gridEvents: a, gridOptions: h } = e, v = Object.entries(a || {}).reduce((g, [i, d]) => {
|
|
3342
3342
|
const u = `on${i.charAt(0).toUpperCase() + i.slice(1)}`;
|
|
3343
3343
|
return g[u] = d, g;
|
|
3344
3344
|
}, {});
|
|
3345
|
-
return () => Ve(
|
|
3345
|
+
return () => Ve(Fr, { ref: o, ...r, ...s, ...h, ...v }, l);
|
|
3346
3346
|
}
|
|
3347
3347
|
), t];
|
|
3348
3348
|
}
|
|
3349
|
-
const
|
|
3349
|
+
const Nr = {
|
|
3350
3350
|
editRender: {},
|
|
3351
3351
|
slots: {
|
|
3352
3352
|
default: ({
|
|
@@ -3357,7 +3357,7 @@ const Fr = {
|
|
|
3357
3357
|
return [k("span", null, [r?.label ?? t])];
|
|
3358
3358
|
}
|
|
3359
3359
|
}
|
|
3360
|
-
},
|
|
3360
|
+
}, Tr = {
|
|
3361
3361
|
editRender: {},
|
|
3362
3362
|
slots: {
|
|
3363
3363
|
default: ({
|
|
@@ -3365,7 +3365,7 @@ const Fr = {
|
|
|
3365
3365
|
column: o
|
|
3366
3366
|
}) => [k("span", null, [e[o.field]])]
|
|
3367
3367
|
}
|
|
3368
|
-
},
|
|
3368
|
+
}, Lr = {
|
|
3369
3369
|
editRender: {},
|
|
3370
3370
|
slots: {
|
|
3371
3371
|
default: ({
|
|
@@ -3375,14 +3375,14 @@ const Fr = {
|
|
|
3375
3375
|
edit: ({
|
|
3376
3376
|
row: e,
|
|
3377
3377
|
column: o
|
|
3378
|
-
}) => [k(Fe,
|
|
3378
|
+
}) => [k(Fe, L({
|
|
3379
3379
|
modelValue: e[o.field],
|
|
3380
3380
|
"onUpdate:modelValue": (t) => {
|
|
3381
3381
|
e[o.field] = t;
|
|
3382
3382
|
}
|
|
3383
3383
|
}, o.params), null)]
|
|
3384
3384
|
}
|
|
3385
|
-
},
|
|
3385
|
+
}, Mr = {
|
|
3386
3386
|
editRender: {},
|
|
3387
3387
|
slots: {
|
|
3388
3388
|
default: ({
|
|
@@ -3395,14 +3395,14 @@ const Fr = {
|
|
|
3395
3395
|
edit: ({
|
|
3396
3396
|
row: e,
|
|
3397
3397
|
column: o
|
|
3398
|
-
}) => [k(Ce,
|
|
3398
|
+
}) => [k(Ce, L({
|
|
3399
3399
|
modelValue: e[o.field],
|
|
3400
3400
|
"onUpdate:modelValue": (t) => {
|
|
3401
3401
|
e[o.field] = t;
|
|
3402
3402
|
}
|
|
3403
3403
|
}, o.params), null)]
|
|
3404
3404
|
}
|
|
3405
|
-
},
|
|
3405
|
+
}, jr = {
|
|
3406
3406
|
editRender: {},
|
|
3407
3407
|
slots: {
|
|
3408
3408
|
default: ({
|
|
@@ -3412,14 +3412,14 @@ const Fr = {
|
|
|
3412
3412
|
edit: ({
|
|
3413
3413
|
row: e,
|
|
3414
3414
|
column: o
|
|
3415
|
-
}) => [k(Je,
|
|
3415
|
+
}) => [k(Je, L({
|
|
3416
3416
|
modelValue: e[o.field],
|
|
3417
3417
|
"onUpdate:modelValue": (t) => {
|
|
3418
3418
|
e[o.field] = t;
|
|
3419
3419
|
}
|
|
3420
3420
|
}, o.params), null)]
|
|
3421
3421
|
}
|
|
3422
|
-
},
|
|
3422
|
+
}, Qr = {
|
|
3423
3423
|
editRender: {},
|
|
3424
3424
|
slots: {
|
|
3425
3425
|
default: ({
|
|
@@ -3429,14 +3429,14 @@ const Fr = {
|
|
|
3429
3429
|
edit: ({
|
|
3430
3430
|
row: e,
|
|
3431
3431
|
column: o
|
|
3432
|
-
}) => [k(
|
|
3432
|
+
}) => [k(to, L({
|
|
3433
3433
|
modelValue: e[o.field],
|
|
3434
3434
|
"onUpdate:modelValue": (t) => {
|
|
3435
3435
|
e[o.field] = t;
|
|
3436
3436
|
}
|
|
3437
3437
|
}, o.params), null)]
|
|
3438
3438
|
}
|
|
3439
|
-
},
|
|
3439
|
+
}, Or = {
|
|
3440
3440
|
editRender: {},
|
|
3441
3441
|
slots: {
|
|
3442
3442
|
default: ({
|
|
@@ -3446,14 +3446,14 @@ const Fr = {
|
|
|
3446
3446
|
edit: ({
|
|
3447
3447
|
row: e,
|
|
3448
3448
|
column: o
|
|
3449
|
-
}) => [k(
|
|
3449
|
+
}) => [k(ro, L({
|
|
3450
3450
|
modelValue: e[o.field],
|
|
3451
3451
|
"onUpdate:modelValue": (t) => {
|
|
3452
3452
|
e[o.field] = t;
|
|
3453
3453
|
}
|
|
3454
3454
|
}, o.params), null)]
|
|
3455
3455
|
}
|
|
3456
|
-
},
|
|
3456
|
+
}, Dr = {
|
|
3457
3457
|
editRender: {},
|
|
3458
3458
|
slots: {
|
|
3459
3459
|
default: ({
|
|
@@ -3463,14 +3463,14 @@ const Fr = {
|
|
|
3463
3463
|
edit: ({
|
|
3464
3464
|
row: e,
|
|
3465
3465
|
column: o
|
|
3466
|
-
}) => [k(
|
|
3466
|
+
}) => [k(no, L({
|
|
3467
3467
|
modelValue: e[o.field],
|
|
3468
3468
|
"onUpdate:modelValue": (t) => {
|
|
3469
3469
|
e[o.field] = t;
|
|
3470
3470
|
}
|
|
3471
3471
|
}, o.params), null)]
|
|
3472
3472
|
}
|
|
3473
|
-
},
|
|
3473
|
+
}, zr = {
|
|
3474
3474
|
editRender: {},
|
|
3475
3475
|
slots: {
|
|
3476
3476
|
default: ({
|
|
@@ -3497,7 +3497,7 @@ const Fr = {
|
|
|
3497
3497
|
n = [r, s];
|
|
3498
3498
|
} else
|
|
3499
3499
|
n = e[o.field];
|
|
3500
|
-
return [k(vt,
|
|
3500
|
+
return [k(vt, L({
|
|
3501
3501
|
modelValue: n,
|
|
3502
3502
|
"onUpdate:modelValue": (r) => {
|
|
3503
3503
|
t ? Ke(r) && r.length === 2 ? (e[t.start] = r[0], e[t.end] = r[1]) : (e[t.start] = void 0, e[t.end] = void 0) : e[o.field] = r;
|
|
@@ -3505,7 +3505,7 @@ const Fr = {
|
|
|
3505
3505
|
}, o.params), null)];
|
|
3506
3506
|
}
|
|
3507
3507
|
}
|
|
3508
|
-
},
|
|
3508
|
+
}, $r = {
|
|
3509
3509
|
editRender: {},
|
|
3510
3510
|
slots: {
|
|
3511
3511
|
default: ({
|
|
@@ -3523,7 +3523,7 @@ const Fr = {
|
|
|
3523
3523
|
edit: ({
|
|
3524
3524
|
row: e,
|
|
3525
3525
|
column: o
|
|
3526
|
-
}) => [k(Ge,
|
|
3526
|
+
}) => [k(Ge, L({
|
|
3527
3527
|
modelValue: e[o.field],
|
|
3528
3528
|
"onUpdate:modelValue": (t) => {
|
|
3529
3529
|
e[o.field] = t;
|
|
@@ -3542,7 +3542,7 @@ const Fr = {
|
|
|
3542
3542
|
column: o
|
|
3543
3543
|
}) => {
|
|
3544
3544
|
const t = e[o.field], n = typeof t == "string" && t !== "" ? Number(t) : t;
|
|
3545
|
-
return [k(
|
|
3545
|
+
return [k(Ze, L({
|
|
3546
3546
|
modelValue: n,
|
|
3547
3547
|
"onUpdate:modelValue": (r) => {
|
|
3548
3548
|
typeof t == "string" && r !== null && r !== void 0 ? e[o.field] = String(r) : e[o.field] = r;
|
|
@@ -3550,7 +3550,7 @@ const Fr = {
|
|
|
3550
3550
|
}, o.params), null)];
|
|
3551
3551
|
}
|
|
3552
3552
|
}
|
|
3553
|
-
},
|
|
3553
|
+
}, qr = {
|
|
3554
3554
|
editRender: {},
|
|
3555
3555
|
slots: {
|
|
3556
3556
|
default: ({
|
|
@@ -3570,7 +3570,7 @@ const Fr = {
|
|
|
3570
3570
|
row: e,
|
|
3571
3571
|
column: o
|
|
3572
3572
|
}) => {
|
|
3573
|
-
const t = o.params?.fieldNames, n = o.params?.inputType || "input", r = n === "number" ?
|
|
3573
|
+
const t = o.params?.fieldNames, n = o.params?.inputType || "input", r = n === "number" ? Ze : Fe;
|
|
3574
3574
|
if (t) {
|
|
3575
3575
|
const a = e[t.start], h = e[t.end], v = n === "number" && typeof a == "string" && a !== "" ? Number(a) : a, g = n === "number" && typeof h == "string" && h !== "" ? Number(h) : h;
|
|
3576
3576
|
return [k("div", {
|
|
@@ -3579,12 +3579,12 @@ const Fr = {
|
|
|
3579
3579
|
alignItems: "center",
|
|
3580
3580
|
gap: "8px"
|
|
3581
3581
|
}
|
|
3582
|
-
}, [k(r,
|
|
3582
|
+
}, [k(r, L({
|
|
3583
3583
|
modelValue: v,
|
|
3584
3584
|
"onUpdate:modelValue": (i) => {
|
|
3585
3585
|
n === "number" && typeof a == "string" && i !== null && i !== void 0 ? e[t.start] = String(i) : e[t.start] = i;
|
|
3586
3586
|
}
|
|
3587
|
-
}, o.params), null), k("span", null, [
|
|
3587
|
+
}, o.params), null), k("span", null, [H("~")]), k(r, L({
|
|
3588
3588
|
modelValue: g,
|
|
3589
3589
|
"onUpdate:modelValue": (i) => {
|
|
3590
3590
|
n === "number" && typeof h == "string" && i !== null && i !== void 0 ? e[t.end] = String(i) : e[t.end] = i;
|
|
@@ -3592,7 +3592,7 @@ const Fr = {
|
|
|
3592
3592
|
}, o.params), null)])];
|
|
3593
3593
|
}
|
|
3594
3594
|
const s = e[o.field], l = n === "number" && typeof s == "string" && s !== "" ? Number(s) : s;
|
|
3595
|
-
return [k(r,
|
|
3595
|
+
return [k(r, L({
|
|
3596
3596
|
modelValue: l,
|
|
3597
3597
|
"onUpdate:modelValue": (a) => {
|
|
3598
3598
|
n === "number" && typeof s == "string" && a !== null && a !== void 0 ? e[o.field] = String(a) : e[o.field] = a;
|
|
@@ -3600,7 +3600,7 @@ const Fr = {
|
|
|
3600
3600
|
}, o.params), null)];
|
|
3601
3601
|
}
|
|
3602
3602
|
}
|
|
3603
|
-
},
|
|
3603
|
+
}, Wr = {
|
|
3604
3604
|
editRender: {},
|
|
3605
3605
|
slots: {
|
|
3606
3606
|
default: ({
|
|
@@ -3612,13 +3612,13 @@ const Fr = {
|
|
|
3612
3612
|
column: o
|
|
3613
3613
|
}) => {
|
|
3614
3614
|
const t = j(!1), n = j(e[o.field] || "");
|
|
3615
|
-
return [k(
|
|
3615
|
+
return [k(oo, {
|
|
3616
3616
|
popupVisible: t.value,
|
|
3617
3617
|
"onUpdate:popupVisible": (r) => t.value = r,
|
|
3618
3618
|
trigger: "click",
|
|
3619
3619
|
position: "top"
|
|
3620
3620
|
}, {
|
|
3621
|
-
default: () => [k(Fe,
|
|
3621
|
+
default: () => [k(Fe, L({
|
|
3622
3622
|
modelValue: n.value,
|
|
3623
3623
|
"onUpdate:modelValue": (r) => {
|
|
3624
3624
|
n.value = r, e[o.field] = r;
|
|
@@ -3627,7 +3627,7 @@ const Fr = {
|
|
|
3627
3627
|
t.value = !0;
|
|
3628
3628
|
}
|
|
3629
3629
|
}, o.params), null)],
|
|
3630
|
-
content: () => [k(yt,
|
|
3630
|
+
content: () => [k(yt, L({
|
|
3631
3631
|
modelValue: n.value,
|
|
3632
3632
|
"onUpdate:modelValue": (r) => {
|
|
3633
3633
|
n.value = r, e[o.field] = r;
|
|
@@ -3641,7 +3641,7 @@ const Fr = {
|
|
|
3641
3641
|
})];
|
|
3642
3642
|
}
|
|
3643
3643
|
}
|
|
3644
|
-
},
|
|
3644
|
+
}, Yr = {
|
|
3645
3645
|
editRender: {},
|
|
3646
3646
|
slots: {
|
|
3647
3647
|
default: ({
|
|
@@ -3651,14 +3651,14 @@ const Fr = {
|
|
|
3651
3651
|
edit: ({
|
|
3652
3652
|
row: e,
|
|
3653
3653
|
column: o
|
|
3654
|
-
}) => [k(
|
|
3654
|
+
}) => [k(xs, L({
|
|
3655
3655
|
modelValue: e[o.field],
|
|
3656
3656
|
"onUpdate:modelValue": (t) => {
|
|
3657
3657
|
e[o.field] = t;
|
|
3658
3658
|
}
|
|
3659
3659
|
}, o.params), null)]
|
|
3660
3660
|
}
|
|
3661
|
-
},
|
|
3661
|
+
}, Jr = {
|
|
3662
3662
|
editRender: {},
|
|
3663
3663
|
slots: {
|
|
3664
3664
|
default: ({
|
|
@@ -3668,39 +3668,39 @@ const Fr = {
|
|
|
3668
3668
|
edit: ({
|
|
3669
3669
|
row: e,
|
|
3670
3670
|
column: o
|
|
3671
|
-
}) => [k(
|
|
3671
|
+
}) => [k(or, L({
|
|
3672
3672
|
modelValue: e[o.field],
|
|
3673
3673
|
"onUpdate:modelValue": (t) => {
|
|
3674
3674
|
e[o.field] = t;
|
|
3675
3675
|
}
|
|
3676
3676
|
}, o.params), null)]
|
|
3677
3677
|
}
|
|
3678
|
-
},
|
|
3678
|
+
}, Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3679
3679
|
__proto__: null,
|
|
3680
|
-
BusinessSearchRender:
|
|
3681
|
-
DatePickerRender:
|
|
3680
|
+
BusinessSearchRender: Yr,
|
|
3681
|
+
DatePickerRender: jr,
|
|
3682
3682
|
InputNumberRender: Ur,
|
|
3683
|
-
InputRangeRender:
|
|
3684
|
-
InputRender:
|
|
3685
|
-
MonthPickerRender:
|
|
3686
|
-
RangePickerRender:
|
|
3687
|
-
SelectRender:
|
|
3688
|
-
SpanRender:
|
|
3689
|
-
SpanselectRender:
|
|
3690
|
-
SwitchRender:
|
|
3691
|
-
TextareaRender:
|
|
3692
|
-
UploadRender:
|
|
3693
|
-
WeekPickerRender:
|
|
3694
|
-
YearPickerRender:
|
|
3695
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3683
|
+
InputRangeRender: qr,
|
|
3684
|
+
InputRender: Lr,
|
|
3685
|
+
MonthPickerRender: Qr,
|
|
3686
|
+
RangePickerRender: zr,
|
|
3687
|
+
SelectRender: Mr,
|
|
3688
|
+
SpanRender: Nr,
|
|
3689
|
+
SpanselectRender: Tr,
|
|
3690
|
+
SwitchRender: $r,
|
|
3691
|
+
TextareaRender: Wr,
|
|
3692
|
+
UploadRender: Jr,
|
|
3693
|
+
WeekPickerRender: Dr,
|
|
3694
|
+
YearPickerRender: Or
|
|
3695
|
+
}, Symbol.toStringTag, { value: "Module" })), Gr = ({ row: e, rule: o }) => {
|
|
3696
3696
|
const t = e[o.field];
|
|
3697
3697
|
if (t == null || t === "")
|
|
3698
3698
|
return new Error(o.message);
|
|
3699
|
-
},
|
|
3699
|
+
}, wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3700
3700
|
__proto__: null,
|
|
3701
|
-
requiredValidator:
|
|
3701
|
+
requiredValidator: Gr
|
|
3702
3702
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3703
|
-
class
|
|
3703
|
+
class Kr {
|
|
3704
3704
|
gridRef;
|
|
3705
3705
|
constructor(o) {
|
|
3706
3706
|
this.gridRef = o;
|
|
@@ -3754,7 +3754,7 @@ class Gr {
|
|
|
3754
3754
|
return n.commitProxy(o, ...t);
|
|
3755
3755
|
}
|
|
3756
3756
|
}
|
|
3757
|
-
function
|
|
3757
|
+
function Hr(e, o) {
|
|
3758
3758
|
let t = null, n = null, r = null, s = null, l = null, a = !1, h = !1;
|
|
3759
3759
|
const v = (f) => {
|
|
3760
3760
|
if (!f) return window;
|
|
@@ -3810,10 +3810,10 @@ function Kr(e, o) {
|
|
|
3810
3810
|
window.removeEventListener("scroll", m, !0), window.removeEventListener("resize", m), n && n.parentNode && n.parentNode.removeChild(n), s && s.parentNode && s.parentNode.removeChild(s), r && r.removeEventListener("scroll", i);
|
|
3811
3811
|
});
|
|
3812
3812
|
}
|
|
3813
|
-
const
|
|
3813
|
+
const Xr = { class: "my-filter-complex" }, Zr = {
|
|
3814
3814
|
key: 0,
|
|
3815
3815
|
class: "my-filter-input"
|
|
3816
|
-
},
|
|
3816
|
+
}, _r = { class: "my-fc-footer" }, es = /* @__PURE__ */ O({
|
|
3817
3817
|
__name: "FilterComplex",
|
|
3818
3818
|
props: {
|
|
3819
3819
|
renderOpts: Object,
|
|
@@ -3835,7 +3835,7 @@ const Hr = { class: "my-filter-complex" }, _r = {
|
|
|
3835
3835
|
}), r();
|
|
3836
3836
|
const s = C(() => o.renderParams?.column), l = C(() => {
|
|
3837
3837
|
const i = s.value;
|
|
3838
|
-
return i &&
|
|
3838
|
+
return i && ko(i.params, "optionlist") ? "select" : "input";
|
|
3839
3839
|
}), a = () => {
|
|
3840
3840
|
const { renderParams: i } = o, d = t.value;
|
|
3841
3841
|
if (i && d) {
|
|
@@ -3872,16 +3872,16 @@ const Hr = { class: "my-filter-complex" }, _r = {
|
|
|
3872
3872
|
m.commitProxy("query", f), m.closeFilter();
|
|
3873
3873
|
}
|
|
3874
3874
|
};
|
|
3875
|
-
return (i, d) => (w(),
|
|
3876
|
-
t.value ? (w(),
|
|
3877
|
-
l.value === "select" && s.value ? (w(), Q(c(
|
|
3875
|
+
return (i, d) => (w(), T("div", Xr, [
|
|
3876
|
+
t.value ? (w(), T("div", Zr, [
|
|
3877
|
+
l.value === "select" && s.value ? (w(), Q(c(Lo), {
|
|
3878
3878
|
key: 0,
|
|
3879
3879
|
modelValue: t.value.data,
|
|
3880
3880
|
"onUpdate:modelValue": d[0] || (d[0] = (u) => t.value.data = u),
|
|
3881
3881
|
options: s.value.params.optionlist,
|
|
3882
3882
|
clearable: "",
|
|
3883
3883
|
onChange: a
|
|
3884
|
-
}, null, 8, ["modelValue", "options"])) : (w(), Q(c(
|
|
3884
|
+
}, null, 8, ["modelValue", "options"])) : (w(), Q(c(Mo), {
|
|
3885
3885
|
key: 1,
|
|
3886
3886
|
modelValue: t.value.data,
|
|
3887
3887
|
"onUpdate:modelValue": d[1] || (d[1] = (u) => t.value.data = u),
|
|
@@ -3889,11 +3889,11 @@ const Hr = { class: "my-filter-complex" }, _r = {
|
|
|
3889
3889
|
onKeyup: mt(v, ["enter"]),
|
|
3890
3890
|
onInput: a
|
|
3891
3891
|
}, null, 8, ["modelValue"]))
|
|
3892
|
-
])) :
|
|
3893
|
-
A("div",
|
|
3892
|
+
])) : W("", !0),
|
|
3893
|
+
A("div", _r, [
|
|
3894
3894
|
k(c(He), { onClick: g }, {
|
|
3895
3895
|
default: I(() => [...d[2] || (d[2] = [
|
|
3896
|
-
|
|
3896
|
+
H("重置", -1)
|
|
3897
3897
|
])]),
|
|
3898
3898
|
_: 1
|
|
3899
3899
|
}),
|
|
@@ -3902,20 +3902,20 @@ const Hr = { class: "my-filter-complex" }, _r = {
|
|
|
3902
3902
|
onClick: v
|
|
3903
3903
|
}, {
|
|
3904
3904
|
default: I(() => [...d[3] || (d[3] = [
|
|
3905
|
-
|
|
3905
|
+
H("确认", -1)
|
|
3906
3906
|
])]),
|
|
3907
3907
|
_: 1
|
|
3908
3908
|
})
|
|
3909
3909
|
])
|
|
3910
3910
|
]));
|
|
3911
3911
|
}
|
|
3912
|
-
}),
|
|
3913
|
-
|
|
3912
|
+
}), ts = /* @__PURE__ */ Ne(es, [["__scopeId", "data-v-e4891191"]]);
|
|
3913
|
+
To.renderer.add("MyFilterComplex", {
|
|
3914
3914
|
// 不显示底部按钮,使用自定义的按钮
|
|
3915
3915
|
showTableFilterFooter: !1,
|
|
3916
3916
|
// 自定义筛选模板
|
|
3917
3917
|
renderTableFilter(e, o) {
|
|
3918
|
-
return k(
|
|
3918
|
+
return k(ts, {
|
|
3919
3919
|
renderOpts: e,
|
|
3920
3920
|
renderParams: o
|
|
3921
3921
|
}, null);
|
|
@@ -3923,7 +3923,7 @@ No.renderer.add("MyFilterComplex", {
|
|
|
3923
3923
|
});
|
|
3924
3924
|
const Mt = /* @__PURE__ */ O({
|
|
3925
3925
|
components: {
|
|
3926
|
-
VxePager:
|
|
3926
|
+
VxePager: jo,
|
|
3927
3927
|
VxeButton: He
|
|
3928
3928
|
},
|
|
3929
3929
|
__name: "use-query-grid",
|
|
@@ -3931,26 +3931,26 @@ const Mt = /* @__PURE__ */ O({
|
|
|
3931
3931
|
size: { default: "small" }
|
|
3932
3932
|
},
|
|
3933
3933
|
setup(e, { expose: o }) {
|
|
3934
|
-
const t = e, n = j(), r =
|
|
3935
|
-
return
|
|
3934
|
+
const t = e, n = j(), r = Xe();
|
|
3935
|
+
return Hr(n, r), o({
|
|
3936
3936
|
getGrid: () => n.value
|
|
3937
|
-
}), (s, l) => (w(), Q(c(St),
|
|
3937
|
+
}), (s, l) => (w(), Q(c(St), L({
|
|
3938
3938
|
ref_key: "gridRef",
|
|
3939
3939
|
ref: n
|
|
3940
3940
|
}, s.$attrs, {
|
|
3941
3941
|
size: t.size
|
|
3942
|
-
}),
|
|
3942
|
+
}), ae({ _: 2 }, [
|
|
3943
3943
|
Z(s.$slots, (a, h) => ({
|
|
3944
3944
|
name: h,
|
|
3945
3945
|
fn: I((v) => [
|
|
3946
|
-
z(s.$slots, h,
|
|
3946
|
+
z(s.$slots, h, oe(le(v || {})))
|
|
3947
3947
|
])
|
|
3948
3948
|
}))
|
|
3949
3949
|
]), 1040, ["size"]));
|
|
3950
3950
|
}
|
|
3951
3951
|
});
|
|
3952
|
-
function
|
|
3953
|
-
const o = j(), t = new
|
|
3952
|
+
function kl(e) {
|
|
3953
|
+
const o = j(), t = new Kr(o);
|
|
3954
3954
|
return [O(
|
|
3955
3955
|
(r, { attrs: s, slots: l }) => {
|
|
3956
3956
|
const { gridEvents: a, gridOptions: h } = e, v = Object.entries(a || {}).reduce((g, [i, d]) => {
|
|
@@ -3961,7 +3961,7 @@ function wl(e) {
|
|
|
3961
3961
|
}
|
|
3962
3962
|
), t];
|
|
3963
3963
|
}
|
|
3964
|
-
function
|
|
3964
|
+
function os(e) {
|
|
3965
3965
|
const { props: o, emit: t, attrs: n } = e, r = C(() => o.contextMenuActions || o.actions || []), s = C(() => {
|
|
3966
3966
|
const f = n["field-names"], b = n.fieldNames;
|
|
3967
3967
|
return {
|
|
@@ -3997,7 +3997,7 @@ function ts(e) {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
};
|
|
3999
3999
|
}
|
|
4000
|
-
const
|
|
4000
|
+
const ns = { class: "sunny-resource-tree" }, rs = { class: "sunny-resource-tree__title" }, ss = /* @__PURE__ */ O({
|
|
4001
4001
|
name: "SunnyResourceTree",
|
|
4002
4002
|
inheritAttrs: !1,
|
|
4003
4003
|
__name: "SunnyResourceTree",
|
|
@@ -4008,13 +4008,13 @@ const os = { class: "sunny-resource-tree" }, ns = { class: "sunny-resource-tree_
|
|
|
4008
4008
|
},
|
|
4009
4009
|
emits: ["action"],
|
|
4010
4010
|
setup(e, { expose: o, emit: t }) {
|
|
4011
|
-
const n = e, r = t, s =
|
|
4011
|
+
const n = e, r = t, s = Xe(), l = we(), a = j(), {
|
|
4012
4012
|
canShowContextMenu: h,
|
|
4013
4013
|
getNodeActions: v,
|
|
4014
4014
|
isActionDisabled: g,
|
|
4015
4015
|
getNodeTitle: i,
|
|
4016
4016
|
handleActionClick: d
|
|
4017
|
-
} =
|
|
4017
|
+
} = os({
|
|
4018
4018
|
props: n,
|
|
4019
4019
|
emit: r,
|
|
4020
4020
|
attrs: s
|
|
@@ -4035,42 +4035,42 @@ const os = { class: "sunny-resource-tree" }, ns = { class: "sunny-resource-tree_
|
|
|
4035
4035
|
selectNode: (b, E) => f("selectNode", b, E),
|
|
4036
4036
|
expandAll: (b) => f("expandAll", b),
|
|
4037
4037
|
expandNode: (b, E) => f("expandNode", b, E)
|
|
4038
|
-
}), (b, E) => (w(),
|
|
4039
|
-
k(c(
|
|
4038
|
+
}), (b, E) => (w(), T("div", ns, [
|
|
4039
|
+
k(c(so), L({
|
|
4040
4040
|
ref_key: "treeRef",
|
|
4041
4041
|
ref: a
|
|
4042
|
-
}, b.$attrs),
|
|
4042
|
+
}, b.$attrs), ae({
|
|
4043
4043
|
title: I((y) => [
|
|
4044
|
-
c(h)(y) ? (w(), Q(c(
|
|
4044
|
+
c(h)(y) ? (w(), Q(c(lo), {
|
|
4045
4045
|
key: 0,
|
|
4046
4046
|
trigger: "contextMenu",
|
|
4047
4047
|
"popup-max-height": !1,
|
|
4048
4048
|
onSelect: (S) => u(S, y)
|
|
4049
4049
|
}, {
|
|
4050
4050
|
content: I(() => [
|
|
4051
|
-
(w(!0),
|
|
4051
|
+
(w(!0), T(se, null, Z(c(v)(y), (S) => (w(), Q(c(ao), {
|
|
4052
4052
|
key: `${String(y?.key)}-${S.key}`,
|
|
4053
4053
|
value: S.key,
|
|
4054
4054
|
disabled: c(g)(S, y)
|
|
4055
4055
|
}, {
|
|
4056
4056
|
default: I(() => [
|
|
4057
4057
|
A("span", {
|
|
4058
|
-
class:
|
|
4058
|
+
class: Y({ "sunny-resource-tree__danger": S.danger })
|
|
4059
4059
|
}, R(S.label), 3)
|
|
4060
4060
|
]),
|
|
4061
4061
|
_: 2
|
|
4062
4062
|
}, 1032, ["value", "disabled"]))), 128))
|
|
4063
4063
|
]),
|
|
4064
4064
|
default: I(() => [
|
|
4065
|
-
A("span",
|
|
4066
|
-
z(b.$slots, "title",
|
|
4067
|
-
|
|
4065
|
+
A("span", rs, [
|
|
4066
|
+
z(b.$slots, "title", oe(le(y)), () => [
|
|
4067
|
+
H(R(c(i)(y)), 1)
|
|
4068
4068
|
], !0)
|
|
4069
4069
|
])
|
|
4070
4070
|
]),
|
|
4071
4071
|
_: 2
|
|
4072
|
-
}, 1032, ["onSelect"])) : z(b.$slots, "title",
|
|
4073
|
-
|
|
4072
|
+
}, 1032, ["onSelect"])) : z(b.$slots, "title", oe(L({ key: 1 }, y)), () => [
|
|
4073
|
+
H(R(c(i)(y)), 1)
|
|
4074
4074
|
], !0)
|
|
4075
4075
|
]),
|
|
4076
4076
|
_: 2
|
|
@@ -4078,21 +4078,21 @@ const os = { class: "sunny-resource-tree" }, ns = { class: "sunny-resource-tree_
|
|
|
4078
4078
|
Z(m.value, (y) => ({
|
|
4079
4079
|
name: y,
|
|
4080
4080
|
fn: I((S) => [
|
|
4081
|
-
z(b.$slots, y,
|
|
4081
|
+
z(b.$slots, y, oe(le(S || {})), void 0, !0)
|
|
4082
4082
|
])
|
|
4083
4083
|
}))
|
|
4084
4084
|
]), 1040)
|
|
4085
4085
|
]));
|
|
4086
4086
|
}
|
|
4087
|
-
}),
|
|
4088
|
-
function
|
|
4087
|
+
}), xl = /* @__PURE__ */ Ne(ss, [["__scopeId", "data-v-d8fa1bbf"]]);
|
|
4088
|
+
function ls(e) {
|
|
4089
4089
|
if (!e || !Array.isArray(e)) return {};
|
|
4090
4090
|
const o = {};
|
|
4091
4091
|
return e.forEach((t) => {
|
|
4092
4092
|
t.fieldName && t.defaultValue !== void 0 && (o[t.fieldName] = t.defaultValue);
|
|
4093
4093
|
}), o;
|
|
4094
4094
|
}
|
|
4095
|
-
function
|
|
4095
|
+
function as(e, o) {
|
|
4096
4096
|
const t = j(!1), n = j({}), r = j([]), s = j({
|
|
4097
4097
|
current: 1,
|
|
4098
4098
|
pageSize: 200,
|
|
@@ -4103,14 +4103,14 @@ function ls(e, o) {
|
|
|
4103
4103
|
value: "value",
|
|
4104
4104
|
desc: "desc",
|
|
4105
4105
|
...e.fieldNames
|
|
4106
|
-
})), h = C(() => e.fieldNames?.value || "id"), v = (p) =>
|
|
4107
|
-
const p =
|
|
4106
|
+
})), h = C(() => e.fieldNames?.value || "id"), v = (p) => Eo(p, h.value), g = () => {
|
|
4107
|
+
const p = ls(e.formSchema);
|
|
4108
4108
|
n.value = { ...p };
|
|
4109
4109
|
};
|
|
4110
4110
|
X(
|
|
4111
4111
|
() => e.visible,
|
|
4112
4112
|
(p) => {
|
|
4113
|
-
p && (e.modelValue && Array.isArray(e.modelValue) ? r.value =
|
|
4113
|
+
p && (e.modelValue && Array.isArray(e.modelValue) ? r.value = xo(e.modelValue) : r.value = []);
|
|
4114
4114
|
},
|
|
4115
4115
|
{ immediate: !0 }
|
|
4116
4116
|
);
|
|
@@ -4125,11 +4125,11 @@ function ls(e, o) {
|
|
|
4125
4125
|
};
|
|
4126
4126
|
let F;
|
|
4127
4127
|
if (typeof e.searchApi == "function" && (F = await e.searchApi(x)), F) {
|
|
4128
|
-
const D = F.list || F.records || [],
|
|
4129
|
-
l.value = D, s.value.total =
|
|
4128
|
+
const D = F.list || F.records || [], J = F.total || F.totalCount || 0;
|
|
4129
|
+
l.value = D, s.value.total = J;
|
|
4130
4130
|
}
|
|
4131
4131
|
} catch (x) {
|
|
4132
|
-
console.error("Search failed:", x),
|
|
4132
|
+
console.error("Search failed:", x), G.error("查询失败");
|
|
4133
4133
|
} finally {
|
|
4134
4134
|
t.value = !1;
|
|
4135
4135
|
}
|
|
@@ -4139,7 +4139,7 @@ function ls(e, o) {
|
|
|
4139
4139
|
}, u = (p) => {
|
|
4140
4140
|
s.value.pageSize = p, s.value.current = 1, i();
|
|
4141
4141
|
}, m = (p, x) => {
|
|
4142
|
-
const F = v(p), D = r.value.findIndex((
|
|
4142
|
+
const F = v(p), D = r.value.findIndex((J) => v(J) === F);
|
|
4143
4143
|
x ? D === -1 && (e.multiple ? r.value.push(p) : r.value = [p]) : D > -1 && r.value.splice(D, 1);
|
|
4144
4144
|
};
|
|
4145
4145
|
return {
|
|
@@ -4181,10 +4181,10 @@ function ls(e, o) {
|
|
|
4181
4181
|
}
|
|
4182
4182
|
};
|
|
4183
4183
|
}
|
|
4184
|
-
const
|
|
4184
|
+
const is = { class: "flex flex-col h-full" }, cs = { class: "mb-4 border-b border-gray-100 pb-4 shrink-0" }, us = { class: "flex-1 overflow-hidden" }, ds = { class: "w-[180px] border-l border-gray-200 bg-gray-50 flex flex-col ml-2 overflow-hidden shrink-0" }, fs = { class: "font-bold px-2 py-2 text-gray-700 flex justify-between items-center text-xs border-b border-gray-200 shrink-0" }, ps = { class: "flex-1 min-h-0 overflow-y-auto p-2 custom-scrollbar" }, ms = { class: "text-xs font-medium text-gray-800 truncate leading-none mb-1" }, hs = { class: "text-[10px] text-gray-500 truncate leading-none" }, gs = ["onClick"], vs = {
|
|
4185
4185
|
key: 1,
|
|
4186
4186
|
class: "h-full flex items-center justify-center text-gray-400 text-xs"
|
|
4187
|
-
},
|
|
4187
|
+
}, ys = { class: "flex justify-between items-center w-full" }, bs = { class: "space-x-2" }, As = /* @__PURE__ */ O({
|
|
4188
4188
|
name: "SunnySearchModal",
|
|
4189
4189
|
inheritAttrs: !1,
|
|
4190
4190
|
__name: "SunnySearchModal",
|
|
@@ -4211,7 +4211,7 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4211
4211
|
setup(e, { expose: o, emit: t }) {
|
|
4212
4212
|
const n = we(), r = e, s = t, l = C({
|
|
4213
4213
|
get: () => r.visible,
|
|
4214
|
-
set: (
|
|
4214
|
+
set: (U) => s("update:visible", U)
|
|
4215
4215
|
}), a = j(), h = j(null), {
|
|
4216
4216
|
loading: v,
|
|
4217
4217
|
searchParams: g,
|
|
@@ -4230,25 +4230,25 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4230
4230
|
removeRow: x,
|
|
4231
4231
|
handleOk: F,
|
|
4232
4232
|
handleCancel: D,
|
|
4233
|
-
toggleRowSelection:
|
|
4233
|
+
toggleRowSelection: J,
|
|
4234
4234
|
reset: P
|
|
4235
|
-
} =
|
|
4235
|
+
} = as(r, s);
|
|
4236
4236
|
o({
|
|
4237
4237
|
reset: P
|
|
4238
4238
|
});
|
|
4239
|
-
const
|
|
4240
|
-
d.value.current = 1, b(), await me(), await
|
|
4241
|
-
},
|
|
4239
|
+
const $ = async () => {
|
|
4240
|
+
d.value.current = 1, b(), await me(), await N();
|
|
4241
|
+
}, N = async () => {
|
|
4242
4242
|
if (!h.value)
|
|
4243
4243
|
return E(), !0;
|
|
4244
4244
|
try {
|
|
4245
|
-
const { valid:
|
|
4246
|
-
return
|
|
4247
|
-
} catch (
|
|
4248
|
-
return console.error("Form validation failed:",
|
|
4245
|
+
const { valid: U } = await h.value.validate();
|
|
4246
|
+
return U ? (E(), !0) : !1;
|
|
4247
|
+
} catch (U) {
|
|
4248
|
+
return console.error("Form validation failed:", U), !1;
|
|
4249
4249
|
}
|
|
4250
|
-
},
|
|
4251
|
-
d.value.current = 1, r.clearOnSearch && (i.value = []), E(
|
|
4250
|
+
}, q = async (U) => {
|
|
4251
|
+
d.value.current = 1, r.clearOnSearch && (i.value = []), E(U);
|
|
4252
4252
|
}, M = C(() => ({
|
|
4253
4253
|
border: !0,
|
|
4254
4254
|
stripe: !0,
|
|
@@ -4275,37 +4275,37 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4275
4275
|
[() => u.value, () => i.value],
|
|
4276
4276
|
async () => {
|
|
4277
4277
|
await me();
|
|
4278
|
-
const
|
|
4279
|
-
if (
|
|
4280
|
-
|
|
4281
|
-
const
|
|
4282
|
-
(
|
|
4278
|
+
const U = a.value?.getGrid?.() || a.value;
|
|
4279
|
+
if (U && u.value.length > 0) {
|
|
4280
|
+
U.clearCheckboxRow();
|
|
4281
|
+
const ee = u.value.filter(
|
|
4282
|
+
(K) => i.value.some((be) => be[f.value] === K[f.value])
|
|
4283
4283
|
);
|
|
4284
|
-
|
|
4284
|
+
ee.length > 0 && U.setCheckboxRow(ee, !0);
|
|
4285
4285
|
}
|
|
4286
4286
|
},
|
|
4287
4287
|
{ deep: !0 }
|
|
4288
4288
|
);
|
|
4289
|
-
const
|
|
4289
|
+
const ie = ({ row: U }) => {
|
|
4290
4290
|
if (!r.multiple)
|
|
4291
|
-
i.value = [
|
|
4291
|
+
i.value = [U], F();
|
|
4292
4292
|
else {
|
|
4293
|
-
const
|
|
4294
|
-
(
|
|
4293
|
+
const ee = i.value.some(
|
|
4294
|
+
(K) => K[f.value] === U[f.value]
|
|
4295
4295
|
);
|
|
4296
|
-
|
|
4296
|
+
J(U, !ee);
|
|
4297
4297
|
}
|
|
4298
4298
|
};
|
|
4299
4299
|
return X(
|
|
4300
4300
|
() => r.visible,
|
|
4301
|
-
(
|
|
4302
|
-
|
|
4303
|
-
|
|
4301
|
+
(U) => {
|
|
4302
|
+
U && (b(), r.resetOnOpen && (u.value = [], d.value.total = 0, me(() => {
|
|
4303
|
+
N();
|
|
4304
4304
|
})));
|
|
4305
4305
|
}
|
|
4306
|
-
), (
|
|
4306
|
+
), (U, ee) => (w(), Q(et, {
|
|
4307
4307
|
modelValue: l.value,
|
|
4308
|
-
"onUpdate:modelValue":
|
|
4308
|
+
"onUpdate:modelValue": ee[3] || (ee[3] = (K) => l.value = K),
|
|
4309
4309
|
title: r.title,
|
|
4310
4310
|
width: r.width,
|
|
4311
4311
|
"unmount-on-close": "",
|
|
@@ -4317,10 +4317,10 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4317
4317
|
onOk: c(F)
|
|
4318
4318
|
}, {
|
|
4319
4319
|
footer: I(() => [
|
|
4320
|
-
A("div",
|
|
4321
|
-
k(c(
|
|
4320
|
+
A("div", ys, [
|
|
4321
|
+
k(c(io), {
|
|
4322
4322
|
current: c(d).current,
|
|
4323
|
-
"onUpdate:current":
|
|
4323
|
+
"onUpdate:current": ee[2] || (ee[2] = (K) => c(d).current = K),
|
|
4324
4324
|
"page-size": c(d).pageSize,
|
|
4325
4325
|
total: c(d).total,
|
|
4326
4326
|
"show-total": "",
|
|
@@ -4330,10 +4330,10 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4330
4330
|
onChange: c(y),
|
|
4331
4331
|
onPageSizeChange: c(S)
|
|
4332
4332
|
}, null, 8, ["current", "page-size", "total", "onChange", "onPageSizeChange"]),
|
|
4333
|
-
A("div",
|
|
4333
|
+
A("div", bs, [
|
|
4334
4334
|
k(c(he), { onClick: c(D) }, {
|
|
4335
4335
|
default: I(() => [
|
|
4336
|
-
|
|
4336
|
+
H(R(U.$t("common.cancel")), 1)
|
|
4337
4337
|
]),
|
|
4338
4338
|
_: 1
|
|
4339
4339
|
}, 8, ["onClick"]),
|
|
@@ -4342,7 +4342,7 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4342
4342
|
onClick: c(F)
|
|
4343
4343
|
}, {
|
|
4344
4344
|
default: I(() => [
|
|
4345
|
-
|
|
4345
|
+
H(R(U.$t("common.confirm")), 1)
|
|
4346
4346
|
]),
|
|
4347
4347
|
_: 1
|
|
4348
4348
|
}, 8, ["onClick"])
|
|
@@ -4350,35 +4350,35 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4350
4350
|
])
|
|
4351
4351
|
]),
|
|
4352
4352
|
default: I(() => [
|
|
4353
|
-
A("div",
|
|
4354
|
-
A("div",
|
|
4355
|
-
k(
|
|
4353
|
+
A("div", is, [
|
|
4354
|
+
A("div", cs, [
|
|
4355
|
+
k(Vr, {
|
|
4356
4356
|
ref_key: "formRef",
|
|
4357
4357
|
ref: h,
|
|
4358
4358
|
values: c(g),
|
|
4359
|
-
"onUpdate:values":
|
|
4359
|
+
"onUpdate:values": ee[0] || (ee[0] = (K) => ye(g) ? g.value = K : null),
|
|
4360
4360
|
schema: r.formSchema,
|
|
4361
4361
|
"common-config": r.commonConfig,
|
|
4362
4362
|
"show-default-actions": "",
|
|
4363
4363
|
"reset-button-options": { show: !0 },
|
|
4364
|
-
onSubmit:
|
|
4365
|
-
onReset:
|
|
4364
|
+
onSubmit: q,
|
|
4365
|
+
onReset: $,
|
|
4366
4366
|
layout: "vertical"
|
|
4367
|
-
},
|
|
4368
|
-
Z(c(n), (
|
|
4367
|
+
}, ae({ _: 2 }, [
|
|
4368
|
+
Z(c(n), (K, be) => ({
|
|
4369
4369
|
name: be,
|
|
4370
4370
|
fn: I((Ot) => [
|
|
4371
|
-
z(
|
|
4371
|
+
z(U.$slots, be, oe(le(Ot)), void 0, !0)
|
|
4372
4372
|
])
|
|
4373
4373
|
}))
|
|
4374
4374
|
]), 1032, ["values", "schema", "common-config"])
|
|
4375
4375
|
]),
|
|
4376
4376
|
A("div", {
|
|
4377
4377
|
class: "flex min-h-0 overflow-hidden box-border border border-gray-200 rounded",
|
|
4378
|
-
style:
|
|
4378
|
+
style: re({ height: typeof r.contentHeight == "number" ? r.contentHeight + "px" : r.contentHeight })
|
|
4379
4379
|
}, [
|
|
4380
|
-
A("div",
|
|
4381
|
-
k(Mt,
|
|
4380
|
+
A("div", us, [
|
|
4381
|
+
k(Mt, L({
|
|
4382
4382
|
ref_key: "gridRef",
|
|
4383
4383
|
ref: a,
|
|
4384
4384
|
columns: r.tableColumns,
|
|
@@ -4388,39 +4388,39 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4388
4388
|
onCheckboxChange: c(V),
|
|
4389
4389
|
onCheckboxAll: c(B),
|
|
4390
4390
|
onRadioChange: c(p),
|
|
4391
|
-
onCellDblclick:
|
|
4391
|
+
onCellDblclick: ie
|
|
4392
4392
|
}), null, 16, ["columns", "data", "loading", "onCheckboxChange", "onCheckboxAll", "onRadioChange"])
|
|
4393
4393
|
]),
|
|
4394
|
-
A("div",
|
|
4395
|
-
A("div",
|
|
4396
|
-
A("span", null, R(
|
|
4397
|
-
c(i).length ? (w(),
|
|
4394
|
+
A("div", ds, [
|
|
4395
|
+
A("div", fs, [
|
|
4396
|
+
A("span", null, R(U.$t("common.selected")) + " (" + R(c(i).length) + ")", 1),
|
|
4397
|
+
c(i).length ? (w(), T("span", {
|
|
4398
4398
|
key: 0,
|
|
4399
4399
|
class: "text-xs text-blue-500 cursor-pointer",
|
|
4400
|
-
onClick:
|
|
4401
|
-
}, R(
|
|
4400
|
+
onClick: ee[1] || (ee[1] = (K) => i.value = [])
|
|
4401
|
+
}, R(U.$t("common.clear")), 1)) : W("", !0)
|
|
4402
4402
|
]),
|
|
4403
|
-
A("div",
|
|
4404
|
-
c(i).length ? (w(!0),
|
|
4405
|
-
key:
|
|
4403
|
+
A("div", ps, [
|
|
4404
|
+
c(i).length ? (w(!0), T(se, { key: 0 }, Z(c(i), (K) => (w(), T("div", {
|
|
4405
|
+
key: K[c(f)],
|
|
4406
4406
|
class: "relative group px-2 py-1 mb-1 bg-white border border-gray-200 rounded hover:shadow-sm transition-all h-[42px] flex flex-col justify-center"
|
|
4407
4407
|
}, [
|
|
4408
4408
|
k(c(ht), {
|
|
4409
|
-
content: `${
|
|
4409
|
+
content: `${K[c(m).desc]}`
|
|
4410
4410
|
}, {
|
|
4411
4411
|
default: I(() => [
|
|
4412
|
-
A("div",
|
|
4413
|
-
A("div",
|
|
4412
|
+
A("div", ms, R(K[c(m).value] || "-"), 1),
|
|
4413
|
+
A("div", hs, R(K[c(m).label] || " "), 1)
|
|
4414
4414
|
]),
|
|
4415
4415
|
_: 2
|
|
4416
4416
|
}, 1032, ["content"]),
|
|
4417
4417
|
A("div", {
|
|
4418
4418
|
class: "absolute top-0.5 right-0.5 opacity-0 group-hover:opacity-100 cursor-pointer text-gray-400 hover:text-red-500 transition-opacity p-0.5 bg-white rounded-full shadow-sm",
|
|
4419
|
-
onClick: (be) => c(x)(
|
|
4419
|
+
onClick: (be) => c(x)(K)
|
|
4420
4420
|
}, [
|
|
4421
4421
|
k(c(wt), { size: 10 })
|
|
4422
|
-
], 8,
|
|
4423
|
-
]))), 128)) : (w(),
|
|
4422
|
+
], 8, gs)
|
|
4423
|
+
]))), 128)) : (w(), T("div", vs, R(U.$t("common.noData")), 1))
|
|
4424
4424
|
])
|
|
4425
4425
|
])
|
|
4426
4426
|
], 4)
|
|
@@ -4429,18 +4429,18 @@ const as = { class: "flex flex-col h-full" }, is = { class: "mb-4 border-b borde
|
|
|
4429
4429
|
_: 3
|
|
4430
4430
|
}, 8, ["modelValue", "title", "width", "help-message", "onCancel", "onClose", "onOk"]));
|
|
4431
4431
|
}
|
|
4432
|
-
}),
|
|
4432
|
+
}), Cs = /* @__PURE__ */ Ne(As, [["__scopeId", "data-v-6d48900d"]]), jt = {
|
|
4433
4433
|
// 示例:动态导入
|
|
4434
4434
|
// 'user': () => import('./user').then(m => m.default),
|
|
4435
4435
|
};
|
|
4436
|
-
async function
|
|
4436
|
+
async function Ss(e) {
|
|
4437
4437
|
const o = jt[e];
|
|
4438
4438
|
return o ? await o() : (console.warn(`[SunnyBusinessSearch] Config for type "${e}" not found.`), null);
|
|
4439
4439
|
}
|
|
4440
|
-
function
|
|
4440
|
+
function El(e, o) {
|
|
4441
4441
|
jt[e] = o;
|
|
4442
4442
|
}
|
|
4443
|
-
function
|
|
4443
|
+
function ws(e, o) {
|
|
4444
4444
|
const t = j(!1), n = j(!1), r = j({}), s = C({
|
|
4445
4445
|
get: () => e.modelValue || [],
|
|
4446
4446
|
set: (d) => {
|
|
@@ -4479,7 +4479,7 @@ function Ss(e, o) {
|
|
|
4479
4479
|
if (e.type) {
|
|
4480
4480
|
n.value = !0;
|
|
4481
4481
|
try {
|
|
4482
|
-
const d = await
|
|
4482
|
+
const d = await Ss(e.type);
|
|
4483
4483
|
d && (r.value = d);
|
|
4484
4484
|
} catch (d) {
|
|
4485
4485
|
console.error("[SunnyBusinessSearch] Failed to load static config:", d);
|
|
@@ -4506,7 +4506,7 @@ function Ss(e, o) {
|
|
|
4506
4506
|
handleConfirm: i
|
|
4507
4507
|
};
|
|
4508
4508
|
}
|
|
4509
|
-
const
|
|
4509
|
+
const ks = { class: "sunny-business-search" }, xs = /* @__PURE__ */ O({
|
|
4510
4510
|
name: "SunnyBusinessSearch",
|
|
4511
4511
|
inheritAttrs: !1,
|
|
4512
4512
|
__name: "SunnyBusinessSearch",
|
|
@@ -4530,7 +4530,7 @@ const ws = { class: "sunny-business-search" }, ks = /* @__PURE__ */ O({
|
|
|
4530
4530
|
selectedValues: l,
|
|
4531
4531
|
handleOpen: a,
|
|
4532
4532
|
handleConfirm: h
|
|
4533
|
-
} =
|
|
4533
|
+
} = ws(t, n), v = C(() => t.fieldNames || t.modalProps?.fieldNames || s.value.fieldNames || { label: "label", value: "value" }), g = C(() => {
|
|
4534
4534
|
let i = t.modalProps?.multiple;
|
|
4535
4535
|
i === void 0 && (i = t.multiple), i === void 0 && t.cSelectionMode && (i = t.cSelectionMode !== "single"), i = i ?? s.value.multiple ?? !0;
|
|
4536
4536
|
let u = [...t.modalProps.tableColumns || s.value.tableColumns || []];
|
|
@@ -4544,8 +4544,8 @@ const ws = { class: "sunny-business-search" }, ks = /* @__PURE__ */ O({
|
|
|
4544
4544
|
// 覆盖处理后的 columns
|
|
4545
4545
|
};
|
|
4546
4546
|
});
|
|
4547
|
-
return (i, d) => (w(),
|
|
4548
|
-
k(c(
|
|
4547
|
+
return (i, d) => (w(), T("div", ks, [
|
|
4548
|
+
k(c(ur), L(i.$attrs, {
|
|
4549
4549
|
"model-value": c(l),
|
|
4550
4550
|
placeholder: e.placeholder,
|
|
4551
4551
|
disabled: e.disabled,
|
|
@@ -4553,20 +4553,20 @@ const ws = { class: "sunny-business-search" }, ks = /* @__PURE__ */ O({
|
|
|
4553
4553
|
"field-names": v.value,
|
|
4554
4554
|
"onUpdate:modelValue": d[0] || (d[0] = (u) => l.value = u),
|
|
4555
4555
|
onSearch: c(a)
|
|
4556
|
-
}),
|
|
4556
|
+
}), ae({ _: 2 }, [
|
|
4557
4557
|
Z(i.$slots, (u, m) => ({
|
|
4558
4558
|
name: m,
|
|
4559
4559
|
fn: I((f) => [
|
|
4560
|
-
z(i.$slots, m,
|
|
4560
|
+
z(i.$slots, m, oe(le(f || {})))
|
|
4561
4561
|
])
|
|
4562
4562
|
}))
|
|
4563
4563
|
]), 1040, ["model-value", "placeholder", "disabled", "max-tag-count", "field-names", "onSearch"]),
|
|
4564
|
-
c(s).title || c(r) ? (w(), Q(c(
|
|
4564
|
+
c(s).title || c(r) ? (w(), Q(c(Cs), L({
|
|
4565
4565
|
key: 0,
|
|
4566
4566
|
visible: c(r),
|
|
4567
4567
|
"onUpdate:visible": d[1] || (d[1] = (u) => ye(r) ? r.value = u : null),
|
|
4568
4568
|
"model-value": c(l)
|
|
4569
|
-
}, g.value, { onConfirm: c(h) }), null, 16, ["visible", "model-value", "onConfirm"])) :
|
|
4569
|
+
}, g.value, { onConfirm: c(h) }), null, 16, ["visible", "model-value", "onConfirm"])) : W("", !0)
|
|
4570
4570
|
]));
|
|
4571
4571
|
}
|
|
4572
4572
|
}), Qt = {
|
|
@@ -4577,7 +4577,7 @@ const ws = { class: "sunny-business-search" }, ks = /* @__PURE__ */ O({
|
|
|
4577
4577
|
del: async () => ({}),
|
|
4578
4578
|
findDefSearchPlan: async () => ({ data: {} })
|
|
4579
4579
|
};
|
|
4580
|
-
function
|
|
4580
|
+
function Es(e, o, t, n, r = Qt) {
|
|
4581
4581
|
const s = j(!1), l = j(""), a = j(!1), h = async () => {
|
|
4582
4582
|
if (e.searchPlanList.length > 0 && !l.value.trim()) {
|
|
4583
4583
|
a.value = !0;
|
|
@@ -4593,7 +4593,7 @@ function xs(e, o, t, n, r = Qt) {
|
|
|
4593
4593
|
console.error("handleAdd getValues error:", V);
|
|
4594
4594
|
}
|
|
4595
4595
|
if (!Object.values(y).some((V) => V !== "" && V !== void 0 && V !== null)) {
|
|
4596
|
-
|
|
4596
|
+
G.error("请输入查询条件");
|
|
4597
4597
|
return;
|
|
4598
4598
|
}
|
|
4599
4599
|
try {
|
|
@@ -4606,7 +4606,7 @@ function xs(e, o, t, n, r = Qt) {
|
|
|
4606
4606
|
},
|
|
4607
4607
|
colMap: y
|
|
4608
4608
|
});
|
|
4609
|
-
if (B.message &&
|
|
4609
|
+
if (B.message && G.success(B.message), e.resourceId) {
|
|
4610
4610
|
const p = await d(e.resourceId);
|
|
4611
4611
|
o("update:searchPlanList", p);
|
|
4612
4612
|
const x = p.find((F) => F.CSEARCHPLANNAME === V);
|
|
@@ -4631,7 +4631,7 @@ function xs(e, o, t, n, r = Qt) {
|
|
|
4631
4631
|
console.error("handleUpdate getValues error:", V);
|
|
4632
4632
|
}
|
|
4633
4633
|
if (!Object.values(y).some((V) => V !== "" && V !== void 0 && V !== null)) {
|
|
4634
|
-
|
|
4634
|
+
G.error("请输入查询条件");
|
|
4635
4635
|
return;
|
|
4636
4636
|
}
|
|
4637
4637
|
try {
|
|
@@ -4643,7 +4643,7 @@ function xs(e, o, t, n, r = Qt) {
|
|
|
4643
4643
|
},
|
|
4644
4644
|
colMap: y
|
|
4645
4645
|
});
|
|
4646
|
-
if (V.message &&
|
|
4646
|
+
if (V.message && G.success(V.message), e.resourceId) {
|
|
4647
4647
|
const B = await d(e.resourceId);
|
|
4648
4648
|
o("update:searchPlanList", B);
|
|
4649
4649
|
const p = B.find((x) => x.ID === e.currentSearchPlan?.ID);
|
|
@@ -4656,7 +4656,7 @@ function xs(e, o, t, n, r = Qt) {
|
|
|
4656
4656
|
}, g = async (y) => {
|
|
4657
4657
|
try {
|
|
4658
4658
|
const S = await r.del({ id: y.ID });
|
|
4659
|
-
if (o("delete", y.ID), e.currentSearchPlan && e.currentSearchPlan.ID === y.ID && o("update:currentSearchPlan", void 0), S.message &&
|
|
4659
|
+
if (o("delete", y.ID), e.currentSearchPlan && e.currentSearchPlan.ID === y.ID && o("update:currentSearchPlan", void 0), S.message && G.success(S.message), e.resourceId) {
|
|
4660
4660
|
const V = await d(e.resourceId);
|
|
4661
4661
|
o("update:searchPlanList", V);
|
|
4662
4662
|
}
|
|
@@ -4785,13 +4785,13 @@ function xs(e, o, t, n, r = Qt) {
|
|
|
4785
4785
|
}
|
|
4786
4786
|
};
|
|
4787
4787
|
}
|
|
4788
|
-
const
|
|
4788
|
+
const Bs = { class: "inline-block" }, Is = ["disabled"], Ps = { class: "p-5 relative" }, Vs = {
|
|
4789
4789
|
key: 0,
|
|
4790
4790
|
class: "absolute inset-0 bg-white/80 flex flex-col items-center justify-center z-10 rounded"
|
|
4791
|
-
},
|
|
4791
|
+
}, Rs = { class: "text-sm text-[var(--color-text-2)]" }, Fs = { class: "flex-1 min-w-0" }, Ns = { class: "w-60" }, Ts = { class: "text-sm font-semibold mb-4 text-[var(--color-text-1)]" }, Ls = { class: "mb-5" }, Ms = { class: "mb-3" }, js = { class: "block text-xs text-[var(--color-text-2)] mb-1" }, Qs = ["placeholder", "disabled"], Os = {
|
|
4792
4792
|
key: 0,
|
|
4793
4793
|
class: "text-xs text-red-500 mt-1"
|
|
4794
|
-
},
|
|
4794
|
+
}, Ds = { class: "flex gap-2 mt-3" }, zs = ["disabled"], $s = ["disabled"], Us = { class: "text-sm font-semibold mb-4 text-[var(--color-text-1)]" }, qs = { class: "max-h-44 overflow-y-auto border border-[var(--color-border-2)] rounded p-2" }, Ws = ["onClick"], Ys = ["onClick", "disabled"], Js = { class: "flex justify-end gap-3 pt-5 border-t border-[var(--color-border-2)]" }, Gs = ["disabled"], Ks = ["disabled"], Bl = /* @__PURE__ */ O({
|
|
4795
4795
|
name: "SunnySearchPlan",
|
|
4796
4796
|
inheritAttrs: !1,
|
|
4797
4797
|
__name: "SunnySearchPlan",
|
|
@@ -4806,14 +4806,14 @@ const Es = { class: "inline-block" }, Bs = ["disabled"], Is = { class: "p-5 rela
|
|
|
4806
4806
|
disabled: { type: Boolean, default: !1 },
|
|
4807
4807
|
modalProps: { default: () => ({}) },
|
|
4808
4808
|
formProps: { default: () => ({}) },
|
|
4809
|
-
title: { default: () =>
|
|
4809
|
+
title: { default: () => $t("common.searchPlan.title") },
|
|
4810
4810
|
width: { default: 900 },
|
|
4811
4811
|
loading: { type: Boolean, default: !1 },
|
|
4812
4812
|
api: { default: () => Qt }
|
|
4813
4813
|
},
|
|
4814
4814
|
emits: ["add", "update", "delete", "select", "reset", "search", "error", "default-plan-loaded", "update:model", "update:modelValue", "update:currentSearchPlan", "update:searchPlanList"],
|
|
4815
4815
|
setup(e, { emit: o }) {
|
|
4816
|
-
const t = e, n = o, [, r] =
|
|
4816
|
+
const t = e, n = o, [, r] = Pr({
|
|
4817
4817
|
schema: t.formConfig,
|
|
4818
4818
|
model: t.modelValue || t.model
|
|
4819
4819
|
}), s = j({ ...t.modelValue || t.model }), {
|
|
@@ -4830,58 +4830,58 @@ const Es = { class: "inline-block" }, Bs = ["disabled"], Is = { class: "p-5 rela
|
|
|
4830
4830
|
handleOpen: b,
|
|
4831
4831
|
loadSearchPlans: E,
|
|
4832
4832
|
loadDefaultSearchPlan: y
|
|
4833
|
-
} =
|
|
4833
|
+
} = Es(t, n, s, r, t.api);
|
|
4834
4834
|
Se(async () => {
|
|
4835
4835
|
if (t.resourceId)
|
|
4836
4836
|
try {
|
|
4837
|
-
const
|
|
4838
|
-
n("update:searchPlanList",
|
|
4839
|
-
} catch (
|
|
4840
|
-
console.error("Failed to initialize search plan:",
|
|
4837
|
+
const N = await E(t.resourceId);
|
|
4838
|
+
n("update:searchPlanList", N), await y();
|
|
4839
|
+
} catch (N) {
|
|
4840
|
+
console.error("Failed to initialize search plan:", N);
|
|
4841
4841
|
}
|
|
4842
4842
|
else
|
|
4843
4843
|
try {
|
|
4844
4844
|
await y();
|
|
4845
|
-
} catch (
|
|
4846
|
-
console.error("Failed to load default search plan:",
|
|
4845
|
+
} catch (N) {
|
|
4846
|
+
console.error("Failed to load default search plan:", N);
|
|
4847
4847
|
}
|
|
4848
4848
|
});
|
|
4849
4849
|
const S = async () => {
|
|
4850
4850
|
await b();
|
|
4851
4851
|
}, V = () => {
|
|
4852
|
-
console.log("SunnyUseForm mounted"), r && (t.modelValue || t.model) && r.setValues(t.modelValue || t.model).catch((
|
|
4853
|
-
console.error("setValues error:",
|
|
4852
|
+
console.log("SunnyUseForm mounted"), r && (t.modelValue || t.model) && r.setValues(t.modelValue || t.model).catch((N) => {
|
|
4853
|
+
console.error("setValues error:", N);
|
|
4854
4854
|
});
|
|
4855
4855
|
};
|
|
4856
4856
|
X(
|
|
4857
4857
|
() => [t.model, t.modelValue],
|
|
4858
|
-
([
|
|
4859
|
-
const M =
|
|
4860
|
-
M && (s.value = { ...M }, r && r.setValues(M).catch((
|
|
4861
|
-
console.error("setValues error:",
|
|
4858
|
+
([N, q]) => {
|
|
4859
|
+
const M = q || N;
|
|
4860
|
+
M && (s.value = { ...M }, r && r.setValues(M).catch((ie) => {
|
|
4861
|
+
console.error("setValues error:", ie);
|
|
4862
4862
|
}));
|
|
4863
4863
|
},
|
|
4864
4864
|
{ deep: !0 }
|
|
4865
4865
|
), X(
|
|
4866
4866
|
() => s.value,
|
|
4867
|
-
(
|
|
4868
|
-
n("update:model",
|
|
4867
|
+
(N) => {
|
|
4868
|
+
n("update:model", N), n("update:modelValue", N);
|
|
4869
4869
|
},
|
|
4870
4870
|
{ deep: !0 }
|
|
4871
4871
|
);
|
|
4872
4872
|
const B = C(() => ({
|
|
4873
4873
|
...t.modalProps
|
|
4874
|
-
})), p = C(() => t.formConfig.map((
|
|
4875
|
-
...
|
|
4874
|
+
})), p = C(() => t.formConfig.map((N) => ({
|
|
4875
|
+
...N,
|
|
4876
4876
|
labelWidth: 80,
|
|
4877
4877
|
colProps: {
|
|
4878
|
-
...
|
|
4878
|
+
...N.colProps,
|
|
4879
4879
|
span: 8
|
|
4880
4880
|
// 一行三列
|
|
4881
4881
|
}
|
|
4882
|
-
}))), x = C(() => t.searchPlanList), F = C(() => t.currentSearchPlan), D = C(() => t.disabled),
|
|
4883
|
-
return (
|
|
4884
|
-
z(
|
|
4882
|
+
}))), x = C(() => t.searchPlanList), F = C(() => t.currentSearchPlan), D = C(() => t.disabled), J = C(() => t.formProps), P = C(() => t.title), $ = C(() => t.width);
|
|
4883
|
+
return (N, q) => (w(), T("div", Bs, [
|
|
4884
|
+
z(N.$slots, "trigger", {
|
|
4885
4885
|
open: S,
|
|
4886
4886
|
disabled: D.value
|
|
4887
4887
|
}, () => [
|
|
@@ -4889,13 +4889,13 @@ const Es = { class: "inline-block" }, Bs = ["disabled"], Is = { class: "p-5 rela
|
|
|
4889
4889
|
class: "px-3 py-1.5 border border-[var(--color-border-2)] rounded bg-white text-sm transition-all hover:border-[rgb(var(--primary-6))] hover:text-[rgb(var(--primary-6))] disabled:cursor-not-allowed disabled:opacity-60",
|
|
4890
4890
|
disabled: D.value,
|
|
4891
4891
|
onClick: S
|
|
4892
|
-
}, R(
|
|
4892
|
+
}, R(N.$t("common.searchPlan.title")), 9, Is)
|
|
4893
4893
|
]),
|
|
4894
|
-
k(c(et),
|
|
4894
|
+
k(c(et), L({
|
|
4895
4895
|
visible: c(l),
|
|
4896
|
-
"onUpdate:visible":
|
|
4896
|
+
"onUpdate:visible": q[5] || (q[5] = (M) => ye(l) ? l.value = M : null),
|
|
4897
4897
|
title: P.value,
|
|
4898
|
-
width:
|
|
4898
|
+
width: $.value,
|
|
4899
4899
|
top: "50px",
|
|
4900
4900
|
"close-on-click-modal": !1
|
|
4901
4901
|
}, B.value, {
|
|
@@ -4903,90 +4903,90 @@ const Es = { class: "inline-block" }, Bs = ["disabled"], Is = { class: "p-5 rela
|
|
|
4903
4903
|
onClose: c(f)
|
|
4904
4904
|
}), {
|
|
4905
4905
|
footer: I(() => [
|
|
4906
|
-
A("div",
|
|
4906
|
+
A("div", Js, [
|
|
4907
4907
|
A("button", {
|
|
4908
4908
|
class: "px-3 py-1.5 border border-[var(--color-border-2)] rounded bg-white text-sm transition-colors hover:border-[rgb(var(--primary-6))] hover:text-[rgb(var(--primary-6))] disabled:cursor-not-allowed disabled:opacity-60",
|
|
4909
|
-
onClick:
|
|
4909
|
+
onClick: q[3] || (q[3] = //@ts-ignore
|
|
4910
4910
|
(...M) => c(u) && c(u)(...M)),
|
|
4911
4911
|
disabled: t.loading
|
|
4912
|
-
}, R(
|
|
4912
|
+
}, R(N.$t("common.searchPlan.reset")), 9, Gs),
|
|
4913
4913
|
A("button", {
|
|
4914
4914
|
class: "px-3 py-1.5 bg-[rgb(var(--primary-6))] border border-[rgb(var(--primary-6))] text-white text-sm rounded hover:bg-[rgb(var(--primary-7))] transition-colors disabled:cursor-not-allowed disabled:opacity-60",
|
|
4915
|
-
onClick:
|
|
4915
|
+
onClick: q[4] || (q[4] = //@ts-ignore
|
|
4916
4916
|
(...M) => c(m) && c(m)(...M)),
|
|
4917
4917
|
disabled: t.loading
|
|
4918
|
-
}, R(
|
|
4918
|
+
}, R(N.$t("common.searchPlan.search")), 9, Ks)
|
|
4919
4919
|
])
|
|
4920
4920
|
]),
|
|
4921
4921
|
default: I(() => [
|
|
4922
|
-
A("div",
|
|
4923
|
-
t.loading ? (w(),
|
|
4924
|
-
|
|
4925
|
-
A("div",
|
|
4926
|
-
])) :
|
|
4922
|
+
A("div", Ps, [
|
|
4923
|
+
t.loading ? (w(), T("div", Vs, [
|
|
4924
|
+
q[6] || (q[6] = A("div", { class: "w-7 h-7 border-3 border-[var(--color-border-2)] border-t-[rgb(var(--primary-6))] rounded-full animate-spin mb-2.5" }, null, -1)),
|
|
4925
|
+
A("div", Rs, R(N.$t("common.searchPlan.loading")), 1)
|
|
4926
|
+
])) : W("", !0),
|
|
4927
4927
|
A("div", {
|
|
4928
|
-
class:
|
|
4928
|
+
class: Y([{ "opacity-60": t.loading }, "flex gap-5"])
|
|
4929
4929
|
}, [
|
|
4930
|
-
A("div",
|
|
4931
|
-
k(c(Lt),
|
|
4930
|
+
A("div", Fs, [
|
|
4931
|
+
k(c(Lt), L({
|
|
4932
4932
|
"form-api": c(r),
|
|
4933
4933
|
schema: p.value,
|
|
4934
4934
|
"show-default-actions": !1,
|
|
4935
4935
|
"show-message": !1
|
|
4936
|
-
},
|
|
4936
|
+
}, J.value, { onMounted: V }), null, 16, ["form-api", "schema"])
|
|
4937
4937
|
]),
|
|
4938
|
-
A("div",
|
|
4939
|
-
A("h3",
|
|
4940
|
-
A("div",
|
|
4941
|
-
A("div",
|
|
4942
|
-
A("label",
|
|
4938
|
+
A("div", Ns, [
|
|
4939
|
+
A("h3", Ts, R(N.$t("common.searchPlan.newPlan")), 1),
|
|
4940
|
+
A("div", Ls, [
|
|
4941
|
+
A("div", Ms, [
|
|
4942
|
+
A("label", js, R(N.$t("common.searchPlan.planName")), 1),
|
|
4943
4943
|
qe(A("input", {
|
|
4944
|
-
"onUpdate:modelValue":
|
|
4944
|
+
"onUpdate:modelValue": q[0] || (q[0] = (M) => ye(a) ? a.value = M : null),
|
|
4945
4945
|
type: "text",
|
|
4946
|
-
placeholder:
|
|
4946
|
+
placeholder: N.$t("common.searchPlan.planNamePlaceholder"),
|
|
4947
4947
|
class: "w-full px-2 py-1.5 border border-[var(--color-border-2)] rounded text-xs focus:outline-none focus:border-[rgb(var(--primary-6))] focus:ring-2 focus:ring-[rgb(var(--primary-1))]",
|
|
4948
4948
|
disabled: t.loading
|
|
4949
|
-
}, null, 8,
|
|
4950
|
-
[
|
|
4949
|
+
}, null, 8, Qs), [
|
|
4950
|
+
[Yt, c(a)]
|
|
4951
4951
|
]),
|
|
4952
|
-
!c(a).trim() && c(h) ? (w(),
|
|
4952
|
+
!c(a).trim() && c(h) ? (w(), T("div", Os, R(N.$t("common.searchPlan.planNameRequired")), 1)) : W("", !0)
|
|
4953
4953
|
]),
|
|
4954
|
-
A("div",
|
|
4954
|
+
A("div", Ds, [
|
|
4955
4955
|
A("button", {
|
|
4956
4956
|
class: "px-3 py-1 bg-[rgb(var(--primary-6))] border border-[rgb(var(--primary-6))] text-white text-xs rounded hover:bg-[rgb(var(--primary-7))] transition-colors disabled:cursor-not-allowed disabled:opacity-60",
|
|
4957
|
-
onClick:
|
|
4957
|
+
onClick: q[1] || (q[1] = //@ts-ignore
|
|
4958
4958
|
(...M) => c(v) && c(v)(...M)),
|
|
4959
4959
|
disabled: t.loading
|
|
4960
|
-
}, R(
|
|
4960
|
+
}, R(N.$t("common.searchPlan.add")), 9, zs),
|
|
4961
4961
|
A("button", {
|
|
4962
4962
|
class: "px-3 py-1 border border-[var(--color-border-2)] text-[var(--color-text-1)] text-xs rounded hover:bg-[var(--color-fill-1)] hover:border-[rgb(var(--primary-6))] hover:text-[rgb(var(--primary-6))] transition-colors disabled:cursor-not-allowed disabled:opacity-60",
|
|
4963
4963
|
disabled: !F.value || t.loading,
|
|
4964
|
-
onClick:
|
|
4964
|
+
onClick: q[2] || (q[2] = //@ts-ignore
|
|
4965
4965
|
(...M) => c(g) && c(g)(...M))
|
|
4966
|
-
}, R(
|
|
4966
|
+
}, R(N.$t("common.searchPlan.update")), 9, $s)
|
|
4967
4967
|
])
|
|
4968
4968
|
]),
|
|
4969
|
-
|
|
4970
|
-
A("h3", Us, R(
|
|
4971
|
-
A("div",
|
|
4972
|
-
(w(!0),
|
|
4969
|
+
q[7] || (q[7] = A("div", { class: "h-px bg-[var(--color-border-2)] my-5" }, null, -1)),
|
|
4970
|
+
A("h3", Us, R(N.$t("common.searchPlan.savedPlans")), 1),
|
|
4971
|
+
A("div", qs, [
|
|
4972
|
+
(w(!0), T(se, null, Z(x.value, (M, ie) => (w(), T("div", {
|
|
4973
4973
|
key: M.ID,
|
|
4974
|
-
class:
|
|
4975
|
-
onClick: (
|
|
4976
|
-
style:
|
|
4974
|
+
class: Y(["flex items-center p-2 mb-1 rounded cursor-pointer transition-all hover:bg-[var(--color-fill-1)] border border-transparent", { "bg-[rgb(var(--primary-1))] border-[rgb(var(--primary-6))]": F.value && (F.value.ID == M.ID || F.value.ID === M.ID) }]),
|
|
4975
|
+
onClick: (U) => c(d)(M),
|
|
4976
|
+
style: re({ cursor: t.loading ? "not-allowed" : "pointer" })
|
|
4977
4977
|
}, [
|
|
4978
4978
|
A("div", {
|
|
4979
|
-
class:
|
|
4980
|
-
}, R(String(
|
|
4979
|
+
class: Y(["w-5 h-5 flex items-center justify-center rounded text-xs mr-2 text-[var(--color-text-2)]", F.value && (F.value.ID == M.ID || F.value.ID === M.ID) ? "bg-[rgb(var(--primary-6))] text-white" : "bg-[var(--color-fill-2)]"])
|
|
4980
|
+
}, R(String(ie + 1).padStart(2, "0")), 3),
|
|
4981
4981
|
A("div", {
|
|
4982
|
-
class:
|
|
4982
|
+
class: Y(["flex-1 text-xs truncate", F.value && (F.value.ID == M.ID || F.value.ID === M.ID) ? "text-[rgb(var(--primary-6))] font-medium" : "text-[var(--color-text-1)]"])
|
|
4983
4983
|
}, R(M.CSEARCHPLANNAME), 3),
|
|
4984
4984
|
A("button", {
|
|
4985
4985
|
class: "w-4 h-4 flex items-center justify-center border-none bg-transparent cursor-pointer text-sm text-[var(--color-text-3)] transition-colors rounded hover:text-[var(--color-danger)] hover:bg-[var(--color-danger-light)]",
|
|
4986
|
-
onClick: ve((
|
|
4986
|
+
onClick: ve((U) => c(i)(M), ["stop"]),
|
|
4987
4987
|
disabled: t.loading
|
|
4988
|
-
}, " × ", 8,
|
|
4989
|
-
], 14,
|
|
4988
|
+
}, " × ", 8, Ys)
|
|
4989
|
+
], 14, Ws))), 128))
|
|
4990
4990
|
])
|
|
4991
4991
|
])
|
|
4992
4992
|
], 2)
|
|
@@ -4998,36 +4998,36 @@ const Es = { class: "inline-block" }, Bs = ["disabled"], Is = { class: "p-5 rela
|
|
|
4998
4998
|
}
|
|
4999
4999
|
});
|
|
5000
5000
|
export {
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5001
|
+
Sl as EditRender,
|
|
5002
|
+
ml as ErrorBoundary,
|
|
5003
|
+
hr as FormApi,
|
|
5004
5004
|
et as Modal,
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5005
|
+
pl as ModalTypes,
|
|
5006
|
+
vl as SunnyBatchSelect,
|
|
5007
|
+
xs as SunnyBusinessSearch,
|
|
5008
|
+
yl as SunnyCustomizeSelect,
|
|
5009
|
+
Vr as SunnyForm,
|
|
5010
|
+
Qn as SunnyIcon,
|
|
5011
|
+
xl as SunnyResourceTree,
|
|
5012
|
+
hl as SunnyScrollbar,
|
|
5013
|
+
ur as SunnySearchInputTag,
|
|
5014
|
+
Cs as SunnySearchModal,
|
|
5015
|
+
Bl as SunnySearchPlan,
|
|
5016
|
+
nr as SunnySelect,
|
|
5017
|
+
or as SunnySimpleUpload,
|
|
5018
|
+
gl as SunnyUpload,
|
|
5019
|
+
wl as Validators,
|
|
5020
|
+
Ss as getBusinessConfig,
|
|
5021
|
+
Vl as patterns,
|
|
5022
|
+
El as registerBusinessConfig,
|
|
5023
|
+
bl as setupSunnyForm,
|
|
5024
|
+
Rl as startProgress,
|
|
5025
|
+
Fl as stopProgress,
|
|
5026
|
+
Cl as useSunnyEditGrid,
|
|
5027
|
+
Pr as useSunnyForm,
|
|
5028
|
+
fl as useSunnyModal,
|
|
5029
|
+
kl as useSunnyQueryGrid,
|
|
5030
|
+
os as useSunnyResourceTree,
|
|
5031
|
+
Es as useSunnySearchPlan,
|
|
5032
|
+
cl as z
|
|
5033
5033
|
};
|