gzhr-ui 1.1.1 → 1.2.0

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.
@@ -1,6 +1,6 @@
1
- import { a as ElInput, C as ClickOutside, b as ElPopover, V as VxeInput, c as ElButton, d as ElCheckboxGroup, e as ElCheckbox, f as ElTreeSelect, g as ElInputNumber, E as ElIcon, h as ElDropdown, i as ElDropdownMenu, j as ElDropdownItem, k as ElTag, l as isEmpty, m as ElColorPicker, n as dayjs, o as isoWeek, q as quarterOfYear, p as customParseFormat, r as ElImage, s as ElProgress, t as ElRadioGroup, u as ElRadio, v as ElSelect, w as ElOption, x as VxePager, y as VxeGrid, z as VxeUI } from "./vendor-PkgYxc4K.mjs";
2
- import { ref, computed, openBlock, createElementBlock, withDirectives, createVNode, unref, withCtx, createElementVNode, createTextVNode, withKeys, createBlock, Fragment, renderList, createCommentVNode, onMounted, defineComponent, resolveComponent, normalizeStyle, toDisplayString, watch, vShow, watchEffect, inject, normalizeProps, mergeProps, resolveDirective, onBeforeUnmount, reactive } from "vue";
3
- import { b as buildTree, d as deepClone, u as useElementClientSize, _ as _export_sfc, i as isColor, g as getFileIconUrl, p as preVideo, a as preCAD, w as withInstall } from "./utils-DZxjjV-b.mjs";
1
+ import { a as ElInput, C as ClickOutside, b as ElPopover, V as VxeInput, c as ElButton, d as ElCheckboxGroup, e as ElCheckbox, f as ElTreeSelect, g as ElInputNumber, E as ElIcon, h as ElDropdown, i as ElDropdownMenu, j as ElDropdownItem, k as ElTag, l as isEmpty, m as ElColorPicker, n as dayjs, o as isoWeek, q as quarterOfYear, p as customParseFormat, r as ElImage, s as ElProgress, t as ElRadioGroup, u as ElRadio, v as ElSelect, w as ElOption, x as VxePager, y as VxeGrid, z as VxeUI } from "./vendor-WGaPw_tu.mjs";
2
+ import { ref, computed, openBlock, createElementBlock, withDirectives, createVNode, unref, withCtx, createElementVNode, createTextVNode, withKeys, createBlock, Fragment, renderList, createCommentVNode, onMounted, defineComponent, resolveComponent, normalizeStyle, toDisplayString, watch, vShow, watchEffect, normalizeProps, mergeProps, resolveDirective, onBeforeUnmount, reactive, nextTick } from "vue";
3
+ import { b as buildTree, d as deepClone, u as useElementClientSize, _ as _export_sfc, i as isColor, g as getFileIconUrl, w as withInstall } from "./utils-SCnEv9cY.mjs";
4
4
  const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" }, _hoisted_3$3 = { class: "flex flex-col gap3" }, _hoisted_4$1 = { class: "flex justify-between" }, _sfc_main$x = {
5
5
  __name: "filter-date",
6
6
  props: {
@@ -54,12 +54,12 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
54
54
  createElementVNode("div", _hoisted_3$3, [
55
55
  createVNode(unref(VxeInput), {
56
56
  modelValue: o.value[0],
57
- "onUpdate:modelValue": d[0] || (d[0] = (p) => o.value[0] = p),
57
+ "onUpdate:modelValue": d[0] || (d[0] = (_) => o.value[0] = _),
58
58
  type: r.column.params.DateType || "date"
59
59
  }, null, 8, ["modelValue", "type"]),
60
60
  createVNode(unref(VxeInput), {
61
61
  modelValue: o.value[1],
62
- "onUpdate:modelValue": d[1] || (d[1] = (p) => o.value[1] = p),
62
+ "onUpdate:modelValue": d[1] || (d[1] = (_) => o.value[1] = _),
63
63
  type: r.column.params.DateType || "date"
64
64
  }, null, 8, ["modelValue", "type"])
65
65
  ]),
@@ -354,7 +354,7 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
354
354
  ref: c,
355
355
  value: n.value,
356
356
  readonly: "",
357
- onKeyup: d[0] || (d[0] = withKeys((p) => s("FilterSearch", r.column), ["enter"]))
357
+ onKeyup: d[0] || (d[0] = withKeys((_) => s("FilterSearch", r.column), ["enter"]))
358
358
  }, null, 8, ["value"]), [
359
359
  [unref(ClickOutside), a]
360
360
  ]),
@@ -371,12 +371,12 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
371
371
  createVNode(unref(ElInputNumber), {
372
372
  class: "w-full",
373
373
  modelValue: o.value[0],
374
- "onUpdate:modelValue": d[1] || (d[1] = (p) => o.value[0] = p)
374
+ "onUpdate:modelValue": d[1] || (d[1] = (_) => o.value[0] = _)
375
375
  }, null, 8, ["modelValue"]),
376
376
  createVNode(unref(ElInputNumber), {
377
377
  class: "w-full",
378
378
  modelValue: o.value[1],
379
- "onUpdate:modelValue": d[2] || (d[2] = (p) => o.value[1] = p)
379
+ "onUpdate:modelValue": d[2] || (d[2] = (_) => o.value[1] = _)
380
380
  }, null, 8, ["modelValue"])
381
381
  ]),
382
382
  createElementVNode("div", _hoisted_3$2, [
@@ -469,12 +469,12 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
469
469
  }, toDisplayString(r.column.title), 5),
470
470
  (i = r.column.params) != null && i.sortable && ((d = r.column.params) != null && d.sortStatus) ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {
471
471
  default: withCtx(() => {
472
- var p, v;
472
+ var _, h;
473
473
  return [
474
- ((p = r.column.params) == null ? void 0 : p.sortStatus) === "asc" ? (openBlock(), createBlock(u, {
474
+ ((_ = r.column.params) == null ? void 0 : _.sortStatus) === "asc" ? (openBlock(), createBlock(u, {
475
475
  key: 0,
476
476
  icon: "ep:caret-top"
477
- })) : ((v = r.column.params) == null ? void 0 : v.sortStatus) === "desc" ? (openBlock(), createBlock(u, {
477
+ })) : ((h = r.column.params) == null ? void 0 : h.sortStatus) === "desc" ? (openBlock(), createBlock(u, {
478
478
  key: 1,
479
479
  icon: "ep:caret-bottom"
480
480
  })) : createCommentVNode("", !0)
@@ -487,32 +487,32 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
487
487
  ["radio_Table", "bool"].includes(r.column.params.FieldType) ? (openBlock(), createBlock(_sfc_main$w, {
488
488
  key: 0,
489
489
  column: r.column,
490
- onFilterSearch: m[0] || (m[0] = (p) => l("search"))
490
+ onFilterSearch: m[0] || (m[0] = (_) => l("search"))
491
491
  }, null, 8, ["column"])) : ["select", "check"].includes(r.column.params.FieldType) ? (openBlock(), createBlock(_sfc_main$v, {
492
492
  key: 1,
493
493
  column: r.column,
494
- onFilterSearch: m[1] || (m[1] = (p) => l("search"))
494
+ onFilterSearch: m[1] || (m[1] = (_) => l("search"))
495
495
  }, null, 8, ["column"])) : r.column.params.FieldType === "date" ? (openBlock(), createBlock(_sfc_main$x, {
496
496
  key: 2,
497
497
  column: r.column,
498
- onFilterSearch: m[2] || (m[2] = (p) => l("search"))
498
+ onFilterSearch: m[2] || (m[2] = (_) => l("search"))
499
499
  }, null, 8, ["column"])) : r.column.params.FieldType === "tree" ? (openBlock(), createBlock(_sfc_main$u, {
500
500
  key: 3,
501
501
  column: r.column,
502
- onFilterSearch: m[3] || (m[3] = (p) => l("search"))
502
+ onFilterSearch: m[3] || (m[3] = (_) => l("search"))
503
503
  }, null, 8, ["column"])) : r.column.params.FieldType === "TreeMultipleSelect" ? (openBlock(), createBlock(_sfc_main$t, {
504
504
  key: 4,
505
505
  column: r.column,
506
- onFilterSearch: m[4] || (m[4] = (p) => l("search"))
506
+ onFilterSearch: m[4] || (m[4] = (_) => l("search"))
507
507
  }, null, 8, ["column"])) : r.column.params.FieldType === "inputNumber" ? (openBlock(), createBlock(_sfc_main$s, {
508
508
  key: 5,
509
509
  column: r.column,
510
- onFilterSearch: m[5] || (m[5] = (p) => l("search"))
511
- }, null, 8, ["column"])) : (openBlock(!0), createElementBlock(Fragment, { key: 6 }, renderList(r.column.filters, (p, v) => (openBlock(), createBlock(unref(ElInput), {
512
- key: v,
513
- modelValue: p.data,
514
- "onUpdate:modelValue": (g) => p.data = g,
515
- onKeyup: m[6] || (m[6] = withKeys((g) => l("search"), ["enter"])),
510
+ onFilterSearch: m[5] || (m[5] = (_) => l("search"))
511
+ }, null, 8, ["column"])) : (openBlock(!0), createElementBlock(Fragment, { key: 6 }, renderList(r.column.filters, (_, h) => (openBlock(), createBlock(unref(ElInput), {
512
+ key: h,
513
+ modelValue: _.data,
514
+ "onUpdate:modelValue": (v) => _.data = v,
515
+ onKeyup: m[6] || (m[6] = withKeys((v) => l("search"), ["enter"])),
516
516
  disabled: ["colorPicker", "iconPicker", "progress"].includes(r.column.params.FieldType)
517
517
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"]))), 128)),
518
518
  createVNode(unref(ElDropdown), {
@@ -696,72 +696,72 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
696
696
  });
697
697
  function c(u) {
698
698
  if (!u) return;
699
- let i, d, p, v = 1;
699
+ let i, d, _, h = 1;
700
700
  if (u.startsWith("#"))
701
- u = u.slice(1), u.length === 3 ? (i = parseInt(u[0] + u[0], 16), d = parseInt(u[1] + u[1], 16), p = parseInt(u[2] + u[2], 16)) : u.length === 6 && (i = parseInt(u.slice(0, 2), 16), d = parseInt(u.slice(2, 4), 16), p = parseInt(u.slice(4, 6), 16));
701
+ u = u.slice(1), u.length === 3 ? (i = parseInt(u[0] + u[0], 16), d = parseInt(u[1] + u[1], 16), _ = parseInt(u[2] + u[2], 16)) : u.length === 6 && (i = parseInt(u.slice(0, 2), 16), d = parseInt(u.slice(2, 4), 16), _ = parseInt(u.slice(4, 6), 16));
702
702
  else if (u.startsWith("rgb")) {
703
- const g = u.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d+))?\)/);
704
- g && (i = parseInt(g[1]), d = parseInt(g[2]), p = parseInt(g[3]), g[4] && (v = parseFloat(g[4])));
703
+ const v = u.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d+))?\)/);
704
+ v && (i = parseInt(v[1]), d = parseInt(v[2]), _ = parseInt(v[3]), v[4] && (h = parseFloat(v[4])));
705
705
  } else if (u.startsWith("hsl")) {
706
- const g = u.match(/hsla?\((\d+),\s*(\d+)%,\s*(\d+)%(?:,\s*(\d*\.?\d+))?\)/);
707
- if (g) {
708
- const w = parseInt(g[1]) / 360, y = parseInt(g[2]) / 100, k = parseInt(g[3]) / 100;
709
- if (g[4] && (v = parseFloat(g[4])), y === 0)
710
- i = d = p = k * 255;
706
+ const v = u.match(/hsla?\((\d+),\s*(\d+)%,\s*(\d+)%(?:,\s*(\d*\.?\d+))?\)/);
707
+ if (v) {
708
+ const w = parseInt(v[1]) / 360, y = parseInt(v[2]) / 100, k = parseInt(v[3]) / 100;
709
+ if (v[4] && (h = parseFloat(v[4])), y === 0)
710
+ i = d = _ = k * 255;
711
711
  else {
712
- const x = (E, R, O) => (O < 0 && (O += 1), O > 1 && (O -= 1), O < 0.16666666666666666 ? E + (R - E) * 6 * O : O < 0.5 ? R : O < 0.6666666666666666 ? E + (R - E) * (0.6666666666666666 - O) * 6 : E), j = k < 0.5 ? k * (1 + y) : k + y - k * y, C = 2 * k - j;
713
- i = x(C, j, w + 1 / 3) * 255, d = x(C, j, w) * 255, p = x(C, j, w - 1 / 3) * 255;
712
+ const V = ($, N, O) => (O < 0 && (O += 1), O > 1 && (O -= 1), O < 0.16666666666666666 ? $ + (N - $) * 6 * O : O < 0.5 ? N : O < 0.6666666666666666 ? $ + (N - $) * (0.6666666666666666 - O) * 6 : $), j = k < 0.5 ? k * (1 + y) : k + y - k * y, x = 2 * k - j;
713
+ i = V(x, j, w + 1 / 3) * 255, d = V(x, j, w) * 255, _ = V(x, j, w - 1 / 3) * 255;
714
714
  }
715
715
  }
716
716
  }
717
- return { r: i, g: d, b: p, a: v };
717
+ return { r: i, g: d, b: _, a: h };
718
718
  }
719
719
  function l(u, i, d) {
720
720
  u /= 255, i /= 255, d /= 255;
721
- const p = Math.max(u, i, d), v = Math.min(u, i, d);
722
- let g, w, y = (p + v) / 2;
723
- if (p === v)
724
- g = w = 0;
721
+ const _ = Math.max(u, i, d), h = Math.min(u, i, d);
722
+ let v, w, y = (_ + h) / 2;
723
+ if (_ === h)
724
+ v = w = 0;
725
725
  else {
726
- const k = p - v;
727
- switch (w = y > 0.5 ? k / (2 - p - v) : k / (p + v), p) {
726
+ const k = _ - h;
727
+ switch (w = y > 0.5 ? k / (2 - _ - h) : k / (_ + h), _) {
728
728
  case u:
729
- g = (i - d) / k + (i < d ? 6 : 0);
729
+ v = (i - d) / k + (i < d ? 6 : 0);
730
730
  break;
731
731
  case i:
732
- g = (d - u) / k + 2;
732
+ v = (d - u) / k + 2;
733
733
  break;
734
734
  case d:
735
- g = (u - i) / k + 4;
735
+ v = (u - i) / k + 4;
736
736
  break;
737
737
  }
738
- g /= 6;
738
+ v /= 6;
739
739
  }
740
- return { h: g, s: w, l: y };
740
+ return { h: v, s: w, l: y };
741
741
  }
742
742
  function a(u, i, d) {
743
- let p, v, g;
743
+ let _, h, v;
744
744
  if (i === 0)
745
- p = v = g = d;
745
+ _ = h = v = d;
746
746
  else {
747
- const w = (x, j, C) => (C < 0 && (C += 1), C > 1 && (C -= 1), C < 0.16666666666666666 ? x + (j - x) * 6 * C : C < 0.5 ? j : C < 0.6666666666666666 ? x + (j - x) * (0.6666666666666666 - C) * 6 : x), y = d < 0.5 ? d * (1 + i) : d + i - d * i, k = 2 * d - y;
748
- p = w(k, y, u + 1 / 3), v = w(k, y, u), g = w(k, y, u - 1 / 3);
747
+ const w = (V, j, x) => (x < 0 && (x += 1), x > 1 && (x -= 1), x < 0.16666666666666666 ? V + (j - V) * 6 * x : x < 0.5 ? j : x < 0.6666666666666666 ? V + (j - V) * (0.6666666666666666 - x) * 6 : V), y = d < 0.5 ? d * (1 + i) : d + i - d * i, k = 2 * d - y;
748
+ _ = w(k, y, u + 1 / 3), h = w(k, y, u), v = w(k, y, u - 1 / 3);
749
749
  }
750
- return { r: Math.round(p * 255), g: Math.round(v * 255), b: Math.round(g * 255) };
750
+ return { r: Math.round(_ * 255), g: Math.round(h * 255), b: Math.round(v * 255) };
751
751
  }
752
752
  function s(u, i) {
753
753
  if (!u) return;
754
- let { r: d, g: p, b: v } = c(u), { h: g, s: w, l: y } = l(d, p, v);
754
+ let { r: d, g: _, b: h } = c(u), { h: v, s: w, l: y } = l(d, _, h);
755
755
  y = Math.max(0, y - i);
756
- const { r: k, g: x, b: j } = a(g, w, y);
757
- return `rgb(${k}, ${x}, ${j})`;
756
+ const { r: k, g: V, b: j } = a(v, w, y);
757
+ return `rgb(${k}, ${V}, ${j})`;
758
758
  }
759
759
  function m() {
760
- function u(g, w) {
761
- return Math.floor(Math.random() * (w - g + 1)) + g;
760
+ function u(v, w) {
761
+ return Math.floor(Math.random() * (w - v + 1)) + v;
762
762
  }
763
- const i = u(200, 255), d = u(200, 255), p = u(200, 255);
764
- return `#${i.toString(16).padStart(2, "0")}${d.toString(16).padStart(2, "0")}${p.toString(16).padStart(2, "0")}`;
763
+ const i = u(200, 255), d = u(200, 255), _ = u(200, 255);
764
+ return `#${i.toString(16).padStart(2, "0")}${d.toString(16).padStart(2, "0")}${_.toString(16).padStart(2, "0")}`;
765
765
  }
766
766
  return (u, i) => {
767
767
  const d = resolveComponent("hr-icon");
@@ -827,12 +827,18 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
827
827
  function handleChange(r, e, t) {
828
828
  emit("change", r, e, t);
829
829
  }
830
- const onBefore = inject("onBefore");
831
830
  function handleChoose(row, column, gridRef) {
832
831
  var r;
833
- if (onBefore && onBefore(column) || (r = column.params) != null && r.disabled) return;
832
+ let result;
833
+ if (emit("onChooseBefor-Click", column, (e) => {
834
+ result = e;
835
+ }), !result || (r = column.params) != null && r.disabled) return;
834
836
  let { ChoosePageType, ChoosePageOID, StoredValueField, ReturnValueField, URLParamsObject, URLParamsHook } = props.column.params, urlParams = {}, selectedData = [], layerOptions = {};
835
- URLParamsObject && Object.assign(urlParams, URLParamsObject), URLParamsHook && Object.assign(urlParams, eval(`(${URLParamsHook})({ urlParams, selectedData, layerOptions, row, column, gridRef })`)), ChoosePageType === "autoPage" ? openAutoPage(ChoosePageOID, (e, t) => {
837
+ URLParamsObject && Object.assign(urlParams, URLParamsObject), URLParamsHook && Object.assign(urlParams, eval(
838
+ `(function(){
839
+ return eval(\`(${URLParamsHook})(urlParams, selectedData, layerOptions, row, column)\`)
840
+ }).call(gridRef)`
841
+ )(urlParams, selectedData, layerOptions, row, column)), ChoosePageType === "autoPage" ? openAutoPage(ChoosePageOID, (e, t) => {
836
842
  isEmpty(StoredValueField) || isEmpty(ReturnValueField) || (Array.isArray(StoredValueField) || (StoredValueField = [StoredValueField]), Array.isArray(ReturnValueField) || (ReturnValueField = [ReturnValueField]), StoredValueField.forEach((o, n) => {
837
843
  var c;
838
844
  return row[o] = ((c = t[ReturnValueField[n]]) == null ? void 0 : c.join(",")) || null;
@@ -858,7 +864,7 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
858
864
  }))
859
865
  ]));
860
866
  }
861
- }), chooseFrameRender = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-c44e48d9"]]), __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
867
+ }), chooseFrameRender = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-eda15f79"]]), __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
862
868
  __proto__: null,
863
869
  default: chooseFrameRender
864
870
  }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$9 = { class: "size-full color-picker" }, _sfc_main$m = /* @__PURE__ */ Object.assign({
@@ -1008,20 +1014,20 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
1008
1014
  if (l.includes("周") || !u.isValid() && a === "week") {
1009
1015
  const i = l.match(/^(\d{4})年第(\d{1,2})周$/);
1010
1016
  if (i) {
1011
- const [, d, p] = i;
1012
- u = dayjs(`${d}-01-01`).isoWeek(Number(p));
1017
+ const [, d, _] = i;
1018
+ u = dayjs(`${d}-01-01`).isoWeek(Number(_));
1013
1019
  }
1014
1020
  } else if (l.includes("季度") || !u.isValid() && a === "quarter") {
1015
1021
  const i = l.match(/^(\d{4})年第(\d)季度$/);
1016
1022
  if (i) {
1017
- const [, d, p] = i;
1018
- u = dayjs(`${d}-01-01`).quarter(Number(p));
1023
+ const [, d, _] = i;
1024
+ u = dayjs(`${d}-01-01`).quarter(Number(_));
1019
1025
  }
1020
1026
  } else if (l.includes("月") || !u.isValid() && a === "month") {
1021
1027
  const i = l.match(/^(\d{4})年(\d{1,2})月$/);
1022
1028
  if (i) {
1023
- const [, d, p] = i;
1024
- u = dayjs(`${d}-${p}-01`);
1029
+ const [, d, _] = i;
1030
+ u = dayjs(`${d}-${_}-01`);
1025
1031
  }
1026
1032
  } else if (l.includes("年") || !u.isValid() && a === "year") {
1027
1033
  const i = l.match(/^(\d{4})年$/);
@@ -1105,26 +1111,7 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
1105
1111
  setup(r, { emit: e }) {
1106
1112
  const t = e;
1107
1113
  function o(n) {
1108
- [
1109
- "mp4",
1110
- "avi",
1111
- "mov",
1112
- "wmv",
1113
- "flv",
1114
- "mkv",
1115
- "webm",
1116
- "mpeg",
1117
- "mpg",
1118
- "m4v",
1119
- "3gp",
1120
- "3g2",
1121
- "ogg",
1122
- "ogv",
1123
- "ts",
1124
- "mts",
1125
- "m2ts",
1126
- "mxf"
1127
- ].includes(n.FileType) ? preVideo(n.FilePath) : ["dwg", "dxf", "dwf"].includes(n.FileType) && preCAD(n.FilePath), t("file-click", n);
1114
+ ["jpg", "jpeg", "png", "gif", "bmp", "svg"].includes(n.FileType.toLowerCase()) || t("file-click", n);
1128
1115
  }
1129
1116
  return (n, c) => {
1130
1117
  const l = resolveDirective("viewer");
@@ -1162,7 +1149,7 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
1162
1149
  ]);
1163
1150
  };
1164
1151
  }
1165
- }), fileRender = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-92060d8d"]]), __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1152
+ }), fileRender = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-ddb457f4"]]), __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1166
1153
  __proto__: null,
1167
1154
  default: fileRender
1168
1155
  }, Symbol.toStringTag, { value: "Module" })), _sfc_main$i = /* @__PURE__ */ Object.assign({
@@ -1197,7 +1184,7 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
1197
1184
  title: "图标选择",
1198
1185
  maxmin: !0,
1199
1186
  area: ["80%", "80%"],
1200
- content: "/Html/Custom/SelectIcon/hr-icon.html?callbackFn=setIcon&clearFn=clearIcon"
1187
+ content: "/Html/Custom/SelectIcon/Icon.html?callbackFn=setIcon&clearFn=clearIcon"
1201
1188
  });
1202
1189
  window.setIcon = (m) => {
1203
1190
  c[l.field] = m.font_class, o(m, c, l);
@@ -1242,8 +1229,8 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
1242
1229
  setup(r, { emit: e }) {
1243
1230
  const t = r, o = e;
1244
1231
  function n(c, l) {
1245
- var v;
1246
- if ((v = l.params) != null && v.disabled) return;
1232
+ var h;
1233
+ if ((h = l.params) != null && h.disabled) return;
1247
1234
  let {
1248
1235
  PickPeopleType: a,
1249
1236
  PickPeopleCheckType: s,
@@ -1251,16 +1238,16 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
1251
1238
  PickPeopleStatus: u,
1252
1239
  StoredValueField: i,
1253
1240
  ReturnValueField: d,
1254
- BackfillField: p
1241
+ BackfillField: _
1255
1242
  } = t.column.params;
1256
1243
  openChoosePeople({
1257
1244
  Type: a,
1258
1245
  Choose: s,
1259
1246
  IsAll: m,
1260
1247
  Status: u
1261
- }, (g) => {
1262
- isEmpty(i) ? c[l.field] = g.Name || null : (Array.isArray(i) || (i = [i]), Array.isArray(d) || (d = [d]), i.forEach((w, y) => c[w] = g[d[y]] || null)), o("change", g, c, l);
1263
- }, p ? c[p] : null);
1248
+ }, (v) => {
1249
+ isEmpty(i) ? c[l.field] = v.Name || null : (Array.isArray(i) || (i = [i]), Array.isArray(d) || (d = [d]), i.forEach((w, y) => c[w] = v[d[y]] || null)), o("change", v, c, l);
1250
+ }, _ ? c[_] : null);
1264
1251
  }
1265
1252
  return (c, l) => (openBlock(), createElementBlock("div", _hoisted_1$5, [
1266
1253
  createVNode(unref(ElButton), {
@@ -1394,8 +1381,8 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
1394
1381
  if (l && l.length > 1) {
1395
1382
  let m = [];
1396
1383
  return l.split(",").map((u) => {
1397
- var d, p;
1398
- const i = (p = (d = t.value) == null ? void 0 : d.find((v) => v.value == u)) == null ? void 0 : p.label;
1384
+ var d, _;
1385
+ const i = (_ = (d = t.value) == null ? void 0 : d.find((h) => h.value == u)) == null ? void 0 : _.label;
1399
1386
  i !== void 0 && m.push(i);
1400
1387
  }), m.join(",");
1401
1388
  } else
@@ -1441,7 +1428,7 @@ const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" },
1441
1428
  var l, a;
1442
1429
  return ((a = (l = t.value) == null ? void 0 : l.find((s) => s.value == e.row[e.column.field])) == null ? void 0 : a.label) || "";
1443
1430
  });
1444
- return (l, a) => e.column.params.IsLabel ? (openBlock(), createBlock(_sfc_main$o, normalizeProps(mergeProps({ key: 0 }, { ...e, displayValue: o.value })), null, 16)) : (openBlock(), createElementBlock("span", {
1431
+ return (l, a) => e.column.params.IsLabel ? (openBlock(), createBlock(_sfc_main$o, mergeProps({ key: 0 }, { ...e, displayValue: o.value }, { title: o.value }), null, 16, ["title"])) : (openBlock(), createElementBlock("span", {
1445
1432
  key: 1,
1446
1433
  title: o.value
1447
1434
  }, toDisplayString(o.value), 9, _hoisted_1$3));
@@ -1576,26 +1563,26 @@ const _sfc_main$a = /* @__PURE__ */ Object.assign({
1576
1563
  if (!i.isValid() && s === "week") {
1577
1564
  const d = a.match(/^(\d{4})年第(\d{2})周$/);
1578
1565
  if (d) {
1579
- const [, p, v] = d;
1580
- i = dayjs(`${p}-01-01`).isoWeek(Number(v));
1566
+ const [, _, h] = d;
1567
+ i = dayjs(`${_}-01-01`).isoWeek(Number(h));
1581
1568
  }
1582
1569
  } else if (!i.isValid() && s === "quarter") {
1583
1570
  const d = a.match(/^(\d{4})年第(\d)季度$/);
1584
1571
  if (d) {
1585
- const [, p, v] = d;
1586
- i = dayjs(`${p}-01-01`).quarter(Number(v));
1572
+ const [, _, h] = d;
1573
+ i = dayjs(`${_}-01-01`).quarter(Number(h));
1587
1574
  }
1588
1575
  } else if (!i.isValid() && s === "month") {
1589
1576
  const d = a.match(/^(\d{4})年(\d{2})月$/);
1590
1577
  if (d) {
1591
- const [, p, v] = d;
1592
- i = dayjs(`${p}-${v}-01`);
1578
+ const [, _, h] = d;
1579
+ i = dayjs(`${_}-${h}-01`);
1593
1580
  }
1594
1581
  } else if (!i.isValid() && s === "year") {
1595
1582
  const d = a.match(/^(\d{4})年$/);
1596
1583
  if (d) {
1597
- const [, p] = d;
1598
- i = dayjs(`${p}-01-01`);
1584
+ const [, _] = d;
1585
+ i = dayjs(`${_}-01-01`);
1599
1586
  }
1600
1587
  }
1601
1588
  return i.isValid() ? c(i, s) : null;
@@ -2099,6 +2086,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2099
2086
  },
2100
2087
  pagination: {
2101
2088
  type: Object
2089
+ },
2090
+ gridRef: {
2091
+ type: Object,
2092
+ default: () => ({})
2102
2093
  }
2103
2094
  },
2104
2095
  emits: [
@@ -2110,7 +2101,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2110
2101
  "ActionRenderBefore",
2111
2102
  "PickPeople",
2112
2103
  "FileClick",
2113
- "RemoteMethod"
2104
+ "RemoteMethod",
2105
+ "ChooseBefor"
2114
2106
  ],
2115
2107
  setup(r, { expose: e, emit: t }) {
2116
2108
  const o = r, n = reactive(o.config), {
@@ -2122,29 +2114,31 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2122
2114
  ActionRender: u,
2123
2115
  SelectRender: i,
2124
2116
  TreeSelectRender: d,
2125
- SelectMultipleRender: p,
2126
- TreeMultipleSelectRender: v,
2127
- ChooseFrameRender: g,
2117
+ SelectMultipleRender: _,
2118
+ TreeMultipleSelectRender: h,
2119
+ ChooseFrameRender: v,
2128
2120
  PickPeopleRender: w,
2129
2121
  FileRender: y,
2130
2122
  CustomRender: k,
2131
- DatePickerRender: x,
2123
+ DatePickerRender: V,
2132
2124
  LabelRender: j
2133
2125
  } = comps$1, {
2134
- InputEditor: C,
2135
- TreeSelectEditor: E,
2136
- SelectEditor: R,
2126
+ InputEditor: x,
2127
+ TreeSelectEditor: $,
2128
+ SelectEditor: N,
2137
2129
  TextareaEditor: O,
2138
- DatePickerEditor: T,
2139
- SelectMultipleEditor: M,
2140
- TreeMultipleSelectEditor: I,
2141
- InputNumberEditor: z,
2142
- SelectRemoteEditor: A
2143
- } = comps, b = ref(), U = computed(() => ((o.pagination.Page || 1) - 1) * (o.pagination.PageSize || 1e3)), N = computed(() => {
2144
- var V;
2130
+ DatePickerEditor: I,
2131
+ SelectMultipleEditor: z,
2132
+ TreeMultipleSelectEditor: A,
2133
+ InputNumberEditor: U,
2134
+ SelectRemoteEditor: L
2135
+ } = comps, b = ref(), H = computed(() => ((o.pagination.Page || 1) - 1) * (o.pagination.PageSize || 1e3));
2136
+ let D = !1;
2137
+ const T = computed(() => {
2138
+ var C;
2145
2139
  if (n.Number) {
2146
- if (!n.columns.find((_) => _.type == "seq")) {
2147
- let _ = n.columns.find((F) => ["left", "right"].includes(F.fixed)), S = {
2140
+ if (!n.columns.find((p) => p.type == "seq")) {
2141
+ let p = n.columns.find((F) => ["left", "right"].includes(F.fixed)), E = {
2148
2142
  slots: {},
2149
2143
  params: {},
2150
2144
  type: "seq",
@@ -2152,27 +2146,35 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2152
2146
  align: "center",
2153
2147
  width: 50
2154
2148
  };
2155
- _ && (S.fixed = "left"), n.columns.unshift(S);
2149
+ p && (E.fixed = "left"), n.columns.length && n.columns.unshift(E);
2156
2150
  }
2157
2151
  } else {
2158
- let f = o.config.columns.findIndex((_) => _.type == "seq");
2152
+ let f = o.config.columns.findIndex((p) => p.type == "seq");
2159
2153
  f != -1 && o.config.columns.splice(f, 1);
2160
2154
  }
2161
2155
  if (o.config.AutoFullWidth) {
2162
- const _ = D(o.config.columns || []).filter(($) => !$.children), S = _.reduce(($, P) => {
2163
- let Y = Number(P.width);
2164
- return $ + (isNaN(Y) ? 100 : Y);
2165
- }, 0), F = b.value.$el.clientWidth;
2166
- S != F && _.forEach(($) => {
2167
- let P = Number($.width);
2168
- $.width = Number(((isNaN(P) ? 100 : P) * (F / S)).toFixed(0));
2169
- });
2156
+ const p = Y(o.config.columns || []).filter((R) => !R.children), E = p.reduce((R, P) => {
2157
+ let S = Number(P.width);
2158
+ return R + (isNaN(S) ? 100 : S);
2159
+ }, 0), F = (R = 0) => {
2160
+ if (R > 50) return;
2161
+ if (!b.value) {
2162
+ setTimeout(() => F(++R), 0);
2163
+ return;
2164
+ }
2165
+ const P = b.value.$el.clientWidth;
2166
+ E != P && p.forEach((S) => {
2167
+ let M = Number(S.width);
2168
+ S.width = Number(((isNaN(M) ? 100 : M) * (P / E)).toFixed(0));
2169
+ });
2170
+ };
2171
+ F();
2170
2172
  }
2171
- let h = {
2173
+ let g = {
2172
2174
  keepSource: !0,
2173
2175
  showOverflow: "title",
2174
2176
  seqConfig: {
2175
- seqMethod: (f) => U.value + f.$rowIndex + 1
2177
+ seqMethod: (f) => H.value + f.$rowIndex + 1
2176
2178
  },
2177
2179
  exportConfig: {},
2178
2180
  importConfig: {},
@@ -2187,10 +2189,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2187
2189
  // 只对 keep-source 开启有效,是否显示单元格新增与修改状态
2188
2190
  showIcon: !1,
2189
2191
  // 因为对过滤行进行了修改 该属性必须为false
2190
- ...(V = o.config) == null ? void 0 : V.editConfig
2192
+ ...(C = o.config) == null ? void 0 : C.editConfig
2193
+ },
2194
+ showFooter: n["Total-Row"],
2195
+ // 启用统计行
2196
+ // showFooter: true, // 启用统计行
2197
+ footerMethod({ columns: f, data: p }) {
2198
+ return [
2199
+ f.map((E, F) => F === 0 ? "合计" : n["Total-Field"].includes(E.field) ? p.reduce((P, S) => P + (Number(S[E.field]) || 0), 0) : "")
2200
+ ];
2191
2201
  }
2192
2202
  };
2193
- return n.BodyMenu && (h.menuConfig = {
2203
+ return n.BodyMenu && (g.menuConfig = {
2194
2204
  body: {
2195
2205
  options: [
2196
2206
  [
@@ -2200,258 +2210,276 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2200
2210
  ]
2201
2211
  ]
2202
2212
  }
2203
- }), h;
2204
- }), B = t;
2213
+ }), g;
2214
+ }), q = async () => {
2215
+ var g;
2216
+ await nextTick(), (g = b == null ? void 0 : b.value) == null || g.updateFooter();
2217
+ }, B = t;
2205
2218
  e({
2206
2219
  gridRef: b,
2207
- gridOptions: N
2208
- }), JSON.parse(JSON.stringify(o.config.columns)), watch(o.config.columns, (h) => {
2209
- var V;
2210
- (V = b.value) == null || V.loadColumn(h), JSON.parse(JSON.stringify(h));
2220
+ gridOptions: T
2221
+ });
2222
+ const W = reactive(o.config.columns);
2223
+ watch(W, (g) => {
2224
+ var C;
2225
+ console.log(111), D ? D = !1 : (C = b.value) == null || C.loadColumn(g);
2211
2226
  });
2212
- function D(h, V = "children", f = []) {
2213
- return h.forEach((_) => {
2214
- f.push(_), _[V] && _[V].length > 0 && D(_[V], V, f);
2227
+ function Y(g, C = "children", f = []) {
2228
+ return g.forEach((p) => {
2229
+ f.push(p), p[C] && p[C].length > 0 && Y(p[C], C, f);
2215
2230
  }), f;
2216
2231
  }
2217
- function L(...h) {
2218
- B("PickPeople", ...h);
2232
+ function K(...g) {
2233
+ B("PickPeople", ...g);
2219
2234
  }
2220
- const H = ({ menu: h }) => {
2221
- var V, f;
2222
- h.type == "print" ? (V = b.value) == null || V.openPrint() : h.type == "export" && ((f = b.value) == null || f.openExport());
2235
+ const J = ({ menu: g }) => {
2236
+ var C, f;
2237
+ g.type == "print" ? (C = b.value) == null || C.openPrint() : g.type == "export" && ((f = b.value) == null || f.openExport());
2238
+ }, G = (g) => {
2239
+ D = !0;
2240
+ let C = n.columns.splice(g._index.oldIndex, 1)[0];
2241
+ n.columns.splice((g._index.newIndex || 1) - 1, 0, C);
2223
2242
  };
2224
- function q(h) {
2225
- B("ActionClick", h);
2243
+ function Q(g) {
2244
+ B("ActionClick", g);
2226
2245
  }
2227
- function W(...h) {
2228
- B("PageChange", ...h);
2246
+ function X(...g) {
2247
+ B("PageChange", ...g);
2229
2248
  }
2230
- function J(...h) {
2231
- B("Refresh", ...h);
2249
+ function Z(...g) {
2250
+ B("Refresh", ...g);
2232
2251
  }
2233
- function K(...h) {
2234
- B("FilterSearch", ...h);
2252
+ function ee(...g) {
2253
+ B("FilterSearch", ...g);
2235
2254
  }
2236
- function G(...h) {
2237
- B("SortChange", ...h);
2255
+ function te(...g) {
2256
+ B("SortChange", ...g);
2238
2257
  }
2239
- function Q(...h) {
2240
- B("ActionRenderBefore", ...h);
2258
+ function le(...g) {
2259
+ B("ActionRenderBefore", ...g);
2241
2260
  }
2242
- function X(...h) {
2243
- B("FileClick", ...h);
2261
+ function oe(...g) {
2262
+ B("FileClick", ...g);
2244
2263
  }
2245
- function Z(...h) {
2246
- B("RemoteMethod", ...h);
2264
+ function re(...g) {
2265
+ B("RemoteMethod", ...g);
2247
2266
  }
2248
- return (h, V) => (openBlock(), createElementBlock("div", _hoisted_1, [
2267
+ function ae(...g) {
2268
+ B("ChooseBefor", ...g);
2269
+ }
2270
+ return (g, C) => (openBlock(), createElementBlock("div", _hoisted_1, [
2249
2271
  createVNode(unref(VxeGrid), mergeProps({
2250
2272
  class: "grid-table",
2251
2273
  ref_key: "gridRef",
2252
2274
  ref: b
2253
- }, { ...N.value, ...h.$attrs }, { onMenuClick: H }), {
2275
+ }, { ...T.value, ...g.$attrs }, {
2276
+ onMenuClick: J,
2277
+ onColumnDragend: G,
2278
+ "show-overflow": "tooltip",
2279
+ onEditClosed: q
2280
+ }), {
2254
2281
  FilterRows: withCtx(({ column: f }) => [
2255
2282
  createVNode(_sfc_main$r, {
2256
2283
  column: f,
2257
2284
  "grid-ref": b.value,
2258
- onFilterSearch: K,
2259
- onSortChange: G
2285
+ onFilterSearch: ee,
2286
+ onSortChange: te
2260
2287
  }, null, 8, ["column", "grid-ref"])
2261
2288
  ]),
2262
- ActionRender: withCtx(({ row: f, column: _ }) => [
2289
+ ActionRender: withCtx(({ row: f, column: p }) => [
2263
2290
  createVNode(unref(u), {
2264
2291
  row: f,
2265
- column: _,
2292
+ column: p,
2266
2293
  "grid-ref": b.value,
2267
- onActionClick: q,
2268
- onActionRenderBefore: Q
2294
+ onActionClick: Q,
2295
+ onActionRenderBefore: le
2269
2296
  }, null, 8, ["row", "column", "grid-ref"])
2270
2297
  ]),
2271
- RadioRender: withCtx(({ row: f, column: _ }) => [
2298
+ RadioRender: withCtx(({ row: f, column: p }) => [
2272
2299
  createVNode(unref(s), {
2273
2300
  row: f,
2274
- column: _,
2301
+ column: p,
2275
2302
  "grid-ref": b.value
2276
2303
  }, null, 8, ["row", "column", "grid-ref"])
2277
2304
  ]),
2278
- CheckboxRender: withCtx(({ row: f, column: _ }) => [
2305
+ CheckboxRender: withCtx(({ row: f, column: p }) => [
2279
2306
  createVNode(unref(c), {
2280
2307
  row: f,
2281
- column: _,
2308
+ column: p,
2282
2309
  "grid-ref": b.value
2283
2310
  }, null, 8, ["row", "column", "grid-ref"])
2284
2311
  ]),
2285
- ColorPickerRender: withCtx(({ row: f, column: _ }) => [
2312
+ ColorPickerRender: withCtx(({ row: f, column: p }) => [
2286
2313
  createVNode(unref(l), {
2287
2314
  row: f,
2288
- column: _,
2315
+ column: p,
2289
2316
  "grid-ref": b.value
2290
2317
  }, null, 8, ["row", "column", "grid-ref"])
2291
2318
  ]),
2292
- IconPickerRender: withCtx(({ row: f, column: _ }) => [
2319
+ IconPickerRender: withCtx(({ row: f, column: p }) => [
2293
2320
  createVNode(unref(a), {
2294
2321
  row: f,
2295
- column: _,
2322
+ column: p,
2296
2323
  "grid-ref": b.value
2297
2324
  }, null, 8, ["row", "column", "grid-ref"])
2298
2325
  ]),
2299
- ProgressRender: withCtx(({ row: f, column: _ }) => [
2326
+ ProgressRender: withCtx(({ row: f, column: p }) => [
2300
2327
  createVNode(unref(m), {
2301
2328
  row: f,
2302
- column: _,
2329
+ column: p,
2303
2330
  "grid-ref": b.value
2304
2331
  }, null, 8, ["row", "column", "grid-ref"])
2305
2332
  ]),
2306
- SelectRender: withCtx(({ row: f, column: _ }) => [
2333
+ SelectRender: withCtx(({ row: f, column: p }) => [
2307
2334
  createVNode(unref(i), {
2308
2335
  row: f,
2309
- column: _,
2336
+ column: p,
2310
2337
  "grid-ref": b.value
2311
2338
  }, null, 8, ["row", "column", "grid-ref"])
2312
2339
  ]),
2313
- SelectMultipleRender: withCtx(({ row: f, column: _ }) => [
2314
- createVNode(unref(p), {
2340
+ SelectMultipleRender: withCtx(({ row: f, column: p }) => [
2341
+ createVNode(unref(_), {
2315
2342
  row: f,
2316
- column: _,
2343
+ column: p,
2317
2344
  "grid-ref": b.value
2318
2345
  }, null, 8, ["row", "column", "grid-ref"])
2319
2346
  ]),
2320
- TreeSelectRender: withCtx(({ row: f, column: _ }) => [
2347
+ TreeSelectRender: withCtx(({ row: f, column: p }) => [
2321
2348
  createVNode(unref(d), {
2322
2349
  row: f,
2323
- column: _,
2350
+ column: p,
2324
2351
  "grid-ref": b.value
2325
2352
  }, null, 8, ["row", "column", "grid-ref"])
2326
2353
  ]),
2327
- TreeMultipleSelectRender: withCtx(({ row: f, column: _ }) => [
2328
- createVNode(unref(v), {
2354
+ TreeMultipleSelectRender: withCtx(({ row: f, column: p }) => [
2355
+ createVNode(unref(h), {
2329
2356
  row: f,
2330
- column: _,
2357
+ column: p,
2331
2358
  "grid-ref": b.value
2332
2359
  }, null, 8, ["row", "column", "grid-ref"])
2333
2360
  ]),
2334
- ChooseFrameRender: withCtx(({ row: f, column: _ }) => [
2335
- createVNode(unref(g), {
2361
+ ChooseFrameRender: withCtx(({ row: f, column: p }) => [
2362
+ createVNode(unref(v), {
2336
2363
  row: f,
2337
- column: _,
2338
- "grid-ref": b.value
2364
+ column: p,
2365
+ "grid-ref": o.gridRef,
2366
+ onOnChooseBeforClick: ae
2339
2367
  }, null, 8, ["row", "column", "grid-ref"])
2340
2368
  ]),
2341
- PickPeopleRender: withCtx(({ row: f, column: _ }) => [
2369
+ PickPeopleRender: withCtx(({ row: f, column: p }) => [
2342
2370
  createVNode(unref(w), {
2343
2371
  row: f,
2344
- column: _,
2372
+ column: p,
2345
2373
  "grid-ref": b.value,
2346
- onChange: L
2374
+ onChange: K
2347
2375
  }, null, 8, ["row", "column", "grid-ref"])
2348
2376
  ]),
2349
- FileRender: withCtx(({ row: f, column: _ }) => [
2377
+ FileRender: withCtx(({ row: f, column: p }) => [
2350
2378
  createVNode(unref(y), {
2351
2379
  row: f,
2352
- column: _,
2380
+ column: p,
2353
2381
  "grid-ref": b.value,
2354
- onFileClick: X
2382
+ onFileClick: oe
2355
2383
  }, null, 8, ["row", "column", "grid-ref"])
2356
2384
  ]),
2357
- CustomRender: withCtx(({ row: f, column: _ }) => [
2385
+ CustomRender: withCtx(({ row: f, column: p }) => [
2358
2386
  createVNode(unref(k), {
2359
2387
  row: f,
2360
- column: _,
2388
+ column: p,
2361
2389
  "grid-ref": b.value
2362
2390
  }, null, 8, ["row", "column", "grid-ref"])
2363
2391
  ]),
2364
- DatePickerRender: withCtx(({ row: f, column: _ }) => [
2365
- createVNode(unref(x), {
2392
+ DatePickerRender: withCtx(({ row: f, column: p }) => [
2393
+ createVNode(unref(V), {
2366
2394
  row: f,
2367
- column: _,
2395
+ column: p,
2368
2396
  "grid-ref": b.value
2369
2397
  }, null, 8, ["row", "column", "grid-ref"])
2370
2398
  ]),
2371
- LabelRender: withCtx(({ row: f, column: _ }) => [
2399
+ LabelRender: withCtx(({ row: f, column: p }) => [
2372
2400
  createVNode(unref(j), {
2373
2401
  row: f,
2374
- column: _,
2402
+ column: p,
2375
2403
  "grid-ref": b.value
2376
2404
  }, null, 8, ["row", "column", "grid-ref"])
2377
2405
  ]),
2378
- InputEditor: withCtx(({ row: f, column: _ }) => [
2379
- createVNode(unref(C), {
2406
+ InputEditor: withCtx(({ row: f, column: p }) => [
2407
+ createVNode(unref(x), {
2380
2408
  row: f,
2381
- column: _,
2409
+ column: p,
2382
2410
  "grid-ref": b.value
2383
2411
  }, null, 8, ["row", "column", "grid-ref"])
2384
2412
  ]),
2385
- TextareaEditor: withCtx(({ row: f, column: _ }) => [
2413
+ TextareaEditor: withCtx(({ row: f, column: p }) => [
2386
2414
  createVNode(unref(O), {
2387
2415
  row: f,
2388
- column: _,
2416
+ column: p,
2389
2417
  "grid-ref": b.value
2390
2418
  }, null, 8, ["row", "column", "grid-ref"])
2391
2419
  ]),
2392
- SelectEditor: withCtx(({ row: f, column: _ }) => [
2393
- createVNode(unref(R), {
2420
+ SelectEditor: withCtx(({ row: f, column: p }) => [
2421
+ createVNode(unref(N), {
2394
2422
  row: f,
2395
- column: _,
2423
+ column: p,
2396
2424
  "grid-ref": b.value
2397
2425
  }, null, 8, ["row", "column", "grid-ref"])
2398
2426
  ]),
2399
- SelectMultipleEditor: withCtx(({ row: f, column: _ }) => [
2400
- createVNode(unref(M), {
2427
+ SelectMultipleEditor: withCtx(({ row: f, column: p }) => [
2428
+ createVNode(unref(z), {
2401
2429
  row: f,
2402
- column: _,
2430
+ column: p,
2403
2431
  "grid-ref": b.value
2404
2432
  }, null, 8, ["row", "column", "grid-ref"])
2405
2433
  ]),
2406
- TreeSelectEditor: withCtx(({ row: f, column: _ }) => [
2407
- createVNode(unref(E), {
2434
+ TreeSelectEditor: withCtx(({ row: f, column: p }) => [
2435
+ createVNode(unref($), {
2408
2436
  row: f,
2409
- column: _,
2437
+ column: p,
2410
2438
  "grid-ref": b.value
2411
2439
  }, null, 8, ["row", "column", "grid-ref"])
2412
2440
  ]),
2413
- TreeMultipleSelectEditor: withCtx(({ row: f, column: _ }) => [
2414
- createVNode(unref(I), {
2441
+ TreeMultipleSelectEditor: withCtx(({ row: f, column: p }) => [
2442
+ createVNode(unref(A), {
2415
2443
  row: f,
2416
- column: _,
2444
+ column: p,
2417
2445
  "grid-ref": b.value
2418
2446
  }, null, 8, ["row", "column", "grid-ref"])
2419
2447
  ]),
2420
- DatePickerEditor: withCtx(({ row: f, column: _ }) => [
2421
- createVNode(unref(T), {
2448
+ DatePickerEditor: withCtx(({ row: f, column: p }) => [
2449
+ createVNode(unref(I), {
2422
2450
  row: f,
2423
- column: _,
2451
+ column: p,
2424
2452
  "grid-ref": b.value
2425
2453
  }, null, 8, ["row", "column", "grid-ref"])
2426
2454
  ]),
2427
- InputNumberEditor: withCtx(({ row: f, column: _ }) => [
2428
- createVNode(unref(z), {
2455
+ InputNumberEditor: withCtx(({ row: f, column: p }) => [
2456
+ createVNode(unref(U), {
2429
2457
  row: f,
2430
- column: _,
2458
+ column: p,
2431
2459
  "grid-ref": b.value
2432
2460
  }, null, 8, ["row", "column", "grid-ref"])
2433
2461
  ]),
2434
- SelectRemoteEditor: withCtx(({ row: f, column: _ }) => [
2435
- createVNode(unref(A), {
2462
+ SelectRemoteEditor: withCtx(({ row: f, column: p }) => [
2463
+ createVNode(unref(L), {
2436
2464
  row: f,
2437
- column: _,
2465
+ column: p,
2438
2466
  "grid-ref": b.value,
2439
- onRemoteMethod: Z
2467
+ onRemoteMethod: re
2440
2468
  }, null, 8, ["row", "column", "grid-ref"])
2441
2469
  ]),
2442
2470
  pager: withCtx(() => [
2443
2471
  createVNode(_sfc_main$1, {
2444
2472
  pagination: r.pagination,
2445
- gridOptions: N.value,
2446
- onPageChange: W,
2447
- onRefresh: J
2473
+ gridOptions: T.value,
2474
+ onPageChange: X,
2475
+ onRefresh: Z
2448
2476
  }, null, 8, ["pagination", "gridOptions"])
2449
2477
  ]),
2450
2478
  _: 1
2451
2479
  }, 16)
2452
2480
  ]));
2453
2481
  }
2454
- }), Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d15b6949"]]);
2482
+ }), Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f248c20e"]]);
2455
2483
  VxeUI.setConfig({
2456
2484
  size: "small",
2457
2485
  table: {