asiaint-lowcode 3.0.37 → 3.0.38
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/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +93 -93
- package/dist/lazy/{Card-C4zOthIh.js → Card-CTC5imo1.js} +1 -1
- package/dist/lazy/{Cascader-BUgHg5ik.js → Cascader-D4MYm4tv.js} +1 -1
- package/dist/lazy/{Checkbox-iRWQkH1U.js → Checkbox-CJGMd_gh.js} +2 -2
- package/dist/lazy/{Collapse-tu8Dek80.js → Collapse-CnzZmZ_m.js} +1 -1
- package/dist/lazy/{Component-i44K_aWs.js → Component-BJIBuATE.js} +1 -1
- package/dist/lazy/{Component-Rbs1TReL.js → Component-BQmwPI3D.js} +1 -1
- package/dist/lazy/{Component-BVwBLs8N.js → Component-CoEFCzWk.js} +1 -1
- package/dist/lazy/{Component--0ZzIiZ1.js → Component-DMXZ32n0.js} +1 -1
- package/dist/lazy/{Component-BHUEcVzJ.js → Component-DoOCFYzY.js} +1 -1
- package/dist/lazy/{Component--w1jxiuX.js → Component-DzI76sfN.js} +1 -1
- package/dist/lazy/{CurdCard-UTU_mU-b.js → CurdCard-B6mvG1FA.js} +1 -1
- package/dist/lazy/{Custom-Cj8SV2to.js → Custom-CHoNP_Wb.js} +1 -1
- package/dist/lazy/{FormList-B_vcRP4M.js → FormList-DNspJXt9.js} +1 -1
- package/dist/lazy/{Grid-CEC27txO.js → Grid-950KZ5_5.js} +1 -1
- package/dist/lazy/{Inline-DP4ZR_L4.js → Inline-BsTaA6c2.js} +1 -1
- package/dist/lazy/{JsonEdit-c104aY7U.js → JsonEdit-Bmw6AJmP.js} +1 -1
- package/dist/lazy/{ObjGroup-DtzOTVFu.js → ObjGroup-qiJT1PIG.js} +1 -1
- package/dist/lazy/{OfferDetails-0gtiFNt8.js → OfferDetails-DP85_35u.js} +1 -1
- package/dist/lazy/{Radio-J9ei-uuq.js → Radio-CL8jn24q.js} +2 -2
- package/dist/lazy/{SearchSelect-EXTgqY2m.js → SearchSelect-C_ILcjm8.js} +2 -2
- package/dist/lazy/{Select-Dgya2poF.js → Select-BJfXzPs5.js} +2 -2
- package/dist/lazy/{Table-D0tOzzxj.js → Table-CLyUUgbF.js} +23 -22
- package/dist/lazy/{Tabs-x_bndFD7.js → Tabs-B1OlM6vL.js} +1 -1
- package/dist/lazy/{Wrapper-DUF0qSab.js → Wrapper-7vsPwASz.js} +1 -1
- package/dist/lazy/{index-htqWpBql.js → index-DzBTvtu-.js} +268 -259
- package/dist/lazy/{useSelect-6rCKFehM.js → useSelect-CIMkSjmY.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@ var G0 = Object.defineProperty;
|
|
|
2
2
|
var L0 = (t, A, e) => A in t ? G0(t, A, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[A] = e;
|
|
3
3
|
var Ie = (t, A, e) => L0(t, typeof A != "symbol" ? A + "" : A, e);
|
|
4
4
|
import * as R0 from "vue";
|
|
5
|
-
import { initDirectivesForSSR as H0, nextTick as jt, defineComponent as GA, computed as
|
|
5
|
+
import { initDirectivesForSSR as H0, nextTick as jt, defineComponent as GA, computed as JA, h as yA, reactive as Gn, inject as jA, ref as YA, openBlock as M, createElementBlock as K, createElementVNode as F, createStaticVNode as K0, createBlock as EA, resolveDynamicComponent as kn, unref as R, mergeProps as ve, mergeModels as Mt, useModel as pe, useAttrs as P0, resolveComponent as IA, toDisplayString as RA, defineAsyncComponent as zA, withCtx as tA, createVNode as V, createCommentVNode as pA, normalizeClass as bA, normalizeStyle as Ue, createTextVNode as xe, onMounted as gi, TransitionGroup as U0, onBeforeMount as x0, watch as kB, Fragment as TA, normalizeProps as NE, guardReactiveProps as S0, createSlots as BB, withModifiers as ns, renderList as le, provide as Rt, onActivated as vB, useTemplateRef as NB, toRefs as GB, renderSlot as LB, toRaw as _n, isRef as Y0, withDirectives as Ja, vShow as Oa, readonly as jc } from "vue";
|
|
6
6
|
import { ElMessage as $c, ElMessageBox as J0, ElTable as GE } from "element-plus";
|
|
7
7
|
var Pa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
|
-
function
|
|
8
|
+
function Q3(t) {
|
|
9
9
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
10
10
|
}
|
|
11
11
|
var ks = { exports: {} };
|
|
@@ -7504,17 +7504,17 @@ GA({
|
|
|
7504
7504
|
}
|
|
7505
7505
|
},
|
|
7506
7506
|
render: function() {
|
|
7507
|
-
var t = this, A, e, a =
|
|
7507
|
+
var t = this, A, e, a = JA(function() {
|
|
7508
7508
|
return of;
|
|
7509
7509
|
}), s = (e = (A = this.$slots) === null || A === void 0 ? void 0 : A.default) === null || e === void 0 ? void 0 : e.call(A, {
|
|
7510
7510
|
route: a,
|
|
7511
|
-
href:
|
|
7511
|
+
href: JA(function() {
|
|
7512
7512
|
return a.value.href;
|
|
7513
7513
|
}),
|
|
7514
|
-
isActive:
|
|
7514
|
+
isActive: JA(function() {
|
|
7515
7515
|
return !1;
|
|
7516
7516
|
}),
|
|
7517
|
-
isExactActive:
|
|
7517
|
+
isExactActive: JA(function() {
|
|
7518
7518
|
return !1;
|
|
7519
7519
|
}),
|
|
7520
7520
|
navigate: function() {
|
|
@@ -8292,12 +8292,12 @@ const Hn = Symbol(), FC = Symbol(), kC = Symbol(), Bf = {
|
|
|
8292
8292
|
return jA(FC, t);
|
|
8293
8293
|
};
|
|
8294
8294
|
function JB() {
|
|
8295
|
-
const t = jA(Hn), A = jA("asiaint-lang",
|
|
8296
|
-
return t != null && t.lang ?
|
|
8295
|
+
const t = jA(Hn), A = jA("asiaint-lang", YA("zh"));
|
|
8296
|
+
return t != null && t.lang ? YA(t.lang) : A;
|
|
8297
8297
|
}
|
|
8298
8298
|
function Cn() {
|
|
8299
8299
|
const t = JB();
|
|
8300
|
-
return
|
|
8300
|
+
return JA(() => vC[(t == null ? void 0 : t.value) || "en"]);
|
|
8301
8301
|
}
|
|
8302
8302
|
const iA = (t, A) => {
|
|
8303
8303
|
const e = t.__vccOpts || t;
|
|
@@ -10048,7 +10048,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10048
10048
|
}, j4 = {
|
|
10049
10049
|
title: "卡片",
|
|
10050
10050
|
component: "Card",
|
|
10051
|
-
render: zA(() => import("./Card-
|
|
10051
|
+
render: zA(() => import("./Card-CTC5imo1.js")),
|
|
10052
10052
|
icon: yA(cA, { name: "card" }),
|
|
10053
10053
|
type: "layout",
|
|
10054
10054
|
order: 1,
|
|
@@ -10281,7 +10281,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10281
10281
|
component: "Cascader",
|
|
10282
10282
|
attrSchema: $4,
|
|
10283
10283
|
order: 7,
|
|
10284
|
-
render: zA(() => import("./Cascader-
|
|
10284
|
+
render: zA(() => import("./Cascader-D4MYm4tv.js"))
|
|
10285
10285
|
}, V4 = {
|
|
10286
10286
|
size: "small",
|
|
10287
10287
|
labelPosition: "top",
|
|
@@ -10325,7 +10325,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10325
10325
|
type: "basic",
|
|
10326
10326
|
order: 14,
|
|
10327
10327
|
attrSchema: V4,
|
|
10328
|
-
render: zA(() => import("./JsonEdit-
|
|
10328
|
+
render: zA(() => import("./JsonEdit-Bmw6AJmP.js"))
|
|
10329
10329
|
}, A2 = {
|
|
10330
10330
|
size: "small",
|
|
10331
10331
|
labelPosition: "top",
|
|
@@ -10425,7 +10425,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10425
10425
|
icon: yA(cA, { name: "checkbox" }),
|
|
10426
10426
|
type: "basic",
|
|
10427
10427
|
component: "Checkbox",
|
|
10428
|
-
render: zA(() => import("./Checkbox-
|
|
10428
|
+
render: zA(() => import("./Checkbox-CJGMd_gh.js")),
|
|
10429
10429
|
order: 4,
|
|
10430
10430
|
attrSchema: A2
|
|
10431
10431
|
}, t2 = {
|
|
@@ -10572,7 +10572,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10572
10572
|
}, g2 = {
|
|
10573
10573
|
title: "自定义组件",
|
|
10574
10574
|
component: "Custom",
|
|
10575
|
-
render: zA(() => import("./Custom-
|
|
10575
|
+
render: zA(() => import("./Custom-CHoNP_Wb.js")),
|
|
10576
10576
|
icon: yA(cA, { name: "custom" }),
|
|
10577
10577
|
type: "high",
|
|
10578
10578
|
order: 99,
|
|
@@ -10763,7 +10763,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10763
10763
|
}, c2 = {
|
|
10764
10764
|
title: "电子签名",
|
|
10765
10765
|
component: "Esign",
|
|
10766
|
-
render: zA(() => import("./Component-
|
|
10766
|
+
render: zA(() => import("./Component-BJIBuATE.js")),
|
|
10767
10767
|
icon: yA(cA, { name: "esign" }),
|
|
10768
10768
|
type: "basic",
|
|
10769
10769
|
order: 11,
|
|
@@ -10865,7 +10865,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10865
10865
|
icon: yA(cA, { name: "radio" }),
|
|
10866
10866
|
type: "basic",
|
|
10867
10867
|
component: "Radio",
|
|
10868
|
-
render: zA(() => import("./Radio-
|
|
10868
|
+
render: zA(() => import("./Radio-CL8jn24q.js")),
|
|
10869
10869
|
order: 3.5,
|
|
10870
10870
|
attrSchema: C2
|
|
10871
10871
|
}, I2 = {
|
|
@@ -10954,7 +10954,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10954
10954
|
}, u2 = {
|
|
10955
10955
|
title: "自增容器",
|
|
10956
10956
|
component: "FormList",
|
|
10957
|
-
render: zA(() => import("./FormList-
|
|
10957
|
+
render: zA(() => import("./FormList-DNspJXt9.js")),
|
|
10958
10958
|
icon: yA(cA, { name: "formList" }),
|
|
10959
10959
|
type: "high",
|
|
10960
10960
|
order: 20,
|
|
@@ -10964,7 +10964,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
10964
10964
|
type: "layout",
|
|
10965
10965
|
icon: yA(cA, { name: "grid" }),
|
|
10966
10966
|
component: "Grid",
|
|
10967
|
-
render: zA(() => import("./Grid-
|
|
10967
|
+
render: zA(() => import("./Grid-950KZ5_5.js")),
|
|
10968
10968
|
order: 3,
|
|
10969
10969
|
lbTitle: !0,
|
|
10970
10970
|
attrSchema: {
|
|
@@ -11006,7 +11006,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
11006
11006
|
icon: yA(cA, { name: "inline" }),
|
|
11007
11007
|
type: "layout",
|
|
11008
11008
|
component: "Inline",
|
|
11009
|
-
render: zA(() => import("./Inline-
|
|
11009
|
+
render: zA(() => import("./Inline-BsTaA6c2.js")),
|
|
11010
11010
|
order: 2,
|
|
11011
11011
|
lbTitle: !0,
|
|
11012
11012
|
attrSchema: {
|
|
@@ -11125,7 +11125,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
11125
11125
|
type: "basic",
|
|
11126
11126
|
order: 5,
|
|
11127
11127
|
component: "InputNumber",
|
|
11128
|
-
render: zA(() => import("./Component-
|
|
11128
|
+
render: zA(() => import("./Component-CoEFCzWk.js")),
|
|
11129
11129
|
attrSchema: d2
|
|
11130
11130
|
}, h2 = {
|
|
11131
11131
|
size: "small",
|
|
@@ -11353,7 +11353,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
11353
11353
|
type: "basic",
|
|
11354
11354
|
icon: yA(cA, { name: "select" }),
|
|
11355
11355
|
component: "Select",
|
|
11356
|
-
render: zA(() => import("./Select-
|
|
11356
|
+
render: zA(() => import("./Select-BJfXzPs5.js")),
|
|
11357
11357
|
order: 3,
|
|
11358
11358
|
attrSchema: y2
|
|
11359
11359
|
}, M2 = {
|
|
@@ -11696,7 +11696,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
11696
11696
|
]
|
|
11697
11697
|
}, L2 = {
|
|
11698
11698
|
title: "开关",
|
|
11699
|
-
render: zA(() => import("./Component-
|
|
11699
|
+
render: zA(() => import("./Component-BQmwPI3D.js")),
|
|
11700
11700
|
component: "Switch",
|
|
11701
11701
|
icon: yA(cA, { name: "switch" }),
|
|
11702
11702
|
type: "basic",
|
|
@@ -11873,7 +11873,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
11873
11873
|
}, x2 = {
|
|
11874
11874
|
title: "上传",
|
|
11875
11875
|
component: "Upload",
|
|
11876
|
-
render: zA(() => import("./Component-
|
|
11876
|
+
render: zA(() => import("./Component-DoOCFYzY.js")),
|
|
11877
11877
|
icon: yA(cA, { name: "upload" }),
|
|
11878
11878
|
type: "basic",
|
|
11879
11879
|
order: 10,
|
|
@@ -11909,7 +11909,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
11909
11909
|
}, Y2 = {
|
|
11910
11910
|
title: "图形验证码",
|
|
11911
11911
|
component: "VerifyCode",
|
|
11912
|
-
render: zA(() => import("./Component
|
|
11912
|
+
render: zA(() => import("./Component-DzI76sfN.js")),
|
|
11913
11913
|
icon: yA(cA, { name: "verifyCode" }),
|
|
11914
11914
|
type: "high",
|
|
11915
11915
|
order: 18,
|
|
@@ -11917,7 +11917,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
11917
11917
|
}, J2 = {
|
|
11918
11918
|
title: "折叠面板",
|
|
11919
11919
|
component: "Collapse",
|
|
11920
|
-
render: zA(() => import("./Collapse-
|
|
11920
|
+
render: zA(() => import("./Collapse-CnzZmZ_m.js")),
|
|
11921
11921
|
icon: yA(cA, { name: "collapse" }),
|
|
11922
11922
|
type: "layout",
|
|
11923
11923
|
order: 4,
|
|
@@ -11972,7 +11972,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
11972
11972
|
}, O2 = {
|
|
11973
11973
|
title: "选项卡",
|
|
11974
11974
|
component: "Tabs",
|
|
11975
|
-
render: zA(() => import("./Tabs-
|
|
11975
|
+
render: zA(() => import("./Tabs-B1OlM6vL.js")),
|
|
11976
11976
|
icon: yA(cA, { name: "tabs" }),
|
|
11977
11977
|
type: "layout",
|
|
11978
11978
|
order: 4,
|
|
@@ -12088,7 +12088,7 @@ const U4 = /* @__PURE__ */ iA(H4, [["render", P4]]), x4 = /* @__PURE__ */ Object
|
|
|
12088
12088
|
icon: yA(cA, { name: "itemGroup" }),
|
|
12089
12089
|
type: "high",
|
|
12090
12090
|
component: "ObjGroup",
|
|
12091
|
-
render: zA(() => import("./ObjGroup-
|
|
12091
|
+
render: zA(() => import("./ObjGroup-qiJT1PIG.js")),
|
|
12092
12092
|
order: 2,
|
|
12093
12093
|
lbTitle: !0,
|
|
12094
12094
|
attrSchema: {
|
|
@@ -12536,7 +12536,7 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12536
12536
|
type: "high",
|
|
12537
12537
|
icon: yA(cA, { name: "searchSelect" }),
|
|
12538
12538
|
component: "SearchSelect",
|
|
12539
|
-
render: zA(() => import("./SearchSelect-
|
|
12539
|
+
render: zA(() => import("./SearchSelect-C_ILcjm8.js")),
|
|
12540
12540
|
order: 3,
|
|
12541
12541
|
attrSchema: i_
|
|
12542
12542
|
}, g_ = {
|
|
@@ -12580,7 +12580,7 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12580
12580
|
size: { default: "small" }
|
|
12581
12581
|
},
|
|
12582
12582
|
setup(t) {
|
|
12583
|
-
const A = t, e =
|
|
12583
|
+
const A = t, e = JA(() => A.color ? { color: A.color } : void 0);
|
|
12584
12584
|
return (a, s) => (M(), K("svg", {
|
|
12585
12585
|
class: bA(["icon", {
|
|
12586
12586
|
large: a.size === "large",
|
|
@@ -12605,36 +12605,39 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12605
12605
|
icon: {}
|
|
12606
12606
|
},
|
|
12607
12607
|
setup(t) {
|
|
12608
|
-
const A = t, e = jA("ruleModule", void 0), a = jA("pageMethodMap", {}), s = () => {
|
|
12609
|
-
if (A.onClick && e)
|
|
12608
|
+
const A = t, e = jA("ruleModule", void 0), a = jA("pageMethodMap", {}), s = YA(!1), g = async () => {
|
|
12609
|
+
if (A.onClick && e) {
|
|
12610
12610
|
try {
|
|
12611
|
-
e[A.onClick](a);
|
|
12612
|
-
} catch (
|
|
12613
|
-
console.error(
|
|
12611
|
+
s.value = !0, await e[A.onClick](a);
|
|
12612
|
+
} catch (B) {
|
|
12613
|
+
console.error(B);
|
|
12614
12614
|
}
|
|
12615
|
+
s.value = !1;
|
|
12616
|
+
}
|
|
12615
12617
|
};
|
|
12616
|
-
return (
|
|
12617
|
-
const
|
|
12618
|
-
return
|
|
12619
|
-
onClick:
|
|
12620
|
-
color:
|
|
12621
|
-
class: { orangeBtn:
|
|
12622
|
-
plain: !
|
|
12618
|
+
return (B, Q) => {
|
|
12619
|
+
const r = IA("el-button");
|
|
12620
|
+
return B.hidden ? pA("", !0) : (M(), EA(r, ve({ key: 0 }, B.$attrs, {
|
|
12621
|
+
onClick: g,
|
|
12622
|
+
color: B.orange ? "#FAA21E" : "",
|
|
12623
|
+
class: { orangeBtn: B.orange },
|
|
12624
|
+
plain: !B.orange && B.$attrs.type !== "primary",
|
|
12625
|
+
loading: s.value
|
|
12623
12626
|
}), {
|
|
12624
12627
|
default: tA(() => [
|
|
12625
|
-
|
|
12628
|
+
B.icon ? (M(), EA(Bt, {
|
|
12626
12629
|
key: 0,
|
|
12627
|
-
name:
|
|
12628
|
-
color:
|
|
12630
|
+
name: B.icon.name,
|
|
12631
|
+
color: B.icon.color,
|
|
12629
12632
|
class: "btn-icon"
|
|
12630
12633
|
}, null, 8, ["name", "color"])) : pA("", !0),
|
|
12631
|
-
xe(" " + RA(
|
|
12634
|
+
xe(" " + RA(B.buttonText), 1)
|
|
12632
12635
|
]),
|
|
12633
12636
|
_: 1
|
|
12634
|
-
}, 16, ["color", "class", "plain"]));
|
|
12637
|
+
}, 16, ["color", "class", "plain", "loading"]));
|
|
12635
12638
|
};
|
|
12636
12639
|
}
|
|
12637
|
-
}), Q_ = /* @__PURE__ */ iA(r_, [["__scopeId", "data-v-
|
|
12640
|
+
}), Q_ = /* @__PURE__ */ iA(r_, [["__scopeId", "data-v-d4c42e29"]]), E_ = {
|
|
12638
12641
|
title: "按钮",
|
|
12639
12642
|
component: "Button",
|
|
12640
12643
|
icon: yA(cA, { name: "button" }),
|
|
@@ -12729,7 +12732,7 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12729
12732
|
}, C_ = {
|
|
12730
12733
|
title: "树",
|
|
12731
12734
|
component: "Tree",
|
|
12732
|
-
render: zA(() => import("./Component
|
|
12735
|
+
render: zA(() => import("./Component-DMXZ32n0.js")),
|
|
12733
12736
|
icon: yA(cA, { name: "tree" }),
|
|
12734
12737
|
type: "assist",
|
|
12735
12738
|
order: 7,
|
|
@@ -12790,11 +12793,11 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12790
12793
|
type: "assist",
|
|
12791
12794
|
order: 8,
|
|
12792
12795
|
attrSchema: l_,
|
|
12793
|
-
render: zA(() => import("./Table-
|
|
12796
|
+
render: zA(() => import("./Table-CLyUUgbF.js"))
|
|
12794
12797
|
}, u_ = {
|
|
12795
12798
|
title: "curd模版卡片",
|
|
12796
12799
|
component: "CurdCard",
|
|
12797
|
-
render: zA(() => import("./CurdCard-
|
|
12800
|
+
render: zA(() => import("./CurdCard-B6mvG1FA.js")),
|
|
12798
12801
|
icon: yA(cA, { name: "card" }),
|
|
12799
12802
|
type: "layout",
|
|
12800
12803
|
order: 6,
|
|
@@ -12810,7 +12813,7 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12810
12813
|
}, w_ = {
|
|
12811
12814
|
title: "普通div容器",
|
|
12812
12815
|
component: "Wrapper",
|
|
12813
|
-
render: zA(() => import("./Wrapper-
|
|
12816
|
+
render: zA(() => import("./Wrapper-7vsPwASz.js")),
|
|
12814
12817
|
icon: yA(cA, { name: "card" }),
|
|
12815
12818
|
type: "layout",
|
|
12816
12819
|
order: 7,
|
|
@@ -12826,7 +12829,7 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12826
12829
|
}, p_ = {
|
|
12827
12830
|
title: "卡片列表",
|
|
12828
12831
|
component: "CardList",
|
|
12829
|
-
render: zA(() => Promise.resolve().then(() =>
|
|
12832
|
+
render: zA(() => Promise.resolve().then(() => cG)),
|
|
12830
12833
|
icon: yA(cA, { name: "card" }),
|
|
12831
12834
|
type: "assist",
|
|
12832
12835
|
order: 1,
|
|
@@ -12840,7 +12843,7 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12840
12843
|
}, d_ = {
|
|
12841
12844
|
title: "定制化组件(OfferDetails)",
|
|
12842
12845
|
component: "OfferDetails",
|
|
12843
|
-
render: zA(() => import("./OfferDetails-
|
|
12846
|
+
render: zA(() => import("./OfferDetails-DP85_35u.js")),
|
|
12844
12847
|
icon: yA(cA, { name: "card" }),
|
|
12845
12848
|
type: "assist",
|
|
12846
12849
|
order: 1,
|
|
@@ -12899,7 +12902,7 @@ const j2 = /* @__PURE__ */ iA(Z2, [["render", T2]]), $2 = {
|
|
|
12899
12902
|
}, dt = () => jA(kC), h_ = /* @__PURE__ */ GA({
|
|
12900
12903
|
__name: "Footer",
|
|
12901
12904
|
setup(t) {
|
|
12902
|
-
const A = oi(), e =
|
|
12905
|
+
const A = oi(), e = JA(() => ({ marginLeft: A.schema.labelWidth + "px" }));
|
|
12903
12906
|
return (a, s) => {
|
|
12904
12907
|
const g = IA("el-button");
|
|
12905
12908
|
return R(A).footer ? (M(), K("div", {
|
|
@@ -18580,7 +18583,7 @@ const vk = kk, Nk = async (t) => WebAssembly.instantiate(vk, t).then((A) => A.in
|
|
|
18580
18583
|
const A = t, e = async () => {
|
|
18581
18584
|
const s = document.createElement("textarea");
|
|
18582
18585
|
s.value = A.code, document.body.appendChild(s), s.select(), s.setSelectionRange(0, 99999), document.execCommand("copy"), document.body.removeChild(s), $c.success("已成功复制到剪贴板");
|
|
18583
|
-
}, a =
|
|
18586
|
+
}, a = YA("");
|
|
18584
18587
|
return gi(async () => {
|
|
18585
18588
|
const s = await Fk({
|
|
18586
18589
|
themes: [
|
|
@@ -18690,7 +18693,7 @@ var Wt = Tt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ei = Tt(/E
|
|
|
18690
18693
|
function qA(t, A, e) {
|
|
18691
18694
|
t.addEventListener(A, e, !Wt && fl);
|
|
18692
18695
|
}
|
|
18693
|
-
function
|
|
18696
|
+
function OA(t, A, e) {
|
|
18694
18697
|
t.removeEventListener(A, e, !Wt && fl);
|
|
18695
18698
|
}
|
|
18696
18699
|
function Zs(t, A) {
|
|
@@ -19287,7 +19290,7 @@ DA.prototype = /** @lends Sortable.prototype */
|
|
|
19287
19290
|
},
|
|
19288
19291
|
_disableDelayedDragEvents: function() {
|
|
19289
19292
|
var A = this.el.ownerDocument;
|
|
19290
|
-
|
|
19293
|
+
OA(A, "mouseup", this._disableDelayedDrag), OA(A, "touchend", this._disableDelayedDrag), OA(A, "touchcancel", this._disableDelayedDrag), OA(A, "mousemove", this._delayedDragTouchMoveHandler), OA(A, "touchmove", this._delayedDragTouchMoveHandler), OA(A, "pointermove", this._delayedDragTouchMoveHandler);
|
|
19291
19294
|
},
|
|
19292
19295
|
_triggerDragStart: function(A, e) {
|
|
19293
19296
|
e = e || A.pointerType == "touch" && A, !this.nativeDraggable || e ? this.options.supportPointer ? qA(document, "pointermove", this._onTouchMove) : e ? qA(document, "touchmove", this._onTouchMove) : qA(document, "mousemove", this._onTouchMove) : (qA(eA, "dragend", this), qA(ge, "dragstart", this._onDragStart));
|
|
@@ -19381,7 +19384,7 @@ DA.prototype = /** @lends Sortable.prototype */
|
|
|
19381
19384
|
sortable: a,
|
|
19382
19385
|
name: "clone"
|
|
19383
19386
|
}));
|
|
19384
|
-
}), !e && st(eA, g.dragClass, !0), e ? (qs = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (
|
|
19387
|
+
}), !e && st(eA, g.dragClass, !0), e ? (qs = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (OA(document, "mouseup", a._onDrop), OA(document, "touchend", a._onDrop), OA(document, "touchcancel", a._onDrop), s && (s.effectAllowed = "move", g.setData && g.setData.call(a, s, eA)), qA(document, "drop", a), dA(eA, "transform", "translateZ(0)")), ia = !0, a._dragStartId = Ms(a._dragStarted.bind(a, e, A)), qA(document, "selectstart", a), Za = !0, Wa && dA(document.body, "user-select", "none");
|
|
19385
19388
|
},
|
|
19386
19389
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
19387
19390
|
_onDragOver: function(A) {
|
|
@@ -19471,11 +19474,11 @@ DA.prototype = /** @lends Sortable.prototype */
|
|
|
19471
19474
|
},
|
|
19472
19475
|
_ignoreWhileAnimating: null,
|
|
19473
19476
|
_offMoveEvents: function() {
|
|
19474
|
-
|
|
19477
|
+
OA(document, "mousemove", this._onTouchMove), OA(document, "touchmove", this._onTouchMove), OA(document, "pointermove", this._onTouchMove), OA(document, "dragover", yn), OA(document, "mousemove", yn), OA(document, "touchmove", yn);
|
|
19475
19478
|
},
|
|
19476
19479
|
_offUpEvents: function() {
|
|
19477
19480
|
var A = this.el.ownerDocument;
|
|
19478
|
-
|
|
19481
|
+
OA(A, "mouseup", this._onDrop), OA(A, "touchend", this._onDrop), OA(A, "pointerup", this._onDrop), OA(A, "touchcancel", this._onDrop), OA(document, "selectstart", this);
|
|
19479
19482
|
},
|
|
19480
19483
|
_onDrop: function(A) {
|
|
19481
19484
|
var e = this.el, a = this.options;
|
|
@@ -19485,7 +19488,7 @@ DA.prototype = /** @lends Sortable.prototype */
|
|
|
19485
19488
|
this._nulling();
|
|
19486
19489
|
return;
|
|
19487
19490
|
}
|
|
19488
|
-
ia = !1, ws = !1, ei = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), bB(this.cloneId), bB(this._dragStartId), this.nativeDraggable && (
|
|
19491
|
+
ia = !1, ws = !1, ei = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), bB(this.cloneId), bB(this._dragStartId), this.nativeDraggable && (OA(document, "drop", this), OA(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Wa && dA(document.body, "user-select", ""), dA(eA, "transform", ""), A && (Za && (A.cancelable && A.preventDefault(), !a.dropBubble && A.stopPropagation()), kA && kA.parentNode && kA.parentNode.removeChild(kA), (ge === re || Le && Le.lastPutMode !== "clone") && Qe && Qe.parentNode && Qe.parentNode.removeChild(Qe), eA && (this.nativeDraggable && OA(eA, "dragend", this), nB(eA), eA.style["will-change"] = "", Za && !ia && st(eA, Le ? Le.options.ghostClass : this.options.ghostClass, !1), st(eA, this.options.chosenClass, !1), ze({
|
|
19489
19492
|
sortable: this,
|
|
19490
19493
|
name: "unchoose",
|
|
19491
19494
|
toEl: re,
|
|
@@ -19608,7 +19611,7 @@ DA.prototype = /** @lends Sortable.prototype */
|
|
|
19608
19611
|
destroy: function() {
|
|
19609
19612
|
We("destroy", this);
|
|
19610
19613
|
var A = this.el;
|
|
19611
|
-
A[ot] = null,
|
|
19614
|
+
A[ot] = null, OA(A, "mousedown", this._onTapStart), OA(A, "touchstart", this._onTapStart), OA(A, "pointerdown", this._onTapStart), this.nativeDraggable && (OA(A, "dragover", this), OA(A, "dragenter", this)), Array.prototype.forEach.call(A.querySelectorAll("[draggable]"), function(e) {
|
|
19612
19615
|
e.removeAttribute("draggable");
|
|
19613
19616
|
}), this._onDrop(), this._disableDelayedDragEvents(), Ts.splice(Ts.indexOf(this.el), 1), this.el = A = null;
|
|
19614
19617
|
},
|
|
@@ -19692,7 +19695,7 @@ ag && qA(document, "touchmove", function(t) {
|
|
|
19692
19695
|
});
|
|
19693
19696
|
DA.utils = {
|
|
19694
19697
|
on: qA,
|
|
19695
|
-
off:
|
|
19698
|
+
off: OA,
|
|
19696
19699
|
css: dA,
|
|
19697
19700
|
find: bl,
|
|
19698
19701
|
is: function(A, e) {
|
|
@@ -19748,7 +19751,7 @@ function _v() {
|
|
|
19748
19751
|
!this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
|
|
19749
19752
|
},
|
|
19750
19753
|
drop: function() {
|
|
19751
|
-
this.sortable.nativeDraggable ?
|
|
19754
|
+
this.sortable.nativeDraggable ? OA(document, "dragover", this._handleAutoScroll) : (OA(document, "pointermove", this._handleFallbackAutoScroll), OA(document, "touchmove", this._handleFallbackAutoScroll), OA(document, "mousemove", this._handleFallbackAutoScroll)), Jc(), Fs(), Bv();
|
|
19752
19755
|
},
|
|
19753
19756
|
nulling: function() {
|
|
19754
19757
|
$s = yB = qa = _B = Ta = aB = iB = null, ue.length = 0;
|
|
@@ -20351,7 +20354,7 @@ const Vv = {
|
|
|
20351
20354
|
title: ""
|
|
20352
20355
|
}), g = () => {
|
|
20353
20356
|
s.visible = !0, s.title = A.label;
|
|
20354
|
-
}, B =
|
|
20357
|
+
}, B = JA({
|
|
20355
20358
|
get() {
|
|
20356
20359
|
return vs(e.formValues, A.name);
|
|
20357
20360
|
},
|
|
@@ -20359,7 +20362,7 @@ const Vv = {
|
|
|
20359
20362
|
const C = sa(e.formValues, A.name, I);
|
|
20360
20363
|
e.updateFormValues(C);
|
|
20361
20364
|
}
|
|
20362
|
-
}), Q =
|
|
20365
|
+
}), Q = JA(() => {
|
|
20363
20366
|
const { rules: I, required: C, component: p } = A, f = [];
|
|
20364
20367
|
if (C && f.push({ required: !0, trigger: "blur", message: "Required" }), I) {
|
|
20365
20368
|
const m = I.map((G) => {
|
|
@@ -20389,10 +20392,10 @@ const Vv = {
|
|
|
20389
20392
|
return [...f, m];
|
|
20390
20393
|
}
|
|
20391
20394
|
return f;
|
|
20392
|
-
}), r =
|
|
20395
|
+
}), r = JA(() => {
|
|
20393
20396
|
const I = a[A.component] || {};
|
|
20394
20397
|
return I.modelName || (I.modelName = "modelValue"), I;
|
|
20395
|
-
}), c =
|
|
20398
|
+
}), c = JA(() => {
|
|
20396
20399
|
const I = {
|
|
20397
20400
|
name: A.name,
|
|
20398
20401
|
...A.props
|
|
@@ -20557,7 +20560,7 @@ const Vv = {
|
|
|
20557
20560
|
data: {}
|
|
20558
20561
|
},
|
|
20559
20562
|
setup(t) {
|
|
20560
|
-
const A = t, e = dt(), s = Ia()[A.data.component], g =
|
|
20563
|
+
const A = t, e = dt(), s = Ia()[A.data.component], g = JA(() => {
|
|
20561
20564
|
var p;
|
|
20562
20565
|
return {
|
|
20563
20566
|
[UA("canvas-item")]: !0,
|
|
@@ -20572,7 +20575,7 @@ const Vv = {
|
|
|
20572
20575
|
e.updateHoverKey("");
|
|
20573
20576
|
}, r = (p) => {
|
|
20574
20577
|
e.updateCurrent(p), e.rightTab = "attr";
|
|
20575
|
-
}, c =
|
|
20578
|
+
}, c = YA(!1), I = () => {
|
|
20576
20579
|
c.value = !c.value;
|
|
20577
20580
|
}, C = [
|
|
20578
20581
|
{
|
|
@@ -20801,12 +20804,12 @@ const Vv = {
|
|
|
20801
20804
|
if (!t)
|
|
20802
20805
|
throw new Error("RefManager not provided. Make sure to call provideRefManager first.");
|
|
20803
20806
|
return t;
|
|
20804
|
-
},
|
|
20807
|
+
}, l3 = (t, A) => {
|
|
20805
20808
|
const e = Tl();
|
|
20806
20809
|
return e.register(t, A), () => {
|
|
20807
20810
|
e.unregister(t);
|
|
20808
20811
|
};
|
|
20809
|
-
}, Ft = /* @__PURE__ */ GA({
|
|
20812
|
+
}, CN = ["id"], Ft = /* @__PURE__ */ GA({
|
|
20810
20813
|
__name: "index",
|
|
20811
20814
|
props: /* @__PURE__ */ Mt({
|
|
20812
20815
|
schema: {},
|
|
@@ -20833,9 +20836,9 @@ const Vv = {
|
|
|
20833
20836
|
}),
|
|
20834
20837
|
emits: /* @__PURE__ */ Mt(["finish", "failed", "reset"], ["update:modelValue", "update:realValues", "update:schema"]),
|
|
20835
20838
|
setup(t, { expose: A, emit: e }) {
|
|
20836
|
-
const a = t, s = jA("ruleMap", {}), g = jA("pageMethodMap", {}), B =
|
|
20839
|
+
const a = t, s = jA("ruleMap", {}), g = jA("pageMethodMap", {}), B = JA(() => a.schema.rulePath && s[a.schema.rulePath] ? a.schema.rulePath : a.pageRulePath);
|
|
20837
20840
|
B.value && Rt("ruleModule", s[B.value]);
|
|
20838
|
-
const Q = e, r =
|
|
20841
|
+
const Q = e, r = YA(), c = pe(t, "modelValue"), I = pe(t, "realValues"), C = (P, q, X) => {
|
|
20839
20842
|
X === void 0 ? c.value[P] = q : (I.value[P] = q, c.value[P] = X);
|
|
20840
20843
|
}, p = (P) => c.value[P], f = (P, q) => {
|
|
20841
20844
|
let X = mA(G.value.items, P);
|
|
@@ -20843,14 +20846,14 @@ const Vv = {
|
|
|
20843
20846
|
}, m = (P, q) => {
|
|
20844
20847
|
let X = mA(G.value.items, P);
|
|
20845
20848
|
X && (X.hidden = !q);
|
|
20846
|
-
}, G = pe(t, "schema"), h =
|
|
20849
|
+
}, G = pe(t, "schema"), h = JA({
|
|
20847
20850
|
get() {
|
|
20848
20851
|
return a.design, G.value.items;
|
|
20849
20852
|
},
|
|
20850
20853
|
set(P) {
|
|
20851
20854
|
G.value.items = P;
|
|
20852
20855
|
}
|
|
20853
|
-
}), u = Gn({}), b =
|
|
20856
|
+
}), u = Gn({}), b = YA({}), J = YA(!1), U = Cn(), $ = JA(() => ({
|
|
20854
20857
|
...a.schemaContext,
|
|
20855
20858
|
$values: c.value,
|
|
20856
20859
|
$selectData: u,
|
|
@@ -20969,7 +20972,8 @@ const Vv = {
|
|
|
20969
20972
|
const X = IA("el-form");
|
|
20970
20973
|
return M(), K("div", {
|
|
20971
20974
|
ref_key: "rootRef",
|
|
20972
|
-
ref: $A
|
|
20975
|
+
ref: $A,
|
|
20976
|
+
id: G.value.key
|
|
20973
20977
|
}, [
|
|
20974
20978
|
G.value.hidden ? pA("", !0) : (M(), EA(X, ve({
|
|
20975
20979
|
key: 0,
|
|
@@ -20993,10 +20997,10 @@ const Vv = {
|
|
|
20993
20997
|
]),
|
|
20994
20998
|
_: 3
|
|
20995
20999
|
}, 16, ["model", "label-position", "size", "hide-required-asterisk", "scroll-to-error"]))
|
|
20996
|
-
],
|
|
21000
|
+
], 8, CN);
|
|
20997
21001
|
};
|
|
20998
21002
|
}
|
|
20999
|
-
}),
|
|
21003
|
+
}), lN = ({ elements: t, lang: A, omits: e }) => {
|
|
21000
21004
|
const a = (B) => Object.values(t).filter((Q) => Q.type === B && !e.includes(Q.component)).sort((Q, r) => Q.order - r.order).map((Q) => ({
|
|
21001
21005
|
...Q,
|
|
21002
21006
|
title: A === "zh" ? Q.title : Q.component
|
|
@@ -21019,12 +21023,12 @@ const Vv = {
|
|
|
21019
21023
|
children: a("assist")
|
|
21020
21024
|
}
|
|
21021
21025
|
];
|
|
21022
|
-
},
|
|
21026
|
+
}, IN = /* @__PURE__ */ GA({
|
|
21023
21027
|
__name: "index",
|
|
21024
21028
|
setup(t) {
|
|
21025
21029
|
var I;
|
|
21026
|
-
const A =
|
|
21027
|
-
() =>
|
|
21030
|
+
const A = YA(!1), e = dt(), a = Ia(), s = Cn(), g = JB(), B = (I = e.templates) != null && I.length ? e.templates : pf, Q = JA(
|
|
21031
|
+
() => lN({ elements: a, omits: e.omitMenus || [], lang: g.value })
|
|
21028
21032
|
), r = (C) => {
|
|
21029
21033
|
e.updateSchema(C);
|
|
21030
21034
|
}, c = (C) => {
|
|
@@ -21124,7 +21128,7 @@ const Vv = {
|
|
|
21124
21128
|
], 6);
|
|
21125
21129
|
};
|
|
21126
21130
|
}
|
|
21127
|
-
}),
|
|
21131
|
+
}), uN = (t) => `<template>
|
|
21128
21132
|
<FormRender v-model="formValues" :schema="schema" ref="formRef" />
|
|
21129
21133
|
<el-button @click="handleSubmit">提交</el-button>
|
|
21130
21134
|
</template>
|
|
@@ -21144,7 +21148,7 @@ const handleSubmit = async () => {
|
|
|
21144
21148
|
alert(JSON.stringify(formValues.value,null,2))
|
|
21145
21149
|
}
|
|
21146
21150
|
<\/script>
|
|
21147
|
-
`,
|
|
21151
|
+
`, wN = (t) => `<template>
|
|
21148
21152
|
<FormRender v-model="formValues" :schema="schema" ref="formRef" />
|
|
21149
21153
|
<el-button @click="handleSubmit">提交</el-button>
|
|
21150
21154
|
</template>
|
|
@@ -21163,7 +21167,7 @@ const handleSubmit = async () => {
|
|
|
21163
21167
|
alert(JSON.stringify(formValues.value,null,2))
|
|
21164
21168
|
}
|
|
21165
21169
|
<\/script>
|
|
21166
|
-
`,
|
|
21170
|
+
`, pN = `// JSON Schema 配置说明
|
|
21167
21171
|
// JSON的第一层是表单整体的配置
|
|
21168
21172
|
// items里是所有字段的配置
|
|
21169
21173
|
// 表单联动说明
|
|
@@ -21206,9 +21210,9 @@ const handleSubmit = async () => {
|
|
|
21206
21210
|
"hidden": "{{ !$values.password }}" // 动态设置验证码框是否可见(未输入密码时,将验证码框隐藏)
|
|
21207
21211
|
}
|
|
21208
21212
|
]
|
|
21209
|
-
}`,
|
|
21213
|
+
}`, dN = (t) => `import type { FormSchema } from "asiaint-lowcode";
|
|
21210
21214
|
|
|
21211
|
-
export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`,
|
|
21215
|
+
export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, DN = (t) => `export default ${JSON.stringify(t, null, 2)}`, hN = /* @__PURE__ */ GA({
|
|
21212
21216
|
__name: "JsonSchema",
|
|
21213
21217
|
props: {
|
|
21214
21218
|
modelValue: { type: Boolean },
|
|
@@ -21217,14 +21221,14 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21217
21221
|
emits: ["update:modelValue"],
|
|
21218
21222
|
setup(t) {
|
|
21219
21223
|
var c;
|
|
21220
|
-
const A = dt(), e = Cn(), s = (c = Ia().JsonEdit) == null ? void 0 : c.render, g =
|
|
21224
|
+
const A = dt(), e = Cn(), s = (c = Ia().JsonEdit) == null ? void 0 : c.render, g = JA({
|
|
21221
21225
|
get() {
|
|
21222
21226
|
return A.schema;
|
|
21223
21227
|
},
|
|
21224
21228
|
set(I) {
|
|
21225
21229
|
I.items && A.updateSchema(I);
|
|
21226
21230
|
}
|
|
21227
|
-
}), B =
|
|
21231
|
+
}), B = YA({}), Q = pe(t, "modelValue"), r = (I) => {
|
|
21228
21232
|
A.updateSchema({
|
|
21229
21233
|
...A.schema,
|
|
21230
21234
|
items: RC(A.schema.items)
|
|
@@ -21270,7 +21274,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21270
21274
|
V(R($a), {
|
|
21271
21275
|
style: { height: "70vh" },
|
|
21272
21276
|
language: "ts",
|
|
21273
|
-
code: R(
|
|
21277
|
+
code: R(dN)(g.value)
|
|
21274
21278
|
}, null, 8, ["code"])
|
|
21275
21279
|
]),
|
|
21276
21280
|
_: 1
|
|
@@ -21283,7 +21287,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21283
21287
|
V(R($a), {
|
|
21284
21288
|
style: { height: "70vh" },
|
|
21285
21289
|
language: "js",
|
|
21286
|
-
code: R(
|
|
21290
|
+
code: R(DN)(g.value)
|
|
21287
21291
|
}, null, 8, ["code"])
|
|
21288
21292
|
]),
|
|
21289
21293
|
_: 1
|
|
@@ -21296,7 +21300,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21296
21300
|
V(R($a), {
|
|
21297
21301
|
style: { height: "70vh" },
|
|
21298
21302
|
language: "json",
|
|
21299
|
-
code: R(
|
|
21303
|
+
code: R(pN)
|
|
21300
21304
|
}, null, 8, ["code"])
|
|
21301
21305
|
]),
|
|
21302
21306
|
_: 1
|
|
@@ -21309,7 +21313,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21309
21313
|
}, 8, ["modelValue", "title"]);
|
|
21310
21314
|
};
|
|
21311
21315
|
}
|
|
21312
|
-
}),
|
|
21316
|
+
}), mN = /* @__PURE__ */ GA({
|
|
21313
21317
|
__name: "VueCode",
|
|
21314
21318
|
props: {
|
|
21315
21319
|
modelValue: { type: Boolean },
|
|
@@ -21342,7 +21346,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21342
21346
|
default: tA(() => [
|
|
21343
21347
|
V(R($a), {
|
|
21344
21348
|
style: { height: "70vh" },
|
|
21345
|
-
code: R(
|
|
21349
|
+
code: R(uN)(R(A).schema),
|
|
21346
21350
|
language: "vue"
|
|
21347
21351
|
}, null, 8, ["code"])
|
|
21348
21352
|
]),
|
|
@@ -21355,7 +21359,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21355
21359
|
default: tA(() => [
|
|
21356
21360
|
V(R($a), {
|
|
21357
21361
|
style: { height: "70vh" },
|
|
21358
|
-
code: R(
|
|
21362
|
+
code: R(wN)(R(A).schema),
|
|
21359
21363
|
language: "vue"
|
|
21360
21364
|
}, null, 8, ["code"])
|
|
21361
21365
|
]),
|
|
@@ -21369,7 +21373,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21369
21373
|
}, 8, ["modelValue", "title"]);
|
|
21370
21374
|
};
|
|
21371
21375
|
}
|
|
21372
|
-
}),
|
|
21376
|
+
}), fN = { style: { "text-align": "center" } }, bN = /* @__PURE__ */ GA({
|
|
21373
21377
|
__name: "Preview",
|
|
21374
21378
|
props: {
|
|
21375
21379
|
modelValue: { type: Boolean },
|
|
@@ -21377,7 +21381,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21377
21381
|
},
|
|
21378
21382
|
emits: ["update:modelValue"],
|
|
21379
21383
|
setup(t) {
|
|
21380
|
-
const A = dt(), { JsonEdit: e } = Ia(), a =
|
|
21384
|
+
const A = dt(), { JsonEdit: e } = Ia(), a = YA("edit"), s = YA(), g = YA({}), B = pe(t, "modelValue"), Q = JA(() => {
|
|
21381
21385
|
var C;
|
|
21382
21386
|
return (C = s.value) == null ? void 0 : C.context;
|
|
21383
21387
|
}), r = Cn(), c = async () => {
|
|
@@ -21419,7 +21423,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21419
21423
|
schemaContext: R(A).schemaContext,
|
|
21420
21424
|
style: { minHeight: "200px", padding: "20px" }
|
|
21421
21425
|
}, null, 8, ["modelValue", "schema", "schemaContext"]),
|
|
21422
|
-
F("div",
|
|
21426
|
+
F("div", fN, [
|
|
21423
21427
|
V(f, {
|
|
21424
21428
|
onClick: c,
|
|
21425
21429
|
type: "primary"
|
|
@@ -21483,7 +21487,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21483
21487
|
}, 8, ["modelValue", "title"]);
|
|
21484
21488
|
};
|
|
21485
21489
|
}
|
|
21486
|
-
}),
|
|
21490
|
+
}), yN = /* @__PURE__ */ iA(bN, [["__scopeId", "data-v-1bcfb7d6"]]), _N = /* @__PURE__ */ GA({
|
|
21487
21491
|
__name: "ChangeLang",
|
|
21488
21492
|
setup(t) {
|
|
21489
21493
|
const A = jA("asiaint-lang");
|
|
@@ -21508,10 +21512,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21508
21512
|
}, 8, ["modelValue"]);
|
|
21509
21513
|
};
|
|
21510
21514
|
}
|
|
21511
|
-
}),
|
|
21515
|
+
}), MN = /* @__PURE__ */ GA({
|
|
21512
21516
|
__name: "index",
|
|
21513
21517
|
setup(t) {
|
|
21514
|
-
const A = dt(), e = Cn(), a =
|
|
21518
|
+
const A = dt(), e = Cn(), a = YA(!1), s = YA(!1), g = YA(!1), B = JA(() => [
|
|
21515
21519
|
{
|
|
21516
21520
|
label: e.value.actions.previewJson,
|
|
21517
21521
|
btnType: "primary",
|
|
@@ -21536,7 +21540,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21536
21540
|
g.value = !0;
|
|
21537
21541
|
}
|
|
21538
21542
|
}
|
|
21539
|
-
]), Q =
|
|
21543
|
+
]), Q = JA(() => [
|
|
21540
21544
|
{
|
|
21541
21545
|
label: e.value.actions.clear,
|
|
21542
21546
|
btnType: "danger",
|
|
@@ -21583,7 +21587,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21583
21587
|
key: "0"
|
|
21584
21588
|
} : void 0
|
|
21585
21589
|
]), 1032, ["type", "onClick"]))), 128)),
|
|
21586
|
-
V(
|
|
21590
|
+
V(_N, {
|
|
21587
21591
|
class: bA(R(UA)("actions-left-lang"))
|
|
21588
21592
|
}, null, 8, ["class"])
|
|
21589
21593
|
], 2),
|
|
@@ -21610,15 +21614,15 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21610
21614
|
} : void 0
|
|
21611
21615
|
]), 1032, ["type", "onClick"]))), 128))
|
|
21612
21616
|
], 2),
|
|
21613
|
-
V(
|
|
21617
|
+
V(hN, {
|
|
21614
21618
|
modelValue: a.value,
|
|
21615
21619
|
"onUpdate:modelValue": c[0] || (c[0] = (C) => a.value = C)
|
|
21616
21620
|
}, null, 8, ["modelValue"]),
|
|
21617
|
-
V(
|
|
21621
|
+
V(mN, {
|
|
21618
21622
|
modelValue: s.value,
|
|
21619
21623
|
"onUpdate:modelValue": c[1] || (c[1] = (C) => s.value = C)
|
|
21620
21624
|
}, null, 8, ["modelValue"]),
|
|
21621
|
-
V(
|
|
21625
|
+
V(yN, {
|
|
21622
21626
|
modelValue: g.value,
|
|
21623
21627
|
"onUpdate:modelValue": c[2] || (c[2] = (C) => g.value = C),
|
|
21624
21628
|
"schema-context": R(A).schemaContext
|
|
@@ -21626,14 +21630,14 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21626
21630
|
], 2);
|
|
21627
21631
|
};
|
|
21628
21632
|
}
|
|
21629
|
-
}),
|
|
21633
|
+
}), FN = /* @__PURE__ */ GA({
|
|
21630
21634
|
__name: "index",
|
|
21631
21635
|
setup(t) {
|
|
21632
21636
|
const A = dt();
|
|
21633
21637
|
return (e, a) => (M(), K("div", {
|
|
21634
21638
|
class: bA(R(UA)("form-design-center"))
|
|
21635
21639
|
}, [
|
|
21636
|
-
V(
|
|
21640
|
+
V(MN),
|
|
21637
21641
|
V(R(Ft), {
|
|
21638
21642
|
class: bA(R(UA)("canvas")),
|
|
21639
21643
|
schema: R(A).schema,
|
|
@@ -21642,7 +21646,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21642
21646
|
}, null, 8, ["class", "schema"])
|
|
21643
21647
|
], 2));
|
|
21644
21648
|
}
|
|
21645
|
-
}),
|
|
21649
|
+
}), kN = () => ({
|
|
21646
21650
|
labelWidth: 100,
|
|
21647
21651
|
labelPosition: "top",
|
|
21648
21652
|
items: [
|
|
@@ -21690,7 +21694,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21690
21694
|
}
|
|
21691
21695
|
}
|
|
21692
21696
|
]
|
|
21693
|
-
}),
|
|
21697
|
+
}), vN = /* @__PURE__ */ GA({
|
|
21694
21698
|
__name: "Change",
|
|
21695
21699
|
props: {
|
|
21696
21700
|
modelValue: { type: Boolean },
|
|
@@ -21712,14 +21716,14 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21712
21716
|
V(R(Ft), {
|
|
21713
21717
|
modelValue: R(A).current,
|
|
21714
21718
|
"onUpdate:modelValue": s[0] || (s[0] = (B) => R(A).current = B),
|
|
21715
|
-
schema: R(
|
|
21719
|
+
schema: R(kN)()
|
|
21716
21720
|
}, null, 8, ["modelValue", "schema"])
|
|
21717
21721
|
]),
|
|
21718
21722
|
_: 1
|
|
21719
21723
|
}, 8, ["modelValue"]);
|
|
21720
21724
|
};
|
|
21721
21725
|
}
|
|
21722
|
-
}),
|
|
21726
|
+
}), NN = {
|
|
21723
21727
|
labelWidth: 100,
|
|
21724
21728
|
labelPosition: "top",
|
|
21725
21729
|
items: [
|
|
@@ -21735,7 +21739,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21735
21739
|
}
|
|
21736
21740
|
}
|
|
21737
21741
|
]
|
|
21738
|
-
},
|
|
21742
|
+
}, GN = { class: "config-linkages" }, LN = /* @__PURE__ */ GA({
|
|
21739
21743
|
__name: "Config",
|
|
21740
21744
|
props: {
|
|
21741
21745
|
modelValue: { type: Boolean },
|
|
@@ -21744,7 +21748,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21744
21748
|
emits: ["update:modelValue"],
|
|
21745
21749
|
setup(t) {
|
|
21746
21750
|
const A = dt(), e = pe(t, "modelValue");
|
|
21747
|
-
return
|
|
21751
|
+
return YA({}), (a, s) => {
|
|
21748
21752
|
var B;
|
|
21749
21753
|
const g = IA("el-dialog");
|
|
21750
21754
|
return M(), EA(g, {
|
|
@@ -21757,11 +21761,11 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21757
21761
|
center: ""
|
|
21758
21762
|
}, {
|
|
21759
21763
|
default: tA(() => [
|
|
21760
|
-
F("div",
|
|
21764
|
+
F("div", GN, [
|
|
21761
21765
|
V(R(Ft), {
|
|
21762
21766
|
modelValue: R(A).current,
|
|
21763
21767
|
"onUpdate:modelValue": s[0] || (s[0] = (Q) => R(A).current = Q),
|
|
21764
|
-
schema: R(
|
|
21768
|
+
schema: R(NN),
|
|
21765
21769
|
class: "edit"
|
|
21766
21770
|
}, null, 8, ["modelValue", "schema"])
|
|
21767
21771
|
])
|
|
@@ -21770,10 +21774,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21770
21774
|
}, 8, ["modelValue", "title"]);
|
|
21771
21775
|
};
|
|
21772
21776
|
}
|
|
21773
|
-
}),
|
|
21777
|
+
}), RN = /* @__PURE__ */ iA(LN, [["__scopeId", "data-v-094ed7f6"]]), HN = /* @__PURE__ */ GA({
|
|
21774
21778
|
__name: "index",
|
|
21775
21779
|
setup(t) {
|
|
21776
|
-
const A = Cn(), e =
|
|
21780
|
+
const A = Cn(), e = YA(!1), a = YA(!1), s = JA(() => [
|
|
21777
21781
|
{
|
|
21778
21782
|
title: A.value.attr.tab1.linkage.action1,
|
|
21779
21783
|
onClick: () => {
|
|
@@ -21814,18 +21818,18 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21814
21818
|
_: 2
|
|
21815
21819
|
}, 1032, ["onClick"]))), 128))
|
|
21816
21820
|
], 2),
|
|
21817
|
-
V(
|
|
21821
|
+
V(RN, {
|
|
21818
21822
|
modelValue: e.value,
|
|
21819
21823
|
"onUpdate:modelValue": B[0] || (B[0] = (c) => e.value = c)
|
|
21820
21824
|
}, null, 8, ["modelValue"]),
|
|
21821
|
-
V(
|
|
21825
|
+
V(vN, {
|
|
21822
21826
|
modelValue: a.value,
|
|
21823
21827
|
"onUpdate:modelValue": B[1] || (B[1] = (c) => a.value = c)
|
|
21824
21828
|
}, null, 8, ["modelValue"])
|
|
21825
21829
|
], 2);
|
|
21826
21830
|
};
|
|
21827
21831
|
}
|
|
21828
|
-
}),
|
|
21832
|
+
}), KN = {
|
|
21829
21833
|
labelWidth: 60,
|
|
21830
21834
|
labelPosition: "right",
|
|
21831
21835
|
size: "small",
|
|
@@ -21902,7 +21906,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
21902
21906
|
name: "style.height"
|
|
21903
21907
|
}
|
|
21904
21908
|
]
|
|
21905
|
-
},
|
|
21909
|
+
}, PN = {
|
|
21906
21910
|
labelWidth: 60,
|
|
21907
21911
|
labelPosition: "top",
|
|
21908
21912
|
size: "small",
|
|
@@ -22376,7 +22380,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22376
22380
|
name: "style"
|
|
22377
22381
|
}
|
|
22378
22382
|
]
|
|
22379
|
-
},
|
|
22383
|
+
}, UN = { class: "more" }, xN = /* @__PURE__ */ GA({
|
|
22380
22384
|
__name: "index",
|
|
22381
22385
|
props: {
|
|
22382
22386
|
modelValue: {},
|
|
@@ -22384,7 +22388,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22384
22388
|
},
|
|
22385
22389
|
emits: ["update:modelValue"],
|
|
22386
22390
|
setup(t) {
|
|
22387
|
-
const A = pe(t, "modelValue"), e =
|
|
22391
|
+
const A = pe(t, "modelValue"), e = YA(!1);
|
|
22388
22392
|
return (a, s) => {
|
|
22389
22393
|
const g = IA("el-divider"), B = IA("el-button"), Q = IA("el-drawer");
|
|
22390
22394
|
return M(), K("div", {
|
|
@@ -22399,10 +22403,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22399
22403
|
V(R(Ft), {
|
|
22400
22404
|
modelValue: A.value,
|
|
22401
22405
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => A.value = r),
|
|
22402
|
-
schema: R(
|
|
22406
|
+
schema: R(KN),
|
|
22403
22407
|
ref: "formRef"
|
|
22404
22408
|
}, null, 8, ["modelValue", "schema"]),
|
|
22405
|
-
F("div",
|
|
22409
|
+
F("div", UN, [
|
|
22406
22410
|
V(B, {
|
|
22407
22411
|
type: "primary",
|
|
22408
22412
|
plain: "",
|
|
@@ -22424,7 +22428,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22424
22428
|
V(R(Ft), {
|
|
22425
22429
|
modelValue: A.value,
|
|
22426
22430
|
"onUpdate:modelValue": s[2] || (s[2] = (r) => A.value = r),
|
|
22427
|
-
schema: R(
|
|
22431
|
+
schema: R(PN),
|
|
22428
22432
|
ref: "formRef",
|
|
22429
22433
|
style: { padding: "0 15px" }
|
|
22430
22434
|
}, null, 8, ["modelValue", "schema"])
|
|
@@ -22434,7 +22438,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22434
22438
|
], 2);
|
|
22435
22439
|
};
|
|
22436
22440
|
}
|
|
22437
|
-
}),
|
|
22441
|
+
}), SN = /* @__PURE__ */ GA({
|
|
22438
22442
|
__name: "index",
|
|
22439
22443
|
props: {
|
|
22440
22444
|
modelValue: { required: !0 },
|
|
@@ -22442,7 +22446,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22442
22446
|
},
|
|
22443
22447
|
emits: ["update:modelValue"],
|
|
22444
22448
|
setup(t) {
|
|
22445
|
-
const A = Ia(), e = JB(), a = pe(t, "modelValue"), s =
|
|
22449
|
+
const A = Ia(), e = JB(), a = pe(t, "modelValue"), s = JA(() => {
|
|
22446
22450
|
const B = A[a.value.component];
|
|
22447
22451
|
if (B != null && B.attrSchema) {
|
|
22448
22452
|
const Q = (c = []) => c.map((I) => {
|
|
@@ -22474,7 +22478,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22474
22478
|
};
|
|
22475
22479
|
}
|
|
22476
22480
|
return { size: "small", labelPosition: "top", items: [] };
|
|
22477
|
-
}), g =
|
|
22481
|
+
}), g = JA({
|
|
22478
22482
|
get() {
|
|
22479
22483
|
var B;
|
|
22480
22484
|
return ((B = a.value) == null ? void 0 : B.props) || {};
|
|
@@ -22492,18 +22496,18 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22492
22496
|
"onUpdate:modelValue": Q[0] || (Q[0] = (r) => a.value = r),
|
|
22493
22497
|
schema: s.value
|
|
22494
22498
|
}, null, 8, ["modelValue", "schema"])),
|
|
22495
|
-
(M(), EA(
|
|
22499
|
+
(M(), EA(xN, {
|
|
22496
22500
|
key: a.value.designKey,
|
|
22497
22501
|
modelValue: g.value,
|
|
22498
22502
|
"onUpdate:modelValue": Q[1] || (Q[1] = (r) => g.value = r)
|
|
22499
22503
|
}, null, 8, ["modelValue"])),
|
|
22500
|
-
V(
|
|
22504
|
+
V(HN, {
|
|
22501
22505
|
modelValue: a.value,
|
|
22502
22506
|
"onUpdate:modelValue": Q[2] || (Q[2] = (r) => a.value = r)
|
|
22503
22507
|
}, null, 8, ["modelValue"])
|
|
22504
22508
|
], 2));
|
|
22505
22509
|
}
|
|
22506
|
-
}),
|
|
22510
|
+
}), YN = {
|
|
22507
22511
|
size: "small",
|
|
22508
22512
|
labelPosition: "top",
|
|
22509
22513
|
items: [
|
|
@@ -22583,10 +22587,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22583
22587
|
name: "dataModel"
|
|
22584
22588
|
}
|
|
22585
22589
|
]
|
|
22586
|
-
},
|
|
22590
|
+
}, JN = /* @__PURE__ */ GA({
|
|
22587
22591
|
__name: "FormEdit",
|
|
22588
22592
|
setup(t) {
|
|
22589
|
-
const A = dt(), e =
|
|
22593
|
+
const A = dt(), e = JA({
|
|
22590
22594
|
get() {
|
|
22591
22595
|
return A.schema;
|
|
22592
22596
|
},
|
|
@@ -22597,10 +22601,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22597
22601
|
return (a, s) => (M(), EA(R(Ft), {
|
|
22598
22602
|
modelValue: e.value,
|
|
22599
22603
|
"onUpdate:modelValue": s[0] || (s[0] = (g) => e.value = g),
|
|
22600
|
-
schema: R(
|
|
22604
|
+
schema: R(YN)
|
|
22601
22605
|
}, null, 8, ["modelValue", "schema"]));
|
|
22602
22606
|
}
|
|
22603
|
-
}),
|
|
22607
|
+
}), ON = /* @__PURE__ */ GA({
|
|
22604
22608
|
__name: "index",
|
|
22605
22609
|
setup(t) {
|
|
22606
22610
|
const A = Cn(), e = dt();
|
|
@@ -22625,7 +22629,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22625
22629
|
name: "attr"
|
|
22626
22630
|
}, {
|
|
22627
22631
|
default: tA(() => [
|
|
22628
|
-
V(
|
|
22632
|
+
V(SN, {
|
|
22629
22633
|
modelValue: R(e).current,
|
|
22630
22634
|
"onUpdate:modelValue": s[0] || (s[0] = (Q) => R(e).current = Q)
|
|
22631
22635
|
}, null, 8, ["modelValue"])
|
|
@@ -22637,7 +22641,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22637
22641
|
name: "form"
|
|
22638
22642
|
}, {
|
|
22639
22643
|
default: tA(() => [
|
|
22640
|
-
V(
|
|
22644
|
+
V(JN)
|
|
22641
22645
|
]),
|
|
22642
22646
|
_: 1
|
|
22643
22647
|
}, 8, ["label"])
|
|
@@ -22647,7 +22651,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22647
22651
|
], 2);
|
|
22648
22652
|
};
|
|
22649
22653
|
}
|
|
22650
|
-
}),
|
|
22654
|
+
}), zN = /* @__PURE__ */ GA({
|
|
22651
22655
|
__name: "index",
|
|
22652
22656
|
props: /* @__PURE__ */ Mt({
|
|
22653
22657
|
schemaContext: { default: () => ({}) },
|
|
@@ -22667,14 +22671,14 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22667
22671
|
}),
|
|
22668
22672
|
emits: /* @__PURE__ */ Mt(["onSave", "save", "add"], ["update:modelValue"]),
|
|
22669
22673
|
setup(t, { emit: A }) {
|
|
22670
|
-
const e = t, a = A, s =
|
|
22674
|
+
const e = t, a = A, s = YA(""), g = pe(t, "modelValue"), B = JA({
|
|
22671
22675
|
get() {
|
|
22672
22676
|
return g.value.items;
|
|
22673
22677
|
},
|
|
22674
22678
|
set(c) {
|
|
22675
22679
|
g.value.items = c;
|
|
22676
22680
|
}
|
|
22677
|
-
}), Q =
|
|
22681
|
+
}), Q = JA({
|
|
22678
22682
|
get() {
|
|
22679
22683
|
return YB(B.value, s.value);
|
|
22680
22684
|
},
|
|
@@ -22708,15 +22712,15 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22708
22712
|
return Rt(kC, r), (c, I) => (M(), K("div", ve({
|
|
22709
22713
|
class: R(UA)("form-design")
|
|
22710
22714
|
}, c.$attrs), [
|
|
22711
|
-
V(
|
|
22712
|
-
V(
|
|
22713
|
-
V(
|
|
22715
|
+
V(IN),
|
|
22716
|
+
V(FN),
|
|
22717
|
+
V(ON)
|
|
22714
22718
|
], 16));
|
|
22715
22719
|
}
|
|
22716
|
-
}),
|
|
22720
|
+
}), ZN = { class: "card-header" }, qN = { class: "card-btns" }, TN = {
|
|
22717
22721
|
key: 0,
|
|
22718
22722
|
class: "switch-panel"
|
|
22719
|
-
},
|
|
22723
|
+
}, jN = /* @__PURE__ */ GA({
|
|
22720
22724
|
__name: "CardWrapper",
|
|
22721
22725
|
props: {
|
|
22722
22726
|
collapsible: { type: Boolean },
|
|
@@ -22727,7 +22731,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22727
22731
|
switchTableType: {}
|
|
22728
22732
|
},
|
|
22729
22733
|
setup(t) {
|
|
22730
|
-
const A = t, e =
|
|
22734
|
+
const A = t, e = YA(!1), a = JA(() => A.btns ? A.btns.map((s) => ({
|
|
22731
22735
|
isLinkBtn: !0,
|
|
22732
22736
|
//如果没有传入isLinkBtn,则默认设置为true
|
|
22733
22737
|
...s
|
|
@@ -22739,7 +22743,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22739
22743
|
shadow: "never"
|
|
22740
22744
|
}), {
|
|
22741
22745
|
header: tA(() => [
|
|
22742
|
-
F("div",
|
|
22746
|
+
F("div", ZN, [
|
|
22743
22747
|
s.collapsible ? (M(), K("div", {
|
|
22744
22748
|
key: 0,
|
|
22745
22749
|
class: "icon-wrapper",
|
|
@@ -22751,8 +22755,8 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22751
22755
|
}, null, 8, ["class"])
|
|
22752
22756
|
])) : pA("", !0),
|
|
22753
22757
|
F("span", null, RA(s.header), 1),
|
|
22754
|
-
F("div",
|
|
22755
|
-
s.typeSwitch ? (M(), K("div",
|
|
22758
|
+
F("div", qN, [
|
|
22759
|
+
s.typeSwitch ? (M(), K("div", TN, [
|
|
22756
22760
|
F("div", {
|
|
22757
22761
|
class: bA(["switch-icon-wrapper", { active: s.tableType === "card" }]),
|
|
22758
22762
|
onClick: g[1] || (g[1] = (r) => s.switchTableType("card"))
|
|
@@ -22790,13 +22794,13 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22790
22794
|
}, 16, ["class"]);
|
|
22791
22795
|
};
|
|
22792
22796
|
}
|
|
22793
|
-
}),
|
|
22797
|
+
}), $N = /* @__PURE__ */ iA(jN, [["__scopeId", "data-v-54fb65b5"]]), WN = { class: "card-list-item" }, VN = { class: "card-list-item-header" }, XN = { class: "card-list-item-header-title" }, AG = ["title"], eG = {
|
|
22794
22798
|
key: 0,
|
|
22795
22799
|
class: "card-list-item-header-title__sub"
|
|
22796
|
-
},
|
|
22800
|
+
}, tG = { class: "card-list-item-header-btns" }, nG = ["onClick"], aG = { class: "card-list-item-content" }, iG = { class: "card-list-item-content-item-label" }, sG = { class: "card-list-item-content-item-value" }, gG = {
|
|
22797
22801
|
key: 0,
|
|
22798
22802
|
class: "card-list-item-footer"
|
|
22799
|
-
},
|
|
22803
|
+
}, oG = { class: "card-list-item-footer-text" }, BG = /* @__PURE__ */ GA({
|
|
22800
22804
|
__name: "CardListItem",
|
|
22801
22805
|
props: {
|
|
22802
22806
|
data: {},
|
|
@@ -22815,16 +22819,16 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22815
22819
|
};
|
|
22816
22820
|
return (B, Q) => {
|
|
22817
22821
|
const r = IA("el-tooltip");
|
|
22818
|
-
return M(), K("div",
|
|
22819
|
-
F("div",
|
|
22820
|
-
F("div",
|
|
22822
|
+
return M(), K("div", WN, [
|
|
22823
|
+
F("div", VN, [
|
|
22824
|
+
F("div", XN, [
|
|
22821
22825
|
F("div", {
|
|
22822
22826
|
class: bA(["card-list-item-header-title__text", { "link-style": B.data.titleType === "link" }]),
|
|
22823
22827
|
style: Ue({ color: B.data.titleColor }),
|
|
22824
22828
|
title: B.data.title,
|
|
22825
22829
|
onClick: Q[0] || (Q[0] = (c) => g(B.data.onClick))
|
|
22826
|
-
}, RA(B.data.title), 15,
|
|
22827
|
-
B.data.subTitle ? (M(), K("div",
|
|
22830
|
+
}, RA(B.data.title), 15, AG),
|
|
22831
|
+
B.data.subTitle ? (M(), K("div", eG, [
|
|
22828
22832
|
F("span", {
|
|
22829
22833
|
class: "card-list-item-header-title__sub-icon",
|
|
22830
22834
|
style: Ue({ backgroundColor: B.data.subTitleColor || "#3EBF17" })
|
|
@@ -22832,7 +22836,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22832
22836
|
F("span", null, RA(B.data.subTitle), 1)
|
|
22833
22837
|
])) : pA("", !0)
|
|
22834
22838
|
]),
|
|
22835
|
-
F("div",
|
|
22839
|
+
F("div", tG, [
|
|
22836
22840
|
(M(!0), K(TA, null, le(B.btns, (c, I) => (M(), K(TA, { key: I }, [
|
|
22837
22841
|
c.condition === void 0 || c.condition === null || R(Ea)(c.condition, {
|
|
22838
22842
|
$row: B.data.originalData,
|
|
@@ -22861,32 +22865,32 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22861
22865
|
key: 1,
|
|
22862
22866
|
name: c.icon
|
|
22863
22867
|
}, null, 8, ["name"]))
|
|
22864
|
-
], 8,
|
|
22868
|
+
], 8, nG)) : pA("", !0)
|
|
22865
22869
|
], 64))), 128))
|
|
22866
22870
|
])
|
|
22867
22871
|
]),
|
|
22868
|
-
F("div",
|
|
22872
|
+
F("div", aG, [
|
|
22869
22873
|
(M(!0), K(TA, null, le(B.data.content, (c) => (M(), K("div", {
|
|
22870
22874
|
class: "card-list-item-content-item",
|
|
22871
22875
|
key: c.label
|
|
22872
22876
|
}, [
|
|
22873
|
-
F("div",
|
|
22874
|
-
F("div",
|
|
22877
|
+
F("div", iG, RA(c.label) + ":", 1),
|
|
22878
|
+
F("div", sG, RA(c.value || "- -"), 1)
|
|
22875
22879
|
]))), 128))
|
|
22876
22880
|
]),
|
|
22877
|
-
B.data.footer ? (M(), K("div",
|
|
22881
|
+
B.data.footer ? (M(), K("div", gG, [
|
|
22878
22882
|
V(Bt, {
|
|
22879
22883
|
name: B.data.footer.icon
|
|
22880
22884
|
}, null, 8, ["name"]),
|
|
22881
|
-
F("span",
|
|
22885
|
+
F("span", oG, RA(B.data.footer.text || "- -"), 1)
|
|
22882
22886
|
])) : pA("", !0)
|
|
22883
22887
|
]);
|
|
22884
22888
|
};
|
|
22885
22889
|
}
|
|
22886
|
-
}),
|
|
22890
|
+
}), rG = /* @__PURE__ */ iA(BG, [["__scopeId", "data-v-459f09b2"]]), QG = {
|
|
22887
22891
|
key: 0,
|
|
22888
22892
|
class: "empty-content"
|
|
22889
|
-
},
|
|
22893
|
+
}, EG = /* @__PURE__ */ GA({
|
|
22890
22894
|
__name: "CardList",
|
|
22891
22895
|
props: {
|
|
22892
22896
|
title: {},
|
|
@@ -22923,12 +22927,12 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22923
22927
|
},
|
|
22924
22928
|
setup(t) {
|
|
22925
22929
|
var c, I;
|
|
22926
|
-
const A = t, e =
|
|
22930
|
+
const A = t, e = JA(() => A.rowBtns ? A.rowBtns.map((C) => ({
|
|
22927
22931
|
condition: C.condition,
|
|
22928
22932
|
icon: C.icon && C.icon.name ? C.icon.name : "icon-tishi",
|
|
22929
22933
|
label: C.label,
|
|
22930
22934
|
onClick: C.onClick
|
|
22931
|
-
})) : []), a = (c = A.columns.find((C) => C.position === "title")) == null ? void 0 : c.key, s = (I = A.columns.find((C) => C.position === "subTitle")) == null ? void 0 : I.key, g = A.columns.find((C) => C.position === "footer"), B =
|
|
22935
|
+
})) : []), a = (c = A.columns.find((C) => C.position === "title")) == null ? void 0 : c.key, s = (I = A.columns.find((C) => C.position === "subTitle")) == null ? void 0 : I.key, g = A.columns.find((C) => C.position === "footer"), B = JA(() => {
|
|
22932
22936
|
const C = A.columns.find((p) => p.type === "link" && p.onClick);
|
|
22933
22937
|
return A.data ? A.data.map((p) => {
|
|
22934
22938
|
const f = {
|
|
@@ -22962,14 +22966,14 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22962
22966
|
class: "card-list-item",
|
|
22963
22967
|
key: m
|
|
22964
22968
|
}, [
|
|
22965
|
-
V(
|
|
22969
|
+
V(rG, {
|
|
22966
22970
|
data: f,
|
|
22967
22971
|
btns: e.value,
|
|
22968
22972
|
index: m
|
|
22969
22973
|
}, null, 8, ["data", "btns", "index"])
|
|
22970
22974
|
]))), 128))
|
|
22971
22975
|
], 4),
|
|
22972
|
-
!C.data || C.data.length === 0 ? (M(), K("div",
|
|
22976
|
+
!C.data || C.data.length === 0 ? (M(), K("div", QG, [
|
|
22973
22977
|
V(R(cA), {
|
|
22974
22978
|
name: "tableEmpty",
|
|
22975
22979
|
style: { width: 56, height: 56 }
|
|
@@ -22978,10 +22982,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22978
22982
|
])) : pA("", !0)
|
|
22979
22983
|
]));
|
|
22980
22984
|
}
|
|
22981
|
-
}), FB = /* @__PURE__ */ iA(
|
|
22985
|
+
}), FB = /* @__PURE__ */ iA(EG, [["__scopeId", "data-v-8095535a"]]), cG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22982
22986
|
__proto__: null,
|
|
22983
22987
|
default: FB
|
|
22984
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
22988
|
+
}, Symbol.toStringTag, { value: "Module" })), CG = ["id"], lG = { class: "empty-content" }, IG = ["title"], uG = ["title", "onClick"], wG = ["title"], pG = { class: "row-btn-wrapper" }, dG = { class: "empty-content" }, DG = ["title"], hG = ["title", "onClick"], mG = ["title"], fG = { class: "row-btn-wrapper" }, bG = /* @__PURE__ */ GA({
|
|
22985
22989
|
__name: "index",
|
|
22986
22990
|
props: /* @__PURE__ */ Mt({
|
|
22987
22991
|
design: { type: Boolean },
|
|
@@ -22997,10 +23001,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
22997
23001
|
}),
|
|
22998
23002
|
emits: ["update:schema", "update:modelValue"],
|
|
22999
23003
|
setup(t, { expose: A }) {
|
|
23000
|
-
const e = t, a = pe(t, "schema"), s =
|
|
23004
|
+
const e = t, a = pe(t, "schema"), s = JA(() => a.value.rulePath && g[a.value.rulePath] ? a.value.rulePath : e.pageRulePath), g = jA("ruleMap", {}), B = jA("pageMethodMap", {}), Q = jA("getGlobalParams", () => {
|
|
23001
23005
|
}), r = jA(Hn), c = r ? r.translateFn : null;
|
|
23002
23006
|
s.value && Rt("ruleModule", g[s.value]);
|
|
23003
|
-
const I =
|
|
23007
|
+
const I = YA(), C = pe(t, "modelValue"), p = (nA, BA) => {
|
|
23004
23008
|
const _A = a.value.columns.find((XA) => XA.key === nA);
|
|
23005
23009
|
_A && (_A.hidden = !BA);
|
|
23006
23010
|
}, f = (nA, BA, _A) => {
|
|
@@ -23024,14 +23028,14 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23024
23028
|
} catch (BA) {
|
|
23025
23029
|
console.error(BA);
|
|
23026
23030
|
}
|
|
23027
|
-
}, h =
|
|
23031
|
+
}, h = YA([]), u = (nA) => {
|
|
23028
23032
|
h.value = nA;
|
|
23029
23033
|
}, b = (nA, BA, _A) => {
|
|
23030
23034
|
C.value[nA] && (C.value[nA][BA] = _A);
|
|
23031
23035
|
}, J = () => {
|
|
23032
23036
|
var nA;
|
|
23033
23037
|
(nA = I.value) == null || nA.clearSelection();
|
|
23034
|
-
}, U = () => C.value, $ =
|
|
23038
|
+
}, U = () => C.value, $ = YA(), N = (nA) => {
|
|
23035
23039
|
if ($.value = nA, !(!a.value.handleCurrentChange || !s.value))
|
|
23036
23040
|
try {
|
|
23037
23041
|
g[s.value][a.value.handleCurrentChange](B, nA);
|
|
@@ -23057,9 +23061,9 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23057
23061
|
var XA;
|
|
23058
23062
|
const _A = (XA = a.value.rowBtns) == null ? void 0 : XA.find((Se) => Se.key === nA);
|
|
23059
23063
|
_A && (_A.condition = !BA);
|
|
23060
|
-
}, mA =
|
|
23064
|
+
}, mA = YA(0), $A = (nA) => {
|
|
23061
23065
|
mA.value = nA;
|
|
23062
|
-
}, x =
|
|
23066
|
+
}, x = YA({ pageNum: 1, pageSize: a.value.defaultPageSize || 5 }), P = () => x.value, q = (nA) => {
|
|
23063
23067
|
let BA = !1;
|
|
23064
23068
|
return nA.pageNum > -1 && (x.value.pageNum !== nA.pageNum && (BA = !0), x.value.pageNum = nA.pageNum), nA.pageSize > -1 && (x.value.pageSize !== nA.pageSize && (BA = !0), x.value.pageSize = nA.pageSize), console.log("zytest---setPagination--", BA), { pagination: x.value, isChange: BA };
|
|
23065
23069
|
}, X = (nA) => {
|
|
@@ -23138,7 +23142,8 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23138
23142
|
return a.value.hidden ? pA("", !0) : (M(), K("div", {
|
|
23139
23143
|
key: 0,
|
|
23140
23144
|
ref_key: "rootRef",
|
|
23141
|
-
ref: ye
|
|
23145
|
+
ref: ye,
|
|
23146
|
+
id: a.value.key
|
|
23142
23147
|
}, [
|
|
23143
23148
|
a.value.cardless ? (M(), K("div", {
|
|
23144
23149
|
key: 1,
|
|
@@ -23159,7 +23164,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23159
23164
|
height: a.value.height
|
|
23160
23165
|
}, {
|
|
23161
23166
|
empty: tA(() => [
|
|
23162
|
-
F("div",
|
|
23167
|
+
F("div", dG, [
|
|
23163
23168
|
V(R(cA), {
|
|
23164
23169
|
name: "tableEmpty",
|
|
23165
23170
|
style: { width: 56, height: 56 }
|
|
@@ -23186,7 +23191,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23186
23191
|
F("div", {
|
|
23187
23192
|
class: "text-ellipsis",
|
|
23188
23193
|
title: CA.label
|
|
23189
|
-
}, RA(CA.label), 9,
|
|
23194
|
+
}, RA(CA.label), 9, DG)
|
|
23190
23195
|
]),
|
|
23191
23196
|
default: tA(({ row: ae, $index: HA }) => [
|
|
23192
23197
|
CA.type === "link" ? (M(), K("div", {
|
|
@@ -23194,11 +23199,11 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23194
23199
|
class: "text-ellipsis link-style",
|
|
23195
23200
|
title: R(c) ? R(c)(CA.key, ae) : ae[CA.key],
|
|
23196
23201
|
onClick: (Pn) => f(CA, ae, HA)
|
|
23197
|
-
}, RA(R(c) ? R(c)(CA.key, ae) : ae[CA.key]), 9,
|
|
23202
|
+
}, RA(R(c) ? R(c)(CA.key, ae) : ae[CA.key]), 9, hG)) : (M(), K("div", {
|
|
23198
23203
|
key: 1,
|
|
23199
23204
|
class: "text-ellipsis",
|
|
23200
23205
|
title: R(c) ? R(c)(CA.key, ae) : ae[CA.key]
|
|
23201
|
-
}, RA(R(c) ? R(c)(CA.key, ae) : ae[CA.key]), 9,
|
|
23206
|
+
}, RA(R(c) ? R(c)(CA.key, ae) : ae[CA.key]), 9, mG))
|
|
23202
23207
|
]),
|
|
23203
23208
|
_: 2
|
|
23204
23209
|
}, 1032, ["prop", "min-width", "fixed"]))
|
|
@@ -23210,7 +23215,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23210
23215
|
align: "left"
|
|
23211
23216
|
}, {
|
|
23212
23217
|
default: tA(({ row: CA, $index: ae }) => [
|
|
23213
|
-
F("div",
|
|
23218
|
+
F("div", fG, [
|
|
23214
23219
|
(M(!0), K(TA, null, le(a.value.rowBtns, (HA) => (M(), K(TA, {
|
|
23215
23220
|
key: HA.key
|
|
23216
23221
|
}, [
|
|
@@ -23280,7 +23285,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23280
23285
|
onCurrentChange: QA
|
|
23281
23286
|
}, null, 8, ["total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
|
|
23282
23287
|
], 2)
|
|
23283
|
-
], 2)) : (M(), EA(
|
|
23288
|
+
], 2)) : (M(), EA($N, {
|
|
23284
23289
|
key: 0,
|
|
23285
23290
|
header: a.value.title,
|
|
23286
23291
|
btns: a.value.topBtns,
|
|
@@ -23308,7 +23313,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23308
23313
|
height: a.value.height
|
|
23309
23314
|
}, {
|
|
23310
23315
|
empty: tA(() => [
|
|
23311
|
-
F("div",
|
|
23316
|
+
F("div", lG, [
|
|
23312
23317
|
V(R(cA), {
|
|
23313
23318
|
name: "tableEmpty",
|
|
23314
23319
|
style: { width: 56, height: 56 }
|
|
@@ -23335,7 +23340,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23335
23340
|
F("div", {
|
|
23336
23341
|
class: "text-ellipsis",
|
|
23337
23342
|
title: CA.label
|
|
23338
|
-
}, RA(CA.label), 9,
|
|
23343
|
+
}, RA(CA.label), 9, IG)
|
|
23339
23344
|
]),
|
|
23340
23345
|
default: tA(({ row: ae, $index: HA }) => [
|
|
23341
23346
|
CA.type === "link" ? (M(), K("div", {
|
|
@@ -23343,11 +23348,11 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23343
23348
|
class: "text-ellipsis link-style",
|
|
23344
23349
|
title: R(c) ? R(c)(CA.key, ae) : ae[CA.key],
|
|
23345
23350
|
onClick: (Pn) => f(CA, ae, HA)
|
|
23346
|
-
}, RA(R(c) ? R(c)(CA.key, ae) : ae[CA.key]), 9,
|
|
23351
|
+
}, RA(R(c) ? R(c)(CA.key, ae) : ae[CA.key]), 9, uG)) : (M(), K("div", {
|
|
23347
23352
|
key: 1,
|
|
23348
23353
|
class: "text-ellipsis",
|
|
23349
23354
|
title: R(c) ? R(c)(CA.key, ae) : ae[CA.key]
|
|
23350
|
-
}, RA(R(c) ? R(c)(CA.key, ae) : ae[CA.key]), 9,
|
|
23355
|
+
}, RA(R(c) ? R(c)(CA.key, ae) : ae[CA.key]), 9, wG))
|
|
23351
23356
|
]),
|
|
23352
23357
|
_: 2
|
|
23353
23358
|
}, 1032, ["prop", "min-width", "fixed"]))
|
|
@@ -23359,7 +23364,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23359
23364
|
align: "left"
|
|
23360
23365
|
}, {
|
|
23361
23366
|
default: tA(({ row: CA, $index: ae }) => [
|
|
23362
|
-
F("div",
|
|
23367
|
+
F("div", pG, [
|
|
23363
23368
|
(M(!0), K(TA, null, le(a.value.rowBtns, (HA) => (M(), K(TA, {
|
|
23364
23369
|
key: HA.key
|
|
23365
23370
|
}, [
|
|
@@ -23433,13 +23438,13 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23433
23438
|
]),
|
|
23434
23439
|
_: 1
|
|
23435
23440
|
}, 8, ["header", "btns", "collapsible", "tableType", "typeSwitch"]))
|
|
23436
|
-
],
|
|
23441
|
+
], 8, CG));
|
|
23437
23442
|
};
|
|
23438
23443
|
}
|
|
23439
|
-
}), jl = /* @__PURE__ */ iA(
|
|
23444
|
+
}), jl = /* @__PURE__ */ iA(bG, [["__scopeId", "data-v-59224192"]]), yG = ["id"], _G = { class: "tab-label" }, MG = { class: "tab-label-text" }, FG = {
|
|
23440
23445
|
key: 0,
|
|
23441
23446
|
class: "divider"
|
|
23442
|
-
},
|
|
23447
|
+
}, kG = /* @__PURE__ */ GA({
|
|
23443
23448
|
__name: "index",
|
|
23444
23449
|
props: /* @__PURE__ */ Mt({
|
|
23445
23450
|
ruleMap: {},
|
|
@@ -23450,9 +23455,9 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23450
23455
|
}),
|
|
23451
23456
|
emits: ["update:schema"],
|
|
23452
23457
|
setup(t, { expose: A }) {
|
|
23453
|
-
const e = pe(t, "schema"), a =
|
|
23458
|
+
const e = pe(t, "schema"), a = YA({}), s = YA({}), g = (m) => (G) => {
|
|
23454
23459
|
G ? s.value[m] = G : delete s.value[m];
|
|
23455
|
-
}, B =
|
|
23460
|
+
}, B = JA(
|
|
23456
23461
|
() => {
|
|
23457
23462
|
var m;
|
|
23458
23463
|
return (m = e.value.content.find((G) => G.url === c.value)) == null ? void 0 : m.mixMode;
|
|
@@ -23461,7 +23466,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23461
23466
|
e.value.content = m;
|
|
23462
23467
|
}, r = (m) => {
|
|
23463
23468
|
Array.isArray(m) ? e.value.content.push(...m) : e.value.content.push(m);
|
|
23464
|
-
}, c =
|
|
23469
|
+
}, c = YA(e.value.content[0].url), I = (m) => {
|
|
23465
23470
|
a.value[m] = !0, jt(() => {
|
|
23466
23471
|
a.value[m] = !1;
|
|
23467
23472
|
});
|
|
@@ -23483,7 +23488,8 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23483
23488
|
const h = IA("el-skeleton"), u = IA("el-tab-pane"), b = IA("el-tabs");
|
|
23484
23489
|
return M(), K("div", {
|
|
23485
23490
|
ref_key: "rootRef",
|
|
23486
|
-
ref: C
|
|
23491
|
+
ref: C,
|
|
23492
|
+
id: e.value.key
|
|
23487
23493
|
}, [
|
|
23488
23494
|
e.value.hidden ? pA("", !0) : (M(), EA(b, ve({ key: 0 }, e.value.tabProps, {
|
|
23489
23495
|
modelValue: c.value,
|
|
@@ -23501,9 +23507,9 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23501
23507
|
lazy: H !== 0
|
|
23502
23508
|
}, {
|
|
23503
23509
|
label: tA(() => [
|
|
23504
|
-
F("div",
|
|
23505
|
-
F("span",
|
|
23506
|
-
H !== e.value.content.length - 1 ? (M(), K("span",
|
|
23510
|
+
F("div", _G, [
|
|
23511
|
+
F("span", MG, RA(N.label), 1),
|
|
23512
|
+
H !== e.value.content.length - 1 ? (M(), K("span", FG)) : pA("", !0)
|
|
23507
23513
|
])
|
|
23508
23514
|
]),
|
|
23509
23515
|
default: tA(() => [
|
|
@@ -23533,16 +23539,13 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23533
23539
|
]),
|
|
23534
23540
|
_: 1
|
|
23535
23541
|
}, 16, ["modelValue", "style", "class"]))
|
|
23536
|
-
],
|
|
23542
|
+
], 8, yG);
|
|
23537
23543
|
};
|
|
23538
23544
|
}
|
|
23539
|
-
}),
|
|
23540
|
-
key: 0,
|
|
23541
|
-
class: "info-card-container"
|
|
23542
|
-
}, kG = { class: "info-card" }, vG = { class: "info-card-header" }, NG = { class: "left-part" }, GG = { class: "avatar" }, LG = { class: "title-part" }, RG = { class: "title" }, HG = { class: "sub-title-container" }, KG = { class: "sub-title" }, PG = { class: "info-card-detail" }, UG = { class: "label" }, xG = {
|
|
23545
|
+
}), vG = /* @__PURE__ */ iA(kG, [["__scopeId", "data-v-24504834"]]), NG = ["id"], GG = { class: "info-card" }, LG = { class: "info-card-header" }, RG = { class: "left-part" }, HG = { class: "avatar" }, KG = { class: "title-part" }, PG = { class: "title" }, UG = { class: "sub-title-container" }, xG = { class: "sub-title" }, SG = { class: "info-card-detail" }, YG = { class: "label" }, JG = {
|
|
23543
23546
|
key: 0,
|
|
23544
23547
|
class: "divider"
|
|
23545
|
-
},
|
|
23548
|
+
}, OG = /* @__PURE__ */ GA({
|
|
23546
23549
|
__name: "InfoCard",
|
|
23547
23550
|
props: /* @__PURE__ */ Mt({
|
|
23548
23551
|
pageRulePath: {}
|
|
@@ -23552,7 +23555,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23552
23555
|
}),
|
|
23553
23556
|
emits: ["update:schema"],
|
|
23554
23557
|
setup(t, { expose: A }) {
|
|
23555
|
-
const e = pe(t, "schema"), a = jA("ruleMap", {}), s = t, g =
|
|
23558
|
+
const e = pe(t, "schema"), a = jA("ruleMap", {}), s = t, g = JA(() => e.value.rulePath && a[e.value.rulePath] ? a[e.value.rulePath] : a[s.pageRulePath]);
|
|
23556
23559
|
Rt("ruleModule", g.value);
|
|
23557
23560
|
const B = jA("pageMethodMap", {}), Q = (c) => {
|
|
23558
23561
|
const I = document.createElement("textarea");
|
|
@@ -23579,19 +23582,23 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23579
23582
|
schema: e
|
|
23580
23583
|
}), (c, I) => {
|
|
23581
23584
|
var C, p, f;
|
|
23582
|
-
return e.value.hidden ? pA("", !0) : (M(), K("div",
|
|
23583
|
-
|
|
23584
|
-
|
|
23585
|
-
|
|
23586
|
-
|
|
23585
|
+
return e.value.hidden ? pA("", !0) : (M(), K("div", {
|
|
23586
|
+
key: 0,
|
|
23587
|
+
class: "info-card-container",
|
|
23588
|
+
id: e.value.key
|
|
23589
|
+
}, [
|
|
23590
|
+
F("div", GG, [
|
|
23591
|
+
F("div", LG, [
|
|
23592
|
+
F("div", RG, [
|
|
23593
|
+
F("div", HG, [
|
|
23587
23594
|
V(Bt, {
|
|
23588
23595
|
name: (C = e.value.header) == null ? void 0 : C.avatar
|
|
23589
23596
|
}, null, 8, ["name"])
|
|
23590
23597
|
]),
|
|
23591
|
-
F("div",
|
|
23592
|
-
F("div",
|
|
23593
|
-
F("div",
|
|
23594
|
-
F("span",
|
|
23598
|
+
F("div", KG, [
|
|
23599
|
+
F("div", PG, RA((p = e.value.header) == null ? void 0 : p.title), 1),
|
|
23600
|
+
F("div", UG, [
|
|
23601
|
+
F("span", xG, RA((f = e.value.header) == null ? void 0 : f.subTitle), 1),
|
|
23595
23602
|
V(Bt, {
|
|
23596
23603
|
name: "icon-fuzhi",
|
|
23597
23604
|
class: "copy-icon",
|
|
@@ -23606,32 +23613,32 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23606
23613
|
}, null, 8, ["btns"])
|
|
23607
23614
|
])
|
|
23608
23615
|
]),
|
|
23609
|
-
F("div",
|
|
23616
|
+
F("div", SG, [
|
|
23610
23617
|
(M(!0), K(TA, null, le(e.value.detail, (m, G) => (M(), K("div", {
|
|
23611
23618
|
key: m.label,
|
|
23612
23619
|
class: "detail-item"
|
|
23613
23620
|
}, [
|
|
23614
23621
|
F("div", null, [
|
|
23615
|
-
F("div",
|
|
23622
|
+
F("div", YG, RA(m.label), 1),
|
|
23616
23623
|
F("div", {
|
|
23617
23624
|
class: "value",
|
|
23618
23625
|
style: Ue(m.color ? { color: m.color } : {})
|
|
23619
23626
|
}, RA(m.value || "- -"), 5)
|
|
23620
23627
|
]),
|
|
23621
|
-
G !== e.value.detail.length - 1 ? (M(), K("div",
|
|
23628
|
+
G !== e.value.detail.length - 1 ? (M(), K("div", JG)) : pA("", !0)
|
|
23622
23629
|
]))), 128))
|
|
23623
23630
|
])
|
|
23624
23631
|
])
|
|
23625
|
-
]));
|
|
23632
|
+
], 8, NG));
|
|
23626
23633
|
};
|
|
23627
23634
|
}
|
|
23628
|
-
}),
|
|
23635
|
+
}), zG = /* @__PURE__ */ iA(OG, [["__scopeId", "data-v-d5bc64f7"]]), ZG = ["id"], qG = { class: "left-part" }, TG = { class: "nav-title" }, jG = {
|
|
23629
23636
|
key: 1,
|
|
23630
23637
|
class: "steps"
|
|
23631
|
-
},
|
|
23638
|
+
}, $G = ["onClick"], WG = { class: "nav-footer" }, VG = { class: "left-actions" }, XG = ["onClick"], A3 = { class: "footer-text" }, e3 = {
|
|
23632
23639
|
key: 1,
|
|
23633
23640
|
class: "divider"
|
|
23634
|
-
},
|
|
23641
|
+
}, t3 = { class: "right-actions" }, n3 = /* @__PURE__ */ GA({
|
|
23635
23642
|
__name: "NavBar",
|
|
23636
23643
|
props: /* @__PURE__ */ Mt({
|
|
23637
23644
|
pageRulePath: {},
|
|
@@ -23642,9 +23649,9 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23642
23649
|
}),
|
|
23643
23650
|
emits: ["update:schema"],
|
|
23644
23651
|
setup(t, { expose: A }) {
|
|
23645
|
-
const e = pe(t, "schema"), a =
|
|
23652
|
+
const e = pe(t, "schema"), a = JA(
|
|
23646
23653
|
() => (e.value.leftActions || []).filter((p) => !p.hidden)
|
|
23647
|
-
), s = jA("ruleMap", {}), g = jA("pageMethodMap", {}), B = t, Q =
|
|
23654
|
+
), s = jA("ruleMap", {}), g = jA("pageMethodMap", {}), B = t, Q = JA(() => e.value.rulePath && s[e.value.rulePath] ? s[e.value.rulePath] : s[B.pageRulePath]);
|
|
23648
23655
|
Rt("ruleModule", Q.value);
|
|
23649
23656
|
const r = (p) => {
|
|
23650
23657
|
if (p && Q.value)
|
|
@@ -23665,7 +23672,8 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23665
23672
|
}), (p, f) => e.value.hidden ? pA("", !0) : (M(), K("div", {
|
|
23666
23673
|
key: 0,
|
|
23667
23674
|
class: bA(["nav-bar", { mixmode: e.value.mixMode, simple: e.value.simple }]),
|
|
23668
|
-
style: Ue(e.value.top ? { top: `${e.value.top}px` } : {})
|
|
23675
|
+
style: Ue(e.value.top ? { top: `${e.value.top}px` } : {}),
|
|
23676
|
+
id: e.value.key
|
|
23669
23677
|
}, [
|
|
23670
23678
|
e.value.title || e.value.btns ? (M(), K("div", {
|
|
23671
23679
|
key: 0,
|
|
@@ -23673,14 +23681,14 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23673
23681
|
mb10: e.value.content && e.value.content.length > 0 || e.value.leftActions && e.value.leftActions.length > 0
|
|
23674
23682
|
}])
|
|
23675
23683
|
}, [
|
|
23676
|
-
F("div",
|
|
23684
|
+
F("div", qG, [
|
|
23677
23685
|
e.value.back ? (M(), EA(Bt, {
|
|
23678
23686
|
key: 0,
|
|
23679
23687
|
name: "icon-back",
|
|
23680
23688
|
class: "back-icon",
|
|
23681
23689
|
onClick: I
|
|
23682
23690
|
})) : pA("", !0),
|
|
23683
|
-
F("div",
|
|
23691
|
+
F("div", TG, RA(e.value.title), 1)
|
|
23684
23692
|
]),
|
|
23685
23693
|
F("div", null, [
|
|
23686
23694
|
V(R(Vs), {
|
|
@@ -23688,7 +23696,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23688
23696
|
}, null, 8, ["btns"])
|
|
23689
23697
|
])
|
|
23690
23698
|
], 2)) : pA("", !0),
|
|
23691
|
-
e.value.content && e.value.content.length > 0 ? (M(), K("div",
|
|
23699
|
+
e.value.content && e.value.content.length > 0 ? (M(), K("div", jG, [
|
|
23692
23700
|
(M(!0), K(TA, null, le(e.value.content, (m, G) => (M(), K("div", {
|
|
23693
23701
|
key: G,
|
|
23694
23702
|
class: bA(["hexagon", {
|
|
@@ -23699,10 +23707,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23699
23707
|
onClick: (h) => C(m.ref)
|
|
23700
23708
|
}, [
|
|
23701
23709
|
F("span", null, RA(m.text), 1)
|
|
23702
|
-
], 10,
|
|
23710
|
+
], 10, $G))), 128))
|
|
23703
23711
|
])) : pA("", !0),
|
|
23704
|
-
F("div",
|
|
23705
|
-
F("div",
|
|
23712
|
+
F("div", WG, [
|
|
23713
|
+
F("div", VG, [
|
|
23706
23714
|
(M(!0), K(TA, null, le(a.value, (m, G) => (M(), K(TA, {
|
|
23707
23715
|
key: m.key
|
|
23708
23716
|
}, [
|
|
@@ -23717,23 +23725,20 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23717
23725
|
color: m.icon.color,
|
|
23718
23726
|
class: "footer-icon"
|
|
23719
23727
|
}, null, 8, ["name", "color"])) : pA("", !0),
|
|
23720
|
-
F("span",
|
|
23721
|
-
G !== a.value.length - 1 ? (M(), K("div",
|
|
23722
|
-
], 8,
|
|
23728
|
+
F("span", A3, RA(m.text), 1),
|
|
23729
|
+
G !== a.value.length - 1 ? (M(), K("div", e3)) : pA("", !0)
|
|
23730
|
+
], 8, XG))
|
|
23723
23731
|
], 64))), 128))
|
|
23724
23732
|
]),
|
|
23725
|
-
F("div",
|
|
23733
|
+
F("div", t3, [
|
|
23726
23734
|
V(R(Vs), {
|
|
23727
23735
|
btns: e.value.footerBtns || []
|
|
23728
23736
|
}, null, 8, ["btns"])
|
|
23729
23737
|
])
|
|
23730
23738
|
])
|
|
23731
|
-
],
|
|
23739
|
+
], 14, ZG));
|
|
23732
23740
|
}
|
|
23733
|
-
}),
|
|
23734
|
-
key: 0,
|
|
23735
|
-
class: "page-render"
|
|
23736
|
-
}, t3 = /* @__PURE__ */ GA({
|
|
23741
|
+
}), a3 = /* @__PURE__ */ iA(n3, [["__scopeId", "data-v-1ce3f876"]]), i3 = ["id"], s3 = /* @__PURE__ */ GA({
|
|
23737
23742
|
__name: "index",
|
|
23738
23743
|
props: {
|
|
23739
23744
|
ruleMap: {},
|
|
@@ -23745,10 +23750,10 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23745
23750
|
const a = e, s = {
|
|
23746
23751
|
form: Ft,
|
|
23747
23752
|
table: jl,
|
|
23748
|
-
tabs:
|
|
23749
|
-
infocard:
|
|
23750
|
-
navbar:
|
|
23751
|
-
}, g = t, B =
|
|
23753
|
+
tabs: vG,
|
|
23754
|
+
infocard: zG,
|
|
23755
|
+
navbar: a3
|
|
23756
|
+
}, g = t, B = YA(g.pageParams), Q = YA({}), r = YA();
|
|
23752
23757
|
kB(
|
|
23753
23758
|
() => g.pageParams,
|
|
23754
23759
|
() => {
|
|
@@ -23813,7 +23818,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
23813
23818
|
findRef: p
|
|
23814
23819
|
};
|
|
23815
23820
|
}
|
|
23816
|
-
}, I =
|
|
23821
|
+
}, I = YA([]), C = cN(), p = (x) => {
|
|
23817
23822
|
var q;
|
|
23818
23823
|
const P = (q = I.value) == null ? void 0 : q.find((X) => X.schema.key === x);
|
|
23819
23824
|
return P || C.findRef(x);
|
|
@@ -24129,7 +24134,11 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
24129
24134
|
}), (x, P) => {
|
|
24130
24135
|
const q = IA("el-button"), X = IA("el-row");
|
|
24131
24136
|
return M(), K("div", null, [
|
|
24132
|
-
r.value ? (M(), K("div",
|
|
24137
|
+
r.value ? (M(), K("div", {
|
|
24138
|
+
key: 0,
|
|
24139
|
+
class: "page-render",
|
|
24140
|
+
id: r.value.key
|
|
24141
|
+
}, [
|
|
24133
24142
|
(M(!0), K(TA, null, le(r.value.content, (QA) => (M(), EA(kn(s[QA.type]), ve({
|
|
24134
24143
|
key: QA.schema.key,
|
|
24135
24144
|
class: "page-render__item",
|
|
@@ -24139,7 +24148,7 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
24139
24148
|
}, c(QA)), null, 16))), 128)),
|
|
24140
24149
|
r.value.btns && r.value.btns.length > 0 ? (M(), EA(X, {
|
|
24141
24150
|
key: 0,
|
|
24142
|
-
justify: r.value.btnPosition || "
|
|
24151
|
+
justify: r.value.btnPosition || "end",
|
|
24143
24152
|
class: "btn-wrapper"
|
|
24144
24153
|
}, {
|
|
24145
24154
|
default: tA(() => [
|
|
@@ -24161,13 +24170,13 @@ export default ${JSON.stringify(t, null, 2)} satisfies FormSchema`, dN = (t) =>
|
|
|
24161
24170
|
]),
|
|
24162
24171
|
_: 1
|
|
24163
24172
|
}, 8, ["justify"])) : pA("", !0)
|
|
24164
|
-
])) : LB(x.$slots, "loading", { key: 1 }, void 0, !0)
|
|
24173
|
+
], 8, i3)) : LB(x.$slots, "loading", { key: 1 }, void 0, !0)
|
|
24165
24174
|
]);
|
|
24166
24175
|
};
|
|
24167
24176
|
}
|
|
24168
|
-
}), $l = /* @__PURE__ */ iA(
|
|
24169
|
-
t.provide(Hn, A), t.component("FormRender", Ft), t.component("FormDesign",
|
|
24170
|
-
},
|
|
24177
|
+
}), $l = /* @__PURE__ */ iA(s3, [["__scopeId", "data-v-7a343399"]]), g3 = (t, A = {}) => {
|
|
24178
|
+
t.provide(Hn, A), t.component("FormRender", Ft), t.component("FormDesign", zN), t.component("TableRender", jl), t.component("PageRender", $l);
|
|
24179
|
+
}, I3 = { install: g3 };
|
|
24171
24180
|
export {
|
|
24172
24181
|
Hn as $,
|
|
24173
24182
|
Vs as B,
|
|
@@ -24182,12 +24191,12 @@ export {
|
|
|
24182
24191
|
gN as d,
|
|
24183
24192
|
Ol as e,
|
|
24184
24193
|
Ea as f,
|
|
24185
|
-
|
|
24194
|
+
Q3 as g,
|
|
24186
24195
|
Vc as h,
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24196
|
+
l3 as i,
|
|
24197
|
+
rG as j,
|
|
24198
|
+
I3 as k,
|
|
24190
24199
|
me as l,
|
|
24191
|
-
|
|
24200
|
+
zN as m,
|
|
24192
24201
|
oi as u
|
|
24193
24202
|
};
|