sunyard-szyy-ui 0.7.12 → 0.7.13
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.full.js +4 -4
- package/dist/index.full.mjs +721 -695
- package/es/hooks/dist/index.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/make-installer.mjs +1 -1
- package/es/pro-table/src/ProTable.vue.mjs +1 -1
- package/es/pro-table/src/variants/classic/ClassicLayout.vue.mjs +1 -1
- package/es/pro-table/src/variants/custom/CustomLayout.vue.mjs +1 -1
- package/es/pro-table/src/variants/unify/UnifyLayout.vue.mjs +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +2 -2
- package/lib/hooks/dist/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/make-installer.js +1 -1
- package/lib/pro-table/src/ProTable.vue.js +1 -1
- package/lib/pro-table/src/variants/classic/ClassicLayout.vue.js +1 -1
- package/lib/pro-table/src/variants/custom/CustomLayout.vue.js +1 -1
- package/lib/pro-table/src/variants/unify/UnifyLayout.vue.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -2
- package/package.json +4 -4
package/dist/index.full.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var un = Object.defineProperty, dn = Object.defineProperties;
|
|
|
2
2
|
var pn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Vt = Object.getOwnPropertySymbols;
|
|
4
4
|
var fn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Mt = (n, o, s) => o in n ? un(n, o, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[o] = s,
|
|
5
|
+
var Mt = (n, o, s) => o in n ? un(n, o, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[o] = s, N = (n, o) => {
|
|
6
6
|
for (var s in o || (o = {}))
|
|
7
7
|
fn.call(o, s) && Mt(n, s, o[s]);
|
|
8
8
|
if (Vt)
|
|
@@ -10,38 +10,38 @@ var Mt = (n, o, s) => o in n ? un(n, o, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
mn.call(o, s) && Mt(n, s, o[s]);
|
|
11
11
|
return n;
|
|
12
12
|
}, ce = (n, o) => dn(n, pn(o));
|
|
13
|
-
var
|
|
13
|
+
var We = (n, o, s) => new Promise((c, i) => {
|
|
14
14
|
var l = (a) => {
|
|
15
15
|
try {
|
|
16
16
|
e(s.next(a));
|
|
17
|
-
} catch (
|
|
18
|
-
i(
|
|
17
|
+
} catch (k) {
|
|
18
|
+
i(k);
|
|
19
19
|
}
|
|
20
20
|
}, t = (a) => {
|
|
21
21
|
try {
|
|
22
22
|
e(s.throw(a));
|
|
23
|
-
} catch (
|
|
24
|
-
i(
|
|
23
|
+
} catch (k) {
|
|
24
|
+
i(k);
|
|
25
25
|
}
|
|
26
26
|
}, e = (a) => a.done ? c(a.value) : Promise.resolve(a.value).then(l, t);
|
|
27
27
|
e((s = s.apply(n, o)).next());
|
|
28
28
|
});
|
|
29
|
-
import { withInstall as
|
|
29
|
+
import { withInstall as w, SY_UI_CONFIG_KEY as He, getMasterConfig as qt, detectMicroAppName as Ut } from "@sunyard-szyy-ui/utils";
|
|
30
30
|
import { SY_UI_CONFIG_KEY as hr } from "@sunyard-szyy-ui/utils";
|
|
31
|
-
import { defineComponent as v, useAttrs as _, useSlots as
|
|
31
|
+
import { defineComponent as v, useAttrs as _, useSlots as x, ref as D, h as y, mergeProps as C, unref as r, inject as Ae, computed as O, withCtx as S, onMounted as Fe, onUnmounted as Xe, openBlock as P, createBlock as Q, withModifiers as Kt, createElementVNode as te, normalizeStyle as _e, createElementBlock as Z, Fragment as de, renderList as Ve, createCommentVNode as F, renderSlot as z, createVNode as I, createSlots as Ye, toDisplayString as ke, createTextVNode as fe, resolveDynamicComponent as It, reactive as Je, watch as Ie, provide as Ft, toRef as hn, resolveComponent as vn, normalizeProps as we, guardReactiveProps as ot, nextTick as Be, withDirectives as et, withKeys as jt, normalizeClass as yn, onBeforeUnmount as dt, Transition as pt, vShow as ft } from "vue";
|
|
32
32
|
import { useNamespace as R } from "@sunyard-szyy-ui/hooks";
|
|
33
|
-
import { AdapterAutocomplete as Wt, AdapterAlert as bn, AdapterBacktop as gn, AdapterButton as Sn, AdapterCard as Cn, AdapterCascader as
|
|
34
|
-
import { InfoFilled as To, ArrowDown as
|
|
33
|
+
import { AdapterAutocomplete as Wt, AdapterAlert as bn, AdapterBacktop as gn, AdapterButton as Sn, AdapterCard as Cn, AdapterCascader as kn, AdapterCheckbox as An, AdapterCheckboxGroup as wn, AdapterCheckboxButton as xn, AdapterColorPicker as Gt, AdapterCollapse as _n, AdapterCollapseItem as Rn, AdapterAside as Pn, AdapterContainer as Tn, AdapterFooter as $n, AdapterHeader as Bn, AdapterMain as Ln, AdapterConfigProvider as Vn, AdapterDatePicker as Qt, AdapterDescriptions as Mn, AdapterDescriptionsItem as In, AdapterDialog as Fn, AdapterDivider as Dn, AdapterDrawer as zn, AdapterDropdown as On, AdapterDropdownItem as Nn, AdapterDropdownMenu as Hn, AdapterEmpty as En, AdapterForm as qn, AdapterFormItem as Un, AdapterIcon as Kn, AdapterImage as jn, AdapterInput as Wn, AdapterInputNumber as Gn, AdapterCol as Qn, AdapterRow as Yn, AdapterLink as Jn, AdapterLoading as it, AdapterLoadingDirective as Yt, AdapterMenu as Zn, AdapterMenuItem as Xn, AdapterMenuItemGroup as eo, AdapterSubMenu as to, AdapterMessage as Pe, AdapterMessageBox as Me, AdapterNotification as Le, AdapterPagination as no, AdapterPopconfirm as oo, AdapterPopover as so, AdapterProgress as ao, AdapterRadio as lo, AdapterRadioGroup as ro, AdapterRadioButton as co, AdapterScrollbar as io, AdapterOption as uo, AdapterSelect as po, AdapterSelectV2 as Jt, AdapterSkeleton as fo, AdapterSkeletonItem as mo, AdapterSlider as Zt, AdapterSpace as ho, AdapterStep as vo, AdapterSteps as yo, AdapterSwitch as bo, AdapterTable as go, AdapterTableColumn as Dt, AdapterTabPane as So, AdapterTabs as Co, AdapterTag as ko, AdapterText as Ao, AdapterTimePicker as wo, AdapterTimeSelect as xo, AdapterTooltip as _o, AdapterTree as Ro, AdapterTreeSelect as Xt, AdapterUpload as Po } from "@sunyard-szyy-ui/adapter";
|
|
34
|
+
import { InfoFilled as To, ArrowDown as zt, ArrowUp as Ot, DCaret as $o, Refresh as en, Operation as tn, Search as nn, Close as on, Filter as Bo } from "@element-plus/icons-vue";
|
|
35
35
|
import Lo from "sortablejs";
|
|
36
36
|
/*!
|
|
37
|
-
* sunyard-szyy-ui v0.7.
|
|
37
|
+
* sunyard-szyy-ui v0.7.13
|
|
38
38
|
* (c) 2026 Sunyard SZYY Base Team
|
|
39
39
|
*/
|
|
40
40
|
const Vo = v({
|
|
41
41
|
name: "SyAutocomplete",
|
|
42
42
|
inheritAttrs: !1,
|
|
43
43
|
setup(n, { expose: o }) {
|
|
44
|
-
const s = R("autocomplete"), c = _(), i =
|
|
44
|
+
const s = R("autocomplete"), c = _(), i = x(), l = D();
|
|
45
45
|
return o({
|
|
46
46
|
focus: () => {
|
|
47
47
|
var t, e;
|
|
@@ -67,27 +67,27 @@ const Vo = v({
|
|
|
67
67
|
var e, a;
|
|
68
68
|
return (a = (e = l.value) == null ? void 0 : e.handleSelect) == null ? void 0 : a.call(e, t);
|
|
69
69
|
}
|
|
70
|
-
}), () => y(Wt,
|
|
70
|
+
}), () => y(Wt, C({ ref: l, class: s.b() }, c), i);
|
|
71
71
|
}
|
|
72
|
-
}), bl =
|
|
72
|
+
}), bl = w(Vo), Mo = v({
|
|
73
73
|
name: "SyAlert",
|
|
74
74
|
inheritAttrs: !1,
|
|
75
75
|
setup() {
|
|
76
|
-
const n = R("alert"), o = _(), s =
|
|
77
|
-
return () => y(bn,
|
|
76
|
+
const n = R("alert"), o = _(), s = x();
|
|
77
|
+
return () => y(bn, C({ class: n.b() }, o), s);
|
|
78
78
|
}
|
|
79
|
-
}), gl =
|
|
79
|
+
}), gl = w(Mo), Io = v({
|
|
80
80
|
name: "SyBacktop",
|
|
81
81
|
inheritAttrs: !1,
|
|
82
82
|
setup() {
|
|
83
|
-
const n = R("backtop"), o = _(), s =
|
|
84
|
-
return () => y(gn,
|
|
83
|
+
const n = R("backtop"), o = _(), s = x();
|
|
84
|
+
return () => y(gn, C({ class: n.b() }, o), s);
|
|
85
85
|
}
|
|
86
|
-
}), Sl =
|
|
86
|
+
}), Sl = w(Io), Fo = v({
|
|
87
87
|
name: "SyButton",
|
|
88
88
|
inheritAttrs: !1,
|
|
89
89
|
setup(n, { expose: o }) {
|
|
90
|
-
const s = R("button"), c = _(), i =
|
|
90
|
+
const s = R("button"), c = _(), i = x(), l = D();
|
|
91
91
|
return o({
|
|
92
92
|
focus: () => {
|
|
93
93
|
var t, e;
|
|
@@ -97,48 +97,48 @@ const Vo = v({
|
|
|
97
97
|
var t, e;
|
|
98
98
|
return (e = (t = l.value) == null ? void 0 : t.blur) == null ? void 0 : e.call(t);
|
|
99
99
|
}
|
|
100
|
-
}), () => y(Sn,
|
|
100
|
+
}), () => y(Sn, C({ ref: l, class: s.b() }, c), i);
|
|
101
101
|
}
|
|
102
|
-
}), le =
|
|
102
|
+
}), le = w(Fo), Do = v({
|
|
103
103
|
name: "SyCard",
|
|
104
104
|
inheritAttrs: !1,
|
|
105
105
|
setup() {
|
|
106
|
-
const n = R("card"), o = _(), s =
|
|
107
|
-
return () => y(Cn,
|
|
106
|
+
const n = R("card"), o = _(), s = x();
|
|
107
|
+
return () => y(Cn, C({ class: n.b() }, o), s);
|
|
108
108
|
}
|
|
109
|
-
}), Cl =
|
|
109
|
+
}), Cl = w(Do), zo = v({
|
|
110
110
|
name: "SyCascader",
|
|
111
111
|
inheritAttrs: !1,
|
|
112
112
|
setup() {
|
|
113
|
-
const n = R("cascader"), o = _(), s =
|
|
114
|
-
return () => y(
|
|
113
|
+
const n = R("cascader"), o = _(), s = x();
|
|
114
|
+
return () => y(kn, C({ class: n.b() }, o), s);
|
|
115
115
|
}
|
|
116
|
-
}),
|
|
116
|
+
}), Oo = w(zo), No = v({
|
|
117
117
|
name: "SyCheckbox",
|
|
118
118
|
inheritAttrs: !1,
|
|
119
119
|
setup() {
|
|
120
|
-
const n = R("checkbox"), o = _(), s =
|
|
121
|
-
return () => y(
|
|
120
|
+
const n = R("checkbox"), o = _(), s = x();
|
|
121
|
+
return () => y(An, C({ class: n.b() }, o), s);
|
|
122
122
|
}
|
|
123
|
-
}),
|
|
123
|
+
}), Ho = v({
|
|
124
124
|
name: "SyCheckboxGroup",
|
|
125
125
|
inheritAttrs: !1,
|
|
126
126
|
setup() {
|
|
127
|
-
const n = R("checkbox-group"), o = _(), s =
|
|
128
|
-
return () => y(wn,
|
|
127
|
+
const n = R("checkbox-group"), o = _(), s = x();
|
|
128
|
+
return () => y(wn, C({ class: n.b() }, o), s);
|
|
129
129
|
}
|
|
130
|
-
}), Eo =
|
|
130
|
+
}), Eo = w(No), qo = w(Ho), Uo = v({
|
|
131
131
|
name: "SyCheckboxButton",
|
|
132
132
|
inheritAttrs: !1,
|
|
133
133
|
setup() {
|
|
134
|
-
const n = R("checkbox-button"), o = _(), s =
|
|
135
|
-
return () => y(
|
|
134
|
+
const n = R("checkbox-button"), o = _(), s = x();
|
|
135
|
+
return () => y(xn, C({ class: n.b() }, o), s);
|
|
136
136
|
}
|
|
137
|
-
}),
|
|
137
|
+
}), kl = w(Uo), Ko = v({
|
|
138
138
|
name: "SyColorPicker",
|
|
139
139
|
inheritAttrs: !1,
|
|
140
140
|
setup(n, { expose: o }) {
|
|
141
|
-
const s = R("color-picker"), c = _(), i =
|
|
141
|
+
const s = R("color-picker"), c = _(), i = x(), l = D();
|
|
142
142
|
return o({
|
|
143
143
|
show: () => {
|
|
144
144
|
var t, e;
|
|
@@ -156,23 +156,23 @@ const Vo = v({
|
|
|
156
156
|
var t, e;
|
|
157
157
|
return (e = (t = l.value) == null ? void 0 : t.blur) == null ? void 0 : e.call(t);
|
|
158
158
|
}
|
|
159
|
-
}), () => y(Gt,
|
|
159
|
+
}), () => y(Gt, C({ ref: l, class: s.b() }, c), i);
|
|
160
160
|
}
|
|
161
|
-
}),
|
|
161
|
+
}), Al = w(Ko), jo = v({
|
|
162
162
|
name: "SyCollapse",
|
|
163
163
|
inheritAttrs: !1,
|
|
164
164
|
setup() {
|
|
165
|
-
const n = R("collapse"), o = _(), s =
|
|
166
|
-
return () => y(_n,
|
|
165
|
+
const n = R("collapse"), o = _(), s = x();
|
|
166
|
+
return () => y(_n, C({ class: n.b() }, o), s);
|
|
167
167
|
}
|
|
168
168
|
}), Wo = v({
|
|
169
169
|
name: "SyCollapseItem",
|
|
170
170
|
inheritAttrs: !1,
|
|
171
171
|
setup() {
|
|
172
|
-
const n = R("collapse-item"), o = _(), s =
|
|
173
|
-
return () => y(Rn,
|
|
172
|
+
const n = R("collapse-item"), o = _(), s = x();
|
|
173
|
+
return () => y(Rn, C({ class: n.b() }, o), s);
|
|
174
174
|
}
|
|
175
|
-
}), wl =
|
|
175
|
+
}), wl = w(jo), xl = w(Wo), Go = /* @__PURE__ */ new Set(["SyHeader", "SyFooter", "ElHeader", "ElFooter"]);
|
|
176
176
|
function Qo(n) {
|
|
177
177
|
return n.some((o) => {
|
|
178
178
|
var c;
|
|
@@ -184,56 +184,56 @@ const Yo = v({
|
|
|
184
184
|
name: "SyContainer",
|
|
185
185
|
inheritAttrs: !1,
|
|
186
186
|
setup() {
|
|
187
|
-
const n = R("container"), o = _(), s =
|
|
187
|
+
const n = R("container"), o = _(), s = x();
|
|
188
188
|
return () => {
|
|
189
189
|
const c = { class: n.b() };
|
|
190
190
|
if (!("direction" in o) && s.default) {
|
|
191
191
|
const i = s.default();
|
|
192
192
|
Qo(i) && (c.direction = "vertical");
|
|
193
193
|
}
|
|
194
|
-
return y(Tn,
|
|
194
|
+
return y(Tn, C(c, o), s);
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
197
|
}), Jo = v({
|
|
198
198
|
name: "SyHeader",
|
|
199
199
|
inheritAttrs: !1,
|
|
200
200
|
setup() {
|
|
201
|
-
const n = R("header"), o = _(), s =
|
|
202
|
-
return () => y(Bn,
|
|
201
|
+
const n = R("header"), o = _(), s = x();
|
|
202
|
+
return () => y(Bn, C({ class: n.b() }, o), s);
|
|
203
203
|
}
|
|
204
204
|
}), Zo = v({
|
|
205
205
|
name: "SyAside",
|
|
206
206
|
inheritAttrs: !1,
|
|
207
207
|
setup() {
|
|
208
|
-
const n = R("aside"), o = _(), s =
|
|
209
|
-
return () => y(Pn,
|
|
208
|
+
const n = R("aside"), o = _(), s = x();
|
|
209
|
+
return () => y(Pn, C({ class: n.b() }, o), s);
|
|
210
210
|
}
|
|
211
211
|
}), Xo = v({
|
|
212
212
|
name: "SyMain",
|
|
213
213
|
inheritAttrs: !1,
|
|
214
214
|
setup() {
|
|
215
|
-
const n = R("main"), o = _(), s =
|
|
216
|
-
return () => y(Ln,
|
|
215
|
+
const n = R("main"), o = _(), s = x();
|
|
216
|
+
return () => y(Ln, C({ class: n.b() }, o), s);
|
|
217
217
|
}
|
|
218
218
|
}), es = v({
|
|
219
219
|
name: "SyFooter",
|
|
220
220
|
inheritAttrs: !1,
|
|
221
221
|
setup() {
|
|
222
|
-
const n = R("footer"), o = _(), s =
|
|
223
|
-
return () => y($n,
|
|
222
|
+
const n = R("footer"), o = _(), s = x();
|
|
223
|
+
return () => y($n, C({ class: n.b() }, o), s);
|
|
224
224
|
}
|
|
225
|
-
}), _l =
|
|
225
|
+
}), _l = w(Yo), Rl = w(Jo), Pl = w(Zo), Tl = w(Xo), $l = w(es), ts = v({
|
|
226
226
|
name: "SyConfigProvider",
|
|
227
227
|
inheritAttrs: !1,
|
|
228
228
|
setup(n, { expose: o }) {
|
|
229
|
-
const s = _(), c =
|
|
230
|
-
return o({}), () => y(Vn,
|
|
229
|
+
const s = _(), c = x(), i = D();
|
|
230
|
+
return o({}), () => y(Vn, C({ ref: i }, s), c);
|
|
231
231
|
}
|
|
232
|
-
}), Bl =
|
|
232
|
+
}), Bl = w(ts), ns = v({
|
|
233
233
|
name: "SyDatePicker",
|
|
234
234
|
inheritAttrs: !1,
|
|
235
235
|
setup(n, { expose: o }) {
|
|
236
|
-
const s = R("date-picker"), c = _(), i =
|
|
236
|
+
const s = R("date-picker"), c = _(), i = x(), l = D();
|
|
237
237
|
return o({
|
|
238
238
|
focus: () => {
|
|
239
239
|
var t, e;
|
|
@@ -251,13 +251,13 @@ const Yo = v({
|
|
|
251
251
|
var t, e;
|
|
252
252
|
return (e = (t = l.value) == null ? void 0 : t.handleClose) == null ? void 0 : e.call(t);
|
|
253
253
|
}
|
|
254
|
-
}), () => y(Qt,
|
|
254
|
+
}), () => y(Qt, C({ ref: l, class: s.b() }, c), i);
|
|
255
255
|
}
|
|
256
|
-
}), os =
|
|
256
|
+
}), os = w(ns), ss = v({
|
|
257
257
|
name: "SyDateTimePicker",
|
|
258
258
|
inheritAttrs: !1,
|
|
259
259
|
setup(n, { expose: o }) {
|
|
260
|
-
const s = R("date-time-picker"), c = _(), i =
|
|
260
|
+
const s = R("date-time-picker"), c = _(), i = x(), l = D();
|
|
261
261
|
return o({
|
|
262
262
|
focus: () => {
|
|
263
263
|
var t, e;
|
|
@@ -275,76 +275,76 @@ const Yo = v({
|
|
|
275
275
|
var t, e;
|
|
276
276
|
return (e = (t = l.value) == null ? void 0 : t.handleClose) == null ? void 0 : e.call(t);
|
|
277
277
|
}
|
|
278
|
-
}), () => y(Qt,
|
|
278
|
+
}), () => y(Qt, C({ ref: l, class: s.b(), type: "datetime" }, c), i);
|
|
279
279
|
}
|
|
280
|
-
}), Ll =
|
|
280
|
+
}), Ll = w(ss), as = v({
|
|
281
281
|
name: "SyDescriptions",
|
|
282
282
|
inheritAttrs: !1,
|
|
283
283
|
setup() {
|
|
284
|
-
const n = R("descriptions"), o = _(), s =
|
|
285
|
-
return () => y(Mn,
|
|
284
|
+
const n = R("descriptions"), o = _(), s = x();
|
|
285
|
+
return () => y(Mn, C({ class: n.b() }, o), s);
|
|
286
286
|
}
|
|
287
287
|
}), ls = v({
|
|
288
288
|
name: "ElDescriptionsItem",
|
|
289
289
|
inheritAttrs: !1,
|
|
290
290
|
setup() {
|
|
291
|
-
const n = R("descriptions-item"), o = _(), s =
|
|
292
|
-
return () => y(In,
|
|
291
|
+
const n = R("descriptions-item"), o = _(), s = x();
|
|
292
|
+
return () => y(In, C({ class: n.b() }, o), s);
|
|
293
293
|
}
|
|
294
|
-
}), Vl =
|
|
294
|
+
}), Vl = w(as), Ml = w(ls, "SyDescriptionsItem"), rs = v({
|
|
295
295
|
name: "SyDialog",
|
|
296
296
|
inheritAttrs: !1,
|
|
297
297
|
setup() {
|
|
298
|
-
const n = R("dialog"), o = _(), s =
|
|
299
|
-
return () => y(Fn,
|
|
298
|
+
const n = R("dialog"), o = _(), s = x();
|
|
299
|
+
return () => y(Fn, C({ class: n.b() }, o), s);
|
|
300
300
|
}
|
|
301
|
-
}), Il =
|
|
301
|
+
}), Il = w(rs), cs = v({
|
|
302
302
|
name: "SyDivider",
|
|
303
303
|
inheritAttrs: !1,
|
|
304
304
|
setup() {
|
|
305
|
-
const n = R("divider"), o = _(), s =
|
|
306
|
-
return () => y(Dn,
|
|
305
|
+
const n = R("divider"), o = _(), s = x();
|
|
306
|
+
return () => y(Dn, C({ class: n.b() }, o), s);
|
|
307
307
|
}
|
|
308
|
-
}), Fl =
|
|
308
|
+
}), Fl = w(cs), is = v({
|
|
309
309
|
name: "SyDrawer",
|
|
310
310
|
inheritAttrs: !1,
|
|
311
311
|
setup() {
|
|
312
|
-
const n = R("drawer"), o = _(), s =
|
|
313
|
-
return () => y(
|
|
312
|
+
const n = R("drawer"), o = _(), s = x();
|
|
313
|
+
return () => y(zn, C({ class: n.b() }, o), s);
|
|
314
314
|
}
|
|
315
|
-
}), us =
|
|
315
|
+
}), us = w(is), ds = v({
|
|
316
316
|
name: "SyDropdown",
|
|
317
317
|
inheritAttrs: !1,
|
|
318
318
|
setup() {
|
|
319
|
-
const n = R("dropdown"), o = _(), s =
|
|
320
|
-
return () => y(
|
|
319
|
+
const n = R("dropdown"), o = _(), s = x();
|
|
320
|
+
return () => y(On, C({ class: n.b() }, o), s);
|
|
321
321
|
}
|
|
322
322
|
}), ps = v({
|
|
323
323
|
name: "SyDropdownMenu",
|
|
324
324
|
inheritAttrs: !1,
|
|
325
325
|
setup() {
|
|
326
|
-
const n = R("dropdown-menu"), o = _(), s =
|
|
327
|
-
return () => y(
|
|
326
|
+
const n = R("dropdown-menu"), o = _(), s = x();
|
|
327
|
+
return () => y(Hn, C({ class: n.b() }, o), s);
|
|
328
328
|
}
|
|
329
329
|
}), fs = v({
|
|
330
330
|
name: "SyDropdownItem",
|
|
331
331
|
inheritAttrs: !1,
|
|
332
332
|
setup() {
|
|
333
|
-
const n = R("dropdown-item"), o = _(), s =
|
|
334
|
-
return () => y(
|
|
333
|
+
const n = R("dropdown-item"), o = _(), s = x();
|
|
334
|
+
return () => y(Nn, C({ class: n.b() }, o), s);
|
|
335
335
|
}
|
|
336
|
-
}), Dl =
|
|
336
|
+
}), Dl = w(ds), zl = w(ps), Ol = w(fs), ms = v({
|
|
337
337
|
name: "SyEmpty",
|
|
338
338
|
inheritAttrs: !1,
|
|
339
339
|
setup() {
|
|
340
|
-
const n = R("empty"), o = _(), s =
|
|
341
|
-
return () => y(En,
|
|
340
|
+
const n = R("empty"), o = _(), s = x();
|
|
341
|
+
return () => y(En, C({ class: n.b() }, o), s);
|
|
342
342
|
}
|
|
343
|
-
}), hs =
|
|
343
|
+
}), hs = w(ms), vs = v({
|
|
344
344
|
name: "SyForm",
|
|
345
345
|
inheritAttrs: !1,
|
|
346
346
|
setup(n, { expose: o }) {
|
|
347
|
-
const s = R("form"), c = _(), i =
|
|
347
|
+
const s = R("form"), c = _(), i = x(), l = D();
|
|
348
348
|
return o({
|
|
349
349
|
validate: (...t) => {
|
|
350
350
|
var e, a;
|
|
@@ -366,13 +366,13 @@ const Yo = v({
|
|
|
366
366
|
var e, a;
|
|
367
367
|
return (a = (e = l.value) == null ? void 0 : e.clearValidate) == null ? void 0 : a.call(e, ...t);
|
|
368
368
|
}
|
|
369
|
-
}), () => y(qn,
|
|
369
|
+
}), () => y(qn, C({ ref: l, class: s.b() }, c), i);
|
|
370
370
|
}
|
|
371
371
|
}), ys = v({
|
|
372
372
|
name: "SyFormItem",
|
|
373
373
|
inheritAttrs: !1,
|
|
374
374
|
setup(n, { expose: o }) {
|
|
375
|
-
const s = R("form-item"), c = _(), i =
|
|
375
|
+
const s = R("form-item"), c = _(), i = x(), l = D();
|
|
376
376
|
return o({
|
|
377
377
|
resetField: () => {
|
|
378
378
|
var t, e;
|
|
@@ -382,32 +382,32 @@ const Yo = v({
|
|
|
382
382
|
var t, e;
|
|
383
383
|
return (e = (t = l.value) == null ? void 0 : t.clearValidate) == null ? void 0 : e.call(t);
|
|
384
384
|
}
|
|
385
|
-
}), () => y(Un,
|
|
385
|
+
}), () => y(Un, C({ ref: l, class: s.b() }, c), i);
|
|
386
386
|
}
|
|
387
|
-
}), bs =
|
|
387
|
+
}), bs = w(vs), gs = w(ys), Ss = v({
|
|
388
388
|
name: "SyIcon",
|
|
389
389
|
inheritAttrs: !1,
|
|
390
390
|
setup() {
|
|
391
|
-
const n = _(), o =
|
|
392
|
-
return () => y(Kn,
|
|
391
|
+
const n = _(), o = x();
|
|
392
|
+
return () => y(Kn, C(n), o);
|
|
393
393
|
}
|
|
394
|
-
}), Ne =
|
|
394
|
+
}), Ne = w(Ss), Cs = v({
|
|
395
395
|
name: "SyImage",
|
|
396
396
|
inheritAttrs: !1,
|
|
397
397
|
setup(n, { expose: o }) {
|
|
398
|
-
const s = R("image"), c = _(), i =
|
|
398
|
+
const s = R("image"), c = _(), i = x(), l = D();
|
|
399
399
|
return o({
|
|
400
400
|
showPreview: () => {
|
|
401
401
|
var t, e;
|
|
402
402
|
return (e = (t = l.value) == null ? void 0 : t.showPreview) == null ? void 0 : e.call(t);
|
|
403
403
|
}
|
|
404
|
-
}), () => y(jn,
|
|
404
|
+
}), () => y(jn, C({ ref: l, class: s.b() }, c), i);
|
|
405
405
|
}
|
|
406
|
-
}),
|
|
406
|
+
}), Nl = w(Cs), ks = v({
|
|
407
407
|
name: "SyInput",
|
|
408
408
|
inheritAttrs: !1,
|
|
409
409
|
setup(n, { expose: o }) {
|
|
410
|
-
const s = R("input"), c = _(), i =
|
|
410
|
+
const s = R("input"), c = _(), i = x(), l = D();
|
|
411
411
|
return o({
|
|
412
412
|
focus: () => {
|
|
413
413
|
var t, e;
|
|
@@ -429,13 +429,13 @@ const Yo = v({
|
|
|
429
429
|
var t, e;
|
|
430
430
|
return (e = (t = l.value) == null ? void 0 : t.resizeTextarea) == null ? void 0 : e.call(t);
|
|
431
431
|
}
|
|
432
|
-
}), () => y(Wn,
|
|
432
|
+
}), () => y(Wn, C({ ref: l, class: s.b() }, c), i);
|
|
433
433
|
}
|
|
434
|
-
}), sn =
|
|
434
|
+
}), sn = w(ks), As = v({
|
|
435
435
|
name: "SyInputNumber",
|
|
436
436
|
inheritAttrs: !1,
|
|
437
437
|
setup(n, { expose: o }) {
|
|
438
|
-
const s = R("input-number"), c = _(), i =
|
|
438
|
+
const s = R("input-number"), c = _(), i = x(), l = D();
|
|
439
439
|
return o({
|
|
440
440
|
focus: () => {
|
|
441
441
|
var t, e;
|
|
@@ -445,59 +445,59 @@ const Yo = v({
|
|
|
445
445
|
var t, e;
|
|
446
446
|
return (e = (t = l.value) == null ? void 0 : t.blur) == null ? void 0 : e.call(t);
|
|
447
447
|
}
|
|
448
|
-
}), () => y(Gn,
|
|
448
|
+
}), () => y(Gn, C({ ref: l, class: s.b() }, c), i);
|
|
449
449
|
}
|
|
450
|
-
}), ws =
|
|
450
|
+
}), ws = w(As), xs = v({
|
|
451
451
|
name: "SyRow",
|
|
452
452
|
inheritAttrs: !1,
|
|
453
453
|
setup() {
|
|
454
|
-
const n = R("row"), o = _(), s =
|
|
455
|
-
return () => y(Yn,
|
|
454
|
+
const n = R("row"), o = _(), s = x();
|
|
455
|
+
return () => y(Yn, C({ class: n.b() }, o), s);
|
|
456
456
|
}
|
|
457
457
|
}), _s = v({
|
|
458
458
|
name: "SyCol",
|
|
459
459
|
inheritAttrs: !1,
|
|
460
460
|
setup() {
|
|
461
|
-
const n = R("col"), o = _(), s =
|
|
462
|
-
return () => y(Qn,
|
|
461
|
+
const n = R("col"), o = _(), s = x();
|
|
462
|
+
return () => y(Qn, C({ class: n.b() }, o), s);
|
|
463
463
|
}
|
|
464
|
-
}),
|
|
464
|
+
}), Hl = w(xs), El = w(_s), Rs = v({
|
|
465
465
|
name: "SyLink",
|
|
466
466
|
inheritAttrs: !1,
|
|
467
467
|
setup() {
|
|
468
|
-
const n = R("link"), o = _(), s =
|
|
469
|
-
return () => y(Jn,
|
|
468
|
+
const n = R("link"), o = _(), s = x();
|
|
469
|
+
return () => y(Jn, C({ class: n.b() }, o), s);
|
|
470
470
|
}
|
|
471
|
-
}), ql =
|
|
471
|
+
}), ql = w(Rs), Re = "sy-loading", st = "element-loading-custom-class";
|
|
472
472
|
function Ps(n) {
|
|
473
473
|
return n !== null && typeof n == "object" && !Array.isArray(n);
|
|
474
474
|
}
|
|
475
475
|
function Ts(n) {
|
|
476
476
|
if (n == null || n === "")
|
|
477
|
-
return
|
|
477
|
+
return Re;
|
|
478
478
|
const o = String(r(n));
|
|
479
|
-
return o.includes(
|
|
479
|
+
return o.includes(Re) ? o : `${Re} ${o}`;
|
|
480
480
|
}
|
|
481
481
|
function $s(n) {
|
|
482
482
|
if (n === void 0)
|
|
483
|
-
return { customClass:
|
|
484
|
-
const o =
|
|
485
|
-
return s === void 0 ? o.customClass =
|
|
483
|
+
return { customClass: Re };
|
|
484
|
+
const o = N({}, n), s = o.customClass;
|
|
485
|
+
return s === void 0 ? o.customClass = Re : typeof s == "string" && (o.customClass = `${Re} ${s}`), o;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Nt(n, o) {
|
|
488
488
|
if (!o.value)
|
|
489
489
|
return o;
|
|
490
490
|
if (Ps(o.value))
|
|
491
|
-
return ce(
|
|
492
|
-
value: ce(
|
|
491
|
+
return ce(N({}, o), {
|
|
492
|
+
value: ce(N({}, o.value), {
|
|
493
493
|
customClass: Ts(o.value.customClass)
|
|
494
494
|
})
|
|
495
495
|
});
|
|
496
496
|
const s = n.getAttribute(st);
|
|
497
|
-
return s ? s.includes(
|
|
497
|
+
return s ? s.includes(Re) || n.setAttribute(st, `${Re} ${s}`) : n.setAttribute(st, Re), o;
|
|
498
498
|
}
|
|
499
|
-
const ge = Yt,
|
|
500
|
-
Object.defineProperty(
|
|
499
|
+
const ge = Yt, Ze = (n, o) => it.service($s(n), o);
|
|
500
|
+
Object.defineProperty(Ze, "_context", {
|
|
501
501
|
get() {
|
|
502
502
|
return it.service._context;
|
|
503
503
|
},
|
|
@@ -508,11 +508,11 @@ Object.defineProperty(Xe, "_context", {
|
|
|
508
508
|
const at = {
|
|
509
509
|
mounted(n, o, s, c) {
|
|
510
510
|
var i;
|
|
511
|
-
(i = ge.mounted) == null || i.call(ge, n,
|
|
511
|
+
(i = ge.mounted) == null || i.call(ge, n, Nt(n, o), s, c);
|
|
512
512
|
},
|
|
513
513
|
updated(n, o, s, c) {
|
|
514
514
|
var i;
|
|
515
|
-
(i = ge.updated) == null || i.call(ge, n,
|
|
515
|
+
(i = ge.updated) == null || i.call(ge, n, Nt(n, o), s, c);
|
|
516
516
|
},
|
|
517
517
|
unmounted(n, o, s, c) {
|
|
518
518
|
var i;
|
|
@@ -526,132 +526,132 @@ const at = {
|
|
|
526
526
|
}
|
|
527
527
|
}, Ul = {
|
|
528
528
|
install(n) {
|
|
529
|
-
|
|
529
|
+
Ze._context = n._context, at._context = n._context, n.directive("loading", at), n.config.globalProperties.$loading = Ze;
|
|
530
530
|
},
|
|
531
531
|
directive: at,
|
|
532
|
-
service:
|
|
532
|
+
service: Ze
|
|
533
533
|
}, Bs = v({
|
|
534
534
|
name: "SyMenu",
|
|
535
535
|
inheritAttrs: !1,
|
|
536
536
|
setup() {
|
|
537
|
-
const n = R("menu"), o = _(), s =
|
|
538
|
-
return () => y(Zn,
|
|
537
|
+
const n = R("menu"), o = _(), s = x();
|
|
538
|
+
return () => y(Zn, C({ class: n.b() }, o), s);
|
|
539
539
|
}
|
|
540
540
|
}), Ls = v({
|
|
541
541
|
name: "SySubMenu",
|
|
542
542
|
inheritAttrs: !1,
|
|
543
543
|
setup() {
|
|
544
|
-
const n = R("sub-menu"), o = _(), s =
|
|
545
|
-
return () => y(to,
|
|
544
|
+
const n = R("sub-menu"), o = _(), s = x();
|
|
545
|
+
return () => y(to, C({ class: n.b() }, o), s);
|
|
546
546
|
}
|
|
547
547
|
}), Vs = v({
|
|
548
548
|
name: "SyMenuItem",
|
|
549
549
|
inheritAttrs: !1,
|
|
550
550
|
setup() {
|
|
551
|
-
const n = R("menu-item"), o = _(), s =
|
|
552
|
-
return () => y(Xn,
|
|
551
|
+
const n = R("menu-item"), o = _(), s = x();
|
|
552
|
+
return () => y(Xn, C({ class: n.b() }, o), s);
|
|
553
553
|
}
|
|
554
554
|
}), Ms = v({
|
|
555
555
|
name: "SyMenuItemGroup",
|
|
556
556
|
inheritAttrs: !1,
|
|
557
557
|
setup() {
|
|
558
|
-
const n = R("menu-item-group"), o = _(), s =
|
|
559
|
-
return () => y(eo,
|
|
558
|
+
const n = R("menu-item-group"), o = _(), s = x();
|
|
559
|
+
return () => y(eo, C({ class: n.b() }, o), s);
|
|
560
560
|
}
|
|
561
|
-
}), Kl =
|
|
562
|
-
function
|
|
561
|
+
}), Kl = w(Bs), jl = w(Ls), Wl = w(Vs), Gl = w(Ms), Ge = "sy-message";
|
|
562
|
+
function Ee(n) {
|
|
563
563
|
if (n === void 0)
|
|
564
|
-
return { customClass:
|
|
564
|
+
return { customClass: Ge };
|
|
565
565
|
if (typeof n != "object" || n.__v_isVNode === !0)
|
|
566
|
-
return { message: n, customClass:
|
|
566
|
+
return { message: n, customClass: Ge };
|
|
567
567
|
const o = n;
|
|
568
|
-
return ce(
|
|
568
|
+
return ce(N({}, o), { customClass: o.customClass ? `${Ge} ${o.customClass}` : Ge });
|
|
569
569
|
}
|
|
570
|
-
const mt = (n, o) =>
|
|
571
|
-
mt.closeAll = (n) =>
|
|
572
|
-
mt.closeAllByPlacement = (n) =>
|
|
573
|
-
const
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
Object.defineProperty(
|
|
570
|
+
const mt = (n, o) => Pe(Ee(n), o);
|
|
571
|
+
mt.closeAll = (n) => Pe.closeAll(n);
|
|
572
|
+
mt.closeAllByPlacement = (n) => Pe.closeAllByPlacement(n);
|
|
573
|
+
const qe = mt;
|
|
574
|
+
qe.success = (n, o) => Pe.success(Ee(n), o);
|
|
575
|
+
qe.warning = (n, o) => Pe.warning(Ee(n), o);
|
|
576
|
+
qe.info = (n, o) => Pe.info(Ee(n), o);
|
|
577
|
+
qe.error = (n, o) => Pe.error(Ee(n), o);
|
|
578
|
+
Object.defineProperty(qe, "_context", {
|
|
579
579
|
get() {
|
|
580
|
-
return
|
|
580
|
+
return Pe._context;
|
|
581
581
|
},
|
|
582
582
|
set(n) {
|
|
583
|
-
|
|
583
|
+
Pe._context = n;
|
|
584
584
|
}
|
|
585
585
|
});
|
|
586
586
|
const lt = "sy-message-box";
|
|
587
|
-
function
|
|
588
|
-
return n ? ce(
|
|
587
|
+
function tt(n) {
|
|
588
|
+
return n ? ce(N({}, n), { customClass: n.customClass ? `${lt} ${n.customClass}` : lt }) : { customClass: lt };
|
|
589
589
|
}
|
|
590
|
-
const
|
|
591
|
-
|
|
590
|
+
const Ue = (n, o) => Me(tt(n), o);
|
|
591
|
+
Ue.alert = (...n) => {
|
|
592
592
|
const [o, s, c, i] = n;
|
|
593
|
-
return
|
|
593
|
+
return Me.alert(o, s, tt(c), i);
|
|
594
594
|
};
|
|
595
|
-
|
|
595
|
+
Ue.confirm = (...n) => {
|
|
596
596
|
const [o, s, c, i] = n;
|
|
597
|
-
return
|
|
597
|
+
return Me.confirm(o, s, tt(c), i);
|
|
598
598
|
};
|
|
599
|
-
|
|
599
|
+
Ue.prompt = (...n) => {
|
|
600
600
|
const [o, s, c, i] = n;
|
|
601
|
-
return
|
|
601
|
+
return Me.prompt(o, s, tt(c), i);
|
|
602
602
|
};
|
|
603
|
-
|
|
604
|
-
const Is =
|
|
603
|
+
Ue.close = () => Me.close();
|
|
604
|
+
const Is = Ue;
|
|
605
605
|
Object.defineProperty(Is, "_context", {
|
|
606
606
|
get() {
|
|
607
|
-
return
|
|
607
|
+
return Me._context;
|
|
608
608
|
},
|
|
609
609
|
set(n) {
|
|
610
|
-
|
|
610
|
+
Me._context = n;
|
|
611
611
|
}
|
|
612
612
|
});
|
|
613
|
-
const
|
|
614
|
-
function
|
|
613
|
+
const Qe = "sy-notification";
|
|
614
|
+
function Ke(n) {
|
|
615
615
|
if (n === void 0)
|
|
616
|
-
return { customClass:
|
|
616
|
+
return { customClass: Qe };
|
|
617
617
|
if (typeof n != "object" || n.__v_isVNode === !0)
|
|
618
|
-
return { message: n, customClass:
|
|
618
|
+
return { message: n, customClass: Qe };
|
|
619
619
|
const o = n;
|
|
620
|
-
return ce(
|
|
620
|
+
return ce(N({}, o), { customClass: o.customClass ? `${Qe} ${o.customClass}` : Qe });
|
|
621
621
|
}
|
|
622
|
-
const
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
const Fs =
|
|
622
|
+
const De = (n, o) => Le(Ke(n), o);
|
|
623
|
+
De.success = (n, o) => Le.success(Ke(n), o);
|
|
624
|
+
De.warning = (n, o) => Le.warning(Ke(n), o);
|
|
625
|
+
De.info = (n, o) => Le.info(Ke(n), o);
|
|
626
|
+
De.error = (n, o) => Le.error(Ke(n), o);
|
|
627
|
+
De.closeAll = () => Le.closeAll();
|
|
628
|
+
const Fs = De;
|
|
629
629
|
Object.defineProperty(Fs, "_context", {
|
|
630
630
|
get() {
|
|
631
|
-
return
|
|
631
|
+
return Le._context;
|
|
632
632
|
},
|
|
633
633
|
set(n) {
|
|
634
|
-
|
|
634
|
+
Le._context = n;
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
const Ds = v({
|
|
638
638
|
name: "SyPagination",
|
|
639
639
|
inheritAttrs: !1,
|
|
640
640
|
setup() {
|
|
641
|
-
const n = R("pagination"), o = _(), s =
|
|
642
|
-
return () => y(no,
|
|
641
|
+
const n = R("pagination"), o = _(), s = x();
|
|
642
|
+
return () => y(no, C({ class: n.b() }, o), s);
|
|
643
643
|
}
|
|
644
|
-
}),
|
|
644
|
+
}), zs = w(Ds), Os = v({
|
|
645
645
|
name: "SyPopconfirm",
|
|
646
646
|
inheritAttrs: !1,
|
|
647
647
|
setup() {
|
|
648
|
-
const n = R("popconfirm"), o = _(), s =
|
|
649
|
-
return () => y(oo,
|
|
648
|
+
const n = R("popconfirm"), o = _(), s = x();
|
|
649
|
+
return () => y(oo, C({ class: n.b() }, o), s);
|
|
650
650
|
}
|
|
651
|
-
}), Ql =
|
|
652
|
-
function
|
|
651
|
+
}), Ql = w(Os);
|
|
652
|
+
function Ns(n, o) {
|
|
653
653
|
var t;
|
|
654
|
-
const s =
|
|
654
|
+
const s = N({}, n), c = s.class, i = (t = s.popperClass) != null ? t : s["popper-class"];
|
|
655
655
|
delete s.class, delete s.popperClass, delete s["popper-class"];
|
|
656
656
|
const l = [o, i, c].flat(10).filter((e) => typeof e == "string" && e.length > 0);
|
|
657
657
|
return {
|
|
@@ -659,49 +659,49 @@ function Os(n, o) {
|
|
|
659
659
|
popperClass: l.length ? l : [o]
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
|
-
const
|
|
662
|
+
const Hs = v({
|
|
663
663
|
name: "SyPopover",
|
|
664
664
|
inheritAttrs: !1,
|
|
665
665
|
setup() {
|
|
666
|
-
const n = R("popover"), o = _(), s =
|
|
666
|
+
const n = R("popover"), o = _(), s = x();
|
|
667
667
|
return () => {
|
|
668
|
-
const { rest: c, popperClass: i } =
|
|
669
|
-
return y(so,
|
|
668
|
+
const { rest: c, popperClass: i } = Ns(o, n.b());
|
|
669
|
+
return y(so, C(c, { popperClass: i }), s);
|
|
670
670
|
};
|
|
671
671
|
}
|
|
672
|
-
}), Yl =
|
|
672
|
+
}), Yl = w(Hs), Es = v({
|
|
673
673
|
name: "SyProgress",
|
|
674
674
|
inheritAttrs: !1,
|
|
675
675
|
setup() {
|
|
676
|
-
const n = R("progress"), o = _(), s =
|
|
677
|
-
return () => y(ao,
|
|
676
|
+
const n = R("progress"), o = _(), s = x();
|
|
677
|
+
return () => y(ao, C({ class: n.b() }, o), s);
|
|
678
678
|
}
|
|
679
|
-
}), Jl =
|
|
679
|
+
}), Jl = w(Es), qs = v({
|
|
680
680
|
name: "SyRadio",
|
|
681
681
|
inheritAttrs: !1,
|
|
682
682
|
setup() {
|
|
683
|
-
const n = R("radio"), o = _(), s =
|
|
684
|
-
return () => y(lo,
|
|
683
|
+
const n = R("radio"), o = _(), s = x();
|
|
684
|
+
return () => y(lo, C({ class: n.b() }, o), s);
|
|
685
685
|
}
|
|
686
686
|
}), Us = v({
|
|
687
687
|
name: "SyRadioGroup",
|
|
688
688
|
inheritAttrs: !1,
|
|
689
689
|
setup() {
|
|
690
|
-
const n = R("radio-group"), o = _(), s =
|
|
691
|
-
return () => y(ro,
|
|
690
|
+
const n = R("radio-group"), o = _(), s = x();
|
|
691
|
+
return () => y(ro, C({ class: n.b() }, o), s);
|
|
692
692
|
}
|
|
693
|
-
}), an =
|
|
693
|
+
}), an = w(qs), Ks = w(Us), js = v({
|
|
694
694
|
name: "SyRadioButton",
|
|
695
695
|
inheritAttrs: !1,
|
|
696
696
|
setup() {
|
|
697
|
-
const n = R("radio-button"), o = _(), s =
|
|
698
|
-
return () => y(co,
|
|
697
|
+
const n = R("radio-button"), o = _(), s = x();
|
|
698
|
+
return () => y(co, C({ class: n.b() }, o), s);
|
|
699
699
|
}
|
|
700
|
-
}), Ws =
|
|
700
|
+
}), Ws = w(js), Gs = v({
|
|
701
701
|
name: "SyScrollbar",
|
|
702
702
|
inheritAttrs: !1,
|
|
703
703
|
setup(n, { expose: o }) {
|
|
704
|
-
const s = R("scrollbar"), c = _(), i =
|
|
704
|
+
const s = R("scrollbar"), c = _(), i = x(), l = D();
|
|
705
705
|
return o({
|
|
706
706
|
handleScroll: () => {
|
|
707
707
|
var t, e;
|
|
@@ -727,13 +727,13 @@ const Ns = v({
|
|
|
727
727
|
var t;
|
|
728
728
|
return (t = l.value) == null ? void 0 : t.wrapRef;
|
|
729
729
|
}
|
|
730
|
-
}), () => y(io,
|
|
730
|
+
}), () => y(io, C({ ref: l, class: s.b() }, c), i);
|
|
731
731
|
}
|
|
732
|
-
}), Zl =
|
|
732
|
+
}), Zl = w(Gs), Qs = v({
|
|
733
733
|
name: "SySelect",
|
|
734
734
|
inheritAttrs: !1,
|
|
735
735
|
setup(n, { expose: o }) {
|
|
736
|
-
const s = R("select"), c = _(), i =
|
|
736
|
+
const s = R("select"), c = _(), i = x(), l = D();
|
|
737
737
|
return o({
|
|
738
738
|
focus: () => {
|
|
739
739
|
var t, e;
|
|
@@ -743,20 +743,20 @@ const Ns = v({
|
|
|
743
743
|
var t, e;
|
|
744
744
|
return (e = (t = l.value) == null ? void 0 : t.blur) == null ? void 0 : e.call(t);
|
|
745
745
|
}
|
|
746
|
-
}), () => y(po,
|
|
746
|
+
}), () => y(po, C({ ref: l, class: s.b() }, c), i);
|
|
747
747
|
}
|
|
748
748
|
}), Ys = v({
|
|
749
749
|
name: "SyOption",
|
|
750
750
|
inheritAttrs: !1,
|
|
751
751
|
setup() {
|
|
752
|
-
const n = R("option"), o = _(), s =
|
|
753
|
-
return () => y(uo,
|
|
752
|
+
const n = R("option"), o = _(), s = x();
|
|
753
|
+
return () => y(uo, C({ class: n.b() }, o), s);
|
|
754
754
|
}
|
|
755
|
-
}), Js =
|
|
755
|
+
}), Js = w(Qs), Zs = w(Ys), Xs = Jt, ea = v({
|
|
756
756
|
name: "SySelectV2",
|
|
757
757
|
inheritAttrs: !1,
|
|
758
758
|
setup(n, { expose: o }) {
|
|
759
|
-
const s = R("select-v2"), c = _(), i =
|
|
759
|
+
const s = R("select-v2"), c = _(), i = x(), l = D();
|
|
760
760
|
return o({
|
|
761
761
|
focus: () => {
|
|
762
762
|
var t, e;
|
|
@@ -774,70 +774,70 @@ const Ns = v({
|
|
|
774
774
|
var t, e;
|
|
775
775
|
return (e = (t = l.value) == null ? void 0 : t.toggleMenu) == null ? void 0 : e.call(t);
|
|
776
776
|
}
|
|
777
|
-
}), () => y(Xs,
|
|
777
|
+
}), () => y(Xs, C({ ref: l, class: s.b() }, c), i);
|
|
778
778
|
}
|
|
779
|
-
}), Xl =
|
|
779
|
+
}), Xl = w(ea), ta = v({
|
|
780
780
|
name: "SySkeleton",
|
|
781
781
|
inheritAttrs: !1,
|
|
782
782
|
setup(n, { expose: o }) {
|
|
783
|
-
const s = R("skeleton"), c = _(), i =
|
|
783
|
+
const s = R("skeleton"), c = _(), i = x(), l = D();
|
|
784
784
|
return o({
|
|
785
785
|
get uiLoading() {
|
|
786
786
|
var t;
|
|
787
787
|
return (t = l.value) == null ? void 0 : t.uiLoading;
|
|
788
788
|
}
|
|
789
|
-
}), () => y(fo,
|
|
789
|
+
}), () => y(fo, C({ ref: l, class: s.b() }, c), i);
|
|
790
790
|
}
|
|
791
791
|
}), na = v({
|
|
792
792
|
name: "SySkeletonItem",
|
|
793
793
|
inheritAttrs: !1,
|
|
794
794
|
setup() {
|
|
795
|
-
const n = R("skeleton-item"), o = _(), s =
|
|
796
|
-
return () => y(mo,
|
|
795
|
+
const n = R("skeleton-item"), o = _(), s = x();
|
|
796
|
+
return () => y(mo, C({ class: n.b() }, o), s);
|
|
797
797
|
}
|
|
798
|
-
}), er =
|
|
798
|
+
}), er = w(ta), tr = w(na), oa = v({
|
|
799
799
|
name: "SySlider",
|
|
800
800
|
inheritAttrs: !1,
|
|
801
801
|
setup() {
|
|
802
|
-
const n = R("slider"), o = _(), s =
|
|
803
|
-
return () => y(Zt,
|
|
802
|
+
const n = R("slider"), o = _(), s = x(), c = D();
|
|
803
|
+
return () => y(Zt, C({ ref: c, class: n.b() }, o), s);
|
|
804
804
|
}
|
|
805
|
-
}), nr =
|
|
805
|
+
}), nr = w(oa), sa = v({
|
|
806
806
|
name: "SySpace",
|
|
807
807
|
inheritAttrs: !1,
|
|
808
808
|
setup() {
|
|
809
|
-
const n = R("space"), o = _(), s =
|
|
810
|
-
return () => y(ho,
|
|
809
|
+
const n = R("space"), o = _(), s = x();
|
|
810
|
+
return () => y(ho, C({ class: n.b() }, o), s);
|
|
811
811
|
}
|
|
812
|
-
}), or =
|
|
812
|
+
}), or = w(sa), aa = v({
|
|
813
813
|
name: "SySteps",
|
|
814
814
|
inheritAttrs: !1,
|
|
815
815
|
setup() {
|
|
816
|
-
const n = R("steps"), o = _(), s =
|
|
817
|
-
return () => y(yo,
|
|
816
|
+
const n = R("steps"), o = _(), s = x();
|
|
817
|
+
return () => y(yo, C({ class: n.b() }, o), s);
|
|
818
818
|
}
|
|
819
819
|
}), la = v({
|
|
820
820
|
name: "SyStep",
|
|
821
821
|
inheritAttrs: !1,
|
|
822
822
|
setup() {
|
|
823
|
-
const n = R("step"), o = _(), s =
|
|
824
|
-
return () => y(vo,
|
|
823
|
+
const n = R("step"), o = _(), s = x();
|
|
824
|
+
return () => y(vo, C({ class: n.b() }, o), s);
|
|
825
825
|
}
|
|
826
|
-
}), sr =
|
|
826
|
+
}), sr = w(aa), ar = w(la), ra = v({
|
|
827
827
|
name: "SySwitch",
|
|
828
828
|
inheritAttrs: !1,
|
|
829
829
|
setup(n, { expose: o }) {
|
|
830
|
-
const s = R("switch"), c = _(), i =
|
|
830
|
+
const s = R("switch"), c = _(), i = x(), l = D();
|
|
831
831
|
return o({ focus: () => {
|
|
832
832
|
var t, e;
|
|
833
833
|
return (e = (t = l.value) == null ? void 0 : t.focus) == null ? void 0 : e.call(t);
|
|
834
|
-
} }), () => y(bo,
|
|
834
|
+
} }), () => y(bo, C({ ref: l, class: s.b() }, c), i);
|
|
835
835
|
}
|
|
836
|
-
}), ut =
|
|
836
|
+
}), ut = w(ra), ca = v({
|
|
837
837
|
name: "SyTable",
|
|
838
838
|
inheritAttrs: !1,
|
|
839
839
|
setup(n, { expose: o }) {
|
|
840
|
-
const s = R("table"), c = _(), i =
|
|
840
|
+
const s = R("table"), c = _(), i = x(), l = D();
|
|
841
841
|
return o({
|
|
842
842
|
clearSelection: () => {
|
|
843
843
|
var t, e;
|
|
@@ -891,15 +891,15 @@ const Ns = v({
|
|
|
891
891
|
var e, a;
|
|
892
892
|
return (a = (e = l.value) == null ? void 0 : e.setScrollLeft) == null ? void 0 : a.call(e, ...t);
|
|
893
893
|
}
|
|
894
|
-
}), () => y(go,
|
|
894
|
+
}), () => y(go, C({ ref: l, class: s.b() }, c), i);
|
|
895
895
|
}
|
|
896
896
|
}), ia = v({
|
|
897
897
|
name: "SyTableColumn",
|
|
898
898
|
inheritAttrs: !1,
|
|
899
899
|
setup() {
|
|
900
|
-
const n = R("table-column"), o = _(), s =
|
|
900
|
+
const n = R("table-column"), o = _(), s = x();
|
|
901
901
|
return () => {
|
|
902
|
-
const c = s.default ? ce(
|
|
902
|
+
const c = s.default ? ce(N({}, s), {
|
|
903
903
|
default: (...i) => {
|
|
904
904
|
var l;
|
|
905
905
|
return ((l = s.default(...i)) != null ? l : []).map(
|
|
@@ -910,14 +910,14 @@ const Ns = v({
|
|
|
910
910
|
);
|
|
911
911
|
}
|
|
912
912
|
}) : s;
|
|
913
|
-
return y(Dt,
|
|
913
|
+
return y(Dt, C({ class: n.b() }, o), c);
|
|
914
914
|
};
|
|
915
915
|
}
|
|
916
|
-
}), ln =
|
|
916
|
+
}), ln = w(ca), xe = w(ia), ua = v({
|
|
917
917
|
name: "SyTabs",
|
|
918
918
|
inheritAttrs: !1,
|
|
919
919
|
setup(n, { expose: o }) {
|
|
920
|
-
const s = R("tabs"), c = _(), i =
|
|
920
|
+
const s = R("tabs"), c = _(), i = x(), l = D();
|
|
921
921
|
return o({
|
|
922
922
|
get currentName() {
|
|
923
923
|
var t;
|
|
@@ -927,36 +927,36 @@ const Ns = v({
|
|
|
927
927
|
var t;
|
|
928
928
|
return (t = l.value) == null ? void 0 : t.tabNavRef;
|
|
929
929
|
}
|
|
930
|
-
}), () => y(Co,
|
|
930
|
+
}), () => y(Co, C({ ref: l, class: s.b() }, c), i);
|
|
931
931
|
}
|
|
932
932
|
}), da = v({
|
|
933
933
|
name: "SyTabPane",
|
|
934
934
|
inheritAttrs: !1,
|
|
935
935
|
setup() {
|
|
936
|
-
const n = R("tab-pane"), o = _(), s =
|
|
937
|
-
return () => y(So,
|
|
936
|
+
const n = R("tab-pane"), o = _(), s = x();
|
|
937
|
+
return () => y(So, C({ class: n.b() }, o), s);
|
|
938
938
|
}
|
|
939
|
-
}), lr =
|
|
939
|
+
}), lr = w(ua), rr = w(da), pa = v({
|
|
940
940
|
name: "SyTag",
|
|
941
941
|
inheritAttrs: !1,
|
|
942
942
|
setup(n, { expose: o }) {
|
|
943
|
-
const s = R("tag"), c = _(), i =
|
|
943
|
+
const s = R("tag"), c = _(), i = x(), l = D();
|
|
944
944
|
return o({
|
|
945
945
|
ref: () => l.value
|
|
946
|
-
}), () => y(
|
|
946
|
+
}), () => y(ko, C({ ref: l, class: s.b() }, c), i);
|
|
947
947
|
}
|
|
948
|
-
}), rt =
|
|
948
|
+
}), rt = w(pa), fa = v({
|
|
949
949
|
name: "SyText",
|
|
950
950
|
inheritAttrs: !1,
|
|
951
951
|
setup() {
|
|
952
|
-
const n = R("text"), o = _(), s =
|
|
953
|
-
return () => y(
|
|
952
|
+
const n = R("text"), o = _(), s = x();
|
|
953
|
+
return () => y(Ao, C({ class: n.b() }, o), s);
|
|
954
954
|
}
|
|
955
|
-
}), cr =
|
|
955
|
+
}), cr = w(fa), ma = v({
|
|
956
956
|
name: "SyTimePicker",
|
|
957
957
|
inheritAttrs: !1,
|
|
958
958
|
setup(n, { expose: o }) {
|
|
959
|
-
const s = R("time-picker"), c = _(), i =
|
|
959
|
+
const s = R("time-picker"), c = _(), i = x(), l = D();
|
|
960
960
|
return o({
|
|
961
961
|
focus: () => {
|
|
962
962
|
var t, e;
|
|
@@ -974,13 +974,13 @@ const Ns = v({
|
|
|
974
974
|
var t, e;
|
|
975
975
|
return (e = (t = l.value) == null ? void 0 : t.handleClose) == null ? void 0 : e.call(t);
|
|
976
976
|
}
|
|
977
|
-
}), () => y(wo,
|
|
977
|
+
}), () => y(wo, C({ ref: l, class: s.b() }, c), i);
|
|
978
978
|
}
|
|
979
|
-
}), ha =
|
|
979
|
+
}), ha = w(ma), va = v({
|
|
980
980
|
name: "SyTimeSelect",
|
|
981
981
|
inheritAttrs: !1,
|
|
982
982
|
setup(n, { expose: o }) {
|
|
983
|
-
const s = R("time-select"), c = _(), i =
|
|
983
|
+
const s = R("time-select"), c = _(), i = x(), l = D();
|
|
984
984
|
return o({
|
|
985
985
|
focus: () => {
|
|
986
986
|
var t, e;
|
|
@@ -990,12 +990,12 @@ const Ns = v({
|
|
|
990
990
|
var t, e;
|
|
991
991
|
return (e = (t = l.value) == null ? void 0 : t.blur) == null ? void 0 : e.call(t);
|
|
992
992
|
}
|
|
993
|
-
}), () => y(
|
|
993
|
+
}), () => y(xo, C({ ref: l, class: s.b() }, c), i);
|
|
994
994
|
}
|
|
995
|
-
}), ya =
|
|
995
|
+
}), ya = w(va);
|
|
996
996
|
function ba(n, o) {
|
|
997
997
|
var t;
|
|
998
|
-
const s =
|
|
998
|
+
const s = N({}, n), c = s.class, i = (t = s.popperClass) != null ? t : s["popper-class"];
|
|
999
999
|
delete s.class, delete s.popperClass, delete s["popper-class"];
|
|
1000
1000
|
const l = [o, i, c].flat(10).filter((e) => typeof e == "string" && e.length > 0);
|
|
1001
1001
|
return {
|
|
@@ -1007,17 +1007,17 @@ const ga = v({
|
|
|
1007
1007
|
name: "SyTooltip",
|
|
1008
1008
|
inheritAttrs: !1,
|
|
1009
1009
|
setup() {
|
|
1010
|
-
const n = R("tooltip"), o = _(), s =
|
|
1010
|
+
const n = R("tooltip"), o = _(), s = x();
|
|
1011
1011
|
return () => {
|
|
1012
1012
|
const { rest: c, popperClass: i } = ba(o, n.b());
|
|
1013
|
-
return y(_o,
|
|
1013
|
+
return y(_o, C(c, { popperClass: i }), s);
|
|
1014
1014
|
};
|
|
1015
1015
|
}
|
|
1016
|
-
}),
|
|
1016
|
+
}), $e = w(ga), Sa = v({
|
|
1017
1017
|
name: "SyTree",
|
|
1018
1018
|
inheritAttrs: !1,
|
|
1019
1019
|
setup(n, { expose: o }) {
|
|
1020
|
-
const s = R("tree"), c = _(), i =
|
|
1020
|
+
const s = R("tree"), c = _(), i = x(), l = D();
|
|
1021
1021
|
return o({
|
|
1022
1022
|
filter: (...t) => {
|
|
1023
1023
|
var e, a;
|
|
@@ -1091,13 +1091,13 @@ const ga = v({
|
|
|
1091
1091
|
var e, a;
|
|
1092
1092
|
return (a = (e = l.value) == null ? void 0 : e.insertAfter) == null ? void 0 : a.call(e, ...t);
|
|
1093
1093
|
}
|
|
1094
|
-
}), () => y(Ro,
|
|
1094
|
+
}), () => y(Ro, C({ ref: l, class: s.b() }, c), i);
|
|
1095
1095
|
}
|
|
1096
|
-
}), ir =
|
|
1096
|
+
}), ir = w(Sa), Ca = v({
|
|
1097
1097
|
name: "SyTreeSelect",
|
|
1098
1098
|
inheritAttrs: !1,
|
|
1099
1099
|
setup(n, { expose: o }) {
|
|
1100
|
-
const s = R("tree-select"), c = _(), i =
|
|
1100
|
+
const s = R("tree-select"), c = _(), i = x(), l = D();
|
|
1101
1101
|
return o({
|
|
1102
1102
|
focus: () => {
|
|
1103
1103
|
var t, e;
|
|
@@ -1112,16 +1112,16 @@ const ga = v({
|
|
|
1112
1112
|
return (a = (e = l.value) == null ? void 0 : e.filter) == null ? void 0 : a.call(e, t);
|
|
1113
1113
|
},
|
|
1114
1114
|
updateKeyChildren: (t, e) => {
|
|
1115
|
-
var a,
|
|
1116
|
-
return (
|
|
1115
|
+
var a, k;
|
|
1116
|
+
return (k = (a = l.value) == null ? void 0 : a.updateKeyChildren) == null ? void 0 : k.call(a, t, e);
|
|
1117
1117
|
}
|
|
1118
|
-
}), () => y(Xt,
|
|
1118
|
+
}), () => y(Xt, C({ ref: l, class: s.b() }, c), i);
|
|
1119
1119
|
}
|
|
1120
|
-
}), ur =
|
|
1120
|
+
}), ur = w(Ca), ka = v({
|
|
1121
1121
|
name: "SyUpload",
|
|
1122
1122
|
inheritAttrs: !1,
|
|
1123
1123
|
setup(n, { expose: o }) {
|
|
1124
|
-
const s = R("upload"), c = _(), i =
|
|
1124
|
+
const s = R("upload"), c = _(), i = x(), l = D();
|
|
1125
1125
|
return o({
|
|
1126
1126
|
abort: (t) => {
|
|
1127
1127
|
var e, a;
|
|
@@ -1143,9 +1143,9 @@ const ga = v({
|
|
|
1143
1143
|
var e, a;
|
|
1144
1144
|
return (a = (e = l.value) == null ? void 0 : e.handleRemove) == null ? void 0 : a.call(e, t);
|
|
1145
1145
|
}
|
|
1146
|
-
}), () => y(Po,
|
|
1146
|
+
}), () => y(Po, C({ ref: l, class: s.b() }, c), i);
|
|
1147
1147
|
}
|
|
1148
|
-
}), dr =
|
|
1148
|
+
}), dr = w(ka), Aa = {
|
|
1149
1149
|
input: sn,
|
|
1150
1150
|
"input-number": ws,
|
|
1151
1151
|
"time-picker": ha,
|
|
@@ -1178,52 +1178,52 @@ const ht = v({
|
|
|
1178
1178
|
},
|
|
1179
1179
|
emits: ["update:modelValue"],
|
|
1180
1180
|
setup(n, { emit: o }) {
|
|
1181
|
-
const s =
|
|
1181
|
+
const s = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), c = O({
|
|
1182
1182
|
get: () => n.modelValue,
|
|
1183
1183
|
set: (p) => o("update:modelValue", p)
|
|
1184
|
-
}), i =
|
|
1184
|
+
}), i = O(() => {
|
|
1185
1185
|
var p, d;
|
|
1186
1186
|
return (d = (p = n.schema.fieldNames) == null ? void 0 : p.label) != null ? d : "label";
|
|
1187
|
-
}), l =
|
|
1187
|
+
}), l = O(() => {
|
|
1188
1188
|
var p, d;
|
|
1189
1189
|
return (d = (p = n.schema.fieldNames) == null ? void 0 : p.value) != null ? d : "value";
|
|
1190
|
-
}), t =
|
|
1190
|
+
}), t = O(() => {
|
|
1191
1191
|
var p, d;
|
|
1192
1192
|
return (d = (p = n.schema.fieldNames) == null ? void 0 : p.children) != null ? d : "children";
|
|
1193
|
-
}), e =
|
|
1193
|
+
}), e = O(() => {
|
|
1194
1194
|
var p;
|
|
1195
1195
|
return n.schema.options != null ? n.schema.options : (p = s.value.get(n.schema.field)) != null ? p : [];
|
|
1196
|
-
}), a =
|
|
1196
|
+
}), a = O(() => {
|
|
1197
1197
|
const { label: p, value: d } = { label: i.value, value: l.value };
|
|
1198
|
-
return p === "label" && d === "value" ? e.value : e.value.map((f) => ce(
|
|
1199
|
-
}),
|
|
1200
|
-
const p =
|
|
1201
|
-
return ce(
|
|
1202
|
-
}), A =
|
|
1203
|
-
const p =
|
|
1204
|
-
return ce(
|
|
1205
|
-
}), $ =
|
|
1198
|
+
return p === "label" && d === "value" ? e.value : e.value.map((f) => ce(N({}, f), { label: f[p], value: f[d] }));
|
|
1199
|
+
}), k = O(() => {
|
|
1200
|
+
const p = N({}, n.schema.props), { label: d, value: f, children: B } = { label: i.value, value: l.value, children: t.value };
|
|
1201
|
+
return ce(N({}, p), { props: ce(N({}, p.props), { label: d, children: B }), nodeKey: f });
|
|
1202
|
+
}), A = O(() => {
|
|
1203
|
+
const p = N({}, n.schema.props), { label: d, value: f, children: B } = { label: i.value, value: l.value, children: t.value };
|
|
1204
|
+
return ce(N({}, p), { props: ce(N({}, p.props), { label: d, value: f, children: B }) });
|
|
1205
|
+
}), $ = O(() => N({}, n.schema.props)), M = O(() => {
|
|
1206
1206
|
var d, f, B;
|
|
1207
1207
|
const p = (f = (d = n.schema.props) == null ? void 0 : d.type) != null ? f : "";
|
|
1208
1208
|
return ["daterange", "datetimerange", "monthrange", "yearrange"].includes(p) || !!((B = n.schema.props) != null && B.isRange);
|
|
1209
|
-
}),
|
|
1209
|
+
}), H = O(() => {
|
|
1210
1210
|
var d, f;
|
|
1211
1211
|
if (((d = n.schema.props) == null ? void 0 : d.placeholder) != null)
|
|
1212
1212
|
return n.schema.props.placeholder;
|
|
1213
1213
|
const p = (f = n.schema.component) != null ? f : "input";
|
|
1214
1214
|
return ["input", "input-number", "autocomplete"].includes(p) ? "请输入" : "请选择";
|
|
1215
|
-
}), h =
|
|
1215
|
+
}), h = O(() => {
|
|
1216
1216
|
var p;
|
|
1217
1217
|
return ((p = n.schema.props) == null ? void 0 : p.clearable) != null ? n.schema.props.clearable : n.schema.defaultValue == null;
|
|
1218
|
-
}), g =
|
|
1218
|
+
}), g = O(() => {
|
|
1219
1219
|
var d, f, B;
|
|
1220
|
-
const p =
|
|
1221
|
-
return M.value ? ce(
|
|
1220
|
+
const p = N({}, n.schema.props);
|
|
1221
|
+
return M.value ? ce(N({}, p), {
|
|
1222
1222
|
rangeSeparator: (d = p.rangeSeparator) != null ? d : "至",
|
|
1223
1223
|
startPlaceholder: (f = p.startPlaceholder) != null ? f : "开始时间",
|
|
1224
1224
|
endPlaceholder: (B = p.endPlaceholder) != null ? B : "结束时间",
|
|
1225
1225
|
clearable: h.value
|
|
1226
|
-
}) : ce(
|
|
1226
|
+
}) : ce(N({}, p), { placeholder: H.value, clearable: h.value });
|
|
1227
1227
|
});
|
|
1228
1228
|
return () => {
|
|
1229
1229
|
var W, j, G, U, K, se, ne, ie;
|
|
@@ -1238,8 +1238,8 @@ const ht = v({
|
|
|
1238
1238
|
if (d === "select")
|
|
1239
1239
|
return y(
|
|
1240
1240
|
Js,
|
|
1241
|
-
ce(
|
|
1242
|
-
placeholder:
|
|
1241
|
+
ce(N(N(N({}, B), $.value), f), {
|
|
1242
|
+
placeholder: H.value,
|
|
1243
1243
|
clearable: h.value,
|
|
1244
1244
|
style: "width: 100%"
|
|
1245
1245
|
}),
|
|
@@ -1252,16 +1252,16 @@ const ht = v({
|
|
|
1252
1252
|
}
|
|
1253
1253
|
);
|
|
1254
1254
|
if (d === "select-v2")
|
|
1255
|
-
return y(Jt, ce(
|
|
1256
|
-
placeholder:
|
|
1255
|
+
return y(Jt, ce(N(N(N({}, B), $.value), f), {
|
|
1256
|
+
placeholder: H.value,
|
|
1257
1257
|
clearable: h.value,
|
|
1258
1258
|
options: a.value,
|
|
1259
1259
|
style: "width: 100%"
|
|
1260
1260
|
}));
|
|
1261
1261
|
if (d === "tree-select") {
|
|
1262
1262
|
const X = (U = (G = n.schema.props) == null ? void 0 : G.data) != null ? U : e.value;
|
|
1263
|
-
return y(Xt, ce(
|
|
1264
|
-
placeholder:
|
|
1263
|
+
return y(Xt, ce(N(N(N({}, B), k.value), f), {
|
|
1264
|
+
placeholder: H.value,
|
|
1265
1265
|
clearable: h.value,
|
|
1266
1266
|
data: X,
|
|
1267
1267
|
style: "width: 100%"
|
|
@@ -1269,8 +1269,8 @@ const ht = v({
|
|
|
1269
1269
|
}
|
|
1270
1270
|
if (d === "cascader") {
|
|
1271
1271
|
const X = (se = (K = n.schema.props) == null ? void 0 : K.options) != null ? se : e.value;
|
|
1272
|
-
return y(
|
|
1273
|
-
placeholder:
|
|
1272
|
+
return y(Oo, ce(N(N(N({}, B), A.value), f), {
|
|
1273
|
+
placeholder: H.value,
|
|
1274
1274
|
clearable: h.value,
|
|
1275
1275
|
options: X,
|
|
1276
1276
|
style: "width: 100%"
|
|
@@ -1280,7 +1280,7 @@ const ht = v({
|
|
|
1280
1280
|
const X = d === "radio" ? an : Ws;
|
|
1281
1281
|
return y(
|
|
1282
1282
|
Ks,
|
|
1283
|
-
|
|
1283
|
+
N(N(N({}, B), $.value), f),
|
|
1284
1284
|
{
|
|
1285
1285
|
default: () => e.value.map(
|
|
1286
1286
|
(ue) => y(X, { key: ue[l.value], value: ue[l.value] }, { default: () => String(ue[i.value]) })
|
|
@@ -1291,7 +1291,7 @@ const ht = v({
|
|
|
1291
1291
|
if (d === "checkbox")
|
|
1292
1292
|
return y(
|
|
1293
1293
|
qo,
|
|
1294
|
-
|
|
1294
|
+
N(N(N({}, B), $.value), f),
|
|
1295
1295
|
{
|
|
1296
1296
|
default: () => e.value.map(
|
|
1297
1297
|
(X) => y(Eo, { key: X[l.value], value: X[l.value] }, { default: () => String(X[i.value]) })
|
|
@@ -1299,20 +1299,20 @@ const ht = v({
|
|
|
1299
1299
|
}
|
|
1300
1300
|
);
|
|
1301
1301
|
if (d === "date-picker")
|
|
1302
|
-
return y(os, ce(
|
|
1303
|
-
const q =
|
|
1302
|
+
return y(os, ce(N(N(N({}, B), g.value), f), { style: "width: 100%" }));
|
|
1303
|
+
const q = Aa[d];
|
|
1304
1304
|
if (q) {
|
|
1305
|
-
const X = (ie = (ne = ct[d]) == null ? void 0 : ne.call(ct, { placeholder:
|
|
1306
|
-
return y(q,
|
|
1305
|
+
const X = (ie = (ne = ct[d]) == null ? void 0 : ne.call(ct, { placeholder: H.value, clearable: h.value })) != null ? ie : {};
|
|
1306
|
+
return y(q, N(N(N(N({}, B), $.value), f), X));
|
|
1307
1307
|
}
|
|
1308
|
-
return y(sn, ce(
|
|
1309
|
-
placeholder:
|
|
1308
|
+
return y(sn, ce(N(N(N({}, B), $.value), f), {
|
|
1309
|
+
placeholder: H.value,
|
|
1310
1310
|
clearable: h.value,
|
|
1311
1311
|
style: "width: 100%"
|
|
1312
1312
|
}));
|
|
1313
1313
|
};
|
|
1314
1314
|
}
|
|
1315
|
-
}),
|
|
1315
|
+
}), xa = 2, _a = /* @__PURE__ */ v({
|
|
1316
1316
|
name: "SyProForm",
|
|
1317
1317
|
__name: "ProForm",
|
|
1318
1318
|
props: {
|
|
@@ -1335,23 +1335,23 @@ const ht = v({
|
|
|
1335
1335
|
emits: ["search", "reset"],
|
|
1336
1336
|
setup(n, { expose: o, emit: s }) {
|
|
1337
1337
|
var Se, Ce;
|
|
1338
|
-
const c =
|
|
1338
|
+
const c = x(), i = n, l = (Se = Ae(He, {}).proForm) != null ? Se : {}, t = (Ce = qt(Ut()).proForm) != null ? Ce : {}, e = O(() => {
|
|
1339
1339
|
var m, L, T;
|
|
1340
1340
|
return (T = (L = (m = t.cols) != null ? m : i.cols) != null ? L : l.cols) != null ? T : 4;
|
|
1341
|
-
}), a =
|
|
1341
|
+
}), a = O(() => {
|
|
1342
1342
|
var m, L, T;
|
|
1343
1343
|
return (T = (L = (m = t.labelWidth) != null ? m : i.labelWidth) != null ? L : l.labelWidth) != null ? T : "auto";
|
|
1344
|
-
}),
|
|
1344
|
+
}), k = O(
|
|
1345
1345
|
() => {
|
|
1346
1346
|
var m, L, T;
|
|
1347
1347
|
return (T = (L = (m = t.labelPosition) != null ? m : i.labelPosition) != null ? L : l.labelPosition) != null ? T : "right";
|
|
1348
1348
|
}
|
|
1349
|
-
), A =
|
|
1349
|
+
), A = O(() => {
|
|
1350
1350
|
var m, L;
|
|
1351
1351
|
return (L = (m = t.size) != null ? m : i.size) != null ? L : l.size;
|
|
1352
1352
|
}), $ = s;
|
|
1353
1353
|
R("pro-form");
|
|
1354
|
-
const M =
|
|
1354
|
+
const M = D(), H = D(i.defaultCollapsed), h = D("xl");
|
|
1355
1355
|
function g() {
|
|
1356
1356
|
const m = window.innerWidth;
|
|
1357
1357
|
return m < 768 ? "xs" : m < 992 ? "sm" : m < 1200 ? "md" : m < 1920 ? "lg" : "xl";
|
|
@@ -1359,12 +1359,12 @@ const ht = v({
|
|
|
1359
1359
|
function p() {
|
|
1360
1360
|
h.value = g();
|
|
1361
1361
|
}
|
|
1362
|
-
|
|
1362
|
+
Fe(() => {
|
|
1363
1363
|
h.value = g(), window.addEventListener("resize", p);
|
|
1364
|
-
}),
|
|
1364
|
+
}), Xe(() => {
|
|
1365
1365
|
window.removeEventListener("resize", p);
|
|
1366
1366
|
});
|
|
1367
|
-
const d =
|
|
1367
|
+
const d = O(() => i.schema.filter((m) => typeof m.hidden == "function" ? !m.hidden(i.model) : !m.hidden).sort((m, L) => {
|
|
1368
1368
|
var T, ee;
|
|
1369
1369
|
return ((T = m.order) != null ? T : 0) - ((ee = L.order) != null ? ee : 0);
|
|
1370
1370
|
}));
|
|
@@ -1378,20 +1378,20 @@ const ht = v({
|
|
|
1378
1378
|
const L = h.value;
|
|
1379
1379
|
return (oe = (ee = (T = m[L]) == null ? void 0 : T.offset) != null ? ee : m.offset) != null ? oe : 0;
|
|
1380
1380
|
}
|
|
1381
|
-
const q =
|
|
1381
|
+
const q = O(() => {
|
|
1382
1382
|
var T, ee, oe, ve, ye, be;
|
|
1383
1383
|
const m = e.value;
|
|
1384
1384
|
if (typeof m == "number")
|
|
1385
1385
|
return m;
|
|
1386
1386
|
const L = h.value;
|
|
1387
1387
|
return (be = (ye = (ve = (oe = (ee = (T = m == null ? void 0 : m[L]) != null ? T : m == null ? void 0 : m.xl) != null ? ee : m == null ? void 0 : m.lg) != null ? oe : m == null ? void 0 : m.md) != null ? ve : m == null ? void 0 : m.sm) != null ? ye : m == null ? void 0 : m.xs) != null ? be : 4;
|
|
1388
|
-
}), W =
|
|
1388
|
+
}), W = O(() => {
|
|
1389
1389
|
const m = i.collapsible;
|
|
1390
1390
|
return typeof m == "number" && m > 0 ? m : 1;
|
|
1391
|
-
}), j =
|
|
1391
|
+
}), j = O(() => {
|
|
1392
1392
|
if (!i.collapsible)
|
|
1393
1393
|
return -1;
|
|
1394
|
-
const m = i.buttonAlign === "inline" && (i.showQueryBtn || i.showResetBtn || !!c["extra-buttons"] || !!c.buttons), L = q.value * W.value - (m ?
|
|
1394
|
+
const m = i.buttonAlign === "inline" && (i.showQueryBtn || i.showResetBtn || !!c["extra-buttons"] || !!c.buttons), L = q.value * W.value - (m ? xa : 0);
|
|
1395
1395
|
if (L <= 0)
|
|
1396
1396
|
return 0;
|
|
1397
1397
|
let T = 0;
|
|
@@ -1401,7 +1401,7 @@ const ht = v({
|
|
|
1401
1401
|
return ee;
|
|
1402
1402
|
}
|
|
1403
1403
|
return -1;
|
|
1404
|
-
}), G =
|
|
1404
|
+
}), G = O(() => j.value >= 0), U = O(() => ({
|
|
1405
1405
|
display: "grid",
|
|
1406
1406
|
gridTemplateColumns: `repeat(${q.value}, 1fr)`,
|
|
1407
1407
|
gap: "0 16px"
|
|
@@ -1412,32 +1412,32 @@ const ht = v({
|
|
|
1412
1412
|
};
|
|
1413
1413
|
return ee > 0 && (oe.marginLeft = `calc(${ee / L * 100}% + ${ee * 16}px)`), oe;
|
|
1414
1414
|
}
|
|
1415
|
-
const se =
|
|
1416
|
-
const m = q.value, L = d.value, T = i.collapsible &&
|
|
1415
|
+
const se = O(() => {
|
|
1416
|
+
const m = q.value, L = d.value, T = i.collapsible && H.value && j.value >= 0 ? j.value : L.length;
|
|
1417
1417
|
let ee = 0;
|
|
1418
1418
|
for (let oe = 0; oe < T; oe++) {
|
|
1419
1419
|
const ve = f(L[oe]), ye = B(L[oe]), be = ee + ve + ye;
|
|
1420
1420
|
ee = be >= m ? be % m : be;
|
|
1421
1421
|
}
|
|
1422
1422
|
return ee;
|
|
1423
|
-
}), ne =
|
|
1423
|
+
}), ne = O(() => {
|
|
1424
1424
|
const m = se.value;
|
|
1425
1425
|
return { gridColumn: `${m === 0 ? 1 : m + 1} / -1` };
|
|
1426
1426
|
}), ie = {
|
|
1427
1427
|
left: "flex-start",
|
|
1428
1428
|
center: "center",
|
|
1429
1429
|
right: "flex-end"
|
|
1430
|
-
}, X =
|
|
1430
|
+
}, X = O(() => {
|
|
1431
1431
|
var L;
|
|
1432
1432
|
const m = {
|
|
1433
1433
|
justifyContent: (L = ie[i.buttonAlign]) != null ? L : "flex-start"
|
|
1434
1434
|
};
|
|
1435
|
-
if (i.buttonAlign === "left" &&
|
|
1435
|
+
if (i.buttonAlign === "left" && k.value !== "top") {
|
|
1436
1436
|
const T = a.value;
|
|
1437
1437
|
T && T !== "auto" && (m.paddingLeft = typeof T == "number" ? `${T}px` : String(T));
|
|
1438
1438
|
}
|
|
1439
1439
|
return m;
|
|
1440
|
-
}), ue =
|
|
1440
|
+
}), ue = O(
|
|
1441
1441
|
() => i.showQueryBtn || i.showResetBtn || !!c["extra-buttons"] || !!c.buttons
|
|
1442
1442
|
);
|
|
1443
1443
|
function re(m, L) {
|
|
@@ -1476,7 +1476,7 @@ const ht = v({
|
|
|
1476
1476
|
class: "sy-pro-form",
|
|
1477
1477
|
model: n.model,
|
|
1478
1478
|
"label-width": a.value,
|
|
1479
|
-
"label-position":
|
|
1479
|
+
"label-position": k.value,
|
|
1480
1480
|
disabled: n.disabled,
|
|
1481
1481
|
size: A.value,
|
|
1482
1482
|
onSubmit: L[2] || (L[2] = Kt(() => {
|
|
@@ -1487,13 +1487,13 @@ const ht = v({
|
|
|
1487
1487
|
"div",
|
|
1488
1488
|
{
|
|
1489
1489
|
class: "sy-pro-form__grid",
|
|
1490
|
-
style:
|
|
1490
|
+
style: _e(U.value)
|
|
1491
1491
|
},
|
|
1492
1492
|
[
|
|
1493
1493
|
(P(!0), Z(
|
|
1494
1494
|
de,
|
|
1495
1495
|
null,
|
|
1496
|
-
|
|
1496
|
+
Ve(d.value, (T, ee) => {
|
|
1497
1497
|
var oe;
|
|
1498
1498
|
return P(), Z(
|
|
1499
1499
|
de,
|
|
@@ -1501,29 +1501,29 @@ const ht = v({
|
|
|
1501
1501
|
key: T.field
|
|
1502
1502
|
},
|
|
1503
1503
|
[
|
|
1504
|
-
!n.collapsible || !
|
|
1504
|
+
!n.collapsible || !H.value || j.value < 0 || ee < j.value ? (P(), Z(
|
|
1505
1505
|
"div",
|
|
1506
1506
|
{
|
|
1507
1507
|
key: 0,
|
|
1508
1508
|
class: "sy-pro-form__grid-item",
|
|
1509
|
-
style:
|
|
1509
|
+
style: _e(K(T))
|
|
1510
1510
|
},
|
|
1511
1511
|
[
|
|
1512
|
-
|
|
1513
|
-
T.component === "slot" ?
|
|
1512
|
+
F(" slot 类型:渲染具名插槽,用户自行提供完整的 sy-form-item 内容 "),
|
|
1513
|
+
T.component === "slot" ? z(m.$slots, T.field, {
|
|
1514
1514
|
key: 0,
|
|
1515
1515
|
item: T
|
|
1516
1516
|
}) : (P(), Z(
|
|
1517
1517
|
de,
|
|
1518
1518
|
{ key: 1 },
|
|
1519
1519
|
[
|
|
1520
|
-
|
|
1521
|
-
I(r(gs),
|
|
1520
|
+
F(" 内置组件类型:走原有渲染路径 "),
|
|
1521
|
+
I(r(gs), C({
|
|
1522
1522
|
prop: T.field,
|
|
1523
1523
|
label: (oe = T.label) != null ? oe : ""
|
|
1524
1524
|
}, { ref_for: !0 }, T.labelWidth != null ? { labelWidth: T.labelWidth } : {}, {
|
|
1525
1525
|
rules: T.rules
|
|
1526
|
-
}),
|
|
1526
|
+
}), Ye({
|
|
1527
1527
|
default: S(() => [
|
|
1528
1528
|
I(ht, {
|
|
1529
1529
|
"model-value": n.model[T.field],
|
|
@@ -1541,11 +1541,11 @@ const ht = v({
|
|
|
1541
1541
|
te(
|
|
1542
1542
|
"span",
|
|
1543
1543
|
null,
|
|
1544
|
-
|
|
1544
|
+
ke(T.label),
|
|
1545
1545
|
1
|
|
1546
1546
|
/* TEXT */
|
|
1547
1547
|
),
|
|
1548
|
-
I(r(
|
|
1548
|
+
I(r($e), {
|
|
1549
1549
|
content: T.tooltip,
|
|
1550
1550
|
placement: "top"
|
|
1551
1551
|
}, {
|
|
@@ -1575,7 +1575,7 @@ const ht = v({
|
|
|
1575
1575
|
],
|
|
1576
1576
|
4
|
|
1577
1577
|
/* STYLE */
|
|
1578
|
-
)) :
|
|
1578
|
+
)) : F("v-if", !0)
|
|
1579
1579
|
],
|
|
1580
1580
|
64
|
|
1581
1581
|
/* STABLE_FRAGMENT */
|
|
@@ -1584,18 +1584,18 @@ const ht = v({
|
|
|
1584
1584
|
128
|
|
1585
1585
|
/* KEYED_FRAGMENT */
|
|
1586
1586
|
)),
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1587
|
+
F(" 默认插槽:额外自定义字段 "),
|
|
1588
|
+
z(m.$slots, "default"),
|
|
1589
|
+
F(" 按钮区 —— inline 模式:在网格内贴右 "),
|
|
1590
1590
|
n.buttonAlign === "inline" && (ue.value || n.collapsible && G.value) ? (P(), Z(
|
|
1591
1591
|
"div",
|
|
1592
1592
|
{
|
|
1593
1593
|
key: 0,
|
|
1594
1594
|
class: "sy-pro-form__grid-item sy-pro-form__buttons",
|
|
1595
|
-
style:
|
|
1595
|
+
style: _e(ne.value)
|
|
1596
1596
|
},
|
|
1597
1597
|
[
|
|
1598
|
-
|
|
1598
|
+
z(m.$slots, "buttons", {}, () => [
|
|
1599
1599
|
n.showQueryBtn ? (P(), Q(r(le), {
|
|
1600
1600
|
key: 0,
|
|
1601
1601
|
type: "primary",
|
|
@@ -1604,45 +1604,45 @@ const ht = v({
|
|
|
1604
1604
|
}, {
|
|
1605
1605
|
default: S(() => [
|
|
1606
1606
|
fe(
|
|
1607
|
-
|
|
1607
|
+
ke(n.queryBtnText),
|
|
1608
1608
|
1
|
|
1609
1609
|
/* TEXT */
|
|
1610
1610
|
)
|
|
1611
1611
|
]),
|
|
1612
1612
|
_: 1
|
|
1613
1613
|
/* STABLE */
|
|
1614
|
-
}, 8, ["loading"])) :
|
|
1614
|
+
}, 8, ["loading"])) : F("v-if", !0),
|
|
1615
1615
|
n.showResetBtn ? (P(), Q(r(le), {
|
|
1616
1616
|
key: 1,
|
|
1617
1617
|
onClick: he
|
|
1618
1618
|
}, {
|
|
1619
1619
|
default: S(() => [
|
|
1620
1620
|
fe(
|
|
1621
|
-
|
|
1621
|
+
ke(n.resetBtnText),
|
|
1622
1622
|
1
|
|
1623
1623
|
/* TEXT */
|
|
1624
1624
|
)
|
|
1625
1625
|
]),
|
|
1626
1626
|
_: 1
|
|
1627
1627
|
/* STABLE */
|
|
1628
|
-
})) :
|
|
1629
|
-
|
|
1628
|
+
})) : F("v-if", !0),
|
|
1629
|
+
z(m.$slots, "extra-buttons")
|
|
1630
1630
|
]),
|
|
1631
1631
|
n.collapsible && G.value ? (P(), Q(r(le), {
|
|
1632
1632
|
key: 0,
|
|
1633
1633
|
type: "primary",
|
|
1634
1634
|
link: "",
|
|
1635
|
-
onClick: L[0] || (L[0] = (T) =>
|
|
1635
|
+
onClick: L[0] || (L[0] = (T) => H.value = !H.value)
|
|
1636
1636
|
}, {
|
|
1637
1637
|
default: S(() => [
|
|
1638
1638
|
fe(
|
|
1639
|
-
|
|
1639
|
+
ke(H.value ? "展开" : "合并") + " ",
|
|
1640
1640
|
1
|
|
1641
1641
|
/* TEXT */
|
|
1642
1642
|
),
|
|
1643
1643
|
I(r(Ne), { style: { "margin-left": "2px" } }, {
|
|
1644
1644
|
default: S(() => [
|
|
1645
|
-
(P(), Q(It(
|
|
1645
|
+
(P(), Q(It(H.value ? r(zt) : r(Ot))))
|
|
1646
1646
|
]),
|
|
1647
1647
|
_: 1
|
|
1648
1648
|
/* STABLE */
|
|
@@ -1650,25 +1650,25 @@ const ht = v({
|
|
|
1650
1650
|
]),
|
|
1651
1651
|
_: 1
|
|
1652
1652
|
/* STABLE */
|
|
1653
|
-
})) :
|
|
1653
|
+
})) : F("v-if", !0)
|
|
1654
1654
|
],
|
|
1655
1655
|
4
|
|
1656
1656
|
/* STYLE */
|
|
1657
|
-
)) :
|
|
1657
|
+
)) : F("v-if", !0)
|
|
1658
1658
|
],
|
|
1659
1659
|
4
|
|
1660
1660
|
/* STYLE */
|
|
1661
1661
|
),
|
|
1662
|
-
|
|
1662
|
+
F(" 按钮区 —— 独立成行模式(left / center / right) "),
|
|
1663
1663
|
n.buttonAlign !== "inline" && (ue.value || n.collapsible && G.value) ? (P(), Z(
|
|
1664
1664
|
"div",
|
|
1665
1665
|
{
|
|
1666
1666
|
key: 0,
|
|
1667
1667
|
class: "sy-pro-form__footer",
|
|
1668
|
-
style:
|
|
1668
|
+
style: _e(X.value)
|
|
1669
1669
|
},
|
|
1670
1670
|
[
|
|
1671
|
-
|
|
1671
|
+
z(m.$slots, "buttons", {}, () => [
|
|
1672
1672
|
n.showQueryBtn ? (P(), Q(r(le), {
|
|
1673
1673
|
key: 0,
|
|
1674
1674
|
type: "primary",
|
|
@@ -1677,45 +1677,45 @@ const ht = v({
|
|
|
1677
1677
|
}, {
|
|
1678
1678
|
default: S(() => [
|
|
1679
1679
|
fe(
|
|
1680
|
-
|
|
1680
|
+
ke(n.queryBtnText),
|
|
1681
1681
|
1
|
|
1682
1682
|
/* TEXT */
|
|
1683
1683
|
)
|
|
1684
1684
|
]),
|
|
1685
1685
|
_: 1
|
|
1686
1686
|
/* STABLE */
|
|
1687
|
-
}, 8, ["loading"])) :
|
|
1687
|
+
}, 8, ["loading"])) : F("v-if", !0),
|
|
1688
1688
|
n.showResetBtn ? (P(), Q(r(le), {
|
|
1689
1689
|
key: 1,
|
|
1690
1690
|
onClick: he
|
|
1691
1691
|
}, {
|
|
1692
1692
|
default: S(() => [
|
|
1693
1693
|
fe(
|
|
1694
|
-
|
|
1694
|
+
ke(n.resetBtnText),
|
|
1695
1695
|
1
|
|
1696
1696
|
/* TEXT */
|
|
1697
1697
|
)
|
|
1698
1698
|
]),
|
|
1699
1699
|
_: 1
|
|
1700
1700
|
/* STABLE */
|
|
1701
|
-
})) :
|
|
1702
|
-
|
|
1701
|
+
})) : F("v-if", !0),
|
|
1702
|
+
z(m.$slots, "extra-buttons")
|
|
1703
1703
|
]),
|
|
1704
1704
|
n.collapsible && G.value ? (P(), Q(r(le), {
|
|
1705
1705
|
key: 0,
|
|
1706
1706
|
type: "primary",
|
|
1707
1707
|
link: "",
|
|
1708
|
-
onClick: L[1] || (L[1] = (T) =>
|
|
1708
|
+
onClick: L[1] || (L[1] = (T) => H.value = !H.value)
|
|
1709
1709
|
}, {
|
|
1710
1710
|
default: S(() => [
|
|
1711
1711
|
fe(
|
|
1712
|
-
|
|
1712
|
+
ke(H.value ? "展开" : "合并") + " ",
|
|
1713
1713
|
1
|
|
1714
1714
|
/* TEXT */
|
|
1715
1715
|
),
|
|
1716
1716
|
I(r(Ne), { style: { "margin-left": "2px" } }, {
|
|
1717
1717
|
default: S(() => [
|
|
1718
|
-
(P(), Q(It(
|
|
1718
|
+
(P(), Q(It(H.value ? r(zt) : r(Ot))))
|
|
1719
1719
|
]),
|
|
1720
1720
|
_: 1
|
|
1721
1721
|
/* STABLE */
|
|
@@ -1723,19 +1723,19 @@ const ht = v({
|
|
|
1723
1723
|
]),
|
|
1724
1724
|
_: 1
|
|
1725
1725
|
/* STABLE */
|
|
1726
|
-
})) :
|
|
1726
|
+
})) : F("v-if", !0)
|
|
1727
1727
|
],
|
|
1728
1728
|
4
|
|
1729
1729
|
/* STYLE */
|
|
1730
|
-
)) :
|
|
1730
|
+
)) : F("v-if", !0)
|
|
1731
1731
|
]),
|
|
1732
1732
|
_: 3
|
|
1733
1733
|
/* FORWARDED */
|
|
1734
1734
|
}, 8, ["model", "label-width", "label-position", "disabled", "size"]));
|
|
1735
1735
|
}
|
|
1736
|
-
}), Ra =
|
|
1736
|
+
}), Ra = w(_a);
|
|
1737
1737
|
function Pa(n = "id") {
|
|
1738
|
-
const o =
|
|
1738
|
+
const o = D([]), s = O(() => o.value.length > 0), c = O(() => o.value.map((t) => t[n]));
|
|
1739
1739
|
function i(t) {
|
|
1740
1740
|
o.value = t;
|
|
1741
1741
|
}
|
|
@@ -1760,11 +1760,11 @@ function Ta(n) {
|
|
|
1760
1760
|
pagination: t = !0,
|
|
1761
1761
|
staticData: e,
|
|
1762
1762
|
initialPageSize: a
|
|
1763
|
-
} = n,
|
|
1763
|
+
} = n, k = D(!1), A = D([]), $ = Je({
|
|
1764
1764
|
pageNum: 1,
|
|
1765
1765
|
pageSize: a != null ? a : 10,
|
|
1766
1766
|
total: 0
|
|
1767
|
-
}), M =
|
|
1767
|
+
}), M = Je({}), H = Je({}), h = O(() => {
|
|
1768
1768
|
if (!(e != null && e.value))
|
|
1769
1769
|
return A.value;
|
|
1770
1770
|
if (!t)
|
|
@@ -1778,10 +1778,10 @@ function Ta(n) {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
function p() {
|
|
1780
1780
|
const j = {};
|
|
1781
|
-
return g(
|
|
1781
|
+
return g(H, j), c != null && c.value && g(c.value, j), j;
|
|
1782
1782
|
}
|
|
1783
1783
|
function d() {
|
|
1784
|
-
return
|
|
1784
|
+
return We(this, null, function* () {
|
|
1785
1785
|
var j, G, U;
|
|
1786
1786
|
if (e != null && e.value) {
|
|
1787
1787
|
$.total = e.value.length;
|
|
@@ -1789,8 +1789,8 @@ function Ta(n) {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
if (o)
|
|
1791
1791
|
try {
|
|
1792
|
-
|
|
1793
|
-
const K = p(), se =
|
|
1792
|
+
k.value = !0;
|
|
1793
|
+
const K = p(), se = N(N(N({}, M), K), (j = s == null ? void 0 : s.value) != null ? j : {});
|
|
1794
1794
|
t && (se.pageNum = $.pageNum, se.pageSize = $.pageSize);
|
|
1795
1795
|
const ne = yield o(se);
|
|
1796
1796
|
if (!ne.success) {
|
|
@@ -1802,7 +1802,7 @@ function Ta(n) {
|
|
|
1802
1802
|
} catch (K) {
|
|
1803
1803
|
l == null || l(K);
|
|
1804
1804
|
} finally {
|
|
1805
|
-
|
|
1805
|
+
k.value = !1;
|
|
1806
1806
|
}
|
|
1807
1807
|
});
|
|
1808
1808
|
}
|
|
@@ -1812,8 +1812,8 @@ function Ta(n) {
|
|
|
1812
1812
|
function B() {
|
|
1813
1813
|
var j;
|
|
1814
1814
|
$.pageNum = 1;
|
|
1815
|
-
for (const G of Object.keys(
|
|
1816
|
-
|
|
1815
|
+
for (const G of Object.keys(H))
|
|
1816
|
+
H[G] = (j = M[G]) != null ? j : null;
|
|
1817
1817
|
d();
|
|
1818
1818
|
}
|
|
1819
1819
|
function q(j) {
|
|
@@ -1822,12 +1822,12 @@ function Ta(n) {
|
|
|
1822
1822
|
function W(j) {
|
|
1823
1823
|
$.pageNum = j, d();
|
|
1824
1824
|
}
|
|
1825
|
-
return s &&
|
|
1826
|
-
loading:
|
|
1825
|
+
return s && Ie(s, () => d(), { deep: !0 }), {
|
|
1826
|
+
loading: k,
|
|
1827
1827
|
tableData: A,
|
|
1828
1828
|
pageable: $,
|
|
1829
1829
|
processTableData: h,
|
|
1830
|
-
searchParam:
|
|
1830
|
+
searchParam: H,
|
|
1831
1831
|
searchInitParam: M,
|
|
1832
1832
|
getTableList: d,
|
|
1833
1833
|
search: f,
|
|
@@ -1843,7 +1843,7 @@ function rn(n) {
|
|
|
1843
1843
|
(s = c.children) != null && s.length ? o.push(c, ...rn(c.children)) : o.push(c);
|
|
1844
1844
|
return o;
|
|
1845
1845
|
}
|
|
1846
|
-
const
|
|
1846
|
+
const Ht = {
|
|
1847
1847
|
border: !1,
|
|
1848
1848
|
stripe: !1,
|
|
1849
1849
|
rowKey: "id",
|
|
@@ -1857,12 +1857,12 @@ const Nt = {
|
|
|
1857
1857
|
autoHeight: !1
|
|
1858
1858
|
};
|
|
1859
1859
|
function $a(n, o, s) {
|
|
1860
|
-
var ye, be,
|
|
1861
|
-
const i = (ye =
|
|
1860
|
+
var ye, be, je, ze;
|
|
1861
|
+
const i = (ye = Ae(He, {}).proTable) != null ? ye : {}, l = (be = qt(Ut()).proTable) != null ? be : {}, t = new Proxy(n, {
|
|
1862
1862
|
get(u, b, V) {
|
|
1863
|
-
const
|
|
1864
|
-
if (
|
|
1865
|
-
return
|
|
1863
|
+
const E = l[b];
|
|
1864
|
+
if (E !== void 0)
|
|
1865
|
+
return E;
|
|
1866
1866
|
const Y = Reflect.get(u, b, V);
|
|
1867
1867
|
if (Y !== void 0)
|
|
1868
1868
|
return Y;
|
|
@@ -1870,12 +1870,12 @@ function $a(n, o, s) {
|
|
|
1870
1870
|
if (J in i && i[J] !== void 0)
|
|
1871
1871
|
return i[J];
|
|
1872
1872
|
const pe = b;
|
|
1873
|
-
if (pe in
|
|
1874
|
-
return
|
|
1873
|
+
if (pe in Ht)
|
|
1874
|
+
return Ht[pe];
|
|
1875
1875
|
}
|
|
1876
|
-
}), e = t, a =
|
|
1876
|
+
}), e = t, a = D(), k = D(), A = D(), $ = D(e.type !== "unify" && e.type !== "custom"), M = D(null), H = O(() => Je(rn(n.columns))), h = D(/* @__PURE__ */ new Map());
|
|
1877
1877
|
function g(u) {
|
|
1878
|
-
return
|
|
1878
|
+
return We(this, null, function* () {
|
|
1879
1879
|
var V;
|
|
1880
1880
|
if (!u.enum || !u.prop)
|
|
1881
1881
|
return;
|
|
@@ -1883,45 +1883,45 @@ function $a(n, o, s) {
|
|
|
1883
1883
|
if (typeof b == "function") {
|
|
1884
1884
|
h.value.set(u.prop, []);
|
|
1885
1885
|
try {
|
|
1886
|
-
const
|
|
1887
|
-
h.value.set(u.prop,
|
|
1888
|
-
} catch (
|
|
1886
|
+
const E = yield b();
|
|
1887
|
+
h.value.set(u.prop, E);
|
|
1888
|
+
} catch (E) {
|
|
1889
1889
|
}
|
|
1890
1890
|
} else
|
|
1891
1891
|
h.value.set(u.prop, Array.isArray(b) ? b : (V = b.value) != null ? V : []);
|
|
1892
1892
|
});
|
|
1893
1893
|
}
|
|
1894
1894
|
Ft("proTableEnumMap", h), Ft("proTableSlots", s);
|
|
1895
|
-
const p =
|
|
1896
|
-
() =>
|
|
1895
|
+
const p = O(
|
|
1896
|
+
() => H.value.filter((u) => {
|
|
1897
1897
|
var b, V;
|
|
1898
1898
|
return ((b = u.search) == null ? void 0 : b.component) || ((V = u.search) == null ? void 0 : V.render);
|
|
1899
1899
|
}).sort((u, b) => {
|
|
1900
|
-
var V,
|
|
1901
|
-
return ((
|
|
1900
|
+
var V, E, Y, J;
|
|
1901
|
+
return ((E = (V = u.search) == null ? void 0 : V.order) != null ? E : 0) - ((J = (Y = b.search) == null ? void 0 : Y.order) != null ? J : 0);
|
|
1902
1902
|
})
|
|
1903
|
-
), d =
|
|
1903
|
+
), d = O(
|
|
1904
1904
|
() => p.value.filter((u) => {
|
|
1905
1905
|
var b;
|
|
1906
1906
|
return !!((b = u.search) != null && b.quick);
|
|
1907
1907
|
}).sort((u, b) => {
|
|
1908
|
-
var Y, J, pe, ae,
|
|
1909
|
-
const V = typeof ((Y = u.search) == null ? void 0 : Y.quick) == "object" && (pe = (J = u.search) == null ? void 0 : J.quick.order) != null ? pe : 0,
|
|
1910
|
-
return V -
|
|
1908
|
+
var Y, J, pe, ae, Te, Oe;
|
|
1909
|
+
const V = typeof ((Y = u.search) == null ? void 0 : Y.quick) == "object" && (pe = (J = u.search) == null ? void 0 : J.quick.order) != null ? pe : 0, E = typeof ((ae = b.search) == null ? void 0 : ae.quick) == "object" && (Oe = (Te = b.search) == null ? void 0 : Te.quick.order) != null ? Oe : 0;
|
|
1910
|
+
return V - E;
|
|
1911
1911
|
})
|
|
1912
|
-
), f =
|
|
1912
|
+
), f = O(
|
|
1913
1913
|
() => p.value.map((u) => {
|
|
1914
|
-
var b, V,
|
|
1914
|
+
var b, V, E, Y, J, pe, ae, Te, Oe, St, Ct, kt, At, wt, xt;
|
|
1915
1915
|
return {
|
|
1916
|
-
field: (
|
|
1916
|
+
field: (E = (V = (b = u.search) == null ? void 0 : b.key) != null ? V : u.prop) != null ? E : "",
|
|
1917
1917
|
label: u.label,
|
|
1918
1918
|
component: (Y = u.search) == null ? void 0 : Y.component,
|
|
1919
1919
|
props: (J = u.search) == null ? void 0 : J.props,
|
|
1920
1920
|
options: (() => {
|
|
1921
1921
|
var _t, Rt, Pt, Tt, $t, Bt, Lt;
|
|
1922
1922
|
if (((_t = u.search) == null ? void 0 : _t.options) !== void 0) {
|
|
1923
|
-
const
|
|
1924
|
-
return Array.isArray(
|
|
1923
|
+
const nt = u.search.options;
|
|
1924
|
+
return Array.isArray(nt) ? nt : (Rt = r(nt)) != null ? Rt : void 0;
|
|
1925
1925
|
}
|
|
1926
1926
|
if (!(!u.enum || (Tt = (Pt = u.search) == null ? void 0 : Pt.component) != null && Tt.includes("tree")))
|
|
1927
1927
|
return typeof u.enum == "function" ? (Bt = h.value.get(($t = u.prop) != null ? $t : "")) != null ? Bt : void 0 : Array.isArray(u.enum) ? u.enum : (Lt = r(u.enum)) != null ? Lt : void 0;
|
|
@@ -1929,25 +1929,25 @@ function $a(n, o, s) {
|
|
|
1929
1929
|
fieldNames: u.fieldNames,
|
|
1930
1930
|
defaultValue: (pe = u.search) == null ? void 0 : pe.defaultValue,
|
|
1931
1931
|
span: (ae = u.search) == null ? void 0 : ae.span,
|
|
1932
|
-
offset: (
|
|
1932
|
+
offset: (Te = u.search) == null ? void 0 : Te.offset,
|
|
1933
1933
|
order: (Oe = u.search) == null ? void 0 : Oe.order,
|
|
1934
1934
|
render: (St = u.search) == null ? void 0 : St.render,
|
|
1935
1935
|
xs: (Ct = u.search) == null ? void 0 : Ct.xs,
|
|
1936
|
-
sm: (
|
|
1937
|
-
md: (
|
|
1936
|
+
sm: (kt = u.search) == null ? void 0 : kt.sm,
|
|
1937
|
+
md: (At = u.search) == null ? void 0 : At.md,
|
|
1938
1938
|
lg: (wt = u.search) == null ? void 0 : wt.lg,
|
|
1939
|
-
xl: (
|
|
1939
|
+
xl: (xt = u.search) == null ? void 0 : xt.xl
|
|
1940
1940
|
};
|
|
1941
1941
|
})
|
|
1942
|
-
), B =
|
|
1942
|
+
), B = D({}), q = {};
|
|
1943
1943
|
function W() {
|
|
1944
|
-
var u, b, V,
|
|
1944
|
+
var u, b, V, E, Y;
|
|
1945
1945
|
for (const J of Object.keys(B.value))
|
|
1946
1946
|
delete B.value[J];
|
|
1947
1947
|
for (const J of Object.keys(q))
|
|
1948
1948
|
delete q[J];
|
|
1949
1949
|
for (const J of p.value) {
|
|
1950
|
-
const pe = (V = (b = (u = J.search) == null ? void 0 : u.key) != null ? b : J.prop) != null ? V : "", ae = (Y = (
|
|
1950
|
+
const pe = (V = (b = (u = J.search) == null ? void 0 : u.key) != null ? b : J.prop) != null ? V : "", ae = (Y = (E = J.search) == null ? void 0 : E.defaultValue) != null ? Y : null;
|
|
1951
1951
|
B.value[pe] = ae, q[pe] = ae;
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
@@ -1958,8 +1958,8 @@ function $a(n, o, s) {
|
|
|
1958
1958
|
postData: n.postData,
|
|
1959
1959
|
requestError: n.requestError,
|
|
1960
1960
|
pagination: n.pagination,
|
|
1961
|
-
staticData:
|
|
1962
|
-
initialPageSize: (ze = (
|
|
1961
|
+
staticData: O(() => n.data),
|
|
1962
|
+
initialPageSize: (ze = (je = e.pageSize) != null ? je : i.pageSize) != null ? ze : 10
|
|
1963
1963
|
});
|
|
1964
1964
|
function ie() {
|
|
1965
1965
|
Object.assign(U, { pageNum: 1 }), K(), o("search");
|
|
@@ -1999,16 +1999,16 @@ function $a(n, o, s) {
|
|
|
1999
1999
|
var u, b;
|
|
2000
2000
|
(b = (u = A.value) == null ? void 0 : u.open) == null || b.call(u);
|
|
2001
2001
|
}
|
|
2002
|
-
return
|
|
2003
|
-
for (const u of
|
|
2002
|
+
return Fe(() => We(this, null, function* () {
|
|
2003
|
+
for (const u of H.value)
|
|
2004
2004
|
g(u);
|
|
2005
2005
|
W(), n.manualRequest || K();
|
|
2006
2006
|
})), {
|
|
2007
2007
|
props: t,
|
|
2008
2008
|
tableRef: a,
|
|
2009
|
-
formRef:
|
|
2009
|
+
formRef: k,
|
|
2010
2010
|
colSettingRef: A,
|
|
2011
|
-
flatColumns:
|
|
2011
|
+
flatColumns: H,
|
|
2012
2012
|
enumMap: h,
|
|
2013
2013
|
searchColumns: p,
|
|
2014
2014
|
quickSearchColumns: d,
|
|
@@ -2047,17 +2047,17 @@ const Ba = {
|
|
|
2047
2047
|
columns: {}
|
|
2048
2048
|
},
|
|
2049
2049
|
setup(n, { expose: o }) {
|
|
2050
|
-
const s = n, c =
|
|
2050
|
+
const s = n, c = D(!1), i = O(
|
|
2051
2051
|
() => s.columns.filter((a) => {
|
|
2052
2052
|
if (a.type && ["selection", "index", "expand", "radio", "sort"].includes(a.type))
|
|
2053
2053
|
return !1;
|
|
2054
|
-
const
|
|
2055
|
-
return
|
|
2054
|
+
const k = a.isSetting;
|
|
2055
|
+
return k === void 0 || k === !0;
|
|
2056
2056
|
})
|
|
2057
2057
|
);
|
|
2058
|
-
|
|
2059
|
-
const a = i.value.length,
|
|
2060
|
-
return
|
|
2058
|
+
O(() => i.value.every((a) => a.isShow !== !1)), O(() => {
|
|
2059
|
+
const a = i.value.length, k = i.value.filter((A) => A.isShow !== !1).length;
|
|
2060
|
+
return k > 0 && k < a;
|
|
2061
2061
|
});
|
|
2062
2062
|
const l = /* @__PURE__ */ new WeakMap();
|
|
2063
2063
|
function t() {
|
|
@@ -2071,21 +2071,21 @@ const Ba = {
|
|
|
2071
2071
|
function e() {
|
|
2072
2072
|
t(), c.value = !0;
|
|
2073
2073
|
}
|
|
2074
|
-
return o({ open: e }), (a,
|
|
2074
|
+
return o({ open: e }), (a, k) => (P(), Q(r(us), {
|
|
2075
2075
|
modelValue: c.value,
|
|
2076
|
-
"onUpdate:modelValue":
|
|
2076
|
+
"onUpdate:modelValue": k[0] || (k[0] = (A) => c.value = A),
|
|
2077
2077
|
title: "列设置",
|
|
2078
2078
|
size: "380px",
|
|
2079
2079
|
"append-to-body": !0,
|
|
2080
2080
|
class: "sy-pro-table__col-setting"
|
|
2081
2081
|
}, {
|
|
2082
2082
|
default: S(() => [
|
|
2083
|
-
|
|
2084
|
-
|
|
2083
|
+
F(" 全选 + 重置 "),
|
|
2084
|
+
F(` <div class="sy-pro-table__col-setting-toolbar">
|
|
2085
2085
|
<sy-checkbox :model-value="checkAll" :indeterminate="isIndeterminate" @change="onCheckAll"> 全部显示 </sy-checkbox>
|
|
2086
2086
|
<sy-button type="primary" link @click="onReset">重置</sy-button>
|
|
2087
2087
|
</div> `),
|
|
2088
|
-
|
|
2088
|
+
F(" 列配置表格 "),
|
|
2089
2089
|
I(r(ln), {
|
|
2090
2090
|
data: i.value,
|
|
2091
2091
|
"row-key": "prop",
|
|
@@ -2093,7 +2093,7 @@ const Ba = {
|
|
|
2093
2093
|
"default-expand-all": "",
|
|
2094
2094
|
"tree-props": { children: "_children" }
|
|
2095
2095
|
}, {
|
|
2096
|
-
empty: S(() => [...
|
|
2096
|
+
empty: S(() => [...k[1] || (k[1] = [
|
|
2097
2097
|
te(
|
|
2098
2098
|
"div",
|
|
2099
2099
|
{ style: { padding: "24px 0", color: "var(--el-text-color-secondary)", "font-size": "13px" } },
|
|
@@ -2103,7 +2103,7 @@ const Ba = {
|
|
|
2103
2103
|
)
|
|
2104
2104
|
])]),
|
|
2105
2105
|
default: S(() => [
|
|
2106
|
-
I(r(
|
|
2106
|
+
I(r(xe), {
|
|
2107
2107
|
prop: "label",
|
|
2108
2108
|
label: "列名",
|
|
2109
2109
|
align: "left",
|
|
@@ -2113,7 +2113,7 @@ const Ba = {
|
|
|
2113
2113
|
var $, M;
|
|
2114
2114
|
return [
|
|
2115
2115
|
fe(
|
|
2116
|
-
|
|
2116
|
+
ke((M = ($ = A.label) != null ? $ : A.prop) != null ? M : "—"),
|
|
2117
2117
|
1
|
|
2118
2118
|
/* TEXT */
|
|
2119
2119
|
)
|
|
@@ -2122,7 +2122,7 @@ const Ba = {
|
|
|
2122
2122
|
_: 1
|
|
2123
2123
|
/* STABLE */
|
|
2124
2124
|
}),
|
|
2125
|
-
I(r(
|
|
2125
|
+
I(r(xe), {
|
|
2126
2126
|
prop: "isShow",
|
|
2127
2127
|
label: "显示",
|
|
2128
2128
|
align: "center",
|
|
@@ -2139,7 +2139,7 @@ const Ba = {
|
|
|
2139
2139
|
_: 1
|
|
2140
2140
|
/* STABLE */
|
|
2141
2141
|
}),
|
|
2142
|
-
I(r(
|
|
2142
|
+
I(r(xe), {
|
|
2143
2143
|
prop: "sortable",
|
|
2144
2144
|
label: "排序",
|
|
2145
2145
|
align: "center",
|
|
@@ -2170,7 +2170,7 @@ const Ba = {
|
|
|
2170
2170
|
context: {}
|
|
2171
2171
|
},
|
|
2172
2172
|
setup(n, { expose: o }) {
|
|
2173
|
-
const c = n.context.flatColumns, i =
|
|
2173
|
+
const c = n.context.flatColumns, i = D();
|
|
2174
2174
|
function l() {
|
|
2175
2175
|
var t, e;
|
|
2176
2176
|
(e = (t = i.value) == null ? void 0 : t.open) == null || e.call(t);
|
|
@@ -2192,8 +2192,8 @@ const Ba = {
|
|
|
2192
2192
|
setup(n) {
|
|
2193
2193
|
const o = n, s = o.context.props, c = o.context.pageable, i = o.context.handleSizeChange, l = o.context.handleCurrentChange;
|
|
2194
2194
|
return (t, e) => r(s).pagination && r(c).total > 0 ? (P(), Z("div", Va, [
|
|
2195
|
-
|
|
2196
|
-
I(r(
|
|
2195
|
+
z(t.$slots, "pagination", {}, () => [
|
|
2196
|
+
I(r(zs), {
|
|
2197
2197
|
"current-page": r(c).pageNum,
|
|
2198
2198
|
"onUpdate:currentPage": e[0] || (e[0] = (a) => r(c).pageNum = a),
|
|
2199
2199
|
"page-size": r(c).pageSize,
|
|
@@ -2206,7 +2206,7 @@ const Ba = {
|
|
|
2206
2206
|
onCurrentChange: r(l)
|
|
2207
2207
|
}, null, 8, ["current-page", "page-size", "total", "page-sizes", "layout", "onSizeChange", "onCurrentChange"])
|
|
2208
2208
|
])
|
|
2209
|
-
])) :
|
|
2209
|
+
])) : F("v-if", !0);
|
|
2210
2210
|
}
|
|
2211
2211
|
}), bt = /* @__PURE__ */ v({
|
|
2212
2212
|
__name: "ProTableSearchRenderer",
|
|
@@ -2218,22 +2218,22 @@ const Ba = {
|
|
|
2218
2218
|
collapsible: { type: Boolean, default: !0 }
|
|
2219
2219
|
},
|
|
2220
2220
|
setup(n, { expose: o }) {
|
|
2221
|
-
const s = n, c = s.context.searchParam, i = s.context.searchSchema, l = s.context.search, t = s.context.reset, e =
|
|
2221
|
+
const s = n, c = s.context.searchParam, i = s.context.searchSchema, l = s.context.search, t = s.context.reset, e = D();
|
|
2222
2222
|
return o({
|
|
2223
2223
|
validate: (a) => {
|
|
2224
|
-
var
|
|
2225
|
-
return (A = (
|
|
2224
|
+
var k, A;
|
|
2225
|
+
return (A = (k = e.value) == null ? void 0 : k.validate) == null ? void 0 : A.call(k, a);
|
|
2226
2226
|
},
|
|
2227
2227
|
resetFields: () => {
|
|
2228
|
-
var a,
|
|
2229
|
-
return (
|
|
2228
|
+
var a, k;
|
|
2229
|
+
return (k = (a = e.value) == null ? void 0 : a.resetFields) == null ? void 0 : k.call(a);
|
|
2230
2230
|
},
|
|
2231
2231
|
clearValidate: (a) => {
|
|
2232
|
-
var
|
|
2233
|
-
return (A = (
|
|
2232
|
+
var k, A;
|
|
2233
|
+
return (A = (k = e.value) == null ? void 0 : k.clearValidate) == null ? void 0 : A.call(k, a);
|
|
2234
2234
|
},
|
|
2235
2235
|
formRef: e
|
|
2236
|
-
}), (a,
|
|
2236
|
+
}), (a, k) => (P(), Q(r(Ra), {
|
|
2237
2237
|
ref_key: "innerFormRef",
|
|
2238
2238
|
ref: e,
|
|
2239
2239
|
model: r(c),
|
|
@@ -2253,10 +2253,10 @@ const Ba = {
|
|
|
2253
2253
|
},
|
|
2254
2254
|
emits: ["radioChange"],
|
|
2255
2255
|
setup(n) {
|
|
2256
|
-
const o = n, s =
|
|
2256
|
+
const o = n, s = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), c = Ae("proTableSlots", {}), i = O(() => {
|
|
2257
2257
|
const h = o.column.isShow;
|
|
2258
2258
|
return h === void 0 ? !0 : r(h);
|
|
2259
|
-
}), l =
|
|
2259
|
+
}), l = O(() => {
|
|
2260
2260
|
var g, p, d, f;
|
|
2261
2261
|
const h = o.column.enum;
|
|
2262
2262
|
return typeof h == "function" ? (p = s.value.get((g = o.column.prop) != null ? g : "")) != null ? p : [] : h ? r(h) : (f = s.value.get((d = o.column.prop) != null ? d : "")) != null ? f : [];
|
|
@@ -2274,7 +2274,7 @@ const Ba = {
|
|
|
2274
2274
|
function a(h) {
|
|
2275
2275
|
return h.split(".").reduce((p, d, f) => f === 0 ? p + d : p + d.charAt(0).toUpperCase() + d.slice(1), "");
|
|
2276
2276
|
}
|
|
2277
|
-
function
|
|
2277
|
+
function k(h) {
|
|
2278
2278
|
var q;
|
|
2279
2279
|
const { column: g } = o;
|
|
2280
2280
|
if (g.render)
|
|
@@ -2325,7 +2325,7 @@ const Ba = {
|
|
|
2325
2325
|
setup(h) {
|
|
2326
2326
|
return () => A(h.scope);
|
|
2327
2327
|
}
|
|
2328
|
-
}),
|
|
2328
|
+
}), H = v({
|
|
2329
2329
|
name: "ProTableCellRenderer",
|
|
2330
2330
|
props: {
|
|
2331
2331
|
scope: {
|
|
@@ -2334,7 +2334,7 @@ const Ba = {
|
|
|
2334
2334
|
}
|
|
2335
2335
|
},
|
|
2336
2336
|
setup(h) {
|
|
2337
|
-
return () =>
|
|
2337
|
+
return () => k(h.scope);
|
|
2338
2338
|
}
|
|
2339
2339
|
});
|
|
2340
2340
|
return (h, g) => {
|
|
@@ -2344,8 +2344,8 @@ const Ba = {
|
|
|
2344
2344
|
de,
|
|
2345
2345
|
{ key: 0 },
|
|
2346
2346
|
[
|
|
2347
|
-
|
|
2348
|
-
(d = n.column.children) != null && d.length ? (P(), Q(r(
|
|
2347
|
+
F(" 多级表头 "),
|
|
2348
|
+
(d = n.column.children) != null && d.length ? (P(), Q(r(xe), {
|
|
2349
2349
|
key: 0,
|
|
2350
2350
|
label: n.column.label,
|
|
2351
2351
|
align: n.column.align
|
|
@@ -2354,7 +2354,7 @@ const Ba = {
|
|
|
2354
2354
|
(P(!0), Z(
|
|
2355
2355
|
de,
|
|
2356
2356
|
null,
|
|
2357
|
-
|
|
2357
|
+
Ve(n.column.children, (f) => {
|
|
2358
2358
|
var B;
|
|
2359
2359
|
return P(), Q(p, {
|
|
2360
2360
|
key: (B = f.prop) != null ? B : f.label,
|
|
@@ -2371,10 +2371,10 @@ const Ba = {
|
|
|
2371
2371
|
de,
|
|
2372
2372
|
{ key: 1 },
|
|
2373
2373
|
[
|
|
2374
|
-
|
|
2374
|
+
F(" 特殊列:selection / index(自闭合,无需 slot) "),
|
|
2375
2375
|
I(
|
|
2376
|
-
r(
|
|
2377
|
-
|
|
2376
|
+
r(xe),
|
|
2377
|
+
we(ot(n.column)),
|
|
2378
2378
|
null,
|
|
2379
2379
|
16
|
|
2380
2380
|
/* FULL_PROPS */
|
|
@@ -2386,10 +2386,10 @@ const Ba = {
|
|
|
2386
2386
|
de,
|
|
2387
2387
|
{ key: 2 },
|
|
2388
2388
|
[
|
|
2389
|
-
|
|
2389
|
+
F(" expand 列:必须通过 #default slot 提供展开行内容 "),
|
|
2390
2390
|
I(
|
|
2391
|
-
r(
|
|
2392
|
-
|
|
2391
|
+
r(xe),
|
|
2392
|
+
we(ot(n.column)),
|
|
2393
2393
|
{
|
|
2394
2394
|
default: S((f) => [
|
|
2395
2395
|
I(r($), { scope: f }, null, 8, ["scope"])
|
|
@@ -2407,10 +2407,10 @@ const Ba = {
|
|
|
2407
2407
|
de,
|
|
2408
2408
|
{ key: 3 },
|
|
2409
2409
|
[
|
|
2410
|
-
|
|
2410
|
+
F(" radio 列 "),
|
|
2411
2411
|
I(
|
|
2412
|
-
r(
|
|
2413
|
-
|
|
2412
|
+
r(xe),
|
|
2413
|
+
C(n.column, {
|
|
2414
2414
|
width: "60",
|
|
2415
2415
|
align: "center"
|
|
2416
2416
|
}),
|
|
@@ -2436,10 +2436,10 @@ const Ba = {
|
|
|
2436
2436
|
de,
|
|
2437
2437
|
{ key: 4 },
|
|
2438
2438
|
[
|
|
2439
|
-
|
|
2439
|
+
F(" sort 列(拖拽手柄) "),
|
|
2440
2440
|
I(
|
|
2441
|
-
r(
|
|
2442
|
-
|
|
2441
|
+
r(xe),
|
|
2442
|
+
C(n.column, {
|
|
2443
2443
|
width: "60",
|
|
2444
2444
|
align: "center",
|
|
2445
2445
|
label: "排序"
|
|
@@ -2476,16 +2476,16 @@ const Ba = {
|
|
|
2476
2476
|
de,
|
|
2477
2477
|
{ key: 5 },
|
|
2478
2478
|
[
|
|
2479
|
-
|
|
2479
|
+
F(" 普通列 "),
|
|
2480
2480
|
I(
|
|
2481
|
-
r(
|
|
2482
|
-
|
|
2481
|
+
r(xe),
|
|
2482
|
+
we(ot(n.column)),
|
|
2483
2483
|
{
|
|
2484
2484
|
header: S((f) => [
|
|
2485
2485
|
I(r(M), { scope: f }, null, 8, ["scope"])
|
|
2486
2486
|
]),
|
|
2487
2487
|
default: S((f) => [
|
|
2488
|
-
I(r(
|
|
2488
|
+
I(r(H), { scope: f }, null, 8, ["scope"])
|
|
2489
2489
|
]),
|
|
2490
2490
|
_: 1
|
|
2491
2491
|
/* STABLE */
|
|
@@ -2500,7 +2500,7 @@ const Ba = {
|
|
|
2500
2500
|
],
|
|
2501
2501
|
64
|
|
2502
2502
|
/* STABLE_FRAGMENT */
|
|
2503
|
-
)) :
|
|
2503
|
+
)) : F("v-if", !0);
|
|
2504
2504
|
};
|
|
2505
2505
|
}
|
|
2506
2506
|
}), Ia = { class: "sy-pro-table__table" }, Fa = { class: "sy-pro-table__empty" }, gt = /* @__PURE__ */ v({
|
|
@@ -2512,11 +2512,11 @@ const Ba = {
|
|
|
2512
2512
|
onDragSort: { type: Function }
|
|
2513
2513
|
},
|
|
2514
2514
|
setup(n) {
|
|
2515
|
-
const o = n, s = o.context.props, c =
|
|
2515
|
+
const o = n, s = o.context.props, c = O(() => o.tableHeight), i = O(() => o.tableMaxHeight), l = o.context.tableRef, t = o.context.loading, e = o.context.tableData, a = o.context.flatColumns, k = o.context.selectionChange, A = o.context.onSortChange, $ = o.context.onRadioChange;
|
|
2516
2516
|
function M(h) {
|
|
2517
2517
|
l.value = h;
|
|
2518
2518
|
}
|
|
2519
|
-
function
|
|
2519
|
+
function H() {
|
|
2520
2520
|
var p;
|
|
2521
2521
|
if (!s.columns.some((d) => d.type === "sort") || !l.value)
|
|
2522
2522
|
return;
|
|
@@ -2533,15 +2533,15 @@ const Ba = {
|
|
|
2533
2533
|
}
|
|
2534
2534
|
});
|
|
2535
2535
|
}
|
|
2536
|
-
return
|
|
2537
|
-
|
|
2536
|
+
return Fe(() => {
|
|
2537
|
+
Be(() => H());
|
|
2538
2538
|
}), (h, g) => (P(), Z(
|
|
2539
2539
|
de,
|
|
2540
2540
|
null,
|
|
2541
2541
|
[
|
|
2542
|
-
|
|
2542
|
+
F(" wrapper 保证 querySelector 能找到 .sy-pro-table__table,height 直接传给 el-table "),
|
|
2543
2543
|
te("div", Ia, [
|
|
2544
|
-
|
|
2544
|
+
et((P(), Q(r(ln), {
|
|
2545
2545
|
ref: M,
|
|
2546
2546
|
height: c.value,
|
|
2547
2547
|
"max-height": i.value,
|
|
@@ -2551,25 +2551,25 @@ const Ba = {
|
|
|
2551
2551
|
"row-key": r(s).rowKey,
|
|
2552
2552
|
size: r(s).size,
|
|
2553
2553
|
"highlight-current-row": r(s).highlightCurrentRow,
|
|
2554
|
-
onSelectionChange: r(
|
|
2554
|
+
onSelectionChange: r(k),
|
|
2555
2555
|
onSortChange: r(A)
|
|
2556
2556
|
}, {
|
|
2557
2557
|
append: S(() => [
|
|
2558
|
-
|
|
2558
|
+
z(h.$slots, "append")
|
|
2559
2559
|
]),
|
|
2560
2560
|
empty: S(() => [
|
|
2561
|
-
|
|
2561
|
+
z(h.$slots, "empty", {}, () => [
|
|
2562
2562
|
te("div", Fa, [
|
|
2563
2563
|
I(r(hs), { description: "暂无数据" })
|
|
2564
2564
|
])
|
|
2565
2565
|
])
|
|
2566
2566
|
]),
|
|
2567
2567
|
default: S(() => [
|
|
2568
|
-
|
|
2568
|
+
z(h.$slots, "default"),
|
|
2569
2569
|
(P(!0), Z(
|
|
2570
2570
|
de,
|
|
2571
2571
|
null,
|
|
2572
|
-
|
|
2572
|
+
Ve(r(a), (p) => {
|
|
2573
2573
|
var d, f;
|
|
2574
2574
|
return P(), Q(Ma, {
|
|
2575
2575
|
key: (f = (d = p.prop) != null ? d : p.label) != null ? f : p.type,
|
|
@@ -2595,7 +2595,7 @@ const Ba = {
|
|
|
2595
2595
|
}), Da = {
|
|
2596
2596
|
key: 0,
|
|
2597
2597
|
class: "sy-pro-table__search"
|
|
2598
|
-
},
|
|
2598
|
+
}, za = { class: "sy-pro-table__main" }, Oa = { class: "sy-pro-table__header" }, Na = { class: "sy-pro-table__header-left" }, Ha = { class: "sy-pro-table__header-right" }, Ea = /* @__PURE__ */ v({
|
|
2599
2599
|
__name: "ClassicLayout",
|
|
2600
2600
|
props: {
|
|
2601
2601
|
context: {},
|
|
@@ -2603,7 +2603,7 @@ const Ba = {
|
|
|
2603
2603
|
},
|
|
2604
2604
|
setup(n) {
|
|
2605
2605
|
var G;
|
|
2606
|
-
const o = n, s = o.context.props, c = o.context.isShowSearch, i = o.context.searchColumns, l = o.context.selectedList, t = o.context.selectedListIds, e = o.context.isSelected, a = o.context.getTableList,
|
|
2606
|
+
const o = n, s = o.context.props, c = o.context.isShowSearch, i = o.context.searchColumns, l = o.context.selectedList, t = o.context.selectedListIds, e = o.context.isSelected, a = o.context.getTableList, k = o.context.openColSetting, A = o.context.toggleSearch, $ = o.context.showToolBtn, M = o.context.formRef, H = o.context.colSettingRef, h = D(), g = D(void 0), p = D(void 0), d = (G = Ae(He, {}).proTable) != null ? G : {};
|
|
2607
2607
|
function f() {
|
|
2608
2608
|
var re, me;
|
|
2609
2609
|
const U = h.value;
|
|
@@ -2630,18 +2630,18 @@ const Ba = {
|
|
|
2630
2630
|
}
|
|
2631
2631
|
g.value = void 0, p.value = f();
|
|
2632
2632
|
}
|
|
2633
|
-
|
|
2633
|
+
Ie(c, () => Be(B));
|
|
2634
2634
|
let q = null;
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
}),
|
|
2635
|
+
Fe(() => {
|
|
2636
|
+
Be(B), window.addEventListener("resize", B), h.value && (q = new ResizeObserver(B), q.observe(h.value));
|
|
2637
|
+
}), Xe(() => {
|
|
2638
2638
|
window.removeEventListener("resize", B), q == null || q.disconnect();
|
|
2639
2639
|
});
|
|
2640
2640
|
function W(U) {
|
|
2641
2641
|
M.value = U;
|
|
2642
2642
|
}
|
|
2643
2643
|
function j(U) {
|
|
2644
|
-
|
|
2644
|
+
H.value = U;
|
|
2645
2645
|
}
|
|
2646
2646
|
return (U, K) => (P(), Z(
|
|
2647
2647
|
"div",
|
|
@@ -2657,23 +2657,25 @@ const Ba = {
|
|
|
2657
2657
|
context: n.context,
|
|
2658
2658
|
cols: r(s).searchCols
|
|
2659
2659
|
}, null, 8, ["context", "cols"])
|
|
2660
|
-
])) :
|
|
2661
|
-
te("div",
|
|
2662
|
-
te("div",
|
|
2663
|
-
te("div",
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
r(e) ?
|
|
2660
|
+
])) : F("v-if", !0),
|
|
2661
|
+
te("div", za, [
|
|
2662
|
+
te("div", Oa, [
|
|
2663
|
+
te("div", Na, [
|
|
2664
|
+
F(" 业务操作按钮(新增/导出等),始终可见 "),
|
|
2665
|
+
z(U.$slots, "busActions"),
|
|
2666
|
+
F(" 批量操作,仅在有选中行时追加显示 "),
|
|
2667
|
+
r(e) ? z(U.$slots, "batchActions", {
|
|
2668
2668
|
key: 0,
|
|
2669
2669
|
selectedList: r(l),
|
|
2670
2670
|
selectedListIds: r(t),
|
|
2671
2671
|
isSelected: r(e)
|
|
2672
|
-
}) :
|
|
2672
|
+
}) : F("v-if", !0)
|
|
2673
2673
|
]),
|
|
2674
|
-
te("div",
|
|
2675
|
-
|
|
2676
|
-
|
|
2674
|
+
te("div", Ha, [
|
|
2675
|
+
F(" 用户自定义工具按钮(追加在系统按钮之前) "),
|
|
2676
|
+
z(U.$slots, "toolButton"),
|
|
2677
|
+
F(" 系统工具按钮,始终渲染 "),
|
|
2678
|
+
r($)("refresh") ? (P(), Q(r($e), {
|
|
2677
2679
|
key: 0,
|
|
2678
2680
|
content: "刷新",
|
|
2679
2681
|
placement: "top"
|
|
@@ -2687,8 +2689,8 @@ const Ba = {
|
|
|
2687
2689
|
]),
|
|
2688
2690
|
_: 1
|
|
2689
2691
|
/* STABLE */
|
|
2690
|
-
})) :
|
|
2691
|
-
r($)("setting") ? (P(), Q(r(
|
|
2692
|
+
})) : F("v-if", !0),
|
|
2693
|
+
r($)("setting") ? (P(), Q(r($e), {
|
|
2692
2694
|
key: 1,
|
|
2693
2695
|
content: "列设置",
|
|
2694
2696
|
placement: "top"
|
|
@@ -2697,13 +2699,13 @@ const Ba = {
|
|
|
2697
2699
|
I(r(le), {
|
|
2698
2700
|
icon: r(tn),
|
|
2699
2701
|
circle: "",
|
|
2700
|
-
onClick: r(
|
|
2702
|
+
onClick: r(k)
|
|
2701
2703
|
}, null, 8, ["icon", "onClick"])
|
|
2702
2704
|
]),
|
|
2703
2705
|
_: 1
|
|
2704
2706
|
/* STABLE */
|
|
2705
|
-
})) :
|
|
2706
|
-
r(s).showSearch && r($)("search") && r(i).length > 0 ? (P(), Q(r(
|
|
2707
|
+
})) : F("v-if", !0),
|
|
2708
|
+
r(s).showSearch && r($)("search") && r(i).length > 0 ? (P(), Q(r($e), {
|
|
2707
2709
|
key: 2,
|
|
2708
2710
|
content: "搜索",
|
|
2709
2711
|
placement: "top"
|
|
@@ -2717,7 +2719,7 @@ const Ba = {
|
|
|
2717
2719
|
]),
|
|
2718
2720
|
_: 1
|
|
2719
2721
|
/* STABLE */
|
|
2720
|
-
})) :
|
|
2722
|
+
})) : F("v-if", !0)
|
|
2721
2723
|
])
|
|
2722
2724
|
]),
|
|
2723
2725
|
I(gt, {
|
|
@@ -2727,20 +2729,20 @@ const Ba = {
|
|
|
2727
2729
|
"on-drag-sort": n.onDragSort
|
|
2728
2730
|
}, {
|
|
2729
2731
|
append: S(() => [
|
|
2730
|
-
|
|
2732
|
+
z(U.$slots, "append")
|
|
2731
2733
|
]),
|
|
2732
2734
|
empty: S(() => [
|
|
2733
|
-
|
|
2735
|
+
z(U.$slots, "empty")
|
|
2734
2736
|
]),
|
|
2735
2737
|
default: S(() => [
|
|
2736
|
-
|
|
2738
|
+
z(U.$slots, "default")
|
|
2737
2739
|
]),
|
|
2738
2740
|
_: 3
|
|
2739
2741
|
/* FORWARDED */
|
|
2740
2742
|
}, 8, ["context", "table-height", "table-max-height", "on-drag-sort"]),
|
|
2741
2743
|
I(yt, { context: n.context }, {
|
|
2742
2744
|
pagination: S(() => [
|
|
2743
|
-
|
|
2745
|
+
z(U.$slots, "pagination")
|
|
2744
2746
|
]),
|
|
2745
2747
|
_: 3
|
|
2746
2748
|
/* FORWARDED */
|
|
@@ -2765,8 +2767,8 @@ const Ba = {
|
|
|
2765
2767
|
},
|
|
2766
2768
|
emits: ["search", "remove", "update:modelValue"],
|
|
2767
2769
|
setup(n, { emit: o }) {
|
|
2768
|
-
const s = n, c = o, i =
|
|
2769
|
-
var
|
|
2770
|
+
const s = n, c = o, i = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), l = O(() => {
|
|
2771
|
+
var k, A, $, M, H, h, g;
|
|
2770
2772
|
const e = s.column, a = (() => {
|
|
2771
2773
|
var p, d, f, B, q, W, j;
|
|
2772
2774
|
if (((p = e.search) == null ? void 0 : p.options) !== void 0) {
|
|
@@ -2777,10 +2779,10 @@ const Ba = {
|
|
|
2777
2779
|
return typeof e.enum == "function" ? (W = i.value.get((q = e.prop) != null ? q : "")) != null ? W : void 0 : Array.isArray(e.enum) ? e.enum : (j = r(e.enum)) != null ? j : void 0;
|
|
2778
2780
|
})();
|
|
2779
2781
|
return {
|
|
2780
|
-
field: ($ = (A = (
|
|
2782
|
+
field: ($ = (A = (k = e.search) == null ? void 0 : k.key) != null ? A : e.prop) != null ? $ : "",
|
|
2781
2783
|
label: e.label,
|
|
2782
2784
|
component: (M = e.search) == null ? void 0 : M.component,
|
|
2783
|
-
props: ce(
|
|
2785
|
+
props: ce(N({}, (H = e.search) == null ? void 0 : H.props), {
|
|
2784
2786
|
clearable: !1
|
|
2785
2787
|
}),
|
|
2786
2788
|
options: a,
|
|
@@ -2793,7 +2795,7 @@ const Ba = {
|
|
|
2793
2795
|
c("update:modelValue", e);
|
|
2794
2796
|
}
|
|
2795
2797
|
return (e, a) => {
|
|
2796
|
-
var
|
|
2798
|
+
var k, A, $;
|
|
2797
2799
|
return P(), Z(
|
|
2798
2800
|
"div",
|
|
2799
2801
|
{
|
|
@@ -2805,7 +2807,7 @@ const Ba = {
|
|
|
2805
2807
|
"div",
|
|
2806
2808
|
{
|
|
2807
2809
|
class: "sy-pro-table__custom-filter-chip-control",
|
|
2808
|
-
style:
|
|
2810
|
+
style: _e({ width: `${($ = (A = (k = s.column.search) == null ? void 0 : k.chipWidth) != null ? A : s.width) != null ? $ : 100}px` })
|
|
2809
2811
|
},
|
|
2810
2812
|
[
|
|
2811
2813
|
I(ht, {
|
|
@@ -2845,13 +2847,13 @@ const Ba = {
|
|
|
2845
2847
|
},
|
|
2846
2848
|
emits: ["search", "update:modelValue"],
|
|
2847
2849
|
setup(n, { emit: o }) {
|
|
2848
|
-
const s = n, c = o, i =
|
|
2850
|
+
const s = n, c = o, i = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), l = O(() => {
|
|
2849
2851
|
var A;
|
|
2850
|
-
const a = (A = s.column.search) == null ? void 0 : A.quick,
|
|
2851
|
-
return { width: typeof
|
|
2852
|
-
}), t =
|
|
2853
|
-
var A, $, M,
|
|
2854
|
-
const a = s.column,
|
|
2852
|
+
const a = (A = s.column.search) == null ? void 0 : A.quick, k = typeof a == "object" && (a == null ? void 0 : a.width) || 220;
|
|
2853
|
+
return { width: typeof k == "number" ? `${k}px` : k };
|
|
2854
|
+
}), t = O(() => {
|
|
2855
|
+
var A, $, M, H, h, g, p;
|
|
2856
|
+
const a = s.column, k = (() => {
|
|
2855
2857
|
var d, f, B, q, W, j, G;
|
|
2856
2858
|
if (((d = a.search) == null ? void 0 : d.options) !== void 0) {
|
|
2857
2859
|
const U = a.search.options;
|
|
@@ -2863,9 +2865,9 @@ const Ba = {
|
|
|
2863
2865
|
return {
|
|
2864
2866
|
field: (M = ($ = (A = a.search) == null ? void 0 : A.key) != null ? $ : a.prop) != null ? M : "",
|
|
2865
2867
|
label: a.label,
|
|
2866
|
-
component: (
|
|
2868
|
+
component: (H = a.search) == null ? void 0 : H.component,
|
|
2867
2869
|
props: (h = a.search) == null ? void 0 : h.props,
|
|
2868
|
-
options:
|
|
2870
|
+
options: k,
|
|
2869
2871
|
fieldNames: a.fieldNames,
|
|
2870
2872
|
defaultValue: (g = a.search) == null ? void 0 : g.defaultValue,
|
|
2871
2873
|
render: (p = a.search) == null ? void 0 : p.render
|
|
@@ -2874,12 +2876,12 @@ const Ba = {
|
|
|
2874
2876
|
function e(a) {
|
|
2875
2877
|
c("update:modelValue", a);
|
|
2876
2878
|
}
|
|
2877
|
-
return (a,
|
|
2879
|
+
return (a, k) => (P(), Z(
|
|
2878
2880
|
"div",
|
|
2879
2881
|
{
|
|
2880
2882
|
class: "sy-pro-table__unify-quick",
|
|
2881
|
-
style:
|
|
2882
|
-
onKeyup:
|
|
2883
|
+
style: _e(l.value),
|
|
2884
|
+
onKeyup: k[0] || (k[0] = jt((A) => c("search"), ["enter"]))
|
|
2883
2885
|
},
|
|
2884
2886
|
[
|
|
2885
2887
|
I(ht, {
|
|
@@ -2911,16 +2913,16 @@ const Ba = {
|
|
|
2911
2913
|
(P(!0), Z(
|
|
2912
2914
|
de,
|
|
2913
2915
|
null,
|
|
2914
|
-
|
|
2915
|
-
var e, a,
|
|
2916
|
+
Ve(n.quickSearchColumns, (t) => {
|
|
2917
|
+
var e, a, k, A, $;
|
|
2916
2918
|
return P(), Q(cn, {
|
|
2917
2919
|
key: (a = (e = t.search) == null ? void 0 : e.key) != null ? a : t.prop,
|
|
2918
|
-
"model-value": n.searchParam[($ = (A = (
|
|
2920
|
+
"model-value": n.searchParam[($ = (A = (k = t.search) == null ? void 0 : k.key) != null ? A : t.prop) != null ? $ : ""],
|
|
2919
2921
|
column: t,
|
|
2920
2922
|
model: n.searchParam,
|
|
2921
2923
|
"onUpdate:modelValue": (M) => {
|
|
2922
|
-
var
|
|
2923
|
-
return s("updateParam", (g = (h = (
|
|
2924
|
+
var H, h, g;
|
|
2925
|
+
return s("updateParam", (g = (h = (H = t.search) == null ? void 0 : H.key) != null ? h : t.prop) != null ? g : "", M);
|
|
2924
2926
|
},
|
|
2925
2927
|
onSearch: c
|
|
2926
2928
|
}, null, 8, ["model-value", "column", "model", "onUpdate:modelValue"]);
|
|
@@ -2928,7 +2930,7 @@ const Ba = {
|
|
|
2928
2930
|
128
|
|
2929
2931
|
/* KEYED_FRAGMENT */
|
|
2930
2932
|
)),
|
|
2931
|
-
I(r(
|
|
2933
|
+
I(r($e), {
|
|
2932
2934
|
content: "查询",
|
|
2933
2935
|
placement: "top"
|
|
2934
2936
|
}, {
|
|
@@ -2942,7 +2944,7 @@ const Ba = {
|
|
|
2942
2944
|
_: 1
|
|
2943
2945
|
/* STABLE */
|
|
2944
2946
|
}),
|
|
2945
|
-
n.showAdvanced ? (P(), Q(r(
|
|
2947
|
+
n.showAdvanced ? (P(), Q(r($e), {
|
|
2946
2948
|
key: 0,
|
|
2947
2949
|
content: "高级筛选",
|
|
2948
2950
|
placement: "top"
|
|
@@ -2956,7 +2958,7 @@ const Ba = {
|
|
|
2956
2958
|
]),
|
|
2957
2959
|
_: 1
|
|
2958
2960
|
/* STABLE */
|
|
2959
|
-
})) :
|
|
2961
|
+
})) : F("v-if", !0)
|
|
2960
2962
|
]));
|
|
2961
2963
|
}
|
|
2962
2964
|
}), Ka = { class: "sy-pro-table__custom-panel-inner" }, ja = { class: "sy-pro-table__custom-panel-footer" }, Wa = /* @__PURE__ */ v({
|
|
@@ -2969,7 +2971,7 @@ const Ba = {
|
|
|
2969
2971
|
},
|
|
2970
2972
|
emits: ["close", "panelSearch"],
|
|
2971
2973
|
setup(n, { emit: o }) {
|
|
2972
|
-
const s = n, c = o, i =
|
|
2974
|
+
const s = n, c = o, i = O(() => {
|
|
2973
2975
|
const h = typeof s.cols == "number" ? s.cols : 1;
|
|
2974
2976
|
return { width: `${Math.max(360, h * 280 + 32)}px` };
|
|
2975
2977
|
}), l = s.context.search, t = s.context.reset;
|
|
@@ -2979,12 +2981,12 @@ const Ba = {
|
|
|
2979
2981
|
function a() {
|
|
2980
2982
|
t(), c("close");
|
|
2981
2983
|
}
|
|
2982
|
-
const
|
|
2984
|
+
const k = s.context.formRef, A = D();
|
|
2983
2985
|
function $(h) {
|
|
2984
|
-
|
|
2986
|
+
k.value = h;
|
|
2985
2987
|
}
|
|
2986
2988
|
let M = null;
|
|
2987
|
-
function
|
|
2989
|
+
function H(h) {
|
|
2988
2990
|
var p;
|
|
2989
2991
|
const g = h.composedPath();
|
|
2990
2992
|
for (const d of g) {
|
|
@@ -2994,11 +2996,11 @@ const Ba = {
|
|
|
2994
2996
|
}
|
|
2995
2997
|
c("close");
|
|
2996
2998
|
}
|
|
2997
|
-
return
|
|
2999
|
+
return Ie(
|
|
2998
3000
|
() => s.visible,
|
|
2999
3001
|
(h) => {
|
|
3000
|
-
M == null || M(), M = null, h &&
|
|
3001
|
-
document.addEventListener("mousedown",
|
|
3002
|
+
M == null || M(), M = null, h && Be(() => {
|
|
3003
|
+
document.addEventListener("mousedown", H, !0), M = () => document.removeEventListener("mousedown", H, !0);
|
|
3002
3004
|
});
|
|
3003
3005
|
}
|
|
3004
3006
|
), dt(() => M == null ? void 0 : M()), (h, g) => (P(), Q(pt, {
|
|
@@ -3006,13 +3008,13 @@ const Ba = {
|
|
|
3006
3008
|
persisted: ""
|
|
3007
3009
|
}, {
|
|
3008
3010
|
default: S(() => [
|
|
3009
|
-
|
|
3011
|
+
et(te(
|
|
3010
3012
|
"div",
|
|
3011
3013
|
{
|
|
3012
3014
|
ref_key: "panelRootRef",
|
|
3013
3015
|
ref: A,
|
|
3014
3016
|
class: "sy-pro-table__custom-panel",
|
|
3015
|
-
style:
|
|
3017
|
+
style: _e(i.value)
|
|
3016
3018
|
},
|
|
3017
3019
|
[
|
|
3018
3020
|
te("div", Ka, [
|
|
@@ -3071,46 +3073,46 @@ const Ba = {
|
|
|
3071
3073
|
},
|
|
3072
3074
|
setup(n) {
|
|
3073
3075
|
var ze;
|
|
3074
|
-
const o = n, s = o.context.props, c = o.context.isShowSearch, i = o.context.searchColumns, l = o.context.quickSearchColumns, t = o.context.searchParam, e = o.context.selectedList, a = o.context.selectedListIds,
|
|
3076
|
+
const o = n, s = o.context.props, c = o.context.isShowSearch, i = o.context.searchColumns, l = o.context.quickSearchColumns, t = o.context.searchParam, e = o.context.selectedList, a = o.context.selectedListIds, k = o.context.isSelected, A = o.context.search, $ = o.context.toggleSearch, M = o.context.showToolBtn, H = o.context.getTableList, h = o.context.openColSetting, g = o.context.colSettingRef, p = o.context.clearSelection, d = o.context.searchInitParam, f = O(() => !!s.showSearch && c.value && i.value.length > 0), B = O(() => {
|
|
3075
3077
|
const u = new Set(l.value.map((b) => {
|
|
3076
|
-
var V,
|
|
3077
|
-
return (Y = (
|
|
3078
|
+
var V, E, Y;
|
|
3079
|
+
return (Y = (E = (V = b.search) == null ? void 0 : V.key) != null ? E : b.prop) != null ? Y : "";
|
|
3078
3080
|
}));
|
|
3079
3081
|
return i.value.filter((b) => {
|
|
3080
|
-
var V,
|
|
3081
|
-
return !u.has((Y = (
|
|
3082
|
+
var V, E, Y;
|
|
3083
|
+
return !u.has((Y = (E = (V = b.search) == null ? void 0 : V.key) != null ? E : b.prop) != null ? Y : "");
|
|
3082
3084
|
});
|
|
3083
|
-
}), q =
|
|
3084
|
-
var
|
|
3085
|
-
const b = (J = (Y = (
|
|
3085
|
+
}), q = D(/* @__PURE__ */ new Set()), W = O(() => B.value.map((u) => {
|
|
3086
|
+
var E, Y, J;
|
|
3087
|
+
const b = (J = (Y = (E = u.search) == null ? void 0 : E.key) != null ? Y : u.prop) != null ? J : "";
|
|
3086
3088
|
if (!q.value.has(b))
|
|
3087
3089
|
return null;
|
|
3088
3090
|
const V = t.value[b];
|
|
3089
3091
|
return V == null || V === "" || Array.isArray(V) && V.length === 0 ? null : { key: b, column: u };
|
|
3090
|
-
}).filter((u) => u !== null)), j =
|
|
3092
|
+
}).filter((u) => u !== null)), j = O(() => {
|
|
3091
3093
|
var b;
|
|
3092
3094
|
const u = (b = s.filterChipMax) != null ? b : 3;
|
|
3093
3095
|
return W.value.slice(0, u);
|
|
3094
|
-
}), G =
|
|
3096
|
+
}), G = O(() => {
|
|
3095
3097
|
var b;
|
|
3096
3098
|
const u = (b = s.filterChipMax) != null ? b : 3;
|
|
3097
3099
|
return W.value.slice(u);
|
|
3098
|
-
}), U =
|
|
3100
|
+
}), U = D(!1), K = D(), se = D(null), ne = D(null), ie = O(() => {
|
|
3099
3101
|
const u = ne.value, b = m.value;
|
|
3100
3102
|
if (!u || !b)
|
|
3101
3103
|
return { left: "16px" };
|
|
3102
|
-
const V = b.getBoundingClientRect(),
|
|
3103
|
-
return { left: `${Math.round(
|
|
3104
|
+
const V = b.getBoundingClientRect(), E = u.getBoundingClientRect();
|
|
3105
|
+
return { left: `${Math.round(E.left - V.left)}px` };
|
|
3104
3106
|
});
|
|
3105
3107
|
function X() {
|
|
3106
3108
|
U.value = !U.value;
|
|
3107
3109
|
}
|
|
3108
|
-
|
|
3110
|
+
Ie(G, (u) => {
|
|
3109
3111
|
u.length === 0 && (U.value = !1);
|
|
3110
3112
|
});
|
|
3111
3113
|
function ue(u) {
|
|
3112
|
-
var
|
|
3113
|
-
const b = u.composedPath(), V = (Y = (
|
|
3114
|
+
var E, Y, J;
|
|
3115
|
+
const b = u.composedPath(), V = (Y = (E = se.value) == null ? void 0 : E.$el) != null ? Y : se.value;
|
|
3114
3116
|
for (const pe of b) {
|
|
3115
3117
|
const ae = pe;
|
|
3116
3118
|
if (ae != null && ae.classList && (ae === K.value || (J = V == null ? void 0 : V.contains) != null && J.call(V, ae) || ae === V || ae.classList.contains("el-popper") || ae.classList.contains("el-overlay") || ae.classList.contains("el-picker__popper") || ae.classList.contains("el-select__popper") || ae.classList.contains("el-select-dropdown") || ae.classList.contains("el-date-picker") || ae.classList.contains("el-date-range-picker")))
|
|
@@ -3119,16 +3121,16 @@ const Ba = {
|
|
|
3119
3121
|
U.value = !1;
|
|
3120
3122
|
}
|
|
3121
3123
|
let re = null;
|
|
3122
|
-
|
|
3123
|
-
re == null || re(), re = null, u &&
|
|
3124
|
+
Ie(U, (u) => {
|
|
3125
|
+
re == null || re(), re = null, u && Be(() => {
|
|
3124
3126
|
document.addEventListener("mousedown", ue, !0), re = () => document.removeEventListener("mousedown", ue, !0);
|
|
3125
3127
|
});
|
|
3126
3128
|
}), dt(() => re == null ? void 0 : re());
|
|
3127
3129
|
function me() {
|
|
3128
3130
|
q.value = new Set(
|
|
3129
3131
|
B.value.map((u) => {
|
|
3130
|
-
var b, V,
|
|
3131
|
-
return (
|
|
3132
|
+
var b, V, E;
|
|
3133
|
+
return (E = (V = (b = u.search) == null ? void 0 : b.key) != null ? V : u.prop) != null ? E : "";
|
|
3132
3134
|
}).filter((u) => {
|
|
3133
3135
|
const b = t.value[u];
|
|
3134
3136
|
return b != null && b !== "" && !(Array.isArray(b) && b.length === 0);
|
|
@@ -3144,21 +3146,21 @@ const Ba = {
|
|
|
3144
3146
|
}
|
|
3145
3147
|
function Ce() {
|
|
3146
3148
|
B.value.forEach((u) => {
|
|
3147
|
-
var V,
|
|
3148
|
-
const b = (Y = (
|
|
3149
|
+
var V, E, Y, J;
|
|
3150
|
+
const b = (Y = (E = (V = u.search) == null ? void 0 : V.key) != null ? E : u.prop) != null ? Y : "";
|
|
3149
3151
|
t.value[b] = (J = d[b]) != null ? J : void 0;
|
|
3150
3152
|
}), q.value.clear(), A();
|
|
3151
3153
|
}
|
|
3152
|
-
const m =
|
|
3154
|
+
const m = D(), L = D(void 0), T = D(void 0), ee = (ze = Ae(He, {}).proTable) != null ? ze : {};
|
|
3153
3155
|
function oe() {
|
|
3154
|
-
var ae,
|
|
3156
|
+
var ae, Te;
|
|
3155
3157
|
const u = m.value;
|
|
3156
3158
|
if (!u)
|
|
3157
3159
|
return;
|
|
3158
3160
|
const b = u.querySelector(".sy-pro-table__table"), V = u.querySelector(".sy-pro-table__pagination");
|
|
3159
3161
|
if (!b)
|
|
3160
3162
|
return;
|
|
3161
|
-
const
|
|
3163
|
+
const E = b.getBoundingClientRect().top, Y = V ? V.getBoundingClientRect().height : 0, J = (Te = (ae = s.heightOffset) != null ? ae : ee.heightOffset) != null ? Te : 0, pe = Math.floor(window.innerHeight - E - Y - J);
|
|
3162
3164
|
return pe > 80 ? pe : void 0;
|
|
3163
3165
|
}
|
|
3164
3166
|
function ve() {
|
|
@@ -3177,15 +3179,15 @@ const Ba = {
|
|
|
3177
3179
|
L.value = void 0, T.value = oe();
|
|
3178
3180
|
}
|
|
3179
3181
|
let ye = null;
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
}),
|
|
3182
|
+
Fe(() => {
|
|
3183
|
+
Be(ve), window.addEventListener("resize", ve), m.value && (ye = new ResizeObserver(ve), ye.observe(m.value));
|
|
3184
|
+
}), Xe(() => {
|
|
3183
3185
|
window.removeEventListener("resize", ve), ye == null || ye.disconnect();
|
|
3184
3186
|
});
|
|
3185
3187
|
function be(u) {
|
|
3186
3188
|
g.value = u;
|
|
3187
3189
|
}
|
|
3188
|
-
function
|
|
3190
|
+
function je() {
|
|
3189
3191
|
c.value && $();
|
|
3190
3192
|
}
|
|
3191
3193
|
return (u, b) => (P(), Z(
|
|
@@ -3198,8 +3200,8 @@ const Ba = {
|
|
|
3198
3200
|
[
|
|
3199
3201
|
te("div", Ga, [
|
|
3200
3202
|
te("div", Qa, [
|
|
3201
|
-
|
|
3202
|
-
r(
|
|
3203
|
+
F(" 批量操作模式:选中行时替换整个 header "),
|
|
3204
|
+
r(k) ? (P(), Z(
|
|
3203
3205
|
de,
|
|
3204
3206
|
{ key: 0 },
|
|
3205
3207
|
[
|
|
@@ -3207,7 +3209,7 @@ const Ba = {
|
|
|
3207
3209
|
te(
|
|
3208
3210
|
"span",
|
|
3209
3211
|
Ja,
|
|
3210
|
-
"已选 " +
|
|
3212
|
+
"已选 " + ke(r(e).length) + " 条数据",
|
|
3211
3213
|
1
|
|
3212
3214
|
/* TEXT */
|
|
3213
3215
|
),
|
|
@@ -3218,10 +3220,10 @@ const Ba = {
|
|
|
3218
3220
|
-1
|
|
3219
3221
|
/* CACHED */
|
|
3220
3222
|
)),
|
|
3221
|
-
|
|
3223
|
+
z(u.$slots, "batchActions", {
|
|
3222
3224
|
selectedList: r(e),
|
|
3223
3225
|
selectedListIds: r(a),
|
|
3224
|
-
isSelected: r(
|
|
3226
|
+
isSelected: r(k)
|
|
3225
3227
|
})
|
|
3226
3228
|
]),
|
|
3227
3229
|
I(r(le), {
|
|
@@ -3237,8 +3239,8 @@ const Ba = {
|
|
|
3237
3239
|
de,
|
|
3238
3240
|
{ key: 1 },
|
|
3239
3241
|
[
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
+
F(" 正常模式 "),
|
|
3243
|
+
F(" 左侧:快速查询 + 高级筛选 + 已应用筛选 tags "),
|
|
3242
3244
|
te("div", Za, [
|
|
3243
3245
|
I(Ua, {
|
|
3244
3246
|
"quick-search-columns": r(l),
|
|
@@ -3247,9 +3249,9 @@ const Ba = {
|
|
|
3247
3249
|
"filter-active": f.value || W.value.length > 0,
|
|
3248
3250
|
onSearch: r(A),
|
|
3249
3251
|
onToggleAdvanced: r($),
|
|
3250
|
-
onUpdateParam: b[0] || (b[0] = (V,
|
|
3252
|
+
onUpdateParam: b[0] || (b[0] = (V, E) => r(t)[V] = E)
|
|
3251
3253
|
}, null, 8, ["quick-search-columns", "search-param", "show-advanced", "filter-active", "onSearch", "onToggleAdvanced"]),
|
|
3252
|
-
|
|
3254
|
+
F(" chips 行整体包一个 div,用于精确计算 overflow panel 的对齐 left "),
|
|
3253
3255
|
W.value.length > 0 ? (P(), Z(
|
|
3254
3256
|
"div",
|
|
3255
3257
|
{
|
|
@@ -3262,20 +3264,20 @@ const Ba = {
|
|
|
3262
3264
|
(P(!0), Z(
|
|
3263
3265
|
de,
|
|
3264
3266
|
null,
|
|
3265
|
-
|
|
3267
|
+
Ve(j.value, (V) => (P(), Q(Et, {
|
|
3266
3268
|
key: V.key,
|
|
3267
3269
|
column: V.column,
|
|
3268
3270
|
model: r(t),
|
|
3269
3271
|
"model-value": r(t)[V.key],
|
|
3270
3272
|
width: r(s).filterChipWidth,
|
|
3271
|
-
"onUpdate:modelValue": (
|
|
3273
|
+
"onUpdate:modelValue": (E) => he(V.key, E),
|
|
3272
3274
|
onSearch: r(A),
|
|
3273
|
-
onRemove: (
|
|
3275
|
+
onRemove: (E) => Se(V.key)
|
|
3274
3276
|
}, null, 8, ["column", "model", "model-value", "width", "onUpdate:modelValue", "onSearch", "onRemove"]))),
|
|
3275
3277
|
128
|
|
3276
3278
|
/* KEYED_FRAGMENT */
|
|
3277
3279
|
)),
|
|
3278
|
-
|
|
3280
|
+
F(" 超出 filterChipMax 时的折叠入口 "),
|
|
3279
3281
|
G.value.length > 0 ? (P(), Q(
|
|
3280
3282
|
r(le),
|
|
3281
3283
|
{
|
|
@@ -3291,7 +3293,7 @@ const Ba = {
|
|
|
3291
3293
|
{
|
|
3292
3294
|
default: S(() => [
|
|
3293
3295
|
fe(
|
|
3294
|
-
" +" +
|
|
3296
|
+
" +" + ke(G.value.length),
|
|
3295
3297
|
1
|
|
3296
3298
|
/* TEXT */
|
|
3297
3299
|
)
|
|
@@ -3301,7 +3303,7 @@ const Ba = {
|
|
|
3301
3303
|
},
|
|
3302
3304
|
512
|
|
3303
3305
|
/* NEED_PATCH */
|
|
3304
|
-
)) :
|
|
3306
|
+
)) : F("v-if", !0),
|
|
3305
3307
|
G.value.length === 0 ? (P(), Q(r(le), {
|
|
3306
3308
|
key: 1,
|
|
3307
3309
|
link: "",
|
|
@@ -3318,16 +3320,17 @@ const Ba = {
|
|
|
3318
3320
|
])]),
|
|
3319
3321
|
_: 1
|
|
3320
3322
|
/* STABLE */
|
|
3321
|
-
})) :
|
|
3323
|
+
})) : F("v-if", !0)
|
|
3322
3324
|
],
|
|
3323
3325
|
512
|
|
3324
3326
|
/* NEED_PATCH */
|
|
3325
|
-
)) :
|
|
3327
|
+
)) : F("v-if", !0)
|
|
3326
3328
|
]),
|
|
3327
|
-
|
|
3329
|
+
F(" 右侧:业务操作按钮 + 工具按钮 + 刷新 + 列设置 "),
|
|
3328
3330
|
te("div", Xa, [
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
+
z(u.$slots, "busActions"),
|
|
3332
|
+
z(u.$slots, "toolButton"),
|
|
3333
|
+
r(M)("refresh") ? (P(), Q(r($e), {
|
|
3331
3334
|
key: 0,
|
|
3332
3335
|
content: "刷新",
|
|
3333
3336
|
placement: "top"
|
|
@@ -3336,13 +3339,13 @@ const Ba = {
|
|
|
3336
3339
|
I(r(le), {
|
|
3337
3340
|
icon: r(en),
|
|
3338
3341
|
circle: "",
|
|
3339
|
-
onClick: r(
|
|
3342
|
+
onClick: r(H)
|
|
3340
3343
|
}, null, 8, ["icon", "onClick"])
|
|
3341
3344
|
]),
|
|
3342
3345
|
_: 1
|
|
3343
3346
|
/* STABLE */
|
|
3344
|
-
})) :
|
|
3345
|
-
r(M)("setting") ? (P(), Q(r(
|
|
3347
|
+
})) : F("v-if", !0),
|
|
3348
|
+
r(M)("setting") ? (P(), Q(r($e), {
|
|
3346
3349
|
key: 1,
|
|
3347
3350
|
content: "列设置",
|
|
3348
3351
|
placement: "top"
|
|
@@ -3356,7 +3359,7 @@ const Ba = {
|
|
|
3356
3359
|
]),
|
|
3357
3360
|
_: 1
|
|
3358
3361
|
/* STABLE */
|
|
3359
|
-
})) :
|
|
3362
|
+
})) : F("v-if", !0)
|
|
3360
3363
|
])
|
|
3361
3364
|
],
|
|
3362
3365
|
64
|
|
@@ -3370,62 +3373,62 @@ const Ba = {
|
|
|
3370
3373
|
"on-drag-sort": n.onDragSort
|
|
3371
3374
|
}, {
|
|
3372
3375
|
append: S(() => [
|
|
3373
|
-
|
|
3376
|
+
z(u.$slots, "append")
|
|
3374
3377
|
]),
|
|
3375
3378
|
empty: S(() => [
|
|
3376
|
-
|
|
3379
|
+
z(u.$slots, "empty")
|
|
3377
3380
|
]),
|
|
3378
3381
|
default: S(() => [
|
|
3379
|
-
|
|
3382
|
+
z(u.$slots, "default")
|
|
3380
3383
|
]),
|
|
3381
3384
|
_: 3
|
|
3382
3385
|
/* FORWARDED */
|
|
3383
3386
|
}, 8, ["context", "table-height", "table-max-height", "on-drag-sort"]),
|
|
3384
3387
|
I(yt, { context: n.context }, {
|
|
3385
3388
|
pagination: S(() => [
|
|
3386
|
-
|
|
3389
|
+
z(u.$slots, "pagination")
|
|
3387
3390
|
]),
|
|
3388
3391
|
_: 3
|
|
3389
3392
|
/* FORWARDED */
|
|
3390
3393
|
}, 8, ["context"])
|
|
3391
3394
|
]),
|
|
3392
|
-
|
|
3395
|
+
F(" 两个浮层面板放在最外层容器下,避免被 __main 的 overflow:hidden 裁剪 "),
|
|
3393
3396
|
I(Wa, {
|
|
3394
3397
|
context: n.context,
|
|
3395
3398
|
visible: f.value,
|
|
3396
3399
|
cols: r(s).panelCols,
|
|
3397
3400
|
"exclude-selector": ".sy-pro-table__custom-filter-btn",
|
|
3398
|
-
onClose:
|
|
3401
|
+
onClose: je,
|
|
3399
3402
|
onPanelSearch: me
|
|
3400
3403
|
}, null, 8, ["context", "visible", "cols"]),
|
|
3401
|
-
|
|
3404
|
+
F(" overflow chip 浮层:与第一个 chip 左对齐 "),
|
|
3402
3405
|
I(pt, {
|
|
3403
3406
|
name: "sy-pro-table-panel",
|
|
3404
3407
|
persisted: ""
|
|
3405
3408
|
}, {
|
|
3406
3409
|
default: S(() => [
|
|
3407
|
-
|
|
3410
|
+
et(te(
|
|
3408
3411
|
"div",
|
|
3409
3412
|
{
|
|
3410
3413
|
ref_key: "overflowPanelRef",
|
|
3411
3414
|
ref: K,
|
|
3412
3415
|
class: "sy-pro-table__custom-panel",
|
|
3413
|
-
style:
|
|
3416
|
+
style: _e(ie.value)
|
|
3414
3417
|
},
|
|
3415
3418
|
[
|
|
3416
3419
|
te("div", el, [
|
|
3417
3420
|
(P(!0), Z(
|
|
3418
3421
|
de,
|
|
3419
3422
|
null,
|
|
3420
|
-
|
|
3423
|
+
Ve(G.value, (V) => (P(), Q(Et, {
|
|
3421
3424
|
key: V.key,
|
|
3422
3425
|
column: V.column,
|
|
3423
3426
|
model: r(t),
|
|
3424
3427
|
"model-value": r(t)[V.key],
|
|
3425
3428
|
width: r(s).filterChipWidth,
|
|
3426
|
-
"onUpdate:modelValue": (
|
|
3429
|
+
"onUpdate:modelValue": (E) => he(V.key, E),
|
|
3427
3430
|
onSearch: r(A),
|
|
3428
|
-
onRemove: (
|
|
3431
|
+
onRemove: (E) => Se(V.key)
|
|
3429
3432
|
}, null, 8, ["column", "model", "model-value", "width", "onUpdate:modelValue", "onSearch", "onRemove"]))),
|
|
3430
3433
|
128
|
|
3431
3434
|
/* KEYED_FRAGMENT */
|
|
@@ -3476,7 +3479,7 @@ const Ba = {
|
|
|
3476
3479
|
},
|
|
3477
3480
|
emits: ["close"],
|
|
3478
3481
|
setup(n, { emit: o }) {
|
|
3479
|
-
const s = n, c = o, i =
|
|
3482
|
+
const s = n, c = o, i = O(() => {
|
|
3480
3483
|
const h = typeof s.cols == "number" ? s.cols : 1;
|
|
3481
3484
|
return { width: `${Math.max(360, h * 280 + 32)}px` };
|
|
3482
3485
|
}), l = s.context.search, t = s.context.reset;
|
|
@@ -3486,21 +3489,21 @@ const Ba = {
|
|
|
3486
3489
|
function a() {
|
|
3487
3490
|
t(), c("close");
|
|
3488
3491
|
}
|
|
3489
|
-
const
|
|
3492
|
+
const k = s.context.formRef, A = D();
|
|
3490
3493
|
function $(h) {
|
|
3491
|
-
|
|
3494
|
+
k.value = h;
|
|
3492
3495
|
}
|
|
3493
3496
|
let M = null;
|
|
3494
|
-
function
|
|
3497
|
+
function H(h) {
|
|
3495
3498
|
var p;
|
|
3496
3499
|
const g = h.target;
|
|
3497
3500
|
g && ((p = A.value) != null && p.contains(g) || s.excludeSelector && g.closest(s.excludeSelector) || g.closest(".el-popper") || g.closest(".el-overlay") || c("close"));
|
|
3498
3501
|
}
|
|
3499
|
-
return
|
|
3502
|
+
return Ie(
|
|
3500
3503
|
() => s.visible,
|
|
3501
3504
|
(h) => {
|
|
3502
|
-
M == null || M(), M = null, h &&
|
|
3503
|
-
document.addEventListener("mousedown",
|
|
3505
|
+
M == null || M(), M = null, h && Be(() => {
|
|
3506
|
+
document.addEventListener("mousedown", H, !0), M = () => document.removeEventListener("mousedown", H, !0);
|
|
3504
3507
|
});
|
|
3505
3508
|
}
|
|
3506
3509
|
), dt(() => M == null ? void 0 : M()), (h, g) => (P(), Q(pt, {
|
|
@@ -3508,13 +3511,13 @@ const Ba = {
|
|
|
3508
3511
|
persisted: ""
|
|
3509
3512
|
}, {
|
|
3510
3513
|
default: S(() => [
|
|
3511
|
-
|
|
3514
|
+
et(te(
|
|
3512
3515
|
"div",
|
|
3513
3516
|
{
|
|
3514
3517
|
ref_key: "panelRootRef",
|
|
3515
3518
|
ref: A,
|
|
3516
3519
|
class: "sy-pro-table__unify-panel",
|
|
3517
|
-
style:
|
|
3520
|
+
style: _e(i.value)
|
|
3518
3521
|
},
|
|
3519
3522
|
[
|
|
3520
3523
|
te("div", nl, [
|
|
@@ -3573,7 +3576,7 @@ const Ba = {
|
|
|
3573
3576
|
},
|
|
3574
3577
|
setup(n) {
|
|
3575
3578
|
var U;
|
|
3576
|
-
const o = n, s = o.context.props, c = o.context.isShowSearch, i = o.context.searchColumns, l = o.context.quickSearchColumns, t = o.context.searchParam, e = o.context.selectedList, a = o.context.selectedListIds,
|
|
3579
|
+
const o = n, s = o.context.props, c = o.context.isShowSearch, i = o.context.searchColumns, l = o.context.quickSearchColumns, t = o.context.searchParam, e = o.context.selectedList, a = o.context.selectedListIds, k = o.context.isSelected, A = o.context.search, $ = o.context.toggleSearch, M = o.context.showToolBtn, H = o.context.colSettingRef, h = O(() => !!s.showSearch && c.value && i.value.length > 0), g = D(), p = D(void 0), d = D(void 0), f = (U = Ae(He, {}).proTable) != null ? U : {};
|
|
3577
3580
|
function B() {
|
|
3578
3581
|
var me, he;
|
|
3579
3582
|
const K = g.value;
|
|
@@ -3601,13 +3604,13 @@ const Ba = {
|
|
|
3601
3604
|
p.value = void 0, d.value = B();
|
|
3602
3605
|
}
|
|
3603
3606
|
let W = null;
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
}),
|
|
3607
|
+
Fe(() => {
|
|
3608
|
+
Be(q), window.addEventListener("resize", q), g.value && (W = new ResizeObserver(q), W.observe(g.value));
|
|
3609
|
+
}), Xe(() => {
|
|
3607
3610
|
window.removeEventListener("resize", q), W == null || W.disconnect();
|
|
3608
3611
|
});
|
|
3609
3612
|
function j(K) {
|
|
3610
|
-
|
|
3613
|
+
H.value = K;
|
|
3611
3614
|
}
|
|
3612
3615
|
function G() {
|
|
3613
3616
|
c.value && $();
|
|
@@ -3623,22 +3626,22 @@ const Ba = {
|
|
|
3623
3626
|
te("div", al, [
|
|
3624
3627
|
te("div", ll, [
|
|
3625
3628
|
te("div", rl, [
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
r(
|
|
3629
|
+
F(" 业务操作按钮(新增/导出等),始终可见 "),
|
|
3630
|
+
z(K.$slots, "busActions"),
|
|
3631
|
+
F(" 批量操作,仅在有选中行时追加显示 "),
|
|
3632
|
+
r(k) ? z(K.$slots, "batchActions", {
|
|
3630
3633
|
key: 0,
|
|
3631
3634
|
selectedList: r(e),
|
|
3632
3635
|
selectedListIds: r(a),
|
|
3633
|
-
isSelected: r(
|
|
3634
|
-
}) :
|
|
3636
|
+
isSelected: r(k)
|
|
3637
|
+
}) : F("v-if", !0)
|
|
3635
3638
|
]),
|
|
3636
3639
|
te("div", cl, [
|
|
3637
|
-
|
|
3640
|
+
F(" 快速搜索始终渲染 "),
|
|
3638
3641
|
(P(!0), Z(
|
|
3639
3642
|
de,
|
|
3640
3643
|
null,
|
|
3641
|
-
|
|
3644
|
+
Ve(r(l), (ne) => {
|
|
3642
3645
|
var ie, X, ue, re, me;
|
|
3643
3646
|
return P(), Q(cn, {
|
|
3644
3647
|
key: (X = (ie = ne.search) == null ? void 0 : ie.key) != null ? X : ne.prop,
|
|
@@ -3669,7 +3672,7 @@ const Ba = {
|
|
|
3669
3672
|
])]),
|
|
3670
3673
|
_: 1
|
|
3671
3674
|
/* STABLE */
|
|
3672
|
-
}, 8, ["onClick"])) :
|
|
3675
|
+
}, 8, ["onClick"])) : F("v-if", !0),
|
|
3673
3676
|
r(s).showSearch && r(M)("search") && r(i).length > 0 ? (P(), Q(r(le), {
|
|
3674
3677
|
key: 1,
|
|
3675
3678
|
class: "sy-pro-table__unify-advanced-btn",
|
|
@@ -3686,7 +3689,9 @@ const Ba = {
|
|
|
3686
3689
|
])]),
|
|
3687
3690
|
_: 1
|
|
3688
3691
|
/* STABLE */
|
|
3689
|
-
}, 8, ["onClick"])) :
|
|
3692
|
+
}, 8, ["onClick"])) : F("v-if", !0),
|
|
3693
|
+
F(" 工具按钮区,用户可通过 #toolButton 追加自定义工具 "),
|
|
3694
|
+
z(K.$slots, "toolButton")
|
|
3690
3695
|
])
|
|
3691
3696
|
]),
|
|
3692
3697
|
I(gt, {
|
|
@@ -3696,26 +3701,26 @@ const Ba = {
|
|
|
3696
3701
|
"on-drag-sort": n.onDragSort
|
|
3697
3702
|
}, {
|
|
3698
3703
|
append: S(() => [
|
|
3699
|
-
|
|
3704
|
+
z(K.$slots, "append")
|
|
3700
3705
|
]),
|
|
3701
3706
|
empty: S(() => [
|
|
3702
|
-
|
|
3707
|
+
z(K.$slots, "empty")
|
|
3703
3708
|
]),
|
|
3704
3709
|
default: S(() => [
|
|
3705
|
-
|
|
3710
|
+
z(K.$slots, "default")
|
|
3706
3711
|
]),
|
|
3707
3712
|
_: 3
|
|
3708
3713
|
/* FORWARDED */
|
|
3709
3714
|
}, 8, ["context", "table-height", "table-max-height", "on-drag-sort"]),
|
|
3710
3715
|
I(yt, { context: n.context }, {
|
|
3711
3716
|
pagination: S(() => [
|
|
3712
|
-
|
|
3717
|
+
z(K.$slots, "pagination")
|
|
3713
3718
|
]),
|
|
3714
3719
|
_: 3
|
|
3715
3720
|
/* FORWARDED */
|
|
3716
3721
|
}, 8, ["context"])
|
|
3717
3722
|
]),
|
|
3718
|
-
|
|
3723
|
+
F(" 面板放在最外层容器下,避免被 __main 的 overflow:hidden 裁剪 "),
|
|
3719
3724
|
I(sl, {
|
|
3720
3725
|
context: n.context,
|
|
3721
3726
|
visible: h.value,
|
|
@@ -3767,7 +3772,7 @@ const Ba = {
|
|
|
3767
3772
|
},
|
|
3768
3773
|
emits: ["search", "reset", "dragSort"],
|
|
3769
3774
|
setup(n, { expose: o, emit: s }) {
|
|
3770
|
-
const c = n, i = s, l =
|
|
3775
|
+
const c = n, i = s, l = x(), t = $a(c, i, l);
|
|
3771
3776
|
function e(a) {
|
|
3772
3777
|
i("dragSort", a);
|
|
3773
3778
|
}
|
|
@@ -3790,135 +3795,156 @@ const Ba = {
|
|
|
3790
3795
|
clearRadio: t.clearRadio,
|
|
3791
3796
|
handleSizeChange: t.handleSizeChange,
|
|
3792
3797
|
handleCurrentChange: t.handleCurrentChange
|
|
3793
|
-
}), (a,
|
|
3798
|
+
}), (a, k) => r(t).props.type === "classic" ? (P(), Q(Ea, {
|
|
3794
3799
|
key: 0,
|
|
3795
3800
|
context: r(t),
|
|
3796
3801
|
"on-drag-sort": e
|
|
3797
|
-
},
|
|
3798
|
-
|
|
3799
|
-
|
|
3802
|
+
}, Ye({
|
|
3803
|
+
batchActions: S((A) => [
|
|
3804
|
+
r(l).batchActions ? z(a.$slots, "batchActions", we(C({ key: 0 }, A))) : z(a.$slots, "tableHeader", we(C({ key: 1 }, A)))
|
|
3800
3805
|
]),
|
|
3801
3806
|
default: S(() => [
|
|
3802
|
-
|
|
3807
|
+
z(a.$slots, "default")
|
|
3803
3808
|
]),
|
|
3804
3809
|
_: 2
|
|
3805
3810
|
/* DYNAMIC */
|
|
3806
3811
|
}, [
|
|
3812
|
+
r(l).busActions ? {
|
|
3813
|
+
name: "busActions",
|
|
3814
|
+
fn: S(() => [
|
|
3815
|
+
z(a.$slots, "busActions")
|
|
3816
|
+
]),
|
|
3817
|
+
key: "0"
|
|
3818
|
+
} : void 0,
|
|
3807
3819
|
r(l).toolButton ? {
|
|
3808
3820
|
name: "toolButton",
|
|
3809
3821
|
fn: S(() => [
|
|
3810
|
-
|
|
3822
|
+
z(a.$slots, "toolButton")
|
|
3811
3823
|
]),
|
|
3812
|
-
key: "
|
|
3824
|
+
key: "1"
|
|
3813
3825
|
} : void 0,
|
|
3814
3826
|
r(l).append ? {
|
|
3815
3827
|
name: "append",
|
|
3816
3828
|
fn: S(() => [
|
|
3817
|
-
|
|
3829
|
+
z(a.$slots, "append")
|
|
3818
3830
|
]),
|
|
3819
|
-
key: "
|
|
3831
|
+
key: "2"
|
|
3820
3832
|
} : void 0,
|
|
3821
3833
|
r(l).empty ? {
|
|
3822
3834
|
name: "empty",
|
|
3823
3835
|
fn: S(() => [
|
|
3824
|
-
|
|
3836
|
+
z(a.$slots, "empty")
|
|
3825
3837
|
]),
|
|
3826
|
-
key: "
|
|
3838
|
+
key: "3"
|
|
3827
3839
|
} : void 0,
|
|
3828
3840
|
r(l).pagination ? {
|
|
3829
3841
|
name: "pagination",
|
|
3830
3842
|
fn: S(() => [
|
|
3831
|
-
|
|
3843
|
+
z(a.$slots, "pagination")
|
|
3832
3844
|
]),
|
|
3833
|
-
key: "
|
|
3845
|
+
key: "4"
|
|
3834
3846
|
} : void 0
|
|
3835
3847
|
]), 1032, ["context"])) : r(t).props.type === "unify" ? (P(), Q(il, {
|
|
3836
3848
|
key: 1,
|
|
3837
3849
|
context: r(t),
|
|
3838
3850
|
"on-drag-sort": e
|
|
3839
|
-
},
|
|
3840
|
-
|
|
3841
|
-
|
|
3851
|
+
}, Ye({
|
|
3852
|
+
batchActions: S((A) => [
|
|
3853
|
+
r(l).batchActions ? z(a.$slots, "batchActions", we(C({ key: 0 }, A))) : z(a.$slots, "tableHeader", we(C({ key: 1 }, A)))
|
|
3842
3854
|
]),
|
|
3843
3855
|
default: S(() => [
|
|
3844
|
-
|
|
3856
|
+
z(a.$slots, "default")
|
|
3845
3857
|
]),
|
|
3846
3858
|
_: 2
|
|
3847
3859
|
/* DYNAMIC */
|
|
3848
3860
|
}, [
|
|
3861
|
+
r(l).busActions ? {
|
|
3862
|
+
name: "busActions",
|
|
3863
|
+
fn: S(() => [
|
|
3864
|
+
z(a.$slots, "busActions")
|
|
3865
|
+
]),
|
|
3866
|
+
key: "0"
|
|
3867
|
+
} : void 0,
|
|
3849
3868
|
r(l).toolButton ? {
|
|
3850
3869
|
name: "toolButton",
|
|
3851
3870
|
fn: S(() => [
|
|
3852
|
-
|
|
3871
|
+
z(a.$slots, "toolButton")
|
|
3853
3872
|
]),
|
|
3854
|
-
key: "
|
|
3873
|
+
key: "1"
|
|
3855
3874
|
} : void 0,
|
|
3856
3875
|
r(l).append ? {
|
|
3857
3876
|
name: "append",
|
|
3858
3877
|
fn: S(() => [
|
|
3859
|
-
|
|
3878
|
+
z(a.$slots, "append")
|
|
3860
3879
|
]),
|
|
3861
|
-
key: "
|
|
3880
|
+
key: "2"
|
|
3862
3881
|
} : void 0,
|
|
3863
3882
|
r(l).empty ? {
|
|
3864
3883
|
name: "empty",
|
|
3865
3884
|
fn: S(() => [
|
|
3866
|
-
|
|
3885
|
+
z(a.$slots, "empty")
|
|
3867
3886
|
]),
|
|
3868
|
-
key: "
|
|
3887
|
+
key: "3"
|
|
3869
3888
|
} : void 0,
|
|
3870
3889
|
r(l).pagination ? {
|
|
3871
3890
|
name: "pagination",
|
|
3872
3891
|
fn: S(() => [
|
|
3873
|
-
|
|
3892
|
+
z(a.$slots, "pagination")
|
|
3874
3893
|
]),
|
|
3875
|
-
key: "
|
|
3894
|
+
key: "4"
|
|
3876
3895
|
} : void 0
|
|
3877
3896
|
]), 1032, ["context"])) : (P(), Q(tl, {
|
|
3878
3897
|
key: 2,
|
|
3879
3898
|
context: r(t),
|
|
3880
3899
|
"on-drag-sort": e
|
|
3881
|
-
},
|
|
3882
|
-
|
|
3883
|
-
|
|
3900
|
+
}, Ye({
|
|
3901
|
+
batchActions: S((A) => [
|
|
3902
|
+
r(l).batchActions ? z(a.$slots, "batchActions", we(C({ key: 0 }, A))) : z(a.$slots, "tableHeader", we(C({ key: 1 }, A)))
|
|
3884
3903
|
]),
|
|
3885
3904
|
default: S(() => [
|
|
3886
|
-
|
|
3905
|
+
z(a.$slots, "default")
|
|
3887
3906
|
]),
|
|
3888
3907
|
_: 2
|
|
3889
3908
|
/* DYNAMIC */
|
|
3890
3909
|
}, [
|
|
3910
|
+
r(l).busActions ? {
|
|
3911
|
+
name: "busActions",
|
|
3912
|
+
fn: S(() => [
|
|
3913
|
+
z(a.$slots, "busActions")
|
|
3914
|
+
]),
|
|
3915
|
+
key: "0"
|
|
3916
|
+
} : void 0,
|
|
3891
3917
|
r(l).toolButton ? {
|
|
3892
3918
|
name: "toolButton",
|
|
3893
3919
|
fn: S(() => [
|
|
3894
|
-
|
|
3920
|
+
z(a.$slots, "toolButton")
|
|
3895
3921
|
]),
|
|
3896
|
-
key: "
|
|
3922
|
+
key: "1"
|
|
3897
3923
|
} : void 0,
|
|
3898
3924
|
r(l).append ? {
|
|
3899
3925
|
name: "append",
|
|
3900
3926
|
fn: S(() => [
|
|
3901
|
-
|
|
3927
|
+
z(a.$slots, "append")
|
|
3902
3928
|
]),
|
|
3903
|
-
key: "
|
|
3929
|
+
key: "2"
|
|
3904
3930
|
} : void 0,
|
|
3905
3931
|
r(l).empty ? {
|
|
3906
3932
|
name: "empty",
|
|
3907
3933
|
fn: S(() => [
|
|
3908
|
-
|
|
3934
|
+
z(a.$slots, "empty")
|
|
3909
3935
|
]),
|
|
3910
|
-
key: "
|
|
3936
|
+
key: "3"
|
|
3911
3937
|
} : void 0,
|
|
3912
3938
|
r(l).pagination ? {
|
|
3913
3939
|
name: "pagination",
|
|
3914
3940
|
fn: S(() => [
|
|
3915
|
-
|
|
3941
|
+
z(a.$slots, "pagination")
|
|
3916
3942
|
]),
|
|
3917
|
-
key: "
|
|
3943
|
+
key: "4"
|
|
3918
3944
|
} : void 0
|
|
3919
3945
|
]), 1032, ["context"]));
|
|
3920
3946
|
}
|
|
3921
|
-
}), pr =
|
|
3947
|
+
}), pr = w(ul);
|
|
3922
3948
|
export {
|
|
3923
3949
|
hr as SY_UI_CONFIG_KEY,
|
|
3924
3950
|
gl as SyAlert,
|
|
@@ -3927,14 +3953,14 @@ export {
|
|
|
3927
3953
|
Sl as SyBacktop,
|
|
3928
3954
|
le as SyButton,
|
|
3929
3955
|
Cl as SyCard,
|
|
3930
|
-
|
|
3956
|
+
Oo as SyCascader,
|
|
3931
3957
|
Eo as SyCheckbox,
|
|
3932
|
-
|
|
3958
|
+
kl as SyCheckboxButton,
|
|
3933
3959
|
qo as SyCheckboxGroup,
|
|
3934
3960
|
El as SyCol,
|
|
3935
3961
|
wl as SyCollapse,
|
|
3936
|
-
|
|
3937
|
-
|
|
3962
|
+
xl as SyCollapseItem,
|
|
3963
|
+
Al as SyColorPicker,
|
|
3938
3964
|
Bl as SyConfigProvider,
|
|
3939
3965
|
_l as SyContainer,
|
|
3940
3966
|
os as SyDatePicker,
|
|
@@ -3945,15 +3971,15 @@ export {
|
|
|
3945
3971
|
Fl as SyDivider,
|
|
3946
3972
|
us as SyDrawer,
|
|
3947
3973
|
Dl as SyDropdown,
|
|
3948
|
-
|
|
3949
|
-
|
|
3974
|
+
Ol as SyDropdownItem,
|
|
3975
|
+
zl as SyDropdownMenu,
|
|
3950
3976
|
hs as SyEmpty,
|
|
3951
3977
|
$l as SyFooter,
|
|
3952
3978
|
bs as SyForm,
|
|
3953
3979
|
gs as SyFormItem,
|
|
3954
3980
|
Rl as SyHeader,
|
|
3955
3981
|
Ne as SyIcon,
|
|
3956
|
-
|
|
3982
|
+
Nl as SyImage,
|
|
3957
3983
|
sn as SyInput,
|
|
3958
3984
|
ws as SyInputNumber,
|
|
3959
3985
|
ql as SyLink,
|
|
@@ -3963,11 +3989,11 @@ export {
|
|
|
3963
3989
|
Kl as SyMenu,
|
|
3964
3990
|
Wl as SyMenuItem,
|
|
3965
3991
|
Gl as SyMenuItemGroup,
|
|
3966
|
-
|
|
3992
|
+
qe as SyMessage,
|
|
3967
3993
|
Is as SyMessageBox,
|
|
3968
3994
|
Fs as SyNotification,
|
|
3969
3995
|
Zs as SyOption,
|
|
3970
|
-
|
|
3996
|
+
zs as SyPagination,
|
|
3971
3997
|
Ql as SyPopconfirm,
|
|
3972
3998
|
Yl as SyPopover,
|
|
3973
3999
|
Ra as SyProForm,
|
|
@@ -3976,7 +4002,7 @@ export {
|
|
|
3976
4002
|
an as SyRadio,
|
|
3977
4003
|
Ws as SyRadioButton,
|
|
3978
4004
|
Ks as SyRadioGroup,
|
|
3979
|
-
|
|
4005
|
+
Hl as SyRow,
|
|
3980
4006
|
Zl as SyScrollbar,
|
|
3981
4007
|
Js as SySelect,
|
|
3982
4008
|
Xl as SySelectV2,
|
|
@@ -3990,13 +4016,13 @@ export {
|
|
|
3990
4016
|
ut as SySwitch,
|
|
3991
4017
|
rr as SyTabPane,
|
|
3992
4018
|
ln as SyTable,
|
|
3993
|
-
|
|
4019
|
+
xe as SyTableColumn,
|
|
3994
4020
|
lr as SyTabs,
|
|
3995
4021
|
rt as SyTag,
|
|
3996
4022
|
cr as SyText,
|
|
3997
4023
|
ha as SyTimePicker,
|
|
3998
4024
|
ya as SyTimeSelect,
|
|
3999
|
-
|
|
4025
|
+
$e as SyTooltip,
|
|
4000
4026
|
ir as SyTree,
|
|
4001
4027
|
ur as SyTreeSelect,
|
|
4002
4028
|
dr as SyUpload
|