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.
- package/dist/es/{button-AUbGcyD2.mjs → button-CikfXsFN.mjs} +1 -1
- package/dist/es/{icon-CEVo1fgl.mjs → icon-CLm1uydX.mjs} +2 -2
- package/dist/{index.css → es/index.css} +1 -1
- package/dist/es/index.mjs +5 -5
- package/dist/es/{table-Bar49oDO.mjs → table-BjB1RhE5.mjs} +271 -243
- package/dist/es/utils-SCnEv9cY.mjs +83 -0
- package/dist/es/{vendor-PkgYxc4K.mjs → vendor-WGaPw_tu.mjs} +18979 -18997
- package/dist/types/components/button/index.d.ts +1 -1
- package/dist/types/components/table/index.d.ts +21 -6
- package/dist/types/components/table/src/index.vue.d.ts +11 -0
- package/dist/types/core/index.d.ts +1 -1
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.js +17 -15
- package/package.json +15 -13
- package/dist/es/utils-DZxjjV-b.mjs +0 -108
|
@@ -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-
|
|
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,
|
|
3
|
-
import { b as buildTree, d as deepClone, u as useElementClientSize, _ as _export_sfc, i as isColor, g as getFileIconUrl,
|
|
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] = (
|
|
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] = (
|
|
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((
|
|
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] = (
|
|
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] = (
|
|
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
|
|
472
|
+
var _, h;
|
|
473
473
|
return [
|
|
474
|
-
((
|
|
474
|
+
((_ = r.column.params) == null ? void 0 : _.sortStatus) === "asc" ? (openBlock(), createBlock(u, {
|
|
475
475
|
key: 0,
|
|
476
476
|
icon: "ep:caret-top"
|
|
477
|
-
})) : ((
|
|
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] = (
|
|
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] = (
|
|
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] = (
|
|
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] = (
|
|
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] = (
|
|
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] = (
|
|
511
|
-
}, null, 8, ["column"])) : (openBlock(!0), createElementBlock(Fragment, { key: 6 }, renderList(r.column.filters, (
|
|
512
|
-
key:
|
|
513
|
-
modelValue:
|
|
514
|
-
"onUpdate:modelValue": (
|
|
515
|
-
onKeyup: m[6] || (m[6] = withKeys((
|
|
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,
|
|
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),
|
|
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
|
|
704
|
-
|
|
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
|
|
707
|
-
if (
|
|
708
|
-
const w = parseInt(
|
|
709
|
-
if (
|
|
710
|
-
i = d =
|
|
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
|
|
713
|
-
i = x
|
|
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:
|
|
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
|
|
722
|
-
let
|
|
723
|
-
if (
|
|
724
|
-
|
|
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 =
|
|
727
|
-
switch (w = y > 0.5 ? k / (2 -
|
|
726
|
+
const k = _ - h;
|
|
727
|
+
switch (w = y > 0.5 ? k / (2 - _ - h) : k / (_ + h), _) {
|
|
728
728
|
case u:
|
|
729
|
-
|
|
729
|
+
v = (i - d) / k + (i < d ? 6 : 0);
|
|
730
730
|
break;
|
|
731
731
|
case i:
|
|
732
|
-
|
|
732
|
+
v = (d - u) / k + 2;
|
|
733
733
|
break;
|
|
734
734
|
case d:
|
|
735
|
-
|
|
735
|
+
v = (u - i) / k + 4;
|
|
736
736
|
break;
|
|
737
737
|
}
|
|
738
|
-
|
|
738
|
+
v /= 6;
|
|
739
739
|
}
|
|
740
|
-
return { h:
|
|
740
|
+
return { h: v, s: w, l: y };
|
|
741
741
|
}
|
|
742
742
|
function a(u, i, d) {
|
|
743
|
-
let
|
|
743
|
+
let _, h, v;
|
|
744
744
|
if (i === 0)
|
|
745
|
-
|
|
745
|
+
_ = h = v = d;
|
|
746
746
|
else {
|
|
747
|
-
const w = (
|
|
748
|
-
|
|
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(
|
|
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:
|
|
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:
|
|
757
|
-
return `rgb(${k}, ${
|
|
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(
|
|
761
|
-
return Math.floor(Math.random() * (w -
|
|
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),
|
|
764
|
-
return `#${i.toString(16).padStart(2, "0")}${d.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
|
-
|
|
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(
|
|
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-
|
|
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,
|
|
1012
|
-
u = dayjs(`${d}-01-01`).isoWeek(Number(
|
|
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,
|
|
1018
|
-
u = dayjs(`${d}-01-01`).quarter(Number(
|
|
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,
|
|
1024
|
-
u = dayjs(`${d}-${
|
|
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-
|
|
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/
|
|
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
|
|
1246
|
-
if ((
|
|
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:
|
|
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
|
-
}, (
|
|
1262
|
-
isEmpty(i) ? c[l.field] =
|
|
1263
|
-
},
|
|
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,
|
|
1398
|
-
const i = (
|
|
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,
|
|
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 [,
|
|
1580
|
-
i = dayjs(`${
|
|
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 [,
|
|
1586
|
-
i = dayjs(`${
|
|
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 [,
|
|
1592
|
-
i = dayjs(`${
|
|
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 [,
|
|
1598
|
-
i = dayjs(`${
|
|
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:
|
|
2126
|
-
TreeMultipleSelectRender:
|
|
2127
|
-
ChooseFrameRender:
|
|
2117
|
+
SelectMultipleRender: _,
|
|
2118
|
+
TreeMultipleSelectRender: h,
|
|
2119
|
+
ChooseFrameRender: v,
|
|
2128
2120
|
PickPeopleRender: w,
|
|
2129
2121
|
FileRender: y,
|
|
2130
2122
|
CustomRender: k,
|
|
2131
|
-
DatePickerRender:
|
|
2123
|
+
DatePickerRender: V,
|
|
2132
2124
|
LabelRender: j
|
|
2133
2125
|
} = comps$1, {
|
|
2134
|
-
InputEditor:
|
|
2135
|
-
TreeSelectEditor:
|
|
2136
|
-
SelectEditor:
|
|
2126
|
+
InputEditor: x,
|
|
2127
|
+
TreeSelectEditor: $,
|
|
2128
|
+
SelectEditor: N,
|
|
2137
2129
|
TextareaEditor: O,
|
|
2138
|
-
DatePickerEditor:
|
|
2139
|
-
SelectMultipleEditor:
|
|
2140
|
-
TreeMultipleSelectEditor:
|
|
2141
|
-
InputNumberEditor:
|
|
2142
|
-
SelectRemoteEditor:
|
|
2143
|
-
} = comps, b = ref(),
|
|
2144
|
-
|
|
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((
|
|
2147
|
-
let
|
|
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
|
-
|
|
2149
|
+
p && (E.fixed = "left"), n.columns.length && n.columns.unshift(E);
|
|
2156
2150
|
}
|
|
2157
2151
|
} else {
|
|
2158
|
-
let f = o.config.columns.findIndex((
|
|
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
|
|
2163
|
-
let
|
|
2164
|
-
return
|
|
2165
|
-
}, 0), F =
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
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
|
|
2173
|
+
let g = {
|
|
2172
2174
|
keepSource: !0,
|
|
2173
2175
|
showOverflow: "title",
|
|
2174
2176
|
seqConfig: {
|
|
2175
|
-
seqMethod: (f) =>
|
|
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
|
-
...(
|
|
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 && (
|
|
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
|
-
}),
|
|
2204
|
-
}),
|
|
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:
|
|
2208
|
-
})
|
|
2209
|
-
|
|
2210
|
-
|
|
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
|
|
2213
|
-
return
|
|
2214
|
-
f.push(
|
|
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
|
|
2218
|
-
B("PickPeople", ...
|
|
2232
|
+
function K(...g) {
|
|
2233
|
+
B("PickPeople", ...g);
|
|
2219
2234
|
}
|
|
2220
|
-
const
|
|
2221
|
-
var
|
|
2222
|
-
|
|
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
|
|
2225
|
-
B("ActionClick",
|
|
2243
|
+
function Q(g) {
|
|
2244
|
+
B("ActionClick", g);
|
|
2226
2245
|
}
|
|
2227
|
-
function
|
|
2228
|
-
B("PageChange", ...
|
|
2246
|
+
function X(...g) {
|
|
2247
|
+
B("PageChange", ...g);
|
|
2229
2248
|
}
|
|
2230
|
-
function
|
|
2231
|
-
B("Refresh", ...
|
|
2249
|
+
function Z(...g) {
|
|
2250
|
+
B("Refresh", ...g);
|
|
2232
2251
|
}
|
|
2233
|
-
function
|
|
2234
|
-
B("FilterSearch", ...
|
|
2252
|
+
function ee(...g) {
|
|
2253
|
+
B("FilterSearch", ...g);
|
|
2235
2254
|
}
|
|
2236
|
-
function
|
|
2237
|
-
B("SortChange", ...
|
|
2255
|
+
function te(...g) {
|
|
2256
|
+
B("SortChange", ...g);
|
|
2238
2257
|
}
|
|
2239
|
-
function
|
|
2240
|
-
B("ActionRenderBefore", ...
|
|
2258
|
+
function le(...g) {
|
|
2259
|
+
B("ActionRenderBefore", ...g);
|
|
2241
2260
|
}
|
|
2242
|
-
function
|
|
2243
|
-
B("FileClick", ...
|
|
2261
|
+
function oe(...g) {
|
|
2262
|
+
B("FileClick", ...g);
|
|
2244
2263
|
}
|
|
2245
|
-
function
|
|
2246
|
-
B("RemoteMethod", ...
|
|
2264
|
+
function re(...g) {
|
|
2265
|
+
B("RemoteMethod", ...g);
|
|
2247
2266
|
}
|
|
2248
|
-
|
|
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
|
-
}, { ...
|
|
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:
|
|
2259
|
-
onSortChange:
|
|
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:
|
|
2268
|
-
onActionRenderBefore:
|
|
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(
|
|
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(
|
|
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(
|
|
2361
|
+
ChooseFrameRender: withCtx(({ row: f, column: p }) => [
|
|
2362
|
+
createVNode(unref(v), {
|
|
2336
2363
|
row: f,
|
|
2337
|
-
column:
|
|
2338
|
-
"grid-ref":
|
|
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:
|
|
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:
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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:
|
|
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:
|
|
2446
|
-
onPageChange:
|
|
2447
|
-
onRefresh:
|
|
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-
|
|
2482
|
+
}), Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f248c20e"]]);
|
|
2455
2483
|
VxeUI.setConfig({
|
|
2456
2484
|
size: "small",
|
|
2457
2485
|
table: {
|