@wg-song/bare 0.1.0 → 0.1.1

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/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { Comment as Ti, Fragment as fe, KeepAlive as Ai, Teleport as Co, Text as Ri, Transition as Ga, computed as v, createBlock as Q, createCommentVNode as le, createElementBlock as X, createElementVNode as Z, createSlots as we, createTextVNode as pe, createVNode as Y, defineAsyncComponent as wo, defineComponent as re, getCurrentInstance as Pi, guardReactiveProps as Ee, h as ue, inject as xt, isRef as Ua, mergeModels as Bt, mergeProps as be, nextTick as Pe, normalizeClass as ye, normalizeProps as Ae, normalizeStyle as ut, onBeforeUnmount as vn, onMounted as nt, onScopeDispose as Mi, onUnmounted as gn, openBlock as _, provide as ot, reactive as rt, ref as J, render as pa, renderList as ge, renderSlot as oe, resolveComponent as ke, resolveDynamicComponent as Re, shallowRef as mt, toDisplayString as ie, toHandlers as hn, toRaw as Me, toRef as pt, toValue as Be, unref as u, useAttrs as _o, useModel as Ot, useSlots as Ke, vModelSelect as Ei, vShow as Vt, watch as ce, watchEffect as oo, withCtx as O, withDirectives as kt, withModifiers as Ie } from "vue";
1
+ import { Comment as Ti, Fragment as fe, KeepAlive as Ai, Teleport as Co, Text as Ri, Transition as Ga, computed as v, createBlock as X, createCommentVNode as le, createElementBlock as Q, createElementVNode as Z, createSlots as we, createTextVNode as pe, createVNode as Y, defineAsyncComponent as wo, defineComponent as re, getCurrentInstance as Pi, guardReactiveProps as Ee, h as ue, inject as xt, isRef as Ua, mergeModels as Bt, mergeProps as be, nextTick as Pe, normalizeClass as ye, normalizeProps as Ae, normalizeStyle as ut, onBeforeUnmount as vn, onMounted as nt, onScopeDispose as Mi, onUnmounted as gn, openBlock as _, provide as ot, reactive as rt, ref as J, render as pa, renderList as ge, renderSlot as oe, resolveComponent as ke, resolveDynamicComponent as Re, shallowRef as mt, toDisplayString as ie, toHandlers as hn, toRaw as Me, toRef as pt, toValue as Be, unref as u, useAttrs as _o, useModel as Ot, useSlots as Ke, vModelSelect as Ei, vShow as Vt, watch as ce, watchEffect as oo, withCtx as O, withDirectives as kt, withModifiers as Ie } from "vue";
2
2
  import { AutoComplete as ja, Button as it, Cascader as Wa, Checkbox as At, Col as Fi, DatePicker as tt, Drawer as Bi, Dropdown as va, DropdownButton as Oi, Form as Li, FormItem as ga, FormItemRest as on, Input as Ne, InputNumber as mn, Menu as $i, MenuDivider as Ii, MenuItem as Di, Modal as zi, Pagination as Ni, Radio as Rt, Rate as ao, Row as Vi, Select as an, Slider as lo, Switch as Ha, Tabs as ha, TimePicker as Lt } from "ant-design-vue";
3
- import { AppstoreOutlined as ma, ArrowLeftOutlined as Ki, BarsOutlined as Wn, BorderOutlined as Gi, CheckCircleOutlined as Ui, CheckOutlined as ji, CheckSquareOutlined as Wi, CloseOutlined as Hi, ColumnWidthOutlined as Hn, CopyOutlined as qi, DeleteOutlined as Yi, DownOutlined as xo, DownloadOutlined as Qi, EditOutlined as Xi, EllipsisOutlined as Ji, EyeInvisibleOutlined as Zi, EyeOutlined as qa, FullscreenExitOutlined as ba, FullscreenOutlined as es, HolderOutlined as ya, KeyOutlined as ts, MenuOutlined as Ca, PicCenterOutlined as ns, PlusOutlined as os, PrinterOutlined as as, PushpinOutlined as ls, ReloadOutlined as rs, RollbackOutlined as is, SafetyCertificateOutlined as ss, SearchOutlined as us, SettingOutlined as ln, StopOutlined as cs, UndoOutlined as ds, UpOutlined as fs, UploadOutlined as ps } from "@ant-design/icons-vue";
3
+ import { AppstoreOutlined as ma, ArrowLeftOutlined as Ki, BarsOutlined as Wn, BorderOutlined as Gi, CheckCircleOutlined as Ui, CheckOutlined as ji, CheckSquareOutlined as Wi, CloseOutlined as Hi, ColumnWidthOutlined as Hn, CopyOutlined as qi, DeleteOutlined as Yi, DownOutlined as xo, DownloadOutlined as Xi, EditOutlined as Qi, EllipsisOutlined as Ji, EyeInvisibleOutlined as Zi, EyeOutlined as qa, FullscreenExitOutlined as ba, FullscreenOutlined as es, HolderOutlined as ya, KeyOutlined as ts, MenuOutlined as Ca, PicCenterOutlined as ns, PlusOutlined as os, PrinterOutlined as as, PushpinOutlined as ls, ReloadOutlined as rs, RollbackOutlined as is, SafetyCertificateOutlined as ss, SearchOutlined as us, SettingOutlined as ln, StopOutlined as cs, UndoOutlined as ds, UpOutlined as fs, UploadOutlined as ps } from "@ant-design/icons-vue";
4
4
  import { useRoute as vs, useRouter as gs } from "vue-router";
5
5
  import hs from "ant-design-vue/es/vc-pagination/locale/zh_CN.js";
6
6
  var wa = Object.defineProperty, Se = (e, t) => {
@@ -27,7 +27,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
27
27
  const o = e, n = t, a = v(() => o.type === "danger"), r = v(() => o.type === "danger" ? "primary" : o.type === "info" ? "default" : o.type === "primary" || o.type === "dashed" || o.type === "link" || o.type === "text" ? o.type : "default"), l = v(() => o.size === "default" ? "middle" : o.size);
28
28
  return (i, s) => {
29
29
  const f = ke("a-button");
30
- return _(), Q(f, be(i.$attrs, {
30
+ return _(), X(f, be(i.$attrs, {
31
31
  class: "bare-btn",
32
32
  type: r.value,
33
33
  danger: a.value,
@@ -51,7 +51,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
51
51
  setup(e) {
52
52
  return (t, o) => {
53
53
  const n = ke("a-col");
54
- return _(), Q(n, Ae(Ee(t.$attrs)), {
54
+ return _(), X(n, Ae(Ee(t.$attrs)), {
55
55
  default: O(() => [oe(t.$slots, "default")]),
56
56
  _: 3
57
57
  }, 16);
@@ -87,7 +87,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
87
87
  const t = Ot(e, "open");
88
88
  return (o, n) => {
89
89
  const a = ke("a-modal");
90
- return _(), Q(a, be({
90
+ return _(), X(a, be({
91
91
  open: t.value,
92
92
  "onUpdate:open": n[0] || (n[0] = (r) => t.value = r),
93
93
  title: e.title,
@@ -128,7 +128,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
128
128
  emits: ["select"],
129
129
  setup(e) {
130
130
  const t = e, o = v(() => t.variant === "panel"), n = v(() => t.placement ?? "bottomRight");
131
- return (a, r) => o.value ? (_(), Q(u(va), be({
131
+ return (a, r) => o.value ? (_(), X(u(va), be({
132
132
  key: 0,
133
133
  trigger: e.trigger,
134
134
  placement: n.value,
@@ -145,7 +145,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
145
145
  "trigger",
146
146
  "placement",
147
147
  "overlay-class-name"
148
- ])) : (_(), Q(u(va), be({
148
+ ])) : (_(), X(u(va), be({
149
149
  key: 1,
150
150
  trigger: e.trigger,
151
151
  placement: n.value,
@@ -177,7 +177,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
177
177
  emits: ["click"],
178
178
  setup(e, { emit: t }) {
179
179
  const o = t;
180
- return (n, a) => e.divider ? (_(), Q(u(Ii), { key: 0 })) : (_(), Q(u(Di), {
180
+ return (n, a) => e.divider ? (_(), X(u(Ii), { key: 0 })) : (_(), X(u(Di), {
181
181
  key: e.itemKey,
182
182
  disabled: e.disabled,
183
183
  onClick: a[0] || (a[0] = (r) => o("click", r))
@@ -203,7 +203,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
203
203
  const l = o.type ?? "default";
204
204
  return l === "danger" ? "primary" : l === "success" || l === "warning" || l === "info" ? "default" : l;
205
205
  });
206
- return (l, i) => (_(), Q(u(Oi), be(l.$attrs, {
206
+ return (l, i) => (_(), X(u(Oi), be(l.$attrs, {
207
207
  trigger: e.trigger,
208
208
  placement: a.value,
209
209
  "overlay-class-name": e.overlayClass,
@@ -232,7 +232,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
232
232
  __name: "Icon",
233
233
  props: { icon: {} },
234
234
  setup(e) {
235
- return (t, o) => e.icon ? (_(), Q(Re(e.icon), {
235
+ return (t, o) => e.icon ? (_(), X(Re(e.icon), {
236
236
  key: 0,
237
237
  class: "bare-icon"
238
238
  })) : le("", !0);
@@ -254,7 +254,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
254
254
  emits: ["click"],
255
255
  setup(e, { emit: t }) {
256
256
  const o = t;
257
- return (n, a) => (_(), X("a", be(n.$attrs, {
257
+ return (n, a) => (_(), Q("a", be(n.$attrs, {
258
258
  class: ["bare-link", { "bare-link--disabled": e.disabled }],
259
259
  onClick: a[0] || (a[0] = (r) => o("click", r))
260
260
  }), [oe(n.$slots, "default", {}, void 0, !0)], 16));
@@ -277,7 +277,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
277
277
  const o = t;
278
278
  return (n, a) => {
279
279
  const r = ke("a-popconfirm");
280
- return _(), Q(r, be({
280
+ return _(), X(r, be({
281
281
  title: e.title,
282
282
  "ok-text": e.okText,
283
283
  "cancel-text": e.cancelText,
@@ -314,7 +314,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
314
314
  setup(e) {
315
315
  return (t, o) => {
316
316
  const n = ke("a-popover");
317
- return _(), Q(n, be({
317
+ return _(), X(n, be({
318
318
  placement: e.placement,
319
319
  trigger: e.trigger,
320
320
  "overlay-class-name": e.overlayClassName || void 0,
@@ -354,7 +354,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
354
354
  const o = e, n = t, a = v(() => Boolean(u(o.modelValue)));
355
355
  return (r, l) => {
356
356
  const i = ke("a-switch");
357
- return _(), Q(i, be(r.$attrs, {
357
+ return _(), X(i, be(r.$attrs, {
358
358
  checked: a.value,
359
359
  "checked-children": e.checkedChildren,
360
360
  "un-checked-children": e.unCheckedChildren,
@@ -415,23 +415,23 @@ var wa = Object.defineProperty, Se = (e, t) => {
415
415
  function f(c) {
416
416
  return c.badge != null && c.badge !== "" ? `${c.label} (${c.badge})` : c.label;
417
417
  }
418
- return (c, d) => (_(), X("div", { class: ye(["bare-tabs", [`bare-tabs--${u(r).variant}`, { "bare-tabs--line": u(r).variant === "line" }]]) }, [u(r).variant === "button" ? (_(), X("div", {
418
+ return (c, d) => (_(), Q("div", { class: ye(["bare-tabs", [`bare-tabs--${u(r).variant}`, { "bare-tabs--line": u(r).variant === "line" }]]) }, [u(r).variant === "button" ? (_(), Q("div", {
419
419
  key: 0,
420
420
  class: ye(["bare-tabs__button-bar", { "bare-tabs__button-bar--block": u(r).block }])
421
- }, [(_(!0), X(fe, null, ge(u(r).tabs, (p) => (_(), Q(Ce, {
421
+ }, [(_(!0), Q(fe, null, ge(u(r).tabs, (p) => (_(), X(Ce, {
422
422
  key: p.key,
423
423
  type: l.value === p.key ? "primary" : "default",
424
424
  disabled: p.disabled,
425
425
  size: "small",
426
426
  onClick: (h) => i(p.key, p.disabled)
427
427
  }, {
428
- default: O(() => [pe(ie(p.label) + " ", 1), p.badge != null && p.badge !== "" ? (_(), X("span", Ms, ie(p.badge), 1)) : le("", !0)]),
428
+ default: O(() => [pe(ie(p.label) + " ", 1), p.badge != null && p.badge !== "" ? (_(), Q("span", Ms, ie(p.badge), 1)) : le("", !0)]),
429
429
  _: 2
430
430
  }, 1032, [
431
431
  "type",
432
432
  "disabled",
433
433
  "onClick"
434
- ]))), 128))], 2)) : (_(), Q(u(ha), {
434
+ ]))), 128))], 2)) : (_(), X(u(ha), {
435
435
  key: 1,
436
436
  activeKey: l.value,
437
437
  "onUpdate:activeKey": d[0] || (d[0] = (p) => l.value = p),
@@ -443,7 +443,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
443
443
  ]),
444
444
  "tab-bar-style": u(r).block ? { width: "100%" } : void 0
445
445
  }, {
446
- default: O(() => [(_(!0), X(fe, null, ge(u(r).tabs, (p) => (_(), Q(u(ha).TabPane, {
446
+ default: O(() => [(_(!0), Q(fe, null, ge(u(r).tabs, (p) => (_(), X(u(ha).TabPane, {
447
447
  key: p.key,
448
448
  tab: f(p),
449
449
  disabled: p.disabled
@@ -454,7 +454,7 @@ var wa = Object.defineProperty, Se = (e, t) => {
454
454
  "type",
455
455
  "class",
456
456
  "tab-bar-style"
457
- ])), c.$slots.extra ? (_(), X("div", Es, [oe(c.$slots, "extra", {}, void 0, !0)])) : le("", !0)], 2));
457
+ ])), c.$slots.extra ? (_(), Q("div", Es, [oe(c.$slots, "extra", {}, void 0, !0)])) : le("", !0)], 2));
458
458
  }
459
459
  }), jt = /* @__PURE__ */ me(Fs, [["__scopeId", "data-v-dce7acc4"]]);
460
460
  function Bs(e, t, o) {
@@ -623,7 +623,7 @@ var Os = { class: "bare-tabbed-view__header" }, Ls = { class: "bare-tabbed-view_
623
623
  activeTab: l,
624
624
  getActivatedKeys: i.getActivatedKeys,
625
625
  refresh: i.refresh
626
- }), (p, h) => (_(), X("div", { class: ye(["bare-tabbed-view", [`bare-tabbed-view--variant-${e.variant}`]]) }, [Z("div", Os, [Y(jt, {
626
+ }), (p, h) => (_(), Q("div", { class: ye(["bare-tabbed-view", [`bare-tabbed-view--variant-${e.variant}`]]) }, [Z("div", Os, [Y(jt, {
627
627
  modelValue: s.value,
628
628
  "onUpdate:modelValue": h[0] || (h[0] = (y) => s.value = y),
629
629
  tabs: f.value,
@@ -639,7 +639,7 @@ var Os = { class: "bare-tabbed-view__header" }, Ls = { class: "bare-tabbed-view_
639
639
  "modelValue",
640
640
  "tabs",
641
641
  "variant"
642
- ])]), Z("div", Ls, [(_(!0), X(fe, null, ge(e.tabs, (y) => (_(), X(fe, { key: u(i).panelKey(y.key) }, [u(i).shouldMount(y.key) ? kt((_(), X("div", {
642
+ ])]), Z("div", Ls, [(_(!0), Q(fe, null, ge(e.tabs, (y) => (_(), Q(fe, { key: u(i).panelKey(y.key) }, [u(i).shouldMount(y.key) ? kt((_(), Q("div", {
643
643
  key: 0,
644
644
  class: "bare-tabbed-view__panel",
645
645
  "data-tab-key": y.key
@@ -647,10 +647,10 @@ var Os = { class: "bare-tabbed-view__header" }, Ls = { class: "bare-tabbed-view_
647
647
  key: 0,
648
648
  tab: y,
649
649
  activated: u(i).isActivated(y.key)
650
- }, void 0, !0) : y.noKeepAlive ? y.component ? (_(), Q(Re(y.component), be({
650
+ }, void 0, !0) : y.noKeepAlive ? y.component ? (_(), X(Re(y.component), be({
651
651
  key: 2,
652
652
  ref_for: !0
653
- }, y.componentProps), null, 16)) : le("", !0) : (_(), Q(Ai, { key: 1 }, [y.component ? (_(), Q(Re(y.component), be({
653
+ }, y.componentProps), null, 16)) : le("", !0) : (_(), X(Ai, { key: 1 }, [y.component ? (_(), X(Re(y.component), be({
654
654
  key: 0,
655
655
  ref_for: !0
656
656
  }, y.componentProps), null, 16)) : le("", !0)], 1024))], 8, $s)), [[Vt, l.value === y.key]]) : le("", !0)], 64))), 128))])], 2));
@@ -666,7 +666,7 @@ var Os = { class: "bare-tabbed-view__header" }, Ls = { class: "bare-tabbed-view_
666
666
  setup(e) {
667
667
  return (t, o) => {
668
668
  const n = ke("a-tag");
669
- return _(), Q(n, be(t.$attrs, { color: e.color }), {
669
+ return _(), X(n, be(t.$attrs, { color: e.color }), {
670
670
  default: O(() => [oe(t.$slots, "default")]),
671
671
  _: 3
672
672
  }, 16, ["color"]);
@@ -682,7 +682,7 @@ var Os = { class: "bare-tabbed-view__header" }, Ls = { class: "bare-tabbed-view_
682
682
  setup(e) {
683
683
  return (t, o) => {
684
684
  const n = ke("a-tooltip");
685
- return _(), Q(n, be(t.$attrs, {
685
+ return _(), X(n, be(t.$attrs, {
686
686
  title: e.title,
687
687
  placement: e.placement
688
688
  }), {
@@ -834,13 +834,13 @@ function $t(e) {
834
834
  if (!(e === "fieldSwitcher" || e === "fieldRange"))
835
835
  return Us[e];
836
836
  }
837
- function Qa(e) {
837
+ function Xa(e) {
838
838
  return typeof e == "function";
839
839
  }
840
840
  function Je(e, t) {
841
- return Qa(e) ? e(t) : e;
841
+ return Xa(e) ? e(t) : e;
842
842
  }
843
- function Xa(e, t) {
843
+ function Qa(e, t) {
844
844
  return {
845
845
  visible: Je(e.visible ?? !0, t),
846
846
  disabled: Je(e.disabled ?? !1, t),
@@ -935,10 +935,10 @@ function Ys(e, t) {
935
935
  }
936
936
  return Object.keys(o).length > 0 ? o : void 0;
937
937
  }
938
- function Qs(e, t) {
938
+ function Xs(e, t) {
939
939
  return t && e.width != null;
940
940
  }
941
- var Xs = "form_item", Js = /* @__PURE__ */ new Set([
941
+ var Qs = "form_item", Js = /* @__PURE__ */ new Set([
942
942
  "radio",
943
943
  "radioButton",
944
944
  "checkbox",
@@ -981,7 +981,7 @@ function ou(e, t) {
981
981
  if (!o.length)
982
982
  return;
983
983
  const n = o.join("_");
984
- return t ? `${t}_${n}` : `${Xs}_${n}`;
984
+ return t ? `${t}_${n}` : `${Qs}_${n}`;
985
985
  }
986
986
  function au(e, t, o, n) {
987
987
  const { id: a, name: r, ...l } = t ?? {}, i = a ?? o, s = r ?? n;
@@ -1231,7 +1231,7 @@ function To(e = {}, t) {
1231
1231
  const k = p();
1232
1232
  return a.value.map((N) => ({
1233
1233
  ...N,
1234
- _meta: Xa(N, k)
1234
+ _meta: Qa(N, k)
1235
1235
  }));
1236
1236
  }), y = v(() => {
1237
1237
  const k = p(), N = {};
@@ -1434,7 +1434,7 @@ function To(e = {}, t) {
1434
1434
  actionType: d,
1435
1435
  formActionType: d,
1436
1436
  resolveFieldItemStyle: Ys,
1437
- hasCompactFieldWidth: Qs,
1437
+ hasCompactFieldWidth: Xs,
1438
1438
  resolveAntFormItemHtmlFor: nu,
1439
1439
  resolveFormItemAriaLabel: nl,
1440
1440
  resolveLabelPresentation: ru
@@ -1776,7 +1776,7 @@ var vu = re({
1776
1776
  onKeydown: m
1777
1777
  }, G);
1778
1778
  }
1779
- return (S, D) => (_(), Q(Re(A)));
1779
+ return (S, D) => (_(), X(Re(A)));
1780
1780
  }
1781
1781
  }), It = gu, hu = {
1782
1782
  key: 0,
@@ -1826,7 +1826,7 @@ var vu = re({
1826
1826
  ...D,
1827
1827
  validate: D.validate,
1828
1828
  clearValidate: D.clearValidate
1829
- }), (b, x) => (_(), X("div", { class: ye(["bare-form", {
1829
+ }), (b, x) => (_(), Q("div", { class: ye(["bare-form", {
1830
1830
  "is-inline": u(f),
1831
1831
  "is-compact": u(s),
1832
1832
  "is-vertical": u(r).layout === "vertical",
@@ -1842,7 +1842,7 @@ var vu = re({
1842
1842
  "wrapper-col": u(p),
1843
1843
  "scroll-to-first-error": u(r).scrollToError
1844
1844
  }, {
1845
- default: O(() => [u(s) ? (_(), X("div", hu, [(_(!0), X(fe, null, ge(u(l), (w) => (_(), X(fe, { key: w.field }, [w._meta.visible !== !1 ? (_(), X("div", {
1845
+ default: O(() => [u(s) ? (_(), Q("div", hu, [(_(!0), Q(fe, null, ge(u(l), (w) => (_(), Q(fe, { key: w.field }, [w._meta.visible !== !1 ? (_(), Q("div", {
1846
1846
  key: 0,
1847
1847
  class: ye(["bare-form-fields__item", [w.className, { "bare-form-fields__item--fixed-width": u(P)(w, !0) }]]),
1848
1848
  style: ut(u(K)(w, !0))
@@ -1854,12 +1854,12 @@ var vu = re({
1854
1854
  rules: u(i)[w.field],
1855
1855
  class: "bare-form-fields__form-item"
1856
1856
  }, we({
1857
- default: O(() => [w.render ? (_(), Q(Re(() => w.render(u(R)())), { key: 0 })) : w.slotName ? oe(b.$slots, w.slotName, {
1857
+ default: O(() => [w.render ? (_(), X(Re(() => w.render(u(R)())), { key: 0 })) : w.slotName ? oe(b.$slots, w.slotName, {
1858
1858
  key: 1,
1859
1859
  field: w,
1860
1860
  ctx: u(R)(),
1861
1861
  model: u(n)
1862
- }, void 0, !0) : (_(), Q(It, {
1862
+ }, void 0, !0) : (_(), X(It, {
1863
1863
  key: 2,
1864
1864
  schema: w,
1865
1865
  model: u(n),
@@ -1874,11 +1874,11 @@ var vu = re({
1874
1874
  _: 2
1875
1875
  }, [u(V)(w) ? {
1876
1876
  name: "label",
1877
- fn: O(() => [w.renderLabel ? (_(), Q(Re(() => w.renderLabel(u(R)())), { key: 0 })) : u(r).labelDisplay === "adaptive" && w.label ? (_(), X("span", {
1877
+ fn: O(() => [w.renderLabel ? (_(), X(Re(() => w.renderLabel(u(R)())), { key: 0 })) : u(r).labelDisplay === "adaptive" && w.label ? (_(), Q("span", {
1878
1878
  key: 1,
1879
1879
  class: ye(["bare-form-label", `bare-form-label--${u(S)(w.label)?.mode}`]),
1880
1880
  title: u(S)(w.label)?.title
1881
- }, [u(S)(w.label)?.mode === "double" ? (_(), X(fe, { key: 0 }, [Z("span", bu, ie(u(S)(w.label)?.line1), 1), Z("span", yu, ie(u(S)(w.label)?.line2), 1)], 64)) : (_(), X(fe, { key: 1 }, [pe(ie(w.label), 1)], 64))], 10, mu)) : le("", !0)]),
1881
+ }, [u(S)(w.label)?.mode === "double" ? (_(), Q(fe, { key: 0 }, [Z("span", bu, ie(u(S)(w.label)?.line1), 1), Z("span", yu, ie(u(S)(w.label)?.line2), 1)], 64)) : (_(), Q(fe, { key: 1 }, [pe(ie(w.label), 1)], 64))], 10, mu)) : le("", !0)]),
1882
1882
  key: "0"
1883
1883
  } : void 0]), 1032, [
1884
1884
  "name",
@@ -1889,11 +1889,11 @@ var vu = re({
1889
1889
  ])], 6)) : le("", !0)], 64))), 128)), oe(b.$slots, "appendCol", {
1890
1890
  ctx: u(R)(),
1891
1891
  model: u(n)
1892
- }, void 0, !0)])) : (_(), Q(u(Vi), {
1892
+ }, void 0, !0)])) : (_(), X(u(Vi), {
1893
1893
  key: 1,
1894
1894
  gutter: u(f) ? 0 : u(r).gutter ?? 16
1895
1895
  }, {
1896
- default: O(() => [(_(!0), X(fe, null, ge(u(l), (w, H) => (_(), X(fe, { key: w.field }, [w._meta.visible !== !1 ? (_(), Q(u(Fi), be({
1896
+ default: O(() => [(_(!0), Q(fe, null, ge(u(l), (w, H) => (_(), Q(fe, { key: w.field }, [w._meta.visible !== !1 ? (_(), X(u(Fi), be({
1897
1897
  key: 0,
1898
1898
  ref_for: !0
1899
1899
  }, u(y)(w)), {
@@ -1906,12 +1906,12 @@ var vu = re({
1906
1906
  class: ye(w.className),
1907
1907
  style: ut(w.style)
1908
1908
  }, we({
1909
- default: O(() => [w.render ? (_(), Q(Re(() => w.render(u(R)())), { key: 0 })) : w.slotName ? oe(b.$slots, w.slotName, {
1909
+ default: O(() => [w.render ? (_(), X(Re(() => w.render(u(R)())), { key: 0 })) : w.slotName ? oe(b.$slots, w.slotName, {
1910
1910
  key: 1,
1911
1911
  field: w,
1912
1912
  ctx: u(R)(),
1913
1913
  model: u(n)
1914
- }, void 0, !0) : (_(), Q(It, {
1914
+ }, void 0, !0) : (_(), X(It, {
1915
1915
  key: 2,
1916
1916
  schema: w,
1917
1917
  model: u(n),
@@ -1926,11 +1926,11 @@ var vu = re({
1926
1926
  _: 2
1927
1927
  }, [u(V)(w) ? {
1928
1928
  name: "label",
1929
- fn: O(() => [w.renderLabel ? (_(), Q(Re(() => w.renderLabel(u(R)())), { key: 0 })) : u(r).labelDisplay === "adaptive" && w.label ? (_(), X("span", {
1929
+ fn: O(() => [w.renderLabel ? (_(), X(Re(() => w.renderLabel(u(R)())), { key: 0 })) : u(r).labelDisplay === "adaptive" && w.label ? (_(), Q("span", {
1930
1930
  key: 1,
1931
1931
  class: ye(["bare-form-label", `bare-form-label--${u(S)(w.label)?.mode}`]),
1932
1932
  title: u(S)(w.label)?.title
1933
- }, [u(S)(w.label)?.mode === "double" ? (_(), X(fe, { key: 0 }, [Z("span", wu, ie(u(S)(w.label)?.line1), 1), Z("span", _u, ie(u(S)(w.label)?.line2), 1)], 64)) : (_(), X(fe, { key: 1 }, [pe(ie(w.label), 1)], 64))], 10, Cu)) : le("", !0)]),
1933
+ }, [u(S)(w.label)?.mode === "double" ? (_(), Q(fe, { key: 0 }, [Z("span", wu, ie(u(S)(w.label)?.line1), 1), Z("span", _u, ie(u(S)(w.label)?.line2), 1)], 64)) : (_(), Q(fe, { key: 1 }, [pe(ie(w.label), 1)], 64))], 10, Cu)) : le("", !0)]),
1934
1934
  key: "0"
1935
1935
  } : void 0]), 1032, [
1936
1936
  "name",
@@ -1952,7 +1952,7 @@ var vu = re({
1952
1952
  model: u(n)
1953
1953
  }, void 0, !0) : le("", !0)]),
1954
1954
  _: 3
1955
- }, 8, ["gutter"])), u(r).showAction ? (_(), X("div", xu, [oe(b.$slots, "action", {}, () => [Y(u(it), {
1955
+ }, 8, ["gutter"])), u(r).showAction ? (_(), Q("div", xu, [oe(b.$slots, "action", {}, () => [Y(u(it), {
1956
1956
  type: "primary",
1957
1957
  onClick: u($)
1958
1958
  }, {
@@ -2047,9 +2047,9 @@ var vu = re({
2047
2047
  function f(c) {
2048
2048
  return typeof c != "string" ? c || Ne : c === "number" || c === "inputNumber" ? mn : Ne;
2049
2049
  }
2050
- return (c, d) => (_(), X("div", Su, [
2050
+ return (c, d) => (_(), Q("div", Su, [
2051
2051
  Y(u(on), null, {
2052
- default: O(() => [Z("div", Tu, [(_(), Q(Re(f(l.value.minComponent)), be({
2052
+ default: O(() => [Z("div", Tu, [(_(), X(Re(f(l.value.minComponent)), be({
2053
2053
  value: i.value,
2054
2054
  "onUpdate:value": d[0] || (d[0] = (p) => i.value = p),
2055
2055
  placeholder: l.value.minPlaceholder,
@@ -2065,7 +2065,7 @@ var vu = re({
2065
2065
  }),
2066
2066
  Z("div", Au, ie(l.value.separator), 1),
2067
2067
  Y(u(on), null, {
2068
- default: O(() => [Z("div", Ru, [(_(), Q(Re(f(l.value.maxComponent)), be({
2068
+ default: O(() => [Z("div", Ru, [(_(), X(Re(f(l.value.maxComponent)), be({
2069
2069
  value: s.value,
2070
2070
  "onUpdate:value": d[1] || (d[1] = (p) => s.value = p),
2071
2071
  placeholder: l.value.maxPlaceholder,
@@ -2240,7 +2240,7 @@ var Bu = { class: "bare-field-switcher" }, Ou = { class: "bare-field-switcher__m
2240
2240
  const m = c.value?.component;
2241
2241
  return typeof m != "string" ? !1 : ["fieldRange", "fieldSwitcher"].includes(m);
2242
2242
  });
2243
- return (m, B) => (_(), X("div", Bu, [Y(u(on), null, {
2243
+ return (m, B) => (_(), Q("div", Bu, [Y(u(on), null, {
2244
2244
  default: O(() => [Z("div", Ou, [Y(u(an), {
2245
2245
  value: r.value,
2246
2246
  "onUpdate:value": B[0] || (B[0] = (V) => r.value = V),
@@ -2252,12 +2252,12 @@ var Bu = { class: "bare-field-switcher" }, Ou = { class: "bare-field-switcher__m
2252
2252
  }, null, 8, ["value", "options"])])]),
2253
2253
  _: 1
2254
2254
  }), Y(u(on), null, {
2255
- default: O(() => [Z("div", Lu, [y.value ? (_(), Q(Re(h(c.value?.component)), {
2255
+ default: O(() => [Z("div", Lu, [y.value ? (_(), X(Re(h(c.value?.component)), {
2256
2256
  key: 0,
2257
2257
  value: l.value,
2258
2258
  "onUpdate:value": B[1] || (B[1] = (V) => l.value = V),
2259
2259
  schema: d.value
2260
- }, null, 40, ["value", "schema"])) : (_(), Q(Re(h(c.value?.component)), be({
2260
+ }, null, 40, ["value", "schema"])) : (_(), X(Re(h(c.value?.component)), be({
2261
2261
  key: 1,
2262
2262
  value: l.value,
2263
2263
  "onUpdate:value": B[2] || (B[2] = (V) => l.value = V)
@@ -2668,7 +2668,7 @@ function yl(e = {}, t) {
2668
2668
  setSearchTrigger: y.setSearchTrigger
2669
2669
  };
2670
2670
  }
2671
- var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search-trigger-menu__text" }, Qu = { class: "bare-search-trigger-menu__label" }, Xu = { class: "bare-search-trigger-menu__desc" }, Ju = /* @__PURE__ */ re({
2671
+ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search-trigger-menu__text" }, Xu = { class: "bare-search-trigger-menu__label" }, Qu = { class: "bare-search-trigger-menu__desc" }, Ju = /* @__PURE__ */ re({
2672
2672
  __name: "SearchFormTriggerMenu",
2673
2673
  props: { modelValue: {} },
2674
2674
  emits: ["update:modelValue"],
@@ -2677,20 +2677,20 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2677
2677
  function r(l) {
2678
2678
  o("update:modelValue", l);
2679
2679
  }
2680
- return (l, i) => (_(), Q(u(Kt), {
2680
+ return (l, i) => (_(), X(u(Kt), {
2681
2681
  trigger: "click",
2682
2682
  placement: "bottomRight",
2683
2683
  "overlay-class": "bare-search-trigger-menu",
2684
2684
  "selected-keys": [e.modelValue],
2685
2685
  onSelect: i[0] || (i[0] = (s) => r(s))
2686
2686
  }, {
2687
- overlay: O(() => [(_(!0), X(fe, null, ge(u(dl), (s) => (_(), Q(u(bt), {
2687
+ overlay: O(() => [(_(!0), Q(fe, null, ge(u(dl), (s) => (_(), X(u(bt), {
2688
2688
  key: s.value,
2689
2689
  "item-key": s.value,
2690
2690
  active: e.modelValue === s.value,
2691
2691
  onClick: (f) => r(s.value)
2692
2692
  }, {
2693
- default: O(() => [Z("div", qu, [Z("span", Yu, [Z("span", Qu, ie(s.label), 1), Z("span", Xu, ie(s.desc), 1)]), e.modelValue === s.value ? (_(), Q(u(Le), {
2693
+ default: O(() => [Z("div", qu, [Z("span", Yu, [Z("span", Xu, ie(s.label), 1), Z("span", Qu, ie(s.desc), 1)]), e.modelValue === s.value ? (_(), X(u(Le), {
2694
2694
  key: 0,
2695
2695
  icon: u(a),
2696
2696
  class: "bare-search-trigger-menu__check"
@@ -2738,7 +2738,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2738
2738
  `${n.actionClass}--compact`,
2739
2739
  "bare-form-fields__actions"
2740
2740
  ]);
2741
- return (l, i) => e.isCompact ? (_(), X("div", {
2741
+ return (l, i) => e.isCompact ? (_(), Q("div", {
2742
2742
  key: 1,
2743
2743
  class: ye(r.value)
2744
2744
  }, [oe(l.$slots, "action", { ctx: e.ctx }, () => [
@@ -2752,7 +2752,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2752
2752
  }, null, 8, ["icon"]), pe(" " + ie(e.searchText), 1)]),
2753
2753
  _: 1
2754
2754
  }),
2755
- e.showReset ? (_(), Q(u(Ce), {
2755
+ e.showReset ? (_(), X(u(Ce), {
2756
2756
  key: 0,
2757
2757
  onClick: i[5] || (i[5] = (s) => a("reset"))
2758
2758
  }, {
@@ -2762,12 +2762,12 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2762
2762
  }, null, 8, ["icon"]), i[9] || (i[9] = pe(" 重置 ", -1))]),
2763
2763
  _: 1
2764
2764
  })) : le("", !0),
2765
- u(o).settings ? oe(l.$slots, "settings", { key: 1 }) : e.showSearchTriggerSettings ? (_(), Q(Aa, {
2765
+ u(o).settings ? oe(l.$slots, "settings", { key: 1 }) : e.showSearchTriggerSettings ? (_(), X(Aa, {
2766
2766
  key: 2,
2767
2767
  "model-value": e.searchTrigger,
2768
2768
  "onUpdate:modelValue": i[6] || (i[6] = (s) => a("update:searchTrigger", s))
2769
2769
  }, null, 8, ["model-value"])) : le("", !0),
2770
- e.showAdvancedToggle && e.showAdvanced ? (_(), Q(u(Ce), {
2770
+ e.showAdvancedToggle && e.showAdvanced ? (_(), X(u(Ce), {
2771
2771
  key: 3,
2772
2772
  type: "text",
2773
2773
  onClick: i[7] || (i[7] = (s) => a("toggleAdvanced"))
@@ -2778,7 +2778,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2778
2778
  }, null, 8, ["icon"])]),
2779
2779
  _: 1
2780
2780
  })) : le("", !0)
2781
- ])], 2)) : (_(), Q(u(bn), Ae(be({ key: 0 }, e.actionColProps)), {
2781
+ ])], 2)) : (_(), X(u(bn), Ae(be({ key: 0 }, e.actionColProps)), {
2782
2782
  default: O(() => [Z("div", { class: ye(e.actionClass) }, [oe(l.$slots, "action", { ctx: e.ctx }, () => [
2783
2783
  Y(u(Ce), {
2784
2784
  type: "primary",
@@ -2790,7 +2790,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2790
2790
  }, null, 8, ["icon"]), pe(" " + ie(e.searchText), 1)]),
2791
2791
  _: 1
2792
2792
  }),
2793
- e.showReset ? (_(), Q(u(Ce), {
2793
+ e.showReset ? (_(), X(u(Ce), {
2794
2794
  key: 0,
2795
2795
  onClick: i[1] || (i[1] = (s) => a("reset"))
2796
2796
  }, {
@@ -2800,12 +2800,12 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2800
2800
  }, null, 8, ["icon"]), i[8] || (i[8] = pe(" 重置 ", -1))]),
2801
2801
  _: 1
2802
2802
  })) : le("", !0),
2803
- u(o).settings ? oe(l.$slots, "settings", { key: 1 }) : e.showSearchTriggerSettings ? (_(), Q(Aa, {
2803
+ u(o).settings ? oe(l.$slots, "settings", { key: 1 }) : e.showSearchTriggerSettings ? (_(), X(Aa, {
2804
2804
  key: 2,
2805
2805
  "model-value": e.searchTrigger,
2806
2806
  "onUpdate:modelValue": i[2] || (i[2] = (s) => a("update:searchTrigger", s))
2807
2807
  }, null, 8, ["model-value"])) : le("", !0),
2808
- e.showAdvancedToggle && e.showAdvanced ? (_(), Q(u(Ce), {
2808
+ e.showAdvancedToggle && e.showAdvanced ? (_(), X(u(Ce), {
2809
2809
  key: 3,
2810
2810
  type: "text",
2811
2811
  onClick: i[3] || (i[3] = (s) => a("toggleAdvanced"))
@@ -2829,10 +2829,10 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2829
2829
  emits: ["remove", "clear"],
2830
2830
  setup(e, { emit: t }) {
2831
2831
  const o = t;
2832
- return (n, a) => (_(), X("div", ec, [
2832
+ return (n, a) => (_(), Q("div", ec, [
2833
2833
  a[1] || (a[1] = Z("span", { class: "bare-search-filters__label" }, "已选", -1)),
2834
- e.tags.length ? le("", !0) : (_(), X("span", tc, "暂无已选条件")),
2835
- (_(!0), X(fe, null, ge(e.tags, (r) => (_(), X("span", {
2834
+ e.tags.length ? le("", !0) : (_(), Q("span", tc, "暂无已选条件")),
2835
+ (_(!0), Q(fe, null, ge(e.tags, (r) => (_(), Q("span", {
2836
2836
  key: r.field,
2837
2837
  class: "bare-search-filters__tag",
2838
2838
  title: `${r.label}:${r.text}`
@@ -2846,7 +2846,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2846
2846
  onClick: Ie((l) => o("remove", r.field), ["stop"])
2847
2847
  }, " × ", 8, lc)
2848
2848
  ], 8, nc))), 128)),
2849
- e.tags.length > 1 ? (_(), X("button", {
2849
+ e.tags.length > 1 ? (_(), Q("button", {
2850
2850
  key: 1,
2851
2851
  type: "button",
2852
2852
  class: "bare-search-filters__clear",
@@ -2919,12 +2919,12 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
2919
2919
  isAdvanced: d.value,
2920
2920
  searchTrigger: j.value
2921
2921
  }));
2922
- return (g, C) => u(f) ? (_(), X("section", {
2922
+ return (g, C) => u(f) ? (_(), Q("section", {
2923
2923
  key: 1,
2924
2924
  class: ye(["float-search-wrapper", [u(E), { "float-search-wrapper--has-filters": u(H) }]]),
2925
2925
  onKeydownCapture: C[2] || (C[2] = (...k) => u(b) && u(b)(...k))
2926
2926
  }, [
2927
- Z("div", ic, [u(H) ? (_(), Q(Ra, {
2927
+ Z("div", ic, [u(H) ? (_(), X(Ra, {
2928
2928
  key: 0,
2929
2929
  tags: u(w),
2930
2930
  onRemove: u(G),
@@ -3011,19 +3011,19 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
3011
3011
  } : void 0]), 1040, ["schemas", "onFieldChange"])], 4), [[Vt, u(R)]])]),
3012
3012
  _: 3
3013
3013
  }),
3014
- u($) ? (_(), X("div", {
3014
+ u($) ? (_(), Q("div", {
3015
3015
  key: 0,
3016
3016
  class: "float-search-overlay",
3017
3017
  onClick: C[1] || (C[1] = (...k) => u(D) && u(D)(...k))
3018
3018
  })) : le("", !0)
3019
- ], 34)) : (_(), X("section", {
3019
+ ], 34)) : (_(), Q("section", {
3020
3020
  key: 0,
3021
3021
  class: ye(["bare-search-form", {
3022
3022
  "bare-search-form--compact": u(c),
3023
3023
  "bare-search-form--has-filters": u(H)
3024
3024
  }]),
3025
3025
  onKeydownCapture: C[0] || (C[0] = (...k) => u(b) && u(b)(...k))
3026
- }, [u(H) ? (_(), Q(Ra, {
3026
+ }, [u(H) ? (_(), X(Ra, {
3027
3027
  key: 0,
3028
3028
  tags: u(w),
3029
3029
  onRemove: u(G),
@@ -3121,7 +3121,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
3121
3121
  async function f() {
3122
3122
  await a.value?.handleSearch();
3123
3123
  }
3124
- return (c, d) => (_(), Q(Tn, {
3124
+ return (c, d) => (_(), X(Tn, {
3125
3125
  ref_key: "searchFormRef",
3126
3126
  ref: a,
3127
3127
  class: "bare-simple-search",
@@ -3147,7 +3147,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
3147
3147
  class: "bare-btn-icon bare-btn-icon--left"
3148
3148
  }, null, 8, ["icon"]), pe(" " + ie(e.searchText), 1)]),
3149
3149
  _: 1
3150
- }, 8, ["loading"]), e.showReset ? (_(), Q(u(Ce), {
3150
+ }, 8, ["loading"]), e.showReset ? (_(), X(u(Ce), {
3151
3151
  key: 0,
3152
3152
  class: "bare-simple-search__reset-btn",
3153
3153
  onClick: d[0] || (d[0] = (p) => a.value?.handleReset())
@@ -3188,7 +3188,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
3188
3188
  initFieldRangeValues: () => uu,
3189
3189
  initFormValues: () => Ja,
3190
3190
  isFieldRangeSchema: () => ol,
3191
- isFunction: () => Qa,
3191
+ isFunction: () => Xa,
3192
3192
  normalizeFieldRangeSide: () => rn,
3193
3193
  normalizeSchema: () => en,
3194
3194
  normalizeSearchTrigger: () => tn,
@@ -3196,7 +3196,7 @@ var qu = { class: "bare-search-trigger-menu__item" }, Yu = { class: "bare-search
3196
3196
  reportFormError: () => vt,
3197
3197
  resetFormValues: () => Ws,
3198
3198
  resolveDynamic: () => Je,
3199
- resolveFieldMeta: () => Xa,
3199
+ resolveFieldMeta: () => Qa,
3200
3200
  resolveSearchFormIcon: () => Ze,
3201
3201
  setFormErrorHandler: () => pu,
3202
3202
  useForm: () => dc,
@@ -3341,8 +3341,8 @@ var fc = [
3341
3341
  const ae = C(W) - c.value, se = n.direction === "horizontal" ? l.value.getBoundingClientRect().width : l.value.getBoundingClientRect().height;
3342
3342
  if (se <= 0)
3343
3343
  return;
3344
- const [he, xe] = [s.value, s.value + 1], $e = I.value, We = K.value, je = j(f.value, se), [ze, Xe] = [je[he], je[xe]], [Xt, Ci] = [$e[he] / 100 * se, We[he] / 100 * se], [wi, _i] = [$e[xe] / 100 * se, We[xe] / 100 * se], xi = Math.max(Xt - ze, Xe - _i), ki = Math.min(Ci - ze, Xe - wi), da = Math.max(xi, Math.min(ki, ae)), jn = [...je];
3345
- jn[he] = ze + da, jn[xe] = Xe - da, d.value = jn.map((fa, Si) => f.value[Si].endsWith("px") ? `${fa}px` : `${fa / se * 100}%`);
3344
+ const [he, xe] = [s.value, s.value + 1], $e = I.value, We = K.value, je = j(f.value, se), [ze, Qe] = [je[he], je[xe]], [Qt, Ci] = [$e[he] / 100 * se, We[he] / 100 * se], [wi, _i] = [$e[xe] / 100 * se, We[xe] / 100 * se], xi = Math.max(Qt - ze, Qe - _i), ki = Math.min(Ci - ze, Qe - wi), da = Math.max(xi, Math.min(ki, ae)), jn = [...je];
3345
+ jn[he] = ze + da, jn[xe] = Qe - da, d.value = jn.map((fa, Si) => f.value[Si].endsWith("px") ? `${fa}px` : `${fa / se * 100}%`);
3346
3346
  }
3347
3347
  function L() {
3348
3348
  h.value !== null && (cancelAnimationFrame(h.value), h.value = null), p.value = null, i.value && (i.value = !1, document.removeEventListener("pointermove", N), s.value = -1, a("resized", d.value.map((W) => parseFloat(W))));
@@ -3452,7 +3452,7 @@ var fc = [
3452
3452
  const se = E.value[W];
3453
3453
  if (!se)
3454
3454
  return null;
3455
- const he = (se === "both" ? ["prev", "next"] : [se]).map((Xe) => qe(W, Xe)).filter((Xe) => Xe !== null);
3455
+ const he = (se === "both" ? ["prev", "next"] : [se]).map((Qe) => qe(W, Qe)).filter((Qe) => Qe !== null);
3456
3456
  if (he.length === 0)
3457
3457
  return null;
3458
3458
  const xe = Ye(W), $e = Ye(W + 1), We = ae >= 2 && (xe || $e), je = xe ? "next" : $e ? "prev" : null, ze = he.length === 1;
@@ -3473,7 +3473,7 @@ var fc = [
3473
3473
  if (W.endsWith("%"))
3474
3474
  return parseFloat(W);
3475
3475
  }
3476
- function Qe(W, ae, se, he, xe) {
3476
+ function Xe(W, ae, se, he, xe) {
3477
3477
  const $e = g(se, W), We = ae[W] ?? "auto";
3478
3478
  return ue("div", {
3479
3479
  key: `splitter-${W}`,
@@ -3496,16 +3496,16 @@ var fc = [
3496
3496
  function bi(W, ae) {
3497
3497
  const se = W.length, he = R.value, xe = $.value, $e = E.value, We = Math.max(0, se - 1);
3498
3498
  return W.flatMap((je, ze) => {
3499
- const Xe = ae[ze] ?? "auto", Xt = ue("div", {
3499
+ const Qe = ae[ze] ?? "auto", Qt = ue("div", {
3500
3500
  key: je.key ?? `pane-${ze}`,
3501
3501
  class: ["bare-split-pane__pane", {
3502
3502
  "bare-split-pane__pane--scrollable": xe[ze],
3503
3503
  "bare-split-pane__pane--fixed": he[ze],
3504
3504
  "bare-split-pane__pane--collapsed": m.value.has(ze)
3505
3505
  }],
3506
- style: M(Xe, ze)
3506
+ style: M(Qe, ze)
3507
3507
  }, [je]);
3508
- return ze === W.length - 1 ? [Xt] : [Xt, Qe(ze, ae, he, $e, We)];
3508
+ return ze === W.length - 1 ? [Qt] : [Qt, Xe(ze, ae, he, $e, We)];
3509
3509
  });
3510
3510
  }
3511
3511
  function yi() {
@@ -3518,7 +3518,7 @@ var fc = [
3518
3518
  style: q.value
3519
3519
  }, bi(W, se));
3520
3520
  }
3521
- return (W, ae) => (_(), Q(Re(yi)));
3521
+ return (W, ae) => (_(), X(Re(yi)));
3522
3522
  }
3523
3523
  }), An = pc, vc = /* @__PURE__ */ re({
3524
3524
  __name: "SplitPaneLayout",
@@ -3756,7 +3756,7 @@ var fc = [
3756
3756
  function ee() {
3757
3757
  return N(Me(n.schema), A(Me(n.schema)));
3758
3758
  }
3759
- return (L, T) => (_(), Q(Re(ee())));
3759
+ return (L, T) => (_(), X(Re(ee())));
3760
3760
  }
3761
3761
  }), Rn = /* @__PURE__ */ me(vc, [["__scopeId", "data-v-1a6d9caa"]]), gc = /* @__PURE__ */ Se({
3762
3762
  SplitPane: () => An,
@@ -3833,7 +3833,7 @@ var yc = /* @__PURE__ */ re({
3833
3833
  close: r,
3834
3834
  cancel: l,
3835
3835
  visible: n
3836
- }), (i, s) => (_(), Q(u(zi), be(i.$attrs, {
3836
+ }), (i, s) => (_(), X(u(zi), be(i.$attrs, {
3837
3837
  open: u(n),
3838
3838
  "onUpdate:open": s[0] || (s[0] = (f) => Ua(n) ? n.value = f : null),
3839
3839
  title: e.title,
@@ -3915,7 +3915,7 @@ var yc = /* @__PURE__ */ re({
3915
3915
  close: r,
3916
3916
  cancel: l,
3917
3917
  visible: n
3918
- }), (i, s) => (_(), Q(u(Bi), be(i.$attrs, {
3918
+ }), (i, s) => (_(), X(u(Bi), be(i.$attrs, {
3919
3919
  open: u(n),
3920
3920
  "onUpdate:open": s[2] || (s[2] = (f) => Ua(n) ? n.value = f : null),
3921
3921
  title: e.title,
@@ -3941,13 +3941,13 @@ var yc = /* @__PURE__ */ re({
3941
3941
  key: "1"
3942
3942
  } : e.showFooter ? {
3943
3943
  name: "footer",
3944
- fn: O(() => [Z("div", Cc, [e.showCancelBtn ? (_(), Q(u(it), {
3944
+ fn: O(() => [Z("div", Cc, [e.showCancelBtn ? (_(), X(u(it), {
3945
3945
  key: 0,
3946
3946
  onClick: s[0] || (s[0] = (f) => u(l)())
3947
3947
  }, {
3948
3948
  default: O(() => [pe(ie(e.cancelText), 1)]),
3949
3949
  _: 1
3950
- })) : le("", !0), e.showOkBtn ? (_(), Q(u(it), {
3950
+ })) : le("", !0), e.showOkBtn ? (_(), X(u(it), {
3951
3951
  key: 1,
3952
3952
  type: "primary",
3953
3953
  loading: e.confirmLoading,
@@ -4078,7 +4078,7 @@ var Tc = /* @__PURE__ */ Se({
4078
4078
  function c(d) {
4079
4079
  r("register", d);
4080
4080
  }
4081
- return (d, p) => (_(), Q(u(yn), {
4081
+ return (d, p) => (_(), X(u(yn), {
4082
4082
  open: l.value,
4083
4083
  "onUpdate:open": p[1] || (p[1] = (h) => l.value = h),
4084
4084
  title: a.value.title,
@@ -4215,7 +4215,7 @@ var Oc = /* @__PURE__ */ re({
4215
4215
  reload: () => n.value?.reload?.(),
4216
4216
  reset: () => n.value?.reset?.(),
4217
4217
  getSelectedRows: () => n.value?.getSelectedRows?.() ?? []
4218
- }), (i, s) => (_(), Q(u(St), {
4218
+ }), (i, s) => (_(), X(u(St), {
4219
4219
  ref_key: "shellRef",
4220
4220
  ref: n,
4221
4221
  "search-schemas": o.searchSchemas,
@@ -4229,7 +4229,7 @@ var Oc = /* @__PURE__ */ re({
4229
4229
  "show-checkbox-reserve": o.showCheckboxReserve,
4230
4230
  "show-column-settings": o.showColumnSettings
4231
4231
  }, {
4232
- default: O(({ data: f, gridOptions: c, registerTableRef: d, ui: p }) => [(_(), Q(u(Nn), {
4232
+ default: O(({ data: f, gridOptions: c, registerTableRef: d, ui: p }) => [(_(), X(u(Nn), {
4233
4233
  ref: (h) => u(r)(h, d),
4234
4234
  key: `child-${o.mode}`,
4235
4235
  mode: o.mode,
@@ -4348,7 +4348,7 @@ var Oc = /* @__PURE__ */ re({
4348
4348
  reload: () => n.value?.reload?.(),
4349
4349
  reset: () => n.value?.reset?.(),
4350
4350
  getSelectedRows: () => n.value?.getSelectedRows?.() ?? []
4351
- }), (i, s) => (_(), Q(u(St), {
4351
+ }), (i, s) => (_(), X(u(St), {
4352
4352
  ref_key: "shellRef",
4353
4353
  ref: n,
4354
4354
  "search-schemas": o.searchSchemas,
@@ -4510,7 +4510,7 @@ function Yc(e) {
4510
4510
  }
4511
4511
  };
4512
4512
  }
4513
- function Qc(e) {
4513
+ function Xc(e) {
4514
4514
  const t = {
4515
4515
  dict: e.dict,
4516
4516
  tagColor: e.tagColor,
@@ -4529,7 +4529,7 @@ function Qc(e) {
4529
4529
  function Sl(e) {
4530
4530
  const t = e.component === "tag" || e.component === "link";
4531
4531
  let o = e;
4532
- return t || (o = Hc(o), o = qc(o)), o.component === "tag" ? Qc(o) : o.component === "link" ? Yc(o) : o;
4532
+ return t || (o = Hc(o), o = qc(o)), o.component === "tag" ? Xc(o) : o.component === "link" ? Yc(o) : o;
4533
4533
  }
4534
4534
  function Tl(e) {
4535
4535
  return e.map(Sl);
@@ -4540,7 +4540,7 @@ function Al(e) {
4540
4540
  function Rl(e) {
4541
4541
  return e.params?._tag ?? {};
4542
4542
  }
4543
- var sn = "bare_action_slot", $o = "bare_cell_link", Io = "bare_cell_tag", Xc = "bare_column_settings_panel", Pl = "bare_seq_header";
4543
+ var sn = "bare_action_slot", $o = "bare_cell_link", Io = "bare_cell_tag", Qc = "bare_column_settings_panel", Pl = "bare_seq_header";
4544
4544
  function Jc(e) {
4545
4545
  return e.gridReserve !== void 0 ? e.gridReserve === !0 : e.prop === !0 || e.global === !0;
4546
4546
  }
@@ -4588,7 +4588,7 @@ var nd = /* @__PURE__ */ re({
4588
4588
  function r(l) {
4589
4589
  a.value || (l.stopPropagation(), o.value.onClick?.(t.row, l));
4590
4590
  }
4591
- return (l, i) => (_(), Q(u(wn), {
4591
+ return (l, i) => (_(), X(u(wn), {
4592
4592
  type: "primary",
4593
4593
  underline: !1,
4594
4594
  disabled: a.value,
@@ -4620,7 +4620,7 @@ var nd = /* @__PURE__ */ re({
4620
4620
  const s = r.value;
4621
4621
  return s === "success" ? "success" : s === "error" ? "danger" : s === "warning" ? "warning" : "info";
4622
4622
  });
4623
- return (i, s) => (_(), X("span", ad, [Y(u(_n), {
4623
+ return (i, s) => (_(), Q("span", ad, [Y(u(_n), {
4624
4624
  color: r.value,
4625
4625
  type: l.value,
4626
4626
  size: "small"
@@ -5167,9 +5167,9 @@ var Yl = {
5167
5167
  run(e) {
5168
5168
  return Tl(e);
5169
5169
  }
5170
- }, Ql = [Yl], Xl = [], Jl = [], Zl = [], er = [
5171
- ...Ql,
5170
+ }, Xl = [Yl], Ql = [], Jl = [], Zl = [], er = [
5172
5171
  ...Xl,
5172
+ ...Ql,
5173
5173
  ...Jl,
5174
5174
  ...Zl
5175
5175
  ];
@@ -5610,12 +5610,12 @@ var _d = {
5610
5610
  ...I.value
5611
5611
  }), (M, g) => {
5612
5612
  const C = ke("vxe-grid");
5613
- return _(), X("div", {
5613
+ return _(), Q("div", {
5614
5614
  class: ye(["bare-table", { "bare-table--loading": e.loading }]),
5615
5615
  onFocusin: D,
5616
5616
  onMouseenter: D,
5617
5617
  onMouseleave: S
5618
- }, [e.loading ? (_(), X("div", _d, [...g[0] || (g[0] = [Z("span", { class: "bare-table__loading-text" }, "加载中…", -1)])])) : le("", !0), Y(C, be({
5618
+ }, [e.loading ? (_(), Q("div", _d, [...g[0] || (g[0] = [Z("span", { class: "bare-table__loading-text" }, "加载中…", -1)])])) : le("", !0), Y(C, be({
5619
5619
  ref_key: "gridRef",
5620
5620
  ref: l
5621
5621
  }, w.value, hn(U.value)), we({
@@ -5642,7 +5642,7 @@ var _d = {
5642
5642
  }))]), 1040)], 34);
5643
5643
  };
5644
5644
  }
5645
- }), ct = /* @__PURE__ */ me(xd, [["__scopeId", "data-v-faad513f"]]), kd = {
5645
+ }), ct = /* @__PURE__ */ me(xd, [["__scopeId", "data-v-8abfacf5"]]), kd = {
5646
5646
  TableRead: [
5647
5647
  "openColSettings",
5648
5648
  "resetCol",
@@ -5684,9 +5684,9 @@ var _d = {
5684
5684
  defaultBuiltinRules: () => er,
5685
5685
  defaultCellWidgets: () => Ml,
5686
5686
  defaultEditRules: () => Jl,
5687
- defaultFormatRules: () => Xl,
5687
+ defaultFormatRules: () => Ql,
5688
5688
  defaultPreferenceRules: () => Zl,
5689
- defaultPresetRules: () => Ql,
5689
+ defaultPresetRules: () => Xl,
5690
5690
  defineTableExtension: () => $l,
5691
5691
  explainPipeline: () => hd,
5692
5692
  fanOutListeners: () => Hl,
@@ -5988,7 +5988,7 @@ function Dd(e) {
5988
5988
  Object.keys(o ?? {}).forEach((n) => t.add(n));
5989
5989
  return t;
5990
5990
  }
5991
- function Qn(e, t) {
5991
+ function Xn(e, t) {
5992
5992
  if (!e)
5993
5993
  return;
5994
5994
  const o = {};
@@ -6029,7 +6029,7 @@ function Mt(e, t, o = {}) {
6029
6029
  };
6030
6030
  const i = [...Dd(t)].filter((m) => !r.has(m));
6031
6031
  let s = i.length > 0;
6032
- const f = (t.order ?? []).filter((m) => r.has(m)), c = Qn(t.visible, r) ?? {}, d = Qn(t.fixed ?? {}, r), p = Qn(t.width ?? {}, r), h = [];
6032
+ const f = (t.order ?? []).filter((m) => r.has(m)), c = Xn(t.visible, r) ?? {}, d = Xn(t.fixed ?? {}, r), p = Xn(t.width ?? {}, r), h = [];
6033
6033
  for (const m of e)
6034
6034
  f.includes(m.field) || (h.push(m.field), s = !0, n === "append" ? f.push(m.field) : f.splice(zd(a, m.field, f), 0, m.field), c[m.field] === void 0 && (c[m.field] = m.visible !== !1));
6035
6035
  for (const m of a)
@@ -6145,7 +6145,7 @@ var Kd = ["data-field"], Gd = ["onPointerdown"], Ud = ["title"], jd = { class: "
6145
6145
  ], Hd = { class: "col-settings__ghost-inner" }, qd = { class: "col-drag col-settings__handle" }, Yd = {
6146
6146
  class: "col-visible",
6147
6147
  "aria-hidden": "true"
6148
- }, Qd = { class: "col-title" }, Xd = { class: "col-width col-settings__ghost-w" }, Jd = { class: "col-settings__foot" }, Zd = { class: "col-settings__actions" }, ef = /* @__PURE__ */ re({
6148
+ }, Xd = { class: "col-title" }, Qd = { class: "col-width col-settings__ghost-w" }, Jd = { class: "col-settings__foot" }, Zd = { class: "col-settings__actions" }, ef = /* @__PURE__ */ re({
6149
6149
  __name: "ColumnSettingsPanel",
6150
6150
  props: /* @__PURE__ */ Bt({ meta: {} }, {
6151
6151
  open: {
@@ -6289,7 +6289,7 @@ var Kd = ["data-field"], Gd = ["onPointerdown"], Ud = ["title"], jd = { class: "
6289
6289
  g ? (c.value = null, document.addEventListener("keydown", M)) : (c.value = null, document.removeEventListener("keydown", M));
6290
6290
  }), gn(() => document.removeEventListener("keydown", M)), (g, C) => {
6291
6291
  const k = ke("a-checkbox"), N = ke("a-input-number"), ee = ke("a-tooltip"), L = ke("a-button"), T = ke("a-drawer");
6292
- return _(), Q(T, {
6292
+ return _(), X(T, {
6293
6293
  open: a.value,
6294
6294
  "onUpdate:open": C[1] || (C[1] = (F) => a.value = F),
6295
6295
  class: "col-settings",
@@ -6334,7 +6334,7 @@ var Kd = ["data-field"], Gd = ["onPointerdown"], Ud = ["title"], jd = { class: "
6334
6334
  ref_key: "listRef",
6335
6335
  ref: s,
6336
6336
  class: ye(["col-settings__list", { "is-sorting": E.value }])
6337
- }, [(_(!0), X(fe, null, ge(p.value, (F, z) => (_(), X("li", {
6337
+ }, [(_(!0), Q(fe, null, ge(p.value, (F, z) => (_(), Q("li", {
6338
6338
  key: F.field,
6339
6339
  "data-field": F.field,
6340
6340
  class: ye(["col-settings__row", {
@@ -6378,7 +6378,7 @@ var Kd = ["data-field"], Gd = ["onPointerdown"], Ud = ["title"], jd = { class: "
6378
6378
  "placeholder",
6379
6379
  "onChange"
6380
6380
  ]),
6381
- Z("div", jd, [(_(), X(fe, null, ge(n, (ne) => Y(ee, {
6381
+ Z("div", jd, [(_(), Q(fe, null, ge(n, (ne) => Y(ee, {
6382
6382
  key: ne.side,
6383
6383
  title: ne.title
6384
6384
  }, {
@@ -6392,7 +6392,7 @@ var Kd = ["data-field"], Gd = ["onPointerdown"], Ud = ["title"], jd = { class: "
6392
6392
  _: 2
6393
6393
  }, 1032, ["title"])), 64))])
6394
6394
  ], 10, Kd))), 128))], 2),
6395
- (_(), Q(Co, { to: "body" }, [P.value ? (_(), X("div", {
6395
+ (_(), X(Co, { to: "body" }, [P.value ? (_(), Q("div", {
6396
6396
  key: 0,
6397
6397
  class: "col-settings__ghost",
6398
6398
  style: ut(G.value)
@@ -6403,8 +6403,8 @@ var Kd = ["data-field"], Gd = ["onPointerdown"], Ud = ["title"], jd = { class: "
6403
6403
  disabled: "",
6404
6404
  tabindex: "-1"
6405
6405
  }, null, 8, ["checked"])]),
6406
- Z("span", Qd, ie(P.value.title), 1),
6407
- Z("span", Xd, ie(P.value.width ?? "自动"), 1),
6406
+ Z("span", Xd, ie(P.value.title), 1),
6407
+ Z("span", Qd, ie(P.value.width ?? "自动"), 1),
6408
6408
  C[3] || (C[3] = Z("span", { class: "col-fixed" }, null, -1))
6409
6409
  ])], 4)) : le("", !0)]))
6410
6410
  ]),
@@ -6426,7 +6426,7 @@ var Kd = ["data-field"], Gd = ["onPointerdown"], Ud = ["title"], jd = { class: "
6426
6426
  }, n = t;
6427
6427
  return (a, r) => {
6428
6428
  const l = ke("a-menu-item"), i = ke("a-menu-divider"), s = ke("a-menu"), f = ke("a-dropdown");
6429
- return _(), X("div", {
6429
+ return _(), Q("div", {
6430
6430
  class: "seq-menu-head",
6431
6431
  onClick: r[2] || (r[2] = Ie(() => {
6432
6432
  }, ["stop"])),
@@ -6449,7 +6449,7 @@ var Kd = ["data-field"], Gd = ["onPointerdown"], Ud = ["title"], jd = { class: "
6449
6449
  }),
6450
6450
  Y(i, { class: "seq-menu__sep" }),
6451
6451
  oe(a.$slots, "toolbar-extras", {}, void 0, !0),
6452
- a.$slots["toolbar-extras"] ? (_(), Q(i, {
6452
+ a.$slots["toolbar-extras"] ? (_(), X(i, {
6453
6453
  key: 0,
6454
6454
  class: "seq-menu__sep"
6455
6455
  })) : le("", !0),
@@ -6641,7 +6641,7 @@ function hr(e = {}) {
6641
6641
  }
6642
6642
  }],
6643
6643
  slots: {
6644
- [Xc]: () => ue(Uo, {
6644
+ [Qc]: () => ue(Uo, {
6645
6645
  open: l.panelOpen.value,
6646
6646
  "onUpdate:open": (i) => {
6647
6647
  l.panelOpen.value = i;
@@ -6889,7 +6889,7 @@ var ff = /* @__PURE__ */ re({
6889
6889
  open: $,
6890
6890
  close: I,
6891
6891
  cancel: K
6892
- }), (U, j) => (_(!0), X(fe, null, ge(n.modals, (te, q) => (_(), X(fe, { key: q }, [u(r)[q] && (te.mode === "drawer" || te.mode === "modal" || !te.mode) ? (_(), Q(Re(G(te)), be({
6892
+ }), (U, j) => (_(!0), Q(fe, null, ge(n.modals, (te, q) => (_(), Q(fe, { key: q }, [u(r)[q] && (te.mode === "drawer" || te.mode === "modal" || !te.mode) ? (_(), X(Re(G(te)), be({
6893
6893
  key: 0,
6894
6894
  ref_for: !0,
6895
6895
  ref: (M) => R(q, M)
@@ -6899,10 +6899,10 @@ var ff = /* @__PURE__ */ re({
6899
6899
  }), {
6900
6900
  default: O(() => [Y(u(D), { name: q }, null, 8, ["name"])]),
6901
6901
  _: 2
6902
- }, 1040, ["onOk", "onCancel"])) : te.mode === "inline" ? (_(), X(fe, { key: 1 }, [u(r)[q] ? (_(), Q(u(D), {
6902
+ }, 1040, ["onOk", "onCancel"])) : te.mode === "inline" ? (_(), Q(fe, { key: 1 }, [u(r)[q] ? (_(), X(u(D), {
6903
6903
  key: 0,
6904
6904
  name: q
6905
- }, null, 8, ["name"])) : le("", !0)], 64)) : te.mode === "popup" && u(r)[q] ? (_(), Q(Co, {
6905
+ }, null, 8, ["name"])) : le("", !0)], 64)) : te.mode === "popup" && u(r)[q] ? (_(), X(Co, {
6906
6906
  key: 2,
6907
6907
  to: ".app-main"
6908
6908
  }, [Y(Ga, { name: "page-modal-popup-fade" }, {
@@ -6910,7 +6910,7 @@ var ff = /* @__PURE__ */ re({
6910
6910
  class: "page-modal-popup",
6911
6911
  onClick: Ie((M) => w(q), ["self"])
6912
6912
  }, [Z("div", vf, [
6913
- Z("div", gf, [te.showBack !== !1 ? (_(), Q(u(it), {
6913
+ Z("div", gf, [te.showBack !== !1 ? (_(), X(u(it), {
6914
6914
  key: 0,
6915
6915
  type: "link",
6916
6916
  class: "page-modal-popup__back",
@@ -6920,13 +6920,13 @@ var ff = /* @__PURE__ */ re({
6920
6920
  _: 1
6921
6921
  }, 8, ["onClick"])) : le("", !0), Z("span", hf, ie(te.title ?? ""), 1)]),
6922
6922
  Z("div", mf, [Y(u(D), { name: q }, null, 8, ["name"])]),
6923
- te.showOkBtn !== !1 || te.showCancelBtn !== !1 ? (_(), X("div", bf, [te.showCancelBtn !== !1 ? (_(), Q(u(it), {
6923
+ te.showOkBtn !== !1 || te.showCancelBtn !== !1 ? (_(), Q("div", bf, [te.showCancelBtn !== !1 ? (_(), X(u(it), {
6924
6924
  key: 0,
6925
6925
  onClick: (M) => K(q)
6926
6926
  }, {
6927
6927
  default: O(() => [pe(ie(te.cancelText ?? "取消"), 1)]),
6928
6928
  _: 2
6929
- }, 1032, ["onClick"])) : le("", !0), te.showOkBtn !== !1 ? (_(), Q(u(it), {
6929
+ }, 1032, ["onClick"])) : le("", !0), te.showOkBtn !== !1 ? (_(), X(u(it), {
6930
6930
  key: 1,
6931
6931
  type: "primary",
6932
6932
  loading: d.value[q],
@@ -6993,12 +6993,12 @@ var nn = [
6993
6993
  "text",
6994
6994
  "iconText",
6995
6995
  "icon"
6996
- ], Qo = {
6996
+ ], Xo = {
6997
6997
  text: "文字模式",
6998
6998
  iconText: "图标+文字",
6999
6999
  icon: "图标模式"
7000
7000
  };
7001
- function Xo(e) {
7001
+ function Qo(e) {
7002
7002
  const t = nn.indexOf(e);
7003
7003
  return nn[t < 0 ? 0 : (t + 1) % nn.length];
7004
7004
  }
@@ -7071,10 +7071,10 @@ var Et = {
7071
7071
  create: os,
7072
7072
  delete: Yi,
7073
7073
  import: ps,
7074
- export: Qi,
7074
+ export: Xi,
7075
7075
  print: as,
7076
7076
  view: qa,
7077
- edit: Xi,
7077
+ edit: Qi,
7078
7078
  copy: qi,
7079
7079
  reset: ts,
7080
7080
  approve: Ui,
@@ -7112,7 +7112,7 @@ var Sf = /* @__PURE__ */ re({
7112
7112
  props: { action: {} },
7113
7113
  setup(e) {
7114
7114
  const t = e, o = v(() => Ar(t.action, { iconKey: t.action.iconKey }));
7115
- return (n, a) => o.value ? (_(), Q(Re(o.value), {
7115
+ return (n, a) => o.value ? (_(), X(Re(o.value), {
7116
7116
  key: 0,
7117
7117
  class: "bare-action-icon"
7118
7118
  })) : le("", !0);
@@ -7132,14 +7132,14 @@ var Sf = /* @__PURE__ */ re({
7132
7132
  },
7133
7133
  emits: ["update:displayMode", "update:actionPresentation"],
7134
7134
  setup(e, { emit: t }) {
7135
- const o = e, n = t, a = v(() => Jo(o.displayMode)), r = v(() => `展示:${Qo[o.displayMode]}(点击切换)`), l = v(() => o.actionPresentation === "float" ? "当前:悬浮栏模式(点击切为行内固定列)" : "当前:行内固定列模式(点击切为悬浮栏)"), i = v(() => o.actionPresentation === "float" ? Ge("actionFloat") : Ge("actionFixed"));
7135
+ const o = e, n = t, a = v(() => Jo(o.displayMode)), r = v(() => `展示:${Xo[o.displayMode]}(点击切换)`), l = v(() => o.actionPresentation === "float" ? "当前:悬浮栏模式(点击切为行内固定列)" : "当前:行内固定列模式(点击切为悬浮栏)"), i = v(() => o.actionPresentation === "float" ? Ge("actionFloat") : Ge("actionFixed"));
7136
7136
  function s() {
7137
- n("update:displayMode", Xo(o.displayMode));
7137
+ n("update:displayMode", Qo(o.displayMode));
7138
7138
  }
7139
7139
  function f() {
7140
7140
  n("update:actionPresentation", o.actionPresentation === "float" ? "fixed" : "float");
7141
7141
  }
7142
- return (c, d) => (_(), X("span", Tf, [
7142
+ return (c, d) => (_(), Q("span", Tf, [
7143
7143
  d[0] || (d[0] = Z("span", {
7144
7144
  class: "table-action-settings__divider",
7145
7145
  "aria-hidden": "true"
@@ -7153,7 +7153,7 @@ var Sf = /* @__PURE__ */ re({
7153
7153
  }, [Y(u(Le), { icon: a.value }, null, 8, ["icon"])], 8, Af)]),
7154
7154
  _: 1
7155
7155
  }, 8, ["title"]),
7156
- e.showPresentationSwitch ? (_(), Q(u(He), {
7156
+ e.showPresentationSwitch ? (_(), X(u(He), {
7157
7157
  key: 0,
7158
7158
  title: l.value
7159
7159
  }, {
@@ -7192,7 +7192,7 @@ var Sf = /* @__PURE__ */ re({
7192
7192
  n("click", f);
7193
7193
  }
7194
7194
  const i = v(() => !!o.action.popConfirm), s = v(() => o.action.color === "error" ? "danger" : o.action.type ?? "link");
7195
- return (f, c) => i.value ? (_(), Q(u(Gt), {
7195
+ return (f, c) => i.value ? (_(), X(u(Gt), {
7196
7196
  key: 0,
7197
7197
  title: e.action.popConfirm?.title,
7198
7198
  "ok-text": e.action.popConfirm?.okText ?? "确定",
@@ -7201,26 +7201,26 @@ var Sf = /* @__PURE__ */ re({
7201
7201
  disabled: !!e.action.disabled,
7202
7202
  onConfirm: l
7203
7203
  }, {
7204
- default: O(() => [e.mode === "icon" ? (_(), X("button", {
7204
+ default: O(() => [e.mode === "icon" ? (_(), Q("button", {
7205
7205
  key: 0,
7206
7206
  class: "table-action-icon-btn",
7207
7207
  disabled: e.action.disabled,
7208
7208
  title: e.action.label
7209
- }, [Y(Ve, { action: e.action }, null, 8, ["action"])], 8, Mf)) : (_(), Q(u(Ce), {
7209
+ }, [Y(Ve, { action: e.action }, null, 8, ["action"])], 8, Mf)) : (_(), X(u(Ce), {
7210
7210
  key: 1,
7211
7211
  type: s.value,
7212
7212
  size: "small",
7213
7213
  disabled: !!e.action.disabled,
7214
7214
  class: "table-action-link-btn"
7215
7215
  }, {
7216
- default: O(() => [e.showIcon ? (_(), Q(Ve, {
7216
+ default: O(() => [e.showIcon ? (_(), X(Ve, {
7217
7217
  key: 0,
7218
7218
  action: e.action,
7219
7219
  class: ye({
7220
7220
  "mr-5px": !!e.action.label,
7221
7221
  "table-action-btn-icon": !0
7222
7222
  })
7223
- }, null, 8, ["action", "class"])) : le("", !0), e.action.label ? (_(), X(fe, { key: 1 }, [pe(ie(e.action.label), 1)], 64)) : le("", !0)]),
7223
+ }, null, 8, ["action", "class"])) : le("", !0), e.action.label ? (_(), Q(fe, { key: 1 }, [pe(ie(e.action.label), 1)], 64)) : le("", !0)]),
7224
7224
  _: 1
7225
7225
  }, 8, ["type", "disabled"]))]),
7226
7226
  _: 1
@@ -7230,13 +7230,13 @@ var Sf = /* @__PURE__ */ re({
7230
7230
  "cancel-text",
7231
7231
  "placement",
7232
7232
  "disabled"
7233
- ])) : e.mode === "icon" ? (_(), X("button", {
7233
+ ])) : e.mode === "icon" ? (_(), Q("button", {
7234
7234
  key: 1,
7235
7235
  class: "table-action-icon-btn",
7236
7236
  disabled: e.action.disabled,
7237
7237
  title: e.action.label,
7238
7238
  onClick: r
7239
- }, [Y(Ve, { action: e.action }, null, 8, ["action"])], 8, Ef)) : (_(), Q(u(Ce), {
7239
+ }, [Y(Ve, { action: e.action }, null, 8, ["action"])], 8, Ef)) : (_(), X(u(Ce), {
7240
7240
  key: 2,
7241
7241
  type: s.value,
7242
7242
  size: "small",
@@ -7244,14 +7244,14 @@ var Sf = /* @__PURE__ */ re({
7244
7244
  class: "table-action-link-btn",
7245
7245
  onClick: r
7246
7246
  }, {
7247
- default: O(() => [e.showIcon ? (_(), Q(Ve, {
7247
+ default: O(() => [e.showIcon ? (_(), X(Ve, {
7248
7248
  key: 0,
7249
7249
  action: e.action,
7250
7250
  class: ye({
7251
7251
  "mr-5px": !!e.action.label,
7252
7252
  "table-action-btn-icon": !0
7253
7253
  })
7254
- }, null, 8, ["action", "class"])) : le("", !0), e.action.label ? (_(), X(fe, { key: 1 }, [pe(ie(e.action.label), 1)], 64)) : le("", !0)]),
7254
+ }, null, 8, ["action", "class"])) : le("", !0), e.action.label ? (_(), Q(fe, { key: 1 }, [pe(ie(e.action.label), 1)], 64)) : le("", !0)]),
7255
7255
  _: 1
7256
7256
  }, 8, ["type", "disabled"]));
7257
7257
  }
@@ -7267,13 +7267,13 @@ var Sf = /* @__PURE__ */ re({
7267
7267
  const o = t;
7268
7268
  return (n, a) => {
7269
7269
  const r = ke("a-button"), l = ke("a-menu-item"), i = ke("a-menu-divider"), s = ke("a-menu"), f = ke("a-dropdown");
7270
- return _(), Q(f, {
7270
+ return _(), X(f, {
7271
7271
  trigger: "hover",
7272
7272
  "overlay-class-name": "table-action-dropdown",
7273
7273
  "get-popup-container": e.getPopupContainer
7274
7274
  }, {
7275
7275
  overlay: O(() => [Y(s, null, {
7276
- default: O(() => [(_(!0), X(fe, null, ge(e.items, (c, d) => (_(), X(fe, { key: c.event ?? d }, [Y(l, {
7276
+ default: O(() => [(_(!0), Q(fe, null, ge(e.items, (c, d) => (_(), Q(fe, { key: c.event ?? d }, [Y(l, {
7277
7277
  disabled: c.disabled,
7278
7278
  onClick: (p) => o("itemClick", p, c)
7279
7279
  }, {
@@ -7282,7 +7282,7 @@ var Sf = /* @__PURE__ */ re({
7282
7282
  class: "table-action-menu-icon"
7283
7283
  }, null, 8, ["action"]), Z("span", Bf, ie(c.text ?? c.label), 1)]),
7284
7284
  _: 2
7285
- }, 1032, ["disabled", "onClick"]), c.divider ? (_(), Q(i, { key: `d-${d}` })) : le("", !0)], 64))), 128))]),
7285
+ }, 1032, ["disabled", "onClick"]), c.divider ? (_(), X(i, { key: `d-${d}` })) : le("", !0)], 64))), 128))]),
7286
7286
  _: 1
7287
7287
  })]),
7288
7288
  default: O(() => [Y(r, {
@@ -7379,11 +7379,11 @@ var Sf = /* @__PURE__ */ re({
7379
7379
  async function V(R, $) {
7380
7380
  $.modelConfirm && (await Dt($.modelConfirm?.title ?? o.tipTitle, $.modelConfirm?.content ?? "确定要执行此操作吗?") ? await $.modelConfirm?.onOk?.() : await $.modelConfirm?.onCancel?.()), m(R, $), a("click", R, $);
7381
7381
  }
7382
- return (R, $) => (_(), X("div", {
7382
+ return (R, $) => (_(), Q("div", {
7383
7383
  class: ye(["table-action", [i.value, { "table-action--icon": f.value }]]),
7384
7384
  onClick: y
7385
- }, [f.value ? (_(), X(fe, { key: 1 }, [
7386
- (_(!0), X(fe, null, ge(l.value.main, (E, I) => (_(), X(fe, { key: `main-${I}` }, [E.render ? (_(), Q(Re(() => E.render(o.row, E)), { key: 0 })) : E.tooltip ? (_(), Q(u(He), be({
7385
+ }, [f.value ? (_(), Q(fe, { key: 1 }, [
7386
+ (_(!0), Q(fe, null, ge(l.value.main, (E, I) => (_(), Q(fe, { key: `main-${I}` }, [E.render ? (_(), X(Re(() => E.render(o.row, E)), { key: 0 })) : E.tooltip ? (_(), X(u(He), be({
7387
7387
  key: 1,
7388
7388
  ref_for: !0
7389
7389
  }, h(E.tooltip)), {
@@ -7398,7 +7398,7 @@ var Sf = /* @__PURE__ */ re({
7398
7398
  "onClick"
7399
7399
  ])]),
7400
7400
  _: 2
7401
- }, 1040)) : (_(), Q(Ft, {
7401
+ }, 1040)) : (_(), X(Ft, {
7402
7402
  key: 2,
7403
7403
  mode: "icon",
7404
7404
  action: E,
@@ -7409,7 +7409,7 @@ var Sf = /* @__PURE__ */ re({
7409
7409
  "get-popup-container",
7410
7410
  "onClick"
7411
7411
  ]))], 64))), 128)),
7412
- l.value.more.length > 0 && p.value === "popover" ? (_(), Q(u(yt), {
7412
+ l.value.more.length > 0 && p.value === "popover" ? (_(), X(u(yt), {
7413
7413
  key: 0,
7414
7414
  placement: "bottomRight",
7415
7415
  trigger: "hover",
@@ -7417,7 +7417,7 @@ var Sf = /* @__PURE__ */ re({
7417
7417
  "get-popup-container": o.getPopupContainer,
7418
7418
  "destroy-tooltip-on-hide": !0
7419
7419
  }, {
7420
- content: O(() => [Z("div", Nf, [(_(!0), X(fe, null, ge(l.value.more, (E, I) => (_(), X("div", {
7420
+ content: O(() => [Z("div", Nf, [(_(!0), Q(fe, null, ge(l.value.more, (E, I) => (_(), Q("div", {
7421
7421
  key: E.event ?? I,
7422
7422
  class: ye(["table-action-popover-item", { disabled: E.disabled }]),
7423
7423
  onClick: (K) => !E.disabled && V(K, E)
@@ -7429,10 +7429,10 @@ var Sf = /* @__PURE__ */ re({
7429
7429
  class: "table-action-icon-btn table-action-icon-btn--more",
7430
7430
  type: "button",
7431
7431
  title: e.moreText
7432
- }, [(_(), Q(Re(u(n))))], 8, Kf)]),
7432
+ }, [(_(), X(Re(u(n))))], 8, Kf)]),
7433
7433
  _: 1
7434
7434
  }, 8, ["get-popup-container"])) : le("", !0),
7435
- e.showSettingButtons ? (_(), Q(vo, {
7435
+ e.showSettingButtons ? (_(), X(vo, {
7436
7436
  key: 1,
7437
7437
  "display-mode": s.value,
7438
7438
  "action-presentation": e.actionPresentation,
@@ -7444,8 +7444,8 @@ var Sf = /* @__PURE__ */ re({
7444
7444
  "action-presentation",
7445
7445
  "show-presentation-switch"
7446
7446
  ])) : le("", !0)
7447
- ], 64)) : (_(), X("div", $f, [
7448
- (_(!0), X(fe, null, ge(l.value.main, (E, I) => (_(), X(fe, { key: `main-${I}` }, [E.render ? (_(), Q(Re(() => E.render(o.row, E)), { key: 0 })) : E.tooltip ? (_(), Q(u(He), be({
7447
+ ], 64)) : (_(), Q("div", $f, [
7448
+ (_(!0), Q(fe, null, ge(l.value.main, (E, I) => (_(), Q(fe, { key: `main-${I}` }, [E.render ? (_(), X(Re(() => E.render(o.row, E)), { key: 0 })) : E.tooltip ? (_(), X(u(He), be({
7449
7449
  key: 1,
7450
7450
  ref_for: !0
7451
7451
  }, h(E.tooltip)), {
@@ -7463,7 +7463,7 @@ var Sf = /* @__PURE__ */ re({
7463
7463
  "onClick"
7464
7464
  ])]),
7465
7465
  _: 2
7466
- }, 1040)) : (_(), Q(Ft, {
7466
+ }, 1040)) : (_(), X(Ft, {
7467
7467
  key: 2,
7468
7468
  mode: c.value,
7469
7469
  "show-icon": d.value,
@@ -7477,7 +7477,7 @@ var Sf = /* @__PURE__ */ re({
7477
7477
  "get-popup-container",
7478
7478
  "onClick"
7479
7479
  ]))], 64))), 128)),
7480
- l.value.more.length > 0 && p.value === "dropdown" ? (_(), Q(Lf, {
7480
+ l.value.more.length > 0 && p.value === "dropdown" ? (_(), X(Lf, {
7481
7481
  key: 0,
7482
7482
  items: l.value.more,
7483
7483
  "more-text": e.moreText,
@@ -7488,7 +7488,7 @@ var Sf = /* @__PURE__ */ re({
7488
7488
  "more-text",
7489
7489
  "get-popup-container"
7490
7490
  ])) : le("", !0),
7491
- l.value.more.length > 0 && p.value === "popover" ? (_(), Q(u(yt), {
7491
+ l.value.more.length > 0 && p.value === "popover" ? (_(), X(u(yt), {
7492
7492
  key: 1,
7493
7493
  placement: "bottomRight",
7494
7494
  trigger: "hover",
@@ -7496,7 +7496,7 @@ var Sf = /* @__PURE__ */ re({
7496
7496
  "get-popup-container": o.getPopupContainer,
7497
7497
  "destroy-tooltip-on-hide": !0
7498
7498
  }, {
7499
- content: O(() => [Z("div", If, [(_(!0), X(fe, null, ge(l.value.more, (E, I) => (_(), X("div", {
7499
+ content: O(() => [Z("div", If, [(_(!0), Q(fe, null, ge(l.value.more, (E, I) => (_(), Q("div", {
7500
7500
  key: E.event ?? I,
7501
7501
  class: ye(["table-action-popover-item", { disabled: E.disabled }]),
7502
7502
  onClick: (K) => !E.disabled && V(K, E)
@@ -7508,10 +7508,10 @@ var Sf = /* @__PURE__ */ re({
7508
7508
  class: "table-action-icon-btn table-action-icon-btn--more",
7509
7509
  type: "button",
7510
7510
  title: e.moreText
7511
- }, [(_(), Q(Re(u(n))))], 8, zf)]),
7511
+ }, [(_(), X(Re(u(n))))], 8, zf)]),
7512
7512
  _: 1
7513
7513
  }, 8, ["get-popup-container"])) : le("", !0),
7514
- e.showSettingButtons ? (_(), Q(vo, {
7514
+ e.showSettingButtons ? (_(), X(vo, {
7515
7515
  key: 2,
7516
7516
  "display-mode": s.value,
7517
7517
  "action-presentation": e.actionPresentation,
@@ -7553,7 +7553,7 @@ var Sf = /* @__PURE__ */ re({
7553
7553
  ],
7554
7554
  setup(e, { emit: t }) {
7555
7555
  const o = e, n = t, a = J(), r = v(() => o.displayMode === "icon" ? "popover" : "dropdown"), l = () => a.value || document.body;
7556
- return (i, s) => (_(), Q(Co, { to: "body" }, [e.visible ? (_(), X("div", {
7556
+ return (i, s) => (_(), X(Co, { to: "body" }, [e.visible ? (_(), Q("div", {
7557
7557
  key: 0,
7558
7558
  ref_key: "barRef",
7559
7559
  ref: a,
@@ -7561,7 +7561,7 @@ var Sf = /* @__PURE__ */ re({
7561
7561
  style: ut(e.positionStyle),
7562
7562
  onMouseenter: s[3] || (s[3] = (f) => n("mouseenter")),
7563
7563
  onMouseleave: s[4] || (s[4] = (f) => n("mouseleave"))
7564
- }, [Z("div", Uf, [(_(), Q(_t, {
7564
+ }, [Z("div", Uf, [(_(), X(_t, {
7565
7565
  key: e.row?.id ?? "float-bar-action",
7566
7566
  "display-mode": e.displayMode,
7567
7567
  "more-trigger": r.value,
@@ -7602,7 +7602,7 @@ var Sf = /* @__PURE__ */ re({
7602
7602
  };
7603
7603
  return (r, l) => {
7604
7604
  const i = ke("a-menu-item");
7605
- return _(), Q(i, {
7605
+ return _(), X(i, {
7606
7606
  key: "toggleFloatSwitch",
7607
7607
  class: "seq-menu__switch-item",
7608
7608
  onClick: l[3] || (l[3] = Ie(() => {
@@ -7655,7 +7655,7 @@ var Sf = /* @__PURE__ */ re({
7655
7655
  function c(d) {
7656
7656
  return d;
7657
7657
  }
7658
- return (d, p) => (_(), Q(u(Cn), {
7658
+ return (d, p) => (_(), X(u(Cn), {
7659
7659
  class: "bare-toolbar-action-button-menu",
7660
7660
  type: r.value,
7661
7661
  danger: l.value,
@@ -7664,7 +7664,7 @@ var Sf = /* @__PURE__ */ re({
7664
7664
  onMainClick: i,
7665
7665
  onSelect: f
7666
7666
  }, {
7667
- overlay: O(() => [(_(!0), X(fe, null, ge(n.value, (h, y) => (_(), X(fe, { key: `${h.label}-${y}` }, [Y(u(bt), {
7667
+ overlay: O(() => [(_(!0), Q(fe, null, ge(n.value, (h, y) => (_(), Q(fe, { key: `${h.label}-${y}` }, [Y(u(bt), {
7668
7668
  "item-key": String(y),
7669
7669
  disabled: u(lt)(h, o.value),
7670
7670
  onClick: (m) => s(h)
@@ -7678,14 +7678,14 @@ var Sf = /* @__PURE__ */ re({
7678
7678
  "item-key",
7679
7679
  "disabled",
7680
7680
  "onClick"
7681
- ]), h.divider ? (_(), Q(u(bt), {
7681
+ ]), h.divider ? (_(), X(u(bt), {
7682
7682
  key: 0,
7683
7683
  divider: ""
7684
7684
  })) : le("", !0)], 64))), 128))]),
7685
7685
  default: O(() => [Y(Ve, {
7686
7686
  action: e.action,
7687
7687
  class: "bare-toolbar-action-button-menu__icon"
7688
- }, null, 8, ["action"]), e.action.label ? (_(), X("span", Hf, ie(e.action.label), 1)) : le("", !0)]),
7688
+ }, null, 8, ["action"]), e.action.label ? (_(), Q("span", Hf, ie(e.action.label), 1)) : le("", !0)]),
7689
7689
  _: 1
7690
7690
  }, 8, [
7691
7691
  "type",
@@ -7693,7 +7693,7 @@ var Sf = /* @__PURE__ */ re({
7693
7693
  "disabled"
7694
7694
  ]));
7695
7695
  }
7696
- }), Zo = /* @__PURE__ */ me(qf, [["__scopeId", "data-v-93238fa7"]]), Yf = { class: "bare-toolbar-action-bar" }, Qf = { class: "bare-toolbar-action-bar__btn-wrap" }, Xf = { key: 0 }, Jf = { key: 0 }, Zf = { key: 0 }, ep = {
7696
+ }), Zo = /* @__PURE__ */ me(qf, [["__scopeId", "data-v-93238fa7"]]), Yf = { class: "bare-toolbar-action-bar" }, Xf = { class: "bare-toolbar-action-bar__btn-wrap" }, Qf = { key: 0 }, Jf = { key: 0 }, Zf = { key: 0 }, ep = {
7697
7697
  key: 4,
7698
7698
  class: "bare-toolbar-action-bar__divider",
7699
7699
  "aria-hidden": "true"
@@ -7728,16 +7728,16 @@ var Sf = /* @__PURE__ */ re({
7728
7728
  function s(f) {
7729
7729
  f.popConfirm?.confirm?.(o.value, f), i(f);
7730
7730
  }
7731
- return (f, c) => (_(), X("div", Yf, [(_(!0), X(fe, null, ge(n.value, (d, p) => (_(), X(fe, { key: `action-${p}-${d.label ?? ""}` }, [u(_r)(d) ? (_(), Q(Zo, {
7731
+ return (f, c) => (_(), Q("div", Yf, [(_(!0), Q(fe, null, ge(n.value, (d, p) => (_(), Q(fe, { key: `action-${p}-${d.label ?? ""}` }, [u(_r)(d) ? (_(), X(Zo, {
7732
7732
  key: 0,
7733
7733
  action: d,
7734
7734
  context: o.value
7735
- }, null, 8, ["action", "context"])) : d.tooltip && !d.popConfirm ? (_(), Q(u(He), {
7735
+ }, null, 8, ["action", "context"])) : d.tooltip && !d.popConfirm ? (_(), X(u(He), {
7736
7736
  key: 1,
7737
7737
  title: l(d),
7738
7738
  placement: "top"
7739
7739
  }, {
7740
- default: O(() => [Z("span", Qf, [Y(u(Ce), {
7740
+ default: O(() => [Z("span", Xf, [Y(u(Ce), {
7741
7741
  class: "bare-toolbar-action-bar__btn",
7742
7742
  type: r(d),
7743
7743
  disabled: u(lt)(d, o.value),
@@ -7746,7 +7746,7 @@ var Sf = /* @__PURE__ */ re({
7746
7746
  default: O(() => [Y(Ve, {
7747
7747
  action: d,
7748
7748
  class: "bare-toolbar-action-bar__icon"
7749
- }, null, 8, ["action"]), d.label ? (_(), X("span", Xf, ie(d.label), 1)) : le("", !0)]),
7749
+ }, null, 8, ["action"]), d.label ? (_(), Q("span", Qf, ie(d.label), 1)) : le("", !0)]),
7750
7750
  _: 2
7751
7751
  }, 1032, [
7752
7752
  "type",
@@ -7754,7 +7754,7 @@ var Sf = /* @__PURE__ */ re({
7754
7754
  "onClick"
7755
7755
  ])])]),
7756
7756
  _: 2
7757
- }, 1032, ["title"])) : d.popConfirm ? (_(), Q(u(Gt), {
7757
+ }, 1032, ["title"])) : d.popConfirm ? (_(), X(u(Gt), {
7758
7758
  key: 2,
7759
7759
  title: d.popConfirm.title,
7760
7760
  "ok-text": d.popConfirm.okText ?? "确定",
@@ -7770,7 +7770,7 @@ var Sf = /* @__PURE__ */ re({
7770
7770
  default: O(() => [Y(Ve, {
7771
7771
  action: d,
7772
7772
  class: "bare-toolbar-action-bar__icon"
7773
- }, null, 8, ["action"]), d.label ? (_(), X("span", Jf, ie(d.label), 1)) : le("", !0)]),
7773
+ }, null, 8, ["action"]), d.label ? (_(), Q("span", Jf, ie(d.label), 1)) : le("", !0)]),
7774
7774
  _: 2
7775
7775
  }, 1032, ["type", "disabled"])]),
7776
7776
  _: 2
@@ -7780,7 +7780,7 @@ var Sf = /* @__PURE__ */ re({
7780
7780
  "cancel-text",
7781
7781
  "disabled",
7782
7782
  "onConfirm"
7783
- ])) : (_(), Q(u(Ce), {
7783
+ ])) : (_(), X(u(Ce), {
7784
7784
  key: 3,
7785
7785
  class: "bare-toolbar-action-bar__btn",
7786
7786
  type: r(d),
@@ -7790,13 +7790,13 @@ var Sf = /* @__PURE__ */ re({
7790
7790
  default: O(() => [Y(Ve, {
7791
7791
  action: d,
7792
7792
  class: "bare-toolbar-action-bar__icon"
7793
- }, null, 8, ["action"]), d.label ? (_(), X("span", Zf, ie(d.label), 1)) : le("", !0)]),
7793
+ }, null, 8, ["action"]), d.label ? (_(), Q("span", Zf, ie(d.label), 1)) : le("", !0)]),
7794
7794
  _: 2
7795
7795
  }, 1032, [
7796
7796
  "type",
7797
7797
  "disabled",
7798
7798
  "onClick"
7799
- ])), a(d, p) ? (_(), X("span", ep)) : le("", !0)], 64))), 128))]));
7799
+ ])), a(d, p) ? (_(), Q("span", ep)) : le("", !0)], 64))), 128))]));
7800
7800
  }
7801
7801
  }), Yt = /* @__PURE__ */ me(tp, [["__scopeId", "data-v-7e4e3c1b"]]);
7802
7802
  function Rr(e = {}) {
@@ -8087,7 +8087,7 @@ function op(e, t) {
8087
8087
  }
8088
8088
  var ap = /* @__PURE__ */ Se({
8089
8089
  ACTION_DISPLAY_MODES: () => nn,
8090
- ACTION_DISPLAY_MODE_LABELS: () => Qo,
8090
+ ACTION_DISPLAY_MODE_LABELS: () => Xo,
8091
8091
  ACTION_ICON_PRESETS: () => Sr,
8092
8092
  ACTION_LABEL_ICON_MAP: () => Et,
8093
8093
  ActionIcon: () => Ve,
@@ -8104,12 +8104,12 @@ var ap = /* @__PURE__ */ Se({
8104
8104
  VxeTableFloatingBarMenuSwitch: () => $a,
8105
8105
  components: () => sp,
8106
8106
  createActionConfigExtension: () => rp,
8107
- createActionExtension: () => Qt,
8107
+ createActionExtension: () => Xt,
8108
8108
  createActionVxeExtension: () => ip,
8109
8109
  createFloatingActionExtension: () => Er,
8110
8110
  default: () => lp,
8111
8111
  isButtonMenuAction: () => _r,
8112
- nextActionDisplayMode: () => Xo,
8112
+ nextActionDisplayMode: () => Qo,
8113
8113
  resolveActionColumnWidth: () => kr,
8114
8114
  resolveActionDisplayModeSettingsIcon: () => Jo,
8115
8115
  resolveActionIcon: () => Ar,
@@ -8131,7 +8131,7 @@ var ap = /* @__PURE__ */ Se({
8131
8131
  }), lp = { install(e, t = "TableAction") {
8132
8132
  e.component(t, _t);
8133
8133
  } };
8134
- function Qt(e) {
8134
+ function Xt(e) {
8135
8135
  return {
8136
8136
  name: "action",
8137
8137
  kind: "ui",
@@ -8177,7 +8177,7 @@ function Qt(e) {
8177
8177
  };
8178
8178
  }
8179
8179
  function rp(e) {
8180
- return Qt({
8180
+ return Xt({
8181
8181
  btns: (t) => typeof e.btns == "function" ? e.btns(t) : e.btns ?? [],
8182
8182
  maxMain: e.maxMain,
8183
8183
  fixed: e.fixed,
@@ -8501,7 +8501,7 @@ function Tt(e) {
8501
8501
  function Ia(e) {
8502
8502
  return e.button === 0;
8503
8503
  }
8504
- function Xn(e) {
8504
+ function Qn(e) {
8505
8505
  if (!(e instanceof HTMLElement))
8506
8506
  return !1;
8507
8507
  if (e.closest('input, textarea, select, [contenteditable="true"]'))
@@ -8560,7 +8560,7 @@ function pp(e, t, o = {}) {
8560
8560
  if (!C || !C.contains(g))
8561
8561
  return !1;
8562
8562
  const k = g.tagName;
8563
- return k === "BUTTON" || k === "A" || g.closest('button, a, [role="button"]') ? !0 : Xn(g);
8563
+ return k === "BUTTON" || k === "A" || g.closest('button, a, [role="button"]') ? !0 : Qn(g);
8564
8564
  }, I = (g) => g instanceof Element ? g.closest(".floating-action-bar, .ant-popover, .ant-dropdown, .ant-select-dropdown, .ant-picker-dropdown, .col-settings, .ant-drawer, .ant-modal, .bare-table__loading-mask") !== null : !1, K = (g) => g instanceof Element ? g.closest(".vxe-table--expand-btn") !== null : !1, P = (g) => {
8565
8565
  const C = g.target;
8566
8566
  if (Tt(o.enabled) === !1 || !Ia(g) || !t.selection.value)
@@ -8620,10 +8620,10 @@ function pp(e, t, o = {}) {
8620
8620
  a && (a.style.display = "none");
8621
8621
  return;
8622
8622
  }
8623
- const Te = C.getBoundingClientRect(), Oe = Fe.getBoundingClientRect(), De = ve.getBoundingClientRect(), qe = Oe.top - Te.top + C.scrollTop, Ye = Oe.left - Te.left + C.scrollLeft, dt = De.right - Oe.left, Un = De.bottom - Oe.top, Qe = D();
8624
- !Qe || (Qe.style.display = "block", Qe.style.top = `${qe}px`, Qe.style.left = `${Ye}px`, Qe.style.width = `${Math.max(dt, 0)}px`, Qe.style.height = `${Math.max(Un, 0)}px`, Qe.style.borderStyle = t.copied.value ? "dashed" : "solid");
8623
+ const Te = C.getBoundingClientRect(), Oe = Fe.getBoundingClientRect(), De = ve.getBoundingClientRect(), qe = Oe.top - Te.top + C.scrollTop, Ye = Oe.left - Te.left + C.scrollLeft, dt = De.right - Oe.left, Un = De.bottom - Oe.top, Xe = D();
8624
+ !Xe || (Xe.style.display = "block", Xe.style.top = `${qe}px`, Xe.style.left = `${Ye}px`, Xe.style.width = `${Math.max(dt, 0)}px`, Xe.style.height = `${Math.max(Un, 0)}px`, Xe.style.borderStyle = t.copied.value ? "dashed" : "solid");
8625
8625
  }, w = (g) => {
8626
- if (Tt(o.enabled) === !1 || g.buttons === 0 || !Ia(g) || Xn(g.target))
8626
+ if (Tt(o.enabled) === !1 || g.buttons === 0 || !Ia(g) || Qn(g.target))
8627
8627
  return;
8628
8628
  const C = R(g.target);
8629
8629
  !C || (g.preventDefault(), r = !0, l = !1, i = C.rowIndex, s = C.colIndex, t.isSelecting.value = !0, t.setSelection({
@@ -8647,7 +8647,7 @@ function pp(e, t, o = {}) {
8647
8647
  l = !1;
8648
8648
  return;
8649
8649
  }
8650
- if (Xn(g.target))
8650
+ if (Qn(g.target))
8651
8651
  return;
8652
8652
  const C = R(g.target);
8653
8653
  !C || t.setSelection({
@@ -8869,7 +8869,7 @@ var hp = { class: "table-scene" }, mp = /* @__PURE__ */ re({
8869
8869
  ...j,
8870
8870
  pasteEnabled: j?.pasteEnabled ?? !1
8871
8871
  });
8872
- }), d = v(() => Qt({
8872
+ }), d = v(() => Xt({
8873
8873
  btns: (j) => f(j),
8874
8874
  maxMain: P,
8875
8875
  width: K.value.width,
@@ -8979,7 +8979,7 @@ var hp = { class: "table-scene" }, mp = /* @__PURE__ */ re({
8979
8979
  "openColSettings",
8980
8980
  "resetCol"
8981
8981
  ].includes(j) || i.value?.hasCapability?.(j) === !0
8982
- }), (j, te) => (_(), X("div", hp, [u(I) ? (_(), Q(u(zt), {
8982
+ }), (j, te) => (_(), Q("div", hp, [u(I) ? (_(), X(u(zt), {
8983
8983
  key: 0,
8984
8984
  visible: u(b),
8985
8985
  "position-style": u(x),
@@ -9126,7 +9126,7 @@ var hp = { class: "table-scene" }, mp = /* @__PURE__ */ re({
9126
9126
  openColSettings: () => i.value?.openColSettings?.(),
9127
9127
  resetCol: () => i.value?.resetCol?.(),
9128
9128
  hasCapability: (c) => i.value?.hasCapability?.(c) === !0
9129
- }), (c, d) => (_(), Q(u(ta), be({
9129
+ }), (c, d) => (_(), X(u(ta), be({
9130
9130
  ref_key: "sceneRef",
9131
9131
  ref: i,
9132
9132
  class: "table-read"
@@ -9212,7 +9212,7 @@ var hp = { class: "table-scene" }, mp = /* @__PURE__ */ re({
9212
9212
  pageSize: c
9213
9213
  }), i();
9214
9214
  }
9215
- return (f, c) => (_(), Q(u(Ni), {
9215
+ return (f, c) => (_(), X(u(Ni), {
9216
9216
  ref_key: "paginationRef",
9217
9217
  ref: a,
9218
9218
  class: "bare-pagination-ant-single-line",
@@ -9309,7 +9309,7 @@ var Mp = /* @__PURE__ */ re({
9309
9309
  total: a.value.total
9310
9310
  }), n("change", l), n("updateTable", l);
9311
9311
  }
9312
- return (l, i) => (_(), X("div", { class: ye(["bare-pagination", `bare-pagination--${u(a).align}`]) }, [Y(Tp, {
9312
+ return (l, i) => (_(), Q("div", { class: ye(["bare-pagination", `bare-pagination--${u(a).align}`]) }, [Y(Tp, {
9313
9313
  "current-page": u(a).currentPage,
9314
9314
  "page-size": u(a).pageSize,
9315
9315
  total: u(a).total,
@@ -9378,7 +9378,7 @@ var Mp = /* @__PURE__ */ re({
9378
9378
  get: () => o.keyword ?? "",
9379
9379
  set: (r) => n("update:keyword", r)
9380
9380
  });
9381
- return (r, l) => (_(), X("div", { class: ye(["bare-list-toolbar-row", { "bare-list-toolbar-row--search-start": e.searchPlacement === "start" }]) }, [Z("div", Op, [oe(r.$slots, "left", { context: e.context }, () => [oe(r.$slots, "actions", { context: e.context }, () => [e.actions.length ? (_(), Q(u(Yt), {
9381
+ return (r, l) => (_(), Q("div", { class: ye(["bare-list-toolbar-row", { "bare-list-toolbar-row--search-start": e.searchPlacement === "start" }]) }, [Z("div", Op, [oe(r.$slots, "left", { context: e.context }, () => [oe(r.$slots, "actions", { context: e.context }, () => [e.actions.length ? (_(), X(u(Yt), {
9382
9382
  key: 0,
9383
9383
  actions: e.actions,
9384
9384
  context: e.context
@@ -9413,7 +9413,7 @@ var Mp = /* @__PURE__ */ re({
9413
9413
  }, Kp = { class: "bare-page-list__toolbar-left" }, Gp = {
9414
9414
  key: 0,
9415
9415
  class: "bare-page-list__toolbar-right"
9416
- }, Up = { class: "bare-page-list__table" }, jp = { class: "bare-page-list__footer" }, Wp = { class: "bare-page-list__footer-inner" }, Hp = { class: "bare-page-list__summary" }, qp = { class: "bare-page-list__summary-num" }, Yp = { class: "bare-page-list__summary-num" }, Qp = { class: "bare-page-list__summary-num" }, Xp = { class: "bare-page-list__summary-num" }, Jp = { class: "bare-page-list__pagination-wrap" }, Zp = /* @__PURE__ */ re({
9416
+ }, Up = { class: "bare-page-list__table" }, jp = { class: "bare-page-list__footer" }, Wp = { class: "bare-page-list__footer-inner" }, Hp = { class: "bare-page-list__summary" }, qp = { class: "bare-page-list__summary-num" }, Yp = { class: "bare-page-list__summary-num" }, Xp = { class: "bare-page-list__summary-num" }, Qp = { class: "bare-page-list__summary-num" }, Jp = { class: "bare-page-list__pagination-wrap" }, Zp = /* @__PURE__ */ re({
9417
9417
  __name: "PageShell",
9418
9418
  props: {
9419
9419
  searchSchemas: { default: () => [] },
@@ -9593,11 +9593,11 @@ var Mp = /* @__PURE__ */ re({
9593
9593
  getSelectedRows: R,
9594
9594
  syncSelectedCount: V,
9595
9595
  setFieldsValue: (C) => g.value?.setFieldsValue?.(C)
9596
- }), (C, k) => (_(), X("div", { class: ye(["bare-page-list", {
9596
+ }), (C, k) => (_(), Q("div", { class: ye(["bare-page-list", {
9597
9597
  "bare-page-list--simple": n.simple,
9598
9598
  "bare-page-list--fullscreen": l.pageFullscreen,
9599
9599
  "bare-page-list--search-label-hidden": !n.simple && l.searchLabelsHidden
9600
- }]) }, [n.simple ? le("", !0) : (_(), Q(u(Tn), {
9600
+ }]) }, [n.simple ? le("", !0) : (_(), X(u(Tn), {
9601
9601
  key: 0,
9602
9602
  ref_key: "searchFormRef",
9603
9603
  ref: g,
@@ -9643,8 +9643,8 @@ var Mp = /* @__PURE__ */ re({
9643
9643
  "search-throttle",
9644
9644
  "show-active-filters"
9645
9645
  ])), Z("div", { class: ye(["bare-page-list__body", { "bare-page-list__body--fullscreen": l.bodyFullscreen && !l.pageFullscreen }]) }, [
9646
- u(r)["body-header"] ? (_(), X("div", Dp, [oe(C.$slots, "body-header", {}, void 0, !0)])) : le("", !0),
9647
- n.simple ? (_(), X("div", zp, [
9646
+ u(r)["body-header"] ? (_(), Q("div", Dp, [oe(C.$slots, "body-header", {}, void 0, !0)])) : le("", !0),
9647
+ n.simple ? (_(), Q("div", zp, [
9648
9648
  Z("div", Np, [Y(Ip, {
9649
9649
  keyword: K.value,
9650
9650
  "onUpdate:keyword": k[1] || (k[1] = (N) => K.value = N),
@@ -9675,11 +9675,11 @@ var Mp = /* @__PURE__ */ re({
9675
9675
  ])]),
9676
9676
  oe(C.$slots, "toolbar-extra", { context: x.value }, void 0, !0),
9677
9677
  oe(C.$slots, "toolbar-right", { context: x.value }, void 0, !0)
9678
- ])) : w.value ? (_(), X("div", Vp, [Z("div", Kp, [b.value.length ? (_(), Q(u(Yt), {
9678
+ ])) : w.value ? (_(), Q("div", Vp, [Z("div", Kp, [b.value.length ? (_(), X(u(Yt), {
9679
9679
  key: 0,
9680
9680
  actions: b.value,
9681
9681
  context: x.value
9682
- }, null, 8, ["actions", "context"])) : le("", !0), oe(C.$slots, "toolbar-left", { context: x.value }, void 0, !0)]), n.showSettings || u(r)["toolbar-right"] ? (_(), X("div", Gp, [n.showSettings ? (_(), Q(u(Hr), {
9682
+ }, null, 8, ["actions", "context"])) : le("", !0), oe(C.$slots, "toolbar-left", { context: x.value }, void 0, !0)]), n.showSettings || u(r)["toolbar-right"] ? (_(), Q("div", Gp, [n.showSettings ? (_(), X(u(Hr), {
9683
9683
  key: 0,
9684
9684
  ui: l,
9685
9685
  "show-checkbox-reserve": n.showCheckboxReserve,
@@ -9708,11 +9708,11 @@ var Mp = /* @__PURE__ */ re({
9708
9708
  k[9] || (k[9] = pe(" 条,已选 ", -1)),
9709
9709
  Z("span", Yp, ie(u(c)), 1),
9710
9710
  k[10] || (k[10] = pe(" 条 ", -1)),
9711
- !n.simple && n.showCheckboxReserve && l.checkboxReserve && u(c) > 0 ? (_(), X(fe, { key: 0 }, [
9711
+ !n.simple && n.showCheckboxReserve && l.checkboxReserve && u(c) > 0 ? (_(), Q(fe, { key: 0 }, [
9712
9712
  k[5] || (k[5] = pe(" (本页 ", -1)),
9713
- Z("span", Qp, ie(u(d)), 1),
9713
+ Z("span", Xp, ie(u(d)), 1),
9714
9714
  k[6] || (k[6] = pe(" / 跨页 ", -1)),
9715
- Z("span", Xp, ie(u(p)), 1),
9715
+ Z("span", Qp, ie(u(p)), 1),
9716
9716
  k[7] || (k[7] = pe(") ", -1))
9717
9717
  ], 64)) : le("", !0)
9718
9718
  ]), Z("div", Jp, [Y(u(In), {
@@ -10161,7 +10161,7 @@ var lv = /* @__PURE__ */ re({
10161
10161
  getSearchQuery: () => b.value?.query ?? {},
10162
10162
  setFieldsValue: (q) => b.value?.setFieldsValue?.(q),
10163
10163
  openDetail: h
10164
- }), (q, M) => (_(), X(fe, null, [Y(Ir, {
10164
+ }), (q, M) => (_(), Q(fe, null, [Y(Ir, {
10165
10165
  ref_key: "shellRef",
10166
10166
  ref: b,
10167
10167
  simple: n.simple,
@@ -10280,7 +10280,7 @@ var lv = /* @__PURE__ */ re({
10280
10280
  "search-placement",
10281
10281
  "show-reset",
10282
10282
  "trigger"
10283
- ]), f.value ? (_(), Q(u(at), {
10283
+ ]), f.value ? (_(), X(u(at), {
10284
10284
  key: 0,
10285
10285
  open: d.value,
10286
10286
  "onUpdate:open": M[3] || (M[3] = (g) => d.value = g),
@@ -10297,7 +10297,7 @@ var lv = /* @__PURE__ */ re({
10297
10297
  onCancel: m
10298
10298
  }, {
10299
10299
  default: O(() => [Y(Yo, { context: B.value }, {
10300
- default: O(() => [(_(), Q(Re(f.value), {
10300
+ default: O(() => [(_(), X(Re(f.value), {
10301
10301
  ref_key: "detailRef",
10302
10302
  ref: c
10303
10303
  }, null, 512))]),
@@ -10424,10 +10424,10 @@ var rv = { class: "table-settings" }, iv = ["onClick"], sv = ["onClick"], uv = /
10424
10424
  onClick: () => n("page")
10425
10425
  },
10426
10426
  {
10427
- title: () => `操作展示:${Qo[l.actionDisplayMode]}(点击切换)`,
10427
+ title: () => `操作展示:${Xo[l.actionDisplayMode]}(点击切换)`,
10428
10428
  icon: () => Jo(l.actionDisplayMode),
10429
10429
  onClick: () => {
10430
- t.ui.actionDisplayMode = Xo(t.ui.actionDisplayMode);
10430
+ t.ui.actionDisplayMode = Qo(t.ui.actionDisplayMode);
10431
10431
  }
10432
10432
  },
10433
10433
  {
@@ -10476,8 +10476,8 @@ var rv = { class: "table-settings" }, iv = ["onClick"], sv = ["onClick"], uv = /
10476
10476
  onClick: () => s()
10477
10477
  }), i;
10478
10478
  });
10479
- return (l, i) => (_(), X("div", rv, [
10480
- (_(!0), X(fe, null, ge(a.value, (s, f) => (_(), Q(u(He), {
10479
+ return (l, i) => (_(), Q("div", rv, [
10480
+ (_(!0), Q(fe, null, ge(a.value, (s, f) => (_(), X(u(He), {
10481
10481
  key: f,
10482
10482
  title: s.title(),
10483
10483
  placement: "top"
@@ -10493,7 +10493,7 @@ var rv = { class: "table-settings" }, iv = ["onClick"], sv = ["onClick"], uv = /
10493
10493
  class: "table-settings__sep",
10494
10494
  "aria-hidden": "true"
10495
10495
  }, null, -1)),
10496
- (_(!0), X(fe, null, ge(r.value, (s, f) => (_(), Q(u(He), {
10496
+ (_(!0), Q(fe, null, ge(r.value, (s, f) => (_(), X(u(He), {
10497
10497
  key: `table-${f}`,
10498
10498
  title: s.title(),
10499
10499
  placement: "top"
@@ -10563,17 +10563,17 @@ var rv = { class: "table-settings" }, iv = ["onClick"], sv = ["onClick"], uv = /
10563
10563
  ]
10564
10564
  }];
10565
10565
  });
10566
- return (r, l) => (_(), Q(u(Kt), {
10566
+ return (r, l) => (_(), X(u(Kt), {
10567
10567
  variant: "panel",
10568
10568
  trigger: "click",
10569
10569
  placement: vv,
10570
10570
  "overlay-class": "search-settings-overlay",
10571
10571
  "hide-on-click": !1
10572
10572
  }, {
10573
- overlay: O(() => [Z("div", cv, [l[0] || (l[0] = Z("div", { class: "search-settings__head" }, "搜索设置", -1)), (_(!0), X(fe, null, ge(a.value, (i) => (_(), X("div", {
10573
+ overlay: O(() => [Z("div", cv, [l[0] || (l[0] = Z("div", { class: "search-settings__head" }, "搜索设置", -1)), (_(!0), Q(fe, null, ge(a.value, (i) => (_(), Q("div", {
10574
10574
  key: i.label,
10575
10575
  class: "search-settings__group"
10576
- }, [Z("div", dv, ie(i.label), 1), (_(!0), X(fe, null, ge(i.rows, (s) => kt((_(), X("div", {
10576
+ }, [Z("div", dv, ie(i.label), 1), (_(!0), Q(fe, null, ge(i.rows, (s) => kt((_(), Q("div", {
10577
10577
  key: s.label,
10578
10578
  class: "search-settings__row"
10579
10579
  }, [Z("span", fv, [pe(ie(s.label) + " ", 1), Z("span", pv, ie(s.status()), 1)]), Y(u(Ut), {
@@ -10636,7 +10636,7 @@ var rv = { class: "table-settings" }, iv = ["onClick"], sv = ["onClick"], uv = /
10636
10636
  emits: ["update:modelValue"],
10637
10637
  setup(e) {
10638
10638
  const t = Ot(e, "modelValue");
10639
- return (o, n) => (_(), Q(u(jt), {
10639
+ return (o, n) => (_(), X(u(jt), {
10640
10640
  modelValue: t.value,
10641
10641
  "onUpdate:modelValue": n[0] || (n[0] = (a) => t.value = a),
10642
10642
  tabs: e.tabs,
@@ -10824,7 +10824,7 @@ var _v = {
10824
10824
  }
10825
10825
  }), Pe(() => {
10826
10826
  l.value && $(l.value, !0);
10827
- }), (P, A) => (_(), X("div", { class: ye(["bare-page-list-tabs", [`bare-page-list-tabs--${e.placement}`, `bare-page-list-tabs--variant-${e.variant}`]]) }, [y.value ? (_(), X("div", _v, [Y(eo, {
10827
+ }), (P, A) => (_(), Q("div", { class: ye(["bare-page-list-tabs", [`bare-page-list-tabs--${e.placement}`, `bare-page-list-tabs--variant-${e.variant}`]]) }, [y.value ? (_(), Q("div", _v, [Y(eo, {
10828
10828
  modelValue: s.value,
10829
10829
  "onUpdate:modelValue": A[0] || (A[0] = (S) => s.value = S),
10830
10830
  tabs: m.value,
@@ -10837,12 +10837,12 @@ var _v = {
10837
10837
  "modelValue",
10838
10838
  "tabs",
10839
10839
  "variant"
10840
- ])])) : le("", !0), (_(!0), X(fe, null, ge(e.tabs, (S) => (_(), X(fe, { key: u(i).panelKey(S.key) }, [u(i).shouldMount(S.key) ? kt((_(), X("div", xv, [u(r)[`panel-${S.key}`] ? oe(P.$slots, `panel-${S.key}`, {
10840
+ ])])) : le("", !0), (_(!0), Q(fe, null, ge(e.tabs, (S) => (_(), Q(fe, { key: u(i).panelKey(S.key) }, [u(i).shouldMount(S.key) ? kt((_(), Q("div", xv, [u(r)[`panel-${S.key}`] ? oe(P.$slots, `panel-${S.key}`, {
10841
10841
  key: 0,
10842
10842
  context: K(S),
10843
10843
  tab: S,
10844
10844
  activated: u(i).isActivated(S.key)
10845
- }, void 0, !0) : (_(), Q(Re(u(zn)), {
10845
+ }, void 0, !0) : (_(), X(Re(u(zn)), {
10846
10846
  key: 1,
10847
10847
  ref_for: !0,
10848
10848
  ref: (D) => V(S.key, D),
@@ -10874,7 +10874,7 @@ var _v = {
10874
10874
  } : void 0,
10875
10875
  u(r)[E(S.key, "toolbar-left")] || u(r)["toolbar-left"] || e.placement === "toolbar-left" ? {
10876
10876
  name: "toolbar-left",
10877
- fn: O(() => [e.placement === "toolbar-left" ? (_(), Q(eo, {
10877
+ fn: O(() => [e.placement === "toolbar-left" ? (_(), X(eo, {
10878
10878
  key: 0,
10879
10879
  modelValue: s.value,
10880
10880
  "onUpdate:modelValue": A[2] || (A[2] = (D) => s.value = D),
@@ -10979,16 +10979,16 @@ var Av = /* @__PURE__ */ Se({
10979
10979
  name: "PageShell",
10980
10980
  component: St
10981
10981
  }], Bv = "td.vxe-body--column";
10982
- var Qr = "Enter", Ov = "ArrowUp", Lv = "ArrowDown", $v = "ArrowLeft", Iv = "ArrowRight";
10983
- var Xr = [
10982
+ var Xr = "Enter", Ov = "ArrowUp", Lv = "ArrowDown", $v = "ArrowLeft", Iv = "ArrowRight";
10983
+ var Qr = [
10984
10984
  Ov,
10985
10985
  Lv,
10986
10986
  $v,
10987
10987
  Iv
10988
10988
  ], Mh = [
10989
10989
  "Tab",
10990
- Qr,
10991
- ...Xr
10990
+ Xr,
10991
+ ...Qr
10992
10992
  ], Dv = [
10993
10993
  ".ant-modal-wrap",
10994
10994
  ".ant-drawer",
@@ -11075,8 +11075,8 @@ var Xr = [
11075
11075
  if (!s)
11076
11076
  return null;
11077
11077
  const f = e.navFieldIndex.get(s);
11078
- return f === void 0 ? null : t === "ArrowLeft" || t === "ArrowRight" ? Qv(e.navColumns, t, f, o) : t === "ArrowUp" || t === "ArrowDown" ? Xv(e, t, i, n, l, a) : t === "Tab" ? Zv(e, r, f, i, o, n, l, a) : t === "Enter" ? Jv(e, i, n, l, a) : null;
11079
- }, Qv = (e, t, o, n) => {
11078
+ return f === void 0 ? null : t === "ArrowLeft" || t === "ArrowRight" ? Xv(e.navColumns, t, f, o) : t === "ArrowUp" || t === "ArrowDown" ? Qv(e, t, i, n, l, a) : t === "Tab" ? Zv(e, r, f, i, o, n, l, a) : t === "Enter" ? Jv(e, i, n, l, a) : null;
11079
+ }, Xv = (e, t, o, n) => {
11080
11080
  const a = t === "ArrowLeft" ? o - 1 : o + 1;
11081
11081
  if (a < 0 || a >= e.length)
11082
11082
  return null;
@@ -11085,7 +11085,7 @@ var Xr = [
11085
11085
  row: n,
11086
11086
  column: r
11087
11087
  } : null;
11088
- }, Xv = (e, t, o, n, a, r) => {
11088
+ }, Qv = (e, t, o, n, a, r) => {
11089
11089
  const l = t === "ArrowUp" ? o - 1 : o + 1;
11090
11090
  return l < 0 ? null : l >= a.length ? (sa(e, r, n, !1), null) : {
11091
11091
  row: a[l],
@@ -11236,7 +11236,7 @@ var Xr = [
11236
11236
  handleKeyDown(e) {
11237
11237
  if (!this.enabled || !this.gridRef)
11238
11238
  return;
11239
- const { key: t } = e, o = t === "Tab", n = t === Qr, a = Xr.includes(t), r = t === "PageUp" || t === "PageDown", l = t === "Home" || t === "End", i = o || n && this.enterNav || a;
11239
+ const { key: t } = e, o = t === "Tab", n = t === Xr, a = Qr.includes(t), r = t === "PageUp" || t === "PageDown", l = t === "Home" || t === "End", i = o || n && this.enterNav || a;
11240
11240
  if (!i && !r && !l)
11241
11241
  return;
11242
11242
  const s = e.target;
@@ -11726,7 +11726,7 @@ var vg = { class: "table-child" }, gg = /* @__PURE__ */ re({
11726
11726
  }
11727
11727
  const x = v(() => {
11728
11728
  if (!!h.value)
11729
- return Qt({
11729
+ return Xt({
11730
11730
  btns: (w) => P(w),
11731
11731
  maxMain: p.maxMain,
11732
11732
  width: h.value.width,
@@ -11744,7 +11744,7 @@ var vg = { class: "table-child" }, gg = /* @__PURE__ */ re({
11744
11744
  }
11745
11745
  });
11746
11746
  });
11747
- return t(E), (w, H) => (_(), X("div", vg, [u(p).showFloat.value ? (_(), Q(u(zt), {
11747
+ return t(E), (w, H) => (_(), Q("div", vg, [u(p).showFloat.value ? (_(), X(u(zt), {
11748
11748
  key: 0,
11749
11749
  visible: u(p).barVisible.value,
11750
11750
  "position-style": u(p).barStyle.value,
@@ -12179,7 +12179,7 @@ var Tg = { class: "table-edit" }, Ag = /* @__PURE__ */ re({
12179
12179
  };
12180
12180
  }), a), m = v(() => {
12181
12181
  if (!(!n.action || y.showFloat.value))
12182
- return Qt({
12182
+ return Xt({
12183
12183
  btns: (M) => p(M),
12184
12184
  maxMain: n.action.maxMain ?? 3,
12185
12185
  width: typeof n.action.width == "number" ? n.action.width : void 0,
@@ -12402,7 +12402,7 @@ var Tg = { class: "table-edit" }, Ag = /* @__PURE__ */ re({
12402
12402
  loadData: (M) => l.value?.loadData(M) ?? Promise.resolve(),
12403
12403
  reloadData: (M) => l.value?.reloadData(M) ?? Promise.resolve(),
12404
12404
  hasCapability: (M) => M === "batchFillColumn" || M === "addRow" || l.value?.hasCapability?.(M) === !0
12405
- }), (M, g) => (_(), X("div", Tg, [u(y).showFloat.value ? (_(), Q(u(zt), {
12405
+ }), (M, g) => (_(), Q("div", Tg, [u(y).showFloat.value ? (_(), X(u(zt), {
12406
12406
  key: 0,
12407
12407
  visible: u(y).barVisible.value,
12408
12408
  "position-style": u(y).barStyle.value,
@@ -12426,7 +12426,7 @@ var Tg = { class: "table-edit" }, Ag = /* @__PURE__ */ re({
12426
12426
  "display-mode",
12427
12427
  "onMouseenter",
12428
12428
  "onMouseleave"
12429
- ])) : le("", !0), (_(), Q(u(ct), {
12429
+ ])) : le("", !0), (_(), X(u(ct), {
12430
12430
  ref_key: "tableRef",
12431
12431
  ref: l,
12432
12432
  key: n.mode,
@@ -12882,10 +12882,10 @@ function gi(e, t) {
12882
12882
  var Gg = { class: "table-group" }, Ug = {
12883
12883
  key: 0,
12884
12884
  class: "table-group__header"
12885
- }, jg = { class: "table-group__table" }, Wg = ["onClick"], Hg = { class: "table-group__group-label" }, qg = { class: "table-group__group-value" }, Yg = { class: "table-group__group-count" }, Qg = {
12885
+ }, jg = { class: "table-group__table" }, Wg = ["onClick"], Hg = { class: "table-group__group-label" }, qg = { class: "table-group__group-value" }, Yg = { class: "table-group__group-count" }, Xg = {
12886
12886
  key: 1,
12887
12887
  class: "table-group__group-placeholder"
12888
- }, Xg = ["onClick"], Jg = { class: "table-group__fold-icon" }, Zg = { class: "table-group__group-label" }, eh = { class: "table-group__group-value" }, th = { class: "table-group__group-count" }, nh = {
12888
+ }, Qg = ["onClick"], Jg = { class: "table-group__fold-icon" }, Zg = { class: "table-group__group-label" }, eh = { class: "table-group__group-value" }, th = { class: "table-group__group-count" }, nh = {
12889
12889
  key: 1,
12890
12890
  class: "table-group__group-placeholder"
12891
12891
  }, oh = /* @__PURE__ */ re({
@@ -13225,7 +13225,7 @@ var Gg = { class: "table-group" }, Ug = {
13225
13225
  "resetCol"
13226
13226
  ].includes(T) || i.value?.hasCapability?.(T) === !0,
13227
13227
  setAllExpand: ee
13228
- }), (T, F) => (_(), X("div", Gg, [u(r).header ? (_(), X("div", Ug, [oe(T.$slots, "header", {
13228
+ }), (T, F) => (_(), Q("div", Gg, [u(r).header ? (_(), Q("div", Ug, [oe(T.$slots, "header", {
13229
13229
  group: d.value,
13230
13230
  expandAll: u(B),
13231
13231
  setAllExpand: ee
@@ -13238,7 +13238,7 @@ var Gg = { class: "table-group" }, Ug = {
13238
13238
  "row-key": "_nodeId",
13239
13239
  "grid-options": g.value
13240
13240
  }, hn(N.value)), we({
13241
- bare_table_group_cell: O(({ row: z }) => [z._rowType === "group" ? (_(), X("span", {
13241
+ bare_table_group_cell: O(({ row: z }) => [z._rowType === "group" ? (_(), Q("span", {
13242
13242
  key: 0,
13243
13243
  class: "table-group__group-cell",
13244
13244
  onClick: (ne) => L(z)
@@ -13246,8 +13246,8 @@ var Gg = { class: "table-group" }, Ug = {
13246
13246
  Z("span", Hg, ie(z._groupLabel) + ":", 1),
13247
13247
  Z("span", qg, ie(z._groupValue), 1),
13248
13248
  Z("span", Yg, "(" + ie(z._groupCount) + ")", 1)
13249
- ], 8, Wg)) : (_(), X("span", Qg, " "))]),
13250
- bare_table_group_cell_rowspan: O(({ row: z, column: ne }) => [P(z, ne) ? (_(), X("span", {
13249
+ ], 8, Wg)) : (_(), Q("span", Xg, " "))]),
13250
+ bare_table_group_cell_rowspan: O(({ row: z, column: ne }) => [P(z, ne) ? (_(), Q("span", {
13251
13251
  key: 0,
13252
13252
  class: ye(["table-group__group-cell table-group__group-cell--rowspan", { "is-foldable": x(z, ne) }]),
13253
13253
  style: ut(te(z, ne)),
@@ -13257,7 +13257,7 @@ var Gg = { class: "table-group" }, Ug = {
13257
13257
  Z("span", Zg, ie(A(z, ne)) + ":", 1),
13258
13258
  Z("span", eh, ie(S(z, ne)), 1),
13259
13259
  Z("span", th, "(" + ie(D(z, ne)) + ")", 1)
13260
- ], 14, Xg)) : (_(), X("span", nh, " "))]),
13260
+ ], 14, Qg)) : (_(), Q("span", nh, " "))]),
13261
13261
  _: 2
13262
13262
  }, [ge(s.value, (z, ne) => ({
13263
13263
  name: ne,
@@ -13386,7 +13386,7 @@ var Gg = { class: "table-group" }, Ug = {
13386
13386
  function D() {
13387
13387
  i.value = null;
13388
13388
  }
13389
- return (b, x) => (_(), X("div", ah, [
13389
+ return (b, x) => (_(), Q("div", ah, [
13390
13390
  Z("div", lh, [x[4] || (x[4] = Z("span", { class: "grouping-rule-builder__title" }, "按指定字段分组", -1)), Z("div", rh, [Y(u(Ce), {
13391
13391
  type: "text",
13392
13392
  size: "small",
@@ -13404,7 +13404,7 @@ var Gg = { class: "table-group" }, Ug = {
13404
13404
  default: O(() => [...x[3] || (x[3] = [pe(" 展开全部 ", -1)])]),
13405
13405
  _: 1
13406
13406
  })])]),
13407
- Z("div", ih, [(_(!0), X(fe, null, ge(r.value, (w, H) => (_(), X("div", {
13407
+ Z("div", ih, [(_(!0), Q(fe, null, ge(r.value, (w, H) => (_(), Q("div", {
13408
13408
  key: w.id,
13409
13409
  class: ye(["grouping-rule-builder__row", { "is-dragging": i.value === H }]),
13410
13410
  draggable: "true",
@@ -13425,7 +13425,7 @@ var Gg = { class: "table-group" }, Ug = {
13425
13425
  }, [x[5] || (x[5] = Z("option", {
13426
13426
  value: "",
13427
13427
  disabled: ""
13428
- }, "选择字段", -1)), (_(!0), X(fe, null, ge(o.fieldOptions, (G) => (_(), X("option", {
13428
+ }, "选择字段", -1)), (_(!0), Q(fe, null, ge(o.fieldOptions, (G) => (_(), Q("option", {
13429
13429
  key: G.fieldKey,
13430
13430
  value: G.fieldKey,
13431
13431
  disabled: y(G.fieldKey, H)
@@ -13468,14 +13468,14 @@ var Gg = { class: "table-group" }, Ug = {
13468
13468
  _: 1
13469
13469
  }, 8, ["onClick"])
13470
13470
  ])
13471
- ], 42, sh))), 128)), r.value.length === 0 ? (_(), X("div", fh, [...x[10] || (x[10] = [Z("span", { class: "grouping-rule-builder__empty-icon" }, "⊘", -1), Z("span", null, "暂未设置分组字段,点击下方添加分组开始配置", -1)])])) : le("", !0)]),
13471
+ ], 42, sh))), 128)), r.value.length === 0 ? (_(), Q("div", fh, [...x[10] || (x[10] = [Z("span", { class: "grouping-rule-builder__empty-icon" }, "⊘", -1), Z("span", null, "暂未设置分组字段,点击下方添加分组开始配置", -1)])])) : le("", !0)]),
13472
13472
  Z("div", ph, [kt(Z("select", {
13473
13473
  "onUpdate:modelValue": x[1] || (x[1] = (w) => l.value = w),
13474
13474
  class: "grouping-rule-builder__select"
13475
13475
  }, [x[11] || (x[11] = Z("option", {
13476
13476
  value: "",
13477
13477
  disabled: ""
13478
- }, "请选择字段", -1)), (_(!0), X(fe, null, ge(m.value, (w) => (_(), X("option", {
13478
+ }, "请选择字段", -1)), (_(!0), Q(fe, null, ge(m.value, (w) => (_(), Q("option", {
13479
13479
  key: w.fieldKey,
13480
13480
  value: w.fieldKey,
13481
13481
  disabled: h(w.fieldKey)
@@ -13663,7 +13663,7 @@ var Gg = { class: "table-group" }, Ug = {
13663
13663
  setFieldsValue: (A) => r.value?.setFieldsValue?.(A),
13664
13664
  getGridRef: () => l.value?.getGridRef?.() ?? null,
13665
13665
  setAllExpand: (A) => l.value?.setAllExpand?.(A)
13666
- }), (A, S) => (_(), Q(u(St), {
13666
+ }), (A, S) => (_(), X(u(St), {
13667
13667
  ref_key: "shellRef",
13668
13668
  ref: r,
13669
13669
  loader: n.loader,
@@ -13819,7 +13819,11 @@ for (const e in Ka) {
13819
13819
  var Ch = [];
13820
13820
  function wh(e, t = {}) {
13821
13821
  const { prefix: o = wt, globalConfig: n = {} } = t;
13822
- n.table && Fl(n.table), n.pageList && Wr(n.pageList), n.colPref && yr(n.colPref), [...mi, ...Ch].forEach(({ component: a, name: r }) => {
13822
+ typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && (e.config.globalProperties.$vxe || console.error(`[@wg-song/bare] 未检测到 vxe-table 注册。请在使用本库前执行:
13823
+ import VXETable from 'vxe-table'
13824
+ import 'vxe-table/lib/style.css'
13825
+ app.use(VXETable)
13826
+ 若表格仍异常,请同时注册 vxe-pc-ui:app.use(VXEPcUI)。`)), n.table && Fl(n.table), n.pageList && Wr(n.pageList), n.colPref && yr(n.colPref), [...mi, ...Ch].forEach(({ component: a, name: r }) => {
13823
13827
  e.component(`${o}${r}`, a);
13824
13828
  }), n && Object.keys(n).length > 0 && e.provide(rl, n), Cl(e._context);
13825
13829
  }