sunyard-szyy-ui 0.7.13 → 0.7.14

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.
@@ -28,13 +28,13 @@ var We = (n, o, s) => new Promise((c, i) => {
28
28
  });
29
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 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";
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 z, withCtx as S, onMounted as Fe, onUnmounted as Xe, openBlock as P, createBlock as Q, withModifiers as Kt, createElementVNode as oe, normalizeStyle as _e, createElementBlock as Y, Fragment as de, renderList as Ve, createCommentVNode as I, renderSlot as O, createVNode as F, 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 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";
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 On, AdapterDropdown as zn, 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 Ot, ArrowUp as zt, 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.13
37
+ * sunyard-szyy-ui v0.7.14
38
38
  * (c) 2026 Sunyard SZYY Base Team
39
39
  */
40
40
  const Vo = v({
@@ -106,14 +106,14 @@ const Vo = v({
106
106
  const n = R("card"), o = _(), s = x();
107
107
  return () => y(Cn, C({ class: n.b() }, o), s);
108
108
  }
109
- }), Cl = w(Do), zo = v({
109
+ }), Cl = w(Do), Oo = v({
110
110
  name: "SyCascader",
111
111
  inheritAttrs: !1,
112
112
  setup() {
113
113
  const n = R("cascader"), o = _(), s = x();
114
114
  return () => y(kn, C({ class: n.b() }, o), s);
115
115
  }
116
- }), Oo = w(zo), No = v({
116
+ }), zo = w(Oo), No = v({
117
117
  name: "SyCheckbox",
118
118
  inheritAttrs: !1,
119
119
  setup() {
@@ -310,14 +310,14 @@ const Yo = v({
310
310
  inheritAttrs: !1,
311
311
  setup() {
312
312
  const n = R("drawer"), o = _(), s = x();
313
- return () => y(zn, C({ class: n.b() }, o), s);
313
+ return () => y(On, C({ class: n.b() }, o), s);
314
314
  }
315
315
  }), us = w(is), ds = v({
316
316
  name: "SyDropdown",
317
317
  inheritAttrs: !1,
318
318
  setup() {
319
319
  const n = R("dropdown"), o = _(), s = x();
320
- return () => y(On, C({ class: n.b() }, o), s);
320
+ return () => y(zn, C({ class: n.b() }, o), s);
321
321
  }
322
322
  }), ps = v({
323
323
  name: "SyDropdownMenu",
@@ -333,7 +333,7 @@ const Yo = v({
333
333
  const n = R("dropdown-item"), o = _(), s = x();
334
334
  return () => y(Nn, C({ class: n.b() }, o), s);
335
335
  }
336
- }), Dl = w(ds), zl = w(ps), Ol = w(fs), ms = v({
336
+ }), Dl = w(ds), Ol = w(ps), zl = w(fs), ms = v({
337
337
  name: "SyEmpty",
338
338
  inheritAttrs: !1,
339
339
  setup() {
@@ -641,14 +641,14 @@ const Ds = v({
641
641
  const n = R("pagination"), o = _(), s = x();
642
642
  return () => y(no, C({ class: n.b() }, o), s);
643
643
  }
644
- }), zs = w(Ds), Os = v({
644
+ }), Os = w(Ds), zs = v({
645
645
  name: "SyPopconfirm",
646
646
  inheritAttrs: !1,
647
647
  setup() {
648
648
  const n = R("popconfirm"), o = _(), s = x();
649
649
  return () => y(oo, C({ class: n.b() }, o), s);
650
650
  }
651
- }), Ql = w(Os);
651
+ }), Ql = w(zs);
652
652
  function Ns(n, o) {
653
653
  var t;
654
654
  const s = N({}, n), c = s.class, i = (t = s.popperClass) != null ? t : s["popper-class"];
@@ -1178,44 +1178,44 @@ const ht = v({
1178
1178
  },
1179
1179
  emits: ["update:modelValue"],
1180
1180
  setup(n, { emit: o }) {
1181
- const s = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), c = O({
1181
+ const s = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), c = z({
1182
1182
  get: () => n.modelValue,
1183
1183
  set: (p) => o("update:modelValue", p)
1184
- }), i = O(() => {
1184
+ }), i = z(() => {
1185
1185
  var p, d;
1186
1186
  return (d = (p = n.schema.fieldNames) == null ? void 0 : p.label) != null ? d : "label";
1187
- }), l = O(() => {
1187
+ }), l = z(() => {
1188
1188
  var p, d;
1189
1189
  return (d = (p = n.schema.fieldNames) == null ? void 0 : p.value) != null ? d : "value";
1190
- }), t = O(() => {
1190
+ }), t = z(() => {
1191
1191
  var p, d;
1192
1192
  return (d = (p = n.schema.fieldNames) == null ? void 0 : p.children) != null ? d : "children";
1193
- }), e = O(() => {
1193
+ }), e = z(() => {
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 = O(() => {
1196
+ }), a = z(() => {
1197
1197
  const { label: p, value: d } = { label: i.value, value: l.value };
1198
1198
  return p === "label" && d === "value" ? e.value : e.value.map((f) => ce(N({}, f), { label: f[p], value: f[d] }));
1199
- }), k = O(() => {
1199
+ }), k = z(() => {
1200
1200
  const p = N({}, n.schema.props), { label: d, value: f, children: B } = { label: i.value, value: l.value, children: t.value };
1201
1201
  return ce(N({}, p), { props: ce(N({}, p.props), { label: d, children: B }), nodeKey: f });
1202
- }), A = O(() => {
1202
+ }), A = z(() => {
1203
1203
  const p = N({}, n.schema.props), { label: d, value: f, children: B } = { label: i.value, value: l.value, children: t.value };
1204
1204
  return ce(N({}, p), { props: ce(N({}, p.props), { label: d, value: f, children: B }) });
1205
- }), $ = O(() => N({}, n.schema.props)), M = O(() => {
1205
+ }), $ = z(() => N({}, n.schema.props)), M = z(() => {
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
- }), H = O(() => {
1209
+ }), H = z(() => {
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 = O(() => {
1215
+ }), h = z(() => {
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 = O(() => {
1218
+ }), g = z(() => {
1219
1219
  var d, f, B;
1220
1220
  const p = N({}, n.schema.props);
1221
1221
  return M.value ? ce(N({}, p), {
@@ -1226,7 +1226,7 @@ const ht = v({
1226
1226
  }) : ce(N({}, p), { placeholder: H.value, clearable: h.value });
1227
1227
  });
1228
1228
  return () => {
1229
- var W, j, G, U, K, se, ne, ie;
1229
+ var W, j, G, U, K, se, te, ie;
1230
1230
  const { schema: p } = n, d = (W = p.component) != null ? W : "input", f = wa(p.events), B = {
1231
1231
  modelValue: c.value,
1232
1232
  "onUpdate:modelValue": (X) => c.value = X
@@ -1269,7 +1269,7 @@ 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(Oo, ce(N(N(N({}, B), A.value), f), {
1272
+ return y(zo, ce(N(N(N({}, B), A.value), f), {
1273
1273
  placeholder: H.value,
1274
1274
  clearable: h.value,
1275
1275
  options: X,
@@ -1302,7 +1302,7 @@ const ht = v({
1302
1302
  return y(os, ce(N(N(N({}, B), g.value), f), { style: "width: 100%" }));
1303
1303
  const q = Aa[d];
1304
1304
  if (q) {
1305
- const X = (ie = (ne = ct[d]) == null ? void 0 : ne.call(ct, { placeholder: H.value, clearable: h.value })) != null ? ie : {};
1305
+ const X = (ie = (te = ct[d]) == null ? void 0 : te.call(ct, { placeholder: H.value, clearable: h.value })) != null ? ie : {};
1306
1306
  return y(q, N(N(N(N({}, B), $.value), f), X));
1307
1307
  }
1308
1308
  return y(sn, ce(N(N(N({}, B), $.value), f), {
@@ -1335,18 +1335,18 @@ const ht = v({
1335
1335
  emits: ["search", "reset"],
1336
1336
  setup(n, { expose: o, emit: s }) {
1337
1337
  var Se, Ce;
1338
- const c = x(), i = n, l = (Se = Ae(He, {}).proForm) != null ? Se : {}, t = (Ce = qt(Ut()).proForm) != null ? Ce : {}, e = O(() => {
1338
+ const c = x(), i = n, l = (Se = Ae(He, {}).proForm) != null ? Se : {}, t = (Ce = qt(Ut()).proForm) != null ? Ce : {}, e = z(() => {
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 = O(() => {
1341
+ }), a = z(() => {
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
- }), k = O(
1344
+ }), k = z(
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 = O(() => {
1349
+ ), A = z(() => {
1350
1350
  var m, L;
1351
1351
  return (L = (m = t.size) != null ? m : i.size) != null ? L : l.size;
1352
1352
  }), $ = s;
@@ -1364,31 +1364,31 @@ const ht = v({
1364
1364
  }), Xe(() => {
1365
1365
  window.removeEventListener("resize", p);
1366
1366
  });
1367
- const d = O(() => i.schema.filter((m) => typeof m.hidden == "function" ? !m.hidden(i.model) : !m.hidden).sort((m, L) => {
1367
+ const d = z(() => 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
  }));
1371
1371
  function f(m) {
1372
- var T, ee, oe;
1372
+ var T, ee, ne;
1373
1373
  const L = h.value;
1374
- return (oe = (ee = (T = m[L]) == null ? void 0 : T.span) != null ? ee : m.span) != null ? oe : 1;
1374
+ return (ne = (ee = (T = m[L]) == null ? void 0 : T.span) != null ? ee : m.span) != null ? ne : 1;
1375
1375
  }
1376
1376
  function B(m) {
1377
- var T, ee, oe;
1377
+ var T, ee, ne;
1378
1378
  const L = h.value;
1379
- return (oe = (ee = (T = m[L]) == null ? void 0 : T.offset) != null ? ee : m.offset) != null ? oe : 0;
1379
+ return (ne = (ee = (T = m[L]) == null ? void 0 : T.offset) != null ? ee : m.offset) != null ? ne : 0;
1380
1380
  }
1381
- const q = O(() => {
1382
- var T, ee, oe, ve, ye, be;
1381
+ const q = z(() => {
1382
+ var T, ee, ne, 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
- 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 = O(() => {
1387
+ return (be = (ye = (ve = (ne = (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 ? ne : 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 = z(() => {
1389
1389
  const m = i.collapsible;
1390
1390
  return typeof m == "number" && m > 0 ? m : 1;
1391
- }), j = O(() => {
1391
+ }), j = z(() => {
1392
1392
  if (!i.collapsible)
1393
1393
  return -1;
1394
1394
  const m = i.buttonAlign === "inline" && (i.showQueryBtn || i.showResetBtn || !!c["extra-buttons"] || !!c.buttons), L = q.value * W.value - (m ? xa : 0);
@@ -1396,38 +1396,38 @@ const ht = v({
1396
1396
  return 0;
1397
1397
  let T = 0;
1398
1398
  for (let ee = 0; ee < d.value.length; ee++) {
1399
- const oe = d.value[ee];
1400
- if (T += f(oe) + B(oe), T > L)
1399
+ const ne = d.value[ee];
1400
+ if (T += f(ne) + B(ne), T > L)
1401
1401
  return ee;
1402
1402
  }
1403
1403
  return -1;
1404
- }), G = O(() => j.value >= 0), U = O(() => ({
1404
+ }), G = z(() => j.value >= 0), U = z(() => ({
1405
1405
  display: "grid",
1406
1406
  gridTemplateColumns: `repeat(${q.value}, 1fr)`,
1407
1407
  gap: "0 16px"
1408
1408
  }));
1409
1409
  function K(m) {
1410
- const L = q.value, T = Math.min(f(m), L), ee = B(m), oe = {
1410
+ const L = q.value, T = Math.min(f(m), L), ee = B(m), ne = {
1411
1411
  gridColumn: `span ${T}`
1412
1412
  };
1413
- return ee > 0 && (oe.marginLeft = `calc(${ee / L * 100}% + ${ee * 16}px)`), oe;
1413
+ return ee > 0 && (ne.marginLeft = `calc(${ee / L * 100}% + ${ee * 16}px)`), ne;
1414
1414
  }
1415
- const se = O(() => {
1415
+ const se = z(() => {
1416
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
- for (let oe = 0; oe < T; oe++) {
1419
- const ve = f(L[oe]), ye = B(L[oe]), be = ee + ve + ye;
1418
+ for (let ne = 0; ne < T; ne++) {
1419
+ const ve = f(L[ne]), ye = B(L[ne]), be = ee + ve + ye;
1420
1420
  ee = be >= m ? be % m : be;
1421
1421
  }
1422
1422
  return ee;
1423
- }), ne = O(() => {
1423
+ }), te = z(() => {
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 = O(() => {
1430
+ }, X = z(() => {
1431
1431
  var L;
1432
1432
  const m = {
1433
1433
  justifyContent: (L = ie[i.buttonAlign]) != null ? L : "flex-start"
@@ -1437,7 +1437,7 @@ const ht = v({
1437
1437
  T && T !== "auto" && (m.paddingLeft = typeof T == "number" ? `${T}px` : String(T));
1438
1438
  }
1439
1439
  return m;
1440
- }), ue = O(
1440
+ }), ue = z(
1441
1441
  () => i.showQueryBtn || i.showResetBtn || !!c["extra-buttons"] || !!c.buttons
1442
1442
  );
1443
1443
  function re(m, L) {
@@ -1483,25 +1483,25 @@ const ht = v({
1483
1483
  }, ["prevent"]))
1484
1484
  }, {
1485
1485
  default: S(() => [
1486
- te(
1486
+ oe(
1487
1487
  "div",
1488
1488
  {
1489
1489
  class: "sy-pro-form__grid",
1490
1490
  style: _e(U.value)
1491
1491
  },
1492
1492
  [
1493
- (P(!0), Z(
1493
+ (P(!0), Y(
1494
1494
  de,
1495
1495
  null,
1496
1496
  Ve(d.value, (T, ee) => {
1497
- var oe;
1498
- return P(), Z(
1497
+ var ne;
1498
+ return P(), Y(
1499
1499
  de,
1500
1500
  {
1501
1501
  key: T.field
1502
1502
  },
1503
1503
  [
1504
- !n.collapsible || !H.value || j.value < 0 || ee < j.value ? (P(), Z(
1504
+ !n.collapsible || !H.value || j.value < 0 || ee < j.value ? (P(), Y(
1505
1505
  "div",
1506
1506
  {
1507
1507
  key: 0,
@@ -1509,23 +1509,23 @@ const ht = v({
1509
1509
  style: _e(K(T))
1510
1510
  },
1511
1511
  [
1512
- F(" slot 类型:渲染具名插槽,用户自行提供完整的 sy-form-item 内容 "),
1513
- T.component === "slot" ? z(m.$slots, T.field, {
1512
+ I(" slot 类型:渲染具名插槽,用户自行提供完整的 sy-form-item 内容 "),
1513
+ T.component === "slot" ? O(m.$slots, T.field, {
1514
1514
  key: 0,
1515
1515
  item: T
1516
- }) : (P(), Z(
1516
+ }) : (P(), Y(
1517
1517
  de,
1518
1518
  { key: 1 },
1519
1519
  [
1520
- F(" 内置组件类型:走原有渲染路径 "),
1521
- I(r(gs), C({
1520
+ I(" 内置组件类型:走原有渲染路径 "),
1521
+ F(r(gs), C({
1522
1522
  prop: T.field,
1523
- label: (oe = T.label) != null ? oe : ""
1523
+ label: (ne = T.label) != null ? ne : ""
1524
1524
  }, { ref_for: !0 }, T.labelWidth != null ? { labelWidth: T.labelWidth } : {}, {
1525
1525
  rules: T.rules
1526
1526
  }), Ye({
1527
1527
  default: S(() => [
1528
- I(ht, {
1528
+ F(ht, {
1529
1529
  "model-value": n.model[T.field],
1530
1530
  schema: T,
1531
1531
  model: n.model,
@@ -1538,24 +1538,24 @@ const ht = v({
1538
1538
  T.tooltip ? {
1539
1539
  name: "label",
1540
1540
  fn: S(() => [
1541
- te(
1541
+ oe(
1542
1542
  "span",
1543
1543
  null,
1544
1544
  ke(T.label),
1545
1545
  1
1546
1546
  /* TEXT */
1547
1547
  ),
1548
- I(r($e), {
1548
+ F(r($e), {
1549
1549
  content: T.tooltip,
1550
1550
  placement: "top"
1551
1551
  }, {
1552
1552
  default: S(() => [
1553
- I(r(Ne), {
1553
+ F(r(Ne), {
1554
1554
  class: "sy-pro-form__tip-icon",
1555
1555
  style: { "margin-left": "4px", "vertical-align": "middle", cursor: "pointer" }
1556
1556
  }, {
1557
1557
  default: S(() => [
1558
- I(r(To))
1558
+ F(r(To))
1559
1559
  ]),
1560
1560
  _: 1
1561
1561
  /* STABLE */
@@ -1575,7 +1575,7 @@ const ht = v({
1575
1575
  ],
1576
1576
  4
1577
1577
  /* STYLE */
1578
- )) : F("v-if", !0)
1578
+ )) : I("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
- F(" 默认插槽:额外自定义字段 "),
1588
- z(m.$slots, "default"),
1589
- F(" 按钮区 —— inline 模式:在网格内贴右 "),
1590
- n.buttonAlign === "inline" && (ue.value || n.collapsible && G.value) ? (P(), Z(
1587
+ I(" 默认插槽:额外自定义字段 "),
1588
+ O(m.$slots, "default"),
1589
+ I(" 按钮区 —— inline 模式:在网格内贴右 "),
1590
+ n.buttonAlign === "inline" && (ue.value || n.collapsible && G.value) ? (P(), Y(
1591
1591
  "div",
1592
1592
  {
1593
1593
  key: 0,
1594
1594
  class: "sy-pro-form__grid-item sy-pro-form__buttons",
1595
- style: _e(ne.value)
1595
+ style: _e(te.value)
1596
1596
  },
1597
1597
  [
1598
- z(m.$slots, "buttons", {}, () => [
1598
+ O(m.$slots, "buttons", {}, () => [
1599
1599
  n.showQueryBtn ? (P(), Q(r(le), {
1600
1600
  key: 0,
1601
1601
  type: "primary",
@@ -1611,7 +1611,7 @@ const ht = v({
1611
1611
  ]),
1612
1612
  _: 1
1613
1613
  /* STABLE */
1614
- }, 8, ["loading"])) : F("v-if", !0),
1614
+ }, 8, ["loading"])) : I("v-if", !0),
1615
1615
  n.showResetBtn ? (P(), Q(r(le), {
1616
1616
  key: 1,
1617
1617
  onClick: he
@@ -1625,8 +1625,8 @@ const ht = v({
1625
1625
  ]),
1626
1626
  _: 1
1627
1627
  /* STABLE */
1628
- })) : F("v-if", !0),
1629
- z(m.$slots, "extra-buttons")
1628
+ })) : I("v-if", !0),
1629
+ O(m.$slots, "extra-buttons")
1630
1630
  ]),
1631
1631
  n.collapsible && G.value ? (P(), Q(r(le), {
1632
1632
  key: 0,
@@ -1640,9 +1640,9 @@ const ht = v({
1640
1640
  1
1641
1641
  /* TEXT */
1642
1642
  ),
1643
- I(r(Ne), { style: { "margin-left": "2px" } }, {
1643
+ F(r(Ne), { style: { "margin-left": "2px" } }, {
1644
1644
  default: S(() => [
1645
- (P(), Q(It(H.value ? r(zt) : r(Ot))))
1645
+ (P(), Q(It(H.value ? r(Ot) : r(zt))))
1646
1646
  ]),
1647
1647
  _: 1
1648
1648
  /* STABLE */
@@ -1650,17 +1650,17 @@ const ht = v({
1650
1650
  ]),
1651
1651
  _: 1
1652
1652
  /* STABLE */
1653
- })) : F("v-if", !0)
1653
+ })) : I("v-if", !0)
1654
1654
  ],
1655
1655
  4
1656
1656
  /* STYLE */
1657
- )) : F("v-if", !0)
1657
+ )) : I("v-if", !0)
1658
1658
  ],
1659
1659
  4
1660
1660
  /* STYLE */
1661
1661
  ),
1662
- F(" 按钮区 —— 独立成行模式(left / center / right) "),
1663
- n.buttonAlign !== "inline" && (ue.value || n.collapsible && G.value) ? (P(), Z(
1662
+ I(" 按钮区 —— 独立成行模式(left / center / right) "),
1663
+ n.buttonAlign !== "inline" && (ue.value || n.collapsible && G.value) ? (P(), Y(
1664
1664
  "div",
1665
1665
  {
1666
1666
  key: 0,
@@ -1668,7 +1668,7 @@ const ht = v({
1668
1668
  style: _e(X.value)
1669
1669
  },
1670
1670
  [
1671
- z(m.$slots, "buttons", {}, () => [
1671
+ O(m.$slots, "buttons", {}, () => [
1672
1672
  n.showQueryBtn ? (P(), Q(r(le), {
1673
1673
  key: 0,
1674
1674
  type: "primary",
@@ -1684,7 +1684,7 @@ const ht = v({
1684
1684
  ]),
1685
1685
  _: 1
1686
1686
  /* STABLE */
1687
- }, 8, ["loading"])) : F("v-if", !0),
1687
+ }, 8, ["loading"])) : I("v-if", !0),
1688
1688
  n.showResetBtn ? (P(), Q(r(le), {
1689
1689
  key: 1,
1690
1690
  onClick: he
@@ -1698,8 +1698,8 @@ const ht = v({
1698
1698
  ]),
1699
1699
  _: 1
1700
1700
  /* STABLE */
1701
- })) : F("v-if", !0),
1702
- z(m.$slots, "extra-buttons")
1701
+ })) : I("v-if", !0),
1702
+ O(m.$slots, "extra-buttons")
1703
1703
  ]),
1704
1704
  n.collapsible && G.value ? (P(), Q(r(le), {
1705
1705
  key: 0,
@@ -1713,9 +1713,9 @@ const ht = v({
1713
1713
  1
1714
1714
  /* TEXT */
1715
1715
  ),
1716
- I(r(Ne), { style: { "margin-left": "2px" } }, {
1716
+ F(r(Ne), { style: { "margin-left": "2px" } }, {
1717
1717
  default: S(() => [
1718
- (P(), Q(It(H.value ? r(zt) : r(Ot))))
1718
+ (P(), Q(It(H.value ? r(Ot) : r(zt))))
1719
1719
  ]),
1720
1720
  _: 1
1721
1721
  /* STABLE */
@@ -1723,11 +1723,11 @@ const ht = v({
1723
1723
  ]),
1724
1724
  _: 1
1725
1725
  /* STABLE */
1726
- })) : F("v-if", !0)
1726
+ })) : I("v-if", !0)
1727
1727
  ],
1728
1728
  4
1729
1729
  /* STYLE */
1730
- )) : F("v-if", !0)
1730
+ )) : I("v-if", !0)
1731
1731
  ]),
1732
1732
  _: 3
1733
1733
  /* FORWARDED */
@@ -1735,7 +1735,7 @@ const ht = v({
1735
1735
  }
1736
1736
  }), Ra = w(_a);
1737
1737
  function Pa(n = "id") {
1738
- const o = D([]), s = O(() => o.value.length > 0), c = O(() => o.value.map((t) => t[n]));
1738
+ const o = D([]), s = z(() => o.value.length > 0), c = z(() => o.value.map((t) => t[n]));
1739
1739
  function i(t) {
1740
1740
  o.value = t;
1741
1741
  }
@@ -1764,7 +1764,7 @@ function Ta(n) {
1764
1764
  pageNum: 1,
1765
1765
  pageSize: a != null ? a : 10,
1766
1766
  total: 0
1767
- }), M = Je({}), H = Je({}), h = O(() => {
1767
+ }), M = Je({}), H = Je({}), h = z(() => {
1768
1768
  if (!(e != null && e.value))
1769
1769
  return A.value;
1770
1770
  if (!t)
@@ -1792,13 +1792,13 @@ function Ta(n) {
1792
1792
  k.value = !0;
1793
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
- const ne = yield o(se);
1796
- if (!ne.success) {
1797
- l == null || l(ne);
1795
+ const te = yield o(se);
1796
+ if (!te.success) {
1797
+ l == null || l(te);
1798
1798
  return;
1799
1799
  }
1800
- let ie = (G = ne.data) != null ? G : [];
1801
- i && (ie = i(ie)), A.value = ie, t && ($.total = (U = ne.total) != null ? U : 0);
1800
+ let ie = (G = te.data) != null ? G : [];
1801
+ i && (ie = i(ie)), A.value = ie, t && ($.total = (U = te.total) != null ? U : 0);
1802
1802
  } catch (K) {
1803
1803
  l == null || l(K);
1804
1804
  } finally {
@@ -1857,23 +1857,23 @@ const Ht = {
1857
1857
  autoHeight: !1
1858
1858
  };
1859
1859
  function $a(n, o, s) {
1860
- var ye, be, je, ze;
1860
+ var ye, be, je, Oe;
1861
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
1863
  const E = l[b];
1864
1864
  if (E !== void 0)
1865
1865
  return E;
1866
- const Y = Reflect.get(u, b, V);
1867
- if (Y !== void 0)
1868
- return Y;
1869
- const J = b;
1870
- if (J in i && i[J] !== void 0)
1871
- return i[J];
1866
+ const J = Reflect.get(u, b, V);
1867
+ if (J !== void 0)
1868
+ return J;
1869
+ const Z = b;
1870
+ if (Z in i && i[Z] !== void 0)
1871
+ return i[Z];
1872
1872
  const pe = b;
1873
1873
  if (pe in Ht)
1874
1874
  return Ht[pe];
1875
1875
  }
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());
1876
+ }), e = t, a = D(), k = D(), A = D(), $ = D(e.type !== "unify" && e.type !== "custom"), M = D(null), H = z(() => Je(rn(n.columns))), h = D(/* @__PURE__ */ new Map());
1877
1877
  function g(u) {
1878
1878
  return We(this, null, function* () {
1879
1879
  var V;
@@ -1892,31 +1892,31 @@ function $a(n, o, s) {
1892
1892
  });
1893
1893
  }
1894
1894
  Ft("proTableEnumMap", h), Ft("proTableSlots", s);
1895
- const p = O(
1895
+ const p = z(
1896
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, 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);
1900
+ var V, E, J, Z;
1901
+ return ((E = (V = u.search) == null ? void 0 : V.order) != null ? E : 0) - ((Z = (J = b.search) == null ? void 0 : J.order) != null ? Z : 0);
1902
1902
  })
1903
- ), d = O(
1903
+ ), d = z(
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, 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;
1908
+ var J, Z, pe, ae, Te, ze;
1909
+ const V = typeof ((J = u.search) == null ? void 0 : J.quick) == "object" && (pe = (Z = u.search) == null ? void 0 : Z.quick.order) != null ? pe : 0, E = typeof ((ae = b.search) == null ? void 0 : ae.quick) == "object" && (ze = (Te = b.search) == null ? void 0 : Te.quick.order) != null ? ze : 0;
1910
1910
  return V - E;
1911
1911
  })
1912
- ), f = O(
1912
+ ), f = z(
1913
1913
  () => p.value.map((u) => {
1914
- var b, V, E, Y, J, pe, ae, Te, Oe, St, Ct, kt, At, wt, xt;
1914
+ var b, V, E, J, Z, pe, ae, Te, ze, St, Ct, kt, At, wt, xt;
1915
1915
  return {
1916
1916
  field: (E = (V = (b = u.search) == null ? void 0 : b.key) != null ? V : u.prop) != null ? E : "",
1917
1917
  label: u.label,
1918
- component: (Y = u.search) == null ? void 0 : Y.component,
1919
- props: (J = u.search) == null ? void 0 : J.props,
1918
+ component: (J = u.search) == null ? void 0 : J.component,
1919
+ props: (Z = u.search) == null ? void 0 : Z.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) {
@@ -1930,7 +1930,7 @@ function $a(n, o, s) {
1930
1930
  defaultValue: (pe = u.search) == null ? void 0 : pe.defaultValue,
1931
1931
  span: (ae = u.search) == null ? void 0 : ae.span,
1932
1932
  offset: (Te = u.search) == null ? void 0 : Te.offset,
1933
- order: (Oe = u.search) == null ? void 0 : Oe.order,
1933
+ order: (ze = u.search) == null ? void 0 : ze.order,
1934
1934
  render: (St = u.search) == null ? void 0 : St.render,
1935
1935
  xs: (Ct = u.search) == null ? void 0 : Ct.xs,
1936
1936
  sm: (kt = u.search) == null ? void 0 : kt.sm,
@@ -1941,25 +1941,25 @@ function $a(n, o, s) {
1941
1941
  })
1942
1942
  ), B = D({}), q = {};
1943
1943
  function W() {
1944
- var u, b, V, E, Y;
1945
- for (const J of Object.keys(B.value))
1946
- delete B.value[J];
1947
- for (const J of Object.keys(q))
1948
- delete q[J];
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 = (E = J.search) == null ? void 0 : E.defaultValue) != null ? Y : null;
1944
+ var u, b, V, E, J;
1945
+ for (const Z of Object.keys(B.value))
1946
+ delete B.value[Z];
1947
+ for (const Z of Object.keys(q))
1948
+ delete q[Z];
1949
+ for (const Z of p.value) {
1950
+ const pe = (V = (b = (u = Z.search) == null ? void 0 : u.key) != null ? b : Z.prop) != null ? V : "", ae = (J = (E = Z.search) == null ? void 0 : E.defaultValue) != null ? J : null;
1951
1951
  B.value[pe] = ae, q[pe] = ae;
1952
1952
  }
1953
1953
  }
1954
- const { loading: j, processTableData: G, pageable: U, getTableList: K, handleSizeChange: se, handleCurrentChange: ne } = Ta({
1954
+ const { loading: j, processTableData: G, pageable: U, getTableList: K, handleSizeChange: se, handleCurrentChange: te } = Ta({
1955
1955
  request: n.request,
1956
1956
  params: hn(n, "params"),
1957
1957
  searchParam: B,
1958
1958
  postData: n.postData,
1959
1959
  requestError: n.requestError,
1960
1960
  pagination: n.pagination,
1961
- staticData: O(() => n.data),
1962
- initialPageSize: (ze = (je = e.pageSize) != null ? je : i.pageSize) != null ? ze : 10
1961
+ staticData: z(() => n.data),
1962
+ initialPageSize: (Oe = (je = e.pageSize) != null ? je : i.pageSize) != null ? Oe : 10
1963
1963
  });
1964
1964
  function ie() {
1965
1965
  Object.assign(U, { pageNum: 1 }), K(), o("search");
@@ -1992,7 +1992,7 @@ function $a(n, o, s) {
1992
1992
  function ee(u) {
1993
1993
  return e.toolButton === !0 ? !0 : e.toolButton === !1 ? !1 : e.toolButton.includes(u);
1994
1994
  }
1995
- function oe() {
1995
+ function ne() {
1996
1996
  $.value = !$.value;
1997
1997
  }
1998
1998
  function ve() {
@@ -2029,12 +2029,12 @@ function $a(n, o, s) {
2029
2029
  clearSelection: Ce,
2030
2030
  clearRadio: L,
2031
2031
  handleSizeChange: se,
2032
- handleCurrentChange: ne,
2032
+ handleCurrentChange: te,
2033
2033
  onSortChange: T,
2034
2034
  onRadioChange: m,
2035
2035
  selectionChange: he,
2036
2036
  showToolBtn: ee,
2037
- toggleSearch: oe,
2037
+ toggleSearch: ne,
2038
2038
  openColSetting: ve
2039
2039
  };
2040
2040
  }
@@ -2047,7 +2047,7 @@ const Ba = {
2047
2047
  columns: {}
2048
2048
  },
2049
2049
  setup(n, { expose: o }) {
2050
- const s = n, c = D(!1), i = O(
2050
+ const s = n, c = D(!1), i = z(
2051
2051
  () => s.columns.filter((a) => {
2052
2052
  if (a.type && ["selection", "index", "expand", "radio", "sort"].includes(a.type))
2053
2053
  return !1;
@@ -2055,7 +2055,7 @@ const Ba = {
2055
2055
  return k === void 0 || k === !0;
2056
2056
  })
2057
2057
  );
2058
- O(() => i.value.every((a) => a.isShow !== !1)), O(() => {
2058
+ z(() => i.value.every((a) => a.isShow !== !1)), z(() => {
2059
2059
  const a = i.value.length, k = i.value.filter((A) => A.isShow !== !1).length;
2060
2060
  return k > 0 && k < a;
2061
2061
  });
@@ -2080,13 +2080,13 @@ const Ba = {
2080
2080
  class: "sy-pro-table__col-setting"
2081
2081
  }, {
2082
2082
  default: S(() => [
2083
- F(" 全选 + 重置 "),
2084
- F(` <div class="sy-pro-table__col-setting-toolbar">
2083
+ I(" 全选 + 重置 "),
2084
+ I(` <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
- F(" 列配置表格 "),
2089
- I(r(ln), {
2088
+ I(" 列配置表格 "),
2089
+ F(r(ln), {
2090
2090
  data: i.value,
2091
2091
  "row-key": "prop",
2092
2092
  border: !0,
@@ -2094,7 +2094,7 @@ const Ba = {
2094
2094
  "tree-props": { children: "_children" }
2095
2095
  }, {
2096
2096
  empty: S(() => [...k[1] || (k[1] = [
2097
- te(
2097
+ oe(
2098
2098
  "div",
2099
2099
  { style: { padding: "24px 0", color: "var(--el-text-color-secondary)", "font-size": "13px" } },
2100
2100
  "暂无可配置列",
@@ -2103,7 +2103,7 @@ const Ba = {
2103
2103
  )
2104
2104
  ])]),
2105
2105
  default: S(() => [
2106
- I(r(xe), {
2106
+ F(r(xe), {
2107
2107
  prop: "label",
2108
2108
  label: "列名",
2109
2109
  align: "left",
@@ -2122,14 +2122,14 @@ const Ba = {
2122
2122
  _: 1
2123
2123
  /* STABLE */
2124
2124
  }),
2125
- I(r(xe), {
2125
+ F(r(xe), {
2126
2126
  prop: "isShow",
2127
2127
  label: "显示",
2128
2128
  align: "center",
2129
2129
  width: "80"
2130
2130
  }, {
2131
2131
  default: S(({ row: A }) => [
2132
- I(r(ut), {
2132
+ F(r(ut), {
2133
2133
  "model-value": A.isShow !== !1,
2134
2134
  "onUpdate:modelValue": ($) => {
2135
2135
  A.isShow = $;
@@ -2139,7 +2139,7 @@ const Ba = {
2139
2139
  _: 1
2140
2140
  /* STABLE */
2141
2141
  }),
2142
- I(r(xe), {
2142
+ F(r(xe), {
2143
2143
  prop: "sortable",
2144
2144
  label: "排序",
2145
2145
  align: "center",
@@ -2150,7 +2150,7 @@ const Ba = {
2150
2150
  key: 0,
2151
2151
  modelValue: A.sortable,
2152
2152
  "onUpdate:modelValue": ($) => A.sortable = $
2153
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (P(), Z("span", Ba, "—"))
2153
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (P(), Y("span", Ba, "—"))
2154
2154
  ]),
2155
2155
  _: 1
2156
2156
  /* STABLE */
@@ -2191,9 +2191,9 @@ const Ba = {
2191
2191
  },
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
- return (t, e) => r(s).pagination && r(c).total > 0 ? (P(), Z("div", Va, [
2195
- z(t.$slots, "pagination", {}, () => [
2196
- I(r(zs), {
2194
+ return (t, e) => r(s).pagination && r(c).total > 0 ? (P(), Y("div", Va, [
2195
+ O(t.$slots, "pagination", {}, () => [
2196
+ F(r(Os), {
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
- ])) : F("v-if", !0);
2209
+ ])) : I("v-if", !0);
2210
2210
  }
2211
2211
  }), bt = /* @__PURE__ */ v({
2212
2212
  __name: "ProTableSearchRenderer",
@@ -2253,10 +2253,10 @@ const Ba = {
2253
2253
  },
2254
2254
  emits: ["radioChange"],
2255
2255
  setup(n) {
2256
- const o = n, s = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), c = Ae("proTableSlots", {}), i = O(() => {
2256
+ const o = n, s = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), c = Ae("proTableSlots", {}), i = z(() => {
2257
2257
  const h = o.column.isShow;
2258
2258
  return h === void 0 ? !0 : r(h);
2259
- }), l = O(() => {
2259
+ }), l = z(() => {
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 : [];
@@ -2340,18 +2340,18 @@ const Ba = {
2340
2340
  return (h, g) => {
2341
2341
  var d;
2342
2342
  const p = vn("ProTableColumn", !0);
2343
- return i.value ? (P(), Z(
2343
+ return i.value ? (P(), Y(
2344
2344
  de,
2345
2345
  { key: 0 },
2346
2346
  [
2347
- F(" 多级表头 "),
2347
+ I(" 多级表头 "),
2348
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
2352
2352
  }, {
2353
2353
  default: S(() => [
2354
- (P(!0), Z(
2354
+ (P(!0), Y(
2355
2355
  de,
2356
2356
  null,
2357
2357
  Ve(n.column.children, (f) => {
@@ -2367,12 +2367,12 @@ const Ba = {
2367
2367
  ]),
2368
2368
  _: 1
2369
2369
  /* STABLE */
2370
- }, 8, ["label", "align"])) : n.column.type && ["selection", "index"].includes(n.column.type) ? (P(), Z(
2370
+ }, 8, ["label", "align"])) : n.column.type && ["selection", "index"].includes(n.column.type) ? (P(), Y(
2371
2371
  de,
2372
2372
  { key: 1 },
2373
2373
  [
2374
- F(" 特殊列:selection / index(自闭合,无需 slot) "),
2375
- I(
2374
+ I(" 特殊列:selection / index(自闭合,无需 slot) "),
2375
+ F(
2376
2376
  r(xe),
2377
2377
  we(ot(n.column)),
2378
2378
  null,
@@ -2382,17 +2382,17 @@ const Ba = {
2382
2382
  ],
2383
2383
  2112
2384
2384
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2385
- )) : n.column.type === "expand" ? (P(), Z(
2385
+ )) : n.column.type === "expand" ? (P(), Y(
2386
2386
  de,
2387
2387
  { key: 2 },
2388
2388
  [
2389
- F(" expand 列:必须通过 #default slot 提供展开行内容 "),
2390
- I(
2389
+ I(" expand 列:必须通过 #default slot 提供展开行内容 "),
2390
+ F(
2391
2391
  r(xe),
2392
2392
  we(ot(n.column)),
2393
2393
  {
2394
2394
  default: S((f) => [
2395
- I(r($), { scope: f }, null, 8, ["scope"])
2395
+ F(r($), { scope: f }, null, 8, ["scope"])
2396
2396
  ]),
2397
2397
  _: 1
2398
2398
  /* STABLE */
@@ -2403,12 +2403,12 @@ const Ba = {
2403
2403
  ],
2404
2404
  2112
2405
2405
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2406
- )) : n.column.type === "radio" ? (P(), Z(
2406
+ )) : n.column.type === "radio" ? (P(), Y(
2407
2407
  de,
2408
2408
  { key: 3 },
2409
2409
  [
2410
- F(" radio 列 "),
2411
- I(
2410
+ I(" radio 列 "),
2411
+ F(
2412
2412
  r(xe),
2413
2413
  C(n.column, {
2414
2414
  width: "60",
@@ -2416,7 +2416,7 @@ const Ba = {
2416
2416
  }),
2417
2417
  {
2418
2418
  default: S((f) => [
2419
- I(r(an), {
2419
+ F(r(an), {
2420
2420
  modelValue: f.row.__radioSelected,
2421
2421
  "onUpdate:modelValue": (B) => f.row.__radioSelected = B,
2422
2422
  value: !0,
@@ -2432,12 +2432,12 @@ const Ba = {
2432
2432
  ],
2433
2433
  2112
2434
2434
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2435
- )) : n.column.type === "sort" ? (P(), Z(
2435
+ )) : n.column.type === "sort" ? (P(), Y(
2436
2436
  de,
2437
2437
  { key: 4 },
2438
2438
  [
2439
- F(" sort 列(拖拽手柄) "),
2440
- I(
2439
+ I(" sort 列(拖拽手柄) "),
2440
+ F(
2441
2441
  r(xe),
2442
2442
  C(n.column, {
2443
2443
  width: "60",
@@ -2446,14 +2446,14 @@ const Ba = {
2446
2446
  }),
2447
2447
  {
2448
2448
  default: S(() => [
2449
- I(r(rt), {
2449
+ F(r(rt), {
2450
2450
  class: "move",
2451
2451
  style: { cursor: "move" }
2452
2452
  }, {
2453
2453
  default: S(() => [
2454
- I(r(Ne), null, {
2454
+ F(r(Ne), null, {
2455
2455
  default: S(() => [
2456
- I(r($o))
2456
+ F(r($o))
2457
2457
  ]),
2458
2458
  _: 1
2459
2459
  /* STABLE */
@@ -2472,20 +2472,20 @@ const Ba = {
2472
2472
  ],
2473
2473
  2112
2474
2474
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2475
- )) : (P(), Z(
2475
+ )) : (P(), Y(
2476
2476
  de,
2477
2477
  { key: 5 },
2478
2478
  [
2479
- F(" 普通列 "),
2480
- I(
2479
+ I(" 普通列 "),
2480
+ F(
2481
2481
  r(xe),
2482
2482
  we(ot(n.column)),
2483
2483
  {
2484
2484
  header: S((f) => [
2485
- I(r(M), { scope: f }, null, 8, ["scope"])
2485
+ F(r(M), { scope: f }, null, 8, ["scope"])
2486
2486
  ]),
2487
2487
  default: S((f) => [
2488
- I(r(H), { scope: f }, null, 8, ["scope"])
2488
+ F(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
- )) : F("v-if", !0);
2503
+ )) : I("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,7 +2512,7 @@ const Ba = {
2512
2512
  onDragSort: { type: Function }
2513
2513
  },
2514
2514
  setup(n) {
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;
2515
+ const o = n, s = o.context.props, c = z(() => o.tableHeight), i = z(() => 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
  }
@@ -2535,12 +2535,12 @@ const Ba = {
2535
2535
  }
2536
2536
  return Fe(() => {
2537
2537
  Be(() => H());
2538
- }), (h, g) => (P(), Z(
2538
+ }), (h, g) => (P(), Y(
2539
2539
  de,
2540
2540
  null,
2541
2541
  [
2542
- F(" wrapper 保证 querySelector 能找到 .sy-pro-table__table,height 直接传给 el-table "),
2543
- te("div", Ia, [
2542
+ I(" wrapper 保证 querySelector 能找到 .sy-pro-table__table,height 直接传给 el-table "),
2543
+ oe("div", Ia, [
2544
2544
  et((P(), Q(r(ln), {
2545
2545
  ref: M,
2546
2546
  height: c.value,
@@ -2555,18 +2555,18 @@ const Ba = {
2555
2555
  onSortChange: r(A)
2556
2556
  }, {
2557
2557
  append: S(() => [
2558
- z(h.$slots, "append")
2558
+ O(h.$slots, "append")
2559
2559
  ]),
2560
2560
  empty: S(() => [
2561
- z(h.$slots, "empty", {}, () => [
2562
- te("div", Fa, [
2563
- I(r(hs), { description: "暂无数据" })
2561
+ O(h.$slots, "empty", {}, () => [
2562
+ oe("div", Fa, [
2563
+ F(r(hs), { description: "暂无数据" })
2564
2564
  ])
2565
2565
  ])
2566
2566
  ]),
2567
2567
  default: S(() => [
2568
- z(h.$slots, "default"),
2569
- (P(!0), Z(
2568
+ O(h.$slots, "default"),
2569
+ (P(!0), Y(
2570
2570
  de,
2571
2571
  null,
2572
2572
  Ve(r(a), (p) => {
@@ -2595,7 +2595,10 @@ const Ba = {
2595
2595
  }), Da = {
2596
2596
  key: 0,
2597
2597
  class: "sy-pro-table__search"
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({
2598
+ }, Oa = { class: "sy-pro-table__main" }, za = {
2599
+ key: 0,
2600
+ class: "sy-pro-table__header"
2601
+ }, Na = { class: "sy-pro-table__header-left" }, Ha = { class: "sy-pro-table__header-right" }, Ea = /* @__PURE__ */ v({
2599
2602
  __name: "ClassicLayout",
2600
2603
  props: {
2601
2604
  context: {},
@@ -2612,7 +2615,7 @@ const Ba = {
2612
2615
  const K = U.querySelector(".sy-pro-table__table"), se = U.querySelector(".sy-pro-table__pagination");
2613
2616
  if (!K)
2614
2617
  return;
2615
- const ne = K.getBoundingClientRect().top, ie = se ? se.getBoundingClientRect().height : 0, X = (me = (re = s.heightOffset) != null ? re : d.heightOffset) != null ? me : 0, ue = Math.floor(window.innerHeight - ne - ie - X);
2618
+ const te = K.getBoundingClientRect().top, ie = se ? se.getBoundingClientRect().height : 0, X = (me = (re = s.heightOffset) != null ? re : d.heightOffset) != null ? me : 0, ue = Math.floor(window.innerHeight - te - ie - X);
2616
2619
  return ue > 80 ? ue : void 0;
2617
2620
  }
2618
2621
  function B() {
@@ -2643,7 +2646,7 @@ const Ba = {
2643
2646
  function j(U) {
2644
2647
  H.value = U;
2645
2648
  }
2646
- return (U, K) => (P(), Z(
2649
+ return (U, K) => (P(), Y(
2647
2650
  "div",
2648
2651
  {
2649
2652
  ref_key: "layoutRef",
@@ -2651,37 +2654,37 @@ const Ba = {
2651
2654
  class: "sy-pro-table sy-pro-table--classic"
2652
2655
  },
2653
2656
  [
2654
- r(s).showSearch && r(c) && r(i).length > 0 ? (P(), Z("div", Da, [
2655
- I(bt, {
2657
+ !r(s).tableOnly && r(s).showSearch && r(c) && r(i).length > 0 ? (P(), Y("div", Da, [
2658
+ F(bt, {
2656
2659
  ref: W,
2657
2660
  context: n.context,
2658
2661
  cols: r(s).searchCols
2659
2662
  }, null, 8, ["context", "cols"])
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", {
2663
+ ])) : I("v-if", !0),
2664
+ oe("div", Oa, [
2665
+ r(s).tableOnly ? I("v-if", !0) : (P(), Y("div", za, [
2666
+ oe("div", Na, [
2667
+ I(" 业务操作按钮(新增/导出等),始终可见 "),
2668
+ O(U.$slots, "busActions"),
2669
+ I(" 批量操作,仅在有选中行时追加显示 "),
2670
+ r(e) ? O(U.$slots, "batchActions", {
2668
2671
  key: 0,
2669
2672
  selectedList: r(l),
2670
2673
  selectedListIds: r(t),
2671
2674
  isSelected: r(e)
2672
- }) : F("v-if", !0)
2675
+ }) : I("v-if", !0)
2673
2676
  ]),
2674
- te("div", Ha, [
2675
- F(" 用户自定义工具按钮(追加在系统按钮之前) "),
2676
- z(U.$slots, "toolButton"),
2677
- F(" 系统工具按钮,始终渲染 "),
2677
+ oe("div", Ha, [
2678
+ I(" 用户自定义工具按钮(追加在系统按钮之前) "),
2679
+ O(U.$slots, "toolButton"),
2680
+ I(" 系统工具按钮,始终渲染 "),
2678
2681
  r($)("refresh") ? (P(), Q(r($e), {
2679
2682
  key: 0,
2680
2683
  content: "刷新",
2681
2684
  placement: "top"
2682
2685
  }, {
2683
2686
  default: S(() => [
2684
- I(r(le), {
2687
+ F(r(le), {
2685
2688
  icon: r(en),
2686
2689
  circle: "",
2687
2690
  onClick: r(a)
@@ -2689,14 +2692,14 @@ const Ba = {
2689
2692
  ]),
2690
2693
  _: 1
2691
2694
  /* STABLE */
2692
- })) : F("v-if", !0),
2695
+ })) : I("v-if", !0),
2693
2696
  r($)("setting") ? (P(), Q(r($e), {
2694
2697
  key: 1,
2695
2698
  content: "列设置",
2696
2699
  placement: "top"
2697
2700
  }, {
2698
2701
  default: S(() => [
2699
- I(r(le), {
2702
+ F(r(le), {
2700
2703
  icon: r(tn),
2701
2704
  circle: "",
2702
2705
  onClick: r(k)
@@ -2704,14 +2707,14 @@ const Ba = {
2704
2707
  ]),
2705
2708
  _: 1
2706
2709
  /* STABLE */
2707
- })) : F("v-if", !0),
2710
+ })) : I("v-if", !0),
2708
2711
  r(s).showSearch && r($)("search") && r(i).length > 0 ? (P(), Q(r($e), {
2709
2712
  key: 2,
2710
2713
  content: "搜索",
2711
2714
  placement: "top"
2712
2715
  }, {
2713
2716
  default: S(() => [
2714
- I(r(le), {
2717
+ F(r(le), {
2715
2718
  icon: r(nn),
2716
2719
  circle: "",
2717
2720
  onClick: r(A)
@@ -2719,36 +2722,36 @@ const Ba = {
2719
2722
  ]),
2720
2723
  _: 1
2721
2724
  /* STABLE */
2722
- })) : F("v-if", !0)
2725
+ })) : I("v-if", !0)
2723
2726
  ])
2724
- ]),
2725
- I(gt, {
2727
+ ])),
2728
+ F(gt, {
2726
2729
  context: n.context,
2727
2730
  "table-height": g.value,
2728
2731
  "table-max-height": p.value,
2729
2732
  "on-drag-sort": n.onDragSort
2730
2733
  }, {
2731
2734
  append: S(() => [
2732
- z(U.$slots, "append")
2735
+ O(U.$slots, "append")
2733
2736
  ]),
2734
2737
  empty: S(() => [
2735
- z(U.$slots, "empty")
2738
+ O(U.$slots, "empty")
2736
2739
  ]),
2737
2740
  default: S(() => [
2738
- z(U.$slots, "default")
2741
+ O(U.$slots, "default")
2739
2742
  ]),
2740
2743
  _: 3
2741
2744
  /* FORWARDED */
2742
2745
  }, 8, ["context", "table-height", "table-max-height", "on-drag-sort"]),
2743
- I(yt, { context: n.context }, {
2746
+ F(yt, { context: n.context }, {
2744
2747
  pagination: S(() => [
2745
- z(U.$slots, "pagination")
2748
+ O(U.$slots, "pagination")
2746
2749
  ]),
2747
2750
  _: 3
2748
2751
  /* FORWARDED */
2749
2752
  }, 8, ["context"])
2750
2753
  ]),
2751
- I(vt, {
2754
+ F(vt, {
2752
2755
  ref: j,
2753
2756
  context: n.context
2754
2757
  }, null, 8, ["context"])
@@ -2767,7 +2770,7 @@ const Ba = {
2767
2770
  },
2768
2771
  emits: ["search", "remove", "update:modelValue"],
2769
2772
  setup(n, { emit: o }) {
2770
- const s = n, c = o, i = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), l = O(() => {
2773
+ const s = n, c = o, i = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), l = z(() => {
2771
2774
  var k, A, $, M, H, h, g;
2772
2775
  const e = s.column, a = (() => {
2773
2776
  var p, d, f, B, q, W, j;
@@ -2796,21 +2799,21 @@ const Ba = {
2796
2799
  }
2797
2800
  return (e, a) => {
2798
2801
  var k, A, $;
2799
- return P(), Z(
2802
+ return P(), Y(
2800
2803
  "div",
2801
2804
  {
2802
2805
  class: "sy-pro-table__custom-filter-chip",
2803
2806
  onKeyup: a[1] || (a[1] = jt((M) => c("search"), ["enter"]))
2804
2807
  },
2805
2808
  [
2806
- te(
2809
+ oe(
2807
2810
  "div",
2808
2811
  {
2809
2812
  class: "sy-pro-table__custom-filter-chip-control",
2810
2813
  style: _e({ width: `${($ = (A = (k = s.column.search) == null ? void 0 : k.chipWidth) != null ? A : s.width) != null ? $ : 100}px` })
2811
2814
  },
2812
2815
  [
2813
- I(ht, {
2816
+ F(ht, {
2814
2817
  schema: l.value,
2815
2818
  model: n.model,
2816
2819
  "model-value": n.modelValue,
@@ -2820,13 +2823,13 @@ const Ba = {
2820
2823
  4
2821
2824
  /* STYLE */
2822
2825
  ),
2823
- te("span", {
2826
+ oe("span", {
2824
2827
  class: "sy-pro-table__custom-filter-chip-close",
2825
2828
  onClick: a[0] || (a[0] = Kt((M) => c("remove"), ["stop"]))
2826
2829
  }, [
2827
- I(r(Ne), null, {
2830
+ F(r(Ne), null, {
2828
2831
  default: S(() => [
2829
- I(r(on))
2832
+ F(r(on))
2830
2833
  ]),
2831
2834
  _: 1
2832
2835
  /* STABLE */
@@ -2847,11 +2850,11 @@ const Ba = {
2847
2850
  },
2848
2851
  emits: ["search", "update:modelValue"],
2849
2852
  setup(n, { emit: o }) {
2850
- const s = n, c = o, i = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), l = O(() => {
2853
+ const s = n, c = o, i = Ae("proTableEnumMap", { value: /* @__PURE__ */ new Map() }), l = z(() => {
2851
2854
  var A;
2852
2855
  const a = (A = s.column.search) == null ? void 0 : A.quick, k = typeof a == "object" && (a == null ? void 0 : a.width) || 220;
2853
2856
  return { width: typeof k == "number" ? `${k}px` : k };
2854
- }), t = O(() => {
2857
+ }), t = z(() => {
2855
2858
  var A, $, M, H, h, g, p;
2856
2859
  const a = s.column, k = (() => {
2857
2860
  var d, f, B, q, W, j, G;
@@ -2876,7 +2879,7 @@ const Ba = {
2876
2879
  function e(a) {
2877
2880
  c("update:modelValue", a);
2878
2881
  }
2879
- return (a, k) => (P(), Z(
2882
+ return (a, k) => (P(), Y(
2880
2883
  "div",
2881
2884
  {
2882
2885
  class: "sy-pro-table__unify-quick",
@@ -2884,7 +2887,7 @@ const Ba = {
2884
2887
  onKeyup: k[0] || (k[0] = jt((A) => c("search"), ["enter"]))
2885
2888
  },
2886
2889
  [
2887
- I(ht, {
2890
+ F(ht, {
2888
2891
  schema: t.value,
2889
2892
  model: n.model,
2890
2893
  "model-value": n.modelValue,
@@ -2909,8 +2912,8 @@ const Ba = {
2909
2912
  function c() {
2910
2913
  s("search");
2911
2914
  }
2912
- return (i, l) => (P(), Z("div", qa, [
2913
- (P(!0), Z(
2915
+ return (i, l) => (P(), Y("div", qa, [
2916
+ (P(!0), Y(
2914
2917
  de,
2915
2918
  null,
2916
2919
  Ve(n.quickSearchColumns, (t) => {
@@ -2930,12 +2933,12 @@ const Ba = {
2930
2933
  128
2931
2934
  /* KEYED_FRAGMENT */
2932
2935
  )),
2933
- I(r($e), {
2936
+ F(r($e), {
2934
2937
  content: "查询",
2935
2938
  placement: "top"
2936
2939
  }, {
2937
2940
  default: S(() => [
2938
- I(r(le), {
2941
+ F(r(le), {
2939
2942
  class: "sy-pro-table__custom-search-btn",
2940
2943
  icon: r(nn),
2941
2944
  onClick: c
@@ -2950,7 +2953,7 @@ const Ba = {
2950
2953
  placement: "top"
2951
2954
  }, {
2952
2955
  default: S(() => [
2953
- I(r(le), {
2956
+ F(r(le), {
2954
2957
  class: yn(["sy-pro-table__custom-filter-btn", { "is-active": n.filterActive }]),
2955
2958
  icon: r(Bo),
2956
2959
  onClick: l[0] || (l[0] = (t) => s("toggleAdvanced"))
@@ -2958,7 +2961,7 @@ const Ba = {
2958
2961
  ]),
2959
2962
  _: 1
2960
2963
  /* STABLE */
2961
- })) : F("v-if", !0)
2964
+ })) : I("v-if", !0)
2962
2965
  ]));
2963
2966
  }
2964
2967
  }), Ka = { class: "sy-pro-table__custom-panel-inner" }, ja = { class: "sy-pro-table__custom-panel-footer" }, Wa = /* @__PURE__ */ v({
@@ -2971,7 +2974,7 @@ const Ba = {
2971
2974
  },
2972
2975
  emits: ["close", "panelSearch"],
2973
2976
  setup(n, { emit: o }) {
2974
- const s = n, c = o, i = O(() => {
2977
+ const s = n, c = o, i = z(() => {
2975
2978
  const h = typeof s.cols == "number" ? s.cols : 1;
2976
2979
  return { width: `${Math.max(360, h * 280 + 32)}px` };
2977
2980
  }), l = s.context.search, t = s.context.reset;
@@ -3008,7 +3011,7 @@ const Ba = {
3008
3011
  persisted: ""
3009
3012
  }, {
3010
3013
  default: S(() => [
3011
- et(te(
3014
+ et(oe(
3012
3015
  "div",
3013
3016
  {
3014
3017
  ref_key: "panelRootRef",
@@ -3017,8 +3020,8 @@ const Ba = {
3017
3020
  style: _e(i.value)
3018
3021
  },
3019
3022
  [
3020
- te("div", Ka, [
3021
- I(bt, {
3023
+ oe("div", Ka, [
3024
+ F(bt, {
3022
3025
  ref: $,
3023
3026
  context: n.context,
3024
3027
  cols: s.cols,
@@ -3026,8 +3029,8 @@ const Ba = {
3026
3029
  "show-reset-btn": !1,
3027
3030
  collapsible: !1
3028
3031
  }, null, 8, ["context", "cols"]),
3029
- te("div", ja, [
3030
- I(r(le), { onClick: a }, {
3032
+ oe("div", ja, [
3033
+ F(r(le), { onClick: a }, {
3031
3034
  default: S(() => [...g[0] || (g[0] = [
3032
3035
  fe(
3033
3036
  "重置",
@@ -3038,7 +3041,7 @@ const Ba = {
3038
3041
  _: 1
3039
3042
  /* STABLE */
3040
3043
  }),
3041
- I(r(le), {
3044
+ F(r(le), {
3042
3045
  type: "primary",
3043
3046
  onClick: e
3044
3047
  }, {
@@ -3065,40 +3068,43 @@ const Ba = {
3065
3068
  /* STABLE */
3066
3069
  }));
3067
3070
  }
3068
- }), Ga = { class: "sy-pro-table__main sy-pro-table__main--custom" }, Qa = { class: "sy-pro-table__header sy-pro-table__header--custom" }, Ya = { class: "sy-pro-table__custom-batch" }, Ja = { class: "sy-pro-table__custom-batch-count" }, Za = { class: "sy-pro-table__header-left" }, Xa = { class: "sy-pro-table__header-right sy-pro-table__header-right--custom" }, el = { class: "sy-pro-table__custom-panel-inner sy-pro-table__chip-overflow-list" }, tl = /* @__PURE__ */ v({
3071
+ }), Ga = { class: "sy-pro-table__main sy-pro-table__main--custom" }, Qa = {
3072
+ key: 0,
3073
+ class: "sy-pro-table__header sy-pro-table__header--custom"
3074
+ }, Ya = { class: "sy-pro-table__custom-batch" }, Ja = { class: "sy-pro-table__custom-batch-count" }, Za = { class: "sy-pro-table__header-left" }, Xa = { class: "sy-pro-table__header-right sy-pro-table__header-right--custom" }, el = { class: "sy-pro-table__custom-panel-inner sy-pro-table__chip-overflow-list" }, tl = /* @__PURE__ */ v({
3069
3075
  __name: "CustomLayout",
3070
3076
  props: {
3071
3077
  context: {},
3072
3078
  onDragSort: { type: Function }
3073
3079
  },
3074
3080
  setup(n) {
3075
- var ze;
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(() => {
3081
+ var Oe;
3082
+ 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 = z(() => !!s.showSearch && c.value && i.value.length > 0), B = z(() => {
3077
3083
  const u = new Set(l.value.map((b) => {
3078
- var V, E, Y;
3079
- return (Y = (E = (V = b.search) == null ? void 0 : V.key) != null ? E : b.prop) != null ? Y : "";
3084
+ var V, E, J;
3085
+ return (J = (E = (V = b.search) == null ? void 0 : V.key) != null ? E : b.prop) != null ? J : "";
3080
3086
  }));
3081
3087
  return i.value.filter((b) => {
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 : "");
3088
+ var V, E, J;
3089
+ return !u.has((J = (E = (V = b.search) == null ? void 0 : V.key) != null ? E : b.prop) != null ? J : "");
3084
3090
  });
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 : "";
3091
+ }), q = D(/* @__PURE__ */ new Set()), W = z(() => B.value.map((u) => {
3092
+ var E, J, Z;
3093
+ const b = (Z = (J = (E = u.search) == null ? void 0 : E.key) != null ? J : u.prop) != null ? Z : "";
3088
3094
  if (!q.value.has(b))
3089
3095
  return null;
3090
3096
  const V = t.value[b];
3091
3097
  return V == null || V === "" || Array.isArray(V) && V.length === 0 ? null : { key: b, column: u };
3092
- }).filter((u) => u !== null)), j = O(() => {
3098
+ }).filter((u) => u !== null)), j = z(() => {
3093
3099
  var b;
3094
3100
  const u = (b = s.filterChipMax) != null ? b : 3;
3095
3101
  return W.value.slice(0, u);
3096
- }), G = O(() => {
3102
+ }), G = z(() => {
3097
3103
  var b;
3098
3104
  const u = (b = s.filterChipMax) != null ? b : 3;
3099
3105
  return W.value.slice(u);
3100
- }), U = D(!1), K = D(), se = D(null), ne = D(null), ie = O(() => {
3101
- const u = ne.value, b = m.value;
3106
+ }), U = D(!1), K = D(), se = D(null), te = D(null), ie = z(() => {
3107
+ const u = te.value, b = m.value;
3102
3108
  if (!u || !b)
3103
3109
  return { left: "16px" };
3104
3110
  const V = b.getBoundingClientRect(), E = u.getBoundingClientRect();
@@ -3111,11 +3117,11 @@ const Ba = {
3111
3117
  u.length === 0 && (U.value = !1);
3112
3118
  });
3113
3119
  function ue(u) {
3114
- var E, Y, J;
3115
- const b = u.composedPath(), V = (Y = (E = se.value) == null ? void 0 : E.$el) != null ? Y : se.value;
3120
+ var E, J, Z;
3121
+ const b = u.composedPath(), V = (J = (E = se.value) == null ? void 0 : E.$el) != null ? J : se.value;
3116
3122
  for (const pe of b) {
3117
3123
  const ae = pe;
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")))
3124
+ if (ae != null && ae.classList && (ae === K.value || (Z = V == null ? void 0 : V.contains) != null && Z.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
3125
  return;
3120
3126
  }
3121
3127
  U.value = !1;
@@ -3146,13 +3152,13 @@ const Ba = {
3146
3152
  }
3147
3153
  function Ce() {
3148
3154
  B.value.forEach((u) => {
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 : "";
3151
- t.value[b] = (J = d[b]) != null ? J : void 0;
3155
+ var V, E, J, Z;
3156
+ const b = (J = (E = (V = u.search) == null ? void 0 : V.key) != null ? E : u.prop) != null ? J : "";
3157
+ t.value[b] = (Z = d[b]) != null ? Z : void 0;
3152
3158
  }), q.value.clear(), A();
3153
3159
  }
3154
- const m = D(), L = D(void 0), T = D(void 0), ee = (ze = Ae(He, {}).proTable) != null ? ze : {};
3155
- function oe() {
3160
+ const m = D(), L = D(void 0), T = D(void 0), ee = (Oe = Ae(He, {}).proTable) != null ? Oe : {};
3161
+ function ne() {
3156
3162
  var ae, Te;
3157
3163
  const u = m.value;
3158
3164
  if (!u)
@@ -3160,7 +3166,7 @@ const Ba = {
3160
3166
  const b = u.querySelector(".sy-pro-table__table"), V = u.querySelector(".sy-pro-table__pagination");
3161
3167
  if (!b)
3162
3168
  return;
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);
3169
+ const E = b.getBoundingClientRect().top, J = V ? V.getBoundingClientRect().height : 0, Z = (Te = (ae = s.heightOffset) != null ? ae : ee.heightOffset) != null ? Te : 0, pe = Math.floor(window.innerHeight - E - J - Z);
3164
3170
  return pe > 80 ? pe : void 0;
3165
3171
  }
3166
3172
  function ve() {
@@ -3169,14 +3175,14 @@ const Ba = {
3169
3175
  return;
3170
3176
  }
3171
3177
  if (s.autoHeight === !0) {
3172
- L.value = oe(), T.value = void 0;
3178
+ L.value = ne(), T.value = void 0;
3173
3179
  return;
3174
3180
  }
3175
3181
  if (s.maxHeight !== void 0) {
3176
3182
  L.value = void 0, T.value = s.maxHeight;
3177
3183
  return;
3178
3184
  }
3179
- L.value = void 0, T.value = oe();
3185
+ L.value = void 0, T.value = ne();
3180
3186
  }
3181
3187
  let ye = null;
3182
3188
  Fe(() => {
@@ -3190,7 +3196,7 @@ const Ba = {
3190
3196
  function je() {
3191
3197
  c.value && $();
3192
3198
  }
3193
- return (u, b) => (P(), Z(
3199
+ return (u, b) => (P(), Y(
3194
3200
  "div",
3195
3201
  {
3196
3202
  ref_key: "layoutRef",
@@ -3198,35 +3204,35 @@ const Ba = {
3198
3204
  class: "sy-pro-table sy-pro-table--custom"
3199
3205
  },
3200
3206
  [
3201
- te("div", Ga, [
3202
- te("div", Qa, [
3203
- F(" 批量操作模式:选中行时替换整个 header "),
3204
- r(k) ? (P(), Z(
3207
+ oe("div", Ga, [
3208
+ r(s).tableOnly ? I("v-if", !0) : (P(), Y("div", Qa, [
3209
+ I(" 批量操作模式:选中行时替换整个 header "),
3210
+ r(k) ? (P(), Y(
3205
3211
  de,
3206
3212
  { key: 0 },
3207
3213
  [
3208
- te("div", Ya, [
3209
- te(
3214
+ oe("div", Ya, [
3215
+ oe(
3210
3216
  "span",
3211
3217
  Ja,
3212
3218
  "已选 " + ke(r(e).length) + " 条数据",
3213
3219
  1
3214
3220
  /* TEXT */
3215
3221
  ),
3216
- b[1] || (b[1] = te(
3222
+ b[1] || (b[1] = oe(
3217
3223
  "span",
3218
3224
  { class: "sy-pro-table__custom-batch-divider" },
3219
3225
  null,
3220
3226
  -1
3221
3227
  /* CACHED */
3222
3228
  )),
3223
- z(u.$slots, "batchActions", {
3229
+ O(u.$slots, "batchActions", {
3224
3230
  selectedList: r(e),
3225
3231
  selectedListIds: r(a),
3226
3232
  isSelected: r(k)
3227
3233
  })
3228
3234
  ]),
3229
- I(r(le), {
3235
+ F(r(le), {
3230
3236
  class: "sy-pro-table__custom-batch-close",
3231
3237
  icon: r(on),
3232
3238
  circle: "",
@@ -3235,14 +3241,14 @@ const Ba = {
3235
3241
  ],
3236
3242
  64
3237
3243
  /* STABLE_FRAGMENT */
3238
- )) : (P(), Z(
3244
+ )) : (P(), Y(
3239
3245
  de,
3240
3246
  { key: 1 },
3241
3247
  [
3242
- F(" 正常模式 "),
3243
- F(" 左侧:快速查询 + 高级筛选 + 已应用筛选 tags "),
3244
- te("div", Za, [
3245
- I(Ua, {
3248
+ I(" 正常模式 "),
3249
+ I(" 左侧:快速查询 + 高级筛选 + 已应用筛选 tags "),
3250
+ oe("div", Za, [
3251
+ F(Ua, {
3246
3252
  "quick-search-columns": r(l),
3247
3253
  "search-param": r(t),
3248
3254
  "show-advanced": r(s).showSearch && r(M)("search") && r(i).length > 0,
@@ -3251,17 +3257,17 @@ const Ba = {
3251
3257
  onToggleAdvanced: r($),
3252
3258
  onUpdateParam: b[0] || (b[0] = (V, E) => r(t)[V] = E)
3253
3259
  }, null, 8, ["quick-search-columns", "search-param", "show-advanced", "filter-active", "onSearch", "onToggleAdvanced"]),
3254
- F(" chips 行整体包一个 div,用于精确计算 overflow panel 的对齐 left "),
3255
- W.value.length > 0 ? (P(), Z(
3260
+ I(" chips 行整体包一个 div,用于精确计算 overflow panel 的对齐 left "),
3261
+ W.value.length > 0 ? (P(), Y(
3256
3262
  "div",
3257
3263
  {
3258
3264
  key: 0,
3259
3265
  ref_key: "chipsRowRef",
3260
- ref: ne,
3266
+ ref: te,
3261
3267
  class: "sy-pro-table__chip-row"
3262
3268
  },
3263
3269
  [
3264
- (P(!0), Z(
3270
+ (P(!0), Y(
3265
3271
  de,
3266
3272
  null,
3267
3273
  Ve(j.value, (V) => (P(), Q(Et, {
@@ -3277,7 +3283,7 @@ const Ba = {
3277
3283
  128
3278
3284
  /* KEYED_FRAGMENT */
3279
3285
  )),
3280
- F(" 超出 filterChipMax 时的折叠入口 "),
3286
+ I(" 超出 filterChipMax 时的折叠入口 "),
3281
3287
  G.value.length > 0 ? (P(), Q(
3282
3288
  r(le),
3283
3289
  {
@@ -3303,7 +3309,7 @@ const Ba = {
3303
3309
  },
3304
3310
  512
3305
3311
  /* NEED_PATCH */
3306
- )) : F("v-if", !0),
3312
+ )) : I("v-if", !0),
3307
3313
  G.value.length === 0 ? (P(), Q(r(le), {
3308
3314
  key: 1,
3309
3315
  link: "",
@@ -3320,23 +3326,23 @@ const Ba = {
3320
3326
  ])]),
3321
3327
  _: 1
3322
3328
  /* STABLE */
3323
- })) : F("v-if", !0)
3329
+ })) : I("v-if", !0)
3324
3330
  ],
3325
3331
  512
3326
3332
  /* NEED_PATCH */
3327
- )) : F("v-if", !0)
3333
+ )) : I("v-if", !0)
3328
3334
  ]),
3329
- F(" 右侧:业务操作按钮 + 工具按钮 + 刷新 + 列设置 "),
3330
- te("div", Xa, [
3331
- z(u.$slots, "busActions"),
3332
- z(u.$slots, "toolButton"),
3335
+ I(" 右侧:业务操作按钮 + 工具按钮 + 刷新 + 列设置 "),
3336
+ oe("div", Xa, [
3337
+ O(u.$slots, "busActions"),
3338
+ O(u.$slots, "toolButton"),
3333
3339
  r(M)("refresh") ? (P(), Q(r($e), {
3334
3340
  key: 0,
3335
3341
  content: "刷新",
3336
3342
  placement: "top"
3337
3343
  }, {
3338
3344
  default: S(() => [
3339
- I(r(le), {
3345
+ F(r(le), {
3340
3346
  icon: r(en),
3341
3347
  circle: "",
3342
3348
  onClick: r(H)
@@ -3344,14 +3350,14 @@ const Ba = {
3344
3350
  ]),
3345
3351
  _: 1
3346
3352
  /* STABLE */
3347
- })) : F("v-if", !0),
3353
+ })) : I("v-if", !0),
3348
3354
  r(M)("setting") ? (P(), Q(r($e), {
3349
3355
  key: 1,
3350
3356
  content: "列设置",
3351
3357
  placement: "top"
3352
3358
  }, {
3353
3359
  default: S(() => [
3354
- I(r(le), {
3360
+ F(r(le), {
3355
3361
  icon: r(tn),
3356
3362
  circle: "",
3357
3363
  onClick: r(h)
@@ -3359,41 +3365,41 @@ const Ba = {
3359
3365
  ]),
3360
3366
  _: 1
3361
3367
  /* STABLE */
3362
- })) : F("v-if", !0)
3368
+ })) : I("v-if", !0)
3363
3369
  ])
3364
3370
  ],
3365
3371
  64
3366
3372
  /* STABLE_FRAGMENT */
3367
3373
  ))
3368
- ]),
3369
- I(gt, {
3374
+ ])),
3375
+ F(gt, {
3370
3376
  context: n.context,
3371
3377
  "table-height": L.value,
3372
3378
  "table-max-height": T.value,
3373
3379
  "on-drag-sort": n.onDragSort
3374
3380
  }, {
3375
3381
  append: S(() => [
3376
- z(u.$slots, "append")
3382
+ O(u.$slots, "append")
3377
3383
  ]),
3378
3384
  empty: S(() => [
3379
- z(u.$slots, "empty")
3385
+ O(u.$slots, "empty")
3380
3386
  ]),
3381
3387
  default: S(() => [
3382
- z(u.$slots, "default")
3388
+ O(u.$slots, "default")
3383
3389
  ]),
3384
3390
  _: 3
3385
3391
  /* FORWARDED */
3386
3392
  }, 8, ["context", "table-height", "table-max-height", "on-drag-sort"]),
3387
- I(yt, { context: n.context }, {
3393
+ F(yt, { context: n.context }, {
3388
3394
  pagination: S(() => [
3389
- z(u.$slots, "pagination")
3395
+ O(u.$slots, "pagination")
3390
3396
  ]),
3391
3397
  _: 3
3392
3398
  /* FORWARDED */
3393
3399
  }, 8, ["context"])
3394
3400
  ]),
3395
- F(" 两个浮层面板放在最外层容器下,避免被 __main 的 overflow:hidden 裁剪 "),
3396
- I(Wa, {
3401
+ I(" 两个浮层面板放在最外层容器下,避免被 __main 的 overflow:hidden 裁剪 "),
3402
+ F(Wa, {
3397
3403
  context: n.context,
3398
3404
  visible: f.value,
3399
3405
  cols: r(s).panelCols,
@@ -3401,13 +3407,13 @@ const Ba = {
3401
3407
  onClose: je,
3402
3408
  onPanelSearch: me
3403
3409
  }, null, 8, ["context", "visible", "cols"]),
3404
- F(" overflow chip 浮层:与第一个 chip 左对齐 "),
3405
- I(pt, {
3410
+ I(" overflow chip 浮层:与第一个 chip 左对齐 "),
3411
+ F(pt, {
3406
3412
  name: "sy-pro-table-panel",
3407
3413
  persisted: ""
3408
3414
  }, {
3409
3415
  default: S(() => [
3410
- et(te(
3416
+ et(oe(
3411
3417
  "div",
3412
3418
  {
3413
3419
  ref_key: "overflowPanelRef",
@@ -3416,8 +3422,8 @@ const Ba = {
3416
3422
  style: _e(ie.value)
3417
3423
  },
3418
3424
  [
3419
- te("div", el, [
3420
- (P(!0), Z(
3425
+ oe("div", el, [
3426
+ (P(!0), Y(
3421
3427
  de,
3422
3428
  null,
3423
3429
  Ve(G.value, (V) => (P(), Q(Et, {
@@ -3433,7 +3439,7 @@ const Ba = {
3433
3439
  128
3434
3440
  /* KEYED_FRAGMENT */
3435
3441
  )),
3436
- I(r(le), {
3442
+ F(r(le), {
3437
3443
  link: "",
3438
3444
  size: "small",
3439
3445
  class: "sy-pro-table__custom-filter-clear",
@@ -3460,7 +3466,7 @@ const Ba = {
3460
3466
  _: 1
3461
3467
  /* STABLE */
3462
3468
  }),
3463
- I(vt, {
3469
+ F(vt, {
3464
3470
  ref: be,
3465
3471
  context: n.context
3466
3472
  }, null, 8, ["context"])
@@ -3479,7 +3485,7 @@ const Ba = {
3479
3485
  },
3480
3486
  emits: ["close"],
3481
3487
  setup(n, { emit: o }) {
3482
- const s = n, c = o, i = O(() => {
3488
+ const s = n, c = o, i = z(() => {
3483
3489
  const h = typeof s.cols == "number" ? s.cols : 1;
3484
3490
  return { width: `${Math.max(360, h * 280 + 32)}px` };
3485
3491
  }), l = s.context.search, t = s.context.reset;
@@ -3511,7 +3517,7 @@ const Ba = {
3511
3517
  persisted: ""
3512
3518
  }, {
3513
3519
  default: S(() => [
3514
- et(te(
3520
+ et(oe(
3515
3521
  "div",
3516
3522
  {
3517
3523
  ref_key: "panelRootRef",
@@ -3520,8 +3526,8 @@ const Ba = {
3520
3526
  style: _e(i.value)
3521
3527
  },
3522
3528
  [
3523
- te("div", nl, [
3524
- I(bt, {
3529
+ oe("div", nl, [
3530
+ F(bt, {
3525
3531
  ref: $,
3526
3532
  context: n.context,
3527
3533
  cols: s.cols,
@@ -3529,8 +3535,8 @@ const Ba = {
3529
3535
  "show-reset-btn": !1,
3530
3536
  collapsible: !1
3531
3537
  }, null, 8, ["context", "cols"]),
3532
- te("div", ol, [
3533
- I(r(le), { onClick: a }, {
3538
+ oe("div", ol, [
3539
+ F(r(le), { onClick: a }, {
3534
3540
  default: S(() => [...g[0] || (g[0] = [
3535
3541
  fe(
3536
3542
  "重置",
@@ -3541,7 +3547,7 @@ const Ba = {
3541
3547
  _: 1
3542
3548
  /* STABLE */
3543
3549
  }),
3544
- I(r(le), {
3550
+ F(r(le), {
3545
3551
  type: "primary",
3546
3552
  onClick: e
3547
3553
  }, {
@@ -3568,7 +3574,10 @@ const Ba = {
3568
3574
  /* STABLE */
3569
3575
  }));
3570
3576
  }
3571
- }), al = { class: "sy-pro-table__main sy-pro-table__main--unify" }, ll = { class: "sy-pro-table__header sy-pro-table__header--unify" }, rl = { class: "sy-pro-table__header-left" }, cl = { class: "sy-pro-table__header-right sy-pro-table__header-right--unify" }, il = /* @__PURE__ */ v({
3577
+ }), al = { class: "sy-pro-table__main sy-pro-table__main--unify" }, ll = {
3578
+ key: 0,
3579
+ class: "sy-pro-table__header sy-pro-table__header--unify"
3580
+ }, rl = { class: "sy-pro-table__header-left" }, cl = { class: "sy-pro-table__header-right sy-pro-table__header-right--unify" }, il = /* @__PURE__ */ v({
3572
3581
  __name: "UnifyLayout",
3573
3582
  props: {
3574
3583
  context: {},
@@ -3576,16 +3585,16 @@ const Ba = {
3576
3585
  },
3577
3586
  setup(n) {
3578
3587
  var U;
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 : {};
3588
+ 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 = z(() => !!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 : {};
3580
3589
  function B() {
3581
3590
  var me, he;
3582
3591
  const K = g.value;
3583
3592
  if (!K)
3584
3593
  return;
3585
- const se = K.querySelector(".sy-pro-table__table"), ne = K.querySelector(".sy-pro-table__pagination");
3594
+ const se = K.querySelector(".sy-pro-table__table"), te = K.querySelector(".sy-pro-table__pagination");
3586
3595
  if (!se)
3587
3596
  return;
3588
- const ie = se.getBoundingClientRect().top, X = ne ? ne.getBoundingClientRect().height : 0, ue = (he = (me = s.heightOffset) != null ? me : f.heightOffset) != null ? he : 0, re = Math.floor(window.innerHeight - ie - X - ue);
3597
+ const ie = se.getBoundingClientRect().top, X = te ? te.getBoundingClientRect().height : 0, ue = (he = (me = s.heightOffset) != null ? me : f.heightOffset) != null ? he : 0, re = Math.floor(window.innerHeight - ie - X - ue);
3589
3598
  return re > 80 ? re : void 0;
3590
3599
  }
3591
3600
  function q() {
@@ -3615,7 +3624,7 @@ const Ba = {
3615
3624
  function G() {
3616
3625
  c.value && $();
3617
3626
  }
3618
- return (K, se) => (P(), Z(
3627
+ return (K, se) => (P(), Y(
3619
3628
  "div",
3620
3629
  {
3621
3630
  ref_key: "layoutRef",
@@ -3623,34 +3632,34 @@ const Ba = {
3623
3632
  class: "sy-pro-table sy-pro-table--unify"
3624
3633
  },
3625
3634
  [
3626
- te("div", al, [
3627
- te("div", ll, [
3628
- te("div", rl, [
3629
- F(" 业务操作按钮(新增/导出等),始终可见 "),
3630
- z(K.$slots, "busActions"),
3631
- F(" 批量操作,仅在有选中行时追加显示 "),
3632
- r(k) ? z(K.$slots, "batchActions", {
3635
+ oe("div", al, [
3636
+ r(s).tableOnly ? I("v-if", !0) : (P(), Y("div", ll, [
3637
+ oe("div", rl, [
3638
+ I(" 业务操作按钮(新增/导出等),始终可见 "),
3639
+ O(K.$slots, "busActions"),
3640
+ I(" 批量操作,仅在有选中行时追加显示 "),
3641
+ r(k) ? O(K.$slots, "batchActions", {
3633
3642
  key: 0,
3634
3643
  selectedList: r(e),
3635
3644
  selectedListIds: r(a),
3636
3645
  isSelected: r(k)
3637
- }) : F("v-if", !0)
3646
+ }) : I("v-if", !0)
3638
3647
  ]),
3639
- te("div", cl, [
3640
- F(" 快速搜索始终渲染 "),
3641
- (P(!0), Z(
3648
+ oe("div", cl, [
3649
+ I(" 快速搜索始终渲染 "),
3650
+ (P(!0), Y(
3642
3651
  de,
3643
3652
  null,
3644
- Ve(r(l), (ne) => {
3653
+ Ve(r(l), (te) => {
3645
3654
  var ie, X, ue, re, me;
3646
3655
  return P(), Q(cn, {
3647
- key: (X = (ie = ne.search) == null ? void 0 : ie.key) != null ? X : ne.prop,
3648
- modelValue: r(t)[(me = (re = (ue = ne.search) == null ? void 0 : ue.key) != null ? re : ne.prop) != null ? me : ""],
3656
+ key: (X = (ie = te.search) == null ? void 0 : ie.key) != null ? X : te.prop,
3657
+ modelValue: r(t)[(me = (re = (ue = te.search) == null ? void 0 : ue.key) != null ? re : te.prop) != null ? me : ""],
3649
3658
  "onUpdate:modelValue": (he) => {
3650
3659
  var Se, Ce, m;
3651
- return r(t)[(m = (Ce = (Se = ne.search) == null ? void 0 : Se.key) != null ? Ce : ne.prop) != null ? m : ""] = he;
3660
+ return r(t)[(m = (Ce = (Se = te.search) == null ? void 0 : Se.key) != null ? Ce : te.prop) != null ? m : ""] = he;
3652
3661
  },
3653
- column: ne,
3662
+ column: te,
3654
3663
  model: r(t),
3655
3664
  onSearch: r(A)
3656
3665
  }, null, 8, ["modelValue", "onUpdate:modelValue", "column", "model", "onSearch"]);
@@ -3672,7 +3681,7 @@ const Ba = {
3672
3681
  ])]),
3673
3682
  _: 1
3674
3683
  /* STABLE */
3675
- }, 8, ["onClick"])) : F("v-if", !0),
3684
+ }, 8, ["onClick"])) : I("v-if", !0),
3676
3685
  r(s).showSearch && r(M)("search") && r(i).length > 0 ? (P(), Q(r(le), {
3677
3686
  key: 1,
3678
3687
  class: "sy-pro-table__unify-advanced-btn",
@@ -3689,46 +3698,46 @@ const Ba = {
3689
3698
  ])]),
3690
3699
  _: 1
3691
3700
  /* STABLE */
3692
- }, 8, ["onClick"])) : F("v-if", !0),
3693
- F(" 工具按钮区,用户可通过 #toolButton 追加自定义工具 "),
3694
- z(K.$slots, "toolButton")
3701
+ }, 8, ["onClick"])) : I("v-if", !0),
3702
+ I(" 工具按钮区,用户可通过 #toolButton 追加自定义工具 "),
3703
+ O(K.$slots, "toolButton")
3695
3704
  ])
3696
- ]),
3697
- I(gt, {
3705
+ ])),
3706
+ F(gt, {
3698
3707
  context: n.context,
3699
3708
  "table-height": p.value,
3700
3709
  "table-max-height": d.value,
3701
3710
  "on-drag-sort": n.onDragSort
3702
3711
  }, {
3703
3712
  append: S(() => [
3704
- z(K.$slots, "append")
3713
+ O(K.$slots, "append")
3705
3714
  ]),
3706
3715
  empty: S(() => [
3707
- z(K.$slots, "empty")
3716
+ O(K.$slots, "empty")
3708
3717
  ]),
3709
3718
  default: S(() => [
3710
- z(K.$slots, "default")
3719
+ O(K.$slots, "default")
3711
3720
  ]),
3712
3721
  _: 3
3713
3722
  /* FORWARDED */
3714
3723
  }, 8, ["context", "table-height", "table-max-height", "on-drag-sort"]),
3715
- I(yt, { context: n.context }, {
3724
+ F(yt, { context: n.context }, {
3716
3725
  pagination: S(() => [
3717
- z(K.$slots, "pagination")
3726
+ O(K.$slots, "pagination")
3718
3727
  ]),
3719
3728
  _: 3
3720
3729
  /* FORWARDED */
3721
3730
  }, 8, ["context"])
3722
3731
  ]),
3723
- F(" 面板放在最外层容器下,避免被 __main 的 overflow:hidden 裁剪 "),
3724
- I(sl, {
3732
+ I(" 面板放在最外层容器下,避免被 __main 的 overflow:hidden 裁剪 "),
3733
+ F(sl, {
3725
3734
  context: n.context,
3726
3735
  visible: h.value,
3727
3736
  cols: r(s).panelCols,
3728
3737
  "exclude-selector": ".sy-pro-table__unify-advanced-btn",
3729
3738
  onClose: G
3730
3739
  }, null, 8, ["context", "visible", "cols"]),
3731
- I(vt, {
3740
+ F(vt, {
3732
3741
  ref: j,
3733
3742
  context: n.context
3734
3743
  }, null, 8, ["context"])
@@ -3768,7 +3777,8 @@ const Ba = {
3768
3777
  height: {},
3769
3778
  maxHeight: {},
3770
3779
  autoHeight: { type: Boolean },
3771
- heightOffset: {}
3780
+ heightOffset: {},
3781
+ tableOnly: { type: Boolean, default: !1 }
3772
3782
  },
3773
3783
  emits: ["search", "reset", "dragSort"],
3774
3784
  setup(n, { expose: o, emit: s }) {
@@ -3801,10 +3811,10 @@ const Ba = {
3801
3811
  "on-drag-sort": e
3802
3812
  }, Ye({
3803
3813
  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)))
3814
+ r(l).batchActions ? O(a.$slots, "batchActions", we(C({ key: 0 }, A))) : O(a.$slots, "tableHeader", we(C({ key: 1 }, A)))
3805
3815
  ]),
3806
3816
  default: S(() => [
3807
- z(a.$slots, "default")
3817
+ O(a.$slots, "default")
3808
3818
  ]),
3809
3819
  _: 2
3810
3820
  /* DYNAMIC */
@@ -3812,35 +3822,35 @@ const Ba = {
3812
3822
  r(l).busActions ? {
3813
3823
  name: "busActions",
3814
3824
  fn: S(() => [
3815
- z(a.$slots, "busActions")
3825
+ O(a.$slots, "busActions")
3816
3826
  ]),
3817
3827
  key: "0"
3818
3828
  } : void 0,
3819
3829
  r(l).toolButton ? {
3820
3830
  name: "toolButton",
3821
3831
  fn: S(() => [
3822
- z(a.$slots, "toolButton")
3832
+ O(a.$slots, "toolButton")
3823
3833
  ]),
3824
3834
  key: "1"
3825
3835
  } : void 0,
3826
3836
  r(l).append ? {
3827
3837
  name: "append",
3828
3838
  fn: S(() => [
3829
- z(a.$slots, "append")
3839
+ O(a.$slots, "append")
3830
3840
  ]),
3831
3841
  key: "2"
3832
3842
  } : void 0,
3833
3843
  r(l).empty ? {
3834
3844
  name: "empty",
3835
3845
  fn: S(() => [
3836
- z(a.$slots, "empty")
3846
+ O(a.$slots, "empty")
3837
3847
  ]),
3838
3848
  key: "3"
3839
3849
  } : void 0,
3840
3850
  r(l).pagination ? {
3841
3851
  name: "pagination",
3842
3852
  fn: S(() => [
3843
- z(a.$slots, "pagination")
3853
+ O(a.$slots, "pagination")
3844
3854
  ]),
3845
3855
  key: "4"
3846
3856
  } : void 0
@@ -3850,10 +3860,10 @@ const Ba = {
3850
3860
  "on-drag-sort": e
3851
3861
  }, Ye({
3852
3862
  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)))
3863
+ r(l).batchActions ? O(a.$slots, "batchActions", we(C({ key: 0 }, A))) : O(a.$slots, "tableHeader", we(C({ key: 1 }, A)))
3854
3864
  ]),
3855
3865
  default: S(() => [
3856
- z(a.$slots, "default")
3866
+ O(a.$slots, "default")
3857
3867
  ]),
3858
3868
  _: 2
3859
3869
  /* DYNAMIC */
@@ -3861,35 +3871,35 @@ const Ba = {
3861
3871
  r(l).busActions ? {
3862
3872
  name: "busActions",
3863
3873
  fn: S(() => [
3864
- z(a.$slots, "busActions")
3874
+ O(a.$slots, "busActions")
3865
3875
  ]),
3866
3876
  key: "0"
3867
3877
  } : void 0,
3868
3878
  r(l).toolButton ? {
3869
3879
  name: "toolButton",
3870
3880
  fn: S(() => [
3871
- z(a.$slots, "toolButton")
3881
+ O(a.$slots, "toolButton")
3872
3882
  ]),
3873
3883
  key: "1"
3874
3884
  } : void 0,
3875
3885
  r(l).append ? {
3876
3886
  name: "append",
3877
3887
  fn: S(() => [
3878
- z(a.$slots, "append")
3888
+ O(a.$slots, "append")
3879
3889
  ]),
3880
3890
  key: "2"
3881
3891
  } : void 0,
3882
3892
  r(l).empty ? {
3883
3893
  name: "empty",
3884
3894
  fn: S(() => [
3885
- z(a.$slots, "empty")
3895
+ O(a.$slots, "empty")
3886
3896
  ]),
3887
3897
  key: "3"
3888
3898
  } : void 0,
3889
3899
  r(l).pagination ? {
3890
3900
  name: "pagination",
3891
3901
  fn: S(() => [
3892
- z(a.$slots, "pagination")
3902
+ O(a.$slots, "pagination")
3893
3903
  ]),
3894
3904
  key: "4"
3895
3905
  } : void 0
@@ -3899,10 +3909,10 @@ const Ba = {
3899
3909
  "on-drag-sort": e
3900
3910
  }, Ye({
3901
3911
  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)))
3912
+ r(l).batchActions ? O(a.$slots, "batchActions", we(C({ key: 0 }, A))) : O(a.$slots, "tableHeader", we(C({ key: 1 }, A)))
3903
3913
  ]),
3904
3914
  default: S(() => [
3905
- z(a.$slots, "default")
3915
+ O(a.$slots, "default")
3906
3916
  ]),
3907
3917
  _: 2
3908
3918
  /* DYNAMIC */
@@ -3910,35 +3920,35 @@ const Ba = {
3910
3920
  r(l).busActions ? {
3911
3921
  name: "busActions",
3912
3922
  fn: S(() => [
3913
- z(a.$slots, "busActions")
3923
+ O(a.$slots, "busActions")
3914
3924
  ]),
3915
3925
  key: "0"
3916
3926
  } : void 0,
3917
3927
  r(l).toolButton ? {
3918
3928
  name: "toolButton",
3919
3929
  fn: S(() => [
3920
- z(a.$slots, "toolButton")
3930
+ O(a.$slots, "toolButton")
3921
3931
  ]),
3922
3932
  key: "1"
3923
3933
  } : void 0,
3924
3934
  r(l).append ? {
3925
3935
  name: "append",
3926
3936
  fn: S(() => [
3927
- z(a.$slots, "append")
3937
+ O(a.$slots, "append")
3928
3938
  ]),
3929
3939
  key: "2"
3930
3940
  } : void 0,
3931
3941
  r(l).empty ? {
3932
3942
  name: "empty",
3933
3943
  fn: S(() => [
3934
- z(a.$slots, "empty")
3944
+ O(a.$slots, "empty")
3935
3945
  ]),
3936
3946
  key: "3"
3937
3947
  } : void 0,
3938
3948
  r(l).pagination ? {
3939
3949
  name: "pagination",
3940
3950
  fn: S(() => [
3941
- z(a.$slots, "pagination")
3951
+ O(a.$slots, "pagination")
3942
3952
  ]),
3943
3953
  key: "4"
3944
3954
  } : void 0
@@ -3953,7 +3963,7 @@ export {
3953
3963
  Sl as SyBacktop,
3954
3964
  le as SyButton,
3955
3965
  Cl as SyCard,
3956
- Oo as SyCascader,
3966
+ zo as SyCascader,
3957
3967
  Eo as SyCheckbox,
3958
3968
  kl as SyCheckboxButton,
3959
3969
  qo as SyCheckboxGroup,
@@ -3971,8 +3981,8 @@ export {
3971
3981
  Fl as SyDivider,
3972
3982
  us as SyDrawer,
3973
3983
  Dl as SyDropdown,
3974
- Ol as SyDropdownItem,
3975
- zl as SyDropdownMenu,
3984
+ zl as SyDropdownItem,
3985
+ Ol as SyDropdownMenu,
3976
3986
  hs as SyEmpty,
3977
3987
  $l as SyFooter,
3978
3988
  bs as SyForm,
@@ -3993,7 +4003,7 @@ export {
3993
4003
  Is as SyMessageBox,
3994
4004
  Fs as SyNotification,
3995
4005
  Zs as SyOption,
3996
- zs as SyPagination,
4006
+ Os as SyPagination,
3997
4007
  Ql as SyPopconfirm,
3998
4008
  Yl as SyPopover,
3999
4009
  Ra as SyProForm,