@yzsf2e/render-core 1.0.2-alpha.124 → 1.0.2-alpha.126
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/render-core.mjs +59 -59
- package/dist/render-core.umd.js +3 -3
- package/package.json +1 -1
package/dist/render-core.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { getCurrentInstance as St, defineComponent as be, ref as $, computed as q, createVNode as Y, mergeProps as ke, openBlock as R, createBlock as V, resolveDynamicComponent as Zt, effectScope as nl, unref as De, isRef as ht, toRefs as Ze, customRef as rl, onMounted as Rt, nextTick as Ue, getCurrentScope as al, onScopeDispose as il, readonly as ol, watch as ie, shallowRef as mn, resolveComponent as B, withCtx as z, createElementBlock as Z, Fragment as ye, createTextVNode as we, toDisplayString as
|
|
1
|
+
import { getCurrentInstance as St, defineComponent as be, ref as $, computed as q, createVNode as Y, mergeProps as ke, openBlock as R, createBlock as V, resolveDynamicComponent as Zt, effectScope as nl, unref as De, isRef as ht, toRefs as Ze, customRef as rl, onMounted as Rt, nextTick as Ue, getCurrentScope as al, onScopeDispose as il, readonly as ol, watch as ie, shallowRef as mn, resolveComponent as B, withCtx as z, createElementBlock as Z, Fragment as ye, createTextVNode as we, toDisplayString as re, renderSlot as Vt, createElementVNode as Fe, createCommentVNode as me, reactive as Xe, onUnmounted as Dn, watchEffect as It, normalizeStyle as va, renderList as Be, createApp as sl, toRaw as Re, inject as Ee, h as je, withDirectives as lr, vShow as So, withModifiers as Co, resolveDirective as Eo, createSlots as To, onRenderTriggered as ll, isVNode as ul, normalizeClass as _o, normalizeProps as fn, guardReactiveProps as cl, provide as _t } from "vue";
|
|
2
2
|
import { DatePicker as Oo, Modal as ur, Button as Sr, Space as Rn, message as Pe, InputGroup as fl, InputNumber as Xa, Input as dl, Select as er, Cascader as pl, RangePicker as hl, Col as gl, Row as ml, Form as ya, Menu as vl, MenuItem as yl, Dropdown as bl, Pagination as wl, DropdownButton as Sl, Alert as Qa, Spin as Cl, Table as El, Transfer as Tl } from "ant-design-vue";
|
|
3
3
|
import * as _l from "@ant-design/icons-vue";
|
|
4
4
|
import { CloseOutlined as Ol, ShrinkOutlined as Al, ArrowsAltOutlined as $l, HolderOutlined as Pl, DownOutlined as Ao, UpOutlined as Il, SettingOutlined as Nl, CopyOutlined as Dl, LoadingOutlined as $o, FilterOutlined as Rl } from "@ant-design/icons-vue";
|
|
5
5
|
import { useI18n as Po } from "vue-i18n";
|
|
6
6
|
import { useRouter as Ll } from "vue-router";
|
|
7
7
|
/*!
|
|
8
|
-
* @yzsf2e/render-core v1.0.2-alpha.
|
|
8
|
+
* @yzsf2e/render-core v1.0.2-alpha.126 Wed Nov 27 2024 14:25:53 GMT+0800 (中国标准时间)
|
|
9
9
|
* (c) 2023 @yzsf2e.
|
|
10
10
|
*/
|
|
11
|
-
const Ml = "@yzsf2e/render-core", kl = "1.0.2-alpha.
|
|
11
|
+
const Ml = "@yzsf2e/render-core", kl = "1.0.2-alpha.126", Fl = "dist/render-core", zl = "dist/render-core", jl = [
|
|
12
12
|
"dist"
|
|
13
13
|
], xl = {
|
|
14
14
|
dev: "storybook dev -p 6006",
|
|
@@ -648,7 +648,7 @@ function $u(e, t, n, r, a, i) {
|
|
|
648
648
|
}, {
|
|
649
649
|
title: z(() => [
|
|
650
650
|
e.title ? (R(), Z(ye, { key: 0 }, [
|
|
651
|
-
we(
|
|
651
|
+
we(re(e.title), 1)
|
|
652
652
|
], 64)) : Vt(e.$slots, "title", { key: 1 })
|
|
653
653
|
]),
|
|
654
654
|
extra: z(() => [
|
|
@@ -683,7 +683,7 @@ function $u(e, t, n, r, a, i) {
|
|
|
683
683
|
Vt(e.$slots, "footBtn"),
|
|
684
684
|
Y(f, { onClick: e.handleClose }, {
|
|
685
685
|
default: z(() => [
|
|
686
|
-
we(
|
|
686
|
+
we(re(e.$t("close") || "关闭"), 1)
|
|
687
687
|
]),
|
|
688
688
|
_: 1
|
|
689
689
|
}, 8, ["onClick"])
|
|
@@ -779,7 +779,7 @@ function Lu(e, t, n, r, a, i) {
|
|
|
779
779
|
onCancel: e.closeModal
|
|
780
780
|
}), {
|
|
781
781
|
title: z(() => [
|
|
782
|
-
Fe("span", null,
|
|
782
|
+
Fe("span", null, re(e.form.title), 1)
|
|
783
783
|
]),
|
|
784
784
|
footer: z(() => {
|
|
785
785
|
var l;
|
|
@@ -792,7 +792,7 @@ function Lu(e, t, n, r, a, i) {
|
|
|
792
792
|
default: z(() => {
|
|
793
793
|
var c;
|
|
794
794
|
return [
|
|
795
|
-
we(
|
|
795
|
+
we(re(((c = e.form.modalProps) == null ? void 0 : c.cancelText) || e.$t("close") || "取消"), 1)
|
|
796
796
|
];
|
|
797
797
|
}),
|
|
798
798
|
_: 1
|
|
@@ -806,7 +806,7 @@ function Lu(e, t, n, r, a, i) {
|
|
|
806
806
|
default: z(() => {
|
|
807
807
|
var c;
|
|
808
808
|
return [
|
|
809
|
-
we(
|
|
809
|
+
we(re(((c = e.form.modalProps) == null ? void 0 : c.okText) || e.$t("ok") || "确定"), 1)
|
|
810
810
|
];
|
|
811
811
|
}),
|
|
812
812
|
_: 1
|
|
@@ -826,7 +826,7 @@ function Lu(e, t, n, r, a, i) {
|
|
|
826
826
|
modalConfig: e.modalConfig,
|
|
827
827
|
"onUpdate:modalConfig": t[0] || (t[0] = (l) => e.modalConfig = l),
|
|
828
828
|
ref: "currentForm"
|
|
829
|
-
}), null, 16, ["rows", "extra-data", "modalConfig"])) : (R(), Z("span", Ru, "form配置中没有为【" +
|
|
829
|
+
}), null, 16, ["rows", "extra-data", "modalConfig"])) : (R(), Z("span", Ru, "form配置中没有为【" + re(e.form.title) + "】事件提供组件", 1))
|
|
830
830
|
]),
|
|
831
831
|
_: 1
|
|
832
832
|
}, 16, ["visible", "get-container", "mask-style", "onCancel"]);
|
|
@@ -4635,14 +4635,14 @@ var Ls = { exports: {} };
|
|
|
4635
4635
|
return F ? Ie : Ie.endOf(l);
|
|
4636
4636
|
}, ne = function(Je, ue) {
|
|
4637
4637
|
return w.w(L.toDate()[Je].apply(L.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ue)), L);
|
|
4638
|
-
},
|
|
4638
|
+
}, ae = this.$W, ve = this.$M, Oe = this.$D, ze = "set" + (this.$u ? "UTC" : "");
|
|
4639
4639
|
switch (W) {
|
|
4640
4640
|
case d:
|
|
4641
4641
|
return F ? ee(1, 0) : ee(31, 11);
|
|
4642
4642
|
case c:
|
|
4643
4643
|
return F ? ee(1, ve) : ee(0, ve + 1);
|
|
4644
4644
|
case f:
|
|
4645
|
-
var Ye = this.$locale().weekStart || 0, We = (
|
|
4645
|
+
var Ye = this.$locale().weekStart || 0, We = (ae < Ye ? ae + 7 : ae) - Ye;
|
|
4646
4646
|
return ee(F ? Oe - We : Oe + (6 - We), ve);
|
|
4647
4647
|
case l:
|
|
4648
4648
|
case g:
|
|
@@ -4661,8 +4661,8 @@ var Ls = { exports: {} };
|
|
|
4661
4661
|
}, D.$set = function(I, j) {
|
|
4662
4662
|
var L, F = w.p(I), W = "set" + (this.$u ? "UTC" : ""), ee = (L = {}, L[l] = W + "Date", L[g] = W + "Date", L[c] = W + "Month", L[d] = W + "FullYear", L[u] = W + "Hours", L[o] = W + "Minutes", L[s] = W + "Seconds", L[i] = W + "Milliseconds", L)[F], ne = F === l ? this.$D + (j - this.$W) : j;
|
|
4663
4663
|
if (F === c || F === d) {
|
|
4664
|
-
var
|
|
4665
|
-
|
|
4664
|
+
var ae = this.clone().set(g, 1);
|
|
4665
|
+
ae.$d[ee](ne), ae.init(), this.$d = ae.set(g, Math.min(this.$D, ae.daysInMonth())).$d;
|
|
4666
4666
|
} else
|
|
4667
4667
|
ee && this.$d[ee](ne);
|
|
4668
4668
|
return this.init(), this;
|
|
@@ -4685,15 +4685,15 @@ var Ls = { exports: {} };
|
|
|
4685
4685
|
return ee(1);
|
|
4686
4686
|
if (W === f)
|
|
4687
4687
|
return ee(7);
|
|
4688
|
-
var ne = (L = {}, L[o] = r, L[u] = a, L[s] = n, L)[W] || 1,
|
|
4689
|
-
return w.w(
|
|
4688
|
+
var ne = (L = {}, L[o] = r, L[u] = a, L[s] = n, L)[W] || 1, ae = this.$d.getTime() + I * ne;
|
|
4689
|
+
return w.w(ae, this);
|
|
4690
4690
|
}, D.subtract = function(I, j) {
|
|
4691
4691
|
return this.add(-1 * I, j);
|
|
4692
4692
|
}, D.format = function(I) {
|
|
4693
4693
|
var j = this, L = this.$locale();
|
|
4694
4694
|
if (!this.isValid())
|
|
4695
4695
|
return L.invalidDate || h;
|
|
4696
|
-
var F = I || "YYYY-MM-DDTHH:mm:ssZ", W = w.z(this), ee = this.$H, ne = this.$m,
|
|
4696
|
+
var F = I || "YYYY-MM-DDTHH:mm:ssZ", W = w.z(this), ee = this.$H, ne = this.$m, ae = this.$M, ve = L.weekdays, Oe = L.months, ze = L.meridiem, Ye = function(ue, Ie, Ve, ft) {
|
|
4697
4697
|
return ue && (ue[Ie] || ue(j, F)) || Ve[Ie].slice(0, ft);
|
|
4698
4698
|
}, We = function(ue) {
|
|
4699
4699
|
return w.s(ee % 12 || 12, ue, "0");
|
|
@@ -4709,13 +4709,13 @@ var Ls = { exports: {} };
|
|
|
4709
4709
|
case "YYYY":
|
|
4710
4710
|
return w.s(j.$y, 4, "0");
|
|
4711
4711
|
case "M":
|
|
4712
|
-
return
|
|
4712
|
+
return ae + 1;
|
|
4713
4713
|
case "MM":
|
|
4714
|
-
return w.s(
|
|
4714
|
+
return w.s(ae + 1, 2, "0");
|
|
4715
4715
|
case "MMM":
|
|
4716
|
-
return Ye(L.monthsShort,
|
|
4716
|
+
return Ye(L.monthsShort, ae, Oe, 3);
|
|
4717
4717
|
case "MMMM":
|
|
4718
|
-
return Ye(Oe,
|
|
4718
|
+
return Ye(Oe, ae);
|
|
4719
4719
|
case "D":
|
|
4720
4720
|
return j.$D;
|
|
4721
4721
|
case "DD":
|
|
@@ -4759,7 +4759,7 @@ var Ls = { exports: {} };
|
|
|
4759
4759
|
}, D.utcOffset = function() {
|
|
4760
4760
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4761
4761
|
}, D.diff = function(I, j, L) {
|
|
4762
|
-
var F, W = this, ee = w.p(j), ne = y(I),
|
|
4762
|
+
var F, W = this, ee = w.p(j), ne = y(I), ae = (ne.utcOffset() - this.utcOffset()) * r, ve = this - ne, Oe = function() {
|
|
4763
4763
|
return w.m(W, ne);
|
|
4764
4764
|
};
|
|
4765
4765
|
switch (ee) {
|
|
@@ -4773,10 +4773,10 @@ var Ls = { exports: {} };
|
|
|
4773
4773
|
F = Oe() / 3;
|
|
4774
4774
|
break;
|
|
4775
4775
|
case f:
|
|
4776
|
-
F = (ve -
|
|
4776
|
+
F = (ve - ae) / 6048e5;
|
|
4777
4777
|
break;
|
|
4778
4778
|
case l:
|
|
4779
|
-
F = (ve -
|
|
4779
|
+
F = (ve - ae) / 864e5;
|
|
4780
4780
|
break;
|
|
4781
4781
|
case u:
|
|
4782
4782
|
F = ve / a;
|
|
@@ -5303,7 +5303,7 @@ function nb(e, t, n, r, a, i) {
|
|
|
5303
5303
|
loading: e.searching
|
|
5304
5304
|
}, {
|
|
5305
5305
|
default: z(() => [
|
|
5306
|
-
we(
|
|
5306
|
+
we(re(e.$t("query") || "查询"), 1)
|
|
5307
5307
|
]),
|
|
5308
5308
|
_: 1
|
|
5309
5309
|
}, 8, ["onClick", "loading"]),
|
|
@@ -5312,7 +5312,7 @@ function nb(e, t, n, r, a, i) {
|
|
|
5312
5312
|
onClick: t[0] || (t[0] = (m) => e.$emit("resetSearch"))
|
|
5313
5313
|
}, {
|
|
5314
5314
|
default: z(() => [
|
|
5315
|
-
we(
|
|
5315
|
+
we(re(e.$t("reset") || "重置"), 1)
|
|
5316
5316
|
]),
|
|
5317
5317
|
_: 1
|
|
5318
5318
|
}),
|
|
@@ -5323,10 +5323,10 @@ function nb(e, t, n, r, a, i) {
|
|
|
5323
5323
|
}, [
|
|
5324
5324
|
e.expand ? (R(), Z(ye, { key: 0 }, [
|
|
5325
5325
|
Y(c),
|
|
5326
|
-
we(
|
|
5326
|
+
we(re(e.$t("collapse") || "收起"), 1)
|
|
5327
5327
|
], 64)) : (R(), Z(ye, { key: 1 }, [
|
|
5328
5328
|
Y(p),
|
|
5329
|
-
we(
|
|
5329
|
+
we(re(e.$t("expand") || "展开"), 1)
|
|
5330
5330
|
], 64))
|
|
5331
5331
|
])) : me("", !0)
|
|
5332
5332
|
]),
|
|
@@ -5558,7 +5558,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5558
5558
|
onClick: (_) => e.handleButtonClick(S, _)
|
|
5559
5559
|
}, {
|
|
5560
5560
|
default: z(() => [
|
|
5561
|
-
we(
|
|
5561
|
+
we(re(S.children), 1)
|
|
5562
5562
|
]),
|
|
5563
5563
|
_: 2
|
|
5564
5564
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -5567,7 +5567,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5567
5567
|
}, 1024)
|
|
5568
5568
|
]),
|
|
5569
5569
|
default: z(() => [
|
|
5570
|
-
we(" " +
|
|
5570
|
+
we(" " + re(b.children) + " ", 1)
|
|
5571
5571
|
]),
|
|
5572
5572
|
_: 2
|
|
5573
5573
|
}, [
|
|
@@ -5606,7 +5606,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5606
5606
|
onClick: () => e.handleImport(S, _)
|
|
5607
5607
|
}, {
|
|
5608
5608
|
default: z(() => [
|
|
5609
|
-
we(
|
|
5609
|
+
we(re(S.title), 1)
|
|
5610
5610
|
]),
|
|
5611
5611
|
_: 2
|
|
5612
5612
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -5621,7 +5621,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5621
5621
|
type: "primary"
|
|
5622
5622
|
}, {
|
|
5623
5623
|
default: z(() => [
|
|
5624
|
-
we(
|
|
5624
|
+
we(re(e.importConfig.title || "导入"), 1)
|
|
5625
5625
|
]),
|
|
5626
5626
|
_: 1
|
|
5627
5627
|
}, 8, ["loading"])
|
|
@@ -5636,7 +5636,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5636
5636
|
onClick: t[0] || (t[0] = () => e.handleApiConfigExport())
|
|
5637
5637
|
}, {
|
|
5638
5638
|
default: z(() => [
|
|
5639
|
-
we("
|
|
5639
|
+
we(re(e.$t("export") || "导出"), 1)
|
|
5640
5640
|
]),
|
|
5641
5641
|
_: 1
|
|
5642
5642
|
}, 8, ["loading"])) : me("", !0)
|
|
@@ -5654,7 +5654,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5654
5654
|
onClick: () => e.handleImport(S, _)
|
|
5655
5655
|
}, {
|
|
5656
5656
|
default: z(() => [
|
|
5657
|
-
we(
|
|
5657
|
+
we(re(S.title), 1)
|
|
5658
5658
|
]),
|
|
5659
5659
|
_: 2
|
|
5660
5660
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -5669,7 +5669,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5669
5669
|
type: "primary"
|
|
5670
5670
|
}, {
|
|
5671
5671
|
default: z(() => [
|
|
5672
|
-
we(
|
|
5672
|
+
we(re(e.importConfig.title || "导入"), 1)
|
|
5673
5673
|
]),
|
|
5674
5674
|
_: 1
|
|
5675
5675
|
}, 8, ["loading"])
|
|
@@ -5684,7 +5684,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5684
5684
|
default: z(() => [
|
|
5685
5685
|
(R(!0), Z(ye, null, Be(e.OPERATIONS_EXPORT_MAP, (S, _) => (R(), V(o, { key: _ }, {
|
|
5686
5686
|
default: z(() => [
|
|
5687
|
-
we(
|
|
5687
|
+
we(re(S), 1)
|
|
5688
5688
|
]),
|
|
5689
5689
|
_: 2
|
|
5690
5690
|
}, 1024))), 128))
|
|
@@ -5708,7 +5708,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5708
5708
|
_: 1
|
|
5709
5709
|
})) : me("", !0)
|
|
5710
5710
|
], 64)),
|
|
5711
|
-
e.hasApiConfig ? (R(), Z("div", fb,
|
|
5711
|
+
e.hasApiConfig ? (R(), Z("div", fb, re(e.$t("total") || "共") + " " + re(e.total) + " " + re(e.$t("items") || "条"), 1)) : me("", !0),
|
|
5712
5712
|
Y(d, {
|
|
5713
5713
|
class: "operations-pagination-simple",
|
|
5714
5714
|
current: e.computed_current,
|
|
@@ -5737,7 +5737,7 @@ function hb(e, t, n, r, a, i) {
|
|
|
5737
5737
|
(R(!0), Z(ye, null, Be(e.hasApiConfig ? e.API_CONFIG_SETTINGS_MAP : e.SETTINGS_MAP, (S, _) => (R(), V(o, { key: _ }, {
|
|
5738
5738
|
default: z(() => [
|
|
5739
5739
|
Y(h, { style: { "margin-right": "4px" } }),
|
|
5740
|
-
Fe("a", pb,
|
|
5740
|
+
Fe("a", pb, re(S), 1)
|
|
5741
5741
|
]),
|
|
5742
5742
|
_: 2
|
|
5743
5743
|
}, 1024))), 128))
|
|
@@ -6425,12 +6425,12 @@ const Mb = {
|
|
|
6425
6425
|
}
|
|
6426
6426
|
}), F = $(!p.value), W = Ee("tableCellSlots", {}), ee = () => {
|
|
6427
6427
|
F.value = !F.value;
|
|
6428
|
-
}, ne = (P) => P && P.dataIndex === l,
|
|
6428
|
+
}, ne = (P) => P && P.dataIndex === l, ae = (P) => P.dataIndex === "action" || P.cellValueType === "slot", ve = (P, U) => hr(P[U.dataIndex]) || P[U.dataIndex] === "", Oe = ({
|
|
6429
6429
|
text: P,
|
|
6430
6430
|
column: U,
|
|
6431
6431
|
record: x,
|
|
6432
6432
|
index: X
|
|
6433
|
-
}) => ne(U) ? X + 1 : ul(P) || !U ||
|
|
6433
|
+
}) => ne(U) ? X + 1 : ul(P) || !U || ae(U) ? P : ve(x, U) ? " " : P, ze = (P, U) => {
|
|
6434
6434
|
D[b] = P, N[b] = U;
|
|
6435
6435
|
}, Ye = () => {
|
|
6436
6436
|
ze([], []);
|
|
@@ -6810,10 +6810,10 @@ function Jb(e, t, n, r, a, i) {
|
|
|
6810
6810
|
we("仅支持当前页的筛选排序,不支持跨页筛选排序。如需统计全部数据,请点[导出全部],在 excel 统计。")
|
|
6811
6811
|
]),
|
|
6812
6812
|
default: z(() => [
|
|
6813
|
-
Fe("span", Ub,
|
|
6813
|
+
Fe("span", Ub, re(v.title), 1)
|
|
6814
6814
|
]),
|
|
6815
6815
|
_: 2
|
|
6816
|
-
}, 1024)) : (R(), Z("div", Yb,
|
|
6816
|
+
}, 1024)) : (R(), Z("div", Yb, re(v.title), 1)),
|
|
6817
6817
|
(A = v.key) != null && A.startsWith(e.DATA_SOURCE_FILTER_PREFIX) ? (R(), Z("div", Wb, [
|
|
6818
6818
|
e.fieldNameConditionsByKey[v.dataIndex] ? (R(), Z(ye, { key: 0 }, [
|
|
6819
6819
|
e.customMaterialsMap[e.fieldNameConditionsByKey[v.dataIndex].type] ? (R(), V(u, {
|
|
@@ -6871,7 +6871,7 @@ function Jb(e, t, n, r, a, i) {
|
|
|
6871
6871
|
key: 0,
|
|
6872
6872
|
type: w.icon
|
|
6873
6873
|
}, null, 8, ["type"])) : me("", !0),
|
|
6874
|
-
we(" " +
|
|
6874
|
+
we(" " + re(w.text), 1)
|
|
6875
6875
|
], 14, qb))
|
|
6876
6876
|
])), [
|
|
6877
6877
|
[M, w.permissions]
|
|
@@ -6912,7 +6912,7 @@ function Jb(e, t, n, r, a, i) {
|
|
|
6912
6912
|
default: z(() => [
|
|
6913
6913
|
Y(b, { index: 0 }, {
|
|
6914
6914
|
default: z(() => [
|
|
6915
|
-
Fe("span", Gb,
|
|
6915
|
+
Fe("span", Gb, re(e.$t("selected") || "选中"), 1)
|
|
6916
6916
|
]),
|
|
6917
6917
|
_: 1
|
|
6918
6918
|
}),
|
|
@@ -6922,7 +6922,7 @@ function Jb(e, t, n, r, a, i) {
|
|
|
6922
6922
|
style: { "text-align": "center" }
|
|
6923
6923
|
}, {
|
|
6924
6924
|
default: z(() => [
|
|
6925
|
-
A === 0 ? (R(), Z("span", Hb,
|
|
6925
|
+
A === 0 ? (R(), Z("span", Hb, re(e.selectedRowKeys[e.pageName].length), 1)) : (R(), Z("span", Xb, re(v.summary ? e.transformSummary(v.summary, v) : null), 1))
|
|
6926
6926
|
]),
|
|
6927
6927
|
_: 2
|
|
6928
6928
|
}, 1032, ["index"]))), 128))
|
|
@@ -6945,7 +6945,7 @@ function Jb(e, t, n, r, a, i) {
|
|
|
6945
6945
|
style: { "text-align": "center" }
|
|
6946
6946
|
}, {
|
|
6947
6947
|
default: z(() => [
|
|
6948
|
-
Fe("span", Zb,
|
|
6948
|
+
Fe("span", Zb, re(v), 1)
|
|
6949
6949
|
]),
|
|
6950
6950
|
_: 2
|
|
6951
6951
|
}, 1032, ["index"]))), 128))
|
|
@@ -7228,7 +7228,7 @@ function iw(e, t, n, r, a, i) {
|
|
|
7228
7228
|
onCancel: e.handleClose
|
|
7229
7229
|
}, {
|
|
7230
7230
|
title: z(() => [
|
|
7231
|
-
Fe("span", null,
|
|
7231
|
+
Fe("span", null, re(e.title), 1)
|
|
7232
7232
|
]),
|
|
7233
7233
|
footer: z(() => [
|
|
7234
7234
|
Y(l, null, {
|
|
@@ -7238,7 +7238,7 @@ function iw(e, t, n, r, a, i) {
|
|
|
7238
7238
|
onClick: e.handleReset
|
|
7239
7239
|
}, {
|
|
7240
7240
|
default: z(() => [
|
|
7241
|
-
we(
|
|
7241
|
+
we(re(e.$t("reset") || "重置"), 1)
|
|
7242
7242
|
]),
|
|
7243
7243
|
_: 1
|
|
7244
7244
|
}, 8, ["onClick"])) : me("", !0),
|
|
@@ -7248,7 +7248,7 @@ function iw(e, t, n, r, a, i) {
|
|
|
7248
7248
|
onClick: e.handleOk
|
|
7249
7249
|
}, {
|
|
7250
7250
|
default: z(() => [
|
|
7251
|
-
we(
|
|
7251
|
+
we(re(e.$t("ok") || "确定"), 1)
|
|
7252
7252
|
]),
|
|
7253
7253
|
_: 1
|
|
7254
7254
|
}, 8, ["loading", "onClick"])
|
|
@@ -7300,7 +7300,7 @@ function iw(e, t, n, r, a, i) {
|
|
|
7300
7300
|
}, null, 8, ["class", "row-selection", "columns", "data-source", "style", "custom-row"])
|
|
7301
7301
|
]),
|
|
7302
7302
|
footer: z(({ direction: c }) => [
|
|
7303
|
-
Fe("div", aw,
|
|
7303
|
+
Fe("div", aw, re(c === "left" ? e.$t("hideColumnsTips") || "双击字殷,可快速左右切换。" : e.$t("showColumnsTips") || "拖捷字段,可上下调整排序位置。"), 1)
|
|
7304
7304
|
]),
|
|
7305
7305
|
_: 1
|
|
7306
7306
|
}, 8, ["target-keys", "data-source", "titles", "row-key", "filter-option", "onChange"])
|
|
@@ -8087,7 +8087,7 @@ const bo = {
|
|
|
8087
8087
|
r.value.defaultQuery,
|
|
8088
8088
|
// TODO: 后端接口支持默认查询条件
|
|
8089
8089
|
r.value.name
|
|
8090
|
-
),
|
|
8090
|
+
), ae = $(
|
|
8091
8091
|
o ? o[0].value : js[0].value
|
|
8092
8092
|
), ve = $(1), { selectedRows: Oe, selectedRowKeys: ze } = jn();
|
|
8093
8093
|
Oe[e.page.name] && console.warn(`【@yzsf2e/render-core】请检查页面名 ${e.page.name} 是否重复!`);
|
|
@@ -8102,7 +8102,7 @@ const bo = {
|
|
|
8102
8102
|
if (a) {
|
|
8103
8103
|
const K = Yy({
|
|
8104
8104
|
conditions: hn({ ...Re(ne) }, ue),
|
|
8105
|
-
pager: { pageNo: ve.value, pageSize:
|
|
8105
|
+
pager: { pageNo: ve.value, pageSize: ae.value },
|
|
8106
8106
|
sort: p.value,
|
|
8107
8107
|
listApiConfig: a.list
|
|
8108
8108
|
});
|
|
@@ -8113,7 +8113,7 @@ const bo = {
|
|
|
8113
8113
|
category: K,
|
|
8114
8114
|
tab: te,
|
|
8115
8115
|
pageNumber: ve.value,
|
|
8116
|
-
pageSize:
|
|
8116
|
+
pageSize: ae.value,
|
|
8117
8117
|
fetchMode: "BODY",
|
|
8118
8118
|
sorts: {},
|
|
8119
8119
|
filters: hn({ ...Re(ne) }, ue)
|
|
@@ -8207,9 +8207,9 @@ const bo = {
|
|
|
8207
8207
|
y(e.page.enumerations), await C(e.page.enumapi, Ur), g.value = !0, Ue().then(() => {
|
|
8208
8208
|
Un();
|
|
8209
8209
|
});
|
|
8210
|
-
}), a ? ie([ve,
|
|
8210
|
+
}), a ? ie([ve, ae], () => {
|
|
8211
8211
|
Ie();
|
|
8212
|
-
}) : ie([ve,
|
|
8212
|
+
}) : ie([ve, ae, p], ([K, te, Ae]) => {
|
|
8213
8213
|
const { category: oe, tab: _e } = n.meta;
|
|
8214
8214
|
O.value.run({
|
|
8215
8215
|
category: oe,
|
|
@@ -8268,7 +8268,7 @@ const bo = {
|
|
|
8268
8268
|
importConfig: T,
|
|
8269
8269
|
summary: f,
|
|
8270
8270
|
current: ve,
|
|
8271
|
-
pageSize:
|
|
8271
|
+
pageSize: ae,
|
|
8272
8272
|
pageTotal: l,
|
|
8273
8273
|
sort: p,
|
|
8274
8274
|
tableView: w,
|
|
@@ -8575,8 +8575,8 @@ const xw = /* @__PURE__ */ rt(zw, [["render", jw]]), Bw = (e) => ({
|
|
|
8575
8575
|
var ee;
|
|
8576
8576
|
const W = (ee = h.value.page) == null ? void 0 : ee.rowKey;
|
|
8577
8577
|
W && F.forEach((ne) => {
|
|
8578
|
-
var
|
|
8579
|
-
ne[W] && p[(
|
|
8578
|
+
var ae;
|
|
8579
|
+
ne[W] && p[(ae = h.value.page) == null ? void 0 : ae.name].push(ne[W]);
|
|
8580
8580
|
});
|
|
8581
8581
|
}).finally(() => {
|
|
8582
8582
|
setTimeout(() => {
|
|
@@ -8591,8 +8591,8 @@ const xw = /* @__PURE__ */ rt(zw, [["render", jw]]), Bw = (e) => ({
|
|
|
8591
8591
|
var ee;
|
|
8592
8592
|
const W = (ee = h.value.page) == null ? void 0 : ee.rowKey;
|
|
8593
8593
|
W && F.forEach((ne) => {
|
|
8594
|
-
var
|
|
8595
|
-
ne[W] && p[(
|
|
8594
|
+
var ae;
|
|
8595
|
+
ne[W] && p[(ae = h.value.page) == null ? void 0 : ae.name].push(ne[W]);
|
|
8596
8596
|
});
|
|
8597
8597
|
}).then((F) => {
|
|
8598
8598
|
var W;
|