epic-designer-gold 1.0.2 → 1.0.4
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/attributeView-CPrGnVQ8.js +106 -0
- package/dist/attributeView-DEg9mFCt.cjs +1 -0
- package/dist/axios-BAhOY32t.cjs +6 -0
- package/dist/{js.cookie-oHpRFPCO.js → axios-BFVeUxau.js} +942 -737
- package/dist/col-BNNn9Yx8.cjs +1 -0
- package/dist/{col-Dy6oYMf5.js → col-u5YiB-UK.js} +8 -8
- package/dist/index-B8V7odtp.cjs +1 -0
- package/dist/index-BEXliJtJ.cjs +1 -0
- package/dist/index-BN_dXDiO.cjs +1 -0
- package/dist/index-BPRzjSrH.cjs +10 -0
- package/dist/index-BPmq8lmK.js +72 -0
- package/dist/index-BY9j66Gp.js +4 -0
- package/dist/{index-DNeYX6HK.js → index-BiXYEiWV.js} +1 -1
- package/dist/index-BoVrWUpL.js +271 -0
- package/dist/{index-DLMH0OSJ.js → index-BstMY1Nn.js} +1 -1
- package/dist/index-Bsv8EECz.js +71 -0
- package/dist/index-C2Sx6r6b.cjs +1 -0
- package/dist/index-C5-ZZLug.cjs +1 -0
- package/dist/index-C6C5D9M8.js +602 -0
- package/dist/index-CIwV58Ko.js +1359 -0
- package/dist/index-CgisEnmm.cjs +1 -0
- package/dist/index-CtkdvWFN.cjs +1 -0
- package/dist/{index-DkyxbMHi.js → index-Cwgv4MbW.js} +24 -24
- package/dist/{index-CYDtBJTI.cjs → index-D3Uft3bJ.cjs} +1 -1
- package/dist/{index-BKDRMrcc.js → index-D7z34DMU.js} +28 -47
- package/dist/index-DAhVvQNH.cjs +1 -0
- package/dist/index-DO5DuUPL.js +581 -0
- package/dist/index-DddOVmF6.cjs +1 -0
- package/dist/index-DdsHIglg.js +104 -0
- package/dist/index-Dru9G2MF.js +195 -0
- package/dist/index-KGGnmoAO.cjs +1 -0
- package/dist/{index-XUQ1VGQg.js → index-Sin3ac_7.js} +1 -1
- package/dist/{index-DJxuHxdI.js → index-dUOJH8fj.js} +24 -24
- package/dist/index-dcjty1Ho.cjs +1 -0
- package/dist/{index-Dyo12Kua.cjs → index-g1W7IHK_.cjs} +1 -1
- package/dist/index-ykB9CsYG.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +35 -35
- package/dist/locale/index.d.ts +4 -0
- package/dist/locale/lang/en-US.d.ts +246 -0
- package/dist/locale/lang/zh-cn.d.ts +246 -0
- package/dist/modal-BLOgN3us.cjs +1 -0
- package/dist/modal-UFu4bD6x.js +57 -0
- package/dist/{outline-CNayBNNC.js → outline-CG-aHThT.js} +2 -2
- package/dist/outline-Coy4TGIa.cjs +1 -0
- package/dist/row-BWnbt6dh.cjs +1 -0
- package/dist/{row-qOviQw5w.js → row-DAy14ve9.js} +4 -4
- package/dist/sign-BlMhTkWG.cjs +1 -0
- package/dist/sign-C0z0Ygs4.js +219 -0
- package/dist/style.css +1 -1
- package/dist/{styleView-BLVqzqPV.js → styleView-CkbdwQhA.js} +34 -33
- package/dist/styleView-D0W-N4vW.cjs +1 -0
- package/dist/tree.vue_vue_type_script_setup_true_lang-KKt_Qgqv.cjs +1 -0
- package/dist/{tree.vue_vue_type_script_setup_true_lang-BntCm43E.js → tree.vue_vue_type_script_setup_true_lang-RWHCYpkY.js} +1 -1
- package/dist/ui/antd/date-picker/datePicker.d.ts +2 -2
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +553 -542
- package/dist/ui/naiveUi/index.cjs +1 -1
- package/dist/ui/naiveUi/index.js +1 -1
- package/dist/uploadFile-Bh5GyGFd.js +77 -0
- package/dist/uploadFile-CmKFRZMw.cjs +1 -0
- package/dist/{uploadImage-742IA7ei.js → uploadImage-CbVsUivh.js} +34 -33
- package/dist/uploadImage-CcMA6CyX.cjs +1 -0
- package/dist/uploadImage-DENhzttU.cjs +1 -0
- package/dist/{uploadImage-CnNnAISs.js → uploadImage-qHq6JX83.js} +17 -20
- package/package.json +1 -1
- package/dist/attributeView-B-IswSw7.js +0 -105
- package/dist/attributeView-CQBVIMGW.cjs +0 -1
- package/dist/col-RWuL5Zuz.cjs +0 -1
- package/dist/index-0GtpyUBx.js +0 -64
- package/dist/index-B4ido7VJ.cjs +0 -1
- package/dist/index-BGvqo4s7.js +0 -104
- package/dist/index-BMtRXkSh.cjs +0 -1
- package/dist/index-BSLudrcT.cjs +0 -1
- package/dist/index-BXO8Zj1H.cjs +0 -1
- package/dist/index-B_9x_cPH.js +0 -1633
- package/dist/index-B_TFfRwe.js +0 -194
- package/dist/index-C3_E7xcD.js +0 -270
- package/dist/index-C3a1hfUC.cjs +0 -10
- package/dist/index-CucdgcqX.cjs +0 -1
- package/dist/index-CvEzOhT_.cjs +0 -1
- package/dist/index-DEPx91yu.cjs +0 -1
- package/dist/index-DKVv0PbJ.js +0 -56
- package/dist/index-DSzJgAzW.cjs +0 -1
- package/dist/index-Dz1OM1dD.cjs +0 -1
- package/dist/index-HNPgHrkl.cjs +0 -1
- package/dist/index-JhxJizMR.js +0 -601
- package/dist/index-aBofZ4Mk.js +0 -4
- package/dist/index-sKJ91s0r.cjs +0 -1
- package/dist/js.cookie-BH1G_HRi.cjs +0 -6
- package/dist/modal-BPJM1Muh.js +0 -59
- package/dist/modal-_fid8E1T.cjs +0 -1
- package/dist/outline-6Qt3qlWm.cjs +0 -1
- package/dist/row-Bm8OjIsU.cjs +0 -1
- package/dist/sign--js815Se.cjs +0 -1
- package/dist/sign-CO47QOTw.js +0 -218
- package/dist/styleView-C1zTBeyd.cjs +0 -1
- package/dist/tree.vue_vue_type_script_setup_true_lang-BjjL_VlR.cjs +0 -1
- package/dist/uploadFile-CYDDVa_x.js +0 -76
- package/dist/uploadFile-eWBMdZ9d.cjs +0 -1
- package/dist/uploadImage-BQhv5ymq.cjs +0 -1
- package/dist/uploadImage-BXcN2FA_.cjs +0 -1
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import "./
|
|
4
|
-
|
|
1
|
+
import { defineComponent as _, inject as c, computed as b, openBlock as s, createElementBlock as r, Fragment as S, renderList as V, createElementVNode as i, normalizeClass as w, toDisplayString as C, createCommentVNode as u, createVNode as E, unref as f, nextTick as z } from "vue";
|
|
2
|
+
import { _ as I } from "./index-CIwV58Ko.js";
|
|
3
|
+
import { j as N, s as y } from "./axios-BFVeUxau.js";
|
|
4
|
+
import { u as B } from "./index-DO5DuUPL.js";
|
|
5
|
+
const x = ["title"], j = { class: "epic-attr-input" }, $ = /* @__PURE__ */ _({
|
|
5
6
|
__name: "styleView",
|
|
6
|
-
setup(
|
|
7
|
-
const
|
|
7
|
+
setup(F) {
|
|
8
|
+
const { t } = B(), h = c("designer"), m = c("pageSchema"), g = c("revoke"), p = [
|
|
8
9
|
{
|
|
9
|
-
label: "
|
|
10
|
+
label: t("width"),
|
|
10
11
|
type: "EInputSize",
|
|
11
12
|
field: "componentProps.style.width"
|
|
12
13
|
},
|
|
13
14
|
{
|
|
14
|
-
label: "
|
|
15
|
+
label: t("height"),
|
|
15
16
|
type: "EInputSize",
|
|
16
17
|
field: "componentProps.style.height"
|
|
17
18
|
},
|
|
18
19
|
{
|
|
19
|
-
label: "
|
|
20
|
+
label: t("padding"),
|
|
20
21
|
type: "EInputSize",
|
|
21
22
|
field: "componentProps.style.padding"
|
|
22
23
|
},
|
|
23
24
|
{
|
|
24
|
-
label: "
|
|
25
|
+
label: t("margin"),
|
|
25
26
|
type: "EInputSize",
|
|
26
27
|
field: "componentProps.style.margin"
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
|
-
label: "
|
|
30
|
+
label: t("backgroundColor"),
|
|
30
31
|
type: "color-picker",
|
|
31
32
|
field: "componentProps.style.backgroundColor",
|
|
32
33
|
componentProps: {
|
|
@@ -37,7 +38,7 @@ const N = ["title"], B = { class: "epic-attr-input" }, D = /* @__PURE__ */ k({
|
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
{
|
|
40
|
-
label: "
|
|
41
|
+
label: t("fontColor"),
|
|
41
42
|
type: "color-picker",
|
|
42
43
|
field: "componentProps.style.color",
|
|
43
44
|
componentProps: {
|
|
@@ -45,43 +46,43 @@ const N = ["title"], B = { class: "epic-attr-input" }, D = /* @__PURE__ */ k({
|
|
|
45
46
|
style: {}
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
],
|
|
49
|
+
], a = b(() => h.state.checkedNode);
|
|
49
50
|
function v(o) {
|
|
50
51
|
var n;
|
|
51
|
-
return typeof o.show == "boolean" ? o.show : ((n = o.show) == null ? void 0 : n.call(o, { values:
|
|
52
|
+
return typeof o.show == "boolean" ? o.show : ((n = o.show) == null ? void 0 : n.call(o, { values: a.value })) ?? !0;
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
-
typeof
|
|
54
|
+
function k(o, n, l, e = a.value) {
|
|
55
|
+
typeof l.onChange == "function" && l.onChange({ value: o, values: e, componentStyles: p }), l.changeSync ? y(e, n, o) : z(() => {
|
|
55
56
|
y(e, n, o);
|
|
56
|
-
}),
|
|
57
|
+
}), g.push(m.schemas, t("editComponentProperties"));
|
|
57
58
|
}
|
|
58
59
|
return (o, n) => {
|
|
59
|
-
var
|
|
60
|
-
return
|
|
60
|
+
var l;
|
|
61
|
+
return s(), r("div", {
|
|
61
62
|
class: "epic-style-view",
|
|
62
|
-
key: (
|
|
63
|
+
key: (l = a.value) == null ? void 0 : l.id
|
|
63
64
|
}, [
|
|
64
|
-
(
|
|
65
|
-
var
|
|
66
|
-
return
|
|
65
|
+
(s(), r(S, null, V(p, (e) => {
|
|
66
|
+
var d;
|
|
67
|
+
return i("div", {
|
|
67
68
|
key: e.field
|
|
68
69
|
}, [
|
|
69
|
-
v(e) ? (
|
|
70
|
+
v(e) ? (s(), r("div", {
|
|
70
71
|
key: 0,
|
|
71
|
-
class:
|
|
72
|
+
class: w(["epic-attr-item", e.layout])
|
|
72
73
|
}, [
|
|
73
|
-
e.label ? (
|
|
74
|
+
e.label ? (s(), r("div", {
|
|
74
75
|
key: 0,
|
|
75
76
|
class: "epic-attr-label",
|
|
76
77
|
title: e.label
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
}, C(e.label), 9, x)) : u("", !0),
|
|
79
|
+
i("div", j, [
|
|
80
|
+
E(f(I), {
|
|
80
81
|
componentSchema: {
|
|
81
82
|
...e,
|
|
82
83
|
componentProps: {
|
|
83
84
|
...e.componentProps,
|
|
84
|
-
...e.field === "componentProps.defaultValue" ? (
|
|
85
|
+
...e.field === "componentProps.defaultValue" ? (d = a.value) == null ? void 0 : d.componentProps : {},
|
|
85
86
|
input: !1,
|
|
86
87
|
field: void 0,
|
|
87
88
|
hidden: !1
|
|
@@ -89,8 +90,8 @@ const N = ["title"], B = { class: "epic-attr-input" }, D = /* @__PURE__ */ k({
|
|
|
89
90
|
show: !0,
|
|
90
91
|
noFormItem: !0
|
|
91
92
|
},
|
|
92
|
-
"model-value":
|
|
93
|
-
"onUpdate:modelValue": (
|
|
93
|
+
"model-value": f(N)(e.editData ?? a.value, e.field),
|
|
94
|
+
"onUpdate:modelValue": (P) => k(P, e.field, e, e.editData)
|
|
94
95
|
}, null, 8, ["componentSchema", "model-value", "onUpdate:modelValue"])
|
|
95
96
|
])
|
|
96
97
|
], 2)) : u("", !0)
|
|
@@ -101,5 +102,5 @@ const N = ["title"], B = { class: "epic-attr-input" }, D = /* @__PURE__ */ k({
|
|
|
101
102
|
}
|
|
102
103
|
});
|
|
103
104
|
export {
|
|
104
|
-
|
|
105
|
+
$ as default
|
|
105
106
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("./index-BPRzjSrH.cjs"),a=require("./axios-BAhOY32t.cjs"),k=require("./index-DddOVmF6.cjs"),g=["title"],v={class:"epic-attr-input"},P=e.defineComponent({__name:"styleView",setup(b){const{t:n}=k.useLocale(),d=e.inject("designer"),i=e.inject("pageSchema"),u=e.inject("revoke"),s=[{label:n("width"),type:"EInputSize",field:"componentProps.style.width"},{label:n("height"),type:"EInputSize",field:"componentProps.style.height"},{label:n("padding"),type:"EInputSize",field:"componentProps.style.padding"},{label:n("margin"),type:"EInputSize",field:"componentProps.style.margin"},{label:n("backgroundColor"),type:"color-picker",field:"componentProps.style.backgroundColor",componentProps:{type:"color",style:{}}},{label:n("fontColor"),type:"color-picker",field:"componentProps.style.color",componentProps:{type:"color",style:{}}}],r=e.computed(()=>d.state.checkedNode);function y(t){var l;return typeof t.show=="boolean"?t.show:((l=t.show)==null?void 0:l.call(t,{values:r.value}))??!0}function h(t,l,c,o=r.value){typeof c.onChange=="function"&&c.onChange({value:t,values:o,componentStyles:s}),c.changeSync?a.setValueByPath(o,l,t):e.nextTick(()=>{a.setValueByPath(o,l,t)}),u.push(i.schemas,n("editComponentProperties"))}return(t,l)=>{var c;return e.openBlock(),e.createElementBlock("div",{class:"epic-style-view",key:(c=r.value)==null?void 0:c.id},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,o=>{var p;return e.createElementVNode("div",{key:o.field},[y(o)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["epic-attr-item",o.layout])},[o.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:"epic-attr-label",title:o.label},e.toDisplayString(o.label),9,g)):e.createCommentVNode("",!0),e.createElementVNode("div",v,[e.createVNode(e.unref(m._sfc_main),{componentSchema:{...o,componentProps:{...o.componentProps,...o.field==="componentProps.defaultValue"?(p=r.value)==null?void 0:p.componentProps:{},input:!1,field:void 0,hidden:!1},show:!0,noFormItem:!0},"model-value":e.unref(a.getValueByPath)(o.editData??r.value,o.field),"onUpdate:modelValue":f=>h(f,o.field,o,o.editData)},null,8,["componentSchema","model-value","onUpdate:modelValue"])])],2)):e.createCommentVNode("",!0)])}),64))])}}});exports.default=P;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),C=require("./icon.vue_vue_type_script_setup_true_lang-DJbUD5AQ.cjs"),k=require("./axios-BAhOY32t.cjs"),S=require("./vuedraggable.umd-BqhSJIAi.cjs"),_=e.defineComponent({name:"ETreeNodeItem",__name:"treeNodeItem",props:{schema:{}},setup(x){const a=x,u=e.inject("slots",{}),m=e.inject("pageSchema",{}),c=e.inject("expandedKeys"),v=e.inject("treeProps"),h=e.inject("selectedKeys"),i=e.inject("handleSelect"),g=e.computed(()=>c.value.includes(a.schema.id??"")),f=e.defineComponent({setup(){return()=>{var n;return e.h("span",{class:{text:!0,hover:v.hoverKey===a.schema.id,checked:h.value.includes(a.schema.id)},onClick:()=>i(a.schema.id,a.schema)},((n=u["tree-node"])==null?void 0:n.call(u,a))??e.h("span",{class:"epic-text-padding flex"},{default:()=>{var t;return[e.h("span",{class:"max-w-full truncate"},a.schema.label??((t=k.pluginManager.getComponentConfingByType(a.schema.type))==null?void 0:t.defaultSchema.label)),e.h("span",{class:"epic-node-type-text flex-1 w-0 truncate"},a.schema.id)]}}))}}});function o(){const n=a.schema.id;if(!n)return!1;c.value.includes(n)?c.value=c.value.filter(t=>t!==n):c.value.push(n)}function r(){var t;const n=a.schema.id;if(!n||!((t=a.schema.children)!=null&&t.length))return!1;c.value.push(n)}return r(),(n,t)=>{var l,d,p,s,y;return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["epic-tree-node",{expanded:(l=a.schema.children)==null?void 0:l.length,"level-1":a.schema.id===((d=e.unref(m).schemas[0])==null?void 0:d.id)}])},[e.createElementVNode("a",null,[(p=a.schema.children)!=null&&p.length&&a.schema.id!==((s=e.unref(m).schemas[0])==null?void 0:s.id)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["icon-expanded",{expanded:g.value}]),onClick:o},[e.createVNode(e.unref(C._sfc_main),{name:"icon--epic--caret-right-outlined"})],2)):e.createCommentVNode("",!0),e.createVNode(e.unref(f))]),(y=a.schema.children)!=null&&y.length?(e.openBlock(),e.createBlock(B,{key:0,class:e.normalizeClass(["epic-tree-sublist",{expanded:g.value}]),schemas:a.schema.children,"onUpdate:schemas":t[0]||(t[0]=b=>a.schema.children=b),parentSchema:a.schema},null,8,["class","schemas","parentSchema"])):e.createCommentVNode("",!0)],2)}}}),N={key:1},B=e.defineComponent({name:"ETreeNodes",__name:"treeNodes",props:{schemas:{},parentSchema:{}},emits:["update:schemas"],setup(x,{emit:a}){const u=e.inject("designer"),m=e.inject("pageSchema"),c=e.inject("treeProps"),v=x,h=a,i=e.computed({get(){return v.schemas},set(o){h("update:schemas",o)}});function g(o){u.setDisableHover(!0),u.setCheckedNode(i.value[o])}function f(o){var r,n,t;return o.id===((r=m.schemas[0])==null?void 0:r.id)||(t=(n=k.pluginManager.getComponentConfingByType(o.type))==null?void 0:n.editConstraints)!=null&&t.immovable?"unmover-item":"draggable-item"}return(o,r)=>{var n,t,l,d,p;return(l=(t=e.unref(k.pluginManager).getComponentConfingByType(((n=v.parentSchema)==null?void 0:n.type)||""))==null?void 0:t.editConstraints)!=null&&l.childImmovable?(e.openBlock(),e.createElementBlock("ul",N,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,s=>(e.openBlock(),e.createBlock(_,{key:s.id,schema:s},null,8,["schema"]))),128))])):(e.openBlock(),e.createBlock(e.unref(S.draggable),e.mergeProps({key:0,modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=s=>i.value=s),"item-key":"id","component-data":{},class:"epic-draggable-range"},{animation:200,tag:"ul",group:"tree-draggable",ghostClass:"moveing",draggable:".draggable-item",disabled:!e.unref(c).draggable||((d=i.value[0])==null?void 0:d.id)===((p=e.unref(m).schemas[0])==null?void 0:p.id)},{onStart:r[1]||(r[1]=s=>g(s.oldIndex))}),{item:e.withCtx(({element:s,index:y})=>[(e.openBlock(),e.createBlock(_,{class:e.normalizeClass(f(s)),key:s.id,schema:s},null,8,["class","schema"]))]),_:1},16,["modelValue"]))}}}),V={class:"epic-tree h-full flex flex-col"},E={class:"epic-search-box px-10px py-6px"},K={class:"epic-tree-main flex-1 overflow-auto h-0"},T={class:"text-center pt-42px text-gray-400"},j=e.defineComponent({name:"ETree",__name:"tree",props:{options:{type:Array,default:()=>[]},hoverKey:{type:String,default:""},selectedKeys:{type:Array,default:()=>[]},draggable:{type:Boolean,default:!1}},emits:["update:selectedKeys","nodeClick"],setup(x,{emit:a}){const u=e.useSlots();e.provide("slots",u);const m=k.pluginManager.getComponent("input"),c=e.ref(""),v=e.ref([]),h=x,i=a,g=e.computed({get(){return h.selectedKeys},set(n){i("update:selectedKeys",n)}}),f=e.computed({get(){return o(h.options,c.value)},set(n){console.log(n)}});function o(n,t){const l=[];return n.forEach(d=>{var p;if((p=d.label)!=null&&p.includes(t))l.push(d);else if(d.children){const s=o(d.children,t);if(s.length>0){const y={...d};y.children=s,l.push(y)}}}),l}function r(n,t){g.value=[n],i("nodeClick",{id:n,componentSchema:t})}return e.provide("expandedKeys",v),e.provide("selectedKeys",g),e.provide("treeProps",h),e.provide("handleSelect",r),(n,t)=>(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",E,[e.createVNode(e.unref(m),{placeholder:"搜索节点",clearable:"",allowClear:"",modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=l=>c.value=l),value:c.value,"onUpdate:value":t[1]||(t[1]=l=>c.value=l)},{prefix:e.withCtx(()=>[e.createVNode(e.unref(C._sfc_main),{name:"icon--epic--search-rounded"})]),_:1},8,["modelValue","value"])]),e.createElementVNode("div",K,[e.createElementVNode("ul",null,[e.createVNode(B,{schemas:f.value,"onUpdate:schemas":t[2]||(t[2]=l=>f.value=l)},null,8,["schemas"])]),e.withDirectives(e.createElementVNode("div",T,"没有查询到的数据",512),[[e.vShow,!f.value.length]])])]))}});exports._sfc_main=j;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as w, inject as p, computed as B, h as T, openBlock as u, createElementBlock as K, normalizeClass as N, unref as i, createElementVNode as S, createVNode as k, createCommentVNode as I, createBlock as V, mergeProps as j, withCtx as D, Fragment as z, renderList as H, useSlots as M, provide as b, ref as P, withDirectives as q, vShow as F } from "vue";
|
|
2
2
|
import { _ as $ } from "./icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js";
|
|
3
|
-
import { p as E } from "./
|
|
3
|
+
import { p as E } from "./axios-BFVeUxau.js";
|
|
4
4
|
import { d as G } from "./vuedraggable.umd-D2S7Eo7p.js";
|
|
5
5
|
const U = /* @__PURE__ */ w({
|
|
6
6
|
name: "ETreeNodeItem",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
4
4
|
default: null;
|
|
5
5
|
};
|
|
6
6
|
type: {
|
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
13
|
modelValue: {
|
|
14
|
-
type: (
|
|
14
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
15
15
|
default: null;
|
|
16
16
|
};
|
|
17
17
|
type: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var s=Object.create;var i=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var f=(e,l,o,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let p of u(l))!b.call(e,p)&&p!==o&&i(e,p,{get:()=>l[p],enumerable:!(a=d(l,p))||a.enumerable});return e};var n=(e,l,o)=>(o=e!=null?s(m(e)):{},f(l||!e||!e.__esModule?i(o,"default",{value:e,enumerable:!0}):o,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("epic-designer-gold"),t=require("element-plus"),P={component:async()=>(await import("element-plus")).ElInput,groupName:"表单",icon:"icon--epic--border-color-outline-rounded",sort:700,defaultSchema:{label:"输入框",type:"input",field:"input",input:!0,componentProps:{placeholder:"请输入"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"input",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",defaultValue:"default",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"最大输入长度",type:"number",field:"componentProps.maxlength",componentProps:{placeholder:"请输入",min:0}},{label:"统计字数",type:"switch",field:"componentProps.showWordLimit",show:({values:e})=>e.componentProps.maxlength},{label:"输入类型",type:"select",defaultValue:"text",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"text",value:"text"},{label:"number",value:"number"},{label:"password",value:"password"}]},field:"componentProps.type"},{label:"显示切换图标",type:"switch",field:"componentProps.showPassword",show:({values:e})=>e.componentProps.type==="password"},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"input",describe:"输入值时"},{type:"change",describe:"值修改时"},{type:"focus",describe:"获取焦点时"},{type:"blur",describe:"失去焦点时"},{type:"clear",describe:"点击清空按钮时"}],action:[{type:"focus",describe:"使 input 获取焦点"},{type:"blur",describe:"使 input 失去焦点"},{type:"clear",describe:"清除 input 值"},{type:"select",describe:"选中 input 中的文字"}]}},h={component:async()=>(await import("element-plus")).ElInput,icon:"icon--epic--edit-square-outline-rounded",groupName:"表单",sort:705,defaultSchema:{label:"文本域",type:"textarea",field:"textarea",input:!0,componentProps:{placeholder:"请输入",type:"textarea"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"textarea",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"最大输入长度",type:"number",field:"componentProps.maxlength",componentProps:{placeholder:"请输入",min:0}},{label:"统计字数",type:"switch",field:"componentProps.showWordLimit",show:({values:e})=>e.componentProps.maxlength},{label:"最小行数",type:"number",field:"componentProps.autosize.minRows",componentProps:{placeholder:"请输入"}},{label:"最大行数",type:"number",field:"componentProps.autosize.maxRows",componentProps:{placeholder:"请输入"}},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"input",describe:"输入值"},{type:"change",describe:"值修改"},{type:"focus",describe:"获取焦点"},{type:"blur",describe:"失去焦点"}],action:[{type:"focus",describe:"使 input 获取焦点"},{type:"blur",describe:"使 input 失去焦点"},{type:"clear",describe:"清除 input 值"},{type:"select",describe:"选中 input 中的文字"}]}},v={component:async()=>(await import("element-plus")).ElInputNumber,groupName:"表单",icon:"icon--epic--123-rounded",sort:710,defaultSchema:{label:"数字输入框",type:"number",field:"number",input:!0,componentProps:{placeholder:"请输入"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"number",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"最大值",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"}},{label:"最小值",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"}},{label:"步长",type:"number",field:"componentProps.step",componentProps:{placeholder:"请输入"}},{label:"控制按钮位置",type:"select",defaultValue:"",componentProps:{options:[{label:"default",value:""},{label:"right",value:"right"}],placeholder:"请选择",clearable:!0},field:"componentProps.controlsPosition"},{label:"精度",type:"number",field:"componentProps.precision",componentProps:{placeholder:"请输入"}},{label:"输入控制为步长的倍数",type:"switch",field:"componentProps.stepStrictly"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"number"}}],event:[{type:"change",describe:"值变化时"}]}},g={component:()=>Promise.resolve().then(()=>require("../../form-CthzLIgs.cjs")),groupName:"表单",icon:"icon--epic--list-alt-outline-rounded",sort:600,defaultSchema:{label:"表单",type:"form",componentProps:{name:"default",labelWidth:"100px","label-position":"left"},children:[]},config:{attribute:[{label:"Name",type:"input",field:"componentProps.name"},{label:"标签位置",type:"radio",field:"componentProps.label-position",componentProps:{clearable:!0,radioButton:!0,options:[{label:"左边",value:"left"},{label:"右边",value:"right"},{label:"顶部",value:"top"}]}},{label:"标签宽度",type:"EInputSize",field:"componentProps.labelWidth"},{label:"标签后缀",type:"input",field:"componentProps.labelSuffix",componentProps:{placeholder:"请输入"}},{label:"表单尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]}},{label:"星号位置",type:"select",field:"componentProps.require-asterisk-position",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"左边",value:"left"},{label:"右边",value:"right"}]}},{label:"行内展示校验信息",type:"switch",field:"componentProps.inline-message"},{label:"校验反馈图标",type:"switch",field:"componentProps.status-icon"},{label:"滚动校验错误处",type:"switch",field:"componentProps.scroll-to-error"},{label:"行内模式",type:"switch",field:"componentProps.inline"}],action:[{type:"getData",describe:"获取表单数据"},{type:"setData",describe:"设置表单数据"},{type:"validate",describe:"校验表单"}]}},w={component:()=>Promise.resolve().then(()=>require("../../formItem-BVnNs1Q9.cjs")),defaultSchema:{label:"表单项",type:"form-item"},config:{}},E={component:()=>Promise.resolve().then(()=>require("../../button-Cc4KYk3v.cjs")),groupName:"表单",icon:"icon--epic--fit-screen-rounded",sort:1200,defaultSchema:{label:"按钮",type:"button",field:"input",input:!1},config:{attribute:[{label:"标题",type:"input",field:"label"},{label:"类型",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}]},field:"componentProps.type"},{label:"操作类型",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"button",value:"button"},{label:"submit",value:"submit"},{label:"reset",value:"reset"}]},field:"componentProps.native-type"},{label:"自定义颜色",type:"color-picker",field:"componentProps.color",componentProps:{type:"color"}},{label:"朴素按钮",type:"switch",field:"componentProps.plain"},{label:"圆角按钮",type:"switch",field:"componentProps.round"},{label:"圆形按钮",type:"switch",field:"componentProps.circle"},{label:"文字按钮",type:"switch",field:"componentProps.text"},{label:"加载状态",type:"switch",field:"componentProps.loading"}],event:[{type:"click",describe:"点击按钮时"},{type:"dblclick",describe:"双击按钮时"}]}},S={component:()=>Promise.resolve().then(()=>require("../../card-BowzD9vN.cjs")),groupName:"布局",icon:"icon--epic--wysiwyg-rounded",sort:700,defaultSchema:{label:"卡片布局",type:"card",children:[],componentProps:{}},config:{attribute:[{label:"标题",type:"input",field:"label"},{label:"阴影时机",type:"select",componentProps:{options:[{label:"always",value:"always"},{label:"hover",value:"hover"},{label:"never",value:"never"}],placeholder:"请选择",clearable:!0},field:"componentProps.shadow"}]}},x={component:()=>Promise.resolve().then(()=>require("../../row-NNlPGZRG.cjs")),groupName:"布局",icon:"icon--epic--width-normal-outline",sort:800,defaultSchema:{label:"栅格布局",type:"row",children:[{type:"col",children:[],componentProps:{span:12}},{type:"col",children:[],componentProps:{span:12}}]},editConstraints:{childImmovable:!0},config:{attribute:[{label:"垂直对齐方式",type:"select",componentProps:{style:{width:"100%"},options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}],placeholder:"请选择"},field:"componentProps.align"},{label:"水平排列方式",type:"select",componentProps:{style:{width:"100%"},options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}],placeholder:"请选择"},field:"componentProps.justify"},{label:"栅格间距",type:"number",field:"componentProps.gutter",componentProps:{placeholder:"请输入"}},{label:"列编辑(一行几列)",type:"EColEditor",field:"children"}]}},Y={component:()=>Promise.resolve().then(()=>require("../../col-B1GUMkMK.cjs")),defaultSchema:{label:"栅格布局-列",type:"col",children:[],componentProps:{span:6}},config:{attribute:[]}},C={component:()=>Promise.resolve().then(()=>require("../../select-BvJWp4t6.cjs")),groupName:"表单",icon:"icon--epic--select",sort:900,defaultSchema:{label:"选择框",type:"select",field:"select",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}],dynamicId:"",placeholder:"请选择",size:"default",effect:"light",placement:"bottom-start"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"select",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"可多选",type:"switch",field:"componentProps.multiple",onChange:({value:e,values:l})=>{e?l.componentProps.defaultValue=[]:l.componentProps.defaultValue=null}},{label:"多选隐藏",type:"switch",field:"componentProps.collapseTags",show:({values:e})=>e.componentProps.multiple},{label:"隐藏提示",type:"switch",field:"componentProps.collapseTagsTooltip",show:({values:e})=>e.componentProps.multiple&&e.componentProps.collapseTags},{label:"保留搜索关键字",type:"switch",field:"componentProps.reserveKeyword",show:({values:e})=>e.componentProps.multiple},{label:"标签类型",type:"select",defaultValue:"info",componentProps:{options:[{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}]},show:({values:e})=>e.componentProps.multiple,field:"componentProps.tagType"},{label:"多选限制",type:"number",field:"componentProps.multipleLimit",show:({values:e})=>e.componentProps.multiple},{label:"提示主题",type:"select",componentProps:{options:[{label:"light",value:"light"},{label:"dark",value:"dark"}]},field:"componentProps.effect"},{label:"可筛选",type:"switch",field:"componentProps.filterable"},{label:"允许创建条目",type:"switch",field:"componentProps.allowCreate"},{label:"下拉框位置",type:"select",defaultValue:"bottom-start",componentProps:{options:[{label:"top",value:"top"},{label:"top-start",value:"top-start"},{label:"top-end",value:"top-end"},{label:"bottom",value:"bottom"},{label:"bottom-start",value:"bottom-start"},{label:"bottom-end",value:"bottom-end"},{label:"left",value:"left"},{label:"left-start",value:"left-start"},{label:"left-end",value:"left-end"},{label:"right",value:"right"},{label:"right-start",value:"right-start"},{label:"right-end",value:"right-end"}]},field:"componentProps.placement"},{label:"下拉框宽度与输入框相同",type:"switch",field:"componentProps.fitInputWidth"},{label:"无数据时文本",type:"input",field:"componentProps.noDataText",componentProps:{placeholder:"请输入"}},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",describe:"配置选项"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"},{label:"数据源",type:"EDataSource",layout:"vertical",field:"componentProps.dataSource",describe:"数据源配置"}],event:[{type:"change",describe:"值变化时"}]}},V={component:()=>Promise.resolve().then(()=>require("../../radio-_GXvcBNP.cjs")),groupName:"表单",icon:"icon--epic--radio-button-checked-outline",sort:850,defaultSchema:{label:"单选框",type:"radio",field:"radio",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}],size:"default"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"radio",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"按钮模式",type:"switch",field:"componentProps.radioButton"},{label:"选项文本颜色",type:"color-picker",layout:"horizontal",field:"componentProps.textColor",show:({values:e})=>e.componentProps.radioButton,describe:"按钮模式下生效"},{label:"选项按钮颜色",type:"color-picker",layout:"horizontal",field:"componentProps.fill",show:({values:e})=>e.componentProps.radioButton,describe:"按钮模式下生效"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"},{label:"数据源",type:"EDataSource",layout:"vertical",field:"componentProps.dataSource",describe:"数据源配置"}],event:[{type:"change",describe:"值变化时"}]}},T={component:()=>Promise.resolve().then(()=>require("../../checkbox-Bjqm2Ob1.cjs")),groupName:"表单",icon:"icon--epic--dialogs-outline-rounded",sort:860,defaultSchema:{label:"复选框",type:"checkbox",field:"checkbox",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}]}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"checkbox",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"最大选中数",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"}},{label:"最小选中数",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"}},{label:"按钮模式",type:"switch",field:"componentProps.radioButton"},{label:"选项文本颜色",type:"color-picker",layout:"horizontal",field:"componentProps.textColor",show:({values:e})=>e.componentProps.radioButton,describe:"按钮模式下生效"},{label:"选项按钮颜色",type:"color-picker",layout:"horizontal",field:"componentProps.fill",show:({values:e})=>e.componentProps.radioButton,describe:"按钮模式下生效"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}},{label:"数据源",type:"EDataSource",layout:"vertical",field:"componentProps.dataSource",describe:"数据源配置"}],event:[{type:"change",describe:"值变化时"}]}},k={component:async()=>(await import("element-plus")).ElSlider,groupName:"表单",icon:"icon--epic--switches",sort:930,defaultSchema:{label:"滑块",type:"slider",field:"slider",input:!0,componentProps:{placement:"top-start",showTooltip:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"slider",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"最小值",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"},onChange:({value:e,values:l,componentAttributes:o})=>{const a=o.value.findIndex(r=>r.field==="componentProps.max"),p=o.value[a];p.componentProps={min:e},(l.componentProps.max??0)<e&&(l.componentProps.max=e)}},{label:"最大值",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"},onChange:({value:e,values:l,componentAttributes:o})=>{const a=o.value.findIndex(r=>r.field==="componentProps.min"),p=o.value[a];p.componentProps={max:e},(l.componentProps.min??0)>e&&(l.componentProps.min=e)}},{label:"步长",type:"number",field:"componentProps.step",componentProps:{placeholder:"请输入"}},{label:"显示间断点",type:"switch",field:"componentProps.showStops"},{label:"提示信息",type:"switch",field:"componentProps.showTooltip"},{label:"开启选择范围",type:"switch",field:"componentProps.range"},{label:"垂直模式",type:"switch",field:"componentProps.vertical"},{label:"高度",type:"EInputSize",field:"componentProps.height",show:({values:e})=>e.componentProps.vertical},{label:"显示数字框",type:"switch",field:"componentProps.showInput",onChange:({value:e,values:l})=>{e&&(l.componentProps.showInputControls=!0)}},{label:"控制按钮",type:"switch",field:"componentProps.showInputControls",show:({values:e})=>e.componentProps.showInput},{label:"提示框位置",type:"select",defaultValue:"bottom-start",componentProps:{options:[{label:"top",value:"top"},{label:"top-start",value:"top-start"},{label:"top-end",value:"top-end"},{label:"bottom",value:"bottom"},{label:"bottom-start",value:"bottom-start"},{label:"bottom-end",value:"bottom-end"},{label:"left",value:"left"},{label:"left-start",value:"left-start"},{label:"left-end",value:"left-end"},{label:"right",value:"right"},{label:"right-start",value:"right-start"},{label:"right-end",value:"right-end"}]},field:"componentProps.placement"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"number"}}],event:[{type:"input",describe:"拖拽实时触发"},{type:"change",describe:"拖拽结束改变值时"}]}},D={component:async()=>(await import("element-plus")).ElColorPicker,groupName:"表单",icon:"icon--epic--palette-outline",sort:950,defaultSchema:{label:"颜色选择器",type:"color-picker",field:"color-picker",input:!0},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"color-picker",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"格式",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"hsl",value:"hsl"},{label:"hsv",value:"hsv"},{label:"hex",value:"hex"},{label:"rgb",value:"rgb"}]},field:"componentProps.colorFormat"},{label:"透明度选择",type:"switch",field:"componentProps.showAlpha"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"change",describe:"值变化时"}],action:[]}},I={component:async()=>(await import("element-plus")).ElSwitch,groupName:"表单",icon:"icon--epic--toggle-off-outline",sort:930,defaultSchema:{label:"开关",type:"switch",field:"switch",input:!0,componentProps:{defaultValue:!1}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"switch",field:"componentProps.defaultValue"},{label:"ON状态值",type:"input",field:"componentProps.activeValue",componentProps:{placeholder:"请输入"},onChange(e){setTimeout(()=>c(e))}},{label:"OFF状态值",type:"input",field:"componentProps.inactiveValue",componentProps:{placeholder:"请输入"},onChange(e){setTimeout(()=>c(e))}},{label:"ON状态描述",type:"input",field:"componentProps.activeText",componentProps:{placeholder:"请输入"}},{label:"OFF状态描述",type:"input",field:"componentProps.inactiveText",componentProps:{placeholder:"请输入"}},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"宽度",type:"number",field:"componentProps.width",componentProps:{min:50,placeholder:"请输入"}},{label:"文本点内显示",type:"switch",field:"componentProps.inlinePrompt"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"boolean"}}],event:[{type:"change",describe:"状态发生变化时"}]}};function c(e){var o;let l=((o=e.values.componentProps)==null?void 0:o.inactiveValue)||!1;e.values.componentProps.unCheckedValue===""&&delete e.values.componentProps.unCheckedValue,e.values.componentProps.activeValue===""&&delete e.values.componentProps.activeValue,e.values.componentProps?e.values.componentProps.defaultValue=l:e.values.componentProps={defaultValue:l}}const z={component:async()=>(await import("element-plus")).ElCascader,groupName:"表单",icon:"icon--epic--full-coverage-outline",sort:900,defaultSchema:{label:"级联选择器",type:"cascader",field:"cascader",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}],placeholder:"请选择",props:{expandTrigger:"click"}}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"cascader",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"分割符",type:"input",componentProps:{placeholder:"请输入"},field:"componentProps.separator"},{label:"次级菜单展开方式",type:"select",field:"componentProps.props.expandTrigger",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"click",value:"click"},{label:"hover",value:"hover"}]}},{label:"可搜索",type:"switch",field:"componentProps.filterable"},{label:"可多选",type:"switch",field:"componentProps.props.multiple",onChange:({value:e,values:l})=>{e?l.componentProps.defaultValue=[]:l.componentProps.defaultValue=null}},{label:"折叠Tag",type:"switch",field:"componentProps.collapseTags",show:({values:e})=>e.componentProps.props.multiple},{label:"显示被折叠标签",type:"switch",field:"componentProps.collapseTagsTooltip",show:({values:e})=>e.componentProps.props.multiple&&e.componentProps.collapseTags},{label:"不显示路径",type:"switch",componentProps:{activeValue:!1,inactiveValue:!0},field:"componentProps.showAllLevels"},{label:"父级可选",type:"switch",field:"componentProps.props.checkStrictly",describe:"父子节点不互相关联"},{label:"只获取选中节点",type:"switch",field:"componentProps.props.emitPath",componentProps:{activeValue:!1,inactiveValue:!0}},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",componentProps:{tree:!0},describe:"配置选项"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}},{label:"数据源",type:"EDataSource",layout:"vertical",field:"componentProps.dataSource",describe:"数据源配置"}],event:[{type:"change",describe:"选中节点变化时"},{type:"blur",describe:" 当失去焦点时触发"},{type:"focus",describe:"当获得焦点时触发"}],action:[{type:"getCheckedNodes",describe:"获取当前选中节点"},{type:"togglePopperVisible",describe:"切换 popper 可见状态"}]}},N={component:()=>Promise.resolve().then(()=>require("../../collapse-B2AXU6Jz.cjs")),icon:"epic-icon-xiala",defaultSchema:{label:"折叠面板",type:"collapse",children:[{type:"collapse-item",children:[],componentProps:{span:12},id:"g062zikd2jk001"},{type:"collapse-item",children:[],componentProps:{span:12},id:"gy5z9jtfb3s001"}]},config:{attribute:[{label:"折叠项管理",type:"EColEditor",field:"children"}]}},F={component:()=>Promise.resolve().then(()=>require("../../collapseItem-CAGqWjGg.cjs")),defaultSchema:{label:"折叠项",type:"collapse-item",children:[]},config:{attribute:[]}},q={component:async()=>(await import("element-plus")).ElDatePicker,groupName:"表单",icon:"icon--epic--calendar-month-outline-rounded",sort:910,defaultSchema:{label:"日期选择器",type:"date",field:"date",input:!0,componentProps:{type:"date",valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD",placeholder:"请选择",startPlaceholder:"请选择",endPlaceholder:"请选择"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"date",field:"componentProps.defaultValue"},{label:"日期类型",type:"select",field:"componentProps.type",componentProps:{options:[{label:"日期",value:"date"},{label:"周",value:"week"},{label:"月份",value:"month"},{label:"年份",value:"year"},{label:"时间",value:"datetime"},{label:"时间范围",value:"datetimerange"},{label:"日期范围",value:"daterange"},{label:"月份范围",value:"monthrange"},{label:"多个日期",value:"dates"}]},onChange({values:e,value:l}){e.componentProps.defaultValue=null,["date","daterange","dates"].includes(l)?(e.componentProps.format="YYYY-MM-DD",e.componentProps.valueFormat="YYYY-MM-DD"):["week"].includes(l)?(e.componentProps.format="ww [周]",e.componentProps.valueFormat="YYYY-MM-DD"):["month","monthrange"].includes(l)?(e.componentProps.format="YYYY-MM",e.componentProps.valueFormat="YYYY-MM"):["datetime","datetimerange"].includes(l)?(e.componentProps.format="YYYY-MM-DD HH:mm:ss",e.componentProps.valueFormat="YYYY-MM-DD HH:mm:ss"):["year"].includes(l)&&(e.componentProps.format="YYYY",e.componentProps.valueFormat="YYYY")}},{label:"开始占位符",type:"input",field:"componentProps.startPlaceholder",show({values:e}){return["datetimerange","daterange","monthrange"].includes(e.componentProps.type)}},{label:"结束占位符",type:"input",field:"componentProps.endPlaceholder",show({values:e}){return["datetimerange","daterange","monthrange"].includes(e.componentProps.type)}},{label:"占位内容",type:"input",field:"componentProps.placeholder",show({values:e}){return!["datetimerange","daterange","monthrange"].includes(e.componentProps.type)}},{label:"尺寸",type:"select",defaultValue:"default",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"default"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"可输入",type:"switch",field:"componentProps.editable"},{label:"显示格式",type:"input",field:"componentProps.format"},{label:"数据格式",type:"input",field:"componentProps.valueFormat"},{label:"分割符",type:"input",field:"componentProps.rangeSeparator",componentProps:{placeholder:"请输入"},show({values:e}){return["datetimerange","daterange","monthrange"].includes(e.componentProps.type)}},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"change",describe:"值变化时"}]}},R={component:()=>Promise.resolve().then(()=>require("../../uploadFile-eWBMdZ9d.cjs")),groupName:"表单",icon:"icon--epic--upload-rounded",sort:920,defaultSchema:{label:"上传文件",type:"upload-file",field:"uploadFile",input:!0,componentProps:{action:"https://ess-ds.com/prod-api/center-file/file/upload",name:"file",showFileList:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"请求地址",type:"input",field:"componentProps.action"},{label:"上传文件字段",type:"input",field:"componentProps.name"},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"展示文件列表",type:"switch",field:"componentProps.showFileList"},{label:"拖拽上传",type:"switch",field:"componentProps.drag"},{label:"允许上传最大数量",type:"number",field:"componentProps.limit",componentProps:{min:0,placeholder:"请输入"}},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}]},bindModel:"modelValue"},B={component:()=>Promise.resolve().then(()=>require("../../uploadImage-BXcN2FA_.cjs")),groupName:"表单",icon:"icon--epic--imagesmode-outline-rounded",sort:920,defaultSchema:{label:"上传图片",type:"upload-image",field:"uploadImage",input:!0,componentProps:{action:"https://ess-ds.com/prod-api/center-file/file/upload",name:"file",showFileList:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"请求地址",type:"input",field:"componentProps.action"},{label:"上传文件字段",type:"input",field:"componentProps.name"},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"展示文件列表",type:"switch",field:"componentProps.showFileList"},{label:"拖拽上传",type:"switch",field:"componentProps.drag"},{label:"允许上传最大数量",type:"number",field:"componentProps.limit",componentProps:{min:0,placeholder:"请输入"}},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}]},bindModel:"modelValue"},M={component:()=>Promise.resolve().then(()=>require("../../modal-_fid8E1T.cjs")),defaultSchema:{label:"模态框",type:"modal",children:[]},config:{attribute:[{label:"标题",type:"input",field:"title"}]}},O={component:async()=>await Promise.resolve().then(()=>require("../../sign--js815Se.cjs")),icon:"icon--epic--insert-text-outline-rounded",groupName:"表单",sort:705,defaultSchema:{label:"签名板",type:"sign",field:"sign",input:!0,componentProps:{placeholder:"请输入",lineWidth:4,type:"sign",style:{}}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"线条宽度(px)",type:"input",componentProps:{placeholder:"请选择",clearable:!0},field:"componentProps.lineWidth"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}]}},L={component:()=>Promise.resolve().then(()=>require("../../table-DM2-xHlv.cjs")),groupName:"",icon:"icon--epic--width-normal-outline",sort:800,defaultSchema:{label:"表格",type:"table",children:[{type:"table-row",children:[{type:"table-col",children:[],componentProps:{span:12}},{type:"table-col",children:[],componentProps:{span:12}}],componentProps:{span:24}}]},editConstraints:{childImmovable:!0},config:{attribute:[{label:"垂直对齐方式",type:"select",componentProps:{style:{width:"100%"},options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}],placeholder:"请选择"},field:"componentProps.align"},{label:"水平排列方式",type:"select",componentProps:{style:{width:"100%"},options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}],placeholder:"请选择"},field:"componentProps.justify"}]}},W={component:async()=>await Promise.resolve().then(()=>require("../../text-X9fl5oe8.cjs")),groupName:"表单",icon:"icon--epic--insert-text-outline-rounded",sort:1e3,defaultSchema:{label:"静态文字",type:"text",position:"left",fontSize:"14"},config:{attribute:[{label:"静态文字",type:"input",field:"label"},{label:"标签位置",type:"radio",field:"position",componentProps:{clearable:!1,radioButton:!0,options:[{label:"居左",value:"left"},{label:"居中",value:"center"},{label:"居右",value:"right"}]}},{label:"字体大小(px)",type:"input",field:"fontSize"}],event:[{type:"input",describe:"输入值时"},{type:"change",describe:"值修改时"},{type:"focus",describe:"获取焦点时"},{type:"blur",describe:"失去焦点时"},{type:"clear",describe:"点击清空按钮时"}],action:[{type:"focus",describe:"使 input 获取焦点"},{type:"blur",describe:"使 input 失去焦点"},{type:"clear",describe:"清除 input 值"},{type:"select",describe:"选中 input 中的文字"}]}},j={component:()=>Promise.resolve().then(()=>require("../../row-Bm8OjIsU.cjs")),icon:"icon--epic--width-normal-outline",sort:800,defaultSchema:{label:"表格-行",type:"table-row",children:[{type:"col",children:[],componentProps:{span:12}},{type:"col",children:[],componentProps:{span:12}}]},editConstraints:{childImmovable:!0},config:{attribute:[{label:"垂直对齐方式",type:"select",componentProps:{style:{width:"100%"},options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}],placeholder:"请选择"},field:"componentProps.align"},{label:"水平排列方式",type:"select",componentProps:{style:{width:"100%"},options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}],placeholder:"请选择"},field:"componentProps.justify"},{label:"栅格间距",type:"number",field:"componentProps.gutter",componentProps:{placeholder:"请输入"}},{label:"列编辑(一行几列)",type:"EColEditor",field:"children"}]}},G={component:()=>Promise.resolve().then(()=>require("../../col-RWuL5Zuz.cjs")),defaultSchema:{label:"表格-列",type:"table-col",children:[]},config:{attribute:[]}};function H(e=y.pluginManager){e.component("FormItem",t.ElFormItem),e.component("Form",t.ElForm),e.component("RadioGroup",t.ElRadioGroup),e.component("RadioButton",t.ElRadioButton),e.component("Tabs",t.ElTabs),e.component("TabPane",t.ElTabPane),e.component("Collapse",t.ElCollapse),e.component("CollapseItem",t.ElCollapseItem),e.component("Drawer",t.ElDrawer),e.component("Dialog",t.ElDialog),[g,w,P,h,v,V,T,q,C,I,D,z,k,R,B,E,S,x,Y,N,F,M,O,L,W,j,G].forEach(o=>{e.registerComponent(o),e.addBaseComponentTypes(o.defaultSchema.type)}),e.setInitialized(!0)}function A(e){import("element-plus").then(({provideGlobalConfig:l})=>{l(e)})}exports.provideGlobalConfig=A;exports.setupElementPlus=H;
|
|
1
|
+
"use strict";var L=Object.create;var F=Object.defineProperty;var Y=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var q=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var M=(e,a,b,C)=>{if(a&&typeof a=="object"||typeof a=="function")for(let w of N(a))!D.call(e,w)&&w!==b&&F(e,w,{get:()=>a[w],enumerable:!(C=Y(a,w))||C.enumerable});return e};var S=(e,a,b)=>(b=e!=null?L(q(e)):{},M(a||!e||!e.__esModule?F(b,"default",{value:e,enumerable:!0}):b,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("epic-designer-gold"),c=require("../../index-DddOVmF6.cjs"),g=require("element-plus"),{t:n}=c.useLocale();console.log("%c [ t ]-4","font-size:13px; background:pink; color:#bf2c9f;",n("form"));const $={component:async()=>(await import("element-plus")).ElInput,groupName:n("form"),icon:"icon--epic--border-color-outline-rounded",sort:700,defaultSchema:{label:n("input"),type:"input",field:"input",input:!0,componentProps:{placeholder:n("pleaseEnter")}},config:{attribute:[{label:n("fieldName"),type:"input",field:"field"},{label:n("title"),type:"input",field:"label"},{label:n("defaultValue"),type:"input",field:"componentProps.defaultValue"},{label:n("placeholder"),type:"input",field:"componentProps.placeholder"},{label:n("size"),type:"select",defaultValue:"default",componentProps:{placeholder:n("pleaseSelect"),clearable:!0,options:[{label:n("large"),value:"large"},{label:n("medium"),value:"default"},{label:n("small"),value:"small"}]},field:"componentProps.size"},{label:n("maxInputLength"),type:"number",field:"componentProps.maxlength",componentProps:{placeholder:n("pleaseEnter"),min:0}},{label:n("countWords"),type:"switch",field:"componentProps.showWordLimit",show:({values:e})=>e.componentProps.maxlength},{label:n("inputType"),type:"select",defaultValue:"text",componentProps:{placeholder:n("pleaseSelect"),clearable:!0,options:[{label:"text",value:"text"},{label:"number",value:"number"},{label:"password",value:"password"}]},field:"componentProps.type"},{label:n("showToggleIcon"),type:"switch",field:"componentProps.showPassword",show:({values:e})=>e.componentProps.type==="password"},{label:n("clearable"),type:"switch",field:"componentProps.clearable"},{label:n("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:n("validationRuleRequiresForm")}],event:[{type:"input",describe:n("onInput")},{type:"change",describe:n("onChange")},{type:"focus",describe:n("onFocus")},{type:"blur",describe:n("onBlur")},{type:"clear",describe:n("onClear")}],action:[{type:"focus",describe:n("focusInput")},{type:"blur",describe:n("blurInput")},{type:"clear",describe:n("clearInput")},{type:"select",describe:n("selectInputText")}]}},{t:p}=c.useLocale(),W={component:async()=>(await import("element-plus")).ElInput,icon:"icon--epic--edit-square-outline-rounded",groupName:p("form"),sort:705,defaultSchema:{label:p("textarea"),type:"textarea",field:"textarea",input:!0,componentProps:{placeholder:p("pleaseEnter"),type:"textarea"}},config:{attribute:[{label:p("fieldName"),type:"input",field:"field"},{label:p("title"),type:"input",field:"label"},{label:p("defaultValue"),type:"textarea",field:"componentProps.defaultValue"},{label:p("placeholder"),type:"input",field:"componentProps.placeholder"},{label:p("size"),type:"select",componentProps:{placeholder:p("pleaseSelect"),clearable:!0,options:[{label:p("large"),value:"large"},{label:p("medium"),value:"default"},{label:p("small"),value:"small"}]},field:"componentProps.size"},{label:p("maxInputLength"),type:"number",field:"componentProps.maxlength",componentProps:{placeholder:p("pleaseEnter"),min:0}},{label:p("countWords"),type:"switch",field:"componentProps.showWordLimit",show:({values:e})=>e.componentProps.maxlength},{label:p("minRows"),type:"number",field:"componentProps.autosize.minRows",componentProps:{placeholder:p("pleaseEnter")}},{label:p("maxRows"),type:"number",field:"componentProps.autosize.maxRows",componentProps:{placeholder:p("pleaseEnter")}},{label:p("clearable"),type:"switch",field:"componentProps.clearable"},{label:p("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:p("validationRuleRequiresForm")}],event:[{type:"input",describe:p("inputValue")},{type:"change",describe:p("valueChange")},{type:"focus",describe:p("focus")},{type:"blur",describe:p("blur")}],action:[{type:"focus",describe:p("focusInput")},{type:"blur",describe:p("blurInput")},{type:"clear",describe:p("clearInput")},{type:"select",describe:p("selectInputText")}]}},{t:s}=c.useLocale(),A={component:async()=>(await import("element-plus")).ElInputNumber,groupName:s("form"),icon:"icon--epic--123-rounded",sort:710,defaultSchema:{label:s("numberInput"),type:"number",field:"number",input:!0,componentProps:{placeholder:s("pleaseEnter")}},config:{attribute:[{label:s("fieldName"),type:"input",field:"field"},{label:s("title"),type:"input",field:"label"},{label:s("defaultValue"),type:"number",field:"componentProps.defaultValue"},{label:s("placeholder"),type:"input",field:"componentProps.placeholder"},{label:s("size"),type:"select",componentProps:{placeholder:s("pleaseSelect"),clearable:!0,options:[{label:s("large"),value:"large"},{label:s("medium"),value:"default"},{label:s("small"),value:"small"}]},field:"componentProps.size"},{label:s("maxValue"),type:"number",field:"componentProps.max",componentProps:{placeholder:s("pleaseEnter")}},{label:s("minValue"),type:"number",field:"componentProps.min",componentProps:{placeholder:s("pleaseEnter")}},{label:s("step"),type:"number",field:"componentProps.step",componentProps:{placeholder:s("pleaseEnter")}},{label:s("controlButtonPosition"),type:"select",defaultValue:"",componentProps:{options:[{label:"default",value:""},{label:"right",value:"right"}],placeholder:s("pleaseSelect"),clearable:!0},field:"componentProps.controlsPosition"},{label:s("precision"),type:"number",field:"componentProps.precision",componentProps:{placeholder:s("pleaseEnter")}},{label:s("inputControlIsMultipleOfStep"),type:"switch",field:"componentProps.stepStrictly"},{label:s("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:s("validationRuleRequiresForm"),componentProps:{ruleType:"number"}}],event:[{type:"change",describe:s("onValueChange")}]}},{t:u}=c.useLocale(),U={component:()=>Promise.resolve().then(()=>require("../../form-CthzLIgs.cjs")),groupName:u("form"),icon:"icon--epic--list-alt-outline-rounded",sort:600,defaultSchema:{label:u("form"),type:"form",componentProps:{name:"default",labelWidth:"100px","label-position":"left"},children:[]},config:{attribute:[{label:"Name",type:"input",field:"componentProps.name"},{label:u("labelPosition"),type:"radio",field:"componentProps.label-position",componentProps:{clearable:!0,radioButton:!0,options:[{label:u("left"),value:"left"},{label:u("right"),value:"right"},{label:u("top"),value:"top"}]}},{label:u("labelWidth"),type:"EInputSize",field:"componentProps.labelWidth"},{label:u("labelSuffix"),type:"input",field:"componentProps.labelSuffix",componentProps:{placeholder:u("pleaseEnter")}},{label:u("formSize"),type:"select",field:"componentProps.size",componentProps:{placeholder:u("pleaseSelect"),clearable:!0,options:[{label:u("large"),value:"large"},{label:u("medium"),value:"default"},{label:u("small"),value:"small"}]}},{label:u("asteriskPosition"),type:"select",field:"componentProps.require-asterisk-position",componentProps:{placeholder:u("pleaseSelect"),clearable:!0,options:[{label:u("left"),value:"left"},{label:u("right"),value:"right"}]}},{label:u("inlineValidationMessage"),type:"switch",field:"componentProps.inline-message"},{label:u("validationFeedbackIcon"),type:"switch",field:"componentProps.status-icon"},{label:u("scrollToValidationError"),type:"switch",field:"componentProps.scroll-to-error"},{label:u("inlineMode"),type:"switch",field:"componentProps.inline"}],action:[{type:"getData",describe:u("getFormData")},{type:"setData",describe:u("setFormData")},{type:"validate",describe:u("validateForm")}]}};c.useLocale();const O={component:()=>Promise.resolve().then(()=>require("../../formItem-BVnNs1Q9.cjs")),defaultSchema:{label:"表单项",type:"form-item"},config:{}},{t:y}=c.useLocale(),j={component:()=>Promise.resolve().then(()=>require("../../button-Cc4KYk3v.cjs")),groupName:y("form"),icon:"icon--epic--fit-screen-rounded",sort:1200,defaultSchema:{label:y("button"),type:"button",field:"input",input:!1},config:{attribute:[{label:y("title"),type:"input",field:"label"},{label:y("actionType"),type:"select",componentProps:{placeholder:y("pleaseSelect"),clearable:!0,options:[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}]},field:"componentProps.type"},{label:y("actionType"),type:"select",componentProps:{placeholder:y("pleaseSelect"),clearable:!0,options:[{label:"button",value:"button"},{label:"submit",value:"submit"},{label:"reset",value:"reset"}]},field:"componentProps.native-type"},{label:y("customColor"),type:"color-picker",field:"componentProps.color",componentProps:{type:"color"}},{label:y("plainButton"),type:"switch",field:"componentProps.plain"},{label:y("roundButton"),type:"switch",field:"componentProps.round"},{label:y("circleButton"),type:"switch",field:"componentProps.circle"},{label:y("textButton"),type:"switch",field:"componentProps.text"},{label:y("loadingState"),type:"switch",field:"componentProps.loading"}],event:[{type:"click",describe:y("onClick")},{type:"dblclick",describe:y("onDoubleClick")}]}},{t:I}=c.useLocale(),G={component:()=>Promise.resolve().then(()=>require("../../card-BowzD9vN.cjs")),groupName:I("layout"),icon:"icon--epic--wysiwyg-rounded",sort:700,defaultSchema:{label:I("cardLayout"),type:"card",children:[],componentProps:{}},config:{attribute:[{label:I("title"),type:"input",field:"label"},{label:I("shadowTiming"),type:"select",componentProps:{options:[{label:"always",value:"always"},{label:"hover",value:"hover"},{label:"never",value:"never"}],placeholder:I("pleaseSelect"),clearable:!0},field:"componentProps.shadow"}]}},{t:E}=c.useLocale(),H={component:()=>Promise.resolve().then(()=>require("../../row-NNlPGZRG.cjs")),groupName:E("layout"),icon:"icon--epic--width-normal-outline",sort:800,defaultSchema:{label:E("gridLayout"),type:"row",children:[{type:"col",children:[],componentProps:{span:12}},{type:"col",children:[],componentProps:{span:12}}]},editConstraints:{childImmovable:!0},config:{attribute:[{label:E("verticalAlignment"),type:"select",componentProps:{style:{width:"100%"},options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}],placeholder:E("pleaseSelect")},field:"componentProps.align"},{label:E("horizontalArrangement"),type:"select",componentProps:{style:{width:"100%"},options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}],placeholder:E("pleaseSelect")},field:"componentProps.justify"},{label:E("gridSpacing"),type:"number",field:"componentProps.gutter",componentProps:{placeholder:E("pleaseEnter")}},{label:E("gridWidth"),type:"EColEditor",field:"children"}]}},{t:k}=c.useLocale(),K={component:()=>Promise.resolve().then(()=>require("../../col-B1GUMkMK.cjs")),defaultSchema:{label:k("gridLayout")+"-"+k("column"),type:"col",children:[],componentProps:{span:6}},config:{attribute:[{label:"占位格数",type:"number",field:"componentProps.span"}]}},{t}=c.useLocale(),J={component:()=>Promise.resolve().then(()=>require("../../select-BvJWp4t6.cjs")),groupName:t("form"),icon:"icon--epic--select",sort:900,defaultSchema:{label:t("select"),type:"select",field:"select",input:!0,componentProps:{options:[{label:t("option1"),value:t("option1")},{label:t("option2"),value:t("option2")}],dynamicId:"",placeholder:t("pleaseSelect"),size:"default",effect:"light",placement:"bottom-start"}},config:{attribute:[{label:t("fieldName"),type:"input",field:"field"},{label:t("title"),type:"input",field:"label"},{label:t("defaultValue"),type:"select",field:"componentProps.defaultValue"},{label:t("placeholder"),type:"input",field:"componentProps.placeholder"},{label:t("size"),type:"select",componentProps:{placeholder:t("pleaseSelect"),clearable:!0,options:[{label:t("large"),value:"large"},{label:t("medium"),value:"default"},{label:t("small"),value:"small"}]},field:"componentProps.size"},{label:t("multiple"),type:"switch",field:"componentProps.multiple",onChange:({value:e,values:a})=>{e?a.componentProps.defaultValue=[]:a.componentProps.defaultValue=null}},{label:t("hideMultiple"),type:"switch",field:"componentProps.collapseTags",show:({values:e})=>e.componentProps.multiple},{label:t("hideHint"),type:"switch",field:"componentProps.collapseTagsTooltip",show:({values:e})=>e.componentProps.multiple&&e.componentProps.collapseTags},{label:t("retainSearchKeyword"),type:"switch",field:"componentProps.reserveKeyword",show:({values:e})=>e.componentProps.multiple},{label:t("tagType"),type:"select",defaultValue:"info",componentProps:{options:[{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}]},show:({values:e})=>e.componentProps.multiple,field:"componentProps.tagType"},{label:t("multipleLimit"),type:"number",field:"componentProps.multipleLimit",show:({values:e})=>e.componentProps.multiple},{label:t("hintTheme"),type:"select",componentProps:{options:[{label:"light",value:"light"},{label:"dark",value:"dark"}]},field:"componentProps.effect"},{label:t("filterable"),type:"switch",field:"componentProps.filterable"},{label:t("allowCreate"),type:"switch",field:"componentProps.allowCreate"},{label:t("dropdownPosition"),type:"select",defaultValue:"bottom-start",componentProps:{options:[{label:"top",value:"top"},{label:"top-start",value:"top-start"},{label:"top-end",value:"top-end"},{label:"bottom",value:"bottom"},{label:"bottom-start",value:"bottom-start"},{label:"bottom-end",value:"bottom-end"},{label:"left",value:"left"},{label:"left-start",value:"left-start"},{label:"left-end",value:"left-end"},{label:"right",value:"right"},{label:"right-start",value:"right-start"},{label:"right-end",value:"right-end"}]},field:"componentProps.placement"},{label:t("dropdownWidthSameAsInput"),type:"switch",field:"componentProps.fitInputWidth"},{label:t("noDataText"),type:"input",field:"componentProps.noDataText",componentProps:{placeholder:t("pleaseEnter")}},{label:t("clearable"),type:"switch",field:"componentProps.clearable"},{label:t("optionManagement"),type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",describe:t("configureOptions")},{label:t("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:t("validationRuleRequiresForm")},{label:t("dataSource"),type:"EDataSource",layout:"vertical",field:"componentProps.dataSource",describe:t("dataSourceConfig")}],event:[{type:"change",describe:t("onValueChange")}]}},{t:d}=c.useLocale(),Q={component:()=>Promise.resolve().then(()=>require("../../radio-_GXvcBNP.cjs")),groupName:d("form"),icon:"icon--epic--radio-button-checked-outline",sort:850,defaultSchema:{label:d("radio"),type:"radio",field:"radio",input:!0,componentProps:{options:[{label:d("option1"),value:d("option1")},{label:d("option2"),value:d("option2")}],size:"default"}},config:{attribute:[{label:d("fieldName"),type:"input",field:"field"},{label:d("title"),type:"input",field:"label"},{label:d("defaultValue"),type:"radio",field:"componentProps.defaultValue"},{label:d("size"),type:"select",componentProps:{placeholder:d("pleaseSelect"),clearable:!0,options:[{label:d("large"),value:"large"},{label:d("medium"),value:"default"},{label:d("small"),value:"small"}]},field:"componentProps.size"},{label:d("buttonMode"),type:"switch",field:"componentProps.radioButton"},{label:d("optionTextColor"),type:"color-picker",layout:"horizontal",field:"componentProps.textColor",show:({values:e})=>e.componentProps.radioButton,describe:d("effectiveInButtonMode")},{label:d("optionButtonColor"),type:"color-picker",layout:"horizontal",field:"componentProps.fill",show:({values:e})=>e.componentProps.radioButton,describe:d("effectiveInButtonMode")},{label:d("optionManagement"),type:"EOptionsEditor",layout:"vertical",field:"componentProps.options"},{label:d("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:d("validationRuleRequiresForm")},{label:d("dataSource"),type:"EDataSource",layout:"vertical",field:"componentProps.dataSource",describe:d("dataSourceConfig")}],event:[{type:"change",describe:d("onValueChange")}]}},{t:r}=c.useLocale(),X={component:()=>Promise.resolve().then(()=>require("../../checkbox-Bjqm2Ob1.cjs")),groupName:r("form"),icon:"icon--epic--dialogs-outline-rounded",sort:860,defaultSchema:{label:r("checkbox"),type:"checkbox",field:"checkbox",input:!0,componentProps:{options:[{label:r("option1"),value:r("option1")},{label:r("option2"),value:r("option2")}]}},config:{attribute:[{label:r("fieldName"),type:"input",field:"field"},{label:r("title"),type:"input",field:"label"},{label:r("defaultValue"),type:"checkbox",field:"componentProps.defaultValue"},{label:r("size"),type:"select",componentProps:{placeholder:r("pleaseSelect"),clearable:!0,options:[{label:r("large"),value:"large"},{label:r("medium"),value:"default"},{label:r("small"),value:"small"}]},field:"componentProps.size"},{label:r("maxSelected"),type:"number",field:"componentProps.max",componentProps:{placeholder:r("pleaseEnter")}},{label:r("minSelected"),type:"number",field:"componentProps.min",componentProps:{placeholder:r("pleaseEnter")}},{label:r("buttonMode"),type:"switch",field:"componentProps.radioButton"},{label:r("optionTextColor"),type:"color-picker",layout:"horizontal",field:"componentProps.textColor",show:({values:e})=>e.componentProps.radioButton,describe:r("effectiveInButtonMode")},{label:r("optionButtonColor"),type:"color-picker",layout:"horizontal",field:"componentProps.fill",show:({values:e})=>e.componentProps.radioButton,describe:r("effectiveInButtonMode")},{label:r("optionManagement"),type:"EOptionsEditor",layout:"vertical",field:"componentProps.options"},{label:r("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:r("validationRuleRequiresForm"),componentProps:{ruleType:"array"}},{label:r("dataSource"),type:"EDataSource",layout:"vertical",field:"componentProps.dataSource",describe:r("dataSourceConfig")}],event:[{type:"change",describe:r("onValueChange")}]}},{t:i}=c.useLocale(),Z={component:async()=>(await import("element-plus")).ElSlider,groupName:i("form"),icon:"icon--epic--switches",sort:930,defaultSchema:{label:i("slider"),type:"slider",field:"slider",input:!0,componentProps:{placement:"top-start",showTooltip:!0}},config:{attribute:[{label:i("fieldName"),type:"input",field:"field"},{label:i("title"),type:"input",field:"label"},{label:i("defaultValue"),type:"slider",field:"componentProps.defaultValue"},{label:i("size"),type:"select",componentProps:{placeholder:i("pleaseSelect"),clearable:!0,options:[{label:i("large"),value:"large"},{label:i("medium"),value:"default"},{label:i("small"),value:"small"}]},field:"componentProps.size"},{label:i("minValue"),type:"number",field:"componentProps.min",componentProps:{placeholder:i("pleaseEnter")},onChange:({value:e,values:a,componentAttributes:b})=>{const C=b.value.findIndex(T=>T.field==="componentProps.max"),w=b.value[C];w.componentProps={min:e},(a.componentProps.max??0)<e&&(a.componentProps.max=e)}},{label:i("maxValue"),type:"number",field:"componentProps.max",componentProps:{placeholder:i("pleaseEnter")},onChange:({value:e,values:a,componentAttributes:b})=>{const C=b.value.findIndex(T=>T.field==="componentProps.min"),w=b.value[C];w.componentProps={max:e},(a.componentProps.min??0)>e&&(a.componentProps.min=e)}},{label:i("step"),type:"number",field:"componentProps.step",componentProps:{placeholder:i("pleaseEnter")}},{label:i("showStops"),type:"switch",field:"componentProps.showStops"},{label:i("tooltip"),type:"switch",field:"componentProps.showTooltip"},{label:i("range"),type:"switch",field:"componentProps.range"},{label:i("vertical"),type:"switch",field:"componentProps.vertical"},{label:i("height"),type:"EInputSize",field:"componentProps.height",show:({values:e})=>e.componentProps.vertical},{label:i("showInput"),type:"switch",field:"componentProps.showInput",onChange:({value:e,values:a})=>{e&&(a.componentProps.showInputControls=!0)}},{label:i("controlButtons"),type:"switch",field:"componentProps.showInputControls",show:({values:e})=>e.componentProps.showInput},{label:i("tooltipPosition"),type:"select",defaultValue:"bottom-start",componentProps:{options:[{label:"top",value:"top"},{label:"top-start",value:"top-start"},{label:"top-end",value:"top-end"},{label:"bottom",value:"bottom"},{label:"bottom-start",value:"bottom-start"},{label:"bottom-end",value:"bottom-end"},{label:"left",value:"left"},{label:"left-start",value:"left-start"},{label:"left-end",value:"left-end"},{label:"right",value:"right"},{label:"right-start",value:"right-start"},{label:"right-end",value:"right-end"}]},field:"componentProps.placement"},{label:i("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:i("validationRuleRequiresForm"),componentProps:{ruleType:"number"}}],event:[{type:"input",describe:i("realTimeTrigger")},{type:"change",describe:i("onChangeEnd")}]}},{t:h}=c.useLocale(),_={component:async()=>(await import("element-plus")).ElColorPicker,groupName:h("form"),icon:"icon--epic--palette-outline",sort:950,defaultSchema:{label:h("colorPicker"),type:"color-picker",field:"color-picker",input:!0},config:{attribute:[{label:h("fieldName"),type:"input",field:"field"},{label:h("title"),type:"input",field:"label"},{label:h("defaultValue"),type:"color-picker",field:"componentProps.defaultValue"},{label:h("size"),type:"select",componentProps:{placeholder:h("pleaseSelect"),clearable:!0,options:[{label:h("large"),value:"large"},{label:h("medium"),value:"default"},{label:h("small"),value:"small"}]},field:"componentProps.size"},{label:h("format"),type:"select",componentProps:{placeholder:h("pleaseSelect"),clearable:!0,options:[{label:"hsl",value:"hsl"},{label:"hsv",value:"hsv"},{label:"hex",value:"hex"},{label:"rgb",value:"rgb"}]},field:"componentProps.colorFormat"},{label:h("alpha"),type:"switch",field:"componentProps.showAlpha"},{label:h("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:h("validationRuleRequiresForm")}],event:[{type:"change",describe:h("onValueChange")}],action:[]}},{t:m}=c.useLocale(),ee={component:async()=>(await import("element-plus")).ElSwitch,groupName:m("form"),icon:"icon--epic--toggle-off-outline",sort:930,defaultSchema:{label:m("switch"),type:"switch",field:"switch",input:!0,componentProps:{defaultValue:!1}},config:{attribute:[{label:m("fieldName"),type:"input",field:"field"},{label:m("title"),type:"input",field:"label"},{label:m("defaultValue"),type:"switch",field:"componentProps.defaultValue"},{label:m("onValue"),type:"input",field:"componentProps.activeValue",componentProps:{placeholder:m("pleaseEnter")},onChange(e){setTimeout(()=>z(e))}},{label:m("offValue"),type:"input",field:"componentProps.inactiveValue",componentProps:{placeholder:m("pleaseEnter")},onChange(e){setTimeout(()=>z(e))}},{label:m("onDescription"),type:"input",field:"componentProps.activeText",componentProps:{placeholder:m("pleaseEnter")}},{label:m("offDescription"),type:"input",field:"componentProps.inactiveText",componentProps:{placeholder:m("pleaseEnter")}},{label:m("size"),type:"select",componentProps:{placeholder:m("pleaseSelect"),clearable:!0,options:[{label:m("large"),value:"large"},{label:m("medium"),value:"default"},{label:m("small"),value:"small"}]},field:"componentProps.size"},{label:m("width"),type:"number",field:"componentProps.width",componentProps:{min:50,placeholder:m("pleaseEnter")}},{label:m("textInside"),type:"switch",field:"componentProps.inlinePrompt"},{label:m("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:m("validationRuleRequiresForm"),componentProps:{ruleType:"boolean"}}],event:[{type:"change",describe:m("onChangeSwitch")}]}};function z(e){var b;let a=((b=e.values.componentProps)==null?void 0:b.inactiveValue)||!1;e.values.componentProps.unCheckedValue===""&&delete e.values.componentProps.unCheckedValue,e.values.componentProps.activeValue===""&&delete e.values.componentProps.activeValue,e.values.componentProps?e.values.componentProps.defaultValue=a:e.values.componentProps={defaultValue:a}}const{t:l}=c.useLocale(),le={component:async()=>(await import("element-plus")).ElCascader,groupName:l("form"),icon:"icon--epic--full-coverage-outline",sort:900,defaultSchema:{label:l("cascader"),type:"cascader",field:"cascader",input:!0,componentProps:{options:[{label:l("option1"),value:l("option1")},{label:l("option2"),value:l("option2")}],placeholder:l("pleaseSelect"),props:{expandTrigger:"click"}}},config:{attribute:[{label:l("fieldName"),type:"input",field:"field"},{label:l("title"),type:"input",field:"label"},{label:l("defaultValue"),type:"cascader",field:"componentProps.defaultValue"},{label:l("placeholder"),type:"input",field:"componentProps.placeholder"},{label:l("size"),type:"select",componentProps:{placeholder:l("pleaseSelect"),clearable:!0,options:[{label:l("large"),value:"large"},{label:l("medium"),value:"default"},{label:l("small"),value:"small"}]},field:"componentProps.size"},{label:l("separator"),type:"input",componentProps:{placeholder:l("pleaseEnter")},field:"componentProps.separator"},{label:l("subMenuExpandMode"),type:"select",field:"componentProps.props.expandTrigger",componentProps:{placeholder:l("pleaseSelect"),clearable:!0,options:[{label:"click",value:"click"},{label:"hover",value:"hover"}]}},{label:l("searchable"),type:"switch",field:"componentProps.filterable"},{label:l("multiple"),type:"switch",field:"componentProps.props.multiple",onChange:({value:e,values:a})=>{e?a.componentProps.defaultValue=[]:a.componentProps.defaultValue=null}},{label:l("collapseTags"),type:"switch",field:"componentProps.collapseTags",show:({values:e})=>e.componentProps.props.multiple},{label:l("showCollapsedTags"),type:"switch",field:"componentProps.collapseTagsTooltip",show:({values:e})=>e.componentProps.props.multiple&&e.componentProps.collapseTags},{label:l("hidePath"),type:"switch",componentProps:{activeValue:!1,inactiveValue:!0},field:"componentProps.showAllLevels"},{label:l("parentSelectable"),type:"switch",field:"componentProps.props.checkStrictly",describe:l("parentChildNotLinked")},{label:l("onlyGetSelectedNodes"),type:"switch",field:"componentProps.props.emitPath",componentProps:{activeValue:!1,inactiveValue:!0}},{label:l("clearable"),type:"switch",field:"componentProps.clearable"},{label:l("optionManagement"),type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",componentProps:{tree:!0},describe:l("configureOptions")},{label:l("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:l("validationRuleRequiresForm"),componentProps:{ruleType:"array"}},{label:l("dataSource"),type:"EDataSource",layout:"vertical",field:"componentProps.dataSource",describe:l("dataSourceConfig")}],event:[{type:"change",describe:l("onSelectedNodeChange")},{type:"blur",describe:" 当失去焦点时触发"},{type:"focus",describe:l("onFocu")}],action:[{type:"getCheckedNodes",describe:l("getCurrentSelectedNodes")},{type:"togglePopperVisible",describe:l("togglePopperVisibility")}]}};c.useLocale();const te={component:()=>Promise.resolve().then(()=>require("../../collapse-B2AXU6Jz.cjs")),icon:"epic-icon-xiala",defaultSchema:{label:"折叠面板",type:"collapse",children:[{type:"collapse-item",children:[],componentProps:{span:12},id:"g062zikd2jk001"},{type:"collapse-item",children:[],componentProps:{span:12},id:"gy5z9jtfb3s001"}]},config:{attribute:[{label:"折叠项管理",type:"EColEditor",field:"children"}]}};c.useLocale();const oe={component:()=>Promise.resolve().then(()=>require("../../collapseItem-CAGqWjGg.cjs")),defaultSchema:{label:"折叠项",type:"collapse-item",children:[]},config:{attribute:[]}},{t:o}=c.useLocale(),ae={component:async()=>(await import("element-plus")).ElDatePicker,groupName:o("form"),icon:"icon--epic--calendar-month-outline-rounded",sort:910,defaultSchema:{label:o("datePicker"),type:"date",field:"date",input:!0,componentProps:{type:"date",valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD",placeholder:o("pleaseSelect"),startPlaceholder:o("pleaseSelect"),endPlaceholder:o("pleaseSelect")}},config:{attribute:[{label:o("fieldName"),type:"input",field:"field"},{label:o("title"),type:"input",field:"label"},{label:o("defaultValue"),type:"date",field:"componentProps.defaultValue"},{label:o("dateType"),type:"select",field:"componentProps.type",componentProps:{options:[{label:o("date"),value:"date"},{label:o("week"),value:"week"},{label:o("month"),value:"month"},{label:o("year"),value:"year"},{label:o("time"),value:"datetime"},{label:o("timeRange"),value:"datetimerange"},{label:o("dateRange"),value:"daterange"},{label:o("monthRange"),value:"monthrange"},{label:o("multipleDates"),value:"dates"}]},onChange({values:e,value:a}){e.componentProps.defaultValue=null,["date","daterange","dates"].includes(a)?(e.componentProps.format="YYYY-MM-DD",e.componentProps.valueFormat="YYYY-MM-DD"):["week"].includes(a)?(e.componentProps.format="ww [周]",e.componentProps.valueFormat="YYYY-MM-DD"):["month","monthrange"].includes(a)?(e.componentProps.format="YYYY-MM",e.componentProps.valueFormat="YYYY-MM"):["datetime","datetimerange"].includes(a)?(e.componentProps.format="YYYY-MM-DD HH:mm:ss",e.componentProps.valueFormat="YYYY-MM-DD HH:mm:ss"):["year"].includes(a)&&(e.componentProps.format="YYYY",e.componentProps.valueFormat="YYYY")}},{label:o("startPlaceholder"),type:"input",field:"componentProps.startPlaceholder",show({values:e}){return["datetimerange","daterange","monthrange"].includes(e.componentProps.type)}},{label:o("endPlaceholder"),type:"input",field:"componentProps.endPlaceholder",show({values:e}){return["datetimerange","daterange","monthrange"].includes(e.componentProps.type)}},{label:o("placeholder"),type:"input",field:"componentProps.placeholder",show({values:e}){return!["datetimerange","daterange","monthrange"].includes(e.componentProps.type)}},{label:o("size"),type:"select",defaultValue:"default",componentProps:{placeholder:o("pleaseSelect"),clearable:!0,options:[{label:o("large"),value:"large"},{label:o("medium"),value:"default"},{label:o("small"),value:"small"}]},field:"componentProps.size"},{label:o("editable"),type:"switch",field:"componentProps.editable"},{label:o("displayFormat"),type:"input",field:"componentProps.format"},{label:o("dataFormat"),type:"input",field:"componentProps.valueFormat"},{label:o("separator"),type:"input",field:"componentProps.rangeSeparator",componentProps:{placeholder:o("pleaseEnter")},show({values:e}){return["datetimerange","daterange","monthrange"].includes(e.componentProps.type)}},{label:o("clearable"),type:"switch",field:"componentProps.clearable"},{label:o("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:o("validationRuleRequiresForm")}],event:[{type:"change",describe:o("onValueChange")}]}},{t:P}=c.useLocale(),ne={component:()=>Promise.resolve().then(()=>require("../../uploadFile-CmKFRZMw.cjs")),groupName:P("form"),icon:"icon--epic--upload-rounded",sort:920,defaultSchema:{label:P("fileUpload"),type:"upload-file",field:"uploadFile",input:!0,componentProps:{action:"https://ess-ds.com/prod-api/center-file/file/upload",name:"file",showFileList:!0}},config:{attribute:[{label:P("fieldName"),type:"input",field:"field"},{label:P("title"),type:"input",field:"label"},{label:P("requestUrl"),type:"input",field:"componentProps.action"},{label:P("uploadFileField"),type:"input",field:"componentProps.name"},{label:P("multiples"),type:"switch",field:"componentProps.multiple"},{label:P("showFileList"),type:"switch",field:"componentProps.showFileList"},{label:P("dragUpload"),type:"switch",field:"componentProps.drag"},{label:P("maxUploadCount"),type:"number",field:"componentProps.limit",componentProps:{min:0,placeholder:P("pleaseEnter")}},{label:P("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:P("validationRuleRequiresForm"),componentProps:{ruleType:"array"}}]},bindModel:"modelValue"},{t:v}=c.useLocale(),pe={component:()=>Promise.resolve().then(()=>require("../../uploadImage-DENhzttU.cjs")),groupName:v("form"),icon:"icon--epic--imagesmode-outline-rounded",sort:920,defaultSchema:{label:v("imageUpload"),type:"upload-image",field:"uploadImage",input:!0,componentProps:{action:"https://ess-ds.com/prod-api/center-file/file/upload",name:"file",showFileList:!0}},config:{attribute:[{label:v("fieldName"),type:"input",field:"field"},{label:v("title"),type:"input",field:"label"},{label:v("requestUrl"),type:"input",field:"componentProps.action"},{label:v("uploadFileField"),type:"input",field:"componentProps.name"},{label:v("multiples"),type:"switch",field:"componentProps.multiple"},{label:v("showFileList"),type:"switch",field:"componentProps.showFileList"},{label:v("dragUpload"),type:"switch",field:"componentProps.drag"},{label:v("maxUploadCount"),type:"number",field:"componentProps.limit",componentProps:{min:0,placeholder:v("pleaseEnter")}},{label:v("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:v("validationRuleRequiresForm"),componentProps:{ruleType:"array"}}]},bindModel:"modelValue"},{t:re}=c.useLocale(),ie={component:()=>Promise.resolve().then(()=>require("../../modal-BLOgN3us.cjs")),defaultSchema:{label:"模态框",type:"modal",children:[]},config:{attribute:[{label:re("title"),type:"input",field:"title"}]}},{t:V}=c.useLocale(),ce={component:async()=>await Promise.resolve().then(()=>require("../../sign-BlMhTkWG.cjs")),icon:"icon--epic--insert-text-outline-rounded",groupName:V("form"),sort:705,defaultSchema:{label:V("signaturePad"),type:"sign",field:"sign",input:!0,componentProps:{placeholder:V("pleaseEnter"),lineWidth:4,type:"sign",style:{}}},config:{attribute:[{label:V("fieldName"),type:"input",field:"field"},{label:V("title"),type:"input",field:"label"},{label:V("lineWidth")+"(px)",type:"input",componentProps:{placeholder:V("pleaseSelect"),clearable:!0},field:"componentProps.lineWidth"},{label:V("formValidation"),type:"ERuleEditor",layout:"vertical",field:"rules",describe:V("validationRuleRequiresForm")}]}},{t:R}=c.useLocale(),se={component:()=>Promise.resolve().then(()=>require("../../table-DM2-xHlv.cjs")),groupName:"",icon:"icon--epic--width-normal-outline",sort:800,defaultSchema:{label:"表格",type:"table",children:[{type:"table-row",children:[{type:"table-col",children:[],componentProps:{span:12}},{type:"table-col",children:[],componentProps:{span:12}}],componentProps:{span:24}}]},editConstraints:{childImmovable:!0},config:{attribute:[{label:R("verticalAlignment"),type:"select",componentProps:{style:{width:"100%"},options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}],placeholder:R("pleaseSelect")},field:"componentProps.align"},{label:R("horizontalArrangement"),type:"select",componentProps:{style:{width:"100%"},options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}],placeholder:R("pleaseSelect")},field:"componentProps.justify"}]}},{t:f}=c.useLocale(),ue={component:async()=>await Promise.resolve().then(()=>require("../../text-X9fl5oe8.cjs")),groupName:f("form"),icon:"icon--epic--insert-text-outline-rounded",sort:1e3,defaultSchema:{label:f("staticText"),type:"text",position:"left",fontSize:"14"},config:{attribute:[{label:f("staticText"),type:"input",field:"label"},{label:f("labelPosition"),type:"radio",field:"position",componentProps:{clearable:!1,radioButton:!0,options:[{label:f("leftAlign"),value:"left"},{label:f("centerAlign"),value:"center"},{label:f("rightAlign"),value:"right"}]}},{label:f("fontSize")+"(px)",type:"input",field:"fontSize"}],event:[{type:"input",describe:f("onInput")},{type:"change",describe:f("onChange")},{type:"focus",describe:f("onFocus")},{type:"blur",describe:f("onBlur")},{type:"clear",describe:f("onClear")}],action:[{type:"focus",describe:f("focusInput")},{type:"blur",describe:f("blurInput")},{type:"clear",describe:f("clearInput")},{type:"select",describe:f("selectInputText")}]}},{t:x}=c.useLocale(),de={component:()=>Promise.resolve().then(()=>require("../../row-BWnbt6dh.cjs")),icon:"icon--epic--width-normal-outline",sort:800,defaultSchema:{label:"表格-行",type:"table-row",children:[{type:"col",children:[],componentProps:{span:12}},{type:"col",children:[],componentProps:{span:12}}]},editConstraints:{childImmovable:!0},config:{attribute:[{label:x("verticalAlignment"),type:"select",componentProps:{style:{width:"100%"},options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}],placeholder:x("pleaseSelect")},field:"componentProps.align"},{label:x("horizontalArrangement"),type:"select",componentProps:{style:{width:"100%"},options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}],placeholder:x("pleaseSelect")},field:"componentProps.justify"},{label:x("gridSpacing"),type:"number",field:"componentProps.gutter",componentProps:{placeholder:x("pleaseEnter")}},{label:"列编辑(一行几列)",type:"EColEditor",field:"children"}]}};c.useLocale();const me={component:()=>Promise.resolve().then(()=>require("../../col-BNNn9Yx8.cjs")),defaultSchema:{label:"表格-列",type:"table-col",children:[]},config:{attribute:[]}};function be(e=B.pluginManager){e.component("FormItem",g.ElFormItem),e.component("Form",g.ElForm),e.component("RadioGroup",g.ElRadioGroup),e.component("RadioButton",g.ElRadioButton),e.component("Tabs",g.ElTabs),e.component("TabPane",g.ElTabPane),e.component("Collapse",g.ElCollapse),e.component("CollapseItem",g.ElCollapseItem),e.component("Drawer",g.ElDrawer),e.component("Dialog",g.ElDialog),[U,O,$,W,A,Q,X,ae,J,ee,_,le,Z,ne,pe,j,G,H,K,te,oe,ie,ce,se,ue,de,me].forEach(b=>{e.registerComponent(b),e.addBaseComponentTypes(b.defaultSchema.type)}),e.setInitialized(!0)}function fe(e){import("element-plus").then(({provideGlobalConfig:a})=>{a(e)})}exports.provideGlobalConfig=fe;exports.setupElementPlus=be;
|