@houaoran/designer 1.0.5 → 1.0.7
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/components.es.js +13 -8
- package/dist/components.umd.js +2 -2
- package/dist/index.es.js +20 -12
- package/dist/index.umd.js +4 -4
- package/package.json +1 -1
- package/src/components/DictSelect.vue +20 -6
- package/src/config/rule/dictSelect.js +3 -1
- package/src/locale/en.js +1 -0
- package/src/locale/zh-cn.js +2 -1
package/dist/components.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* FormCreate 可视化表单设计器
|
|
3
|
-
* @houaoran/designer v1.0.
|
|
3
|
+
* @houaoran/designer v1.0.7
|
|
4
4
|
* (c) 2021-2026 xaboy
|
|
5
5
|
* Github https://github.com/xaboy/form-create-designer
|
|
6
6
|
* Site https://form-create.com/
|
|
@@ -11510,6 +11510,10 @@ const Ft = /* @__PURE__ */ Ie(Bt, [["render", It], ["__scopeId", "data-v-7986bf1
|
|
|
11510
11510
|
type: String,
|
|
11511
11511
|
default: "select",
|
|
11512
11512
|
validator: (R) => ["select", "radio", "checkbox"].includes(R)
|
|
11513
|
+
},
|
|
11514
|
+
multiple: {
|
|
11515
|
+
type: Boolean,
|
|
11516
|
+
default: !1
|
|
11513
11517
|
}
|
|
11514
11518
|
},
|
|
11515
11519
|
computed: {
|
|
@@ -11518,12 +11522,11 @@ const Ft = /* @__PURE__ */ Ie(Bt, [["render", It], ["__scopeId", "data-v-7986bf1
|
|
|
11518
11522
|
},
|
|
11519
11523
|
value: {
|
|
11520
11524
|
get() {
|
|
11521
|
-
|
|
11522
|
-
return (R = this.modelValue) != null ? R : null;
|
|
11523
|
-
},
|
|
11524
|
-
set(R) {
|
|
11525
|
-
this.update(R);
|
|
11525
|
+
return this.modelValue ? this.modelValue : this.type === "checkbox" || this.multiple ? [] : "";
|
|
11526
11526
|
}
|
|
11527
|
+
},
|
|
11528
|
+
set(R) {
|
|
11529
|
+
this.update(R);
|
|
11527
11530
|
}
|
|
11528
11531
|
},
|
|
11529
11532
|
methods: {
|
|
@@ -11543,7 +11546,9 @@ function Ut(R, D, o, n, e, t) {
|
|
|
11543
11546
|
modelValue: R.value,
|
|
11544
11547
|
"onUpdate:modelValue": D[0] || (D[0] = (v) => R.value = v),
|
|
11545
11548
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
11546
|
-
onChange: R.update
|
|
11549
|
+
onChange: R.update,
|
|
11550
|
+
multiple: R.multiple,
|
|
11551
|
+
clearable: ""
|
|
11547
11552
|
}, {
|
|
11548
11553
|
default: ce(() => [
|
|
11549
11554
|
(te(!0), ie(Ee, null, Pe(R.dictOptions, (v) => (te(), me(a, {
|
|
@@ -11553,7 +11558,7 @@ function Ut(R, D, o, n, e, t) {
|
|
|
11553
11558
|
}, null, 8, ["label", "value"]))), 128))
|
|
11554
11559
|
]),
|
|
11555
11560
|
_: 1
|
|
11556
|
-
}, 8, ["disabled", "modelValue", "onChange"])) : Be("", !0),
|
|
11561
|
+
}, 8, ["disabled", "modelValue", "onChange", "multiple"])) : Be("", !0),
|
|
11557
11562
|
R.type === "radio" ? (te(), me(u, {
|
|
11558
11563
|
key: 1,
|
|
11559
11564
|
disabled: R.disabled,
|
package/dist/components.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* FormCreate 可视化表单设计器
|
|
3
|
-
* @houaoran/designer v1.0.
|
|
3
|
+
* @houaoran/designer v1.0.7
|
|
4
4
|
* (c) 2021-2026 xaboy
|
|
5
5
|
* Github https://github.com/xaboy/form-create-designer
|
|
6
6
|
* Site https://form-create.com/
|
|
@@ -875,4 +875,4 @@
|
|
|
875
875
|
`,""]),o.exports=n},function(o,n,e){var t=e(0),a=t(e(1));(0,a.default)(n,"__esModule",{value:!0});var r=function(){function i(s){var h=this;this.editor=s;var u=function(){var v=document.activeElement;v===s.$textElem.elems[0]&&h.emit()};window.document.addEventListener("selectionchange",u),this.editor.beforeDestroy(function(){window.document.removeEventListener("selectionchange",u)})}return i.prototype.emit=function(){var s,h=this.editor.config.onSelectionChange;if(h){var u=this.editor.selection;u.saveRange(),u.isSelectionEmpty()||h({text:u.getSelectionText(),html:(s=u.getSelectionContainerElem())===null||s===void 0?void 0:s.elems[0].innerHTML,selection:u})}},i}();n.default=r},function(o,n,e){var t=e(0),a=t(e(1)),r=t(e(128)),i=t(e(94)),s=t(e(4));(0,a.default)(n,"__esModule",{value:!0}),n.registerPlugin=void 0;var h=e(2),u=h.__importDefault(e(87)),v=e(6);function d(f,c,m){if(!f)throw new TypeError("name is not define");if(!c)throw new TypeError("options is not define");if(!c.intention)throw new TypeError("options.intention is not define");if(c.intention&&typeof c.intention!="function")throw new TypeError("options.intention is not function");m[f]&&console.warn("plugin "+f+" \u5DF2\u5B58\u5728\uFF0C\u5DF2\u8986\u76D6\u3002"),m[f]=c}n.registerPlugin=d;function l(f){var c=(0,r.default)({},v.deepClone(u.default.globalPluginsFunctionList),v.deepClone(f.pluginsFunctionList)),m=(0,i.default)(c);(0,s.default)(m).call(m,function(p){var g=p[0],A=p[1];console.info("plugin "+g+" initializing");var y=A.intention,_=A.config;y(f,_),console.info("plugin "+g+" initialization complete")})}n.default=l},function(o,n,e){var t=e(0),a=t(e(1));(0,a.default)(n,"__esModule",{value:!0})}]).default})})(Le);var $e=Le.exports;const Ge=ze($e),We="fcEditor";let Je=1;const Ke=Object.assign||function(R){for(let D,o=1;o<arguments.length;o++)for(let n in D=arguments[o],D)Object.prototype.hasOwnProperty.call(D,n)&&(R[n]=D[n]);return R},qe=H.defineComponent({name:We,props:{modelValue:String,init:Function,disabled:Boolean,config:Object},inheritAttrs:!1,emits:["update:modelValue"],data(){return{editor:{},uni:Je++}},watch:{disabled(){this.enable()},modelValue(R){R!==this.editor.txt.html()&&this.editor.txt.html(R||"")}},methods:{enable(){this.disabled?this.editor.disable():this.editor.enable()},result(){this.$emit("update:modelValue",this.editor.txt.html())}},mounted(){this.$nextTick(()=>{this.editor=new Ge(`#editor${this.uni}`),this.editor.config.zIndex=2,this.editor.config.focus=!1,this.editor.config.autoFocus=!1,this.config&&Ke(this.editor.config,this.config),this.init&&this.init(this.editor),this.editor.create(),this.enable(),this.editor.txt.html(this.modelValue)})},render(){const R=Ve({},this.$attrs);return delete R.id,H.createVNode("div",H.mergeProps(R,{onInput:this.result,id:`editor${this.uni}`,style:"line-height: normal;"}),null)},beforeDestroy(){this.editor&&this.editor.destroy(),this.editor=null}}),kt="",ye=(R,D)=>{const o=R.__vccOpts||R;for(const[n,e]of D)o[n]=e;return o},Xe=H.defineComponent({name:"FcTitle",data(){return{}},props:{title:String,size:String,align:String},computed:{textStyle(){return{textAlign:this.align||"left"}}}});function Ze(R,D,o,n,e,t){return H.openBlock(),H.createElementBlock("div",{class:H.normalizeClass(["_fc-title",R.size||"h2"]),style:H.normalizeStyle(R.textStyle)},H.toDisplayString(R.title),7)}const et=ye(Xe,[["render",Ze]]);/*!
|
|
876
876
|
* Signature Pad v5.0.10 | https://github.com/szimek/signature_pad
|
|
877
877
|
* (c) 2025 Szymon Nowak | Released under the MIT license
|
|
878
|
-
*/class De{constructor(D,o,n,e){if(isNaN(D)||isNaN(o))throw new Error(`Point is invalid: (${D}, ${o})`);this.x=+D,this.y=+o,this.pressure=n||0,this.time=e||Date.now()}distanceTo(D){return Math.sqrt(Math.pow(this.x-D.x,2)+Math.pow(this.y-D.y,2))}equals(D){return this.x===D.x&&this.y===D.y&&this.pressure===D.pressure&&this.time===D.time}velocityFrom(D){return this.time!==D.time?this.distanceTo(D)/(this.time-D.time):0}}class Re{static fromPoints(D,o){const n=this.calculateControlPoints(D[0],D[1],D[2]).c2,e=this.calculateControlPoints(D[1],D[2],D[3]).c1;return new Re(D[1],n,e,D[2],o.start,o.end)}static calculateControlPoints(D,o,n){const e=D.x-o.x,t=D.y-o.y,a=o.x-n.x,r=o.y-n.y,i={x:(D.x+o.x)/2,y:(D.y+o.y)/2},s={x:(o.x+n.x)/2,y:(o.y+n.y)/2},h=Math.sqrt(e*e+t*t),u=Math.sqrt(a*a+r*r),v=i.x-s.x,d=i.y-s.y,l=h+u==0?0:u/(h+u),f={x:s.x+v*l,y:s.y+d*l},c=o.x-f.x,m=o.y-f.y;return{c1:new De(i.x+c,i.y+m),c2:new De(s.x+c,s.y+m)}}constructor(D,o,n,e,t,a){this.startPoint=D,this.control2=o,this.control1=n,this.endPoint=e,this.startWidth=t,this.endWidth=a}length(){let o=0,n,e;for(let t=0;t<=10;t+=1){const a=t/10,r=this.point(a,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),i=this.point(a,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(t>0){const s=r-n,h=i-e;o+=Math.sqrt(s*s+h*h)}n=r,e=i}return o}point(D,o,n,e,t){return o*(1-D)*(1-D)*(1-D)+3*n*(1-D)*(1-D)*D+3*e*(1-D)*D*D+t*D*D*D}}class tt{constructor(){try{this._et=new EventTarget}catch{this._et=document}}addEventListener(D,o,n){this._et.addEventListener(D,o,n)}dispatchEvent(D){return this._et.dispatchEvent(D)}removeEventListener(D,o,n){this._et.removeEventListener(D,o,n)}}function nt(R,D=250){let o=0,n=null,e,t,a;const r=()=>{o=Date.now(),n=null,e=R.apply(t,a),n||(t=null,a=[])};return function(...s){const h=Date.now(),u=D-(h-o);return t=this,a=s,u<=0||u>D?(n&&(clearTimeout(n),n=null),o=h,e=R.apply(t,a),n||(t=null,a=[])):n||(n=window.setTimeout(r,u)),e}}class Te extends tt{constructor(D,o={}){var n,e,t;super(),this.canvas=D,this._drawingStroke=!1,this._isEmpty=!0,this._lastPoints=[],this._data=[],this._lastVelocity=0,this._lastWidth=0,this.velocityFilterWeight=o.velocityFilterWeight||.7,this.minWidth=o.minWidth||.5,this.maxWidth=o.maxWidth||2.5,this.throttle=(n=o.throttle)!==null&&n!==void 0?n:16,this.minDistance=(e=o.minDistance)!==null&&e!==void 0?e:5,this.dotSize=o.dotSize||0,this.penColor=o.penColor||"black",this.backgroundColor=o.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=o.compositeOperation||"source-over",this.canvasContextOptions=(t=o.canvasContextOptions)!==null&&t!==void 0?t:{},this._strokeMoveUpdate=this.throttle?nt(Te.prototype._strokeUpdate,this.throttle):Te.prototype._strokeUpdate,this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseMove=this._handleMouseMove.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this._handleTouchStart=this._handleTouchStart.bind(this),this._handleTouchMove=this._handleTouchMove.bind(this),this._handleTouchEnd=this._handleTouchEnd.bind(this),this._handlePointerDown=this._handlePointerDown.bind(this),this._handlePointerMove=this._handlePointerMove.bind(this),this._handlePointerUp=this._handlePointerUp.bind(this),this._ctx=D.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}clear(){const{_ctx:D,canvas:o}=this;D.fillStyle=this.backgroundColor,D.clearRect(0,0,o.width,o.height),D.fillRect(0,0,o.width,o.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0,this._strokePointerId=void 0}fromDataURL(D,o={}){return new Promise((n,e)=>{const t=new Image,a=o.ratio||window.devicePixelRatio||1,r=o.width||this.canvas.width/a,i=o.height||this.canvas.height/a,s=o.xOffset||0,h=o.yOffset||0;this._reset(this._getPointGroupOptions()),t.onload=()=>{this._ctx.drawImage(t,s,h,r,i),n()},t.onerror=u=>{e(u)},t.crossOrigin="anonymous",t.src=D,this._isEmpty=!1})}toDataURL(D="image/png",o){switch(D){case"image/svg+xml":return typeof o!="object"&&(o=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(o))}`;default:return typeof o!="number"&&(o=void 0),this.canvas.toDataURL(D,o)}}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const D=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!D?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerDown),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this._removeMoveUpEventListeners()}_getListenerFunctions(){var D;const o=window.document===this.canvas.ownerDocument?window:(D=this.canvas.ownerDocument.defaultView)!==null&&D!==void 0?D:this.canvas.ownerDocument;return{addEventListener:o.addEventListener.bind(o),removeEventListener:o.removeEventListener.bind(o)}}_removeMoveUpEventListeners(){const{removeEventListener:D}=this._getListenerFunctions();D("pointermove",this._handlePointerMove),D("pointerup",this._handlePointerUp),D("mousemove",this._handleMouseMove),D("mouseup",this._handleMouseUp),D("touchmove",this._handleTouchMove),D("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(D,{clear:o=!0}={}){o&&this.clear(),this._fromData(D,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(D)}toData(){return this._data}_isLeftButtonPressed(D,o){return o?D.buttons===1:(D.buttons&1)===1}_pointerEventToSignatureEvent(D){return{event:D,type:D.type,x:D.clientX,y:D.clientY,pressure:"pressure"in D?D.pressure:0}}_touchEventToSignatureEvent(D){const o=D.changedTouches[0];return{event:D,type:D.type,x:o.clientX,y:o.clientY,pressure:o.force}}_handleMouseDown(D){!this._isLeftButtonPressed(D,!0)||this._drawingStroke||this._strokeBegin(this._pointerEventToSignatureEvent(D))}_handleMouseMove(D){if(!this._isLeftButtonPressed(D,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(D),!1);return}this._strokeMoveUpdate(this._pointerEventToSignatureEvent(D))}_handleMouseUp(D){this._isLeftButtonPressed(D)||this._strokeEnd(this._pointerEventToSignatureEvent(D))}_handleTouchStart(D){D.targetTouches.length!==1||this._drawingStroke||(D.cancelable&&D.preventDefault(),this._strokeBegin(this._touchEventToSignatureEvent(D)))}_handleTouchMove(D){if(D.targetTouches.length===1){if(D.cancelable&&D.preventDefault(),!this._drawingStroke){this._strokeEnd(this._touchEventToSignatureEvent(D),!1);return}this._strokeMoveUpdate(this._touchEventToSignatureEvent(D))}}_handleTouchEnd(D){D.targetTouches.length===0&&(D.cancelable&&D.preventDefault(),this._strokeEnd(this._touchEventToSignatureEvent(D)))}_getPointerId(D){return D.persistentDeviceId||D.pointerId}_allowPointerId(D,o=!1){return typeof this._strokePointerId>"u"?o:this._getPointerId(D)===this._strokePointerId}_handlePointerDown(D){this._drawingStroke||!this._isLeftButtonPressed(D)||!this._allowPointerId(D,!0)||(this._strokePointerId=this._getPointerId(D),D.preventDefault(),this._strokeBegin(this._pointerEventToSignatureEvent(D)))}_handlePointerMove(D){if(!!this._allowPointerId(D)){if(!this._isLeftButtonPressed(D,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(D),!1);return}D.preventDefault(),this._strokeMoveUpdate(this._pointerEventToSignatureEvent(D))}}_handlePointerUp(D){this._isLeftButtonPressed(D)||!this._allowPointerId(D)||(D.preventDefault(),this._strokeEnd(this._pointerEventToSignatureEvent(D)))}_getPointGroupOptions(D){return{penColor:D&&"penColor"in D?D.penColor:this.penColor,dotSize:D&&"dotSize"in D?D.dotSize:this.dotSize,minWidth:D&&"minWidth"in D?D.minWidth:this.minWidth,maxWidth:D&&"maxWidth"in D?D.maxWidth:this.maxWidth,velocityFilterWeight:D&&"velocityFilterWeight"in D?D.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:D&&"compositeOperation"in D?D.compositeOperation:this.compositeOperation}}_strokeBegin(D){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:D,cancelable:!0})))return;const{addEventListener:n}=this._getListenerFunctions();switch(D.event.type){case"mousedown":n("mousemove",this._handleMouseMove,{passive:!1}),n("mouseup",this._handleMouseUp,{passive:!1});break;case"touchstart":n("touchmove",this._handleTouchMove,{passive:!1}),n("touchend",this._handleTouchEnd,{passive:!1});break;case"pointerdown":n("pointermove",this._handlePointerMove,{passive:!1}),n("pointerup",this._handlePointerUp,{passive:!1});break}this._drawingStroke=!0;const e=this._getPointGroupOptions(),t=Object.assign(Object.assign({},e),{points:[]});this._data.push(t),this._reset(e),this._strokeUpdate(D)}_strokeUpdate(D){if(!this._drawingStroke)return;if(this._data.length===0){this._strokeBegin(D);return}this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:D}));const o=this._createPoint(D.x,D.y,D.pressure),n=this._data[this._data.length-1],e=n.points,t=e.length>0&&e[e.length-1],a=t?o.distanceTo(t)<=this.minDistance:!1,r=this._getPointGroupOptions(n);if(!t||!(t&&a)){const i=this._addPoint(o,r);t?i&&this._drawCurve(i,r):this._drawDot(o,r),e.push({time:o.time,x:o.x,y:o.y,pressure:o.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:D}))}_strokeEnd(D,o=!0){this._removeMoveUpEventListeners(),this._drawingStroke&&(o&&this._strokeUpdate(D),this._drawingStroke=!1,this._strokePointerId=void 0,this.dispatchEvent(new CustomEvent("endStroke",{detail:D})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerDown,{passive:!1})}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown,{passive:!1})}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart,{passive:!1})}_reset(D){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(D.minWidth+D.maxWidth)/2,this._ctx.fillStyle=D.penColor,this._ctx.globalCompositeOperation=D.compositeOperation}_createPoint(D,o,n){const e=this.canvas.getBoundingClientRect();return new De(D-e.left,o-e.top,n,new Date().getTime())}_addPoint(D,o){const{_lastPoints:n}=this;if(n.push(D),n.length>2){n.length===3&&n.unshift(n[0]);const e=this._calculateCurveWidths(n[1],n[2],o),t=Re.fromPoints(n,e);return n.shift(),t}return null}_calculateCurveWidths(D,o,n){const e=n.velocityFilterWeight*o.velocityFrom(D)+(1-n.velocityFilterWeight)*this._lastVelocity,t=this._strokeWidth(e,n),a={end:t,start:this._lastWidth};return this._lastVelocity=e,this._lastWidth=t,a}_strokeWidth(D,o){return Math.max(o.maxWidth/(D+1),o.minWidth)}_drawCurveSegment(D,o,n){const e=this._ctx;e.moveTo(D,o),e.arc(D,o,n,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(D,o){const n=this._ctx,e=D.endWidth-D.startWidth,t=Math.ceil(D.length())*2;n.beginPath(),n.fillStyle=o.penColor;for(let a=0;a<t;a+=1){const r=a/t,i=r*r,s=i*r,h=1-r,u=h*h,v=u*h;let d=v*D.startPoint.x;d+=3*u*r*D.control1.x,d+=3*h*i*D.control2.x,d+=s*D.endPoint.x;let l=v*D.startPoint.y;l+=3*u*r*D.control1.y,l+=3*h*i*D.control2.y,l+=s*D.endPoint.y;const f=Math.min(D.startWidth+s*e,o.maxWidth);this._drawCurveSegment(d,l,f)}n.closePath(),n.fill()}_drawDot(D,o){const n=this._ctx,e=o.dotSize>0?o.dotSize:(o.minWidth+o.maxWidth)/2;n.beginPath(),this._drawCurveSegment(D.x,D.y,e),n.closePath(),n.fillStyle=o.penColor,n.fill()}_fromData(D,o,n){for(const e of D){const{points:t}=e,a=this._getPointGroupOptions(e);if(t.length>1)for(let r=0;r<t.length;r+=1){const i=t[r],s=new De(i.x,i.y,i.pressure,i.time);r===0&&this._reset(a);const h=this._addPoint(s,a);h&&o(h,a)}else this._reset(a),n(t[0],a)}}toSVG({includeBackgroundColor:D=!1}={}){const o=this._data,n=Math.max(window.devicePixelRatio||1,1),e=0,t=0,a=this.canvas.width/n,r=this.canvas.height/n,i=document.createElementNS("http://www.w3.org/2000/svg","svg");if(i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("viewBox",`${e} ${t} ${a} ${r}`),i.setAttribute("width",a.toString()),i.setAttribute("height",r.toString()),D&&this.backgroundColor){const s=document.createElement("rect");s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("fill",this.backgroundColor),i.appendChild(s)}return this._fromData(o,(s,{penColor:h})=>{const u=document.createElement("path");if(!isNaN(s.control1.x)&&!isNaN(s.control1.y)&&!isNaN(s.control2.x)&&!isNaN(s.control2.y)){const v=`M ${s.startPoint.x.toFixed(3)},${s.startPoint.y.toFixed(3)} C ${s.control1.x.toFixed(3)},${s.control1.y.toFixed(3)} ${s.control2.x.toFixed(3)},${s.control2.y.toFixed(3)} ${s.endPoint.x.toFixed(3)},${s.endPoint.y.toFixed(3)}`;u.setAttribute("d",v),u.setAttribute("stroke-width",(s.endWidth*2.25).toFixed(3)),u.setAttribute("stroke",h),u.setAttribute("fill","none"),u.setAttribute("stroke-linecap","round"),i.appendChild(u)}},(s,{penColor:h,dotSize:u,minWidth:v,maxWidth:d})=>{const l=document.createElement("circle"),f=u>0?u:(v+d)/2;l.setAttribute("r",f.toString()),l.setAttribute("cx",s.x.toString()),l.setAttribute("cy",s.y.toString()),l.setAttribute("fill",h),i.appendChild(l)}),i.outerHTML}}const Mt="",ot=H.defineComponent({name:"SignaturePad",emits:["update:modelValue","change","remove"],data(){return{visible:!1,isEmpty:!0,signaturePad:null}},props:{modelValue:String,penColor:String,disabled:Boolean,tip:String,padTitle:String,formCreateInject:Object,beforeRemove:Function},computed:{tipText(){var R;return this.tip||((R=this.formCreateInject)==null?void 0:R.t("signaturePadTip"))||"\u70B9\u51FB\u6DFB\u52A0\u624B\u5199\u7B7E\u540D"},padTitleText(){var R;return this.padTitle||((R=this.formCreateInject)==null?void 0:R.t("signaturePadTitle"))||"\u8BF7\u5728\u865A\u7EBF\u6846\u5185\u4E66\u5199"}},watch:{visible(R){R?(this.isEmpty=!0,this.$nextTick(()=>{this.signaturePad=H.markRaw(new Te(this.$refs.pad,{penColor:this.penColor})),this.signaturePad.addEventListener("endStroke",()=>{this.isEmpty=this.signaturePad.isEmpty()})})):(this.signaturePad.off(),this.signaturePad=null)}},methods:{open(){this.disabled||(this.visible=!0)},clear(){this.signaturePad.clear(),this.isEmpty=!0},submit(){const R=this.signaturePad.toDataURL();this.updateValue(R),this.visible=!1},updateValue(R){this.$emit("update:modelValue",R),this.$emit("change",R)},async remove(){this.disabled||this.beforeRemove&&await this.beforeRemove()===!1||(this.updateValue(""),this.$emit("remove"))}}}),rt={key:0,class:"_fc-signature-preview"},it=["src"],at={class:"_fc-signature-pad",ref:"pad",width:"600px",height:"270px"};function lt(R,D,o,n,e,t){const a=H.resolveComponent("el-button"),r=H.resolveComponent("el-dialog");return H.openBlock(),H.createElementBlock("div",{class:H.normalizeClass(["_fc-signature",{disabled:R.disabled}])},[R.modelValue?(H.openBlock(),H.createElementBlock("div",rt,[R.disabled?H.createCommentVNode("",!0):(H.openBlock(),H.createElementBlock("i",{key:0,class:"fc-icon icon-delete2",onClick:D[0]||(D[0]=(...i)=>R.remove&&R.remove(...i))})),H.createElementVNode("img",{src:R.modelValue,alt:"signature"},null,8,it)])):(H.openBlock(),H.createElementBlock("div",{key:1,class:"_fc-signature-btn",onClick:D[1]||(D[1]=(...i)=>R.open&&R.open(...i))},[D[4]||(D[4]=H.createElementVNode("i",{class:"fc-icon icon-edit2"},null,-1)),H.createTextVNode(" "+H.toDisplayString(R.tipText),1)])),H.createVNode(r,{class:"_fc-signature-dialog",title:R.padTitleText,modelValue:R.visible,"onUpdate:modelValue":D[3]||(D[3]=i=>R.visible=i),"destroy-on-close":"","close-on-click-modal":!1,"append-to-body":"",width:"640px"},{footer:H.withCtx(()=>[H.createElementVNode("div",null,[H.createVNode(a,{size:"default",onClick:D[2]||(D[2]=i=>R.clear())},{default:H.withCtx(()=>[H.createTextVNode(H.toDisplayString(R.formCreateInject.t("reset")||"\u91CD\u7F6E"),1)]),_:1}),H.createVNode(a,{type:"primary",disabled:R.isEmpty,onClick:R.submit,size:"default"},{default:H.withCtx(()=>[H.createTextVNode(H.toDisplayString(R.formCreateInject.t("ok")||"\u786E\u5B9A"),1)]),_:1},8,["disabled","onClick"])])]),default:H.withCtx(()=>[H.createElementVNode("canvas",at,null,512)]),_:1},8,["title","modelValue"])],2)}const st=ye(ot,[["render",lt]]),Dt="",ut={name:"TableForm",emits:["change","add","delete","update:modelValue"],props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},columns:{type:Array,required:!0,default:()=>[]},filterEmptyColumn:{type:Boolean,default:!0},deletable:{type:Boolean,default:!0},addable:{type:Boolean,default:!0},options:{type:Object,default:()=>H.reactive({submitBtn:!1,resetBtn:!1})},max:Number,min:Number,disabled:Boolean,showIndex:{type:Boolean,default:!0},beforeRemove:Function},watch:{modelValue:{handler(){this.updateTable()},deep:!0},"formCreateInject.preview":function(){this.updateEmptyColspan()},deletable(){this.updateEmptyColspan()},showIndex(){this.rebuildTable()}},data(){return{rule:[],trs:[],fapi:{},Form:H.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:"",emptyRule:{type:"tr",_isEmpty:!0,native:!0,subRule:!0,children:[{type:"td",style:{textAlign:"center"},native:!0,subRule:!0,props:{colspan:0},children:[this.formCreateInject.t("dataEmpty")||"\u6682\u65E0\u6570\u636E"]}]}}},methods:{getColspan(){const R=this.columns.filter(o=>o.hidden!==!0).length;let D=this.formCreateInject.preview||!this.deletable?1:2;return this.showIndex===!1&&(D-=1),R+D},updateEmptyColspan(){this.emptyRule.children[0].props.colspan=this.getColspan()},rebuildTable(){const R=this.oldValue;this.loadRule(),this.updateEmptyColspan(),this.trs.splice(0,this.trs.length),this.oldValue="",this.updateTable(),this.oldValue=R},formChange(){this.updateValue()},updateValue(){const R=this.trs.map((o,n)=>({...this.modelValue[n]||{},...this.fapi.getChildrenFormData(o)})).filter(o=>{if(!this.filterEmptyColumn)return!0;if(o==null)return!1;let n=!1;return Object.keys(o).forEach(e=>{n=n||o[e]!==void 0&&o[e]!==""&&o[e]!==null}),n}),D=JSON.stringify(R);D!==this.oldValue&&(this.oldValue=D,this.$emit("update:modelValue",R),this.$emit("change",R))},setRawData(R,D){const o=this.trs[R];this.fapi.setChildrenFormData(o,D,!0)},updateTable(){const R=JSON.stringify(this.modelValue);this.oldValue!==R&&(this.oldValue=R,this.trs=this.trs.splice(0,this.modelValue.length),this.modelValue.length?this.clearEmpty():this.addEmpty(),this.modelValue.forEach((D,o)=>{this.trs[o]||this.addRaw(),this.setRawData(o,D||{})}),this.rule[0].children[1].children=this.trs)},addEmpty(){this.trs.length&&this.trs.splice(0,this.trs.length),this.trs.push(this.emptyRule)},clearEmpty(){this.trs[0]&&this.trs[0]._isEmpty&&this.trs.splice(0,1)},async delRaw(R){this.disabled||!this.deletable||this.min>0&&this.trs.length<=this.min||this.beforeRemove&&await this.beforeRemove({index:R,row:this.modelValue[R]||{}})===!1||(this.trs.splice(R,1),this.updateValue(),this.trs.length?this.trs.forEach(D=>this.updateRaw(D)):this.addEmpty(),this.$emit("delete",R))},addRaw(R){if(R&&this.disabled)return;const D=this.formCreateInject.form.parseJson(this.copyTrs)[0];this.trs.length===1&&this.trs[0]._isEmpty&&this.trs.splice(0,1),this.trs.push(D),this.updateRaw(D),R&&(this.$emit("add",this.trs.length),this.updateValue())},updateRaw(R){const D=this.trs.indexOf(R);this.showIndex!==!1&&(R.children[0].props.innerText=D+1),R.children[R.children.length-1].children[0].props.onClick=()=>{this.delRaw(D)}},loadRule(){const R=[],D=[];this.showIndex!==!1&&(R.push({type:"th",native:!0,class:"_fc-tf-head-idx"}),D.push({type:"td",class:"_fc-tf-idx",native:!0,props:{innerText:"0"}})),this.columns.forEach(o=>{o.hidden!==!0&&(R.push({type:"th",native:!0,style:{...o.style||{},textAlign:o.align||"center"},class:o.required?"_fc-tf-head-required":"",props:{innerText:o.label||""}}),D.push({type:"td",native:!0,children:[...o.rule||[]]}))}),R.push({type:"th",native:!0,class:"_fc-tf-edit fc-clock",props:{innerText:this.formCreateInject.t("operation")||"\u64CD\u4F5C"}}),D.push({type:"td",native:!0,class:"_fc-tf-btn fc-clock",children:[{type:"i",native:!0,class:"fc-icon icon-delete",props:{}}]}),this.copyTrs=this.formCreateInject.form.toJson([{type:"tr",native:!0,subRule:!0,children:D}]),this.rule=[{type:"table",native:!0,class:"_fc-tf-table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:[{type:"thead",native:!0,children:[{type:"tr",native:!0,children:R}]},{type:"tbody",native:!0,children:this.trs}]}]}},created(){this.loadRule(),this.updateEmptyColspan()},mounted(){this.updateTable()}};function ct(R,D,o,n,e,t){const a=H.resolveComponent("el-button");return H.openBlock(),H.createElementBlock("div",{class:H.normalizeClass(["_fc-table-form",{"_fc-disabled":o.disabled,"_fc-undeletable":!o.deletable}])},[(H.openBlock(),H.createBlock(H.resolveDynamicComponent(e.Form),{option:o.options,rule:e.rule,extendOption:!0,disabled:o.disabled,onChange:t.formChange,api:e.fapi,"onUpdate:api":D[0]||(D[0]=r=>e.fapi=r),onEmitEvent:R.$emit},null,40,["option","rule","disabled","onChange","api","onEmitEvent"])),o.addable&&(!o.max||o.max>this.trs.length)?(H.openBlock(),H.createBlock(a,{key:0,link:"",type:"primary",class:"fc-clock",onClick:D[1]||(D[1]=r=>t.addRaw(!0))},{default:H.withCtx(()=>[D[2]||(D[2]=H.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),H.createTextVNode(" "+H.toDisplayString(o.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1,__:[2]})):H.createCommentVNode("",!0)],2)}const dt=ye(ut,[["render",ct]]),Tt="",ft={name:"FcTable",props:{mini:Boolean,formStyle:Boolean,label:String,width:[Number,String],border:{type:Boolean,default:!0},borderWidth:String,borderColor:String,rule:{type:Object,default:()=>({row:1,col:1})}},watch:{rule:{handler(){this.initRule(),this.loadRule(),this.tdStyle=this.rule.style||{},this.tdClass=this.rule.class||{}},immediate:!0,deep:!0}},data(){return{tdStyle:{},tdClass:{},lattice:{}}},computed:{tableColor(){const R={};return this.border===!1?R.border="0 none":(this.borderColor&&(R.borderColor=this.borderColor),this.borderWidth&&(R.borderWidth=this.borderWidth)),R}},methods:{initRule(){const R=this.rule;R.style||(R.style={}),R.layout||(R.layout=[]),R.row||(R.row=1),R.col||(R.col=1)},loadRule(){const R=[],D=this.rule||{row:1,col:1};for(let n=0;n<D.row;n++){const e=[];R.push(e);for(let t=0;t<D.col;t++)e.push({rowspan:1,colspan:1,slot:[],show:!0})}[...D.layout||[]].forEach((n,e)=>{if((!n.row||n.row<=0)&&(!n.col||n.col<=0)||!R[n.top]||!R[n.top][n.left]||!R[n.top][n.left].show){D.layout.splice(e,1);return}const t=R[n.top][n.left];t.layout=n;let a=1,r=1;if(n.col&&(a=n.col+n.left>D.col?D.col-n.left:n.col,t.colspan=a),n.row&&(r=n.row+n.top>D.row?D.row-n.top:n.row,t.rowspan=r),r&&a)for(let i=0;i<r;i++){const s=R[n.top+i];if(s)for(let h=0;h<a;h++)!h&&!i||(s[n.left+h]&&(s[n.left+h].show=!1),t.slot.push(`${n.top+i}:${n.left+h}`))}});const o=n=>!!(!n||n.layout||!n.show);R.forEach((n,e)=>{n.forEach((t,a)=>{let r=!1,i=!1;if(t.layout){const s=t.layout.col||1,h=t.layout.row||1;for(let u=0;u<s;u++)if(!R[e+h]||o(R[e+h][a+u])){i=!0;continue}for(let u=0;u<h;u++)if(!R[e+u]||o(R[e+u][a+s])){r=!0;continue}}else r=o(n[a+1]),i=R[e+1]?o(R[e+1][a]):!0;t.right=r,t.bottom=i})}),this.lattice=R}}};function pt(R,D,o,n,e,t){const a=H.resolveComponent("el-col");return H.openBlock(),H.createBlock(a,{span:24},{default:H.withCtx(()=>[H.createElementVNode("div",{class:H.normalizeClass(["_fc-table",{"is-mini":o.mini,"is-table-form":o.formStyle}])},[H.createElementVNode("table",{border:"1",cellspacing:"0",cellpadding:"0",style:H.normalizeStyle(t.tableColor)},[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(o.rule.row,(r,i)=>(H.openBlock(),H.createElementBlock("tr",{key:i},[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(o.rule.col,(s,h)=>(H.openBlock(),H.createElementBlock(H.Fragment,{key:`${i}${h}`},[e.lattice[i][h].show?(H.openBlock(),H.createElementBlock("td",H.mergeProps({key:0,ref_for:!0},e.lattice[i][h]?{colspan:e.lattice[i][h].colspan,rowspan:e.lattice[i][h].rowspan}:{},{valign:"top",class:e.tdClass&&e.tdClass[`${i}:${h}`]||"",style:[t.tableColor,e.tdStyle&&e.tdStyle[`${i}:${h}`]||{}]}),[H.renderSlot(R.$slots,`${i}:${h}`),(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(e.lattice[i][h].slot,u=>H.renderSlot(R.$slots,`${u}`)),256))],16)):H.createCommentVNode("",!0)],64))),128))]))),128))],4)],2)]),_:3})}const ht=ye(ft,[["render",pt]]),Nt="",vt=H.defineComponent({name:"InputRange",emits:["update:modelValue","change"],props:{modelValue:{type:Array,default:()=>[null,null]},min:Number,max:Number,step:{type:Number,default:1},disabled:Boolean,separator:{type:String,default:"~"},startPlaceholder:String,endPlaceholder:String},computed:{start:{get(){var R,D;return(D=(R=this.modelValue)==null?void 0:R[0])!=null?D:null},set(R){this.update([R,this.end])}},end:{get(){var R,D;return(D=(R=this.modelValue)==null?void 0:R[1])!=null?D:null},set(R){this.update([this.start,R])}}},methods:{update(R){this.$emit("update:modelValue",R),this.$emit("change",R)},emitChange(){this.$emit("change",[this.start,this.end])}}}),mt={class:"_fc-input-range"},gt={class:"_fc-input-range-sep"};function At(R,D,o,n,e,t){var r,i;const a=H.resolveComponent("el-input-number");return H.openBlock(),H.createElementBlock("div",mt,[H.createVNode(a,{modelValue:R.start,"onUpdate:modelValue":D[0]||(D[0]=s=>R.start=s),min:R.min,max:(r=R.end)!=null?r:R.max,step:R.step,disabled:R.disabled,placeholder:R.startPlaceholder,"controls-position":"right",onChange:R.emitChange},null,8,["modelValue","min","max","step","disabled","placeholder","onChange"]),H.createElementVNode("span",gt,H.toDisplayString(R.separator),1),H.createVNode(a,{modelValue:R.end,"onUpdate:modelValue":D[1]||(D[1]=s=>R.end=s),min:(i=R.start)!=null?i:R.min,max:R.max,step:R.step,disabled:R.disabled,placeholder:R.endPlaceholder,"controls-position":"right",onChange:R.emitChange},null,8,["modelValue","min","max","step","disabled","placeholder","onChange"])])}const yt=ye(vt,[["render",At],["__scopeId","data-v-7986bf16"]]),wt=R=>{var n,e,t,a;const{v:D}=(t=(e=JSON.parse((n=sessionStorage.getItem("dictCache"))!=null?n:"{}"))!=null?e:{})!=null?t:{},o=(a=JSON.parse(D!=null?D:"{}"))!=null?a:{};return console.log(o,"data"),o[R]},_t=H.defineComponent({name:"DictSelect",emits:["update:modelValue","change"],props:{modelValue:{type:[Array,String,Number],default:null},disabled:{type:Boolean,default:!1},dictCode:String,type:{type:String,default:"select",validator:R=>["select","radio","checkbox"].includes(R)}},computed:{dictOptions(){return wt(this.dictCode)},value:{get(){var R;return(R=this.modelValue)!=null?R:null},set(R){this.update(R)}}},methods:{update(R){this.$emit("update:modelValue",R),this.$emit("change",R)}},mounted(){}}),xt={style:{width:"100%"}};function bt(R,D,o,n,e,t){const a=H.resolveComponent("el-option"),r=H.resolveComponent("el-select"),i=H.resolveComponent("el-radio"),s=H.resolveComponent("el-radio-group"),h=H.resolveComponent("el-checkbox"),u=H.resolveComponent("el-checkbox-group");return H.openBlock(),H.createElementBlock("div",xt,[R.type==="select"?(H.openBlock(),H.createBlock(r,{key:0,disabled:R.disabled,modelValue:R.value,"onUpdate:modelValue":D[0]||(D[0]=v=>R.value=v),placeholder:"\u8BF7\u9009\u62E9",onChange:R.update},{default:H.withCtx(()=>[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(R.dictOptions,v=>(H.openBlock(),H.createBlock(a,{key:v.value,label:v.label,value:v.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):H.createCommentVNode("",!0),R.type==="radio"?(H.openBlock(),H.createBlock(s,{key:1,disabled:R.disabled,modelValue:R.value,"onUpdate:modelValue":D[1]||(D[1]=v=>R.value=v),onChange:R.update},{default:H.withCtx(()=>[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(R.dictOptions,v=>(H.openBlock(),H.createBlock(i,{key:v.value,label:v.value},{default:H.withCtx(()=>[H.createTextVNode(H.toDisplayString(v.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):H.createCommentVNode("",!0),R.type==="checkbox"?(H.openBlock(),H.createBlock(u,{key:2,disabled:R.disabled,modelValue:R.value,"onUpdate:modelValue":D[2]||(D[2]=v=>R.value=v),onChange:R.update},{default:H.withCtx(()=>[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(R.dictOptions,v=>(H.openBlock(),H.createBlock(h,{key:v.value,label:v.value},{default:H.withCtx(()=>[H.createTextVNode(H.toDisplayString(v.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):H.createCommentVNode("",!0)])}const Et=ye(_t,[["render",bt]]),Bt="",He=R=>{R.component("FcEditor",qe),R.component("FcTitle",et),R.component("SignaturePad",st),R.component("TableForm",dt),R.component("FcTable",ht),R.component("InputRange",yt),R.component("DictSelect",Et)};He(Ue.default),pe.default=He,Object.defineProperties(pe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
878
|
+
*/class De{constructor(D,o,n,e){if(isNaN(D)||isNaN(o))throw new Error(`Point is invalid: (${D}, ${o})`);this.x=+D,this.y=+o,this.pressure=n||0,this.time=e||Date.now()}distanceTo(D){return Math.sqrt(Math.pow(this.x-D.x,2)+Math.pow(this.y-D.y,2))}equals(D){return this.x===D.x&&this.y===D.y&&this.pressure===D.pressure&&this.time===D.time}velocityFrom(D){return this.time!==D.time?this.distanceTo(D)/(this.time-D.time):0}}class Re{static fromPoints(D,o){const n=this.calculateControlPoints(D[0],D[1],D[2]).c2,e=this.calculateControlPoints(D[1],D[2],D[3]).c1;return new Re(D[1],n,e,D[2],o.start,o.end)}static calculateControlPoints(D,o,n){const e=D.x-o.x,t=D.y-o.y,a=o.x-n.x,r=o.y-n.y,i={x:(D.x+o.x)/2,y:(D.y+o.y)/2},s={x:(o.x+n.x)/2,y:(o.y+n.y)/2},h=Math.sqrt(e*e+t*t),u=Math.sqrt(a*a+r*r),v=i.x-s.x,d=i.y-s.y,l=h+u==0?0:u/(h+u),f={x:s.x+v*l,y:s.y+d*l},c=o.x-f.x,m=o.y-f.y;return{c1:new De(i.x+c,i.y+m),c2:new De(s.x+c,s.y+m)}}constructor(D,o,n,e,t,a){this.startPoint=D,this.control2=o,this.control1=n,this.endPoint=e,this.startWidth=t,this.endWidth=a}length(){let o=0,n,e;for(let t=0;t<=10;t+=1){const a=t/10,r=this.point(a,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),i=this.point(a,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(t>0){const s=r-n,h=i-e;o+=Math.sqrt(s*s+h*h)}n=r,e=i}return o}point(D,o,n,e,t){return o*(1-D)*(1-D)*(1-D)+3*n*(1-D)*(1-D)*D+3*e*(1-D)*D*D+t*D*D*D}}class tt{constructor(){try{this._et=new EventTarget}catch{this._et=document}}addEventListener(D,o,n){this._et.addEventListener(D,o,n)}dispatchEvent(D){return this._et.dispatchEvent(D)}removeEventListener(D,o,n){this._et.removeEventListener(D,o,n)}}function nt(R,D=250){let o=0,n=null,e,t,a;const r=()=>{o=Date.now(),n=null,e=R.apply(t,a),n||(t=null,a=[])};return function(...s){const h=Date.now(),u=D-(h-o);return t=this,a=s,u<=0||u>D?(n&&(clearTimeout(n),n=null),o=h,e=R.apply(t,a),n||(t=null,a=[])):n||(n=window.setTimeout(r,u)),e}}class Te extends tt{constructor(D,o={}){var n,e,t;super(),this.canvas=D,this._drawingStroke=!1,this._isEmpty=!0,this._lastPoints=[],this._data=[],this._lastVelocity=0,this._lastWidth=0,this.velocityFilterWeight=o.velocityFilterWeight||.7,this.minWidth=o.minWidth||.5,this.maxWidth=o.maxWidth||2.5,this.throttle=(n=o.throttle)!==null&&n!==void 0?n:16,this.minDistance=(e=o.minDistance)!==null&&e!==void 0?e:5,this.dotSize=o.dotSize||0,this.penColor=o.penColor||"black",this.backgroundColor=o.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=o.compositeOperation||"source-over",this.canvasContextOptions=(t=o.canvasContextOptions)!==null&&t!==void 0?t:{},this._strokeMoveUpdate=this.throttle?nt(Te.prototype._strokeUpdate,this.throttle):Te.prototype._strokeUpdate,this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseMove=this._handleMouseMove.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this._handleTouchStart=this._handleTouchStart.bind(this),this._handleTouchMove=this._handleTouchMove.bind(this),this._handleTouchEnd=this._handleTouchEnd.bind(this),this._handlePointerDown=this._handlePointerDown.bind(this),this._handlePointerMove=this._handlePointerMove.bind(this),this._handlePointerUp=this._handlePointerUp.bind(this),this._ctx=D.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}clear(){const{_ctx:D,canvas:o}=this;D.fillStyle=this.backgroundColor,D.clearRect(0,0,o.width,o.height),D.fillRect(0,0,o.width,o.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0,this._strokePointerId=void 0}fromDataURL(D,o={}){return new Promise((n,e)=>{const t=new Image,a=o.ratio||window.devicePixelRatio||1,r=o.width||this.canvas.width/a,i=o.height||this.canvas.height/a,s=o.xOffset||0,h=o.yOffset||0;this._reset(this._getPointGroupOptions()),t.onload=()=>{this._ctx.drawImage(t,s,h,r,i),n()},t.onerror=u=>{e(u)},t.crossOrigin="anonymous",t.src=D,this._isEmpty=!1})}toDataURL(D="image/png",o){switch(D){case"image/svg+xml":return typeof o!="object"&&(o=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(o))}`;default:return typeof o!="number"&&(o=void 0),this.canvas.toDataURL(D,o)}}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const D=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!D?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerDown),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this._removeMoveUpEventListeners()}_getListenerFunctions(){var D;const o=window.document===this.canvas.ownerDocument?window:(D=this.canvas.ownerDocument.defaultView)!==null&&D!==void 0?D:this.canvas.ownerDocument;return{addEventListener:o.addEventListener.bind(o),removeEventListener:o.removeEventListener.bind(o)}}_removeMoveUpEventListeners(){const{removeEventListener:D}=this._getListenerFunctions();D("pointermove",this._handlePointerMove),D("pointerup",this._handlePointerUp),D("mousemove",this._handleMouseMove),D("mouseup",this._handleMouseUp),D("touchmove",this._handleTouchMove),D("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(D,{clear:o=!0}={}){o&&this.clear(),this._fromData(D,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(D)}toData(){return this._data}_isLeftButtonPressed(D,o){return o?D.buttons===1:(D.buttons&1)===1}_pointerEventToSignatureEvent(D){return{event:D,type:D.type,x:D.clientX,y:D.clientY,pressure:"pressure"in D?D.pressure:0}}_touchEventToSignatureEvent(D){const o=D.changedTouches[0];return{event:D,type:D.type,x:o.clientX,y:o.clientY,pressure:o.force}}_handleMouseDown(D){!this._isLeftButtonPressed(D,!0)||this._drawingStroke||this._strokeBegin(this._pointerEventToSignatureEvent(D))}_handleMouseMove(D){if(!this._isLeftButtonPressed(D,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(D),!1);return}this._strokeMoveUpdate(this._pointerEventToSignatureEvent(D))}_handleMouseUp(D){this._isLeftButtonPressed(D)||this._strokeEnd(this._pointerEventToSignatureEvent(D))}_handleTouchStart(D){D.targetTouches.length!==1||this._drawingStroke||(D.cancelable&&D.preventDefault(),this._strokeBegin(this._touchEventToSignatureEvent(D)))}_handleTouchMove(D){if(D.targetTouches.length===1){if(D.cancelable&&D.preventDefault(),!this._drawingStroke){this._strokeEnd(this._touchEventToSignatureEvent(D),!1);return}this._strokeMoveUpdate(this._touchEventToSignatureEvent(D))}}_handleTouchEnd(D){D.targetTouches.length===0&&(D.cancelable&&D.preventDefault(),this._strokeEnd(this._touchEventToSignatureEvent(D)))}_getPointerId(D){return D.persistentDeviceId||D.pointerId}_allowPointerId(D,o=!1){return typeof this._strokePointerId>"u"?o:this._getPointerId(D)===this._strokePointerId}_handlePointerDown(D){this._drawingStroke||!this._isLeftButtonPressed(D)||!this._allowPointerId(D,!0)||(this._strokePointerId=this._getPointerId(D),D.preventDefault(),this._strokeBegin(this._pointerEventToSignatureEvent(D)))}_handlePointerMove(D){if(!!this._allowPointerId(D)){if(!this._isLeftButtonPressed(D,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(D),!1);return}D.preventDefault(),this._strokeMoveUpdate(this._pointerEventToSignatureEvent(D))}}_handlePointerUp(D){this._isLeftButtonPressed(D)||!this._allowPointerId(D)||(D.preventDefault(),this._strokeEnd(this._pointerEventToSignatureEvent(D)))}_getPointGroupOptions(D){return{penColor:D&&"penColor"in D?D.penColor:this.penColor,dotSize:D&&"dotSize"in D?D.dotSize:this.dotSize,minWidth:D&&"minWidth"in D?D.minWidth:this.minWidth,maxWidth:D&&"maxWidth"in D?D.maxWidth:this.maxWidth,velocityFilterWeight:D&&"velocityFilterWeight"in D?D.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:D&&"compositeOperation"in D?D.compositeOperation:this.compositeOperation}}_strokeBegin(D){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:D,cancelable:!0})))return;const{addEventListener:n}=this._getListenerFunctions();switch(D.event.type){case"mousedown":n("mousemove",this._handleMouseMove,{passive:!1}),n("mouseup",this._handleMouseUp,{passive:!1});break;case"touchstart":n("touchmove",this._handleTouchMove,{passive:!1}),n("touchend",this._handleTouchEnd,{passive:!1});break;case"pointerdown":n("pointermove",this._handlePointerMove,{passive:!1}),n("pointerup",this._handlePointerUp,{passive:!1});break}this._drawingStroke=!0;const e=this._getPointGroupOptions(),t=Object.assign(Object.assign({},e),{points:[]});this._data.push(t),this._reset(e),this._strokeUpdate(D)}_strokeUpdate(D){if(!this._drawingStroke)return;if(this._data.length===0){this._strokeBegin(D);return}this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:D}));const o=this._createPoint(D.x,D.y,D.pressure),n=this._data[this._data.length-1],e=n.points,t=e.length>0&&e[e.length-1],a=t?o.distanceTo(t)<=this.minDistance:!1,r=this._getPointGroupOptions(n);if(!t||!(t&&a)){const i=this._addPoint(o,r);t?i&&this._drawCurve(i,r):this._drawDot(o,r),e.push({time:o.time,x:o.x,y:o.y,pressure:o.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:D}))}_strokeEnd(D,o=!0){this._removeMoveUpEventListeners(),this._drawingStroke&&(o&&this._strokeUpdate(D),this._drawingStroke=!1,this._strokePointerId=void 0,this.dispatchEvent(new CustomEvent("endStroke",{detail:D})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerDown,{passive:!1})}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown,{passive:!1})}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart,{passive:!1})}_reset(D){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(D.minWidth+D.maxWidth)/2,this._ctx.fillStyle=D.penColor,this._ctx.globalCompositeOperation=D.compositeOperation}_createPoint(D,o,n){const e=this.canvas.getBoundingClientRect();return new De(D-e.left,o-e.top,n,new Date().getTime())}_addPoint(D,o){const{_lastPoints:n}=this;if(n.push(D),n.length>2){n.length===3&&n.unshift(n[0]);const e=this._calculateCurveWidths(n[1],n[2],o),t=Re.fromPoints(n,e);return n.shift(),t}return null}_calculateCurveWidths(D,o,n){const e=n.velocityFilterWeight*o.velocityFrom(D)+(1-n.velocityFilterWeight)*this._lastVelocity,t=this._strokeWidth(e,n),a={end:t,start:this._lastWidth};return this._lastVelocity=e,this._lastWidth=t,a}_strokeWidth(D,o){return Math.max(o.maxWidth/(D+1),o.minWidth)}_drawCurveSegment(D,o,n){const e=this._ctx;e.moveTo(D,o),e.arc(D,o,n,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(D,o){const n=this._ctx,e=D.endWidth-D.startWidth,t=Math.ceil(D.length())*2;n.beginPath(),n.fillStyle=o.penColor;for(let a=0;a<t;a+=1){const r=a/t,i=r*r,s=i*r,h=1-r,u=h*h,v=u*h;let d=v*D.startPoint.x;d+=3*u*r*D.control1.x,d+=3*h*i*D.control2.x,d+=s*D.endPoint.x;let l=v*D.startPoint.y;l+=3*u*r*D.control1.y,l+=3*h*i*D.control2.y,l+=s*D.endPoint.y;const f=Math.min(D.startWidth+s*e,o.maxWidth);this._drawCurveSegment(d,l,f)}n.closePath(),n.fill()}_drawDot(D,o){const n=this._ctx,e=o.dotSize>0?o.dotSize:(o.minWidth+o.maxWidth)/2;n.beginPath(),this._drawCurveSegment(D.x,D.y,e),n.closePath(),n.fillStyle=o.penColor,n.fill()}_fromData(D,o,n){for(const e of D){const{points:t}=e,a=this._getPointGroupOptions(e);if(t.length>1)for(let r=0;r<t.length;r+=1){const i=t[r],s=new De(i.x,i.y,i.pressure,i.time);r===0&&this._reset(a);const h=this._addPoint(s,a);h&&o(h,a)}else this._reset(a),n(t[0],a)}}toSVG({includeBackgroundColor:D=!1}={}){const o=this._data,n=Math.max(window.devicePixelRatio||1,1),e=0,t=0,a=this.canvas.width/n,r=this.canvas.height/n,i=document.createElementNS("http://www.w3.org/2000/svg","svg");if(i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("viewBox",`${e} ${t} ${a} ${r}`),i.setAttribute("width",a.toString()),i.setAttribute("height",r.toString()),D&&this.backgroundColor){const s=document.createElement("rect");s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("fill",this.backgroundColor),i.appendChild(s)}return this._fromData(o,(s,{penColor:h})=>{const u=document.createElement("path");if(!isNaN(s.control1.x)&&!isNaN(s.control1.y)&&!isNaN(s.control2.x)&&!isNaN(s.control2.y)){const v=`M ${s.startPoint.x.toFixed(3)},${s.startPoint.y.toFixed(3)} C ${s.control1.x.toFixed(3)},${s.control1.y.toFixed(3)} ${s.control2.x.toFixed(3)},${s.control2.y.toFixed(3)} ${s.endPoint.x.toFixed(3)},${s.endPoint.y.toFixed(3)}`;u.setAttribute("d",v),u.setAttribute("stroke-width",(s.endWidth*2.25).toFixed(3)),u.setAttribute("stroke",h),u.setAttribute("fill","none"),u.setAttribute("stroke-linecap","round"),i.appendChild(u)}},(s,{penColor:h,dotSize:u,minWidth:v,maxWidth:d})=>{const l=document.createElement("circle"),f=u>0?u:(v+d)/2;l.setAttribute("r",f.toString()),l.setAttribute("cx",s.x.toString()),l.setAttribute("cy",s.y.toString()),l.setAttribute("fill",h),i.appendChild(l)}),i.outerHTML}}const Mt="",ot=H.defineComponent({name:"SignaturePad",emits:["update:modelValue","change","remove"],data(){return{visible:!1,isEmpty:!0,signaturePad:null}},props:{modelValue:String,penColor:String,disabled:Boolean,tip:String,padTitle:String,formCreateInject:Object,beforeRemove:Function},computed:{tipText(){var R;return this.tip||((R=this.formCreateInject)==null?void 0:R.t("signaturePadTip"))||"\u70B9\u51FB\u6DFB\u52A0\u624B\u5199\u7B7E\u540D"},padTitleText(){var R;return this.padTitle||((R=this.formCreateInject)==null?void 0:R.t("signaturePadTitle"))||"\u8BF7\u5728\u865A\u7EBF\u6846\u5185\u4E66\u5199"}},watch:{visible(R){R?(this.isEmpty=!0,this.$nextTick(()=>{this.signaturePad=H.markRaw(new Te(this.$refs.pad,{penColor:this.penColor})),this.signaturePad.addEventListener("endStroke",()=>{this.isEmpty=this.signaturePad.isEmpty()})})):(this.signaturePad.off(),this.signaturePad=null)}},methods:{open(){this.disabled||(this.visible=!0)},clear(){this.signaturePad.clear(),this.isEmpty=!0},submit(){const R=this.signaturePad.toDataURL();this.updateValue(R),this.visible=!1},updateValue(R){this.$emit("update:modelValue",R),this.$emit("change",R)},async remove(){this.disabled||this.beforeRemove&&await this.beforeRemove()===!1||(this.updateValue(""),this.$emit("remove"))}}}),rt={key:0,class:"_fc-signature-preview"},it=["src"],at={class:"_fc-signature-pad",ref:"pad",width:"600px",height:"270px"};function lt(R,D,o,n,e,t){const a=H.resolveComponent("el-button"),r=H.resolveComponent("el-dialog");return H.openBlock(),H.createElementBlock("div",{class:H.normalizeClass(["_fc-signature",{disabled:R.disabled}])},[R.modelValue?(H.openBlock(),H.createElementBlock("div",rt,[R.disabled?H.createCommentVNode("",!0):(H.openBlock(),H.createElementBlock("i",{key:0,class:"fc-icon icon-delete2",onClick:D[0]||(D[0]=(...i)=>R.remove&&R.remove(...i))})),H.createElementVNode("img",{src:R.modelValue,alt:"signature"},null,8,it)])):(H.openBlock(),H.createElementBlock("div",{key:1,class:"_fc-signature-btn",onClick:D[1]||(D[1]=(...i)=>R.open&&R.open(...i))},[D[4]||(D[4]=H.createElementVNode("i",{class:"fc-icon icon-edit2"},null,-1)),H.createTextVNode(" "+H.toDisplayString(R.tipText),1)])),H.createVNode(r,{class:"_fc-signature-dialog",title:R.padTitleText,modelValue:R.visible,"onUpdate:modelValue":D[3]||(D[3]=i=>R.visible=i),"destroy-on-close":"","close-on-click-modal":!1,"append-to-body":"",width:"640px"},{footer:H.withCtx(()=>[H.createElementVNode("div",null,[H.createVNode(a,{size:"default",onClick:D[2]||(D[2]=i=>R.clear())},{default:H.withCtx(()=>[H.createTextVNode(H.toDisplayString(R.formCreateInject.t("reset")||"\u91CD\u7F6E"),1)]),_:1}),H.createVNode(a,{type:"primary",disabled:R.isEmpty,onClick:R.submit,size:"default"},{default:H.withCtx(()=>[H.createTextVNode(H.toDisplayString(R.formCreateInject.t("ok")||"\u786E\u5B9A"),1)]),_:1},8,["disabled","onClick"])])]),default:H.withCtx(()=>[H.createElementVNode("canvas",at,null,512)]),_:1},8,["title","modelValue"])],2)}const st=ye(ot,[["render",lt]]),Dt="",ut={name:"TableForm",emits:["change","add","delete","update:modelValue"],props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},columns:{type:Array,required:!0,default:()=>[]},filterEmptyColumn:{type:Boolean,default:!0},deletable:{type:Boolean,default:!0},addable:{type:Boolean,default:!0},options:{type:Object,default:()=>H.reactive({submitBtn:!1,resetBtn:!1})},max:Number,min:Number,disabled:Boolean,showIndex:{type:Boolean,default:!0},beforeRemove:Function},watch:{modelValue:{handler(){this.updateTable()},deep:!0},"formCreateInject.preview":function(){this.updateEmptyColspan()},deletable(){this.updateEmptyColspan()},showIndex(){this.rebuildTable()}},data(){return{rule:[],trs:[],fapi:{},Form:H.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:"",emptyRule:{type:"tr",_isEmpty:!0,native:!0,subRule:!0,children:[{type:"td",style:{textAlign:"center"},native:!0,subRule:!0,props:{colspan:0},children:[this.formCreateInject.t("dataEmpty")||"\u6682\u65E0\u6570\u636E"]}]}}},methods:{getColspan(){const R=this.columns.filter(o=>o.hidden!==!0).length;let D=this.formCreateInject.preview||!this.deletable?1:2;return this.showIndex===!1&&(D-=1),R+D},updateEmptyColspan(){this.emptyRule.children[0].props.colspan=this.getColspan()},rebuildTable(){const R=this.oldValue;this.loadRule(),this.updateEmptyColspan(),this.trs.splice(0,this.trs.length),this.oldValue="",this.updateTable(),this.oldValue=R},formChange(){this.updateValue()},updateValue(){const R=this.trs.map((o,n)=>({...this.modelValue[n]||{},...this.fapi.getChildrenFormData(o)})).filter(o=>{if(!this.filterEmptyColumn)return!0;if(o==null)return!1;let n=!1;return Object.keys(o).forEach(e=>{n=n||o[e]!==void 0&&o[e]!==""&&o[e]!==null}),n}),D=JSON.stringify(R);D!==this.oldValue&&(this.oldValue=D,this.$emit("update:modelValue",R),this.$emit("change",R))},setRawData(R,D){const o=this.trs[R];this.fapi.setChildrenFormData(o,D,!0)},updateTable(){const R=JSON.stringify(this.modelValue);this.oldValue!==R&&(this.oldValue=R,this.trs=this.trs.splice(0,this.modelValue.length),this.modelValue.length?this.clearEmpty():this.addEmpty(),this.modelValue.forEach((D,o)=>{this.trs[o]||this.addRaw(),this.setRawData(o,D||{})}),this.rule[0].children[1].children=this.trs)},addEmpty(){this.trs.length&&this.trs.splice(0,this.trs.length),this.trs.push(this.emptyRule)},clearEmpty(){this.trs[0]&&this.trs[0]._isEmpty&&this.trs.splice(0,1)},async delRaw(R){this.disabled||!this.deletable||this.min>0&&this.trs.length<=this.min||this.beforeRemove&&await this.beforeRemove({index:R,row:this.modelValue[R]||{}})===!1||(this.trs.splice(R,1),this.updateValue(),this.trs.length?this.trs.forEach(D=>this.updateRaw(D)):this.addEmpty(),this.$emit("delete",R))},addRaw(R){if(R&&this.disabled)return;const D=this.formCreateInject.form.parseJson(this.copyTrs)[0];this.trs.length===1&&this.trs[0]._isEmpty&&this.trs.splice(0,1),this.trs.push(D),this.updateRaw(D),R&&(this.$emit("add",this.trs.length),this.updateValue())},updateRaw(R){const D=this.trs.indexOf(R);this.showIndex!==!1&&(R.children[0].props.innerText=D+1),R.children[R.children.length-1].children[0].props.onClick=()=>{this.delRaw(D)}},loadRule(){const R=[],D=[];this.showIndex!==!1&&(R.push({type:"th",native:!0,class:"_fc-tf-head-idx"}),D.push({type:"td",class:"_fc-tf-idx",native:!0,props:{innerText:"0"}})),this.columns.forEach(o=>{o.hidden!==!0&&(R.push({type:"th",native:!0,style:{...o.style||{},textAlign:o.align||"center"},class:o.required?"_fc-tf-head-required":"",props:{innerText:o.label||""}}),D.push({type:"td",native:!0,children:[...o.rule||[]]}))}),R.push({type:"th",native:!0,class:"_fc-tf-edit fc-clock",props:{innerText:this.formCreateInject.t("operation")||"\u64CD\u4F5C"}}),D.push({type:"td",native:!0,class:"_fc-tf-btn fc-clock",children:[{type:"i",native:!0,class:"fc-icon icon-delete",props:{}}]}),this.copyTrs=this.formCreateInject.form.toJson([{type:"tr",native:!0,subRule:!0,children:D}]),this.rule=[{type:"table",native:!0,class:"_fc-tf-table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:[{type:"thead",native:!0,children:[{type:"tr",native:!0,children:R}]},{type:"tbody",native:!0,children:this.trs}]}]}},created(){this.loadRule(),this.updateEmptyColspan()},mounted(){this.updateTable()}};function ct(R,D,o,n,e,t){const a=H.resolveComponent("el-button");return H.openBlock(),H.createElementBlock("div",{class:H.normalizeClass(["_fc-table-form",{"_fc-disabled":o.disabled,"_fc-undeletable":!o.deletable}])},[(H.openBlock(),H.createBlock(H.resolveDynamicComponent(e.Form),{option:o.options,rule:e.rule,extendOption:!0,disabled:o.disabled,onChange:t.formChange,api:e.fapi,"onUpdate:api":D[0]||(D[0]=r=>e.fapi=r),onEmitEvent:R.$emit},null,40,["option","rule","disabled","onChange","api","onEmitEvent"])),o.addable&&(!o.max||o.max>this.trs.length)?(H.openBlock(),H.createBlock(a,{key:0,link:"",type:"primary",class:"fc-clock",onClick:D[1]||(D[1]=r=>t.addRaw(!0))},{default:H.withCtx(()=>[D[2]||(D[2]=H.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),H.createTextVNode(" "+H.toDisplayString(o.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1,__:[2]})):H.createCommentVNode("",!0)],2)}const dt=ye(ut,[["render",ct]]),Tt="",ft={name:"FcTable",props:{mini:Boolean,formStyle:Boolean,label:String,width:[Number,String],border:{type:Boolean,default:!0},borderWidth:String,borderColor:String,rule:{type:Object,default:()=>({row:1,col:1})}},watch:{rule:{handler(){this.initRule(),this.loadRule(),this.tdStyle=this.rule.style||{},this.tdClass=this.rule.class||{}},immediate:!0,deep:!0}},data(){return{tdStyle:{},tdClass:{},lattice:{}}},computed:{tableColor(){const R={};return this.border===!1?R.border="0 none":(this.borderColor&&(R.borderColor=this.borderColor),this.borderWidth&&(R.borderWidth=this.borderWidth)),R}},methods:{initRule(){const R=this.rule;R.style||(R.style={}),R.layout||(R.layout=[]),R.row||(R.row=1),R.col||(R.col=1)},loadRule(){const R=[],D=this.rule||{row:1,col:1};for(let n=0;n<D.row;n++){const e=[];R.push(e);for(let t=0;t<D.col;t++)e.push({rowspan:1,colspan:1,slot:[],show:!0})}[...D.layout||[]].forEach((n,e)=>{if((!n.row||n.row<=0)&&(!n.col||n.col<=0)||!R[n.top]||!R[n.top][n.left]||!R[n.top][n.left].show){D.layout.splice(e,1);return}const t=R[n.top][n.left];t.layout=n;let a=1,r=1;if(n.col&&(a=n.col+n.left>D.col?D.col-n.left:n.col,t.colspan=a),n.row&&(r=n.row+n.top>D.row?D.row-n.top:n.row,t.rowspan=r),r&&a)for(let i=0;i<r;i++){const s=R[n.top+i];if(s)for(let h=0;h<a;h++)!h&&!i||(s[n.left+h]&&(s[n.left+h].show=!1),t.slot.push(`${n.top+i}:${n.left+h}`))}});const o=n=>!!(!n||n.layout||!n.show);R.forEach((n,e)=>{n.forEach((t,a)=>{let r=!1,i=!1;if(t.layout){const s=t.layout.col||1,h=t.layout.row||1;for(let u=0;u<s;u++)if(!R[e+h]||o(R[e+h][a+u])){i=!0;continue}for(let u=0;u<h;u++)if(!R[e+u]||o(R[e+u][a+s])){r=!0;continue}}else r=o(n[a+1]),i=R[e+1]?o(R[e+1][a]):!0;t.right=r,t.bottom=i})}),this.lattice=R}}};function pt(R,D,o,n,e,t){const a=H.resolveComponent("el-col");return H.openBlock(),H.createBlock(a,{span:24},{default:H.withCtx(()=>[H.createElementVNode("div",{class:H.normalizeClass(["_fc-table",{"is-mini":o.mini,"is-table-form":o.formStyle}])},[H.createElementVNode("table",{border:"1",cellspacing:"0",cellpadding:"0",style:H.normalizeStyle(t.tableColor)},[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(o.rule.row,(r,i)=>(H.openBlock(),H.createElementBlock("tr",{key:i},[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(o.rule.col,(s,h)=>(H.openBlock(),H.createElementBlock(H.Fragment,{key:`${i}${h}`},[e.lattice[i][h].show?(H.openBlock(),H.createElementBlock("td",H.mergeProps({key:0,ref_for:!0},e.lattice[i][h]?{colspan:e.lattice[i][h].colspan,rowspan:e.lattice[i][h].rowspan}:{},{valign:"top",class:e.tdClass&&e.tdClass[`${i}:${h}`]||"",style:[t.tableColor,e.tdStyle&&e.tdStyle[`${i}:${h}`]||{}]}),[H.renderSlot(R.$slots,`${i}:${h}`),(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(e.lattice[i][h].slot,u=>H.renderSlot(R.$slots,`${u}`)),256))],16)):H.createCommentVNode("",!0)],64))),128))]))),128))],4)],2)]),_:3})}const ht=ye(ft,[["render",pt]]),Nt="",vt=H.defineComponent({name:"InputRange",emits:["update:modelValue","change"],props:{modelValue:{type:Array,default:()=>[null,null]},min:Number,max:Number,step:{type:Number,default:1},disabled:Boolean,separator:{type:String,default:"~"},startPlaceholder:String,endPlaceholder:String},computed:{start:{get(){var R,D;return(D=(R=this.modelValue)==null?void 0:R[0])!=null?D:null},set(R){this.update([R,this.end])}},end:{get(){var R,D;return(D=(R=this.modelValue)==null?void 0:R[1])!=null?D:null},set(R){this.update([this.start,R])}}},methods:{update(R){this.$emit("update:modelValue",R),this.$emit("change",R)},emitChange(){this.$emit("change",[this.start,this.end])}}}),mt={class:"_fc-input-range"},gt={class:"_fc-input-range-sep"};function At(R,D,o,n,e,t){var r,i;const a=H.resolveComponent("el-input-number");return H.openBlock(),H.createElementBlock("div",mt,[H.createVNode(a,{modelValue:R.start,"onUpdate:modelValue":D[0]||(D[0]=s=>R.start=s),min:R.min,max:(r=R.end)!=null?r:R.max,step:R.step,disabled:R.disabled,placeholder:R.startPlaceholder,"controls-position":"right",onChange:R.emitChange},null,8,["modelValue","min","max","step","disabled","placeholder","onChange"]),H.createElementVNode("span",gt,H.toDisplayString(R.separator),1),H.createVNode(a,{modelValue:R.end,"onUpdate:modelValue":D[1]||(D[1]=s=>R.end=s),min:(i=R.start)!=null?i:R.min,max:R.max,step:R.step,disabled:R.disabled,placeholder:R.endPlaceholder,"controls-position":"right",onChange:R.emitChange},null,8,["modelValue","min","max","step","disabled","placeholder","onChange"])])}const yt=ye(vt,[["render",At],["__scopeId","data-v-7986bf16"]]),wt=R=>{var n,e,t,a;const{v:D}=(t=(e=JSON.parse((n=sessionStorage.getItem("dictCache"))!=null?n:"{}"))!=null?e:{})!=null?t:{},o=(a=JSON.parse(D!=null?D:"{}"))!=null?a:{};return console.log(o,"data"),o[R]},_t=H.defineComponent({name:"DictSelect",emits:["update:modelValue","change"],props:{modelValue:{type:[Array,String,Number],default:null},disabled:{type:Boolean,default:!1},dictCode:String,type:{type:String,default:"select",validator:R=>["select","radio","checkbox"].includes(R)},multiple:{type:Boolean,default:!1}},computed:{dictOptions(){return wt(this.dictCode)},value:{get(){return this.modelValue?this.modelValue:this.type==="checkbox"||this.multiple?[]:""}},set(R){this.update(R)}},methods:{update(R){this.$emit("update:modelValue",R),this.$emit("change",R)}},mounted(){}}),xt={style:{width:"100%"}};function bt(R,D,o,n,e,t){const a=H.resolveComponent("el-option"),r=H.resolveComponent("el-select"),i=H.resolveComponent("el-radio"),s=H.resolveComponent("el-radio-group"),h=H.resolveComponent("el-checkbox"),u=H.resolveComponent("el-checkbox-group");return H.openBlock(),H.createElementBlock("div",xt,[R.type==="select"?(H.openBlock(),H.createBlock(r,{key:0,disabled:R.disabled,modelValue:R.value,"onUpdate:modelValue":D[0]||(D[0]=v=>R.value=v),placeholder:"\u8BF7\u9009\u62E9",onChange:R.update,multiple:R.multiple,clearable:""},{default:H.withCtx(()=>[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(R.dictOptions,v=>(H.openBlock(),H.createBlock(a,{key:v.value,label:v.label,value:v.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue","onChange","multiple"])):H.createCommentVNode("",!0),R.type==="radio"?(H.openBlock(),H.createBlock(s,{key:1,disabled:R.disabled,modelValue:R.value,"onUpdate:modelValue":D[1]||(D[1]=v=>R.value=v),onChange:R.update},{default:H.withCtx(()=>[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(R.dictOptions,v=>(H.openBlock(),H.createBlock(i,{key:v.value,label:v.value},{default:H.withCtx(()=>[H.createTextVNode(H.toDisplayString(v.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):H.createCommentVNode("",!0),R.type==="checkbox"?(H.openBlock(),H.createBlock(u,{key:2,disabled:R.disabled,modelValue:R.value,"onUpdate:modelValue":D[2]||(D[2]=v=>R.value=v),onChange:R.update},{default:H.withCtx(()=>[(H.openBlock(!0),H.createElementBlock(H.Fragment,null,H.renderList(R.dictOptions,v=>(H.openBlock(),H.createBlock(h,{key:v.value,label:v.value},{default:H.withCtx(()=>[H.createTextVNode(H.toDisplayString(v.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):H.createCommentVNode("",!0)])}const Et=ye(_t,[["render",bt]]),Bt="",He=R=>{R.component("FcEditor",qe),R.component("FcTitle",et),R.component("SignaturePad",st),R.component("TableForm",dt),R.component("FcTable",ht),R.component("InputRange",yt),R.component("DictSelect",Et)};He(Ue.default),pe.default=He,Object.defineProperties(pe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* FormCreate 可视化表单设计器
|
|
3
|
-
* @houaoran/designer v1.0.
|
|
3
|
+
* @houaoran/designer v1.0.7
|
|
4
4
|
* (c) 2021-2026 xaboy
|
|
5
5
|
* Github https://github.com/xaboy/form-create-designer
|
|
6
6
|
* Site https://form-create.com/
|
|
@@ -909,7 +909,8 @@ const qp = {
|
|
|
909
909
|
props: {
|
|
910
910
|
disabled: "\u662F\u5426\u7981\u7528",
|
|
911
911
|
dictCode: "\u5B57\u5178\u7F16\u7801",
|
|
912
|
-
type: "\u7C7B\u578B"
|
|
912
|
+
type: "\u7C7B\u578B",
|
|
913
|
+
multiple: "\u662F\u5426\u591A\u9009(\u591A\u9009\u65F6\uFF0C\u7C7B\u578B\u4E3A\u9009\u62E9\u5668)"
|
|
913
914
|
}
|
|
914
915
|
},
|
|
915
916
|
password: {
|
|
@@ -4047,7 +4048,7 @@ file.url = res.data.url;`
|
|
|
4047
4048
|
}
|
|
4048
4049
|
}, py = "\u5B57\u5178\u9009\u62E9", Lf = "dictSelect", hy = {
|
|
4049
4050
|
menu: "main",
|
|
4050
|
-
icon: "icon-
|
|
4051
|
+
icon: "icon-select",
|
|
4051
4052
|
label: py,
|
|
4052
4053
|
name: Lf,
|
|
4053
4054
|
input: !0,
|
|
@@ -4063,7 +4064,8 @@ file.url = res.data.url;`
|
|
|
4063
4064
|
value: null,
|
|
4064
4065
|
props: {
|
|
4065
4066
|
dictCode: "",
|
|
4066
|
-
type: "select"
|
|
4067
|
+
type: "select",
|
|
4068
|
+
multiple: !1
|
|
4067
4069
|
}
|
|
4068
4070
|
};
|
|
4069
4071
|
},
|
|
@@ -4075,7 +4077,8 @@ file.url = res.data.url;`
|
|
|
4075
4077
|
{ label: "\u9009\u62E9\u5668", value: "select" },
|
|
4076
4078
|
{ label: "\u591A\u9009", value: "checkbox" },
|
|
4077
4079
|
{ label: "\u5355\u9009", value: "radio" }
|
|
4078
|
-
] }
|
|
4080
|
+
] },
|
|
4081
|
+
{ type: "switch", field: "multiple", value: !1 }
|
|
4079
4082
|
]);
|
|
4080
4083
|
}
|
|
4081
4084
|
}, sl = [
|
|
@@ -39207,6 +39210,10 @@ const PC = /* @__PURE__ */ We(MC, [["render", FC], ["__scopeId", "data-v-7986bf1
|
|
|
39207
39210
|
type: String,
|
|
39208
39211
|
default: "select",
|
|
39209
39212
|
validator: (e) => ["select", "radio", "checkbox"].includes(e)
|
|
39213
|
+
},
|
|
39214
|
+
multiple: {
|
|
39215
|
+
type: Boolean,
|
|
39216
|
+
default: !1
|
|
39210
39217
|
}
|
|
39211
39218
|
},
|
|
39212
39219
|
computed: {
|
|
@@ -39215,12 +39222,11 @@ const PC = /* @__PURE__ */ We(MC, [["render", FC], ["__scopeId", "data-v-7986bf1
|
|
|
39215
39222
|
},
|
|
39216
39223
|
value: {
|
|
39217
39224
|
get() {
|
|
39218
|
-
|
|
39219
|
-
return (e = this.modelValue) != null ? e : null;
|
|
39220
|
-
},
|
|
39221
|
-
set(e) {
|
|
39222
|
-
this.update(e);
|
|
39225
|
+
return this.modelValue ? this.modelValue : this.type === "checkbox" || this.multiple ? [] : "";
|
|
39223
39226
|
}
|
|
39227
|
+
},
|
|
39228
|
+
set(e) {
|
|
39229
|
+
this.update(e);
|
|
39224
39230
|
}
|
|
39225
39231
|
},
|
|
39226
39232
|
methods: {
|
|
@@ -39240,7 +39246,9 @@ function zC(e, i, r, o, t, l) {
|
|
|
39240
39246
|
modelValue: e.value,
|
|
39241
39247
|
"onUpdate:modelValue": i[0] || (i[0] = (A) => e.value = A),
|
|
39242
39248
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
39243
|
-
onChange: e.update
|
|
39249
|
+
onChange: e.update,
|
|
39250
|
+
multiple: e.multiple,
|
|
39251
|
+
clearable: ""
|
|
39244
39252
|
}, {
|
|
39245
39253
|
default: X(() => [
|
|
39246
39254
|
(Y(!0), ce(Fe, null, Qe(e.dictOptions, (A) => (Y(), ke(u, {
|
|
@@ -39250,7 +39258,7 @@ function zC(e, i, r, o, t, l) {
|
|
|
39250
39258
|
}, null, 8, ["label", "value"]))), 128))
|
|
39251
39259
|
]),
|
|
39252
39260
|
_: 1
|
|
39253
|
-
}, 8, ["disabled", "modelValue", "onChange"])) : Se("", !0),
|
|
39261
|
+
}, 8, ["disabled", "modelValue", "onChange", "multiple"])) : Se("", !0),
|
|
39254
39262
|
e.type === "radio" ? (Y(), ke(p, {
|
|
39255
39263
|
key: 1,
|
|
39256
39264
|
disabled: e.disabled,
|
package/dist/index.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* FormCreate 可视化表单设计器
|
|
3
|
-
* @houaoran/designer v1.0.
|
|
3
|
+
* @houaoran/designer v1.0.7
|
|
4
4
|
* (c) 2021-2026 xaboy
|
|
5
5
|
* Github https://github.com/xaboy/form-create-designer
|
|
6
6
|
* Site https://form-create.com/
|
|
@@ -13,7 +13,7 @@ rule: `+JSON.stringify(r.getRule?r.getRule():r):"")}function Mh(e,i){console.err
|
|
|
13
13
|
`+r.substring(5)+`
|
|
14
14
|
}`),r.__json=e,r.__inject=!0,r;(!i&&r.indexOf("function ")===0&&r!=="function "||!i&&r.indexOf("function(")===0&&r!=="function(")&&(o=!0)}if(!o)return e;let t;try{t=tl(r)}catch{t=tl("function "+r)}return t.__json=e,t}catch(t){Mh(`\u89E3\u6790\u5931\u8D25:${r}
|
|
15
15
|
|
|
16
|
-
err: ${t}`);return}}return e}function Wu(e){const i=e.replace(/(-[a-z])/g,function(r){return r.replace("-","").toLocaleUpperCase()});return Oo(i)}function Oo(e){return e.replace(e[0],e[0].toLowerCase())}const Ku={name:"zh-cn",form:{field:"\u5B57\u6BB5 ID",title:"\u5B57\u6BB5\u540D\u79F0",info:"\u63D0\u793A\u4FE1\u606F",control:"\u7EC4\u4EF6\u8054\u52A8",labelPosition:"\u6807\u7B7E\u7684\u4F4D\u7F6E",labelStyle:"\u6807\u7B7E\u7684\u6837\u5F0F",labelSuffix:"\u6807\u7B7E\u7684\u540E\u7F00",size:"\u8868\u5355\u7684\u5C3A\u5BF8",event:"\u8868\u5355\u4E8B\u4EF6",labelWidth:"\u6807\u7B7E\u7684\u5BBD\u5EA6",hideRequiredAsterisk:"\u9690\u85CF\u5FC5\u586B\u5B57\u6BB5\u7684\u6807\u7B7E\u65C1\u8FB9\u7684\u7EA2\u8272\u661F\u53F7",showMessage:"\u663E\u793A\u6821\u9A8C\u9519\u8BEF\u4FE1\u606F",inlineMessage:"\u4EE5\u884C\u5185\u5F62\u5F0F\u5C55\u793A\u6821\u9A8C\u4FE1\u606F",submitBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u63D0\u4EA4\u6309\u94AE",resetBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u91CD\u7F6E\u6309\u94AE",appendChild:"\u6DFB\u52A0\u5B50\u7EA7",formMode:"\u8868\u5355\u6A21\u5F0F",formName:"\u8868\u5355\u540D\u79F0",componentMode:"\u751F\u6210\u7EC4\u4EF6",htmlMode:"\u751F\u6210HTML",document:"\u5E2E\u52A9\u6587\u6863",controlDocument:"\u9700\u8981\u66F4\u8BE6\u7EC6\u7684\u914D\u7F6E\u65B9\u6CD5\uFF1F\u8BF7\u67E5\u770B{doc}",onSubmit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",onReset:"\u8868\u5355\u91CD\u7F6E\u540E\u89E6\u53D1",onCreated:"\u8868\u5355\u7EC4\u4EF6\u521D\u59CB\u5316\u5B8C\u6BD5\u540E\u89E6\u53D1",onMounted:"\u8868\u5355\u7EC4\u4EF6\u6E32\u67D3\u5B8C\u6BD5\u540E\u89E6\u53D1",onBeforeUnmount:"\u8868\u5355\u7EC4\u4EF6\u5378\u8F7D\u524D\u89E6\u53D1",onReload:"\u8868\u5355\u6E32\u67D3\u89C4\u5219\u91CD\u8F7D\u540E\u89E6\u53D1",onChange:"\u8868\u5355\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",beforeSubmit:"\u8868\u5355\u9A8C\u8BC1\u901A\u8FC7\u65F6\u89E6\u53D1",beforeFetch:"\u8FDC\u7A0B\u6570\u636E\u8BF7\u6C42\u53D1\u9001\u524D\u89E6\u53D1"},ai:{name:"\u667A\u80FD\u52A9\u7406",welcome:"\u6B22\u8FCE\u4F7F\u7528 AI \u52A9\u7406",info:"\u6211\u53EF\u4EE5\u5E2E\u52A9\u60A8\u5FEB\u901F\u751F\u6210\u548C\u4FEE\u6539\u8868\u5355\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u9AD8\u6548\u5730\u5B8C\u6210\u8868\u5355\u8BBE\u8BA1\u3002",try:"\u8BD5\u7740\u95EE\u6211",change:"\u6362\u4E00\u6362",placeholder:"\u8BF7\u63CF\u8FF0\u60A8\u7684\u9700\u6C42...",error:"AI \u670D\u52A1\u6682\u65F6\u4E0D\u53EF\u7528\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"},warning:{name:"\u7EC4\u4EF6\u7684\u552F\u4E00\u6807\u8BC6\uFF0C\u7528\u4E8E\u83B7\u53D6\u548C\u4FEE\u6539\u8BE5\u7EC4\u4EF6\u7684\u914D\u7F6E\u89C4\u5219\u3002\u901A\u8FC7\u8BE5\u6807\u8BC6\u53EF\u4EE5\u7CBE\u786E\u5B9A\u4F4D\u7EC4\u4EF6\uFF0C\u5B9E\u73B0\u5BF9\u7EC4\u4EF6\u5C5E\u6027\u548C\u884C\u4E3A\u7684\u63A7\u5236\u3002",field:"\u7EC4\u4EF6\u5BF9\u5E94\u7684\u5B57\u6BB5\u540D\u7528\u4E8E\u4E0E\u7EC4\u4EF6\u7684\u6570\u636E\u8FDB\u884C\u7ED1\u5B9A\u3002\u5B57\u6BB5\u540D\u9700\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u4EE5\u786E\u4FDD\u80FD\u591F\u6B63\u786E\u8BC6\u522B\u3002",fetch:"\u8FDC\u7A0B\u6570\u636E\u901A\u8FC7\u8FDC\u7A0B\u8BF7\u6C42\u52A0\u8F7D\u7EC4\u4EF6\u7684\u914D\u7F6E\u9879\u3002\u914D\u7F6E\u8BF7\u6C42\u53C2\u6570\u540E\uFF0C\u7EC4\u4EF6\u4F1A\u81EA\u52A8\u53D1\u8D77\u8BF7\u6C42\uFF0C\u83B7\u53D6\u8FDC\u7A0B\u6570\u636E\u5E76\u6839\u636E\u8FD4\u56DE\u7684\u7ED3\u679C\u66F4\u65B0\u7EC4\u4EF6\u3002",fetchQuery:"\u5B9A\u4E49\u8BF7\u6C42\u7684 GET \u53C2\u6570\uFF0C\u901A\u8FC7 URL \u4F20\u9012\u6570\u636E\u3002",fetchData:"\u5B9A\u4E49\u8BF7\u6C42\u7684 POST \u53C2\u6570\uFF0C\u901A\u8FC7\u8BF7\u6C42\u4F53\u4F20\u9012\u6570\u636E\u3002",fetchDataType:"\u9009\u62E9\u8BF7\u6C42\u4F53\u7684\u6570\u636E\u7C7B\u578B\uFF0C\u786E\u4FDD\u6570\u636E\u683C\u5F0F\u6B63\u786E\u3002",beforeFetch:"\u5728\u8BF7\u6C42\u53D1\u9001\u524D\uFF0C\u53EF\u901A\u8FC7\u5904\u7406\u51FD\u6570\u4FEE\u6539\u8BF7\u6C42\u53C2\u6570\uFF1B\u82E5\u9700\u7EC8\u6B62\u8BF7\u6C42\uFF0C\u76F4\u63A5\u8FD4\u56DE false \u6216\u4E00\u4E2A\u62D2\u7EDD\u7684 Promise\u3002",fetchParse:"\u8BF7\u6C42\u8FD4\u56DE\u540E\uFF0C\u53EF\u4EE5\u901A\u8FC7\u5904\u7406\u51FD\u6570\u5BF9\u8FD4\u56DE\u7684\u7ED3\u679C\u8FDB\u884C\u5904\u7406\uFF0C\u5C06\u7ED3\u679C\u8F6C\u6362\u4E3A\u7EC4\u4EF6\u6240\u9700\u7684\u6570\u636E\u548C\u7ED3\u6784\u3002",language:"\u7BA1\u7406\u9875\u9762\u7684\u591A\u8BED\u8A00\u6570\u636E\uFF0C\u5728\u7EC4\u4EF6\u4E2D\u914D\u7F6E\u4E0D\u540C\u8BED\u8A00\u7684\u6587\u672C\uFF0C\u652F\u6301\u4E00\u952E\u5207\u6362\u8BED\u8A00\u4F53\u7CFB\uFF0C\u4FBF\u4E8E\u5728\u591A\u8BED\u8A00\u73AF\u5883\u4E0B\u4F7F\u7528\u548C\u5C55\u793A\u5185\u5BB9\u3002"},computed:{fieldUsed:"\u3010{label}\u3011\u5728\u8BA1\u7B97\u516C\u5F0F\u4E2D\u88AB\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u5BF9\u5E94\u516C\u5F0F",fieldExist:"\u3010{label}\u3011\u5B57\u6BB5\u5DF2\u5B58\u5728",fieldEmpty:"\u5B57\u6BB5\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fieldChar:"\u5B57\u6BB5\u540D\u79F0\u5FC5\u987B\u4EE5\u5B57\u6BCD\u5F00\u5934"},validate:{type:"\u5B57\u6BB5\u7C7B\u578B",typePlaceholder:"\u8BF7\u9009\u62E9",trigger:"\u89E6\u53D1\u65B9\u5F0F",mode:"\u9A8C\u8BC1\u65B9\u5F0F",modes:{required:"\u5FC5\u586B",pattern:"\u6B63\u5219\u8868\u8FBE\u5F0F",validator:"\u81EA\u5B9A\u4E49\u9A8C\u8BC1",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",len:"\u957F\u5EA6",maxLen:"\u6700\u5927\u957F\u5EA6",minLen:"\u6700\u5C0F\u957F\u5EA6",uppercase:"\u5168\u5927\u5199",lowercase:"\u5168\u5C0F\u5199",email:"\u90AE\u7BB1\u683C\u5F0F",url:"URL\u683C\u5F0F",ip:"IP\u5730\u5740",phone:"\u624B\u673A\u53F7",positive:"\u6B63\u6570",negative:"\u8D1F\u6570",integer:"\u6574\u6570",number:"\u6570\u5B57"},types:{string:"\u6587\u672C",boolean:"\u5E03\u5C14",array:"\u591A\u9009",number:"\u6570\u5B57",integer:"\u6574\u6570",float:"\u5C0F\u6570",object:"\u5408\u96C6",date:"\u65E5\u671F",url:"URL\u94FE\u63A5",email:"\u90AE\u7BB1\u5730\u5740"},message:"\u9519\u8BEF\u4FE1\u606F",auto:"\u81EA\u52A8\u83B7\u53D6",autoRequired:"\u8BF7\u8F93\u5165{title}",autoMode:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684{title}",requiredPlaceholder:"\u8BF7\u8F93\u5165\u63D0\u793A\u8BED",required:"\u662F\u5426\u5FC5\u586B",rule:"\u9A8C\u8BC1\u89C4\u5219"},tableOptions:{handle:"\u64CD\u4F5C",add:"\u6DFB\u52A0",empty1:"\u70B9\u51FB\u53F3\u4E0B\u89D2",empty2:"\u6309\u94AE\u6DFB\u52A0\u4E00\u5217",rmCol:"\u5220\u9664\u5F53\u524D\u5217",rmRow:"\u5220\u9664\u5F53\u524D\u884C",batchRmCol:"\u5220\u9664\u5217",batchRmRow:"\u5220\u9664\u884C",batchSplit:"\u62C6\u5206\u5355\u5143\u683C",batchMerge:"\u5408\u5E76\u5355\u5143\u683C",splitRow:"\u62C6\u5206\u6210\u884C",splitCol:"\u62C6\u5206\u6210\u5217",mergeBottom:"\u5411\u4E0B\u5408\u5E76",mergeRight:"\u5411\u53F3\u5408\u5E76",addTop:"\u6DFB\u52A0\u4E0A\u5217",addBottom:"\u6DFB\u52A0\u4E0B\u5217",addLeft:"\u6DFB\u52A0\u5DE6\u5217",addRight:"\u6DFB\u52A0\u53F3\u5217",keyValue:"\u952E\u503C\u5BF9"},struct:{title:"\u7F16\u8F91\u6570\u636E",editText:"\u7F16\u8F91\u6587\u672C",only:"\u3010{label}\u3011\u53EA\u5141\u8BB8\u6DFB\u52A0\u4E00\u4E2A",errorMsg:"\u8F93\u5165\u7684\u5185\u5BB9\u8BED\u6CD5\u9519\u8BEF",configured:"\u5DF2\u914D\u7F6E"},event:{title:"\u8BBE\u7F6E\u4E8B\u4EF6",create:"\u521B\u5EFA\u4E8B\u4EF6",list:"\u4E8B\u4EF6\u5217\u8868",placeholder:"\u8BF7\u8F93\u5165\u4E8B\u4EF6\u7684\u540D\u79F0",saveMsg:"\u8BF7\u5148\u4FDD\u5B58\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u4E8B\u4EF6",type:"\u7C7B\u578B",info:"\u8BF4\u660E",label:"\u5B57\u6BB5",inject:{api:"\u5F53\u524D\u8868\u5355\u7684api",rule:"\u5F53\u524D\u8868\u5355\u7684\u751F\u6210\u89C4\u5219",self:"\u7EC4\u4EF6\u7684\u751F\u6210\u89C4\u5219",option:"\u8868\u5355\u7684\u914D\u7F6E",args:"\u4E8B\u4EF6\u7684\u539F\u59CB\u53C2\u6570"}},eventInfo:{blur:"\u5931\u53BB\u7126\u70B9\u65F6\u89E6\u53D1",focus:"\u83B7\u5F97\u7126\u70B9\u65F6\u89E6\u53D1",change:"\u5F53\u7ED1\u5B9A\u503C\u53D8\u5316\u65F6\u89E6\u53D1",input:"\u5728\u503C\u6539\u53D8\u65F6\u89E6\u53D1",clear:"\u5728\u70B9\u51FB\u6E05\u7A7A\u6309\u94AE\u65F6\u89E6\u53D1",close:"\u5173\u95ED\u7EC4\u4EF6\u65F6\u89E6\u53D1",click:"\u70B9\u51FB\u7EC4\u4EF6\u65F6\u89E6\u53D1",add:"\u589E\u52A0\u65F6\u89E6\u53D1",delete:"\u5220\u9664\u65F6\u89E6\u53D1",visibleChange:"\u4E0B\u62C9\u6846\u51FA\u73B0/\u9690\u85CF\u65F6\u89E6\u53D1",calendarChange:"\u5728\u65E5\u5386\u6240\u9009\u65E5\u671F\u66F4\u6539\u65F6\u89E6\u53D1",panelChange:"\u5F53\u65E5\u671F\u9762\u677F\u6539\u53D8\u65F6\u89E6\u53D1",open:"\u6253\u5F00\u7684\u56DE\u8C03",opened:"\u6253\u5F00\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",closed:"\u5173\u95ED\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",openAutoFocus:"\u8F93\u5165\u7126\u70B9\u805A\u7126\u5728\u5185\u5BB9\u65F6\u7684\u56DE\u8C03",closeAutoFocus:"\u8F93\u5165\u7126\u70B9\u4ECE\u5185\u5BB9\u5931\u7126\u65F6\u7684\u56DE\u8C03",submit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",confirm:"\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1",validateFail:"\u8868\u5355\u9A8C\u8BC1\u5931\u8D25\u65F6\u89E6\u53D1",hook_load:"\u7EC4\u4EF6\u89C4\u5219\u52A0\u8F7D\u540E\u89E6\u53D1",hook_mounted:"\u7EC4\u4EF6\u6302\u8F7D\u540E\u89E6\u53D1",hook_beforeUnmount:"\u7EC4\u4EF6\u5378\u8F7D\u524D\u89E6\u53D1",hook_deleted:"\u7EC4\u4EF6\u89C4\u5219\u88AB\u79FB\u9664\u540E\u89E6\u53D1",hook_watch:"\u7EC4\u4EF6\u89C4\u5219\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_value:"\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_hidden:"\u7EC4\u4EF6\u663E\u793A\u72B6\u6001\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_titleClick:"\u70B9\u51FB\u7EC4\u4EF6\u7684\u6807\u7B7E\u540D\u79F0\u65F6\u89E6\u53D1"},fetch:{title:"\u8BBE\u7F6E\u6570\u636E\u6E90",create:"\u521B\u5EFA\u6570\u636E\u6E90",config:"\u8BF7\u6C42\u914D\u7F6E",action:"\u8BF7\u6C42\u94FE\u63A5",actionRequired:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u94FE\u63A5",placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u6E90\u7684\u540D\u79F0",method:"\u8BF7\u6C42\u65B9\u5F0F",data:"\u9644\u5E26\u6570\u636E",dataType:"\u6570\u636E\u7C7B\u578B",headers:"\u8BF7\u6C42\u5934\u90E8",query:"\u8BF7\u6C42\u53C2\u6570",parse:"\u6570\u636E\u5904\u7406",response:"\u63A5\u53E3\u8FD4\u56DE\u7684\u6570\u636E",onError:"\u9519\u8BEF\u5904\u7406",beforeFetch:"\u524D\u7F6E\u5904\u7406",remote:"\u8FDC\u7A0B\u6570\u636E",static:"\u9759\u6001\u6570\u636E",optionsType:{fetch:"\u8FDC\u7A0B\u6570\u636E",struct:"\u9759\u6001\u6570\u636E",text:"\u6587\u672C\u5F55\u5165",json:"JSON\u6570\u636E"},preview:"\u9884\u89C8\u54CD\u5E94\u6570\u636E",test:"\u6D4B\u8BD5\u8BF7\u6C42",previewEmpty:'\u70B9\u51FB"\u6D4B\u8BD5\u8BF7\u6C42"\u6309\u94AE\u9884\u89C8\u54CD\u5E94\u6570\u636E',requestFailed:"\u8BF7\u6C42\u5931\u8D25"},style:{width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6",color:"\u989C\u8272",backgroundColor:"\u80CC\u666F\u8272",margin:"\u5916\u8FB9\u8DDD",padding:"\u5185\u8FB9\u8DDD",borderRadius:"\u5706\u89D2",border:"\u8FB9\u6846",solid:"\u5B9E\u7EBF",dashed:"\u865A\u7EBF",dotted:"\u70B9\u72B6\u865A\u7EBF",double:"\u53CC\u5B9E\u7EBF",opacity:"\u900F\u660E\u5EA6",scale:"\u7F29\u653E",minWidth:"\u6700\u5C0F\u5BBD",minHeight:"\u6700\u5C0F\u9AD8",maxWidth:"\u6700\u5927\u5BBD",maxHeight:"\u6700\u5927\u9AD8",overflow:{name:"\u6EA2\u51FA",visible:"\u53EF\u89C1",hidden:"\u9690\u85CF",scroll:"\u6EDA\u52A8",auto:"\u6EA2\u51FA\u540E\u81EA\u52A8\u6EDA\u52A8"},shadow:{name:"\u9634\u5F71",x:"x\u8F74\u504F\u79FB\u91CF",y:"y\u8F74\u504F\u79FB\u91CF",vague:"\u6A21\u7CCA\u534A\u5F84",extend:"\u6269\u6563\u534A\u5F84",inset:"\u5411\u5185",external:"\u5411\u5916",mode:"\u6A21\u5F0F",classic:"\u7ECF\u5178",flat:"\u6241\u5E73",solid:"\u7ACB\u4F53"},font:{name:"\u6587\u5B57",size:"\u5927\u5C0F",family:"\u5B57\u4F53",align:"\u5BF9\u9F50\u65B9\u5F0F",height:"\u884C\u9AD8",spacing:"\u5B57\u95F4\u8DDD",preview:"\u6837\u5F0F\u9884\u89C8"},family:{"Microsoft YaHei":"\u5FAE\u8F6F\u96C5\u9ED1",SimSun:"\u5B8B\u4F53",SimHei:"\u9ED1\u4F53",KaiTi:"\u6977\u4F53",FangSong:"\u4EFF\u5B8B",LiSu:"\u96B6\u4E66"},position:{name:"\u4F4D\u7F6E",static:"\u9ED8\u8BA4\u5B9A\u4F4D",relative:"\u76F8\u5BF9\u5B9A\u4F4D",absolute:"\u7EDD\u5BF9\u5B9A\u4F4D",fixed:"\u56FA\u5B9A\u5B9A\u4F4D",sticky:"\u7C98\u6027\u5B9A\u4F4D"},decoration:{name:"\u4FEE\u9970",underline:"\u4E0B\u5212\u7EBF","line-through":"\u5220\u9664\u7EBF",overline:"\u4E0A\u5212\u7EBF"},weight:{name:"\u7C97\u7EC6",300:"\u7EC6\u4F53",400:"\u5E38\u89C4\u4F53",500:"\u4E2D\u9ED1\u4F53",700:"\u4E2D\u7C97\u4F53"},background:{name:"\u80CC\u666F",image:"\u80CC\u666F\u56FE",placeholder:"\u8F93\u5165\u56FE\u7247\u5730\u5740",select:"\u9009\u62E9",size:{name:"\u5C3A\u5BF8",cover:"\u8986\u76D6",contain:"\u5305\u542B",auto:"\u81EA\u52A8"},position:"\u4F4D\u7F6E",repeat:{name:"\u91CD\u590D","no-repeat":"\u4E0D\u91CD\u590D",repeat:"\u91CD\u590D","repeat-x":"\u6A2A\u5411\u91CD\u590D","repeat-y":"\u7EB5\u5411\u91CD\u590D",round:"\u5706\u89D2\u91CD\u590D",space:"\u95F4\u8DDD\u91CD\u590D"}}},designer:{component:"\u7EC4\u4EF6\u914D\u7F6E",id:"\u552F\u4E00\u503C",name:"\u7F16\u53F7",type:"\u7EC4\u4EF6\u7C7B\u578B",form:"\u8868\u5355\u914D\u7F6E",json:"\u6E32\u67D3\u89C4\u5219",style:"\u7EC4\u4EF6\u6837\u5F0F\u914D\u7F6E",rule:"\u57FA\u7840\u914D\u7F6E",advanced:"\u9AD8\u7EA7\u914D\u7F6E",props:"\u5C5E\u6027\u914D\u7F6E",customProps:"\u81EA\u5B9A\u4E49\u5C5E\u6027\u914D\u7F6E",validate:"\u9A8C\u8BC1\u914D\u7F6E",event:"\u4E8B\u4EF6\u914D\u7F6E",clearWarn:"\u6E05\u7A7A\u540E\u5C06\u4E0D\u80FD\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6E05\u7A7A\u5417\uFF1F",childEmpty:"\u70B9\u51FB\u53F3\u4E0B\u89D2 \\e789 \u6309\u94AE\u6DFB\u52A0\u4E00\u5217",dragEmpty:"\u62D6\u62FD\u5DE6\u4FA7\u5217\u8868\u4E2D\u7684\u7EC4\u4EF6\u5230\u6B64\u5904",unload:"\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417?",comList:"\u7EC4\u4EF6\u5217\u8868"},language:{name:"\u56FD\u9645\u5316\u914D\u7F6E",add:"\u65B0\u589E\u8BCD\u6761",batchRemove:"\u6279\u91CF\u5220\u9664",select:"\u9009\u62E9\u591A\u8BED\u8A00"},menu:{main:"\u57FA\u7840\u7EC4\u4EF6",aide:"\u8F85\u52A9\u7EC4\u4EF6",layout:"\u5E03\u5C40\u7EC4\u4EF6",component:"\u7EC4\u4EF6",subform:"\u5B50\u8868\u5355\u7EC4\u4EF6",tree:"\u5927\u7EB2"},props:{success:"\u6210\u529F",error:"\u5931\u8D25",disabled:"\u7981\u7528",time:"\u65F6\u95F4",size:"\u5C3A\u5BF8",email:"\u90AE\u7BB1",number:"\u6570\u5B57",globalData:"\u5168\u5C40\u6570\u636E",mobile:"\u79FB\u52A8\u7AEF",reactive:"\u54CD\u5E94\u5F0F",pc:"\u7535\u8111\u7AEF",title:"\u6807\u9898",content:"\u5185\u5BB9",collection:"\u5408\u96C6",group:"\u5206\u7EC4",custom:"\u81EA\u5B9A\u4E49",change:"\u6539\u53D8",blur:"\u5931\u53BB\u7126\u70B9",preview:"\u9884\u89C8",clear:"\u6E05\u7A7A",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",ok:"\u786E\u5B9A",save:"\u4FDD\u5B58",refresh:"\u5237\u65B0",submit:"\u63D0\u4EA4",reset:"\u91CD\u7F6E",copy:"\u590D\u5236",import:"\u5BFC\u5165",export:"\u5BFC\u51FA",delete:"\u5220\u9664",hide:"\u9690\u85CF",show:"\u663E\u793A",position:"\u4F4D\u7F6E",render:"\u6E32\u67D3",large:"\u5927",default:"\u9ED8\u8BA4",small:"\u5C0F",always:"\u5E38\u663E",never:"\u4E0D\u663E\u793A",hover:"\u60AC\u6D6E",click:"\u70B9\u51FB",button:"\u6309\u94AE",year:"\u5E74\u4EFD",month:"\u6708\u4EFD",date:"\u65E5\u671F",dates:"\u65E5\u671F\u591A\u9009",week:"\u4E00\u5468",datetime:"\u65E5\u671F\u65F6\u95F4","datetime-local":"\u65E5\u671F\u65F6\u95F4",datetimerange:"\u65E5\u671F\u65F6\u95F4\u533A\u95F4",daterange:"\u65E5\u671F\u533A\u95F4",monthrange:"\u6708\u4EFD\u533A\u95F4",left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",top:"\u9876\u90E8",text:"\u6587\u5B57",picture:"\u56FE\u7247","picture-card":"\u5361\u7247",center:"\u5C45\u4E2D",vertical:"\u7AD6\u5411",horizontal:"\u6A2A\u5411",manage:"\u7BA1\u7406",key:"\u952E\u540D",name:"\u540D\u79F0",value:"\u503C",inputData:"\u9ED8\u8BA4\u503C",append:"\u63D2\u5165",options:"\u9009\u9879\u6570\u636E",option:"\u9009\u9879",callback:"\u56DE\u8C03",style:"\u6837\u5F0F",card:"\u5361\u7247",_self:"\u5F53\u524D\u7A97\u53E3",_blank:"\u65B0\u7684\u7A97\u53E3",_parent:"\u7236\u7EA7\u7A97\u53E3",_top:"\u9876\u7EA7\u7A97\u53E3"},com:{cascader:{name:"\u7EA7\u8054\u9009\u62E9\u5668",event:{expandChange:"\u5F53\u5C55\u5F00\u8282\u70B9\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",removeTag:"\u5728\u591A\u9009\u6A21\u5F0F\u4E0B\uFF0C\u79FB\u9664Tag\u65F6\u89E6\u53D1"},props:{props:"\u914D\u7F6E\u9009\u9879",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u652F\u6301\u6E05\u7A7A\u9009\u9879",showAllLevels:"\u8F93\u5165\u6846\u4E2D\u662F\u5426\u663E\u793A\u9009\u4E2D\u503C\u7684\u5B8C\u6574\u8DEF\u5F84",collapseTags:"\u591A\u9009\u6A21\u5F0F\u4E0B\u662F\u5426\u6298\u53E0Tag",collapseTagsTooltip:"\u5F53\u9F20\u6807\u60AC\u505C\u4E8E\u6298\u53E0\u6807\u7B7E\u7684\u6587\u672C\u65F6\uFF0C\u662F\u5426\u663E\u793A\u6240\u6709\u9009\u4E2D\u7684\u6807\u7B7E",separator:"\u9009\u9879\u5206\u9694\u7B26",filterable:"\u8BE5\u9009\u9879\u662F\u5426\u53EF\u4EE5\u88AB\u641C\u7D22",tagType:"\u6807\u7B7E\u7C7B\u578B"},propsOpt:{multiple:"\u662F\u5426\u591A\u9009",expandTrigger:"\u6B21\u7EA7\u83DC\u5355\u7684\u5C55\u5F00\u65B9\u5F0F",checkStrictly:"\u662F\u5426\u4E25\u683C\u7684\u9075\u5B88\u7236\u5B50\u8282\u70B9\u4E0D\u4E92\u76F8\u5173\u8054",emitPath:"\u5728\u9009\u4E2D\u8282\u70B9\u6539\u53D8\u65F6\uFF0C\u662F\u5426\u8FD4\u56DE\u7531\u8BE5\u8282\u70B9\u6240\u5728\u7684\u5404\u7EA7\u83DC\u5355\u7684\u503C\u6240\u7EC4\u6210\u7684\u6570\u7EC4",value:"\u6307\u5B9A\u9009\u9879\u7684\u503C\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",label:"\u6307\u5B9A\u9009\u9879\u6807\u7B7E\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",children:"\u6307\u5B9A\u9009\u9879\u7684\u5B50\u9009\u9879\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",disabled:"\u6307\u5B9A\u9009\u9879\u7684\u7981\u7528\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",leaf:"\u6307\u5B9A\u9009\u9879\u7684\u53F6\u5B50\u8282\u70B9\u7684\u6807\u5FD7\u4F4D\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C"}},checkbox:{name:"\u591A\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",type:"\u6309\u94AE\u7C7B\u578B",disabled:"\u662F\u5426\u7981\u7528",min:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5C0F\u6570\u91CF",max:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5927\u6570\u91CF",textColor:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u5B57\u4F53\u989C\u8272",fill:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u8FB9\u6846\u548C\u80CC\u666F\u989C\u8272"}},col:{name:"\u5E03\u5C40\u683C\u5B50",props:{span:"\u6805\u683C\u5360\u636E\u7684\u5217\u6570",offset:"\u6805\u683C\u5DE6\u4FA7\u7684\u95F4\u9694\u683C\u6570",push:"\u6805\u683C\u5411\u53F3\u79FB\u52A8\u683C\u6570",pull:"\u6805\u683C\u5411\u5DE6\u79FB\u52A8\u683C\u6570"}},colorPicker:{name:"\u989C\u8272\u9009\u62E9\u5668",event:{activeChange:"\u9762\u677F\u4E2D\u5F53\u524D\u663E\u793A\u7684\u989C\u8272\u53D1\u751F\u6539\u53D8\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",showAlpha:"\u662F\u5426\u652F\u6301\u900F\u660E\u5EA6\u9009\u62E9",colorFormat:"\u989C\u8272\u7684\u683C\u5F0F",predefine:"\u9884\u5B9A\u4E49\u989C\u8272"}},datePicker:{name:"\u65E5\u671F",props:{pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",type:"\u663E\u793A\u7C7B\u578B",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u7ED3\u675F\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",format:"\u663E\u793A\u5728\u8F93\u5165\u6846\u4E2D\u7684\u683C\u5F0F",align:"\u5BF9\u9F50\u65B9\u5F0F",rangeSeparator:"\u9009\u62E9\u8303\u56F4\u65F6\u7684\u5206\u9694\u7B26",unlinkPanels:"\u5728\u8303\u56F4\u9009\u62E9\u5668\u91CC\u53D6\u6D88\u4E24\u4E2A\u65E5\u671F\u9762\u677F\u4E4B\u95F4\u7684\u8054\u52A8"}},dateRange:{name:"\u65E5\u671F\u533A\u95F4"},timeRange:{name:"\u65F6\u95F4\u533A\u95F4"},elAlert:{name:"\u63D0\u793A",description:"\u8BF4\u660E\u6587\u5B57",props:{title:"\u6807\u9898",type:"\u4E3B\u9898",description:"\u8F85\u52A9\u6027\u6587\u5B57",closable:"\u662F\u5426\u53EF\u5173\u95ED",center:"\u6587\u5B57\u662F\u5426\u5C45\u4E2D",closeText:"\u5173\u95ED\u6309\u94AE\u81EA\u5B9A\u4E49\u6587\u672C",showIcon:"\u662F\u5426\u663E\u793A\u56FE\u6807",effect:"\u9009\u62E9\u63D0\u4F9B\u7684\u4E3B\u9898"}},elButton:{name:"\u6309\u94AE",props:{formCreateChild:"\u5185\u5BB9",size:"\u5C3A\u5BF8",type:"\u7C7B\u578B",plain:"\u662F\u5426\u6734\u7D20\u6309\u94AE",round:"\u662F\u5426\u5706\u89D2\u6309\u94AE",circle:"\u662F\u5426\u5706\u5F62\u6309\u94AE",loading:"\u662F\u5426\u52A0\u8F7D\u4E2D\u72B6\u6001",disabled:"\u662F\u5426\u7981\u7528\u72B6\u6001"}},elCard:{name:"\u5361\u7247",props:{header:"\u6807\u9898",shadow:"\u9634\u5F71\u663E\u793A\u65F6\u673A"}},elCollapse:{name:"\u6298\u53E0\u9762\u677F",event:{change:"\u5207\u6362\u5F53\u524D\u6D3B\u52A8\u9762\u677F\uFF0C\u5728\u624B\u98CE\u7434\u6A21\u5F0F\u4E0B\u5176\u7C7B\u578B\u662Fstring\uFF0C\u5728\u5176\u4ED6\u6A21\u5F0F\u4E0B\u662Farray"},props:{accordion:"\u662F\u5426\u624B\u98CE\u7434\u6A21\u5F0F"}},elCollapseItem:{name:"\u9762\u677F",props:{title:"\u9762\u677F\u6807\u9898",name:"\u552F\u4E00\u6807\u5FD7\u7B26",disabled:"\u662F\u5426\u7981\u7528"}},elDivider:{name:"\u5206\u5272\u7EBF",props:{formCreateChild:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848",contentPosition:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848\u7684\u4F4D\u7F6E"}},elTabPane:{name:"\u9009\u9879\u5361",props:{label:"\u9009\u9879\u5361\u6807\u9898",disabled:"\u662F\u5426\u7981\u7528",name:"\u9009\u9879\u5361\u7684\u6807\u8BC6\u7B26",lazy:"\u6807\u7B7E\u662F\u5426\u5EF6\u8FDF\u6E32\u67D3"}},elTabs:{name:"\u6807\u7B7E\u9875",event:{tabClick:"tab \u88AB\u9009\u4E2D\u65F6\u89E6\u53D1",tabChange:"activeName \u6539\u53D8\u65F6\u89E6\u53D1",tabRemove:"\u70B9\u51FB tab \u79FB\u9664\u6309\u94AE\u65F6\u89E6\u53D1",tabAdd:"\u70B9\u51FB tab \u65B0\u589E\u6309\u94AE\u65F6\u89E6\u53D1",edit:"\u70B9\u51FB tab \u7684\u65B0\u589E\u6216\u79FB\u9664\u6309\u94AE\u540E\u89E6\u53D1"},props:{type:"\u98CE\u683C\u7C7B\u578B",closable:"\u6807\u7B7E\u662F\u5426\u53EF\u5173\u95ED",tabPosition:"\u9009\u9879\u5361\u6240\u5728\u4F4D\u7F6E",stretch:"\u6807\u7B7E\u7684\u5BBD\u5EA6\u662F\u5426\u81EA\u6491\u5F00"}},elTag:{name:"\u6807\u7B7E",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u6807\u7B7E\u5185\u5BB9",type:"\u6807\u7B7E\u7684\u7C7B\u578B",size:"\u6807\u7B7E\u7684\u5C3A\u5BF8",effect:"\u6807\u7B7E\u7684\u4E3B\u9898",closable:"\u662F\u5426\u53EF\u5173\u95ED",disableTransitions:"\u662F\u5426\u7981\u7528\u6E10\u53D8\u52A8\u753B",hit:"\u662F\u5426\u6709\u8FB9\u6846\u63CF\u8FB9",round:"\u662F\u5426\u4E3A\u5706\u5F62",color:"\u80CC\u666F\u8272"}},elTransfer:{name:"\u7A7F\u68AD\u6846",event:{leftCheckChange:"\u5DE6\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1",rightCheckChange:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1"},props:{filterable:"\u662F\u5426\u53EF\u641C\u7D22",filterPlaceholder:"\u641C\u7D22\u6846\u5360\u4F4D\u7B26",targetOrder:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u7684\u6392\u5E8F\u7B56\u7565",targetOrderInfo:"\u82E5\u4E3A original\uFF0C\u5219\u4FDD\u6301\u4E0E\u6570\u636E\u76F8\u540C\u7684\u987A\u5E8F\uFF1B\u82E5\u4E3A push\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u540E\uFF1B\u82E5\u4E3A unshift\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u524D",titles:"\u81EA\u5B9A\u4E49\u5217\u8868\u6807\u9898",buttonTexts:"\u81EA\u5B9A\u4E49\u6309\u94AE\u6587\u6848",props:"\u6570\u636E\u6E90\u7684\u5B57\u6BB5\u522B\u540D"}},elTreeSelect:{name:"\u6811\u5F62\u9009\u62E9",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",props:"\u914D\u7F6E\u9009\u9879",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},elImage:{name:"\u56FE\u7247",props:{src:"\u56FE\u7247\u94FE\u63A5"}},fcTitle:{name:"\u6807\u9898",props:{title:"\u6807\u9898",size:"\u5C3A\u5BF8",align:"\u5BF9\u9F50\u65B9\u5F0F"}},fcEditor:{name:"\u5BCC\u6587\u672C\u6846",props:{disabled:"\u662F\u5426\u7981\u7528"}},fcRow:{name:"\u6805\u683C\u5E03\u5C40",props:{gutter:"\u6805\u683C\u95F4\u9694",type:"flex\u5E03\u5C40\u6A21\u5F0F",justify:"flex\u5E03\u5C40\u4E0B\u7684\u6C34\u5E73\u6392\u5217\u65B9\u5F0F",align:"flex\u5E03\u5C40\u4E0B\u7684\u5782\u76F4\u6392\u5217\u65B9\u5F0F"}},fcTable:{name:"\u8868\u683C\u5E03\u5C40",props:{border:"\u662F\u5426\u663E\u793A\u8FB9\u6846",mini:"\u7D27\u51D1\u6A21\u5F0F",formStyle:"\u8868\u683C\u8868\u5355\u6837\u5F0F",borderColor:"\u8FB9\u6846\u989C\u8272",borderWidth:"\u8FB9\u6846\u5BBD\u5EA6"}},fcTableGrid:{name:"\u683C\u5B50"},signaturePad:{name:"\u624B\u5199\u7B7E\u540D",info:"\u5220\u9664\u7B7E\u540D\u524D\u7684\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD4\u56DE false \u53EF\u963B\u6B62\u5220\u9664\u64CD\u4F5C",props:{tip:"\u7B7E\u540D\u63D0\u793A\u6587\u5B57",padTitle:"\u5F39\u7A97\u6807\u9898",penColor:"\u7EBF\u6761\u7684\u989C\u8272",disabled:"\u7981\u7528",beforeRemove:"\u5220\u9664\u524D\u7F6E\u56DE\u8C03"}},group:{name:"\u5B50\u8868\u5355",info:"\u5220\u9664\u5B50\u8868\u5355\u9879\u524D\u7684\u56DE\u8C03\u51FD\u6570,\u8FD4\u56DE false \u53EF\u963B\u6B62\u5220\u9664\u64CD\u4F5C",props:{type:"\u7C7B\u578B",title:"\u6807\u9898",disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001",expand:"\u8BBE\u7F6E\u9ED8\u8BA4\u5C55\u5F00\u51E0\u9879",button:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",sortBtn:"\u662F\u5426\u663E\u793A\u6392\u5E8F\u6309\u94AE",min:"\u8BBE\u7F6E\u6700\u5C0F\u6DFB\u52A0\u51E0\u9879",max:"\u8BBE\u7F6E\u6700\u591A\u6DFB\u52A0\u51E0\u9879",onBeforeRemove:"\u5220\u9664\u524D\u7F6E\u56DE\u8C03"}},html:{name:"HTML",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u5185\u5BB9"}},input:{name:"\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{type:"\u7C7B\u578B",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB"}},inputNumber:{name:"\u8BA1\u6570\u5668",props:{precision:"\u6570\u503C\u7CBE\u5EA6",min:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5C0F\u503C",max:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5927\u503C",step:"\u8BA1\u6570\u5668\u6B65\u957F",stepStrictly:"\u662F\u5426\u53EA\u80FD\u8F93\u5165 step \u7684\u500D\u6570",disabled:"\u662F\u5426\u7981\u7528\u8BA1\u6570\u5668",controls:"\u662F\u5426\u4F7F\u7528\u63A7\u5236\u6309\u94AE",controlsPosition:"\u63A7\u5236\u6309\u94AE\u4F4D\u7F6E",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C"}},inputRange:{name:"\u6570\u503C\u8303\u56F4",props:{disabled:"\u662F\u5426\u7981\u7528",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",step:"\u6B65\u957F",separator:"\u5206\u9694\u7B26",startPlaceholder:"\u8D77\u59CB\u5360\u4F4D\u7B26",endPlaceholder:"\u7ED3\u675F\u5360\u4F4D\u7B26",showInput:"\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\uFF0C\u4EC5\u5728\u975E\u8303\u56F4\u9009\u62E9\u65F6\u6709\u6548"}},dictSelect:{name:"\u5B57\u5178\u9009\u62E9",props:{disabled:"\u662F\u5426\u7981\u7528",dictCode:"\u5B57\u5178\u7F16\u7801",type:"\u7C7B\u578B"}},password:{name:"\u5BC6\u7801\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE"}},radio:{name:"\u5355\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",disabled:"\u662F\u5426\u7981\u7528",type:"\u6309\u94AE\u5F62\u5F0F",textColor:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u6587\u672C\u989C\u8272",fill:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u586B\u5145\u8272\u548C\u8FB9\u6846\u8272"}},rate:{name:"\u8BC4\u5206",props:{max:"\u6700\u5927\u5206\u503C",disabled:"\u662F\u5426\u7981\u7528",allowHalf:"\u662F\u5426\u5141\u8BB8\u534A\u9009",voidColor:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",disabledVoidColor:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",voidIconClass:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",disabledVoidIconClass:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",showScore:"\u662F\u5426\u663E\u793A\u5F53\u524D\u5206\u6570",textColor:"\u8F85\u52A9\u6587\u5B57\u7684\u989C\u8272",scoreTemplate:"\u5206\u6570\u663E\u793A\u6A21\u677F"}},select:{name:"\u9009\u62E9\u5668",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",filterable:"\u662F\u5426\u53EF\u641C\u7D22",allowCreate:"\u662F\u5426\u5141\u8BB8\u7528\u6237\u521B\u5EFA\u65B0\u6761\u76EE",noMatchText:"\u641C\u7D22\u6761\u4EF6\u65E0\u5339\u914D\u65F6\u663E\u793A\u7684\u6587\u5B57",noDataText:"\u9009\u9879\u4E3A\u7A7A\u65F6\u663E\u793A\u7684\u6587\u5B57",reserveKeyword:"\u591A\u9009\u4E14\u53EF\u641C\u7D22\u65F6\uFF0C\u662F\u5426\u5728\u9009\u4E2D\u4E00\u4E2A\u9009\u9879\u540E\u4FDD\u7559\u5F53\u524D\u7684\u641C\u7D22\u5173\u952E\u8BCD",defaultFirstOption:"\u5728\u8F93\u5165\u6846\u6309\u4E0B\u56DE\u8F66\uFF0C\u9009\u62E9\u7B2C\u4E00\u4E2A\u5339\u914D\u9879",remote:"\u5176\u4E2D\u7684\u9009\u9879\u662F\u5426\u4ECE\u670D\u52A1\u5668\u8FDC\u7A0B\u52A0\u8F7D",remoteMethod:"\u81EA\u5B9A\u4E49\u8FDC\u7A0B\u641C\u7D22\u65B9\u6CD5"}},slider:{name:"\u6ED1\u5757",props:{min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",disabled:"\u662F\u5426\u7981\u7528",step:"\u6B65\u957F",showInput:"\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\uFF0C\u4EC5\u5728\u975E\u8303\u56F4\u9009\u62E9\u65F6\u6709\u6548",showInputControls:"\u5728\u663E\u793A\u8F93\u5165\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\u7684\u63A7\u5236\u6309\u94AE",showStops:"\u662F\u5426\u663E\u793A\u95F4\u65AD\u70B9",range:"\u662F\u5426\u4E3A\u8303\u56F4\u9009\u62E9",vertical:"\u662F\u5426\u7AD6\u5411\u6A21\u5F0F",height:"Slider \u9AD8\u5EA6\uFF0C\u7AD6\u5411\u6A21\u5F0F\u65F6\u5FC5\u586B"}},space:{name:"\u95F4\u8DDD",props:{height:"\u9AD8\u5EA6"}},subForm:{name:"\u5206\u7EC4",props:{disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001"}},switch:{name:"\u5F00\u5173",props:{disabled:"\u662F\u5426\u7981\u7528",width:"\u5BBD\u5EA6\uFF08px\uFF09",activeText:"\u6253\u5F00\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",inactiveText:"\u5173\u95ED\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",activeValue:"\u6253\u5F00\u65F6\u7684\u503C",inactiveValue:"\u5173\u95ED\u65F6\u7684\u503C",activeColor:"\u6253\u5F00\u65F6\u7684\u80CC\u666F\u8272",inactiveColor:"\u5173\u95ED\u65F6\u7684\u80CC\u666F\u8272"}},tableForm:{name:"\u8868\u683C\u8868\u5355",info:"\u5220\u9664\u8868\u683C\u884C\u524D\u7684\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD4\u56DE false \u53EF\u963B\u6B62\u5220\u9664\u64CD\u4F5C",props:{disabled:"\u662F\u5426\u7981\u7528",filterEmptyColumn:"\u662F\u5426\u8FC7\u6EE4\u7A7A\u884C\u7684\u6570\u636E",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",min:"\u6700\u5C11\u6DFB\u52A0\u51E0\u884C",showIndex:"\u663E\u793A\u884C\u53F7",addable:"\u5141\u8BB8\u65B0\u589E",deletable:"\u5141\u8BB8\u5220\u9664",beforeRemove:"\u5220\u9664\u524D\u7F6E\u56DE\u8C03"}},tableFormColumn:{name:"\u8868\u683C\u683C\u5B50",label:"\u81EA\u5B9A\u4E49\u540D\u79F0",props:{align:"\u5BF9\u9F50\u65B9\u5F0F",label:"\u6807\u9898",width:"\u5BBD\u5EA6",color:"\u989C\u8272",required:"\u662F\u5426\u663E\u793A\u5FC5\u586B\u661F\u53F7"}},text:{name:"\u6587\u5B57",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u5185\u5BB9"}},textarea:{name:"\u591A\u884C\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",showWordLimit:"\u662F\u5426\u663E\u793A\u7EDF\u8BA1\u5B57\u6570",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",rows:"\u8F93\u5165\u6846\u884C\u6570",autosize:"\u9AD8\u5EA6\u662F\u5426\u81EA\u9002\u5E94"}},timePicker:{name:"\u65F6\u95F4",props:{pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",isRange:"\u662F\u5426\u4E3A\u65F6\u95F4\u8303\u56F4\u9009\u62E9",arrowControl:"\u662F\u5426\u4F7F\u7528\u7BAD\u5934\u8FDB\u884C\u65F6\u95F4\u9009\u62E9",align:"\u5BF9\u9F50\u65B9\u5F0F"}},tree:{name:"\u6811\u5F62\u63A7\u4EF6",event:{nodeClick:"\u5F53\u8282\u70B9\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",nodeContextmenu:"\u5F53\u67D0\u4E00\u8282\u70B9\u88AB\u9F20\u6807\u53F3\u952E\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",checkChange:"\u5F53\u590D\u9009\u6846\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",check:"\u70B9\u51FB\u8282\u70B9\u590D\u9009\u6846\u4E4B\u540E\u89E6\u53D1",currentChange:"\u5F53\u524D\u9009\u4E2D\u8282\u70B9\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeExpand:"\u8282\u70B9\u88AB\u5C55\u5F00\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeCollapse:"\u8282\u70B9\u88AB\u5173\u95ED\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragStart:"\u8282\u70B9\u5F00\u59CB\u62D6\u62FD\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragEnter:"\u62D6\u62FD\u8FDB\u5165\u5176\u4ED6\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragLeave:"\u62D6\u62FD\u79BB\u5F00\u67D0\u4E2A\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragOver:"\u5728\u62D6\u62FD\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\uFF08\u7C7B\u4F3C\u6D4F\u89C8\u5668\u7684 mouseover \u4E8B\u4EF6\uFF09",nodeDragEnd:"\u62D6\u62FD\u7ED3\u675F\u65F6\uFF08\u53EF\u80FD\u672A\u6210\u529F\uFF09\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDrop:"\u62D6\u62FD\u6210\u529F\u5B8C\u6210\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6"},props:{emptyText:"\u5185\u5BB9\u4E3A\u7A7A\u7684\u65F6\u5019\u5C55\u793A\u7684\u6587\u672C",props:"\u914D\u7F6E\u9009\u9879",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\uFF0C\u5982\u679C\u4E3A false\uFF0C\u5219\u53EA\u6709\u70B9\u7BAD\u5934\u56FE\u6807\u7684\u65F6\u5019\u624D\u4F1A\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\u3002",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",autoExpandParent:"\u5C55\u5F00\u5B50\u8282\u70B9\u7684\u65F6\u5019\u662F\u5426\u81EA\u52A8\u5C55\u5F00\u7236\u8282\u70B9",checkStrictly:"\u5728\u663E\u793A\u590D\u9009\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u4E25\u683C\u7684\u9075\u5FAA\u7236\u5B50\u4E0D\u4E92\u76F8\u5173\u8054\u7684\u505A\u6CD5",accordion:"\u662F\u5426\u6BCF\u6B21\u53EA\u6253\u5F00\u4E00\u4E2A\u540C\u7EA7\u6811\u8282\u70B9\u5C55\u5F00",indent:"\u76F8\u90BB\u7EA7\u8282\u70B9\u95F4\u7684\u6C34\u5E73\u7F29\u8FDB(px)",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},upload:{name:"\u4E0A\u4F20",info:"\u4E0A\u4F20\u6210\u529F\u540E\uFF0C\u5C06\u63A5\u53E3\u8FD4\u56DE\u7684 URL \u8D4B\u503C\u7ED9 file.url\uFF0C\u6216\u5C06\u8FD4\u56DE\u7ED3\u679C\u8D4B\u503C\u7ED9 file.value\uFF0C\u4EE5\u4FBF\u5728\u540E\u7EED\u7684\u8868\u5355\u63D0\u4EA4\u65F6\u83B7\u53D6\u8FD9\u4E9B\u6570\u636E\u3002",event:{remove:"\u6587\u4EF6\u5217\u8868\u79FB\u9664\u6587\u4EF6\u65F6\u89E6\u53D1",preview:"\u70B9\u51FB\u6587\u4EF6\u5217\u8868\u4E2D\u5DF2\u4E0A\u4F20\u7684\u6587\u4EF6\u65F6\u89E6\u53D1",error:"\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\u65F6\u89E6\u53D1",progress:"\u6587\u4EF6\u4E0A\u4F20\u65F6\u89E6\u53D1",exceed:"\u5F53\u8D85\u51FA\u9650\u5236\u65F6\u89E6\u53D1"},props:{listType:"\u4E0A\u4F20\u7C7B\u578B",multiple:"\u662F\u5426\u652F\u6301\u591A\u9009\u6587\u4EF6",action:"\u4E0A\u4F20\u7684\u5730\u5740(\u5FC5\u586B)",beforeUpload:"\u4E0A\u4F20\u6587\u4EF6\u4E4B\u524D\u89E6\u53D1",onSuccess:"\u4E0A\u4F20\u6210\u529F\u65F6\u89E6\u53D1",beforeRemove:"\u5220\u9664\u6587\u4EF6\u4E4B\u524D\u89E6\u53D1",headers:"\u8BBE\u7F6E\u4E0A\u4F20\u7684\u8BF7\u6C42\u5934\u90E8",data:"\u4E0A\u4F20\u65F6\u9644\u5E26\u7684\u989D\u5916\u53C2\u6570",name:"\u4E0A\u4F20\u7684\u6587\u4EF6\u5B57\u6BB5\u540D",withCredentials:"\u652F\u6301\u53D1\u9001 cookie \u51ED\u8BC1\u4FE1\u606F",accept:"\u63A5\u53D7\u4E0A\u4F20\u7684\u6587\u4EF6\u7C7B\u578B",autoUpload:"\u662F\u5426\u5728\u9009\u53D6\u6587\u4EF6\u540E\u7ACB\u5373\u8FDB\u884C\u4E0A\u4F20",disabled:"\u662F\u5426\u7981\u7528",limit:"\u6700\u5927\u5141\u8BB8\u4E0A\u4F20\u4E2A\u6570"}}}},qu=(e,i)=>Ri.ElMessage({message:e,type:i||"info",customClass:"_fc-message-tip"}),bn=e=>qu(e,"error"),Lh=Object.assign||function(e){for(let i,r=1;r<arguments.length;r++)for(let o in i=arguments[r],i)Object.prototype.hasOwnProperty.call(i,o)&&er(e,o,i[o]);return e};function Fh(){return Lh.apply(this,arguments)}function Gu(e){return typeof e!="object"||e===null?e:e instanceof Array?[...e]:{...e}}function Ph(e,i){return`<template>
|
|
16
|
+
err: ${t}`);return}}return e}function Wu(e){const i=e.replace(/(-[a-z])/g,function(r){return r.replace("-","").toLocaleUpperCase()});return Oo(i)}function Oo(e){return e.replace(e[0],e[0].toLowerCase())}const Ku={name:"zh-cn",form:{field:"\u5B57\u6BB5 ID",title:"\u5B57\u6BB5\u540D\u79F0",info:"\u63D0\u793A\u4FE1\u606F",control:"\u7EC4\u4EF6\u8054\u52A8",labelPosition:"\u6807\u7B7E\u7684\u4F4D\u7F6E",labelStyle:"\u6807\u7B7E\u7684\u6837\u5F0F",labelSuffix:"\u6807\u7B7E\u7684\u540E\u7F00",size:"\u8868\u5355\u7684\u5C3A\u5BF8",event:"\u8868\u5355\u4E8B\u4EF6",labelWidth:"\u6807\u7B7E\u7684\u5BBD\u5EA6",hideRequiredAsterisk:"\u9690\u85CF\u5FC5\u586B\u5B57\u6BB5\u7684\u6807\u7B7E\u65C1\u8FB9\u7684\u7EA2\u8272\u661F\u53F7",showMessage:"\u663E\u793A\u6821\u9A8C\u9519\u8BEF\u4FE1\u606F",inlineMessage:"\u4EE5\u884C\u5185\u5F62\u5F0F\u5C55\u793A\u6821\u9A8C\u4FE1\u606F",submitBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u63D0\u4EA4\u6309\u94AE",resetBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u91CD\u7F6E\u6309\u94AE",appendChild:"\u6DFB\u52A0\u5B50\u7EA7",formMode:"\u8868\u5355\u6A21\u5F0F",formName:"\u8868\u5355\u540D\u79F0",componentMode:"\u751F\u6210\u7EC4\u4EF6",htmlMode:"\u751F\u6210HTML",document:"\u5E2E\u52A9\u6587\u6863",controlDocument:"\u9700\u8981\u66F4\u8BE6\u7EC6\u7684\u914D\u7F6E\u65B9\u6CD5\uFF1F\u8BF7\u67E5\u770B{doc}",onSubmit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",onReset:"\u8868\u5355\u91CD\u7F6E\u540E\u89E6\u53D1",onCreated:"\u8868\u5355\u7EC4\u4EF6\u521D\u59CB\u5316\u5B8C\u6BD5\u540E\u89E6\u53D1",onMounted:"\u8868\u5355\u7EC4\u4EF6\u6E32\u67D3\u5B8C\u6BD5\u540E\u89E6\u53D1",onBeforeUnmount:"\u8868\u5355\u7EC4\u4EF6\u5378\u8F7D\u524D\u89E6\u53D1",onReload:"\u8868\u5355\u6E32\u67D3\u89C4\u5219\u91CD\u8F7D\u540E\u89E6\u53D1",onChange:"\u8868\u5355\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",beforeSubmit:"\u8868\u5355\u9A8C\u8BC1\u901A\u8FC7\u65F6\u89E6\u53D1",beforeFetch:"\u8FDC\u7A0B\u6570\u636E\u8BF7\u6C42\u53D1\u9001\u524D\u89E6\u53D1"},ai:{name:"\u667A\u80FD\u52A9\u7406",welcome:"\u6B22\u8FCE\u4F7F\u7528 AI \u52A9\u7406",info:"\u6211\u53EF\u4EE5\u5E2E\u52A9\u60A8\u5FEB\u901F\u751F\u6210\u548C\u4FEE\u6539\u8868\u5355\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u9AD8\u6548\u5730\u5B8C\u6210\u8868\u5355\u8BBE\u8BA1\u3002",try:"\u8BD5\u7740\u95EE\u6211",change:"\u6362\u4E00\u6362",placeholder:"\u8BF7\u63CF\u8FF0\u60A8\u7684\u9700\u6C42...",error:"AI \u670D\u52A1\u6682\u65F6\u4E0D\u53EF\u7528\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"},warning:{name:"\u7EC4\u4EF6\u7684\u552F\u4E00\u6807\u8BC6\uFF0C\u7528\u4E8E\u83B7\u53D6\u548C\u4FEE\u6539\u8BE5\u7EC4\u4EF6\u7684\u914D\u7F6E\u89C4\u5219\u3002\u901A\u8FC7\u8BE5\u6807\u8BC6\u53EF\u4EE5\u7CBE\u786E\u5B9A\u4F4D\u7EC4\u4EF6\uFF0C\u5B9E\u73B0\u5BF9\u7EC4\u4EF6\u5C5E\u6027\u548C\u884C\u4E3A\u7684\u63A7\u5236\u3002",field:"\u7EC4\u4EF6\u5BF9\u5E94\u7684\u5B57\u6BB5\u540D\u7528\u4E8E\u4E0E\u7EC4\u4EF6\u7684\u6570\u636E\u8FDB\u884C\u7ED1\u5B9A\u3002\u5B57\u6BB5\u540D\u9700\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u4EE5\u786E\u4FDD\u80FD\u591F\u6B63\u786E\u8BC6\u522B\u3002",fetch:"\u8FDC\u7A0B\u6570\u636E\u901A\u8FC7\u8FDC\u7A0B\u8BF7\u6C42\u52A0\u8F7D\u7EC4\u4EF6\u7684\u914D\u7F6E\u9879\u3002\u914D\u7F6E\u8BF7\u6C42\u53C2\u6570\u540E\uFF0C\u7EC4\u4EF6\u4F1A\u81EA\u52A8\u53D1\u8D77\u8BF7\u6C42\uFF0C\u83B7\u53D6\u8FDC\u7A0B\u6570\u636E\u5E76\u6839\u636E\u8FD4\u56DE\u7684\u7ED3\u679C\u66F4\u65B0\u7EC4\u4EF6\u3002",fetchQuery:"\u5B9A\u4E49\u8BF7\u6C42\u7684 GET \u53C2\u6570\uFF0C\u901A\u8FC7 URL \u4F20\u9012\u6570\u636E\u3002",fetchData:"\u5B9A\u4E49\u8BF7\u6C42\u7684 POST \u53C2\u6570\uFF0C\u901A\u8FC7\u8BF7\u6C42\u4F53\u4F20\u9012\u6570\u636E\u3002",fetchDataType:"\u9009\u62E9\u8BF7\u6C42\u4F53\u7684\u6570\u636E\u7C7B\u578B\uFF0C\u786E\u4FDD\u6570\u636E\u683C\u5F0F\u6B63\u786E\u3002",beforeFetch:"\u5728\u8BF7\u6C42\u53D1\u9001\u524D\uFF0C\u53EF\u901A\u8FC7\u5904\u7406\u51FD\u6570\u4FEE\u6539\u8BF7\u6C42\u53C2\u6570\uFF1B\u82E5\u9700\u7EC8\u6B62\u8BF7\u6C42\uFF0C\u76F4\u63A5\u8FD4\u56DE false \u6216\u4E00\u4E2A\u62D2\u7EDD\u7684 Promise\u3002",fetchParse:"\u8BF7\u6C42\u8FD4\u56DE\u540E\uFF0C\u53EF\u4EE5\u901A\u8FC7\u5904\u7406\u51FD\u6570\u5BF9\u8FD4\u56DE\u7684\u7ED3\u679C\u8FDB\u884C\u5904\u7406\uFF0C\u5C06\u7ED3\u679C\u8F6C\u6362\u4E3A\u7EC4\u4EF6\u6240\u9700\u7684\u6570\u636E\u548C\u7ED3\u6784\u3002",language:"\u7BA1\u7406\u9875\u9762\u7684\u591A\u8BED\u8A00\u6570\u636E\uFF0C\u5728\u7EC4\u4EF6\u4E2D\u914D\u7F6E\u4E0D\u540C\u8BED\u8A00\u7684\u6587\u672C\uFF0C\u652F\u6301\u4E00\u952E\u5207\u6362\u8BED\u8A00\u4F53\u7CFB\uFF0C\u4FBF\u4E8E\u5728\u591A\u8BED\u8A00\u73AF\u5883\u4E0B\u4F7F\u7528\u548C\u5C55\u793A\u5185\u5BB9\u3002"},computed:{fieldUsed:"\u3010{label}\u3011\u5728\u8BA1\u7B97\u516C\u5F0F\u4E2D\u88AB\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u5BF9\u5E94\u516C\u5F0F",fieldExist:"\u3010{label}\u3011\u5B57\u6BB5\u5DF2\u5B58\u5728",fieldEmpty:"\u5B57\u6BB5\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fieldChar:"\u5B57\u6BB5\u540D\u79F0\u5FC5\u987B\u4EE5\u5B57\u6BCD\u5F00\u5934"},validate:{type:"\u5B57\u6BB5\u7C7B\u578B",typePlaceholder:"\u8BF7\u9009\u62E9",trigger:"\u89E6\u53D1\u65B9\u5F0F",mode:"\u9A8C\u8BC1\u65B9\u5F0F",modes:{required:"\u5FC5\u586B",pattern:"\u6B63\u5219\u8868\u8FBE\u5F0F",validator:"\u81EA\u5B9A\u4E49\u9A8C\u8BC1",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",len:"\u957F\u5EA6",maxLen:"\u6700\u5927\u957F\u5EA6",minLen:"\u6700\u5C0F\u957F\u5EA6",uppercase:"\u5168\u5927\u5199",lowercase:"\u5168\u5C0F\u5199",email:"\u90AE\u7BB1\u683C\u5F0F",url:"URL\u683C\u5F0F",ip:"IP\u5730\u5740",phone:"\u624B\u673A\u53F7",positive:"\u6B63\u6570",negative:"\u8D1F\u6570",integer:"\u6574\u6570",number:"\u6570\u5B57"},types:{string:"\u6587\u672C",boolean:"\u5E03\u5C14",array:"\u591A\u9009",number:"\u6570\u5B57",integer:"\u6574\u6570",float:"\u5C0F\u6570",object:"\u5408\u96C6",date:"\u65E5\u671F",url:"URL\u94FE\u63A5",email:"\u90AE\u7BB1\u5730\u5740"},message:"\u9519\u8BEF\u4FE1\u606F",auto:"\u81EA\u52A8\u83B7\u53D6",autoRequired:"\u8BF7\u8F93\u5165{title}",autoMode:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684{title}",requiredPlaceholder:"\u8BF7\u8F93\u5165\u63D0\u793A\u8BED",required:"\u662F\u5426\u5FC5\u586B",rule:"\u9A8C\u8BC1\u89C4\u5219"},tableOptions:{handle:"\u64CD\u4F5C",add:"\u6DFB\u52A0",empty1:"\u70B9\u51FB\u53F3\u4E0B\u89D2",empty2:"\u6309\u94AE\u6DFB\u52A0\u4E00\u5217",rmCol:"\u5220\u9664\u5F53\u524D\u5217",rmRow:"\u5220\u9664\u5F53\u524D\u884C",batchRmCol:"\u5220\u9664\u5217",batchRmRow:"\u5220\u9664\u884C",batchSplit:"\u62C6\u5206\u5355\u5143\u683C",batchMerge:"\u5408\u5E76\u5355\u5143\u683C",splitRow:"\u62C6\u5206\u6210\u884C",splitCol:"\u62C6\u5206\u6210\u5217",mergeBottom:"\u5411\u4E0B\u5408\u5E76",mergeRight:"\u5411\u53F3\u5408\u5E76",addTop:"\u6DFB\u52A0\u4E0A\u5217",addBottom:"\u6DFB\u52A0\u4E0B\u5217",addLeft:"\u6DFB\u52A0\u5DE6\u5217",addRight:"\u6DFB\u52A0\u53F3\u5217",keyValue:"\u952E\u503C\u5BF9"},struct:{title:"\u7F16\u8F91\u6570\u636E",editText:"\u7F16\u8F91\u6587\u672C",only:"\u3010{label}\u3011\u53EA\u5141\u8BB8\u6DFB\u52A0\u4E00\u4E2A",errorMsg:"\u8F93\u5165\u7684\u5185\u5BB9\u8BED\u6CD5\u9519\u8BEF",configured:"\u5DF2\u914D\u7F6E"},event:{title:"\u8BBE\u7F6E\u4E8B\u4EF6",create:"\u521B\u5EFA\u4E8B\u4EF6",list:"\u4E8B\u4EF6\u5217\u8868",placeholder:"\u8BF7\u8F93\u5165\u4E8B\u4EF6\u7684\u540D\u79F0",saveMsg:"\u8BF7\u5148\u4FDD\u5B58\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u4E8B\u4EF6",type:"\u7C7B\u578B",info:"\u8BF4\u660E",label:"\u5B57\u6BB5",inject:{api:"\u5F53\u524D\u8868\u5355\u7684api",rule:"\u5F53\u524D\u8868\u5355\u7684\u751F\u6210\u89C4\u5219",self:"\u7EC4\u4EF6\u7684\u751F\u6210\u89C4\u5219",option:"\u8868\u5355\u7684\u914D\u7F6E",args:"\u4E8B\u4EF6\u7684\u539F\u59CB\u53C2\u6570"}},eventInfo:{blur:"\u5931\u53BB\u7126\u70B9\u65F6\u89E6\u53D1",focus:"\u83B7\u5F97\u7126\u70B9\u65F6\u89E6\u53D1",change:"\u5F53\u7ED1\u5B9A\u503C\u53D8\u5316\u65F6\u89E6\u53D1",input:"\u5728\u503C\u6539\u53D8\u65F6\u89E6\u53D1",clear:"\u5728\u70B9\u51FB\u6E05\u7A7A\u6309\u94AE\u65F6\u89E6\u53D1",close:"\u5173\u95ED\u7EC4\u4EF6\u65F6\u89E6\u53D1",click:"\u70B9\u51FB\u7EC4\u4EF6\u65F6\u89E6\u53D1",add:"\u589E\u52A0\u65F6\u89E6\u53D1",delete:"\u5220\u9664\u65F6\u89E6\u53D1",visibleChange:"\u4E0B\u62C9\u6846\u51FA\u73B0/\u9690\u85CF\u65F6\u89E6\u53D1",calendarChange:"\u5728\u65E5\u5386\u6240\u9009\u65E5\u671F\u66F4\u6539\u65F6\u89E6\u53D1",panelChange:"\u5F53\u65E5\u671F\u9762\u677F\u6539\u53D8\u65F6\u89E6\u53D1",open:"\u6253\u5F00\u7684\u56DE\u8C03",opened:"\u6253\u5F00\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",closed:"\u5173\u95ED\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",openAutoFocus:"\u8F93\u5165\u7126\u70B9\u805A\u7126\u5728\u5185\u5BB9\u65F6\u7684\u56DE\u8C03",closeAutoFocus:"\u8F93\u5165\u7126\u70B9\u4ECE\u5185\u5BB9\u5931\u7126\u65F6\u7684\u56DE\u8C03",submit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",confirm:"\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1",validateFail:"\u8868\u5355\u9A8C\u8BC1\u5931\u8D25\u65F6\u89E6\u53D1",hook_load:"\u7EC4\u4EF6\u89C4\u5219\u52A0\u8F7D\u540E\u89E6\u53D1",hook_mounted:"\u7EC4\u4EF6\u6302\u8F7D\u540E\u89E6\u53D1",hook_beforeUnmount:"\u7EC4\u4EF6\u5378\u8F7D\u524D\u89E6\u53D1",hook_deleted:"\u7EC4\u4EF6\u89C4\u5219\u88AB\u79FB\u9664\u540E\u89E6\u53D1",hook_watch:"\u7EC4\u4EF6\u89C4\u5219\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_value:"\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_hidden:"\u7EC4\u4EF6\u663E\u793A\u72B6\u6001\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_titleClick:"\u70B9\u51FB\u7EC4\u4EF6\u7684\u6807\u7B7E\u540D\u79F0\u65F6\u89E6\u53D1"},fetch:{title:"\u8BBE\u7F6E\u6570\u636E\u6E90",create:"\u521B\u5EFA\u6570\u636E\u6E90",config:"\u8BF7\u6C42\u914D\u7F6E",action:"\u8BF7\u6C42\u94FE\u63A5",actionRequired:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u94FE\u63A5",placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u6E90\u7684\u540D\u79F0",method:"\u8BF7\u6C42\u65B9\u5F0F",data:"\u9644\u5E26\u6570\u636E",dataType:"\u6570\u636E\u7C7B\u578B",headers:"\u8BF7\u6C42\u5934\u90E8",query:"\u8BF7\u6C42\u53C2\u6570",parse:"\u6570\u636E\u5904\u7406",response:"\u63A5\u53E3\u8FD4\u56DE\u7684\u6570\u636E",onError:"\u9519\u8BEF\u5904\u7406",beforeFetch:"\u524D\u7F6E\u5904\u7406",remote:"\u8FDC\u7A0B\u6570\u636E",static:"\u9759\u6001\u6570\u636E",optionsType:{fetch:"\u8FDC\u7A0B\u6570\u636E",struct:"\u9759\u6001\u6570\u636E",text:"\u6587\u672C\u5F55\u5165",json:"JSON\u6570\u636E"},preview:"\u9884\u89C8\u54CD\u5E94\u6570\u636E",test:"\u6D4B\u8BD5\u8BF7\u6C42",previewEmpty:'\u70B9\u51FB"\u6D4B\u8BD5\u8BF7\u6C42"\u6309\u94AE\u9884\u89C8\u54CD\u5E94\u6570\u636E',requestFailed:"\u8BF7\u6C42\u5931\u8D25"},style:{width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6",color:"\u989C\u8272",backgroundColor:"\u80CC\u666F\u8272",margin:"\u5916\u8FB9\u8DDD",padding:"\u5185\u8FB9\u8DDD",borderRadius:"\u5706\u89D2",border:"\u8FB9\u6846",solid:"\u5B9E\u7EBF",dashed:"\u865A\u7EBF",dotted:"\u70B9\u72B6\u865A\u7EBF",double:"\u53CC\u5B9E\u7EBF",opacity:"\u900F\u660E\u5EA6",scale:"\u7F29\u653E",minWidth:"\u6700\u5C0F\u5BBD",minHeight:"\u6700\u5C0F\u9AD8",maxWidth:"\u6700\u5927\u5BBD",maxHeight:"\u6700\u5927\u9AD8",overflow:{name:"\u6EA2\u51FA",visible:"\u53EF\u89C1",hidden:"\u9690\u85CF",scroll:"\u6EDA\u52A8",auto:"\u6EA2\u51FA\u540E\u81EA\u52A8\u6EDA\u52A8"},shadow:{name:"\u9634\u5F71",x:"x\u8F74\u504F\u79FB\u91CF",y:"y\u8F74\u504F\u79FB\u91CF",vague:"\u6A21\u7CCA\u534A\u5F84",extend:"\u6269\u6563\u534A\u5F84",inset:"\u5411\u5185",external:"\u5411\u5916",mode:"\u6A21\u5F0F",classic:"\u7ECF\u5178",flat:"\u6241\u5E73",solid:"\u7ACB\u4F53"},font:{name:"\u6587\u5B57",size:"\u5927\u5C0F",family:"\u5B57\u4F53",align:"\u5BF9\u9F50\u65B9\u5F0F",height:"\u884C\u9AD8",spacing:"\u5B57\u95F4\u8DDD",preview:"\u6837\u5F0F\u9884\u89C8"},family:{"Microsoft YaHei":"\u5FAE\u8F6F\u96C5\u9ED1",SimSun:"\u5B8B\u4F53",SimHei:"\u9ED1\u4F53",KaiTi:"\u6977\u4F53",FangSong:"\u4EFF\u5B8B",LiSu:"\u96B6\u4E66"},position:{name:"\u4F4D\u7F6E",static:"\u9ED8\u8BA4\u5B9A\u4F4D",relative:"\u76F8\u5BF9\u5B9A\u4F4D",absolute:"\u7EDD\u5BF9\u5B9A\u4F4D",fixed:"\u56FA\u5B9A\u5B9A\u4F4D",sticky:"\u7C98\u6027\u5B9A\u4F4D"},decoration:{name:"\u4FEE\u9970",underline:"\u4E0B\u5212\u7EBF","line-through":"\u5220\u9664\u7EBF",overline:"\u4E0A\u5212\u7EBF"},weight:{name:"\u7C97\u7EC6",300:"\u7EC6\u4F53",400:"\u5E38\u89C4\u4F53",500:"\u4E2D\u9ED1\u4F53",700:"\u4E2D\u7C97\u4F53"},background:{name:"\u80CC\u666F",image:"\u80CC\u666F\u56FE",placeholder:"\u8F93\u5165\u56FE\u7247\u5730\u5740",select:"\u9009\u62E9",size:{name:"\u5C3A\u5BF8",cover:"\u8986\u76D6",contain:"\u5305\u542B",auto:"\u81EA\u52A8"},position:"\u4F4D\u7F6E",repeat:{name:"\u91CD\u590D","no-repeat":"\u4E0D\u91CD\u590D",repeat:"\u91CD\u590D","repeat-x":"\u6A2A\u5411\u91CD\u590D","repeat-y":"\u7EB5\u5411\u91CD\u590D",round:"\u5706\u89D2\u91CD\u590D",space:"\u95F4\u8DDD\u91CD\u590D"}}},designer:{component:"\u7EC4\u4EF6\u914D\u7F6E",id:"\u552F\u4E00\u503C",name:"\u7F16\u53F7",type:"\u7EC4\u4EF6\u7C7B\u578B",form:"\u8868\u5355\u914D\u7F6E",json:"\u6E32\u67D3\u89C4\u5219",style:"\u7EC4\u4EF6\u6837\u5F0F\u914D\u7F6E",rule:"\u57FA\u7840\u914D\u7F6E",advanced:"\u9AD8\u7EA7\u914D\u7F6E",props:"\u5C5E\u6027\u914D\u7F6E",customProps:"\u81EA\u5B9A\u4E49\u5C5E\u6027\u914D\u7F6E",validate:"\u9A8C\u8BC1\u914D\u7F6E",event:"\u4E8B\u4EF6\u914D\u7F6E",clearWarn:"\u6E05\u7A7A\u540E\u5C06\u4E0D\u80FD\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6E05\u7A7A\u5417\uFF1F",childEmpty:"\u70B9\u51FB\u53F3\u4E0B\u89D2 \\e789 \u6309\u94AE\u6DFB\u52A0\u4E00\u5217",dragEmpty:"\u62D6\u62FD\u5DE6\u4FA7\u5217\u8868\u4E2D\u7684\u7EC4\u4EF6\u5230\u6B64\u5904",unload:"\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417?",comList:"\u7EC4\u4EF6\u5217\u8868"},language:{name:"\u56FD\u9645\u5316\u914D\u7F6E",add:"\u65B0\u589E\u8BCD\u6761",batchRemove:"\u6279\u91CF\u5220\u9664",select:"\u9009\u62E9\u591A\u8BED\u8A00"},menu:{main:"\u57FA\u7840\u7EC4\u4EF6",aide:"\u8F85\u52A9\u7EC4\u4EF6",layout:"\u5E03\u5C40\u7EC4\u4EF6",component:"\u7EC4\u4EF6",subform:"\u5B50\u8868\u5355\u7EC4\u4EF6",tree:"\u5927\u7EB2"},props:{success:"\u6210\u529F",error:"\u5931\u8D25",disabled:"\u7981\u7528",time:"\u65F6\u95F4",size:"\u5C3A\u5BF8",email:"\u90AE\u7BB1",number:"\u6570\u5B57",globalData:"\u5168\u5C40\u6570\u636E",mobile:"\u79FB\u52A8\u7AEF",reactive:"\u54CD\u5E94\u5F0F",pc:"\u7535\u8111\u7AEF",title:"\u6807\u9898",content:"\u5185\u5BB9",collection:"\u5408\u96C6",group:"\u5206\u7EC4",custom:"\u81EA\u5B9A\u4E49",change:"\u6539\u53D8",blur:"\u5931\u53BB\u7126\u70B9",preview:"\u9884\u89C8",clear:"\u6E05\u7A7A",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",ok:"\u786E\u5B9A",save:"\u4FDD\u5B58",refresh:"\u5237\u65B0",submit:"\u63D0\u4EA4",reset:"\u91CD\u7F6E",copy:"\u590D\u5236",import:"\u5BFC\u5165",export:"\u5BFC\u51FA",delete:"\u5220\u9664",hide:"\u9690\u85CF",show:"\u663E\u793A",position:"\u4F4D\u7F6E",render:"\u6E32\u67D3",large:"\u5927",default:"\u9ED8\u8BA4",small:"\u5C0F",always:"\u5E38\u663E",never:"\u4E0D\u663E\u793A",hover:"\u60AC\u6D6E",click:"\u70B9\u51FB",button:"\u6309\u94AE",year:"\u5E74\u4EFD",month:"\u6708\u4EFD",date:"\u65E5\u671F",dates:"\u65E5\u671F\u591A\u9009",week:"\u4E00\u5468",datetime:"\u65E5\u671F\u65F6\u95F4","datetime-local":"\u65E5\u671F\u65F6\u95F4",datetimerange:"\u65E5\u671F\u65F6\u95F4\u533A\u95F4",daterange:"\u65E5\u671F\u533A\u95F4",monthrange:"\u6708\u4EFD\u533A\u95F4",left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",top:"\u9876\u90E8",text:"\u6587\u5B57",picture:"\u56FE\u7247","picture-card":"\u5361\u7247",center:"\u5C45\u4E2D",vertical:"\u7AD6\u5411",horizontal:"\u6A2A\u5411",manage:"\u7BA1\u7406",key:"\u952E\u540D",name:"\u540D\u79F0",value:"\u503C",inputData:"\u9ED8\u8BA4\u503C",append:"\u63D2\u5165",options:"\u9009\u9879\u6570\u636E",option:"\u9009\u9879",callback:"\u56DE\u8C03",style:"\u6837\u5F0F",card:"\u5361\u7247",_self:"\u5F53\u524D\u7A97\u53E3",_blank:"\u65B0\u7684\u7A97\u53E3",_parent:"\u7236\u7EA7\u7A97\u53E3",_top:"\u9876\u7EA7\u7A97\u53E3"},com:{cascader:{name:"\u7EA7\u8054\u9009\u62E9\u5668",event:{expandChange:"\u5F53\u5C55\u5F00\u8282\u70B9\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",removeTag:"\u5728\u591A\u9009\u6A21\u5F0F\u4E0B\uFF0C\u79FB\u9664Tag\u65F6\u89E6\u53D1"},props:{props:"\u914D\u7F6E\u9009\u9879",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u652F\u6301\u6E05\u7A7A\u9009\u9879",showAllLevels:"\u8F93\u5165\u6846\u4E2D\u662F\u5426\u663E\u793A\u9009\u4E2D\u503C\u7684\u5B8C\u6574\u8DEF\u5F84",collapseTags:"\u591A\u9009\u6A21\u5F0F\u4E0B\u662F\u5426\u6298\u53E0Tag",collapseTagsTooltip:"\u5F53\u9F20\u6807\u60AC\u505C\u4E8E\u6298\u53E0\u6807\u7B7E\u7684\u6587\u672C\u65F6\uFF0C\u662F\u5426\u663E\u793A\u6240\u6709\u9009\u4E2D\u7684\u6807\u7B7E",separator:"\u9009\u9879\u5206\u9694\u7B26",filterable:"\u8BE5\u9009\u9879\u662F\u5426\u53EF\u4EE5\u88AB\u641C\u7D22",tagType:"\u6807\u7B7E\u7C7B\u578B"},propsOpt:{multiple:"\u662F\u5426\u591A\u9009",expandTrigger:"\u6B21\u7EA7\u83DC\u5355\u7684\u5C55\u5F00\u65B9\u5F0F",checkStrictly:"\u662F\u5426\u4E25\u683C\u7684\u9075\u5B88\u7236\u5B50\u8282\u70B9\u4E0D\u4E92\u76F8\u5173\u8054",emitPath:"\u5728\u9009\u4E2D\u8282\u70B9\u6539\u53D8\u65F6\uFF0C\u662F\u5426\u8FD4\u56DE\u7531\u8BE5\u8282\u70B9\u6240\u5728\u7684\u5404\u7EA7\u83DC\u5355\u7684\u503C\u6240\u7EC4\u6210\u7684\u6570\u7EC4",value:"\u6307\u5B9A\u9009\u9879\u7684\u503C\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",label:"\u6307\u5B9A\u9009\u9879\u6807\u7B7E\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",children:"\u6307\u5B9A\u9009\u9879\u7684\u5B50\u9009\u9879\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",disabled:"\u6307\u5B9A\u9009\u9879\u7684\u7981\u7528\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",leaf:"\u6307\u5B9A\u9009\u9879\u7684\u53F6\u5B50\u8282\u70B9\u7684\u6807\u5FD7\u4F4D\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C"}},checkbox:{name:"\u591A\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",type:"\u6309\u94AE\u7C7B\u578B",disabled:"\u662F\u5426\u7981\u7528",min:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5C0F\u6570\u91CF",max:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5927\u6570\u91CF",textColor:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u5B57\u4F53\u989C\u8272",fill:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u8FB9\u6846\u548C\u80CC\u666F\u989C\u8272"}},col:{name:"\u5E03\u5C40\u683C\u5B50",props:{span:"\u6805\u683C\u5360\u636E\u7684\u5217\u6570",offset:"\u6805\u683C\u5DE6\u4FA7\u7684\u95F4\u9694\u683C\u6570",push:"\u6805\u683C\u5411\u53F3\u79FB\u52A8\u683C\u6570",pull:"\u6805\u683C\u5411\u5DE6\u79FB\u52A8\u683C\u6570"}},colorPicker:{name:"\u989C\u8272\u9009\u62E9\u5668",event:{activeChange:"\u9762\u677F\u4E2D\u5F53\u524D\u663E\u793A\u7684\u989C\u8272\u53D1\u751F\u6539\u53D8\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",showAlpha:"\u662F\u5426\u652F\u6301\u900F\u660E\u5EA6\u9009\u62E9",colorFormat:"\u989C\u8272\u7684\u683C\u5F0F",predefine:"\u9884\u5B9A\u4E49\u989C\u8272"}},datePicker:{name:"\u65E5\u671F",props:{pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",type:"\u663E\u793A\u7C7B\u578B",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u7ED3\u675F\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",format:"\u663E\u793A\u5728\u8F93\u5165\u6846\u4E2D\u7684\u683C\u5F0F",align:"\u5BF9\u9F50\u65B9\u5F0F",rangeSeparator:"\u9009\u62E9\u8303\u56F4\u65F6\u7684\u5206\u9694\u7B26",unlinkPanels:"\u5728\u8303\u56F4\u9009\u62E9\u5668\u91CC\u53D6\u6D88\u4E24\u4E2A\u65E5\u671F\u9762\u677F\u4E4B\u95F4\u7684\u8054\u52A8"}},dateRange:{name:"\u65E5\u671F\u533A\u95F4"},timeRange:{name:"\u65F6\u95F4\u533A\u95F4"},elAlert:{name:"\u63D0\u793A",description:"\u8BF4\u660E\u6587\u5B57",props:{title:"\u6807\u9898",type:"\u4E3B\u9898",description:"\u8F85\u52A9\u6027\u6587\u5B57",closable:"\u662F\u5426\u53EF\u5173\u95ED",center:"\u6587\u5B57\u662F\u5426\u5C45\u4E2D",closeText:"\u5173\u95ED\u6309\u94AE\u81EA\u5B9A\u4E49\u6587\u672C",showIcon:"\u662F\u5426\u663E\u793A\u56FE\u6807",effect:"\u9009\u62E9\u63D0\u4F9B\u7684\u4E3B\u9898"}},elButton:{name:"\u6309\u94AE",props:{formCreateChild:"\u5185\u5BB9",size:"\u5C3A\u5BF8",type:"\u7C7B\u578B",plain:"\u662F\u5426\u6734\u7D20\u6309\u94AE",round:"\u662F\u5426\u5706\u89D2\u6309\u94AE",circle:"\u662F\u5426\u5706\u5F62\u6309\u94AE",loading:"\u662F\u5426\u52A0\u8F7D\u4E2D\u72B6\u6001",disabled:"\u662F\u5426\u7981\u7528\u72B6\u6001"}},elCard:{name:"\u5361\u7247",props:{header:"\u6807\u9898",shadow:"\u9634\u5F71\u663E\u793A\u65F6\u673A"}},elCollapse:{name:"\u6298\u53E0\u9762\u677F",event:{change:"\u5207\u6362\u5F53\u524D\u6D3B\u52A8\u9762\u677F\uFF0C\u5728\u624B\u98CE\u7434\u6A21\u5F0F\u4E0B\u5176\u7C7B\u578B\u662Fstring\uFF0C\u5728\u5176\u4ED6\u6A21\u5F0F\u4E0B\u662Farray"},props:{accordion:"\u662F\u5426\u624B\u98CE\u7434\u6A21\u5F0F"}},elCollapseItem:{name:"\u9762\u677F",props:{title:"\u9762\u677F\u6807\u9898",name:"\u552F\u4E00\u6807\u5FD7\u7B26",disabled:"\u662F\u5426\u7981\u7528"}},elDivider:{name:"\u5206\u5272\u7EBF",props:{formCreateChild:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848",contentPosition:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848\u7684\u4F4D\u7F6E"}},elTabPane:{name:"\u9009\u9879\u5361",props:{label:"\u9009\u9879\u5361\u6807\u9898",disabled:"\u662F\u5426\u7981\u7528",name:"\u9009\u9879\u5361\u7684\u6807\u8BC6\u7B26",lazy:"\u6807\u7B7E\u662F\u5426\u5EF6\u8FDF\u6E32\u67D3"}},elTabs:{name:"\u6807\u7B7E\u9875",event:{tabClick:"tab \u88AB\u9009\u4E2D\u65F6\u89E6\u53D1",tabChange:"activeName \u6539\u53D8\u65F6\u89E6\u53D1",tabRemove:"\u70B9\u51FB tab \u79FB\u9664\u6309\u94AE\u65F6\u89E6\u53D1",tabAdd:"\u70B9\u51FB tab \u65B0\u589E\u6309\u94AE\u65F6\u89E6\u53D1",edit:"\u70B9\u51FB tab \u7684\u65B0\u589E\u6216\u79FB\u9664\u6309\u94AE\u540E\u89E6\u53D1"},props:{type:"\u98CE\u683C\u7C7B\u578B",closable:"\u6807\u7B7E\u662F\u5426\u53EF\u5173\u95ED",tabPosition:"\u9009\u9879\u5361\u6240\u5728\u4F4D\u7F6E",stretch:"\u6807\u7B7E\u7684\u5BBD\u5EA6\u662F\u5426\u81EA\u6491\u5F00"}},elTag:{name:"\u6807\u7B7E",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u6807\u7B7E\u5185\u5BB9",type:"\u6807\u7B7E\u7684\u7C7B\u578B",size:"\u6807\u7B7E\u7684\u5C3A\u5BF8",effect:"\u6807\u7B7E\u7684\u4E3B\u9898",closable:"\u662F\u5426\u53EF\u5173\u95ED",disableTransitions:"\u662F\u5426\u7981\u7528\u6E10\u53D8\u52A8\u753B",hit:"\u662F\u5426\u6709\u8FB9\u6846\u63CF\u8FB9",round:"\u662F\u5426\u4E3A\u5706\u5F62",color:"\u80CC\u666F\u8272"}},elTransfer:{name:"\u7A7F\u68AD\u6846",event:{leftCheckChange:"\u5DE6\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1",rightCheckChange:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1"},props:{filterable:"\u662F\u5426\u53EF\u641C\u7D22",filterPlaceholder:"\u641C\u7D22\u6846\u5360\u4F4D\u7B26",targetOrder:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u7684\u6392\u5E8F\u7B56\u7565",targetOrderInfo:"\u82E5\u4E3A original\uFF0C\u5219\u4FDD\u6301\u4E0E\u6570\u636E\u76F8\u540C\u7684\u987A\u5E8F\uFF1B\u82E5\u4E3A push\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u540E\uFF1B\u82E5\u4E3A unshift\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u524D",titles:"\u81EA\u5B9A\u4E49\u5217\u8868\u6807\u9898",buttonTexts:"\u81EA\u5B9A\u4E49\u6309\u94AE\u6587\u6848",props:"\u6570\u636E\u6E90\u7684\u5B57\u6BB5\u522B\u540D"}},elTreeSelect:{name:"\u6811\u5F62\u9009\u62E9",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",props:"\u914D\u7F6E\u9009\u9879",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},elImage:{name:"\u56FE\u7247",props:{src:"\u56FE\u7247\u94FE\u63A5"}},fcTitle:{name:"\u6807\u9898",props:{title:"\u6807\u9898",size:"\u5C3A\u5BF8",align:"\u5BF9\u9F50\u65B9\u5F0F"}},fcEditor:{name:"\u5BCC\u6587\u672C\u6846",props:{disabled:"\u662F\u5426\u7981\u7528"}},fcRow:{name:"\u6805\u683C\u5E03\u5C40",props:{gutter:"\u6805\u683C\u95F4\u9694",type:"flex\u5E03\u5C40\u6A21\u5F0F",justify:"flex\u5E03\u5C40\u4E0B\u7684\u6C34\u5E73\u6392\u5217\u65B9\u5F0F",align:"flex\u5E03\u5C40\u4E0B\u7684\u5782\u76F4\u6392\u5217\u65B9\u5F0F"}},fcTable:{name:"\u8868\u683C\u5E03\u5C40",props:{border:"\u662F\u5426\u663E\u793A\u8FB9\u6846",mini:"\u7D27\u51D1\u6A21\u5F0F",formStyle:"\u8868\u683C\u8868\u5355\u6837\u5F0F",borderColor:"\u8FB9\u6846\u989C\u8272",borderWidth:"\u8FB9\u6846\u5BBD\u5EA6"}},fcTableGrid:{name:"\u683C\u5B50"},signaturePad:{name:"\u624B\u5199\u7B7E\u540D",info:"\u5220\u9664\u7B7E\u540D\u524D\u7684\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD4\u56DE false \u53EF\u963B\u6B62\u5220\u9664\u64CD\u4F5C",props:{tip:"\u7B7E\u540D\u63D0\u793A\u6587\u5B57",padTitle:"\u5F39\u7A97\u6807\u9898",penColor:"\u7EBF\u6761\u7684\u989C\u8272",disabled:"\u7981\u7528",beforeRemove:"\u5220\u9664\u524D\u7F6E\u56DE\u8C03"}},group:{name:"\u5B50\u8868\u5355",info:"\u5220\u9664\u5B50\u8868\u5355\u9879\u524D\u7684\u56DE\u8C03\u51FD\u6570,\u8FD4\u56DE false \u53EF\u963B\u6B62\u5220\u9664\u64CD\u4F5C",props:{type:"\u7C7B\u578B",title:"\u6807\u9898",disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001",expand:"\u8BBE\u7F6E\u9ED8\u8BA4\u5C55\u5F00\u51E0\u9879",button:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",sortBtn:"\u662F\u5426\u663E\u793A\u6392\u5E8F\u6309\u94AE",min:"\u8BBE\u7F6E\u6700\u5C0F\u6DFB\u52A0\u51E0\u9879",max:"\u8BBE\u7F6E\u6700\u591A\u6DFB\u52A0\u51E0\u9879",onBeforeRemove:"\u5220\u9664\u524D\u7F6E\u56DE\u8C03"}},html:{name:"HTML",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u5185\u5BB9"}},input:{name:"\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{type:"\u7C7B\u578B",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB"}},inputNumber:{name:"\u8BA1\u6570\u5668",props:{precision:"\u6570\u503C\u7CBE\u5EA6",min:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5C0F\u503C",max:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5927\u503C",step:"\u8BA1\u6570\u5668\u6B65\u957F",stepStrictly:"\u662F\u5426\u53EA\u80FD\u8F93\u5165 step \u7684\u500D\u6570",disabled:"\u662F\u5426\u7981\u7528\u8BA1\u6570\u5668",controls:"\u662F\u5426\u4F7F\u7528\u63A7\u5236\u6309\u94AE",controlsPosition:"\u63A7\u5236\u6309\u94AE\u4F4D\u7F6E",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C"}},inputRange:{name:"\u6570\u503C\u8303\u56F4",props:{disabled:"\u662F\u5426\u7981\u7528",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",step:"\u6B65\u957F",separator:"\u5206\u9694\u7B26",startPlaceholder:"\u8D77\u59CB\u5360\u4F4D\u7B26",endPlaceholder:"\u7ED3\u675F\u5360\u4F4D\u7B26",showInput:"\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\uFF0C\u4EC5\u5728\u975E\u8303\u56F4\u9009\u62E9\u65F6\u6709\u6548"}},dictSelect:{name:"\u5B57\u5178\u9009\u62E9",props:{disabled:"\u662F\u5426\u7981\u7528",dictCode:"\u5B57\u5178\u7F16\u7801",type:"\u7C7B\u578B",multiple:"\u662F\u5426\u591A\u9009(\u591A\u9009\u65F6\uFF0C\u7C7B\u578B\u4E3A\u9009\u62E9\u5668)"}},password:{name:"\u5BC6\u7801\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE"}},radio:{name:"\u5355\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",disabled:"\u662F\u5426\u7981\u7528",type:"\u6309\u94AE\u5F62\u5F0F",textColor:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u6587\u672C\u989C\u8272",fill:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u586B\u5145\u8272\u548C\u8FB9\u6846\u8272"}},rate:{name:"\u8BC4\u5206",props:{max:"\u6700\u5927\u5206\u503C",disabled:"\u662F\u5426\u7981\u7528",allowHalf:"\u662F\u5426\u5141\u8BB8\u534A\u9009",voidColor:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",disabledVoidColor:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",voidIconClass:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",disabledVoidIconClass:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",showScore:"\u662F\u5426\u663E\u793A\u5F53\u524D\u5206\u6570",textColor:"\u8F85\u52A9\u6587\u5B57\u7684\u989C\u8272",scoreTemplate:"\u5206\u6570\u663E\u793A\u6A21\u677F"}},select:{name:"\u9009\u62E9\u5668",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",filterable:"\u662F\u5426\u53EF\u641C\u7D22",allowCreate:"\u662F\u5426\u5141\u8BB8\u7528\u6237\u521B\u5EFA\u65B0\u6761\u76EE",noMatchText:"\u641C\u7D22\u6761\u4EF6\u65E0\u5339\u914D\u65F6\u663E\u793A\u7684\u6587\u5B57",noDataText:"\u9009\u9879\u4E3A\u7A7A\u65F6\u663E\u793A\u7684\u6587\u5B57",reserveKeyword:"\u591A\u9009\u4E14\u53EF\u641C\u7D22\u65F6\uFF0C\u662F\u5426\u5728\u9009\u4E2D\u4E00\u4E2A\u9009\u9879\u540E\u4FDD\u7559\u5F53\u524D\u7684\u641C\u7D22\u5173\u952E\u8BCD",defaultFirstOption:"\u5728\u8F93\u5165\u6846\u6309\u4E0B\u56DE\u8F66\uFF0C\u9009\u62E9\u7B2C\u4E00\u4E2A\u5339\u914D\u9879",remote:"\u5176\u4E2D\u7684\u9009\u9879\u662F\u5426\u4ECE\u670D\u52A1\u5668\u8FDC\u7A0B\u52A0\u8F7D",remoteMethod:"\u81EA\u5B9A\u4E49\u8FDC\u7A0B\u641C\u7D22\u65B9\u6CD5"}},slider:{name:"\u6ED1\u5757",props:{min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",disabled:"\u662F\u5426\u7981\u7528",step:"\u6B65\u957F",showInput:"\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\uFF0C\u4EC5\u5728\u975E\u8303\u56F4\u9009\u62E9\u65F6\u6709\u6548",showInputControls:"\u5728\u663E\u793A\u8F93\u5165\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\u7684\u63A7\u5236\u6309\u94AE",showStops:"\u662F\u5426\u663E\u793A\u95F4\u65AD\u70B9",range:"\u662F\u5426\u4E3A\u8303\u56F4\u9009\u62E9",vertical:"\u662F\u5426\u7AD6\u5411\u6A21\u5F0F",height:"Slider \u9AD8\u5EA6\uFF0C\u7AD6\u5411\u6A21\u5F0F\u65F6\u5FC5\u586B"}},space:{name:"\u95F4\u8DDD",props:{height:"\u9AD8\u5EA6"}},subForm:{name:"\u5206\u7EC4",props:{disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001"}},switch:{name:"\u5F00\u5173",props:{disabled:"\u662F\u5426\u7981\u7528",width:"\u5BBD\u5EA6\uFF08px\uFF09",activeText:"\u6253\u5F00\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",inactiveText:"\u5173\u95ED\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",activeValue:"\u6253\u5F00\u65F6\u7684\u503C",inactiveValue:"\u5173\u95ED\u65F6\u7684\u503C",activeColor:"\u6253\u5F00\u65F6\u7684\u80CC\u666F\u8272",inactiveColor:"\u5173\u95ED\u65F6\u7684\u80CC\u666F\u8272"}},tableForm:{name:"\u8868\u683C\u8868\u5355",info:"\u5220\u9664\u8868\u683C\u884C\u524D\u7684\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD4\u56DE false \u53EF\u963B\u6B62\u5220\u9664\u64CD\u4F5C",props:{disabled:"\u662F\u5426\u7981\u7528",filterEmptyColumn:"\u662F\u5426\u8FC7\u6EE4\u7A7A\u884C\u7684\u6570\u636E",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",min:"\u6700\u5C11\u6DFB\u52A0\u51E0\u884C",showIndex:"\u663E\u793A\u884C\u53F7",addable:"\u5141\u8BB8\u65B0\u589E",deletable:"\u5141\u8BB8\u5220\u9664",beforeRemove:"\u5220\u9664\u524D\u7F6E\u56DE\u8C03"}},tableFormColumn:{name:"\u8868\u683C\u683C\u5B50",label:"\u81EA\u5B9A\u4E49\u540D\u79F0",props:{align:"\u5BF9\u9F50\u65B9\u5F0F",label:"\u6807\u9898",width:"\u5BBD\u5EA6",color:"\u989C\u8272",required:"\u662F\u5426\u663E\u793A\u5FC5\u586B\u661F\u53F7"}},text:{name:"\u6587\u5B57",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u5185\u5BB9"}},textarea:{name:"\u591A\u884C\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",showWordLimit:"\u662F\u5426\u663E\u793A\u7EDF\u8BA1\u5B57\u6570",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",rows:"\u8F93\u5165\u6846\u884C\u6570",autosize:"\u9AD8\u5EA6\u662F\u5426\u81EA\u9002\u5E94"}},timePicker:{name:"\u65F6\u95F4",props:{pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",isRange:"\u662F\u5426\u4E3A\u65F6\u95F4\u8303\u56F4\u9009\u62E9",arrowControl:"\u662F\u5426\u4F7F\u7528\u7BAD\u5934\u8FDB\u884C\u65F6\u95F4\u9009\u62E9",align:"\u5BF9\u9F50\u65B9\u5F0F"}},tree:{name:"\u6811\u5F62\u63A7\u4EF6",event:{nodeClick:"\u5F53\u8282\u70B9\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",nodeContextmenu:"\u5F53\u67D0\u4E00\u8282\u70B9\u88AB\u9F20\u6807\u53F3\u952E\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",checkChange:"\u5F53\u590D\u9009\u6846\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",check:"\u70B9\u51FB\u8282\u70B9\u590D\u9009\u6846\u4E4B\u540E\u89E6\u53D1",currentChange:"\u5F53\u524D\u9009\u4E2D\u8282\u70B9\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeExpand:"\u8282\u70B9\u88AB\u5C55\u5F00\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeCollapse:"\u8282\u70B9\u88AB\u5173\u95ED\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragStart:"\u8282\u70B9\u5F00\u59CB\u62D6\u62FD\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragEnter:"\u62D6\u62FD\u8FDB\u5165\u5176\u4ED6\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragLeave:"\u62D6\u62FD\u79BB\u5F00\u67D0\u4E2A\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragOver:"\u5728\u62D6\u62FD\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\uFF08\u7C7B\u4F3C\u6D4F\u89C8\u5668\u7684 mouseover \u4E8B\u4EF6\uFF09",nodeDragEnd:"\u62D6\u62FD\u7ED3\u675F\u65F6\uFF08\u53EF\u80FD\u672A\u6210\u529F\uFF09\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDrop:"\u62D6\u62FD\u6210\u529F\u5B8C\u6210\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6"},props:{emptyText:"\u5185\u5BB9\u4E3A\u7A7A\u7684\u65F6\u5019\u5C55\u793A\u7684\u6587\u672C",props:"\u914D\u7F6E\u9009\u9879",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\uFF0C\u5982\u679C\u4E3A false\uFF0C\u5219\u53EA\u6709\u70B9\u7BAD\u5934\u56FE\u6807\u7684\u65F6\u5019\u624D\u4F1A\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\u3002",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",autoExpandParent:"\u5C55\u5F00\u5B50\u8282\u70B9\u7684\u65F6\u5019\u662F\u5426\u81EA\u52A8\u5C55\u5F00\u7236\u8282\u70B9",checkStrictly:"\u5728\u663E\u793A\u590D\u9009\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u4E25\u683C\u7684\u9075\u5FAA\u7236\u5B50\u4E0D\u4E92\u76F8\u5173\u8054\u7684\u505A\u6CD5",accordion:"\u662F\u5426\u6BCF\u6B21\u53EA\u6253\u5F00\u4E00\u4E2A\u540C\u7EA7\u6811\u8282\u70B9\u5C55\u5F00",indent:"\u76F8\u90BB\u7EA7\u8282\u70B9\u95F4\u7684\u6C34\u5E73\u7F29\u8FDB(px)",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},upload:{name:"\u4E0A\u4F20",info:"\u4E0A\u4F20\u6210\u529F\u540E\uFF0C\u5C06\u63A5\u53E3\u8FD4\u56DE\u7684 URL \u8D4B\u503C\u7ED9 file.url\uFF0C\u6216\u5C06\u8FD4\u56DE\u7ED3\u679C\u8D4B\u503C\u7ED9 file.value\uFF0C\u4EE5\u4FBF\u5728\u540E\u7EED\u7684\u8868\u5355\u63D0\u4EA4\u65F6\u83B7\u53D6\u8FD9\u4E9B\u6570\u636E\u3002",event:{remove:"\u6587\u4EF6\u5217\u8868\u79FB\u9664\u6587\u4EF6\u65F6\u89E6\u53D1",preview:"\u70B9\u51FB\u6587\u4EF6\u5217\u8868\u4E2D\u5DF2\u4E0A\u4F20\u7684\u6587\u4EF6\u65F6\u89E6\u53D1",error:"\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\u65F6\u89E6\u53D1",progress:"\u6587\u4EF6\u4E0A\u4F20\u65F6\u89E6\u53D1",exceed:"\u5F53\u8D85\u51FA\u9650\u5236\u65F6\u89E6\u53D1"},props:{listType:"\u4E0A\u4F20\u7C7B\u578B",multiple:"\u662F\u5426\u652F\u6301\u591A\u9009\u6587\u4EF6",action:"\u4E0A\u4F20\u7684\u5730\u5740(\u5FC5\u586B)",beforeUpload:"\u4E0A\u4F20\u6587\u4EF6\u4E4B\u524D\u89E6\u53D1",onSuccess:"\u4E0A\u4F20\u6210\u529F\u65F6\u89E6\u53D1",beforeRemove:"\u5220\u9664\u6587\u4EF6\u4E4B\u524D\u89E6\u53D1",headers:"\u8BBE\u7F6E\u4E0A\u4F20\u7684\u8BF7\u6C42\u5934\u90E8",data:"\u4E0A\u4F20\u65F6\u9644\u5E26\u7684\u989D\u5916\u53C2\u6570",name:"\u4E0A\u4F20\u7684\u6587\u4EF6\u5B57\u6BB5\u540D",withCredentials:"\u652F\u6301\u53D1\u9001 cookie \u51ED\u8BC1\u4FE1\u606F",accept:"\u63A5\u53D7\u4E0A\u4F20\u7684\u6587\u4EF6\u7C7B\u578B",autoUpload:"\u662F\u5426\u5728\u9009\u53D6\u6587\u4EF6\u540E\u7ACB\u5373\u8FDB\u884C\u4E0A\u4F20",disabled:"\u662F\u5426\u7981\u7528",limit:"\u6700\u5927\u5141\u8BB8\u4E0A\u4F20\u4E2A\u6570"}}}},qu=(e,i)=>Ri.ElMessage({message:e,type:i||"info",customClass:"_fc-message-tip"}),bn=e=>qu(e,"error"),Lh=Object.assign||function(e){for(let i,r=1;r<arguments.length;r++)for(let o in i=arguments[r],i)Object.prototype.hasOwnProperty.call(i,o)&&er(e,o,i[o]);return e};function Fh(){return Lh.apply(this,arguments)}function Gu(e){return typeof e!="object"||e===null?e:e instanceof Array?[...e]:{...e}}function Ph(e,i){return`<template>
|
|
17
17
|
<form-create
|
|
18
18
|
v-model="formData"
|
|
19
19
|
v-model:api="fapi"
|
|
@@ -121,7 +121,7 @@ const file = $inject.args[1];
|
|
|
121
121
|
|
|
122
122
|
file.url = res.data.url;`}}},props(e,{t:i}){return Le(i,bl+".props",[{type:"switch",field:"disabled"},{type:"select",field:"listType",options:vt(i,[{label:"text",value:"text"},{label:"picture",value:"picture"},{label:"picture-card",value:"picture-card"}])},{type:"switch",field:"multiple"},{type:"input",field:"action"},{type:"input",field:"accept"},{type:"FnInput",field:"beforeUpload",props:{body:!0,button:!0,fnx:!0,args:[An(i)],name:"beforeUpload"}},{type:"FnInput",field:"beforeRemove",props:{body:!0,button:!0,fnx:!0,args:[An(i)],name:"beforeRemove"}},{type:"FnInput",field:"onSuccess",warning:i("com.upload.info"),props:{body:!0,button:!0,fnx:!0,args:[An(i)],name:"onSuccess"}},{type:"TableOptions",field:"headers",props:{column:[{label:i("props.key"),key:"label"},{label:i("props.value"),key:"value"}],valueType:"object"}},{type:"TableOptions",field:"data",props:{column:[{label:i("props.key"),key:"label"},{label:i("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"withCredentials"},{type:"switch",field:"autoUpload",value:!0},{type:"inputNumber",field:"limit",props:{min:0}}])}},Im="\u7A7F\u68AD\u6846",wl="elTransfer",Lm={menu:"main",icon:"icon-transfer",label:Im,name:wl,input:!0,event:["change","leftCheckChange","rightCheckChange"],validate:["string","number","array"],rule({t:e}){return{type:wl,field:je(),title:e("com.elTransfer.name"),info:"",$required:!1,props:{data:wn(e("props.option"),{label:"label",value:"key"},1)}}},props(e,{t:i}){return Le(i,wl+".props",[Bi(i,"props.data","label","key"),{type:"switch",field:"filterable"},{type:"input",field:"filterPlaceholder"},{type:"select",field:"targetOrder",warning:i("com.elTransfer.props.targetOrderInfo"),options:[{label:"original",value:"original"},{label:"push",value:"push"},{label:"unshift",value:"unshift"}]},{type:"TableOptions",field:"titles",props:{column:[{label:i("props.value"),key:"value"}],valueType:"string",max:2}},{type:"TableOptions",field:"buttonTexts",props:{column:[{label:i("props.value"),key:"value"}],valueType:"string",max:2}}])}},Fm="\u6811\u5F62\u63A7\u4EF6",Al="tree",Pm={menu:"main",icon:"icon-tree",label:Fm,name:Al,input:!0,event:["nodeClick","nodeContextmenu","checkChange","check","currentChange","nodeExpand","nodeCollapse","nodeDragStart","nodeDragEnter","nodeDragLeave","nodeDragOver","nodeDragEnd","nodeDrop"],validate:["string","number","array"],rule({t:e}){return{type:Al,field:je(),title:e("com.tree.name"),info:"",effect:{fetch:""},$required:!1,props:{props:{label:"label"},showCheckbox:!0,nodeKey:"id",data:wn(e("props.option"),{label:"label",value:"id"},3)}}},props(e,{t:i}){return Le(i,Al+".props",[Bi(i,"props.data","label","id"),{type:"input",field:"emptyText"},{type:"TableOptions",field:"props",props:{column:[{label:i("props.key"),key:"label"},{label:i("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"renderAfterExpand",value:!0},{type:"switch",field:"defaultExpandAll"},{type:"switch",field:"expandOnClickNode",value:!0},{type:"switch",field:"checkOnClickNode"},{type:"switch",field:"autoExpandParent",value:!0},{type:"switch",field:"checkStrictly"},{type:"switch",field:"accordion"},{type:"inputNumber",field:"indent"},{type:"input",field:"nodeKey"}])}},$m="\u63D0\u793A",kl="elAlert",zm={menu:"aide",icon:"icon-alert",label:$m,name:kl,event:["close"],rule({t:e}){return{type:kl,props:{title:e("com.elAlert.name"),description:e("com.elAlert.description"),type:"success",effect:"dark"},children:[]}},props(e,{t:i}){return Le(i,kl+".props",[{type:"input",field:"title"},{type:"select",field:"type",options:[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}]},{type:"input",field:"description"},{type:"switch",field:"closable",value:!0},{type:"switch",field:"center",value:!0},{type:"input",field:"closeText"},{type:"switch",field:"showIcon"},{type:"select",field:"effect",options:[{label:"light",value:"light"},{label:"dark",value:"dark"}]}])}},Hm="\u6587\u5B57",lc="text",jm={menu:"aide",icon:"icon-span",label:Hm,name:lc,rule({t:e}){return{type:"div",title:"",native:!0,style:{whiteSpace:"pre-line",width:"100%"},children:[e("com.text.name")]}},watch:{formCreateNative({value:e,rule:i}){e&&(i.title="")}},props(e,{t:i}){return Le(i,lc+".props",[{type:"input",field:"formCreateChild",props:{type:"textarea"}}])}},Um="\u95F4\u8DDD",sc="space",Wm={menu:"layout",icon:"icon-space",label:Um,name:sc,rule(){return{type:"div",wrap:{show:!1},native:!0,style:{width:"100%",height:"20px"},children:[]}},props(e,{t:i}){return[{type:"object",field:"formCreateStyle",native:!0,props:{rule:Le(i,sc+".props",[{type:"input",field:"height",title:"height"}])}}]}},Km="\u6807\u7B7E\u9875",Cl="elTabs",qm={menu:"layout",icon:"icon-tab",label:Km,name:Cl,mask:!1,event:["tabClick","tabChange","tabRemove","tabAdd","edit"],children:"elTabPane",rule(){return{type:Cl,style:{width:"100%"},children:[]}},props(e,{t:i}){return Le(i,Cl+".props",[{type:"select",field:"type",options:[{label:"card",value:"card"},{label:"border-card",value:"border-card"}]},{type:"switch",field:"closable"},{type:"select",field:"tabPosition",options:vt(i,[{label:"top",value:"top"},{label:"right",value:"right"},{label:"left",value:"left"}])},{type:"switch",field:"stretch"}])}},Gm="\u6309\u94AE",xl="elButton",Ym={menu:"aide",icon:"icon-button",label:Gm,name:xl,mask:!0,event:["click"],rule({t:e}){return{type:xl,props:{},children:[e("com.elButton.name")]}},props(e,{t:i}){return Le(i,xl+".props",[{type:"input",field:"formCreateChild"},{type:"select",field:"size",options:vt(i,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"select",field:"type",options:[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"}]},{type:"switch",field:"plain"},{type:"switch",field:"round"},{type:"switch",field:"circle"},{type:"switch",field:"loading"},{type:"switch",field:"disabled"}])}},Qm="\u5BCC\u6587\u672C\u6846",Sl="fcEditor",Xm={menu:"main",icon:"icon-editor",label:Qm,name:Sl,input:!0,event:["change"],validate:["string"],rule({t:e}){return{type:Sl,field:je(),title:e("com.fcEditor.name"),info:"",$required:!1,props:{}}},props(e,{t:i}){return Le(i,Sl+".props",[{type:"switch",field:"disabled"}])}},Jm="\u5B50\u8868\u5355",uc="group",Zm={menu:"subform",icon:"icon-subform",label:Jm,name:uc,input:!0,inside:!1,drag:!0,dragBtn:!0,mask:!1,event:["change"],subForm:"array",loadRule(e){e.children=e.props.rule||[],e.type="FcRow",delete e.props.rule},parseRule(e){e.props.rule=e.children,e.type="group",delete e.children,delete e.props.mode},rule({t:e}){return{type:"fcRow",field:je(),title:e("com.group.name"),info:"",$required:!1,props:{title:"\u7B2C{index}\u9875"},children:[]}},props(e,{t:i}){return Le(i,uc+".props",[{type:"select",field:"type",options:[{label:i("props.default"),value:"default"},{label:i("props.card"),value:"card"}],control:[{value:"card",rule:["title"]}]},{type:"input",field:"title"},{type:"switch",field:"disabled"},{type:"switch",field:"button",value:!0},{type:"switch",field:"sortBtn",value:!0},{type:"inputNumber",field:"expand"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"},{type:"FnInput",field:"onBeforeRemove",warning:i("com.group.info"),props:{body:!0,button:!0,fnx:!0,args:[An(i)],name:"onBeforeRemove"}}])}},eg="\u5206\u7EC4",cc="subForm",tg={menu:"subform",icon:"icon-group",label:eg,name:cc,inside:!1,drag:!0,dragBtn:!0,mask:!1,input:!0,subForm:"object",event:["change"],loadRule(e){e.children=e.props.rule||[],e.type="FcRow",delete e.props.rule},parseRule(e){e.props.rule=e.children,e.type="subForm",delete e.children},rule({t:e}){return{type:"fcRow",field:je(),title:e("com.subForm.name"),info:"",$required:!1,props:{},children:[]}},props(e,{t:i}){return Le(i,cc+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"syncDisabled",value:!0}])}},ng="\u5361\u7247",El="elCard",ig={menu:"layout",icon:"icon-card",label:ng,name:El,drag:!0,inside:!1,mask:!1,rule({t:e}){return{type:El,props:{header:e("com.elCard.props.header")},style:{width:"100%"},children:[]}},props(e,{t:i}){return Le(i,El+".props",[{type:"input",field:"header"},{type:"select",field:"shadow",value:"always",options:vt(i,[{label:"always",value:"always"},{label:"never",value:"never"},{label:"hover",value:"hover"}])}])}},rg="\u6298\u53E0\u9762\u677F",Tl="elCollapse",og={menu:"layout",icon:"icon-collapse",label:rg,name:Tl,mask:!1,children:"elCollapseItem",event:["change"],rule(){return{type:Tl,props:{},style:{width:"100%"},children:[]}},props(e,{t:i}){return Le(i,Tl+".props",[{type:"switch",field:"accordion"}])}},ag="\u9762\u677F",Nl="elCollapseItem",lg={icon:"icon-cell",label:ag,name:Nl,drag:!0,dragBtn:!1,inside:!0,mask:!1,rule({t:e}){return{type:Nl,props:{title:e("com.elCollapseItem.name")},style:{},children:[]}},props(e,{t:i}){return Le(i,Nl+".props",[{type:"input",field:"title"},{type:"input",field:"name"},{type:"switch",field:"disabled"}])}},sg="\u6811\u5F62\u9009\u62E9",Rl="elTreeSelect",ug={menu:"main",icon:"icon-tree-select",label:sg,name:Rl,input:!0,event:["change","visibleChange","removeTag","clear","blur","focus"],validate:["string","number","array"],rule({t:e}){return{type:Rl,field:je(),title:e("com.elTreeSelect.name"),info:"",effect:{fetch:""},$required:!1,props:{nodeKey:"value",showCheckbox:!0,data:wn(e("props.option"),{label:"label",value:"value"},3)}}},watch:{multiple({rule:e}){e.key=je()}},props(e,{t:i}){return Le(i,Rl+".props",[Bi(i,"props.data","label","value"),{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"collapseTags"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"},{type:"TableOptions",field:"props",props:{column:[{label:i("props.key"),key:"label"},{label:i("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"renderAfterExpand",value:!0},{type:"switch",field:"defaultExpandAll"},{type:"switch",field:"expandOnClickNode",value:!0},{type:"switch",field:"checkOnClickNode"},{type:"input",field:"nodeKey"}])}},cg="\u6807\u7B7E",Bl="elTag",dg={menu:"aide",icon:"icon-tag",label:cg,name:Bl,mask:!0,event:["click","close"],rule({t:e}){return{type:Bl,title:"",native:!0,children:[e("com.elTag.name")]}},watch:{formCreateNative({value:e,rule:i}){e&&(i.title="")}},props(e,{t:i}){return Le(i,Bl+".props",[{type:"input",field:"formCreateChild"},{type:"select",field:"type",options:[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"}]},{type:"select",field:"size",options:vt(i,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"select",field:"effect",options:[{label:"dark",value:"dark"},{label:"light",value:"light"},{label:"plain",value:"plain"}]},{type:"switch",field:"closable"},{type:"switch",field:"disableTransitions"},{type:"switch",field:"hit"},{type:"switch",field:"round"},{type:"ColorInput",field:"color"}])}},fg="HTML",Dl="html",pg={menu:"aide",icon:"icon-html",label:fg,name:Dl,rule(){return{type:Dl,title:"",native:!0,attrs:{innerHTML:""},style:{display:"block",width:"100%"},children:[`<div style="color:blue;">
|
|
123
123
|
html html html html html html html html html
|
|
124
|
-
</div>`]}},watch:{formCreateNative({value:e,rule:i}){e&&(i.title="")}},props(e,{t:i}){return Le(i,Dl+".props",[{type:"HtmlEditor",field:"formCreateChild"}])}},hg="\u8868\u683C\u5E03\u5C40",Ol="fcTable",mg={menu:"layout",icon:"icon-table",label:hg,name:Ol,inside:!1,mask:!1,rule(){return{type:Ol,props:{rule:{row:3,col:4,style:{},class:{},layout:[]}},children:[]}},props(e,{t:i}){return Le(i,Ol+".props",[{type:"switch",field:"border",value:!0},{type:"switch",field:"mini"},{type:"switch",field:"formStyle"},{type:"ColorInput",field:"borderColor"},{type:"input",field:"borderWidth"}])}},gg="\u8868\u683C\u8868\u5355",Vl="tableForm",_g={menu:"subform",icon:"icon-table-form",label:gg,name:Vl,mask:!1,input:!0,subForm:"array",languageKey:["add","operation","dataEmpty"],event:["change","add","delete"],children:"tableFormColumn",loadRule(e){e.props||(e.props={});const i=e.props.columns||[];e.children=i.map(r=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:r.label,align:r.align,required:r.required||!1,hidden:r.hidden||!1,width:r.style.width||"",color:r.style.color||""},children:r.rule||[]})),delete e.props.columns},parseRule(e){const i=e.children||[];e.props.columns=i.map(r=>({label:r.props.label,required:r.props.required,hidden:r.hidden,align:r.props.align,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})),e.children=[]},rule({t:e}){return{type:Vl,field:je(),title:e("com.tableForm.name"),info:"",props:{},children:[]}},props(e,{t:i}){return Le(i,Vl+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"addable",value:!0},{type:"switch",field:"deletable",value:!0},{type:"switch",field:"showIndex",value:!0},{type:"FnInput",field:"beforeRemove",warning:i("com.tableForm.info"),props:{body:!0,button:!0,fnx:!0,args:[An(i)],name:"beforeRemove"}},{type:"switch",field:"filterEmptyColumn",value:!0},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}}])}},Ml="tableFormColumn",vg={icon:"icon-cell",name:Ml,aide:!0,drag:!0,dragBtn:!1,mask:!1,style:!1,rule({t:e}){return{type:Ml,props:{label:e("com.tableFormColumn.label"),width:"auto"},children:[]}},props(e,{t:i}){return Le(i,Ml+".props",[{type:"input",field:"label"},{type:"select",field:"align",options:vt(i,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"switch",field:"required"},{type:"input",field:"width"},{type:"ColorInput",field:"color"}])}},yg="\u56FE\u7247",Il="elImage",bg={menu:"aide",icon:"icon-image",label:yg,name:Il,rule(){return{type:Il,title:"",style:{width:"100px",height:"100px"},props:{src:"https://static.form-create.com/example.png"}}},props(e,{t:i}){return Le(i,Il+".props",[{type:"input",field:"src"}])}},wg="\u624B\u5199\u7B7E\u540D",Ll="signaturePad",Ag={menu:"main",icon:"icon-sign",label:wg,name:Ll,input:!0,mask:!0,languageKey:["signaturePadTip","signaturePadTitle","reset","ok"],event:["change","remove"],rule({t:e}){return{type:Ll,field:je(),title:e("com.signaturePad.name"),info:"",$required:!1,props:{}}},props(e,{t:i}){return Le(i,Ll+".props",[{type:"input",field:"tip"},{type:"input",field:"padTitle"},{type:"ColorInput",field:"penColor"},{type:"switch",field:"disabled"},{type:"FnInput",field:"beforeRemove",warning:i("com.signaturePad.info"),props:{body:!0,button:!0,fnx:!0,args:[An(i)],name:"beforeRemove"}}])}},kg="\u6570\u503C\u8303\u56F4",dc="inputRange",Cg={menu:"main",icon:"icon-number",label:kg,name:dc,input:!0,event:["change"],validate:["array"],rule({t:e}){return{type:"InputRange",field:je(),title:e("com.inputRange.name"),info:"",$required:!1,value:[null,null],props:{separator:"~"}}},props(e,{t:i}){return Le(i,dc+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"},{type:"inputNumber",field:"step",props:{min:0},value:1},{type:"input",field:"separator",value:"~"},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"switch",field:"showInput",value:!0}])}},xg="\u6807\u9898",fc="fcTitle",Sg={menu:"aide",icon:"icon-title",label:xg,name:fc,event:[],rule({t:e}){return{type:"fcTitle",props:{title:e("props.title")}}},props(e,{t:i}){return Le(i,fc+".props",[{type:"input",field:"title"},{type:"select",field:"size",value:"H2",options:[1,2,3,4,5,6].map(r=>({label:"H"+r,value:"h"+r}))},{type:"select",field:"align",options:vt(i,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])}},Eg="\u5B57\u5178\u9009\u62E9",pc="dictSelect",Mo=[nm,rm,am,sm,Cg,{menu:"main",icon:"icon-
|
|
124
|
+
</div>`]}},watch:{formCreateNative({value:e,rule:i}){e&&(i.title="")}},props(e,{t:i}){return Le(i,Dl+".props",[{type:"HtmlEditor",field:"formCreateChild"}])}},hg="\u8868\u683C\u5E03\u5C40",Ol="fcTable",mg={menu:"layout",icon:"icon-table",label:hg,name:Ol,inside:!1,mask:!1,rule(){return{type:Ol,props:{rule:{row:3,col:4,style:{},class:{},layout:[]}},children:[]}},props(e,{t:i}){return Le(i,Ol+".props",[{type:"switch",field:"border",value:!0},{type:"switch",field:"mini"},{type:"switch",field:"formStyle"},{type:"ColorInput",field:"borderColor"},{type:"input",field:"borderWidth"}])}},gg="\u8868\u683C\u8868\u5355",Vl="tableForm",_g={menu:"subform",icon:"icon-table-form",label:gg,name:Vl,mask:!1,input:!0,subForm:"array",languageKey:["add","operation","dataEmpty"],event:["change","add","delete"],children:"tableFormColumn",loadRule(e){e.props||(e.props={});const i=e.props.columns||[];e.children=i.map(r=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:r.label,align:r.align,required:r.required||!1,hidden:r.hidden||!1,width:r.style.width||"",color:r.style.color||""},children:r.rule||[]})),delete e.props.columns},parseRule(e){const i=e.children||[];e.props.columns=i.map(r=>({label:r.props.label,required:r.props.required,hidden:r.hidden,align:r.props.align,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})),e.children=[]},rule({t:e}){return{type:Vl,field:je(),title:e("com.tableForm.name"),info:"",props:{},children:[]}},props(e,{t:i}){return Le(i,Vl+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"addable",value:!0},{type:"switch",field:"deletable",value:!0},{type:"switch",field:"showIndex",value:!0},{type:"FnInput",field:"beforeRemove",warning:i("com.tableForm.info"),props:{body:!0,button:!0,fnx:!0,args:[An(i)],name:"beforeRemove"}},{type:"switch",field:"filterEmptyColumn",value:!0},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}}])}},Ml="tableFormColumn",vg={icon:"icon-cell",name:Ml,aide:!0,drag:!0,dragBtn:!1,mask:!1,style:!1,rule({t:e}){return{type:Ml,props:{label:e("com.tableFormColumn.label"),width:"auto"},children:[]}},props(e,{t:i}){return Le(i,Ml+".props",[{type:"input",field:"label"},{type:"select",field:"align",options:vt(i,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"switch",field:"required"},{type:"input",field:"width"},{type:"ColorInput",field:"color"}])}},yg="\u56FE\u7247",Il="elImage",bg={menu:"aide",icon:"icon-image",label:yg,name:Il,rule(){return{type:Il,title:"",style:{width:"100px",height:"100px"},props:{src:"https://static.form-create.com/example.png"}}},props(e,{t:i}){return Le(i,Il+".props",[{type:"input",field:"src"}])}},wg="\u624B\u5199\u7B7E\u540D",Ll="signaturePad",Ag={menu:"main",icon:"icon-sign",label:wg,name:Ll,input:!0,mask:!0,languageKey:["signaturePadTip","signaturePadTitle","reset","ok"],event:["change","remove"],rule({t:e}){return{type:Ll,field:je(),title:e("com.signaturePad.name"),info:"",$required:!1,props:{}}},props(e,{t:i}){return Le(i,Ll+".props",[{type:"input",field:"tip"},{type:"input",field:"padTitle"},{type:"ColorInput",field:"penColor"},{type:"switch",field:"disabled"},{type:"FnInput",field:"beforeRemove",warning:i("com.signaturePad.info"),props:{body:!0,button:!0,fnx:!0,args:[An(i)],name:"beforeRemove"}}])}},kg="\u6570\u503C\u8303\u56F4",dc="inputRange",Cg={menu:"main",icon:"icon-number",label:kg,name:dc,input:!0,event:["change"],validate:["array"],rule({t:e}){return{type:"InputRange",field:je(),title:e("com.inputRange.name"),info:"",$required:!1,value:[null,null],props:{separator:"~"}}},props(e,{t:i}){return Le(i,dc+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"},{type:"inputNumber",field:"step",props:{min:0},value:1},{type:"input",field:"separator",value:"~"},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"switch",field:"showInput",value:!0}])}},xg="\u6807\u9898",fc="fcTitle",Sg={menu:"aide",icon:"icon-title",label:xg,name:fc,event:[],rule({t:e}){return{type:"fcTitle",props:{title:e("props.title")}}},props(e,{t:i}){return Le(i,fc+".props",[{type:"input",field:"title"},{type:"select",field:"size",value:"H2",options:[1,2,3,4,5,6].map(r=>({label:"H"+r,value:"h"+r}))},{type:"select",field:"align",options:vt(i,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])}},Eg="\u5B57\u5178\u9009\u62E9",pc="dictSelect",Mo=[nm,rm,am,sm,Cg,{menu:"main",icon:"icon-select",label:Eg,name:pc,input:!0,event:["change"],validate:["array"],rule({t:e}){return{type:"DictSelect",field:je(),title:e("com.dictSelect.name"),info:"",$required:!1,value:null,props:{dictCode:"",type:"select",multiple:!1}}},props(e,{t:i}){return Le(i,pc+".props",[{type:"switch",field:"disabled"},{type:"input",field:"dictCode",value:""},{type:"select",field:"type",value:"select",options:[{label:"\u9009\u62E9\u5668",value:"select"},{label:"\u591A\u9009",value:"checkbox"},{label:"\u5355\u9009",value:"radio"}]},{type:"switch",field:"multiple",value:!1}])}},Jh,em,cm,fm,Am,gm,_m,hm,ym,bm,Cm,Om,Mm,Lm,Pm,ug,Xm,Ag,Zm,tg,_g,vg,zm,Ym,jm,Sg,pg,Bm,dg,bg,Sm,mg,qm,Wm,ig,og,Em,Nm,lg];function Tg(e){return{icon:e.field?"icon-input":"icon-cell",label:e.field||e.type,name:"_",mask:!0,handleBtn:["delete"],rule(){return e},props(){return[]}}}/**!
|
|
125
125
|
* Sortable 1.14.0
|
|
126
126
|
* @author RubaXa <trash@rubaxa.org>
|
|
127
127
|
* @author owenm <owen23355@gmail.com>
|
|
@@ -1184,4 +1184,4 @@ ${JSON.stringify({newJson:C.trim().slice(13,-3).trim(),oldJson:Mi.toJson({rule:t
|
|
|
1184
1184
|
top: 0;
|
|
1185
1185
|
left: 0;
|
|
1186
1186
|
}
|
|
1187
|
-
`,""]),r.exports=o},function(r,o,t){var s=t(0),c=s(t(1));(0,c.default)(o,"__esModule",{value:!0});var u=function(){function f(h){var _=this;this.editor=h;var v=function(){var k=document.activeElement;k===h.$textElem.elems[0]&&_.emit()};window.document.addEventListener("selectionchange",v),this.editor.beforeDestroy(function(){window.document.removeEventListener("selectionchange",v)})}return f.prototype.emit=function(){var h,_=this.editor.config.onSelectionChange;if(_){var v=this.editor.selection;v.saveRange(),v.isSelectionEmpty()||_({text:v.getSelectionText(),html:(h=v.getSelectionContainerElem())===null||h===void 0?void 0:h.elems[0].innerHTML,selection:v})}},f}();o.default=u},function(r,o,t){var s=t(0),c=s(t(1)),u=s(t(128)),f=s(t(94)),h=s(t(4));(0,c.default)(o,"__esModule",{value:!0}),o.registerPlugin=void 0;var _=t(2),v=_.__importDefault(t(87)),k=t(6);function x(T,w,y){if(!T)throw new TypeError("name is not define");if(!w)throw new TypeError("options is not define");if(!w.intention)throw new TypeError("options.intention is not define");if(w.intention&&typeof w.intention!="function")throw new TypeError("options.intention is not function");y[T]&&console.warn("plugin "+T+" \u5DF2\u5B58\u5728\uFF0C\u5DF2\u8986\u76D6\u3002"),y[T]=w}o.registerPlugin=x;function A(T){var w=(0,u.default)({},k.deepClone(v.default.globalPluginsFunctionList),k.deepClone(T.pluginsFunctionList)),y=(0,f.default)(w);(0,h.default)(y).call(y,function(b){var C=b[0],S=b[1];console.info("plugin "+C+" initializing");var N=S.intention,B=S.config;N(T,B),console.info("plugin "+C+" initialization complete")})}o.default=A},function(r,o,t){var s=t(0),c=s(t(1));(0,c.default)(o,"__esModule",{value:!0})}]).default})})(Nf);var $k=Nf.exports;const zk=Pk($k),Hk="fcEditor";let jk=1;const Uk=Object.assign||function(e){for(let i,r=1;r<arguments.length;r++)for(let o in i=arguments[r],i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);return e},Wk=a.defineComponent({name:Hk,props:{modelValue:String,init:Function,disabled:Boolean,config:Object},inheritAttrs:!1,emits:["update:modelValue"],data(){return{editor:{},uni:jk++}},watch:{disabled(){this.enable()},modelValue(e){e!==this.editor.txt.html()&&this.editor.txt.html(e||"")}},methods:{enable(){this.disabled?this.editor.disable():this.editor.enable()},result(){this.$emit("update:modelValue",this.editor.txt.html())}},mounted(){this.$nextTick(()=>{this.editor=new zk(`#editor${this.uni}`),this.editor.config.zIndex=2,this.editor.config.focus=!1,this.editor.config.autoFocus=!1,this.config&&Uk(this.editor.config,this.config),this.init&&this.init(this.editor),this.editor.create(),this.enable(),this.editor.txt.html(this.modelValue)})},render(){const e=Fk({},this.$attrs);return delete e.id,a.createVNode("div",a.mergeProps(e,{onInput:this.result,id:`editor${this.uni}`,style:"line-height: normal;"}),null)},beforeDestroy(){this.editor&&this.editor.destroy(),this.editor=null}}),oE="",Kk=a.defineComponent({name:"InputRange",emits:["update:modelValue","change"],props:{modelValue:{type:Array,default:()=>[null,null]},min:Number,max:Number,step:{type:Number,default:1},disabled:Boolean,separator:{type:String,default:"~"},startPlaceholder:String,endPlaceholder:String},computed:{start:{get(){var e,i;return(i=(e=this.modelValue)==null?void 0:e[0])!=null?i:null},set(e){this.update([e,this.end])}},end:{get(){var e,i;return(i=(e=this.modelValue)==null?void 0:e[1])!=null?i:null},set(e){this.update([this.start,e])}}},methods:{update(e){this.$emit("update:modelValue",e),this.$emit("change",e)},emitChange(){this.$emit("change",[this.start,this.end])}}}),qk={class:"_fc-input-range"},Gk={class:"_fc-input-range-sep"};function Yk(e,i,r,o,t,s){var u,f;const c=a.resolveComponent("el-input-number");return a.openBlock(),a.createElementBlock("div",qk,[a.createVNode(c,{modelValue:e.start,"onUpdate:modelValue":i[0]||(i[0]=h=>e.start=h),min:e.min,max:(u=e.end)!=null?u:e.max,step:e.step,disabled:e.disabled,placeholder:e.startPlaceholder,"controls-position":"right",onChange:e.emitChange},null,8,["modelValue","min","max","step","disabled","placeholder","onChange"]),a.createElementVNode("span",Gk,a.toDisplayString(e.separator),1),a.createVNode(c,{modelValue:e.end,"onUpdate:modelValue":i[1]||(i[1]=h=>e.end=h),min:(f=e.start)!=null?f:e.min,max:e.max,step:e.step,disabled:e.disabled,placeholder:e.endPlaceholder,"controls-position":"right",onChange:e.emitChange},null,8,["modelValue","min","max","step","disabled","placeholder","onChange"])])}const Qk=Ve(Kk,[["render",Yk],["__scopeId","data-v-7986bf16"]]),Xk=e=>{var o,t,s,c;const{v:i}=(s=(t=JSON.parse((o=sessionStorage.getItem("dictCache"))!=null?o:"{}"))!=null?t:{})!=null?s:{},r=(c=JSON.parse(i!=null?i:"{}"))!=null?c:{};return console.log(r,"data"),r[e]},Jk=a.defineComponent({name:"DictSelect",emits:["update:modelValue","change"],props:{modelValue:{type:[Array,String,Number],default:null},disabled:{type:Boolean,default:!1},dictCode:String,type:{type:String,default:"select",validator:e=>["select","radio","checkbox"].includes(e)}},computed:{dictOptions(){return Xk(this.dictCode)},value:{get(){
|
|
1187
|
+
`,""]),r.exports=o},function(r,o,t){var s=t(0),c=s(t(1));(0,c.default)(o,"__esModule",{value:!0});var u=function(){function f(h){var _=this;this.editor=h;var v=function(){var k=document.activeElement;k===h.$textElem.elems[0]&&_.emit()};window.document.addEventListener("selectionchange",v),this.editor.beforeDestroy(function(){window.document.removeEventListener("selectionchange",v)})}return f.prototype.emit=function(){var h,_=this.editor.config.onSelectionChange;if(_){var v=this.editor.selection;v.saveRange(),v.isSelectionEmpty()||_({text:v.getSelectionText(),html:(h=v.getSelectionContainerElem())===null||h===void 0?void 0:h.elems[0].innerHTML,selection:v})}},f}();o.default=u},function(r,o,t){var s=t(0),c=s(t(1)),u=s(t(128)),f=s(t(94)),h=s(t(4));(0,c.default)(o,"__esModule",{value:!0}),o.registerPlugin=void 0;var _=t(2),v=_.__importDefault(t(87)),k=t(6);function x(T,w,y){if(!T)throw new TypeError("name is not define");if(!w)throw new TypeError("options is not define");if(!w.intention)throw new TypeError("options.intention is not define");if(w.intention&&typeof w.intention!="function")throw new TypeError("options.intention is not function");y[T]&&console.warn("plugin "+T+" \u5DF2\u5B58\u5728\uFF0C\u5DF2\u8986\u76D6\u3002"),y[T]=w}o.registerPlugin=x;function A(T){var w=(0,u.default)({},k.deepClone(v.default.globalPluginsFunctionList),k.deepClone(T.pluginsFunctionList)),y=(0,f.default)(w);(0,h.default)(y).call(y,function(b){var C=b[0],S=b[1];console.info("plugin "+C+" initializing");var N=S.intention,B=S.config;N(T,B),console.info("plugin "+C+" initialization complete")})}o.default=A},function(r,o,t){var s=t(0),c=s(t(1));(0,c.default)(o,"__esModule",{value:!0})}]).default})})(Nf);var $k=Nf.exports;const zk=Pk($k),Hk="fcEditor";let jk=1;const Uk=Object.assign||function(e){for(let i,r=1;r<arguments.length;r++)for(let o in i=arguments[r],i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);return e},Wk=a.defineComponent({name:Hk,props:{modelValue:String,init:Function,disabled:Boolean,config:Object},inheritAttrs:!1,emits:["update:modelValue"],data(){return{editor:{},uni:jk++}},watch:{disabled(){this.enable()},modelValue(e){e!==this.editor.txt.html()&&this.editor.txt.html(e||"")}},methods:{enable(){this.disabled?this.editor.disable():this.editor.enable()},result(){this.$emit("update:modelValue",this.editor.txt.html())}},mounted(){this.$nextTick(()=>{this.editor=new zk(`#editor${this.uni}`),this.editor.config.zIndex=2,this.editor.config.focus=!1,this.editor.config.autoFocus=!1,this.config&&Uk(this.editor.config,this.config),this.init&&this.init(this.editor),this.editor.create(),this.enable(),this.editor.txt.html(this.modelValue)})},render(){const e=Fk({},this.$attrs);return delete e.id,a.createVNode("div",a.mergeProps(e,{onInput:this.result,id:`editor${this.uni}`,style:"line-height: normal;"}),null)},beforeDestroy(){this.editor&&this.editor.destroy(),this.editor=null}}),oE="",Kk=a.defineComponent({name:"InputRange",emits:["update:modelValue","change"],props:{modelValue:{type:Array,default:()=>[null,null]},min:Number,max:Number,step:{type:Number,default:1},disabled:Boolean,separator:{type:String,default:"~"},startPlaceholder:String,endPlaceholder:String},computed:{start:{get(){var e,i;return(i=(e=this.modelValue)==null?void 0:e[0])!=null?i:null},set(e){this.update([e,this.end])}},end:{get(){var e,i;return(i=(e=this.modelValue)==null?void 0:e[1])!=null?i:null},set(e){this.update([this.start,e])}}},methods:{update(e){this.$emit("update:modelValue",e),this.$emit("change",e)},emitChange(){this.$emit("change",[this.start,this.end])}}}),qk={class:"_fc-input-range"},Gk={class:"_fc-input-range-sep"};function Yk(e,i,r,o,t,s){var u,f;const c=a.resolveComponent("el-input-number");return a.openBlock(),a.createElementBlock("div",qk,[a.createVNode(c,{modelValue:e.start,"onUpdate:modelValue":i[0]||(i[0]=h=>e.start=h),min:e.min,max:(u=e.end)!=null?u:e.max,step:e.step,disabled:e.disabled,placeholder:e.startPlaceholder,"controls-position":"right",onChange:e.emitChange},null,8,["modelValue","min","max","step","disabled","placeholder","onChange"]),a.createElementVNode("span",Gk,a.toDisplayString(e.separator),1),a.createVNode(c,{modelValue:e.end,"onUpdate:modelValue":i[1]||(i[1]=h=>e.end=h),min:(f=e.start)!=null?f:e.min,max:e.max,step:e.step,disabled:e.disabled,placeholder:e.endPlaceholder,"controls-position":"right",onChange:e.emitChange},null,8,["modelValue","min","max","step","disabled","placeholder","onChange"])])}const Qk=Ve(Kk,[["render",Yk],["__scopeId","data-v-7986bf16"]]),Xk=e=>{var o,t,s,c;const{v:i}=(s=(t=JSON.parse((o=sessionStorage.getItem("dictCache"))!=null?o:"{}"))!=null?t:{})!=null?s:{},r=(c=JSON.parse(i!=null?i:"{}"))!=null?c:{};return console.log(r,"data"),r[e]},Jk=a.defineComponent({name:"DictSelect",emits:["update:modelValue","change"],props:{modelValue:{type:[Array,String,Number],default:null},disabled:{type:Boolean,default:!1},dictCode:String,type:{type:String,default:"select",validator:e=>["select","radio","checkbox"].includes(e)},multiple:{type:Boolean,default:!1}},computed:{dictOptions(){return Xk(this.dictCode)},value:{get(){return this.modelValue?this.modelValue:this.type==="checkbox"||this.multiple?[]:""}},set(e){this.update(e)}},methods:{update(e){this.$emit("update:modelValue",e),this.$emit("change",e)}},mounted(){}}),Zk={style:{width:"100%"}};function eC(e,i,r,o,t,s){const c=a.resolveComponent("el-option"),u=a.resolveComponent("el-select"),f=a.resolveComponent("el-radio"),h=a.resolveComponent("el-radio-group"),_=a.resolveComponent("el-checkbox"),v=a.resolveComponent("el-checkbox-group");return a.openBlock(),a.createElementBlock("div",Zk,[e.type==="select"?(a.openBlock(),a.createBlock(u,{key:0,disabled:e.disabled,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=k=>e.value=k),placeholder:"\u8BF7\u9009\u62E9",onChange:e.update,multiple:e.multiple,clearable:""},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.dictOptions,k=>(a.openBlock(),a.createBlock(c,{key:k.value,label:k.label,value:k.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue","onChange","multiple"])):a.createCommentVNode("",!0),e.type==="radio"?(a.openBlock(),a.createBlock(h,{key:1,disabled:e.disabled,modelValue:e.value,"onUpdate:modelValue":i[1]||(i[1]=k=>e.value=k),onChange:e.update},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.dictOptions,k=>(a.openBlock(),a.createBlock(f,{key:k.value,label:k.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(k.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):a.createCommentVNode("",!0),e.type==="checkbox"?(a.openBlock(),a.createBlock(v,{key:2,disabled:e.disabled,modelValue:e.value,"onUpdate:modelValue":i[2]||(i[2]=k=>e.value=k),onChange:e.update},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.dictOptions,k=>(a.openBlock(),a.createBlock(_,{key:k.value,label:k.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(k.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):a.createCommentVNode("",!0)])}const tC=Ve(Jk,[["render",eC]]),aE="",lE="",sE="",mi=(e,i,r)=>{ze.component(e,r||i),Mi.component(e,i)};ze.component("draggable",is),ze.component("DragTool",vf),ze.component("DragBox",bf),ze.component("Validate",_1),ze.component("Struct",Bs),ze.component("OptionTextInput",sw),ze.component("HtmlEditor",gw),ze.component("FetchConfig",Ow),ze.component("FnEditor",Wr),ze.component("FnInput",yf),ze.component("Required",w1),ze.component("TableOptions",wf),ze.component("TreeOptions",I1),ze.component("TableFormColumn",lA),ze.component("EventConfig",Jc),ze.component("ColorInput",zi),ze.component("SizeInput",$i),ze.component("StyleConfig",Vk),ze.component("LanguageInput",Hs),ze.component("ConfigItem",En),ze.component("FieldInput",Lw),ze.component("FnConfig",Kw),ze.component("FcRow",dw),ze.component("ValueInput",js),mi("FcEditor",Wk),mi("FcTitle",nA),mi("SignaturePad",Z1),mi("TableForm",W1,H1),mi("FcTable",i1,e1),mi("InputRange",Qk),mi("DictSelect",tC);const Rf=function(e){e.component("FcDesigner",kt)},Bf=function(e,i){Array.isArray(e)||(e=[e]),i?rs.unshift(...e):rs.push(...e)},Df=function(e,i){Array.isArray(e)||(e=[e]),i?Mo.unshift(...e):Mo.push(...e)};kt.install=Rf,kt.makeOptionsRule=tr,kt.copyTextToClipboard=kn,kt.getInjectArg=An,kt.localeOptions=vt,kt.localeProps=Le,kt.makeRequiredRule=nl,kt.makeTreeOptions=wn,kt.makeTreeOptionsRule=Bi,kt.toJSON=On,kt.formCreate=Mi,kt.designerForm=ze,kt.component=mi,kt.useLocale=Gc,kt.addMenu=Bf,kt.addDragRule=Df,kt.t=os,kt.utils={copyTextToClipboard:kn,getInjectArg:An,localeOptions:vt,localeProps:Le,makeOptionsRule:tr,makeRequiredRule:nl,makeTreeOptions:wn,makeTreeOptionsRule:Bi,toJSON:On};const Of="3.2.24";Kh(Of,Mi.version)===1&&console.warn("Please use FormCreate version "+Of+" or greater, see https://github.com/xaboy/form-create."),kt.version="3.5.0",typeof window<"u"&&(window.FcDesigner=kt),lt.addDragRule=Df,lt.addMenu=Bf,lt.copyTextToClipboard=kn,lt.default=kt,lt.designerForm=ze,lt.formCreate=Mi,lt.getInjectArg=An,lt.install=Rf,lt.localeOptions=vt,lt.localeProps=Le,lt.makeOptionsRule=tr,lt.makeRequiredRule=nl,lt.makeTreeOptions=wn,lt.makeTreeOptionsRule=Bi,lt.toJSON=On,Object.defineProperties(lt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div style="width: 100%;">
|
|
3
|
-
<el-select :disabled="disabled" v-model="value" placeholder="请选择" v-if="type === 'select'" @change="update">
|
|
3
|
+
<el-select :disabled="disabled" v-model="value" placeholder="请选择" v-if="type === 'select'" @change="update" :multiple="multiple" clearable >
|
|
4
4
|
<el-option v-for="item in dictOptions" :key="item.value" :label="item.label"
|
|
5
5
|
:value="item.value"></el-option>
|
|
6
6
|
</el-select>
|
|
@@ -35,7 +35,11 @@ export default defineComponent({
|
|
|
35
35
|
validator: (value) => {
|
|
36
36
|
return ['select', 'radio', 'checkbox'].includes(value);
|
|
37
37
|
},
|
|
38
|
-
}
|
|
38
|
+
},
|
|
39
|
+
multiple: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: false,
|
|
42
|
+
},
|
|
39
43
|
},
|
|
40
44
|
|
|
41
45
|
computed: {
|
|
@@ -44,11 +48,21 @@ export default defineComponent({
|
|
|
44
48
|
},
|
|
45
49
|
value: {
|
|
46
50
|
get() {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
+
if (!this.modelValue ) {
|
|
52
|
+
if (this.type === 'checkbox' || this.multiple) {
|
|
53
|
+
return []
|
|
54
|
+
} else {
|
|
55
|
+
return ''
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}else{
|
|
59
|
+
return this.modelValue
|
|
60
|
+
}
|
|
61
|
+
|
|
51
62
|
}
|
|
63
|
+
},
|
|
64
|
+
set(val) {
|
|
65
|
+
this.update(val)
|
|
52
66
|
}
|
|
53
67
|
},
|
|
54
68
|
methods: {
|
|
@@ -6,7 +6,7 @@ const name = 'dictSelect';
|
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
8
|
menu: 'main',
|
|
9
|
-
icon: 'icon-
|
|
9
|
+
icon: 'icon-select',
|
|
10
10
|
label,
|
|
11
11
|
name,
|
|
12
12
|
input: true,
|
|
@@ -23,6 +23,7 @@ export default {
|
|
|
23
23
|
props: {
|
|
24
24
|
dictCode: '',
|
|
25
25
|
type: 'select',
|
|
26
|
+
multiple: false,
|
|
26
27
|
},
|
|
27
28
|
};
|
|
28
29
|
},
|
|
@@ -35,6 +36,7 @@ export default {
|
|
|
35
36
|
{label: '多选', value: 'checkbox'},
|
|
36
37
|
{label: '单选', value: 'radio'},
|
|
37
38
|
]},
|
|
39
|
+
{type: 'switch', field: 'multiple', value: false},
|
|
38
40
|
]);
|
|
39
41
|
},
|
|
40
42
|
};
|
package/src/locale/en.js
CHANGED
package/src/locale/zh-cn.js
CHANGED
|
@@ -668,7 +668,7 @@ const ZhCn = {
|
|
|
668
668
|
name: '栅格布局',
|
|
669
669
|
props: {
|
|
670
670
|
gutter: '栅格间隔',
|
|
671
|
-
type: 'flex布局模式',
|
|
671
|
+
type: 'flex布局模式',
|
|
672
672
|
justify: 'flex布局下的水平排列方式',
|
|
673
673
|
align: 'flex布局下的垂直排列方式'
|
|
674
674
|
}
|
|
@@ -769,6 +769,7 @@ const ZhCn = {
|
|
|
769
769
|
disabled: '是否禁用',
|
|
770
770
|
dictCode: '字典编码',
|
|
771
771
|
type: '类型',
|
|
772
|
+
multiple: '是否多选(多选时,类型为选择器)',
|
|
772
773
|
}
|
|
773
774
|
},
|
|
774
775
|
password: {
|