form-custom-test 3.0.63 → 3.0.65
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/designer.es.js +21 -12
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +3 -3
- package/dist/render.es.js +21 -12
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +3 -3
- package/package.json +1 -1
package/dist/render.umd.js
CHANGED
|
@@ -30,7 +30,7 @@ __p += '`),Ne&&(he+=`' +
|
|
|
30
30
|
function print() { __p += __j.call(arguments, '') }
|
|
31
31
|
`:`;
|
|
32
32
|
`)+he+`return __p
|
|
33
|
-
}`;var De=Fa(function(){return Pe(Z,xe+"return "+he).apply(e,J)});if(De.source=he,Xr(De))throw De;return De}function hp(l){return We(l).toLowerCase()}function fp(l){return We(l).toUpperCase()}function pp(l,y,O){if(l=We(l),l&&(O||y===e))return Vo(l);if(!l||!(y=yt(y)))return l;var W=Dt(l),q=Dt(y),Z=Ho(W,q),J=jo(W,q)+1;return rn(W,Z,J).join("")}function gp(l,y,O){if(l=We(l),l&&(O||y===e))return l.slice(0,Go(l)+1);if(!l||!(y=yt(y)))return l;var W=Dt(l),q=jo(W,Dt(y))+1;return rn(W,0,q).join("")}function mp(l,y,O){if(l=We(l),l&&(O||y===e))return l.replace(_t,"");if(!l||!(y=yt(y)))return l;var W=Dt(l),q=Ho(W,Dt(y));return rn(W,q).join("")}function vp(l,y){var O=E,W=F;if(Ke(y)){var q="separator"in y?y.separator:q;O="length"in y?Te(y.length):O,W="omission"in y?yt(y.omission):W}l=We(l);var Z=l.length;if(wn(l)){var J=Dt(l);Z=J.length}if(O>=Z)return l;var ee=O-xn(W);if(ee<1)return W;var ie=J?rn(J,0,ee).join(""):l.slice(0,ee);if(q===e)return ie+W;if(J&&(ee+=ie.length-ee),Jr(q)){if(l.slice(ee).search(q)){var ce,de=ie;for(q.global||(q=gr(q.source,We(uo.exec(q))+"g")),q.lastIndex=0;ce=q.exec(de);)var he=ce.index;ie=ie.slice(0,he===e?ee:he)}}else if(l.indexOf(yt(q),ee)!=ee){var ye=ie.lastIndexOf(q);ye>-1&&(ie=ie.slice(0,ye))}return ie+W}function yp(l){return l=We(l),l&&qi.test(l)?l.replace(Jn,Gl):l}var bp=Mn(function(l,y,O){return l+(O?" ":"")+y.toUpperCase()}),no=Rs("toUpperCase");function Ia(l,y,O){return l=We(l),y=O?e:y,y===e?Wl(l)?Yl(l):Il(l):l.match(y)||[]}var Fa=Ie(function(l,y){try{return mt(l,e,y)}catch(O){return Xr(O)?O:new Me(O)}}),wp=jt(function(l,y){return At(y,function(O){O=$t(O),Vt(l,O,Zr(l[O],l))}),l});function xp(l){var y=l==null?0:l.length,O=Ce();return l=y?qe(l,function(W){if(typeof W[1]!="function")throw new Et(S);return[O(W[0]),W[1]]}):[],Ie(function(W){for(var q=-1;++q<y;){var Z=l[q];if(mt(Z[0],this,W))return mt(Z[1],this,W)}})}function _p(l){return Gu(kt(l,o))}function io(l){return function(){return l}}function Cp(l,y){return l==null||l!==l?y:l}var Ap=Ns(),Ep=Ns(!0);function gt(l){return l}function ro(l){return hs(typeof l=="function"?l:kt(l,o))}function Sp(l){return ps(kt(l,o))}function kp(l,y){return gs(l,kt(y,o))}var Mp=Ie(function(l,y){return function(O){return jn(O,l,y)}}),Lp=Ie(function(l,y){return function(O){return jn(l,O,y)}});function oo(l,y,O){var W=it(y),q=Si(y,W);O==null&&!(Ke(y)&&(q.length||!W.length))&&(O=y,y=l,l=this,q=Si(y,it(y)));var Z=!(Ke(O)&&"chain"in O)||!!O.chain,J=Gt(l);return At(q,function(ee){var ie=y[ee];l[ee]=ie,J&&(l.prototype[ee]=function(){var ce=this.__chain__;if(Z||ce){var de=l(this.__wrapped__),he=de.__actions__=ht(this.__actions__);return he.push({func:ie,args:arguments,thisArg:l}),de.__chain__=ce,de}return ie.apply(l,Qt([this.value()],arguments))})}),l}function Tp(){return rt._===this&&(rt._=tu),this}function so(){}function Dp(l){return l=Te(l),Ie(function(y){return ms(y,l)})}var Ip=Br(qe),Fp=Br(Bo),Rp=Br(lr);function Ra(l){return jr(l)?ur($t(l)):uc(l)}function Op(l){return function(y){return l==null?e:dn(l,y)}}var Np=$s(),Bp=$s(!0);function ao(){return[]}function lo(){return!1}function $p(){return{}}function Pp(){return""}function zp(){return!0}function Wp(l,y){if(l=Te(l),l<1||l>$)return[];var O=B,W=st(l,B);y=Ce(y),l-=B;for(var q=hr(W,y);++O<l;)y(O);return q}function Vp(l){return Le(l)?qe(l,$t):bt(l)?[l]:ht(ea(We(l)))}function Hp(l){var y=++Jl;return We(l)+y}var jp=Ii(function(l,y){return l+y},0),Up=$r("ceil"),Gp=Ii(function(l,y){return l/y},1),qp=$r("floor");function Kp(l){return l&&l.length?Ei(l,gt,Cr):e}function Yp(l,y){return l&&l.length?Ei(l,Ce(y,2),Cr):e}function Zp(l){return zo(l,gt)}function Qp(l,y){return zo(l,Ce(y,2))}function Xp(l){return l&&l.length?Ei(l,gt,kr):e}function Jp(l,y){return l&&l.length?Ei(l,Ce(y,2),kr):e}var e0=Ii(function(l,y){return l*y},1),t0=$r("round"),n0=Ii(function(l,y){return l-y},0);function i0(l){return l&&l.length?dr(l,gt):0}function r0(l,y){return l&&l.length?dr(l,Ce(y,2)):0}return Y.after=Eh,Y.ary=da,Y.assign=ff,Y.assignIn=Ea,Y.assignInWith=Ui,Y.assignWith=pf,Y.at=gf,Y.before=ha,Y.bind=Zr,Y.bindAll=wp,Y.bindKey=fa,Y.castArray=Bh,Y.chain=la,Y.chunk=Gc,Y.compact=qc,Y.concat=Kc,Y.cond=xp,Y.conforms=_p,Y.constant=io,Y.countBy=nh,Y.create=mf,Y.curry=pa,Y.curryRight=ga,Y.debounce=ma,Y.defaults=vf,Y.defaultsDeep=yf,Y.defer=Sh,Y.delay=kh,Y.difference=Yc,Y.differenceBy=Zc,Y.differenceWith=Qc,Y.drop=Xc,Y.dropRight=Jc,Y.dropRightWhile=ed,Y.dropWhile=td,Y.fill=nd,Y.filter=rh,Y.flatMap=ah,Y.flatMapDeep=lh,Y.flatMapDepth=uh,Y.flatten=ra,Y.flattenDeep=id,Y.flattenDepth=rd,Y.flip=Mh,Y.flow=Ap,Y.flowRight=Ep,Y.fromPairs=od,Y.functions=Ef,Y.functionsIn=Sf,Y.groupBy=ch,Y.initial=ad,Y.intersection=ld,Y.intersectionBy=ud,Y.intersectionWith=cd,Y.invert=Mf,Y.invertBy=Lf,Y.invokeMap=hh,Y.iteratee=ro,Y.keyBy=fh,Y.keys=it,Y.keysIn=pt,Y.map=Pi,Y.mapKeys=Df,Y.mapValues=If,Y.matches=Sp,Y.matchesProperty=kp,Y.memoize=Wi,Y.merge=Ff,Y.mergeWith=Sa,Y.method=Mp,Y.methodOf=Lp,Y.mixin=oo,Y.negate=Vi,Y.nthArg=Dp,Y.omit=Rf,Y.omitBy=Of,Y.once=Lh,Y.orderBy=ph,Y.over=Ip,Y.overArgs=Th,Y.overEvery=Fp,Y.overSome=Rp,Y.partial=Qr,Y.partialRight=va,Y.partition=gh,Y.pick=Nf,Y.pickBy=ka,Y.property=Ra,Y.propertyOf=Op,Y.pull=pd,Y.pullAll=sa,Y.pullAllBy=gd,Y.pullAllWith=md,Y.pullAt=vd,Y.range=Np,Y.rangeRight=Bp,Y.rearg=Dh,Y.reject=yh,Y.remove=yd,Y.rest=Ih,Y.reverse=Kr,Y.sampleSize=wh,Y.set=$f,Y.setWith=Pf,Y.shuffle=xh,Y.slice=bd,Y.sortBy=Ah,Y.sortedUniq=Sd,Y.sortedUniqBy=kd,Y.split=lp,Y.spread=Fh,Y.tail=Md,Y.take=Ld,Y.takeRight=Td,Y.takeRightWhile=Dd,Y.takeWhile=Id,Y.tap=qd,Y.throttle=Rh,Y.thru=$i,Y.toArray=_a,Y.toPairs=Ma,Y.toPairsIn=La,Y.toPath=Vp,Y.toPlainObject=Aa,Y.transform=zf,Y.unary=Oh,Y.union=Fd,Y.unionBy=Rd,Y.unionWith=Od,Y.uniq=Nd,Y.uniqBy=Bd,Y.uniqWith=$d,Y.unset=Wf,Y.unzip=Yr,Y.unzipWith=aa,Y.update=Vf,Y.updateWith=Hf,Y.values=Dn,Y.valuesIn=jf,Y.without=Pd,Y.words=Ia,Y.wrap=Nh,Y.xor=zd,Y.xorBy=Wd,Y.xorWith=Vd,Y.zip=Hd,Y.zipObject=jd,Y.zipObjectDeep=Ud,Y.zipWith=Gd,Y.entries=Ma,Y.entriesIn=La,Y.extend=Ea,Y.extendWith=Ui,oo(Y,Y),Y.add=jp,Y.attempt=Fa,Y.camelCase=Kf,Y.capitalize=Ta,Y.ceil=Up,Y.clamp=Uf,Y.clone=$h,Y.cloneDeep=zh,Y.cloneDeepWith=Wh,Y.cloneWith=Ph,Y.conformsTo=Vh,Y.deburr=Da,Y.defaultTo=Cp,Y.divide=Gp,Y.endsWith=Yf,Y.eq=Ft,Y.escape=Zf,Y.escapeRegExp=Qf,Y.every=ih,Y.find=oh,Y.findIndex=na,Y.findKey=bf,Y.findLast=sh,Y.findLastIndex=ia,Y.findLastKey=wf,Y.floor=qp,Y.forEach=ua,Y.forEachRight=ca,Y.forIn=xf,Y.forInRight=_f,Y.forOwn=Cf,Y.forOwnRight=Af,Y.get=eo,Y.gt=Hh,Y.gte=jh,Y.has=kf,Y.hasIn=to,Y.head=oa,Y.identity=gt,Y.includes=dh,Y.indexOf=sd,Y.inRange=Gf,Y.invoke=Tf,Y.isArguments=pn,Y.isArray=Le,Y.isArrayBuffer=Uh,Y.isArrayLike=ft,Y.isArrayLikeObject=Xe,Y.isBoolean=Gh,Y.isBuffer=on,Y.isDate=qh,Y.isElement=Kh,Y.isEmpty=Yh,Y.isEqual=Zh,Y.isEqualWith=Qh,Y.isError=Xr,Y.isFinite=Xh,Y.isFunction=Gt,Y.isInteger=ya,Y.isLength=Hi,Y.isMap=ba,Y.isMatch=Jh,Y.isMatchWith=ef,Y.isNaN=tf,Y.isNative=nf,Y.isNil=of,Y.isNull=rf,Y.isNumber=wa,Y.isObject=Ke,Y.isObjectLike=Ye,Y.isPlainObject=Zn,Y.isRegExp=Jr,Y.isSafeInteger=sf,Y.isSet=xa,Y.isString=ji,Y.isSymbol=bt,Y.isTypedArray=Tn,Y.isUndefined=af,Y.isWeakMap=lf,Y.isWeakSet=uf,Y.join=dd,Y.kebabCase=Xf,Y.last=Lt,Y.lastIndexOf=hd,Y.lowerCase=Jf,Y.lowerFirst=ep,Y.lt=cf,Y.lte=df,Y.max=Kp,Y.maxBy=Yp,Y.mean=Zp,Y.meanBy=Qp,Y.min=Xp,Y.minBy=Jp,Y.stubArray=ao,Y.stubFalse=lo,Y.stubObject=$p,Y.stubString=Pp,Y.stubTrue=zp,Y.multiply=e0,Y.nth=fd,Y.noConflict=Tp,Y.noop=so,Y.now=zi,Y.pad=tp,Y.padEnd=np,Y.padStart=ip,Y.parseInt=rp,Y.random=qf,Y.reduce=mh,Y.reduceRight=vh,Y.repeat=op,Y.replace=sp,Y.result=Bf,Y.round=t0,Y.runInContext=ne,Y.sample=bh,Y.size=_h,Y.snakeCase=ap,Y.some=Ch,Y.sortedIndex=wd,Y.sortedIndexBy=xd,Y.sortedIndexOf=_d,Y.sortedLastIndex=Cd,Y.sortedLastIndexBy=Ad,Y.sortedLastIndexOf=Ed,Y.startCase=up,Y.startsWith=cp,Y.subtract=n0,Y.sum=i0,Y.sumBy=r0,Y.template=dp,Y.times=Wp,Y.toFinite=qt,Y.toInteger=Te,Y.toLength=Ca,Y.toLower=hp,Y.toNumber=Tt,Y.toSafeInteger=hf,Y.toString=We,Y.toUpper=fp,Y.trim=pp,Y.trimEnd=gp,Y.trimStart=mp,Y.truncate=vp,Y.unescape=yp,Y.uniqueId=Hp,Y.upperCase=bp,Y.upperFirst=no,Y.each=ua,Y.eachRight=ca,Y.first=oa,oo(Y,function(){var l={};return Nt(Y,function(y,O){ze.call(Y.prototype,O)||(l[O]=y)}),l}(),{chain:!1}),Y.VERSION=g,At(["bind","bindKey","curry","curryRight","partial","partialRight"],function(l){Y[l].placeholder=Y}),At(["drop","take"],function(l,y){Oe.prototype[l]=function(O){O=O===e?1:nt(Te(O),0);var W=this.__filtered__&&!y?new Oe(this):this.clone();return W.__filtered__?W.__takeCount__=st(O,W.__takeCount__):W.__views__.push({size:st(O,B),type:l+(W.__dir__<0?"Right":"")}),W},Oe.prototype[l+"Right"]=function(O){return this.reverse()[l](O).reverse()}}),At(["filter","map","takeWhile"],function(l,y){var O=y+1,W=O==k||O==R;Oe.prototype[l]=function(q){var Z=this.clone();return Z.__iteratees__.push({iteratee:Ce(q,3),type:O}),Z.__filtered__=Z.__filtered__||W,Z}}),At(["head","last"],function(l,y){var O="take"+(y?"Right":"");Oe.prototype[l]=function(){return this[O](1).value()[0]}}),At(["initial","tail"],function(l,y){var O="drop"+(y?"":"Right");Oe.prototype[l]=function(){return this.__filtered__?new Oe(this):this[O](1)}}),Oe.prototype.compact=function(){return this.filter(gt)},Oe.prototype.find=function(l){return this.filter(l).head()},Oe.prototype.findLast=function(l){return this.reverse().find(l)},Oe.prototype.invokeMap=Ie(function(l,y){return typeof l=="function"?new Oe(this):this.map(function(O){return jn(O,l,y)})}),Oe.prototype.reject=function(l){return this.filter(Vi(Ce(l)))},Oe.prototype.slice=function(l,y){l=Te(l);var O=this;return O.__filtered__&&(l>0||y<0)?new Oe(O):(l<0?O=O.takeRight(-l):l&&(O=O.drop(l)),y!==e&&(y=Te(y),O=y<0?O.dropRight(-y):O.take(y-l)),O)},Oe.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},Oe.prototype.toArray=function(){return this.take(B)},Nt(Oe.prototype,function(l,y){var O=/^(?:filter|find|map|reject)|While$/.test(y),W=/^(?:head|last)$/.test(y),q=Y[W?"take"+(y=="last"?"Right":""):y],Z=W||/^find/.test(y);!q||(Y.prototype[y]=function(){var J=this.__wrapped__,ee=W?[1]:arguments,ie=J instanceof Oe,ce=ee[0],de=ie||Le(J),he=function(Re){var Ne=q.apply(Y,Qt([Re],ee));return W&&ye?Ne[0]:Ne};de&&O&&typeof ce=="function"&&ce.length!=1&&(ie=de=!1);var ye=this.__chain__,xe=!!this.__actions__.length,Ae=Z&&!ye,De=ie&&!xe;if(!Z&&de){J=De?J:new Oe(this);var Ee=l.apply(J,ee);return Ee.__actions__.push({func:$i,args:[he],thisArg:e}),new St(Ee,ye)}return Ae&&De?l.apply(this,ee):(Ee=this.thru(he),Ae?W?Ee.value()[0]:Ee.value():Ee)})}),At(["pop","push","shift","sort","splice","unshift"],function(l){var y=ci[l],O=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",W=/^(?:pop|shift)$/.test(l);Y.prototype[l]=function(){var q=arguments;if(W&&!this.__chain__){var Z=this.value();return y.apply(Le(Z)?Z:[],q)}return this[O](function(J){return y.apply(Le(J)?J:[],q)})}}),Nt(Oe.prototype,function(l,y){var O=Y[y];if(O){var W=O.name+"";ze.call(En,W)||(En[W]=[]),En[W].push({name:y,func:O})}}),En[Di(e,d).name]=[{name:"wrapper",func:e}],Oe.prototype.clone=vu,Oe.prototype.reverse=yu,Oe.prototype.value=bu,Y.prototype.at=Kd,Y.prototype.chain=Yd,Y.prototype.commit=Zd,Y.prototype.next=Qd,Y.prototype.plant=Jd,Y.prototype.reverse=eh,Y.prototype.toJSON=Y.prototype.valueOf=Y.prototype.value=th,Y.prototype.first=Y.prototype.head,Bn&&(Y.prototype[Bn]=Xd),Y},_n=Zl();sn?((sn.exports=_n)._=_n,rr._=_n):rt._=_n}).call(commonjsGlobal)})(lodash,lodash.exports);var fieldMixin={inject:["refList","sfRefList","getFormConfig","getGlobalDsv","globalOptionData","globalModel","getOptionData"],props:{subFormDisabled:{type:Boolean,default:!1}},computed:{formConfig(){return this.getFormConfig()},widgetSize(){return this.field.options.size||"default"},subFormName(){return this.parentWidget?this.parentWidget.options.name:""},subFormItemFlag(){return this.parentWidget?this.parentWidget.type==="sub-form"||this.parentWidget.type==="custom-sub-form":!1},formModel:{cache:!1,get(){return this.globalModel.formModel}}},methods:{getDisabled(){return this.subFormDisabled===!0||!!this.field&&!!this.field.options&&!!this.field.options.disabled},getPropName(){return this.subFormItemFlag&&!this.designState?this.subFormName+"."+this.subFormRowIndex+"."+this.field.options.name+"":this.field.options.name},initFieldModel(){if(!!this.field.formItemFlag){if(!!this.subFormItemFlag&&!this.designState){let h=this.formModel[this.subFormName];h||(this.formModel[this.subFormName]=[],h=this.formModel[this.subFormName]),h[this.subFormRowIndex]||(h[this.subFormRowIndex]={}),h[this.subFormRowIndex][this.field.options.name]===void 0&&this.field.options.defaultValue!==void 0?(this.fieldModel=this.field.options.defaultValue,h[this.subFormRowIndex][this.field.options.name]=this.field.options.defaultValue):h[this.subFormRowIndex][this.field.options.name]===void 0?(this.fieldModel=null,h[this.subFormRowIndex][this.field.options.name]=null):this.fieldModel=h[this.subFormRowIndex][this.field.options.name],setTimeout(()=>{this.handleOnChangeForSubForm(this.fieldModel,this.oldFieldValue,h,this.subFormRowId,this.subFormRowIndex)},800),this.oldFieldValue=deepClone(this.fieldModel),this.initFileList();return}this.formModel[this.field.options.name]===void 0&&this.field.options.defaultValue!==void 0?this.fieldModel=this.field.options.defaultValue:this.formModel[this.field.options.name]===void 0?this.formModel[this.field.options.name]=null:this.fieldModel=this.formModel[this.field.options.name],this.oldFieldValue=deepClone(this.fieldModel),this.initFileList()}},initFileList(){this.field.type!=="picture-upload"&&this.field.type!=="file-upload"||this.designState===!0||this.fieldModel&&(Array.isArray(this.fieldModel)?this.fileList=deepClone(this.fieldModel):this.fileList.splice(0,0,deepClone(this.fieldModel)))},initEventHandler(){this.on$("setFormData",h=>{this.subFormItemFlag||this.setValue(h[this.field.options.name])}),this.on$("field-value-changed",h=>{if(this.subFormItemFlag){let _=this.formModel[this.subFormName];this.handleOnChangeForSubForm(h[0],h[1],_,this.subFormRowId,this.subFormRowIndex)}else this.handleOnChange(h[0],h[1])}),this.on$("reloadOptionItems",h=>{(h.length===0||h.indexOf(this.field.options.name)>-1)&&this.initOptionItems(!0)})},handleOnCreated(){this.field.options.onCreated&&new Function(this.field.options.onCreated).call(this)},handleOnMounted(){this.field.options.onMounted&&new Function(this.field.options.onMounted).call(this)},registerToRefList(h){this.refList!==null&&!!this.field.options.name&&(this.subFormItemFlag&&!this.designState?(h&&delete this.refList[h+"@row"+this.subFormRowId],this.refList[this.field.options.name+"@row"+this.subFormRowId]=this):(h&&delete this.refList[h],this.refList[this.field.options.name]=this))},unregisterFromRefList(){if(this.refList!==null&&!!this.field.options.name){let h=this.field.options.name;this.subFormItemFlag&&!this.designState?delete this.refList[h+"@row"+this.subFormRowId]:delete this.refList[h]}},initOptionItems(h){if(!this.designState&&(this.field.type==="radio"||this.field.type==="checkbox"||this.field.type==="select"||this.field.type==="cascader")){const _=this.getOptionData();!!_&&_.hasOwnProperty(this.field.options.name)&&(h?this.reloadOptions(_[this.field.options.name]):this.loadOptions(_[this.field.options.name]))}},refreshDefaultValue(){this.designState===!0&&this.field.options.defaultValue!==void 0&&(this.fieldModel=this.field.options.defaultValue)},clearFieldRules(){!this.field.formItemFlag||this.rules.splice(0,this.rules.length)},buildFieldRules(){if(!(!this.field.formItemFlag&&this.field.options.hidden)){if(this.rules.splice(0,this.rules.length),this.field.options.required&&this.rules.push({required:!0,trigger:["blur"],message:this.field.options.requiredHint||this.i18nt("render.hint.fieldRequired")}),this.field.options.validation){let h=this.field.options.validation;FormValidators[h]?this.rules.push({validator:FormValidators[h],trigger:["blur","change"],label:this.field.options.label,errorMsg:this.field.options.validationHint}):this.rules.push({validator:FormValidators.regExp,trigger:["blur","change"],regExp:h,label:this.field.options.label,errorMsg:this.field.options.validationHint})}if(this.field.options.onValidate){let h=(_,e,g)=>new Function("rule","value","callback",this.field.options.onValidate).call(this,_,e,g);this.rules.push({validator:h,trigger:["blur","change"],label:this.field.options.label})}}},disableChangeValidate(){!this.rules||this.rules.forEach(h=>{h.trigger&&h.trigger.splice(0,h.trigger.length)})},enableChangeValidate(){!this.rules||this.rules.forEach(h=>{h.trigger&&(h.trigger.push("blur"),h.trigger.push("change"))})},disableOptionOfList(h,_){!!h&&h.length>0&&h.forEach(e=>{e.value===_&&(e.disabled=!0)})},enableOptionOfList(h,_){!!h&&h.length>0&&h.forEach(e=>{e.value===_&&(e.disabled=!1)})},emitFieldDataChange(h,_){this.emit$("field-value-changed",[h,_]),this.dispatch("VFormRender","fieldChange",[this.field.options.name,h,_,this.subFormName,this.subFormRowIndex])},syncUpdateFormModel(h){if(!this.designState)if(this.subFormItemFlag){let e=(this.formModel[this.subFormName]||[{}])[this.subFormRowIndex];e&&(e[this.field.options.name]=h)}else this.formModel[this.field.options.name]=h},handleChangeEvent(h){this.syncUpdateFormModel(h),this.emitFieldDataChange(h,this.oldFieldValue),this.oldFieldValue=deepClone(h),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFocusCustomEvent(h){this.oldFieldValue=deepClone(this.fieldModel),this.field.options.onFocus&&new Function("event",this.field.options.onFocus).call(this,h)},handleBlurCustomEvent(h){this.field.options.onBlur&&new Function("event",this.field.options.onBlur).call(this,h)},handleInputCustomEvent(h){this.syncUpdateFormModel(h),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.field.options.onInput&&new Function("value",this.field.options.onInput).call(this,h)},emitAppendButtonClick(){this.designState||(this.field.options.onAppendButtonClick?new Function(this.field.options.onAppendButtonClick).call(this):this.dispatch("VFormRender","appendButtonClick",[this]))},handleOnChange(h,_){this.field.options.onChange&&new Function("value","oldValue",this.field.options.onChange).call(this,h,_)},handleOnChangeForSubForm(h,_,e,g,M){this.field.options.onChange&&new Function("value","oldValue","subFormData","rowId","sfrIdx",this.field.options.onChange).call(this,h,_,e,g,M)},handleButtonWidgetClick(){this.designState||(this.field.options.onClick?new Function(this.field.options.onClick).call(this):this.dispatch("VFormRender","buttonClick",[this]))},remoteQuery(h){this.field.options.onRemoteQuery&&new Function("keyword",this.field.options.onRemoteQuery).call(this,h)},getFormRef(){return this.refList.v_form_ref},findColByName(h){const _=this.getFormRef();return _&&typeof _.findColByName=="function"?_.findColByName(null,h):null},setColHidden(h,_){const e=!!_;if(Array.isArray(h)){let M=!1;return h.forEach(x=>{const S=this.findColByName(x);S&&S.options&&(S.options.hidden=hiddenVa,M=!0)}),M}const g=this.findColByName(h);return!g||!g.options?!1:(g.options.hidden=e,!0)},getWidgetRef(h,_,e){let g=null;if(this.subFormItemFlag&&!this.designState){let M=e!=null?e:this.subFormRowId;if(M){let x=h+"@row"+M;g=this.refList[x]}}return!g&&(!this.subFormItemFlag||this.designState)&&(g=this.refList[h]),!g&&!!_&&this.$message.error(this.i18nt("render.hint.refNotFound")+h),g},getFieldEditor(){return this.$refs.fieldEditor},setValue(h){if(this.field.formItemFlag){let _=deepClone(this.fieldModel);this.fieldModel=h,this.initFileList(),this.syncUpdateFormModel(h),this.emitFieldDataChange(h,_)}},getValue(){return this.fieldModel},resetField(){let h=this.field.options.defaultValue;this.setValue(h),this.$nextTick(()=>{}),(this.field.type==="picture-upload"||this.field.type==="file-upload")&&(this.$refs.fieldEditor.clearFiles(),this.fileList.splice(0,this.fileList.length))},setWidgetOption(h,_){this.field.options.hasOwnProperty(h)&&(this.field.options[h]=_)},setReadonly(h){this.field.options.readonly=h},setDisabled(h){this.field.options.disabled=h},setAppendButtonVisible(h){this.field.options.appendButton=h},setAppendButtonDisabled(h){this.field.options.appendButtonDisabled=h},setHidden(h){this.field.options.hidden=h,h?this.clearFieldRules():this.buildFieldRules()},setRequired(h){this.field.options.required=h,this.buildFieldRules()},setLabel(h){this.field.options.label=h},focus(){!!this.getFieldEditor()&&!!this.getFieldEditor().focus&&this.getFieldEditor().focus()},clearSelectedOptions(){this.field.type!=="checkbox"&&this.field.type!=="radio"&&this.field.type!=="select"&&this.field.type!=="select-tree"||(this.field.type==="checkbox"||this.field.type==="select"&&this.field.options.multiple||this.field.type==="select-tree"&&this.field.options.multiple?this.fieldModel=[]:this.fieldModel="")},loadOptions(h,_){if(_)if(_.subFormRowId){const e=this.refList[_.field.options.name+"@row"+_.subFormRowId];if(e&&e.field){const g=JSON.parse(JSON.stringify(h||[]));e.field.options===_.field.options&&(e.field.options=JSON.parse(JSON.stringify(e.field.options||{}))),e.field.options.optionItems=g}else console.error("\u5B50\u8868\u5355\u9009\u9879\u6570\u636E\u8BBE\u7F6E\u5931\u8D25: \u672A\u627E\u5230\u5B57\u6BB5\u5F15\u7528",{fieldName:_.field.options.name,rowId:_.subFormRowId,refKey:_.field.options.name+"@row"+_.subFormRowId})}else this.field.options.optionItems=deepClone(h||[]);else this.field.options.optionItems=deepClone(h||[]);this.clearSelectedOptions()},reloadOptions(h){this.field.options.optionItems=deepClone(h)},disableOption(h){this.disableOptionOfList(this.field.options.optionItems,h)},enableOption(h){this.enableOptionOfList(this.field.options.optionItems,h)},getOptionItems(){return this.field.options.optionItems},setUploadHeader(h,_){this.uploadHeaders[h]=_},setUploadData(h,_){this.uploadData[h]=_},setToolbar(h){this.customToolbar=h},isSubFormItem(){return this.parentWidget?this.parentWidget.type==="sub-form"||this.parentWidget.type==="custom-sub-form":!1},addCssClass(h){this.field.options.customClass?this.field.options.customClass.push(h):this.field.options.customClass=[h]},removeCssClass(h){if(!this.field.options.customClass)return;let _=-1;this.field.options.customClass.map((e,g)=>{e===h&&(_=g)}),_>-1&&this.field.options.customClass.splice(_,1)}}},buttonWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$13={name:"button-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$13(h,_,e,g,M,x){const S=vue.resolveComponent("el-button"),b=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,"design-state":e.designState,"display-style":e.field.options.displayStyle,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",type:e.field.options.type,size:h.widgetSize,plain:e.field.options.plain,round:e.field.options.round,circle:e.field.options.circle,icon:e.field.options.icon,disabled:h.getDisabled(),onClick:h.handleButtonWidgetClick},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.label),1)]),_:1},8,["type","size","plain","round","circle","icon","disabled","onClick"])]),_:1},8,["designer","field","design-state","display-style","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var buttonWidget=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$13],["__scopeId","data-v-78bf6014"]]),__glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:buttonWidget},Symbol.toStringTag,{value:"Module"})),formItemWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$12={name:"form-item-wrapper",mixins:[i18n$1],components:{SvgIcon},props:{field:Object,designer:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""},rules:Array},inject:["getFormConfig"],computed:{formConfig(){return this.getFormConfig()},selected(){return!!this.designer&&this.field.id===this.designer.selectedId},label(){return this.field.options.labelHidden?"":this.field.options.label},labelWidth(){return this.field.options.labelHidden?0:this.field.options.labelWidth?this.field.options.labelWidth:this.designer?this.designer.formConfig.labelWidth:this.formConfig.labelWidth},labelAlign(){return this.field.options.labelAlign?this.field.options.labelAlign:this.designer?this.designer.formConfig.labelAlign||"label-left-align":this.formConfig.labelAlign||"label-left-align"},customClass(){return this.field.options.customClass?this.field.options.customClass.join(" "):""},subFormName(){return this.parentWidget?this.parentWidget.options.name:""},subFormItemFlag(){return this.parentWidget?this.parentWidget.type==="sub-form"||this.parentWidget.type==="custom-sub-form":!1}},created(){},methods:{selectField(h){this.designer&&(this.designer.setSelected(h),this.designer.emitEvent("field-selected",this.parentWidget))},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},removeFieldWidget(){if(this.parentList){const h=this.designer.selectedWidgetName;let _=null;this.parentList.length===1?this.parentWidget&&(_=this.parentWidget):this.parentList.length===1+this.indexOfParentList?_=this.parentList[this.indexOfParentList-1]:_=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(_),this.designer.formWidget.deleteWidgetRef(h),this.designer.emitHistoryChange()})}},getPropName(){return this.subFormItemFlag&&!this.designState?this.subFormName+"."+this.subFormRowIndex+"."+this.field.options.name+"":this.field.options.name}}},_hoisted_1$D={key:0,class:"custom-label"},_hoisted_2$t={key:0,class:"field-action"},_hoisted_3$q=["title"],_hoisted_4$f=["title"],_hoisted_5$c=["title"],_hoisted_6$b=["title"],_hoisted_7$9={key:1,class:"drag-handler background-opacity"},_hoisted_8$5=["title"],_hoisted_9$4={key:0};function _sfc_render$12(h,_,e,g,M,x){const S=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-tooltip"),c=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["field-wrapper",{"design-time-bottom-margin":!!this.designer}])},[!!e.field.formItemFlag&&(!e.field.options.hidden||e.designState===!0)?(vue.openBlock(),vue.createBlock(c,{key:0,label:x.label,"label-width":x.labelWidth+"px",title:e.field.options.labelTooltip,rules:e.rules,prop:x.getPropName(),class:vue.normalizeClass([x.selected?"selected":"",x.labelAlign,x.customClass,e.field.options.required?"required":""]),onClick:_[0]||(_[0]=vue.withModifiers(u=>x.selectField(e.field),["stop"]))},{label:vue.withCtx(()=>[e.field.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$D,[e.field.options.labelIconPosition==="front"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[e.field.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(b,{content:e.field.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])]),_:1},8,["content"]),vue.createTextVNode(vue.toDisplayString(x.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(S,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(x.label),1)],64))],64)):e.field.options.labelIconPosition==="rear"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[e.field.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(x.label),1),vue.createVNode(b,{content:e.field.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])]),_:1},8,["content"])],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(x.label),1),vue.createVNode(S,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[vue.renderSlot(h.$slots,"default",{},void 0,!0)]),_:3},8,["label","label-width","title","rules","prop","class"])):vue.createCommentVNode("",!0),this.designer?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$t,[vue.createElementVNode("i",{title:h.i18nt("designer.hint.selectParentWidget"),onClick:_[1]||(_[1]=vue.withModifiers(u=>x.selectParentWidget(e.field),["stop"]))},[vue.createVNode(S,{"icon-class":"el-back"})],8,_hoisted_3$q),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:h.i18nt("designer.hint.moveUpWidget"),onClick:_[2]||(_[2]=vue.withModifiers(u=>x.moveUpWidget(e.field),["stop"]))},[vue.createVNode(S,{"icon-class":"el-move-up"})],8,_hoisted_4$f)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:h.i18nt("designer.hint.moveDownWidget"),onClick:_[3]||(_[3]=vue.withModifiers(u=>x.moveDownWidget(e.field),["stop"]))},[vue.createVNode(S,{"icon-class":"el-move-down"})],8,_hoisted_5$c)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:h.i18nt("designer.hint.remove"),onClick:_[4]||(_[4]=vue.withModifiers((...u)=>x.removeFieldWidget&&x.removeFieldWidget(...u),["stop"]))},[vue.createVNode(S,{"icon-class":"el-delete"})],8,_hoisted_6$b)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$9,[vue.createElementVNode("i",{title:h.i18nt("designer.hint.dragHandler")},[vue.createVNode(S,{"icon-class":"el-drag-move"})],8,_hoisted_8$5),vue.createElementVNode("i",null,vue.toDisplayString(h.i18n2t(`designer.widgetLabel.${e.field.type}`,`extension.widgetLabel.${e.field.type}`)),1),e.field.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$4,[vue.createVNode(S,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],2)}var FormItemWrapper=_export_sfc$1(_sfc_main$12,[["render",_sfc_render$12],["__scopeId","data-v-eed9a7f0"]]),__glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:FormItemWrapper},Symbol.toStringTag,{value:"Module"})),cascaderWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$11={name:"cascader-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{showFullPath(){return this.field.options.showAllLevels===void 0||!!this.field.options.showAllLevels}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}},_hoisted_1$C={class:"full-width-input"};function _sfc_render$11(h,_,e,g,M,x){const S=vue.resolveComponent("el-cascader"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$C,[vue.createVNode(S,{ref:"fieldEditor",options:e.field.options.optionItems,modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),size:h.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,placeholder:e.field.options.placeholder||h.i18nt("render.hint.selectPlaceholder"),"show-all-levels":x.showFullPath,props:{checkStrictly:e.field.options.checkStrictly,multiple:e.field.options.multiple,expandTrigger:"hover"},onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["options","modelValue","disabled","size","clearable","filterable","placeholder","show-all-levels","props","onFocus","onBlur","onChange"])])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var cascaderWidget=_export_sfc$1(_sfc_main$11,[["render",_sfc_render$11],["__scopeId","data-v-7c3dbd57"]]),__glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:cascaderWidget},Symbol.toStringTag,{value:"Module"})),checkboxWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$10={name:"checkbox-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$10(h,_,e,g,M,x){const S=vue.resolveComponent("el-checkbox-button"),b=vue.resolveComponent("el-checkbox"),c=vue.resolveComponent("el-checkbox-group"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(c,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=r=>M.fieldModel=r),disabled:h.getDisabled(),size:h.widgetSize,onChange:h.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems,(r,o)=>(vue.openBlock(),vue.createBlock(S,{key:o,label:r.value,disabled:r.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(r.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems,(r,o)=>(vue.openBlock(),vue.createBlock(b,{key:o,label:r.value,disabled:r.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(r.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","disabled","size","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var checkboxWidget=_export_sfc$1(_sfc_main$10,[["render",_sfc_render$10],["__scopeId","data-v-3944f5f4"]]),__glob_0_2$2=Object.freeze(Object.defineProperty({__proto__:null,default:checkboxWidget},Symbol.toStringTag,{value:"Module"})),colorWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$$={name:"color-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$$(h,_,e,g,M,x){const S=vue.resolveComponent("el-color-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),size:h.widgetSize,disabled:h.getDisabled(),onChange:h.handleChangeEvent},null,8,["modelValue","size","disabled","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var colorWidget=_export_sfc$1(_sfc_main$$,[["render",_sfc_render$$],["__scopeId","data-v-52b66ef1"]]),__glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,default:colorWidget},Symbol.toStringTag,{value:"Module"})),dateRangeWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$_={name:"date-range-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$_(h,_,e,g,M,x){const S=vue.resolveComponent("el-date-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",type:e.field.options.type,modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),readonly:e.field.options.readonly,size:h.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":e.field.options.valueFormat,"start-placeholder":e.field.options.startPlaceholder||h.i18nt("render.hint.startDatePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||h.i18nt("render.hint.endDatePlaceholder"),onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["type","modelValue","disabled","readonly","size","clearable","editable","format","value-format","start-placeholder","end-placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var dateRangeWidget=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$_],["__scopeId","data-v-e50300fe"]]),__glob_0_4$2=Object.freeze(Object.defineProperty({__proto__:null,default:dateRangeWidget},Symbol.toStringTag,{value:"Module"})),dateWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$Z={name:"date-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$Z(h,_,e,g,M,x){const S=vue.resolveComponent("el-date-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",type:e.field.options.type,modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),readonly:e.field.options.readonly,disabled:h.getDisabled(),size:h.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":e.field.options.valueFormat,placeholder:e.field.options.placeholder||h.i18nt("render.hint.datePlaceholder"),onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["type","modelValue","class","readonly","disabled","size","clearable","editable","format","value-format","placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var dateWidget=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$Z],["__scopeId","data-v-89ff4bae"]]),__glob_0_5$2=Object.freeze(Object.defineProperty({__proto__:null,default:dateWidget},Symbol.toStringTag,{value:"Module"})),dividerWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$Y={name:"divider-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$Y(h,_,e,g,M,x){const S=vue.resolveComponent("el-divider"),b=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",direction:"horizontal","content-position":e.field.options.contentPosition},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.label),1)]),_:1},8,["content-position"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var dividerWidget=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$Y],["__scopeId","data-v-09a1b973"]]),__glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:dividerWidget},Symbol.toStringTag,{value:"Module"})),_export_sfc=(h,_)=>{const e=h.__vccOpts||h;for(const[g,M]of _)e[g]=M;return e};const _sfc_main$X=vue.defineComponent({name:"ArrowDownBold"}),_hoisted_1$B={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$s=vue.createElementVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z"},null,-1),_hoisted_3$p=[_hoisted_2$s];function _sfc_render$X(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$B,_hoisted_3$p)}var arrowDownBold=_export_sfc(_sfc_main$X,[["render",_sfc_render$X]]);const _sfc_main$W=vue.defineComponent({name:"ArrowDown"}),_hoisted_1$A={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$r=vue.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"},null,-1),_hoisted_3$o=[_hoisted_2$r];function _sfc_render$W(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$A,_hoisted_3$o)}var arrowDown=_export_sfc(_sfc_main$W,[["render",_sfc_render$W]]);const _sfc_main$V=vue.defineComponent({name:"ArrowUp"}),_hoisted_1$z={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$q=vue.createElementVNode("path",{fill:"currentColor",d:"M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"},null,-1),_hoisted_3$n=[_hoisted_2$q];function _sfc_render$V(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$z,_hoisted_3$n)}var arrowUp=_export_sfc(_sfc_main$V,[["render",_sfc_render$V]]);const _sfc_main$U=vue.defineComponent({name:"CirclePlus"}),_hoisted_1$y={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$p=vue.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"},null,-1),_hoisted_3$m=vue.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"},null,-1),_hoisted_4$e=vue.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1),_hoisted_5$b=[_hoisted_2$p,_hoisted_3$m,_hoisted_4$e];function _sfc_render$U(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$y,_hoisted_5$b)}var circlePlus=_export_sfc(_sfc_main$U,[["render",_sfc_render$U]]);const _sfc_main$T=vue.defineComponent({name:"Delete"}),_hoisted_1$x={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$o=vue.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"},null,-1),_hoisted_3$l=[_hoisted_2$o];function _sfc_render$T(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$x,_hoisted_3$l)}var _delete=_export_sfc(_sfc_main$T,[["render",_sfc_render$T]]);const _sfc_main$S=vue.defineComponent({name:"Edit"}),_hoisted_1$w={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$n=vue.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"},null,-1),_hoisted_3$k=vue.createElementVNode("path",{fill:"currentColor",d:"M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"},null,-1),_hoisted_4$d=[_hoisted_2$n,_hoisted_3$k];function _sfc_render$S(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$w,_hoisted_4$d)}var edit=_export_sfc(_sfc_main$S,[["render",_sfc_render$S]]);const _sfc_main$R=vue.defineComponent({name:"InfoFilled"}),_hoisted_1$v={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$m=vue.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),_hoisted_3$j=[_hoisted_2$m];function _sfc_render$R(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$v,_hoisted_3$j)}var infoFilled=_export_sfc(_sfc_main$R,[["render",_sfc_render$R]]);const _sfc_main$Q=vue.defineComponent({name:"Loading"}),_hoisted_1$u={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$l=vue.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"},null,-1),_hoisted_3$i=[_hoisted_2$l];function _sfc_render$Q(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$u,_hoisted_3$i)}var loading=_export_sfc(_sfc_main$Q,[["render",_sfc_render$Q]]);const _sfc_main$P=vue.defineComponent({name:"Minus"}),_hoisted_1$t={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$k=vue.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"},null,-1),_hoisted_3$h=[_hoisted_2$k];function _sfc_render$P(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$t,_hoisted_3$h)}var minus=_export_sfc(_sfc_main$P,[["render",_sfc_render$P]]);const _sfc_main$O=vue.defineComponent({name:"Plus"}),_hoisted_1$s={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$j=vue.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"},null,-1),_hoisted_3$g=[_hoisted_2$j];function _sfc_render$O(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$s,_hoisted_3$g)}var plus=_export_sfc(_sfc_main$O,[["render",_sfc_render$O]]);const _sfc_main$N=vue.defineComponent({name:"Search"}),_hoisted_1$r={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$i=vue.createElementVNode("path",{fill:"currentColor",d:"M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"},null,-1),_hoisted_3$f=[_hoisted_2$i];function _sfc_render$N(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$r,_hoisted_3$f)}var search=_export_sfc(_sfc_main$N,[["render",_sfc_render$N]]),defaultConfig={expireTimes:"1d",path:"; path=/",domain:"",secure:!1,sameSite:"; SameSite=Lax"},VueCookiesManager=function(){function h(){this.current_default_config=defaultConfig}return h.prototype.config=function(_){for(var e in this.current_default_config)this.current_default_config[e]=_[e]?_[e]:defaultConfig[e]},h.prototype.get=function(_){var e=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(_).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(e&&e.substring(0,1)==="{"&&e.substring(e.length-1,e.length)==="}")try{e=JSON.parse(e)}catch{return e}return e},h.prototype.set=function(_,e,g,M,x,S,b){if(_){if(/^(?:expires|max-age|path|domain|secure|SameSite)$/i.test(_))throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"] current key name: '+_)}else throw new Error("Cookie name is not found in the first argument.");e&&e.constructor===Object&&(e=JSON.stringify(e));var c="";if(g==null&&(g=this.current_default_config.expireTimes?this.current_default_config.expireTimes:""),g&&g!=0)switch(g.constructor){case Number:g===1/0||g===-1?c="; expires=Fri, 31 Dec 9999 23:59:59 GMT":c="; max-age="+g;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(g)){var u=g.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(g.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":c="; max-age="+ +u*2592e3;break;case"d":c="; max-age="+ +u*86400;break;case"h":c="; max-age="+ +u*3600;break;case"min":c="; max-age="+ +u*60;break;case"s":c="; max-age="+u;break;case"y":c="; max-age="+ +u*31104e3;break}}else c="; expires="+g;break;case Date:c="; expires="+g.toUTCString();break}return document.cookie=encodeURIComponent(_)+"="+encodeURIComponent(e)+c+(x?"; domain="+x:this.current_default_config.domain?this.current_default_config.domain:"")+(M?"; path="+M:this.current_default_config.path?this.current_default_config.path:"; path=/")+(S==null?this.current_default_config.secure?"; Secure":"":S?"; Secure":"")+(b==null?this.current_default_config.sameSite?"; SameSute="+this.current_default_config.sameSite:"":b?"; SameSite="+b:""),this},h.prototype.remove=function(_,e,g){return!_||!this.isKey(_)?!1:(document.cookie=encodeURIComponent(_)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(g?"; domain="+g:this.current_default_config.domain?this.current_default_config.domain:"")+(e?"; path="+e:this.current_default_config.path?this.current_default_config.path:"; path=/")+"; SameSite=Lax",!0)},h.prototype.isKey=function(_){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(_).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},h.prototype.keys=function(){if(!document.cookie)return[];for(var _=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),e=0;e<_.length;e++)_[e]=decodeURIComponent(_[e]);return _},h}(),GLOBAL_COOKIES_MANAGER=null;function useCookies(){GLOBAL_COOKIES_MANAGER==null&&(GLOBAL_COOKIES_MANAGER=new VueCookiesManager);var h=vue.reactive(GLOBAL_COOKIES_MANAGER);return{cookies:h}}var _imports_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABsUlEQVR4AaxSy0ojURA9dTMZZobxA4ZhZhgXLlwo4kLcuRMknU4aIuILFPyP/Ieg4Asx0El3B8GdO3EhogsXLhQV8QMUFTVdnmC6JWkVRIu6fU/XOXW41L0GH4zPM1DLmVDL3lMrb792KM3mHfLU2KOR5vkEvV3LgJxCw2XNZnvQEprL9UJ1EdBjBN5qRMcGUiyGkJDOcoTQ+Dro/IpEmsn8Rk08CA5xmR4XIIy42KBeEN+/ZLNFYRpfw4oWCt/Vsn5AvnjsSUE0K5ulq7o2Wk0G9aKsuydQyQPahdv7eSC1wHonDHLieWdoiYRBnZdqeQsiM8TDXA7xNJu3iRP5okFC9UbhRQPN5Ps58Vn2rXG5xHNq233EiUwY6JDzj8MqA7KPb+kpoDYJ4IBzr9DkD3FTNhnw/ttgwoCKO9yZnJRKNxIE19AHPi5T43B9HSj8JB+niZAWiwZqVjj9dkhoy4Z7EXFSrZ4jpTYUHWi7X1LwThpkbICd/TE2/4WYMb6H3QYfb1Kp7PA2JgD5D8seQSNiAwncRQm8bgnKfDQNtmUTv+ySp8bjSZ/I2ODp9/3fRwAAAP//S/wI2gAAAAZJREFUAwCGXJIhFOitmwAAAABJRU5ErkJggg==",fileUploadWidget_vue_vue_type_style_index_0_scoped_true_lang="";useCookies();let selectFileText="'"+translate("render.hint.selectFile")+"'";const _sfc_main$M={name:"file-upload-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{SvgIcon,FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:[],rules:[],uploadHeaders:{authorization:sessionStorage.getItem("Authorization"),Company:sessionStorage.getItem("companyId"),Post:sessionStorage.getItem("postId"),client:"web"},uploadData:{},fileList:[],uploadBtnHidden:!1,styleVariables:{"--select-file-action":selectFileText},showProgress:!1,progressPercent:0}},computed:{realUploadURL(){const h=this.field.options.uploadURL;if(!!h&&(h.indexOf("DSV.")>-1||h.indexOf("DSV[")>-1)){const _=this.getGlobalDsv();return evalFn(this.field.options.uploadURL,_)}return h||"/api/unified-file/sys-file/upload/?system=WF"}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleProgress(h,_,e){this.showProgress=!0,this.progressPercent=Math.round(h.percent)},handleFileExceed(){let h=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",h))},beforeFileUpload(h){var S,b,c;let _=!1;const e=h.name.substring(h.name.lastIndexOf(".")+1);if(((b=(S=this.field.options)==null?void 0:S.fileTypes)==null?void 0:b.length)&&(_=this.field.options.fileTypes.some(u=>e.toLowerCase()===u.toLowerCase())),!_)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+e),!1;let g=5;if(((c=this.field.options)==null?void 0:c.fileMaxSize)&&(g=this.field.options.fileMaxSize),!(h.size/1024/1024<=g))return this.$message.error(this.i18nt("render.hint.fileSizeExceed")+g+"MB"),!1;this.uploadData.key=h.name;const x=this.handleOnBeforeUpload(h);return x&&(this.showProgress=!0),x},handleOnBeforeUpload(h){if(this.field.options.onBeforeUpload){let e=new Function("file",this.field.options.onBeforeUpload).call(this,h);return typeof e=="boolean"?e:!0}else return!0},buildFieldModelFromFileList(h,_){const e=h.filter(g=>g.status==="success"&&(g.response!=null||g.url)).map(g=>{var S,b,c,u,r,o,t,i,n,s,a;const M=g.response,x=(M==null?void 0:M.data)!=null?M.data:M;return x&&(x.fileName!=null||x.fileUrl!=null||x.url!=null)?{fileName:(b=(S=x.fileName)!=null?S:x.name)!=null?b:g.name,fileId:x.fileId,fileUrl:(r=(u=(c=x.fileUrl)!=null?c:x.url)!=null?u:g.url)!=null?r:"",type:x.type,name:(t=(o=x.fileName)!=null?o:x.name)!=null?t:g.name,url:(s=(n=(i=x.fileUrl)!=null?i:x.url)!=null?n:g.url)!=null?s:""}:{fileName:g.name,fileId:g.uid,fileUrl:g.url||"",type:(a=g.raw)==null?void 0:a.type,name:g.name,url:g.url||""}});if(_&&_.name&&_.url){const g=e.length-1;g>=0?e[g]=Ot(Ue({},e[g]),{name:_.name,url:_.url,fileName:_.name,fileUrl:_.url}):e.push({name:_.name,url:_.url,fileName:_.name,fileUrl:_.url})}return e},updateFieldModelAndEmitDataChangeForUpload(h,_){const e=deepClone(this.fieldModel);this.fieldModel=this.buildFieldModelFromFileList(h,_),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,e),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFileUpload(h,_,e){var g;if(_.status==="success"){let M=null;this.field.options.onUploadSuccess&&(M=new Function("result","file","fileList",this.field.options.onUploadSuccess).call(this,h,_,e)),this.updateFieldModelAndEmitDataChangeForUpload(e,M),!!M&&!!M.name?_.name=M.name:_.name=_.name||(h==null?void 0:h.name)||(h==null?void 0:h.fileName)||(h==null?void 0:h.filename),!!M&&!!M.url?_.url=M.url:_.url=_.url||(h==null?void 0:h.url)||((g=h==null?void 0:h.data)==null?void 0:g.fileUrl),this.fileList=deepClone(e),this.uploadBtnHidden=e.length>=this.field.options.limit,!e.some(S=>S.status==="uploading")&&(this.showProgress=!1,elementPlus.ElMessage.success(this.field.options.multipleSelect?"\u6279\u91CF\u4E0A\u4F20\u6210\u529F":"\u4E0A\u4F20\u6210\u529F"))}},updateFieldModelAndEmitDataChangeForRemove(h,_){let e=deepClone(this.fieldModel);this.fieldModel.splice(h,1),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,e),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},removeUploadFile(h,_,e){let g=-1,M=null;this.fileList.forEach((x,S)=>{x.name===h&&(x.url===_||!!e&&x.uid===e)&&(g=S,M=x)}),g>=0&&(this.fileList.splice(g,1),this.updateFieldModelAndEmitDataChangeForRemove(g,this.fileList),this.uploadBtnHidden=this.fileList.length>=this.field.options.limit,this.field.options.onFileRemove&&new Function("file","fileList",this.field.options.onFileRemove).call(this,M,this.fileList))},handleUploadError(h,_,e){this.field.options.onUploadError?new Function("error","file","fileList",this.field.options.onUploadError).call(this,h,_,e):this.$message({message:this.i18nt("render.hint.uploadError")+h,duration:3e3,type:"error"})}}},_hoisted_1$q={class:"file-upload-widget-container"},_hoisted_2$h={key:0,class:"el-upload__tip"},_hoisted_3$e={class:"upload-file-list"},_hoisted_4$c={class:"left-wrap"},_hoisted_5$a=["title"],_hoisted_6$a={class:"right-wrap"},_hoisted_7$8=["title","onClick"];function _sfc_render$M(h,_,e,g,M,x){const S=vue.resolveComponent("upload-filled"),b=vue.resolveComponent("el-icon"),c=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-upload"),r=vue.resolveComponent("el-progress"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$q,[vue.createVNode(u,{ref:"fieldEditor",disabled:h.getDisabled(),style:vue.normalizeStyle(M.styleVariables),class:vue.normalizeClass(["dynamicPseudoAfter",{hideUploadDiv:M.uploadBtnHidden}]),action:x.realUploadURL,headers:M.uploadHeaders,data:M.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":M.fileList,"show-file-list":e.field.options.showFileList,limit:e.field.options.limit,"on-success":x.handleFileUpload,"on-error":x.handleUploadError,drag:e.field.options.allowDrag,"on-exceed":x.handleFileExceed,"before-upload":x.beforeFileUpload,"on-progress":x.handleProgress},vue.createSlots({tip:vue.withCtx(()=>[e.field.options.uploadTip?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$h,vue.toDisplayString(e.field.options.uploadTip),1)):vue.createCommentVNode("",!0)]),file:vue.withCtx(({file:t})=>[vue.createElementVNode("div",_hoisted_3$e,[vue.createElementVNode("div",_hoisted_4$c,[vue.createElementVNode("span",{class:"upload-file-name",title:t.name},vue.toDisplayString(t.name),9,_hoisted_5$a)]),vue.createElementVNode("div",_hoisted_6$a,[e.field.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"file-action",title:h.i18nt("render.hint.removeFile"),onClick:i=>x.removeUploadFile(t.name,t.url,t.uid)},[..._[2]||(_[2]=[vue.createElementVNode("img",{src:_imports_0,alt:""},null,-1)])],8,_hoisted_7$8))])])]),_:2},[e.field.options.disabled?void 0:{name:"default",fn:vue.withCtx(()=>[e.field.options.allowDrag?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(b,{class:"el-icon--upload"},{default:vue.withCtx(()=>[vue.createVNode(S)]),_:1}),_[0]||(_[0]=vue.createElementVNode("div",{class:"el-upload__text"}," \u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20 ",-1))],64)):(vue.openBlock(),vue.createBlock(c,{key:1,type:"primary"},{default:vue.withCtx(()=>[..._[1]||(_[1]=[vue.createTextVNode(" \u9009\u62E9\u6587\u4EF6",-1)])]),_:1}))]),key:"0"}]),1032,["disabled","style","action","headers","data","with-credentials","multiple","file-list","show-file-list","class","limit","on-success","on-error","drag","on-exceed","before-upload","on-progress"]),vue.createVNode(r,{style:vue.normalizeStyle({display:M.showProgress?"inline-flex":"none",width:"100%"}),percentage:M.progressPercent},null,8,["style","percentage"])])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var fileUploadWidget=_export_sfc$1(_sfc_main$M,[["render",_sfc_render$M],["__scopeId","data-v-06821a9a"]]),__glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:fileUploadWidget},Symbol.toStringTag,{value:"Module"})),htmlTextWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$L={name:"html-text-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}},_hoisted_1$p=["innerHTML"];function _sfc_render$L(h,_,e,g,M,x){const S=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(S,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{ref:"fieldEditor",innerHTML:e.field.options.htmlContent},null,8,_hoisted_1$p)]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var htmlTextWidget=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$L],["__scopeId","data-v-3d941b4e"]]),__glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:htmlTextWidget},Symbol.toStringTag,{value:"Module"})),inputWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$K={name:"input-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,SvgIcon},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{inputType(){return this.field.options.type==="number"?"text":this.field.options.type}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$K(h,_,e,g,M,x){const S=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),c=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(c,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=r=>M.fieldModel=r),disabled:h.getDisabled(),readonly:e.field.options.readonly,size:h.widgetSize,class:"hide-spin-button",type:x.inputType,"show-password":e.field.options.showPassword,placeholder:e.field.options.placeholder,clearable:e.field.options.clearable,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,"prefix-icon":e.field.options.prefixIcon,"suffix-icon":e.field.options.suffixIcon,onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onInput:h.handleInputCustomEvent,onChange:h.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(b,{disabled:h.getDisabled()||e.field.options.appendButtonDisabled,onClick:h.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":e.field.options.buttonIcon},null,8,["icon-class"])]),_:1},8,["disabled","onClick"])]),key:"0"}:void 0]),1032,["modelValue","disabled","readonly","size","type","show-password","placeholder","clearable","minlength","maxlength","show-word-limit","prefix-icon","suffix-icon","onFocus","onBlur","onInput","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var inputWidget=_export_sfc$1(_sfc_main$K,[["render",_sfc_render$K],["__scopeId","data-v-0346e877"]]),__glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:inputWidget},Symbol.toStringTag,{value:"Module"})),numberWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$J={name:"number-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$J(h,_,e,g,M,x){const S=vue.resolveComponent("el-input-number"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),class:"full-width-input",disabled:h.getDisabled(),size:h.widgetSize,"controls-position":e.field.options.controlsPosition,placeholder:e.field.options.placeholder,min:e.field.options.min,max:e.field.options.max,precision:e.field.options.precision,step:e.field.options.step,onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["modelValue","disabled","size","controls-position","placeholder","min","max","precision","step","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var numberWidget=_export_sfc$1(_sfc_main$J,[["render",_sfc_render$J],["__scopeId","data-v-30c98522"]]),__glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:numberWidget},Symbol.toStringTag,{value:"Module"})),pictureUploadWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$I={name:"picture-upload-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,SvgIcon},data(){return{oldFieldValue:null,fieldModel:[],rules:[],uploadHeaders:{},uploadData:{key:""},fileList:[],fileListBeforeRemove:[],uploadBtnHidden:!1,previewIndex:1}},computed:{previewList(){return this.fileList.map(h=>h.url)},realUploadURL(){let h=this.field.options.uploadURL;if(!!h&&(h.indexOf("DSV.")>-1||h.indexOf("DSV[")>-1)){let _=this.getGlobalDsv();return console.log("test DSV: ",_),evalFn(this.field.options.uploadURL,_)}return this.field.options.uploadURL}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handlePictureExceed(){let h=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",h))},beforePictureUpload(h){let _=!1;if(!!this.field.options&&!!this.field.options.fileTypes){let M=this.field.options.fileTypes;M.length>0&&(_=M.some(x=>h.type==="image/"+x))}if(!_)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+h.type),!1;let e=!1,g=5;return!!this.field.options&&!!this.field.options.fileMaxSize&&(g=this.field.options.fileMaxSize),e=h.size/1024/1024<=g,e?(this.uploadData.key=h.name,this.handleOnBeforeUpload(h)):(this.$message.error(this.$("render.hint.fileSizeExceed")+g+"MB"),!1)},handleOnBeforeUpload(h){if(this.field.options.onBeforeUpload){let e=new Function("file",this.field.options.onBeforeUpload).call(this,h);return typeof e=="boolean"?e:!0}return!0},updateFieldModelAndEmitDataChangeForUpload(h,_,e){let g=deepClone(this.fieldModel);!!_&&!!_.name&&!!_.url?this.fieldModel.push({name:_.name,url:_.url}):!!e&&!!e.name&&!!e.url?this.fieldModel.push({name:e.name,url:e.url}):this.fieldModel=deepClone(h),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,g),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handlePictureUpload(h,_,e){if(_.status==="success"){let g=null;this.field.options.onUploadSuccess&&(g=new Function("result","file","fileList",this.field.options.onUploadSuccess).call(this,h,_,e)),this.updateFieldModelAndEmitDataChangeForUpload(e,g,h),this.fileList=deepClone(e),this.uploadBtnHidden=e.length>=this.field.options.limit}},updateFieldModelAndEmitDataChangeForRemove(h){let _=deepClone(this.fieldModel),e=-1;this.fileListBeforeRemove.map((g,M)=>{g.name===h.name&&(g.url===h.url||!!g.uid&&g.uid===h.uid)&&(e=M)}),e>-1&&this.fieldModel.splice(e,1),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,_),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleBeforeRemove(h){this.fileListBeforeRemove=deepClone(h)},handlePictureRemove(h){this.handleBeforeRemove(this.fileList),this.fileList.splice(this.fileList.indexOf(h),1),this.updateFieldModelAndEmitDataChangeForRemove(h);let _=deepClone(this.fileList);this.uploadBtnHidden=_.length>=this.field.options.limit,this.field.options.onFileRemove&&new Function("file","fileList",this.field.options.onFileRemove).call(this,h,_)},handleUploadError(h,_,e){this.field.options.onUploadError?new Function("error","file","fileList",this.field.options.onUploadError).call(this,h,_,e):this.$message({message:this.i18nt("render.hint.uploadError")+h,duration:3e3,type:"error"})},handlePictureCardPreview({url:h}){this.previewIndex=this.previewList.indexOf(h),this.$refs.imageRef.$el.children[0].click()}}},_hoisted_1$o={class:"el-upload-list__item-status-label"},_hoisted_2$g={class:"el-icon--upload-success",style:{color:"#FFF"}},_hoisted_3$d={class:"el-upload-list__item-actions"},_hoisted_4$b=["onClick"],_hoisted_5$9=["onClick"],_hoisted_6$9={key:0,class:"el-upload__tip"},_hoisted_7$7={class:"uploader-icon"};function _sfc_render$I(h,_,e,g,M,x){const S=vue.resolveComponent("el-image"),b=vue.resolveComponent("svg-icon"),c=vue.resolveComponent("el-upload"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(c,{ref:"fieldEditor",disabled:h.getDisabled(),action:x.realUploadURL,headers:M.uploadHeaders,data:M.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":M.fileList,"show-file-list":e.field.options.showFileList,"list-type":"picture-card",class:vue.normalizeClass({hideUploadDiv:M.uploadBtnHidden}),limit:e.field.options.limit,"on-exceed":x.handlePictureExceed,"before-upload":x.beforePictureUpload,"on-preview":x.handlePictureCardPreview,"on-success":x.handlePictureUpload,"on-error":x.handleUploadError,drag:e.field.options.allowDrag},{file:vue.withCtx(({file:r})=>[vue.createVNode(S,{ref:"imageRef",style:{width:"100%",height:"100%"},src:r.url,"preview-src-list":x.previewList,"initial-index":M.previewIndex,fit:"cover","preview-teleported":""},null,8,["src","preview-src-list","initial-index"]),vue.createElementVNode("label",_hoisted_1$o,[vue.createElementVNode("i",_hoisted_2$g,[vue.createVNode(b,{class:"","icon-class":"el-check"})])]),vue.createElementVNode("span",_hoisted_3$d,[vue.createElementVNode("span",{class:"el-upload-list__item-preview",onClick:o=>x.handlePictureCardPreview(r)},[vue.createVNode(b,{"icon-class":"el-zoom-in"})],8,_hoisted_4$b),vue.createElementVNode("span",{class:"el-upload-list__item-delete",onClick:o=>x.handlePictureRemove(r)},[vue.createVNode(b,{"icon-class":"el-delete"})],8,_hoisted_5$9)])]),tip:vue.withCtx(()=>[e.field.options.uploadTip?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$9,vue.toDisplayString(e.field.options.uploadTip),1)):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_7$7,[vue.createVNode(b,{"icon-class":"el-plus"})])]),_:1},8,["disabled","action","headers","data","with-credentials","multiple","file-list","show-file-list","class","limit","on-exceed","before-upload","on-preview","on-success","on-error","drag"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var pictureUploadWidget=_export_sfc$1(_sfc_main$I,[["render",_sfc_render$I],["__scopeId","data-v-4d09ba72"]]),__glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:pictureUploadWidget},Symbol.toStringTag,{value:"Module"})),radioWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$H={name:"radio-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$H(h,_,e,g,M,x){const S=vue.resolveComponent("el-radio-button"),b=vue.resolveComponent("el-radio"),c=vue.resolveComponent("el-radio-group"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(c,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=r=>M.fieldModel=r),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:h.getDisabled(),size:h.widgetSize,onChange:h.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems,(r,o)=>(vue.openBlock(),vue.createBlock(S,{key:o,label:r.value,disabled:r.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(r.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems,(r,o)=>(vue.openBlock(),vue.createBlock(b,{key:o,label:r.value,disabled:r.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(r.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","class","disabled","size","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var radioWidget=_export_sfc$1(_sfc_main$H,[["render",_sfc_render$H],["__scopeId","data-v-2579b66d"]]),__glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,default:radioWidget},Symbol.toStringTag,{value:"Module"})),rateWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$G={name:"rate-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$G(h,_,e,g,M,x){const S=vue.resolveComponent("el-rate"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),max:e.field.options.max,"low-threshold":e.field.options.lowThreshold,"high-threshold":e.field.options.highThreshold,"allow-half":e.field.options.allowHalf,"show-text":e.field.options.showText,"show-score":e.field.options.showScore,onChange:h.handleChangeEvent},null,8,["modelValue","disabled","max","low-threshold","high-threshold","allow-half","show-text","show-score","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var rateWidget=_export_sfc$1(_sfc_main$G,[["render",_sfc_render$G],["__scopeId","data-v-3c7d82fe"]]),__glob_0_14=Object.freeze(Object.defineProperty({__proto__:null,default:rateWidget},Symbol.toStringTag,{value:"Module"})),quill={exports:{}};/*!
|
|
33
|
+
}`;var De=Fa(function(){return Pe(Z,xe+"return "+he).apply(e,J)});if(De.source=he,Xr(De))throw De;return De}function hp(l){return We(l).toLowerCase()}function fp(l){return We(l).toUpperCase()}function pp(l,y,O){if(l=We(l),l&&(O||y===e))return Vo(l);if(!l||!(y=yt(y)))return l;var W=Dt(l),q=Dt(y),Z=Ho(W,q),J=jo(W,q)+1;return rn(W,Z,J).join("")}function gp(l,y,O){if(l=We(l),l&&(O||y===e))return l.slice(0,Go(l)+1);if(!l||!(y=yt(y)))return l;var W=Dt(l),q=jo(W,Dt(y))+1;return rn(W,0,q).join("")}function mp(l,y,O){if(l=We(l),l&&(O||y===e))return l.replace(_t,"");if(!l||!(y=yt(y)))return l;var W=Dt(l),q=Ho(W,Dt(y));return rn(W,q).join("")}function vp(l,y){var O=E,W=F;if(Ke(y)){var q="separator"in y?y.separator:q;O="length"in y?Te(y.length):O,W="omission"in y?yt(y.omission):W}l=We(l);var Z=l.length;if(wn(l)){var J=Dt(l);Z=J.length}if(O>=Z)return l;var ee=O-xn(W);if(ee<1)return W;var ie=J?rn(J,0,ee).join(""):l.slice(0,ee);if(q===e)return ie+W;if(J&&(ee+=ie.length-ee),Jr(q)){if(l.slice(ee).search(q)){var ce,de=ie;for(q.global||(q=gr(q.source,We(uo.exec(q))+"g")),q.lastIndex=0;ce=q.exec(de);)var he=ce.index;ie=ie.slice(0,he===e?ee:he)}}else if(l.indexOf(yt(q),ee)!=ee){var ye=ie.lastIndexOf(q);ye>-1&&(ie=ie.slice(0,ye))}return ie+W}function yp(l){return l=We(l),l&&qi.test(l)?l.replace(Jn,Gl):l}var bp=Mn(function(l,y,O){return l+(O?" ":"")+y.toUpperCase()}),no=Rs("toUpperCase");function Ia(l,y,O){return l=We(l),y=O?e:y,y===e?Wl(l)?Yl(l):Il(l):l.match(y)||[]}var Fa=Ie(function(l,y){try{return mt(l,e,y)}catch(O){return Xr(O)?O:new Me(O)}}),wp=jt(function(l,y){return At(y,function(O){O=$t(O),Vt(l,O,Zr(l[O],l))}),l});function xp(l){var y=l==null?0:l.length,O=Ce();return l=y?qe(l,function(W){if(typeof W[1]!="function")throw new Et(S);return[O(W[0]),W[1]]}):[],Ie(function(W){for(var q=-1;++q<y;){var Z=l[q];if(mt(Z[0],this,W))return mt(Z[1],this,W)}})}function _p(l){return Gu(kt(l,o))}function io(l){return function(){return l}}function Cp(l,y){return l==null||l!==l?y:l}var Ap=Ns(),Ep=Ns(!0);function gt(l){return l}function ro(l){return hs(typeof l=="function"?l:kt(l,o))}function Sp(l){return ps(kt(l,o))}function kp(l,y){return gs(l,kt(y,o))}var Mp=Ie(function(l,y){return function(O){return jn(O,l,y)}}),Lp=Ie(function(l,y){return function(O){return jn(l,O,y)}});function oo(l,y,O){var W=it(y),q=Si(y,W);O==null&&!(Ke(y)&&(q.length||!W.length))&&(O=y,y=l,l=this,q=Si(y,it(y)));var Z=!(Ke(O)&&"chain"in O)||!!O.chain,J=Gt(l);return At(q,function(ee){var ie=y[ee];l[ee]=ie,J&&(l.prototype[ee]=function(){var ce=this.__chain__;if(Z||ce){var de=l(this.__wrapped__),he=de.__actions__=ht(this.__actions__);return he.push({func:ie,args:arguments,thisArg:l}),de.__chain__=ce,de}return ie.apply(l,Qt([this.value()],arguments))})}),l}function Tp(){return rt._===this&&(rt._=tu),this}function so(){}function Dp(l){return l=Te(l),Ie(function(y){return ms(y,l)})}var Ip=Br(qe),Fp=Br(Bo),Rp=Br(lr);function Ra(l){return jr(l)?ur($t(l)):uc(l)}function Op(l){return function(y){return l==null?e:dn(l,y)}}var Np=$s(),Bp=$s(!0);function ao(){return[]}function lo(){return!1}function $p(){return{}}function Pp(){return""}function zp(){return!0}function Wp(l,y){if(l=Te(l),l<1||l>$)return[];var O=B,W=st(l,B);y=Ce(y),l-=B;for(var q=hr(W,y);++O<l;)y(O);return q}function Vp(l){return Le(l)?qe(l,$t):bt(l)?[l]:ht(ea(We(l)))}function Hp(l){var y=++Jl;return We(l)+y}var jp=Ii(function(l,y){return l+y},0),Up=$r("ceil"),Gp=Ii(function(l,y){return l/y},1),qp=$r("floor");function Kp(l){return l&&l.length?Ei(l,gt,Cr):e}function Yp(l,y){return l&&l.length?Ei(l,Ce(y,2),Cr):e}function Zp(l){return zo(l,gt)}function Qp(l,y){return zo(l,Ce(y,2))}function Xp(l){return l&&l.length?Ei(l,gt,kr):e}function Jp(l,y){return l&&l.length?Ei(l,Ce(y,2),kr):e}var e0=Ii(function(l,y){return l*y},1),t0=$r("round"),n0=Ii(function(l,y){return l-y},0);function i0(l){return l&&l.length?dr(l,gt):0}function r0(l,y){return l&&l.length?dr(l,Ce(y,2)):0}return Y.after=Eh,Y.ary=da,Y.assign=ff,Y.assignIn=Ea,Y.assignInWith=Ui,Y.assignWith=pf,Y.at=gf,Y.before=ha,Y.bind=Zr,Y.bindAll=wp,Y.bindKey=fa,Y.castArray=Bh,Y.chain=la,Y.chunk=Gc,Y.compact=qc,Y.concat=Kc,Y.cond=xp,Y.conforms=_p,Y.constant=io,Y.countBy=nh,Y.create=mf,Y.curry=pa,Y.curryRight=ga,Y.debounce=ma,Y.defaults=vf,Y.defaultsDeep=yf,Y.defer=Sh,Y.delay=kh,Y.difference=Yc,Y.differenceBy=Zc,Y.differenceWith=Qc,Y.drop=Xc,Y.dropRight=Jc,Y.dropRightWhile=ed,Y.dropWhile=td,Y.fill=nd,Y.filter=rh,Y.flatMap=ah,Y.flatMapDeep=lh,Y.flatMapDepth=uh,Y.flatten=ra,Y.flattenDeep=id,Y.flattenDepth=rd,Y.flip=Mh,Y.flow=Ap,Y.flowRight=Ep,Y.fromPairs=od,Y.functions=Ef,Y.functionsIn=Sf,Y.groupBy=ch,Y.initial=ad,Y.intersection=ld,Y.intersectionBy=ud,Y.intersectionWith=cd,Y.invert=Mf,Y.invertBy=Lf,Y.invokeMap=hh,Y.iteratee=ro,Y.keyBy=fh,Y.keys=it,Y.keysIn=pt,Y.map=Pi,Y.mapKeys=Df,Y.mapValues=If,Y.matches=Sp,Y.matchesProperty=kp,Y.memoize=Wi,Y.merge=Ff,Y.mergeWith=Sa,Y.method=Mp,Y.methodOf=Lp,Y.mixin=oo,Y.negate=Vi,Y.nthArg=Dp,Y.omit=Rf,Y.omitBy=Of,Y.once=Lh,Y.orderBy=ph,Y.over=Ip,Y.overArgs=Th,Y.overEvery=Fp,Y.overSome=Rp,Y.partial=Qr,Y.partialRight=va,Y.partition=gh,Y.pick=Nf,Y.pickBy=ka,Y.property=Ra,Y.propertyOf=Op,Y.pull=pd,Y.pullAll=sa,Y.pullAllBy=gd,Y.pullAllWith=md,Y.pullAt=vd,Y.range=Np,Y.rangeRight=Bp,Y.rearg=Dh,Y.reject=yh,Y.remove=yd,Y.rest=Ih,Y.reverse=Kr,Y.sampleSize=wh,Y.set=$f,Y.setWith=Pf,Y.shuffle=xh,Y.slice=bd,Y.sortBy=Ah,Y.sortedUniq=Sd,Y.sortedUniqBy=kd,Y.split=lp,Y.spread=Fh,Y.tail=Md,Y.take=Ld,Y.takeRight=Td,Y.takeRightWhile=Dd,Y.takeWhile=Id,Y.tap=qd,Y.throttle=Rh,Y.thru=$i,Y.toArray=_a,Y.toPairs=Ma,Y.toPairsIn=La,Y.toPath=Vp,Y.toPlainObject=Aa,Y.transform=zf,Y.unary=Oh,Y.union=Fd,Y.unionBy=Rd,Y.unionWith=Od,Y.uniq=Nd,Y.uniqBy=Bd,Y.uniqWith=$d,Y.unset=Wf,Y.unzip=Yr,Y.unzipWith=aa,Y.update=Vf,Y.updateWith=Hf,Y.values=Dn,Y.valuesIn=jf,Y.without=Pd,Y.words=Ia,Y.wrap=Nh,Y.xor=zd,Y.xorBy=Wd,Y.xorWith=Vd,Y.zip=Hd,Y.zipObject=jd,Y.zipObjectDeep=Ud,Y.zipWith=Gd,Y.entries=Ma,Y.entriesIn=La,Y.extend=Ea,Y.extendWith=Ui,oo(Y,Y),Y.add=jp,Y.attempt=Fa,Y.camelCase=Kf,Y.capitalize=Ta,Y.ceil=Up,Y.clamp=Uf,Y.clone=$h,Y.cloneDeep=zh,Y.cloneDeepWith=Wh,Y.cloneWith=Ph,Y.conformsTo=Vh,Y.deburr=Da,Y.defaultTo=Cp,Y.divide=Gp,Y.endsWith=Yf,Y.eq=Ft,Y.escape=Zf,Y.escapeRegExp=Qf,Y.every=ih,Y.find=oh,Y.findIndex=na,Y.findKey=bf,Y.findLast=sh,Y.findLastIndex=ia,Y.findLastKey=wf,Y.floor=qp,Y.forEach=ua,Y.forEachRight=ca,Y.forIn=xf,Y.forInRight=_f,Y.forOwn=Cf,Y.forOwnRight=Af,Y.get=eo,Y.gt=Hh,Y.gte=jh,Y.has=kf,Y.hasIn=to,Y.head=oa,Y.identity=gt,Y.includes=dh,Y.indexOf=sd,Y.inRange=Gf,Y.invoke=Tf,Y.isArguments=pn,Y.isArray=Le,Y.isArrayBuffer=Uh,Y.isArrayLike=ft,Y.isArrayLikeObject=Xe,Y.isBoolean=Gh,Y.isBuffer=on,Y.isDate=qh,Y.isElement=Kh,Y.isEmpty=Yh,Y.isEqual=Zh,Y.isEqualWith=Qh,Y.isError=Xr,Y.isFinite=Xh,Y.isFunction=Gt,Y.isInteger=ya,Y.isLength=Hi,Y.isMap=ba,Y.isMatch=Jh,Y.isMatchWith=ef,Y.isNaN=tf,Y.isNative=nf,Y.isNil=of,Y.isNull=rf,Y.isNumber=wa,Y.isObject=Ke,Y.isObjectLike=Ye,Y.isPlainObject=Zn,Y.isRegExp=Jr,Y.isSafeInteger=sf,Y.isSet=xa,Y.isString=ji,Y.isSymbol=bt,Y.isTypedArray=Tn,Y.isUndefined=af,Y.isWeakMap=lf,Y.isWeakSet=uf,Y.join=dd,Y.kebabCase=Xf,Y.last=Lt,Y.lastIndexOf=hd,Y.lowerCase=Jf,Y.lowerFirst=ep,Y.lt=cf,Y.lte=df,Y.max=Kp,Y.maxBy=Yp,Y.mean=Zp,Y.meanBy=Qp,Y.min=Xp,Y.minBy=Jp,Y.stubArray=ao,Y.stubFalse=lo,Y.stubObject=$p,Y.stubString=Pp,Y.stubTrue=zp,Y.multiply=e0,Y.nth=fd,Y.noConflict=Tp,Y.noop=so,Y.now=zi,Y.pad=tp,Y.padEnd=np,Y.padStart=ip,Y.parseInt=rp,Y.random=qf,Y.reduce=mh,Y.reduceRight=vh,Y.repeat=op,Y.replace=sp,Y.result=Bf,Y.round=t0,Y.runInContext=ne,Y.sample=bh,Y.size=_h,Y.snakeCase=ap,Y.some=Ch,Y.sortedIndex=wd,Y.sortedIndexBy=xd,Y.sortedIndexOf=_d,Y.sortedLastIndex=Cd,Y.sortedLastIndexBy=Ad,Y.sortedLastIndexOf=Ed,Y.startCase=up,Y.startsWith=cp,Y.subtract=n0,Y.sum=i0,Y.sumBy=r0,Y.template=dp,Y.times=Wp,Y.toFinite=qt,Y.toInteger=Te,Y.toLength=Ca,Y.toLower=hp,Y.toNumber=Tt,Y.toSafeInteger=hf,Y.toString=We,Y.toUpper=fp,Y.trim=pp,Y.trimEnd=gp,Y.trimStart=mp,Y.truncate=vp,Y.unescape=yp,Y.uniqueId=Hp,Y.upperCase=bp,Y.upperFirst=no,Y.each=ua,Y.eachRight=ca,Y.first=oa,oo(Y,function(){var l={};return Nt(Y,function(y,O){ze.call(Y.prototype,O)||(l[O]=y)}),l}(),{chain:!1}),Y.VERSION=g,At(["bind","bindKey","curry","curryRight","partial","partialRight"],function(l){Y[l].placeholder=Y}),At(["drop","take"],function(l,y){Oe.prototype[l]=function(O){O=O===e?1:nt(Te(O),0);var W=this.__filtered__&&!y?new Oe(this):this.clone();return W.__filtered__?W.__takeCount__=st(O,W.__takeCount__):W.__views__.push({size:st(O,B),type:l+(W.__dir__<0?"Right":"")}),W},Oe.prototype[l+"Right"]=function(O){return this.reverse()[l](O).reverse()}}),At(["filter","map","takeWhile"],function(l,y){var O=y+1,W=O==k||O==R;Oe.prototype[l]=function(q){var Z=this.clone();return Z.__iteratees__.push({iteratee:Ce(q,3),type:O}),Z.__filtered__=Z.__filtered__||W,Z}}),At(["head","last"],function(l,y){var O="take"+(y?"Right":"");Oe.prototype[l]=function(){return this[O](1).value()[0]}}),At(["initial","tail"],function(l,y){var O="drop"+(y?"":"Right");Oe.prototype[l]=function(){return this.__filtered__?new Oe(this):this[O](1)}}),Oe.prototype.compact=function(){return this.filter(gt)},Oe.prototype.find=function(l){return this.filter(l).head()},Oe.prototype.findLast=function(l){return this.reverse().find(l)},Oe.prototype.invokeMap=Ie(function(l,y){return typeof l=="function"?new Oe(this):this.map(function(O){return jn(O,l,y)})}),Oe.prototype.reject=function(l){return this.filter(Vi(Ce(l)))},Oe.prototype.slice=function(l,y){l=Te(l);var O=this;return O.__filtered__&&(l>0||y<0)?new Oe(O):(l<0?O=O.takeRight(-l):l&&(O=O.drop(l)),y!==e&&(y=Te(y),O=y<0?O.dropRight(-y):O.take(y-l)),O)},Oe.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},Oe.prototype.toArray=function(){return this.take(B)},Nt(Oe.prototype,function(l,y){var O=/^(?:filter|find|map|reject)|While$/.test(y),W=/^(?:head|last)$/.test(y),q=Y[W?"take"+(y=="last"?"Right":""):y],Z=W||/^find/.test(y);!q||(Y.prototype[y]=function(){var J=this.__wrapped__,ee=W?[1]:arguments,ie=J instanceof Oe,ce=ee[0],de=ie||Le(J),he=function(Re){var Ne=q.apply(Y,Qt([Re],ee));return W&&ye?Ne[0]:Ne};de&&O&&typeof ce=="function"&&ce.length!=1&&(ie=de=!1);var ye=this.__chain__,xe=!!this.__actions__.length,Ae=Z&&!ye,De=ie&&!xe;if(!Z&&de){J=De?J:new Oe(this);var Ee=l.apply(J,ee);return Ee.__actions__.push({func:$i,args:[he],thisArg:e}),new St(Ee,ye)}return Ae&&De?l.apply(this,ee):(Ee=this.thru(he),Ae?W?Ee.value()[0]:Ee.value():Ee)})}),At(["pop","push","shift","sort","splice","unshift"],function(l){var y=ci[l],O=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",W=/^(?:pop|shift)$/.test(l);Y.prototype[l]=function(){var q=arguments;if(W&&!this.__chain__){var Z=this.value();return y.apply(Le(Z)?Z:[],q)}return this[O](function(J){return y.apply(Le(J)?J:[],q)})}}),Nt(Oe.prototype,function(l,y){var O=Y[y];if(O){var W=O.name+"";ze.call(En,W)||(En[W]=[]),En[W].push({name:y,func:O})}}),En[Di(e,d).name]=[{name:"wrapper",func:e}],Oe.prototype.clone=vu,Oe.prototype.reverse=yu,Oe.prototype.value=bu,Y.prototype.at=Kd,Y.prototype.chain=Yd,Y.prototype.commit=Zd,Y.prototype.next=Qd,Y.prototype.plant=Jd,Y.prototype.reverse=eh,Y.prototype.toJSON=Y.prototype.valueOf=Y.prototype.value=th,Y.prototype.first=Y.prototype.head,Bn&&(Y.prototype[Bn]=Xd),Y},_n=Zl();sn?((sn.exports=_n)._=_n,rr._=_n):rt._=_n}).call(commonjsGlobal)})(lodash,lodash.exports);var fieldMixin={inject:["refList","sfRefList","getFormConfig","getGlobalDsv","globalOptionData","globalModel","getOptionData"],props:{subFormDisabled:{type:Boolean,default:!1}},computed:{formConfig(){return this.getFormConfig()},widgetSize(){return this.field.options.size||"default"},subFormName(){return this.parentWidget?this.parentWidget.options.name:""},subFormItemFlag(){return this.parentWidget?this.parentWidget.type==="sub-form"||this.parentWidget.type==="custom-sub-form":!1},formModel:{cache:!1,get(){return this.globalModel.formModel}}},methods:{getDisabled(){return this.subFormDisabled===!0||!!this.field&&!!this.field.options&&!!this.field.options.disabled},getPropName(){return this.subFormItemFlag&&!this.designState?this.subFormName+"."+this.subFormRowIndex+"."+this.field.options.name+"":this.field.options.name},initFieldModel(){if(!!this.field.formItemFlag){if(!!this.subFormItemFlag&&!this.designState){let h=this.formModel[this.subFormName];h||(this.formModel[this.subFormName]=[],h=this.formModel[this.subFormName]),h[this.subFormRowIndex]||(h[this.subFormRowIndex]={}),h[this.subFormRowIndex][this.field.options.name]===void 0&&this.field.options.defaultValue!==void 0?(this.fieldModel=this.field.options.defaultValue,h[this.subFormRowIndex][this.field.options.name]=this.field.options.defaultValue):h[this.subFormRowIndex][this.field.options.name]===void 0?(this.fieldModel=null,h[this.subFormRowIndex][this.field.options.name]=null):this.fieldModel=h[this.subFormRowIndex][this.field.options.name],setTimeout(()=>{this.handleOnChangeForSubForm(this.fieldModel,this.oldFieldValue,h,this.subFormRowId,this.subFormRowIndex)},800),this.oldFieldValue=deepClone(this.fieldModel),this.initFileList();return}this.formModel[this.field.options.name]===void 0&&this.field.options.defaultValue!==void 0?this.fieldModel=this.field.options.defaultValue:this.formModel[this.field.options.name]===void 0?this.formModel[this.field.options.name]=null:this.fieldModel=this.formModel[this.field.options.name],this.oldFieldValue=deepClone(this.fieldModel),this.initFileList()}},initFileList(){this.field.type!=="picture-upload"&&this.field.type!=="file-upload"||this.designState===!0||this.fieldModel&&(Array.isArray(this.fieldModel)?this.fileList=deepClone(this.fieldModel):this.fileList.splice(0,0,deepClone(this.fieldModel)))},initEventHandler(){this.on$("setFormData",h=>{this.subFormItemFlag||this.setValue(h[this.field.options.name])}),this.on$("field-value-changed",h=>{if(this.subFormItemFlag){let _=this.formModel[this.subFormName];this.handleOnChangeForSubForm(h[0],h[1],_,this.subFormRowId,this.subFormRowIndex)}else this.handleOnChange(h[0],h[1])}),this.on$("reloadOptionItems",h=>{(h.length===0||h.indexOf(this.field.options.name)>-1)&&this.initOptionItems(!0)})},handleOnCreated(){this.field.options.onCreated&&new Function(this.field.options.onCreated).call(this)},handleOnMounted(){this.field.options.onMounted&&new Function(this.field.options.onMounted).call(this)},registerToRefList(h){this.refList!==null&&!!this.field.options.name&&(this.subFormItemFlag&&!this.designState?(h&&delete this.refList[h+"@row"+this.subFormRowId],this.refList[this.field.options.name+"@row"+this.subFormRowId]=this):(h&&delete this.refList[h],this.refList[this.field.options.name]=this))},unregisterFromRefList(){if(this.refList!==null&&!!this.field.options.name){let h=this.field.options.name;this.subFormItemFlag&&!this.designState?delete this.refList[h+"@row"+this.subFormRowId]:delete this.refList[h]}},initOptionItems(h){if(!this.designState&&(this.field.type==="radio"||this.field.type==="checkbox"||this.field.type==="select"||this.field.type==="cascader")){const _=this.getOptionData();!!_&&_.hasOwnProperty(this.field.options.name)&&(h?this.reloadOptions(_[this.field.options.name]):this.loadOptions(_[this.field.options.name]))}},refreshDefaultValue(){this.designState===!0&&this.field.options.defaultValue!==void 0&&(this.fieldModel=this.field.options.defaultValue)},clearFieldRules(){!this.field.formItemFlag||this.rules.splice(0,this.rules.length)},buildFieldRules(){if(!(!this.field.formItemFlag&&this.field.options.hidden)){if(this.rules.splice(0,this.rules.length),this.field.options.required&&this.rules.push({required:!0,trigger:["blur"],message:this.field.options.requiredHint||this.i18nt("render.hint.fieldRequired")}),this.field.options.validation){let h=this.field.options.validation;FormValidators[h]?this.rules.push({validator:FormValidators[h],trigger:["blur","change"],label:this.field.options.label,errorMsg:this.field.options.validationHint}):this.rules.push({validator:FormValidators.regExp,trigger:["blur","change"],regExp:h,label:this.field.options.label,errorMsg:this.field.options.validationHint})}if(this.field.options.onValidate){let h=(_,e,g)=>new Function("rule","value","callback",this.field.options.onValidate).call(this,_,e,g);this.rules.push({validator:h,trigger:["blur","change"],label:this.field.options.label})}}},disableChangeValidate(){!this.rules||this.rules.forEach(h=>{h.trigger&&h.trigger.splice(0,h.trigger.length)})},enableChangeValidate(){!this.rules||this.rules.forEach(h=>{h.trigger&&(h.trigger.push("blur"),h.trigger.push("change"))})},disableOptionOfList(h,_){!!h&&h.length>0&&h.forEach(e=>{e.value===_&&(e.disabled=!0)})},enableOptionOfList(h,_){!!h&&h.length>0&&h.forEach(e=>{e.value===_&&(e.disabled=!1)})},emitFieldDataChange(h,_){this.emit$("field-value-changed",[h,_]),this.dispatch("VFormRender","fieldChange",[this.field.options.name,h,_,this.subFormName,this.subFormRowIndex])},syncUpdateFormModel(h){if(!this.designState)if(this.subFormItemFlag){let e=(this.formModel[this.subFormName]||[{}])[this.subFormRowIndex];e&&(e[this.field.options.name]=h)}else this.formModel[this.field.options.name]=h},handleChangeEvent(h){this.syncUpdateFormModel(h),this.emitFieldDataChange(h,this.oldFieldValue),this.oldFieldValue=deepClone(h),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFocusCustomEvent(h){this.oldFieldValue=deepClone(this.fieldModel),this.field.options.onFocus&&new Function("event",this.field.options.onFocus).call(this,h)},handleBlurCustomEvent(h){this.field.options.onBlur&&new Function("event",this.field.options.onBlur).call(this,h)},handleInputCustomEvent(h){this.syncUpdateFormModel(h),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.field.options.onInput&&new Function("value",this.field.options.onInput).call(this,h)},emitAppendButtonClick(){this.designState||(this.field.options.onAppendButtonClick?new Function(this.field.options.onAppendButtonClick).call(this):this.dispatch("VFormRender","appendButtonClick",[this]))},handleOnChange(h,_){this.field.options.onChange&&new Function("value","oldValue",this.field.options.onChange).call(this,h,_)},handleOnChangeForSubForm(h,_,e,g,M){this.field.options.onChange&&new Function("value","oldValue","subFormData","rowId","sfrIdx",this.field.options.onChange).call(this,h,_,e,g,M)},handleButtonWidgetClick(){this.designState||(this.field.options.onClick?new Function(this.field.options.onClick).call(this):this.dispatch("VFormRender","buttonClick",[this]))},remoteQuery(h){this.field.options.onRemoteQuery&&new Function("keyword",this.field.options.onRemoteQuery).call(this,h)},getFormRef(){return this.refList.v_form_ref},findColByName(h){const _=this.getFormRef();return _&&typeof _.findColByName=="function"?_.findColByName(null,h):null},setColHidden(h,_){const e=!!_;if(Array.isArray(h)){let M=!1;return h.forEach(x=>{const S=this.findColByName(x);S&&S.options&&(S.options.hidden=hiddenVa,M=!0)}),M}const g=this.findColByName(h);return!g||!g.options?!1:(g.options.hidden=e,!0)},getWidgetRef(h,_,e){let g=null;if(this.subFormItemFlag&&!this.designState){let M=e!=null?e:this.subFormRowId;if(M){let x=h+"@row"+M;g=this.refList[x]}}return!g&&(!this.subFormItemFlag||this.designState)&&(g=this.refList[h]),!g&&!!_&&this.$message.error(this.i18nt("render.hint.refNotFound")+h),g},getFieldEditor(){return this.$refs.fieldEditor},setValue(h){if(this.field.formItemFlag){let _=deepClone(this.fieldModel);this.fieldModel=h,this.initFileList(),this.syncUpdateFormModel(h),this.emitFieldDataChange(h,_)}},getValue(){return this.fieldModel},resetField(){let h=this.field.options.defaultValue;this.setValue(h),this.$nextTick(()=>{}),(this.field.type==="picture-upload"||this.field.type==="file-upload")&&(this.$refs.fieldEditor.clearFiles(),this.fileList.splice(0,this.fileList.length))},setWidgetOption(h,_){this.field.options.hasOwnProperty(h)&&(this.field.options[h]=_)},setReadonly(h){this.field.options.readonly=h},setDisabled(h){this.field.options.disabled=h},setAppendButtonVisible(h){this.field.options.appendButton=h},setAppendButtonDisabled(h){this.field.options.appendButtonDisabled=h},setHidden(h){this.field.options.hidden=h,h?this.clearFieldRules():this.buildFieldRules()},setRequired(h){this.field.options.required=h,this.buildFieldRules()},setLabel(h){this.field.options.label=h},focus(){!!this.getFieldEditor()&&!!this.getFieldEditor().focus&&this.getFieldEditor().focus()},clearSelectedOptions(){this.field.type!=="checkbox"&&this.field.type!=="radio"&&this.field.type!=="select"&&this.field.type!=="select-tree"||(this.field.type==="checkbox"||this.field.type==="select"&&this.field.options.multiple||this.field.type==="select-tree"&&this.field.options.multiple?this.fieldModel=[]:this.fieldModel="")},loadOptions(h,_){if(_)if(_.subFormRowId){const e=this.refList[_.field.options.name+"@row"+_.subFormRowId];if(e&&e.field){const g=JSON.parse(JSON.stringify(h||[]));e.field.options===_.field.options&&(e.field.options=JSON.parse(JSON.stringify(e.field.options||{}))),e.field.options.optionItems=g}else console.error("\u5B50\u8868\u5355\u9009\u9879\u6570\u636E\u8BBE\u7F6E\u5931\u8D25: \u672A\u627E\u5230\u5B57\u6BB5\u5F15\u7528",{fieldName:_.field.options.name,rowId:_.subFormRowId,refKey:_.field.options.name+"@row"+_.subFormRowId})}else this.field.options.optionItems=deepClone(h||[]);else this.field.options.optionItems=deepClone(h||[]);this.clearSelectedOptions()},reloadOptions(h){this.field.options.optionItems=deepClone(h)},disableOption(h){this.disableOptionOfList(this.field.options.optionItems,h)},enableOption(h){this.enableOptionOfList(this.field.options.optionItems,h)},getOptionItems(){return this.field.options.optionItems},setUploadHeader(h,_){this.uploadHeaders[h]=_},setUploadData(h,_){this.uploadData[h]=_},setToolbar(h){this.customToolbar=h},isSubFormItem(){return this.parentWidget?this.parentWidget.type==="sub-form"||this.parentWidget.type==="custom-sub-form":!1},addCssClass(h){this.field.options.customClass?this.field.options.customClass.push(h):this.field.options.customClass=[h]},removeCssClass(h){if(!this.field.options.customClass)return;let _=-1;this.field.options.customClass.map((e,g)=>{e===h&&(_=g)}),_>-1&&this.field.options.customClass.splice(_,1)}}},buttonWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$13={name:"button-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$13(h,_,e,g,M,x){const S=vue.resolveComponent("el-button"),b=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,"design-state":e.designState,"display-style":e.field.options.displayStyle,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",type:e.field.options.type,size:h.widgetSize,plain:e.field.options.plain,round:e.field.options.round,circle:e.field.options.circle,icon:e.field.options.icon,disabled:h.getDisabled(),onClick:h.handleButtonWidgetClick},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.label),1)]),_:1},8,["type","size","plain","round","circle","icon","disabled","onClick"])]),_:1},8,["designer","field","design-state","display-style","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var buttonWidget=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$13],["__scopeId","data-v-78bf6014"]]),__glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:buttonWidget},Symbol.toStringTag,{value:"Module"})),formItemWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$12={name:"form-item-wrapper",mixins:[i18n$1],components:{SvgIcon},props:{field:Object,designer:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""},rules:Array},inject:["getFormConfig"],computed:{formConfig(){return this.getFormConfig()},selected(){return!!this.designer&&this.field.id===this.designer.selectedId},label(){return this.field.options.labelHidden?"":this.field.options.label},labelWidth(){return this.field.options.labelHidden?0:this.field.options.labelWidth?this.field.options.labelWidth:this.designer?this.designer.formConfig.labelWidth:this.formConfig.labelWidth},labelAlign(){return this.field.options.labelAlign?this.field.options.labelAlign:this.designer?this.designer.formConfig.labelAlign||"label-left-align":this.formConfig.labelAlign||"label-left-align"},customClass(){return this.field.options.customClass?this.field.options.customClass.join(" "):""},subFormName(){return this.parentWidget?this.parentWidget.options.name:""},subFormItemFlag(){return this.parentWidget?this.parentWidget.type==="sub-form"||this.parentWidget.type==="custom-sub-form":!1}},created(){},methods:{selectField(h){this.designer&&(this.designer.setSelected(h),this.designer.emitEvent("field-selected",this.parentWidget))},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},removeFieldWidget(){if(this.parentList){const h=this.designer.selectedWidgetName;let _=null;this.parentList.length===1?this.parentWidget&&(_=this.parentWidget):this.parentList.length===1+this.indexOfParentList?_=this.parentList[this.indexOfParentList-1]:_=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(_),this.designer.formWidget.deleteWidgetRef(h),this.designer.emitHistoryChange()})}},getPropName(){return this.subFormItemFlag&&!this.designState?this.subFormName+"."+this.subFormRowIndex+"."+this.field.options.name+"":this.field.options.name}}},_hoisted_1$D={key:0,class:"custom-label"},_hoisted_2$t={key:0,class:"field-action"},_hoisted_3$q=["title"],_hoisted_4$f=["title"],_hoisted_5$c=["title"],_hoisted_6$b=["title"],_hoisted_7$9={key:1,class:"drag-handler background-opacity"},_hoisted_8$5=["title"],_hoisted_9$4={key:0};function _sfc_render$12(h,_,e,g,M,x){const S=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-tooltip"),c=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["field-wrapper",{"design-time-bottom-margin":!!this.designer}])},[!!e.field.formItemFlag&&(!e.field.options.hidden||e.designState===!0)?(vue.openBlock(),vue.createBlock(c,{key:0,label:x.label,"label-width":x.labelWidth+"px",title:e.field.options.labelTooltip,rules:e.rules,prop:x.getPropName(),class:vue.normalizeClass([x.selected?"selected":"",x.labelAlign,x.customClass,e.field.options.required?"required":""]),onClick:_[0]||(_[0]=vue.withModifiers(u=>x.selectField(e.field),["stop"]))},{label:vue.withCtx(()=>[e.field.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$D,[e.field.options.labelIconPosition==="front"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[e.field.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(b,{content:e.field.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])]),_:1},8,["content"]),vue.createTextVNode(vue.toDisplayString(x.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(S,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(x.label),1)],64))],64)):e.field.options.labelIconPosition==="rear"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[e.field.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(x.label),1),vue.createVNode(b,{content:e.field.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])]),_:1},8,["content"])],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(x.label),1),vue.createVNode(S,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[vue.renderSlot(h.$slots,"default",{},void 0,!0)]),_:3},8,["label","label-width","title","rules","prop","class"])):vue.createCommentVNode("",!0),this.designer?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$t,[vue.createElementVNode("i",{title:h.i18nt("designer.hint.selectParentWidget"),onClick:_[1]||(_[1]=vue.withModifiers(u=>x.selectParentWidget(e.field),["stop"]))},[vue.createVNode(S,{"icon-class":"el-back"})],8,_hoisted_3$q),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:h.i18nt("designer.hint.moveUpWidget"),onClick:_[2]||(_[2]=vue.withModifiers(u=>x.moveUpWidget(e.field),["stop"]))},[vue.createVNode(S,{"icon-class":"el-move-up"})],8,_hoisted_4$f)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:h.i18nt("designer.hint.moveDownWidget"),onClick:_[3]||(_[3]=vue.withModifiers(u=>x.moveDownWidget(e.field),["stop"]))},[vue.createVNode(S,{"icon-class":"el-move-down"})],8,_hoisted_5$c)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:h.i18nt("designer.hint.remove"),onClick:_[4]||(_[4]=vue.withModifiers((...u)=>x.removeFieldWidget&&x.removeFieldWidget(...u),["stop"]))},[vue.createVNode(S,{"icon-class":"el-delete"})],8,_hoisted_6$b)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$9,[vue.createElementVNode("i",{title:h.i18nt("designer.hint.dragHandler")},[vue.createVNode(S,{"icon-class":"el-drag-move"})],8,_hoisted_8$5),vue.createElementVNode("i",null,vue.toDisplayString(h.i18n2t(`designer.widgetLabel.${e.field.type}`,`extension.widgetLabel.${e.field.type}`)),1),e.field.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$4,[vue.createVNode(S,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],2)}var FormItemWrapper=_export_sfc$1(_sfc_main$12,[["render",_sfc_render$12],["__scopeId","data-v-eed9a7f0"]]),__glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:FormItemWrapper},Symbol.toStringTag,{value:"Module"})),cascaderWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$11={name:"cascader-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{showFullPath(){return this.field.options.showAllLevels===void 0||!!this.field.options.showAllLevels}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}},_hoisted_1$C={class:"full-width-input"};function _sfc_render$11(h,_,e,g,M,x){const S=vue.resolveComponent("el-cascader"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$C,[vue.createVNode(S,{ref:"fieldEditor",options:e.field.options.optionItems,modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),size:h.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,placeholder:e.field.options.placeholder||h.i18nt("render.hint.selectPlaceholder"),"show-all-levels":x.showFullPath,props:{checkStrictly:e.field.options.checkStrictly,multiple:e.field.options.multiple,expandTrigger:"hover"},onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["options","modelValue","disabled","size","clearable","filterable","placeholder","show-all-levels","props","onFocus","onBlur","onChange"])])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var cascaderWidget=_export_sfc$1(_sfc_main$11,[["render",_sfc_render$11],["__scopeId","data-v-7c3dbd57"]]),__glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:cascaderWidget},Symbol.toStringTag,{value:"Module"})),checkboxWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$10={name:"checkbox-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$10(h,_,e,g,M,x){const S=vue.resolveComponent("el-checkbox-button"),b=vue.resolveComponent("el-checkbox"),c=vue.resolveComponent("el-checkbox-group"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(c,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=r=>M.fieldModel=r),disabled:h.getDisabled(),size:h.widgetSize,onChange:h.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems,(r,o)=>(vue.openBlock(),vue.createBlock(S,{key:o,label:r.value,disabled:r.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(r.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems,(r,o)=>(vue.openBlock(),vue.createBlock(b,{key:o,label:r.value,disabled:r.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(r.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","disabled","size","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var checkboxWidget=_export_sfc$1(_sfc_main$10,[["render",_sfc_render$10],["__scopeId","data-v-3944f5f4"]]),__glob_0_2$2=Object.freeze(Object.defineProperty({__proto__:null,default:checkboxWidget},Symbol.toStringTag,{value:"Module"})),colorWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$$={name:"color-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$$(h,_,e,g,M,x){const S=vue.resolveComponent("el-color-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),size:h.widgetSize,disabled:h.getDisabled(),onChange:h.handleChangeEvent},null,8,["modelValue","size","disabled","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var colorWidget=_export_sfc$1(_sfc_main$$,[["render",_sfc_render$$],["__scopeId","data-v-52b66ef1"]]),__glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,default:colorWidget},Symbol.toStringTag,{value:"Module"})),dateRangeWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$_={name:"date-range-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$_(h,_,e,g,M,x){const S=vue.resolveComponent("el-date-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",type:e.field.options.type,modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),readonly:e.field.options.readonly,size:h.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":e.field.options.valueFormat,"start-placeholder":e.field.options.startPlaceholder||h.i18nt("render.hint.startDatePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||h.i18nt("render.hint.endDatePlaceholder"),onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["type","modelValue","disabled","readonly","size","clearable","editable","format","value-format","start-placeholder","end-placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var dateRangeWidget=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$_],["__scopeId","data-v-e50300fe"]]),__glob_0_4$2=Object.freeze(Object.defineProperty({__proto__:null,default:dateRangeWidget},Symbol.toStringTag,{value:"Module"})),dateWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$Z={name:"date-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$Z(h,_,e,g,M,x){const S=vue.resolveComponent("el-date-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",type:e.field.options.type,modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),readonly:e.field.options.readonly,disabled:h.getDisabled(),size:h.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":e.field.options.valueFormat,placeholder:e.field.options.placeholder||h.i18nt("render.hint.datePlaceholder"),onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["type","modelValue","class","readonly","disabled","size","clearable","editable","format","value-format","placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var dateWidget=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$Z],["__scopeId","data-v-89ff4bae"]]),__glob_0_5$2=Object.freeze(Object.defineProperty({__proto__:null,default:dateWidget},Symbol.toStringTag,{value:"Module"})),dividerWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$Y={name:"divider-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$Y(h,_,e,g,M,x){const S=vue.resolveComponent("el-divider"),b=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",direction:"horizontal","content-position":e.field.options.contentPosition},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.label),1)]),_:1},8,["content-position"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var dividerWidget=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$Y],["__scopeId","data-v-09a1b973"]]),__glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:dividerWidget},Symbol.toStringTag,{value:"Module"})),_export_sfc=(h,_)=>{const e=h.__vccOpts||h;for(const[g,M]of _)e[g]=M;return e};const _sfc_main$X=vue.defineComponent({name:"ArrowDownBold"}),_hoisted_1$B={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$s=vue.createElementVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z"},null,-1),_hoisted_3$p=[_hoisted_2$s];function _sfc_render$X(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$B,_hoisted_3$p)}var arrowDownBold=_export_sfc(_sfc_main$X,[["render",_sfc_render$X]]);const _sfc_main$W=vue.defineComponent({name:"ArrowDown"}),_hoisted_1$A={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$r=vue.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"},null,-1),_hoisted_3$o=[_hoisted_2$r];function _sfc_render$W(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$A,_hoisted_3$o)}var arrowDown=_export_sfc(_sfc_main$W,[["render",_sfc_render$W]]);const _sfc_main$V=vue.defineComponent({name:"ArrowUp"}),_hoisted_1$z={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$q=vue.createElementVNode("path",{fill:"currentColor",d:"M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"},null,-1),_hoisted_3$n=[_hoisted_2$q];function _sfc_render$V(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$z,_hoisted_3$n)}var arrowUp=_export_sfc(_sfc_main$V,[["render",_sfc_render$V]]);const _sfc_main$U=vue.defineComponent({name:"CirclePlus"}),_hoisted_1$y={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$p=vue.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"},null,-1),_hoisted_3$m=vue.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"},null,-1),_hoisted_4$e=vue.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1),_hoisted_5$b=[_hoisted_2$p,_hoisted_3$m,_hoisted_4$e];function _sfc_render$U(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$y,_hoisted_5$b)}var circlePlus=_export_sfc(_sfc_main$U,[["render",_sfc_render$U]]);const _sfc_main$T=vue.defineComponent({name:"Delete"}),_hoisted_1$x={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$o=vue.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"},null,-1),_hoisted_3$l=[_hoisted_2$o];function _sfc_render$T(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$x,_hoisted_3$l)}var _delete=_export_sfc(_sfc_main$T,[["render",_sfc_render$T]]);const _sfc_main$S=vue.defineComponent({name:"Edit"}),_hoisted_1$w={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$n=vue.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"},null,-1),_hoisted_3$k=vue.createElementVNode("path",{fill:"currentColor",d:"M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"},null,-1),_hoisted_4$d=[_hoisted_2$n,_hoisted_3$k];function _sfc_render$S(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$w,_hoisted_4$d)}var edit=_export_sfc(_sfc_main$S,[["render",_sfc_render$S]]);const _sfc_main$R=vue.defineComponent({name:"InfoFilled"}),_hoisted_1$v={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$m=vue.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),_hoisted_3$j=[_hoisted_2$m];function _sfc_render$R(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$v,_hoisted_3$j)}var infoFilled=_export_sfc(_sfc_main$R,[["render",_sfc_render$R]]);const _sfc_main$Q=vue.defineComponent({name:"Loading"}),_hoisted_1$u={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$l=vue.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"},null,-1),_hoisted_3$i=[_hoisted_2$l];function _sfc_render$Q(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$u,_hoisted_3$i)}var loading=_export_sfc(_sfc_main$Q,[["render",_sfc_render$Q]]);const _sfc_main$P=vue.defineComponent({name:"Minus"}),_hoisted_1$t={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$k=vue.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"},null,-1),_hoisted_3$h=[_hoisted_2$k];function _sfc_render$P(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$t,_hoisted_3$h)}var minus=_export_sfc(_sfc_main$P,[["render",_sfc_render$P]]);const _sfc_main$O=vue.defineComponent({name:"Plus"}),_hoisted_1$s={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$j=vue.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"},null,-1),_hoisted_3$g=[_hoisted_2$j];function _sfc_render$O(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$s,_hoisted_3$g)}var plus=_export_sfc(_sfc_main$O,[["render",_sfc_render$O]]);const _sfc_main$N=vue.defineComponent({name:"Search"}),_hoisted_1$r={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$i=vue.createElementVNode("path",{fill:"currentColor",d:"M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"},null,-1),_hoisted_3$f=[_hoisted_2$i];function _sfc_render$N(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$r,_hoisted_3$f)}var search=_export_sfc(_sfc_main$N,[["render",_sfc_render$N]]),defaultConfig={expireTimes:"1d",path:"; path=/",domain:"",secure:!1,sameSite:"; SameSite=Lax"},VueCookiesManager=function(){function h(){this.current_default_config=defaultConfig}return h.prototype.config=function(_){for(var e in this.current_default_config)this.current_default_config[e]=_[e]?_[e]:defaultConfig[e]},h.prototype.get=function(_){var e=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(_).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(e&&e.substring(0,1)==="{"&&e.substring(e.length-1,e.length)==="}")try{e=JSON.parse(e)}catch{return e}return e},h.prototype.set=function(_,e,g,M,x,S,b){if(_){if(/^(?:expires|max-age|path|domain|secure|SameSite)$/i.test(_))throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"] current key name: '+_)}else throw new Error("Cookie name is not found in the first argument.");e&&e.constructor===Object&&(e=JSON.stringify(e));var c="";if(g==null&&(g=this.current_default_config.expireTimes?this.current_default_config.expireTimes:""),g&&g!=0)switch(g.constructor){case Number:g===1/0||g===-1?c="; expires=Fri, 31 Dec 9999 23:59:59 GMT":c="; max-age="+g;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(g)){var u=g.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(g.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":c="; max-age="+ +u*2592e3;break;case"d":c="; max-age="+ +u*86400;break;case"h":c="; max-age="+ +u*3600;break;case"min":c="; max-age="+ +u*60;break;case"s":c="; max-age="+u;break;case"y":c="; max-age="+ +u*31104e3;break}}else c="; expires="+g;break;case Date:c="; expires="+g.toUTCString();break}return document.cookie=encodeURIComponent(_)+"="+encodeURIComponent(e)+c+(x?"; domain="+x:this.current_default_config.domain?this.current_default_config.domain:"")+(M?"; path="+M:this.current_default_config.path?this.current_default_config.path:"; path=/")+(S==null?this.current_default_config.secure?"; Secure":"":S?"; Secure":"")+(b==null?this.current_default_config.sameSite?"; SameSute="+this.current_default_config.sameSite:"":b?"; SameSite="+b:""),this},h.prototype.remove=function(_,e,g){return!_||!this.isKey(_)?!1:(document.cookie=encodeURIComponent(_)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(g?"; domain="+g:this.current_default_config.domain?this.current_default_config.domain:"")+(e?"; path="+e:this.current_default_config.path?this.current_default_config.path:"; path=/")+"; SameSite=Lax",!0)},h.prototype.isKey=function(_){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(_).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},h.prototype.keys=function(){if(!document.cookie)return[];for(var _=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),e=0;e<_.length;e++)_[e]=decodeURIComponent(_[e]);return _},h}(),GLOBAL_COOKIES_MANAGER=null;function useCookies(){GLOBAL_COOKIES_MANAGER==null&&(GLOBAL_COOKIES_MANAGER=new VueCookiesManager);var h=vue.reactive(GLOBAL_COOKIES_MANAGER);return{cookies:h}}var _imports_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABsUlEQVR4AaxSy0ojURA9dTMZZobxA4ZhZhgXLlwo4kLcuRMknU4aIuILFPyP/Ieg4Asx0El3B8GdO3EhogsXLhQV8QMUFTVdnmC6JWkVRIu6fU/XOXW41L0GH4zPM1DLmVDL3lMrb792KM3mHfLU2KOR5vkEvV3LgJxCw2XNZnvQEprL9UJ1EdBjBN5qRMcGUiyGkJDOcoTQ+Dro/IpEmsn8Rk08CA5xmR4XIIy42KBeEN+/ZLNFYRpfw4oWCt/Vsn5AvnjsSUE0K5ulq7o2Wk0G9aKsuydQyQPahdv7eSC1wHonDHLieWdoiYRBnZdqeQsiM8TDXA7xNJu3iRP5okFC9UbhRQPN5Ps58Vn2rXG5xHNq233EiUwY6JDzj8MqA7KPb+kpoDYJ4IBzr9DkD3FTNhnw/ttgwoCKO9yZnJRKNxIE19AHPi5T43B9HSj8JB+niZAWiwZqVjj9dkhoy4Z7EXFSrZ4jpTYUHWi7X1LwThpkbICd/TE2/4WYMb6H3QYfb1Kp7PA2JgD5D8seQSNiAwncRQm8bgnKfDQNtmUTv+ySp8bjSZ/I2ODp9/3fRwAAAP//S/wI2gAAAAZJREFUAwCGXJIhFOitmwAAAABJRU5ErkJggg==",fileUploadWidget_vue_vue_type_style_index_0_scoped_true_lang="";useCookies();let selectFileText="'"+translate("render.hint.selectFile")+"'";const _sfc_main$M={name:"file-upload-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{SvgIcon,FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:[],rules:[],uploadHeaders:{authorization:sessionStorage.getItem("Authorization"),Company:sessionStorage.getItem("companyId"),Post:sessionStorage.getItem("postId"),client:"web"},uploadData:{},fileList:[],uploadBtnHidden:!1,styleVariables:{"--select-file-action":selectFileText},showProgress:!1,progressPercent:0}},computed:{realUploadURL(){const h=this.field.options.uploadURL;if(!!h&&(h.indexOf("DSV.")>-1||h.indexOf("DSV[")>-1)){const _=this.getGlobalDsv();return evalFn(this.field.options.uploadURL,_)}return h||"/api/unified-file/sys-file/upload/?system=WF"}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleProgress(h,_,e){this.showProgress=!0,this.progressPercent=Math.round(h.percent)},handleFileExceed(){let h=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",h))},beforeFileUpload(h){var S,b,c;let _=!1;const e=h.name.substring(h.name.lastIndexOf(".")+1);if(((b=(S=this.field.options)==null?void 0:S.fileTypes)==null?void 0:b.length)&&(_=this.field.options.fileTypes.some(u=>e.toLowerCase()===u.toLowerCase())),!_)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+e),!1;let g=5;if(((c=this.field.options)==null?void 0:c.fileMaxSize)&&(g=this.field.options.fileMaxSize),!(h.size/1024/1024<=g))return this.$message.error(this.i18nt("render.hint.fileSizeExceed")+g+"MB"),!1;this.uploadData.key=h.name;const x=this.handleOnBeforeUpload(h);return x&&(this.showProgress=!0),x},handleOnBeforeUpload(h){if(this.field.options.onBeforeUpload){let e=new Function("file",this.field.options.onBeforeUpload).call(this,h);return typeof e=="boolean"?e:!0}else return!0},buildFieldModelFromFileList(h,_){const e=h.filter(g=>g.status==="success"&&(g.response!=null||g.url)).map(g=>{var S,b,c,u,r,o,t,i,n,s,a;const M=g.response,x=(M==null?void 0:M.data)!=null?M.data:M;return x&&(x.fileName!=null||x.fileUrl!=null||x.url!=null)?{fileName:(b=(S=x.fileName)!=null?S:x.name)!=null?b:g.name,fileId:x.fileId,fileUrl:(r=(u=(c=x.fileUrl)!=null?c:x.url)!=null?u:g.url)!=null?r:"",type:x.type,name:(t=(o=x.fileName)!=null?o:x.name)!=null?t:g.name,url:(s=(n=(i=x.fileUrl)!=null?i:x.url)!=null?n:g.url)!=null?s:""}:{fileName:g.name,fileId:g.uid,fileUrl:g.url||"",type:(a=g.raw)==null?void 0:a.type,name:g.name,url:g.url||""}});if(_&&_.name&&_.url){const g=e.length-1;g>=0?e[g]=Ot(Ue({},e[g]),{name:_.name,url:_.url,fileName:_.name,fileUrl:_.url}):e.push({name:_.name,url:_.url,fileName:_.name,fileUrl:_.url})}return e},updateFieldModelAndEmitDataChangeForUpload(h,_){const e=deepClone(this.fieldModel);this.fieldModel=this.buildFieldModelFromFileList(h,_),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,e),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFileUpload(h,_,e){var g;if(_.status==="success"){let M=null;this.field.options.onUploadSuccess&&(M=new Function("result","file","fileList",this.field.options.onUploadSuccess).call(this,h,_,e)),this.updateFieldModelAndEmitDataChangeForUpload(e,M),!!M&&!!M.name?_.name=M.name:_.name=_.name||(h==null?void 0:h.name)||(h==null?void 0:h.fileName)||(h==null?void 0:h.filename),!!M&&!!M.url?_.url=M.url:_.url=_.url||(h==null?void 0:h.url)||((g=h==null?void 0:h.data)==null?void 0:g.fileUrl),this.fileList=deepClone(e),this.uploadBtnHidden=e.length>=this.field.options.limit,!e.some(S=>S.status==="uploading")&&(this.showProgress=!1,elementPlus.ElMessage.success(this.field.options.multipleSelect?"\u6279\u91CF\u4E0A\u4F20\u6210\u529F":"\u4E0A\u4F20\u6210\u529F"))}},updateFieldModelAndEmitDataChangeForRemove(h,_){let e=deepClone(this.fieldModel);this.fieldModel.splice(h,1),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,e),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},removeUploadFile(h,_,e){let g=-1,M=null;this.fileList.forEach((x,S)=>{x.name===h&&(x.url===_||!!e&&x.uid===e)&&(g=S,M=x)}),g>=0&&(this.fileList.splice(g,1),this.updateFieldModelAndEmitDataChangeForRemove(g,this.fileList),this.uploadBtnHidden=this.fileList.length>=this.field.options.limit,this.field.options.onFileRemove&&new Function("file","fileList",this.field.options.onFileRemove).call(this,M,this.fileList))},handleUploadError(h,_,e){this.field.options.onUploadError?new Function("error","file","fileList",this.field.options.onUploadError).call(this,h,_,e):this.$message({message:this.i18nt("render.hint.uploadError")+h,duration:3e3,type:"error"})}}},_hoisted_1$q={class:"file-upload-widget-container"},_hoisted_2$h={key:0,class:"el-upload__tip"},_hoisted_3$e={class:"upload-file-list"},_hoisted_4$c={class:"left-wrap"},_hoisted_5$a=["title"],_hoisted_6$a={class:"right-wrap"},_hoisted_7$8=["title","onClick"];function _sfc_render$M(h,_,e,g,M,x){const S=vue.resolveComponent("upload-filled"),b=vue.resolveComponent("el-icon"),c=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-upload"),r=vue.resolveComponent("el-progress"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$q,[vue.createVNode(u,{ref:"fieldEditor",disabled:h.getDisabled(),style:vue.normalizeStyle(M.styleVariables),class:vue.normalizeClass(["dynamicPseudoAfter",{hideUploadDiv:M.uploadBtnHidden||h.getDisabled()}]),action:x.realUploadURL,headers:M.uploadHeaders,data:M.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":M.fileList,"show-file-list":e.field.options.showFileList,limit:e.field.options.limit,"on-success":x.handleFileUpload,"on-error":x.handleUploadError,drag:e.field.options.allowDrag&&!h.getDisabled(),"on-exceed":x.handleFileExceed,"before-upload":x.beforeFileUpload,"on-progress":x.handleProgress},vue.createSlots({tip:vue.withCtx(()=>[!!e.field.options.uploadTip&&!h.getDisabled()?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$h,vue.toDisplayString(e.field.options.uploadTip),1)):vue.createCommentVNode("",!0)]),file:vue.withCtx(({file:t})=>[vue.createElementVNode("div",_hoisted_3$e,[vue.createElementVNode("div",_hoisted_4$c,[vue.createElementVNode("span",{class:"upload-file-name",title:t.name},vue.toDisplayString(t.name),9,_hoisted_5$a)]),vue.createElementVNode("div",_hoisted_6$a,[h.getDisabled()?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"file-action",title:h.i18nt("render.hint.removeFile"),onClick:i=>x.removeUploadFile(t.name,t.url,t.uid)},[..._[2]||(_[2]=[vue.createElementVNode("img",{src:_imports_0,alt:""},null,-1)])],8,_hoisted_7$8))])])]),_:2},[h.getDisabled()?void 0:{name:"default",fn:vue.withCtx(()=>[e.field.options.allowDrag?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(b,{class:"el-icon--upload"},{default:vue.withCtx(()=>[vue.createVNode(S)]),_:1}),_[0]||(_[0]=vue.createElementVNode("div",{class:"el-upload__text"}," \u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20 ",-1))],64)):(vue.openBlock(),vue.createBlock(c,{key:1,type:"primary"},{default:vue.withCtx(()=>[..._[1]||(_[1]=[vue.createTextVNode(" \u9009\u62E9\u6587\u4EF6",-1)])]),_:1}))]),key:"0"}]),1032,["disabled","style","action","headers","data","with-credentials","multiple","file-list","show-file-list","class","limit","on-success","on-error","drag","on-exceed","before-upload","on-progress"]),vue.createVNode(r,{style:vue.normalizeStyle({display:M.showProgress?"inline-flex":"none",width:"100%"}),percentage:M.progressPercent},null,8,["style","percentage"])])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var fileUploadWidget=_export_sfc$1(_sfc_main$M,[["render",_sfc_render$M],["__scopeId","data-v-067c85e4"]]),__glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:fileUploadWidget},Symbol.toStringTag,{value:"Module"})),htmlTextWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$L={name:"html-text-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}},_hoisted_1$p=["innerHTML"];function _sfc_render$L(h,_,e,g,M,x){const S=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(S,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{ref:"fieldEditor",innerHTML:e.field.options.htmlContent},null,8,_hoisted_1$p)]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var htmlTextWidget=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$L],["__scopeId","data-v-3d941b4e"]]),__glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:htmlTextWidget},Symbol.toStringTag,{value:"Module"})),inputWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$K={name:"input-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,SvgIcon},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{inputType(){return this.field.options.type==="number"?"text":this.field.options.type}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$K(h,_,e,g,M,x){const S=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),c=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(c,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=r=>M.fieldModel=r),disabled:h.getDisabled(),readonly:e.field.options.readonly,size:h.widgetSize,class:"hide-spin-button",type:x.inputType,"show-password":e.field.options.showPassword,placeholder:e.field.options.placeholder,clearable:e.field.options.clearable,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,"prefix-icon":e.field.options.prefixIcon,"suffix-icon":e.field.options.suffixIcon,onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onInput:h.handleInputCustomEvent,onChange:h.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(b,{disabled:h.getDisabled()||e.field.options.appendButtonDisabled,onClick:h.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":e.field.options.buttonIcon},null,8,["icon-class"])]),_:1},8,["disabled","onClick"])]),key:"0"}:void 0]),1032,["modelValue","disabled","readonly","size","type","show-password","placeholder","clearable","minlength","maxlength","show-word-limit","prefix-icon","suffix-icon","onFocus","onBlur","onInput","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var inputWidget=_export_sfc$1(_sfc_main$K,[["render",_sfc_render$K],["__scopeId","data-v-0346e877"]]),__glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:inputWidget},Symbol.toStringTag,{value:"Module"})),numberWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$J={name:"number-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$J(h,_,e,g,M,x){const S=vue.resolveComponent("el-input-number"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),class:"full-width-input",disabled:h.getDisabled(),size:h.widgetSize,"controls-position":e.field.options.controlsPosition,placeholder:e.field.options.placeholder,min:e.field.options.min,max:e.field.options.max,precision:e.field.options.precision,step:e.field.options.step,onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["modelValue","disabled","size","controls-position","placeholder","min","max","precision","step","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var numberWidget=_export_sfc$1(_sfc_main$J,[["render",_sfc_render$J],["__scopeId","data-v-30c98522"]]),__glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:numberWidget},Symbol.toStringTag,{value:"Module"})),pictureUploadWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$I={name:"picture-upload-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,SvgIcon},data(){return{oldFieldValue:null,fieldModel:[],rules:[],uploadHeaders:{},uploadData:{key:""},fileList:[],fileListBeforeRemove:[],uploadBtnHidden:!1,previewIndex:1}},computed:{previewList(){return this.fileList.map(h=>h.url)},realUploadURL(){let h=this.field.options.uploadURL;if(!!h&&(h.indexOf("DSV.")>-1||h.indexOf("DSV[")>-1)){let _=this.getGlobalDsv();return console.log("test DSV: ",_),evalFn(this.field.options.uploadURL,_)}return this.field.options.uploadURL}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handlePictureExceed(){let h=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",h))},beforePictureUpload(h){let _=!1;if(!!this.field.options&&!!this.field.options.fileTypes){let M=this.field.options.fileTypes;M.length>0&&(_=M.some(x=>h.type==="image/"+x))}if(!_)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+h.type),!1;let e=!1,g=5;return!!this.field.options&&!!this.field.options.fileMaxSize&&(g=this.field.options.fileMaxSize),e=h.size/1024/1024<=g,e?(this.uploadData.key=h.name,this.handleOnBeforeUpload(h)):(this.$message.error(this.$("render.hint.fileSizeExceed")+g+"MB"),!1)},handleOnBeforeUpload(h){if(this.field.options.onBeforeUpload){let e=new Function("file",this.field.options.onBeforeUpload).call(this,h);return typeof e=="boolean"?e:!0}return!0},updateFieldModelAndEmitDataChangeForUpload(h,_,e){let g=deepClone(this.fieldModel);!!_&&!!_.name&&!!_.url?this.fieldModel.push({name:_.name,url:_.url}):!!e&&!!e.name&&!!e.url?this.fieldModel.push({name:e.name,url:e.url}):this.fieldModel=deepClone(h),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,g),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handlePictureUpload(h,_,e){if(_.status==="success"){let g=null;this.field.options.onUploadSuccess&&(g=new Function("result","file","fileList",this.field.options.onUploadSuccess).call(this,h,_,e)),this.updateFieldModelAndEmitDataChangeForUpload(e,g,h),this.fileList=deepClone(e),this.uploadBtnHidden=e.length>=this.field.options.limit}},updateFieldModelAndEmitDataChangeForRemove(h){let _=deepClone(this.fieldModel),e=-1;this.fileListBeforeRemove.map((g,M)=>{g.name===h.name&&(g.url===h.url||!!g.uid&&g.uid===h.uid)&&(e=M)}),e>-1&&this.fieldModel.splice(e,1),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,_),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleBeforeRemove(h){this.fileListBeforeRemove=deepClone(h)},handlePictureRemove(h){this.handleBeforeRemove(this.fileList),this.fileList.splice(this.fileList.indexOf(h),1),this.updateFieldModelAndEmitDataChangeForRemove(h);let _=deepClone(this.fileList);this.uploadBtnHidden=_.length>=this.field.options.limit,this.field.options.onFileRemove&&new Function("file","fileList",this.field.options.onFileRemove).call(this,h,_)},handleUploadError(h,_,e){this.field.options.onUploadError?new Function("error","file","fileList",this.field.options.onUploadError).call(this,h,_,e):this.$message({message:this.i18nt("render.hint.uploadError")+h,duration:3e3,type:"error"})},handlePictureCardPreview({url:h}){this.previewIndex=this.previewList.indexOf(h),this.$refs.imageRef.$el.children[0].click()}}},_hoisted_1$o={class:"el-upload-list__item-status-label"},_hoisted_2$g={class:"el-icon--upload-success",style:{color:"#FFF"}},_hoisted_3$d={class:"el-upload-list__item-actions"},_hoisted_4$b=["onClick"],_hoisted_5$9=["onClick"],_hoisted_6$9={key:0,class:"el-upload__tip"},_hoisted_7$7={class:"uploader-icon"};function _sfc_render$I(h,_,e,g,M,x){const S=vue.resolveComponent("el-image"),b=vue.resolveComponent("svg-icon"),c=vue.resolveComponent("el-upload"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(c,{ref:"fieldEditor",disabled:h.getDisabled(),action:x.realUploadURL,headers:M.uploadHeaders,data:M.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":M.fileList,"show-file-list":e.field.options.showFileList,"list-type":"picture-card",class:vue.normalizeClass({hideUploadDiv:M.uploadBtnHidden}),limit:e.field.options.limit,"on-exceed":x.handlePictureExceed,"before-upload":x.beforePictureUpload,"on-preview":x.handlePictureCardPreview,"on-success":x.handlePictureUpload,"on-error":x.handleUploadError,drag:e.field.options.allowDrag},{file:vue.withCtx(({file:r})=>[vue.createVNode(S,{ref:"imageRef",style:{width:"100%",height:"100%"},src:r.url,"preview-src-list":x.previewList,"initial-index":M.previewIndex,fit:"cover","preview-teleported":""},null,8,["src","preview-src-list","initial-index"]),vue.createElementVNode("label",_hoisted_1$o,[vue.createElementVNode("i",_hoisted_2$g,[vue.createVNode(b,{class:"","icon-class":"el-check"})])]),vue.createElementVNode("span",_hoisted_3$d,[vue.createElementVNode("span",{class:"el-upload-list__item-preview",onClick:o=>x.handlePictureCardPreview(r)},[vue.createVNode(b,{"icon-class":"el-zoom-in"})],8,_hoisted_4$b),vue.createElementVNode("span",{class:"el-upload-list__item-delete",onClick:o=>x.handlePictureRemove(r)},[vue.createVNode(b,{"icon-class":"el-delete"})],8,_hoisted_5$9)])]),tip:vue.withCtx(()=>[e.field.options.uploadTip?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$9,vue.toDisplayString(e.field.options.uploadTip),1)):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_7$7,[vue.createVNode(b,{"icon-class":"el-plus"})])]),_:1},8,["disabled","action","headers","data","with-credentials","multiple","file-list","show-file-list","class","limit","on-exceed","before-upload","on-preview","on-success","on-error","drag"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var pictureUploadWidget=_export_sfc$1(_sfc_main$I,[["render",_sfc_render$I],["__scopeId","data-v-4d09ba72"]]),__glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:pictureUploadWidget},Symbol.toStringTag,{value:"Module"})),radioWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$H={name:"radio-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$H(h,_,e,g,M,x){const S=vue.resolveComponent("el-radio-button"),b=vue.resolveComponent("el-radio"),c=vue.resolveComponent("el-radio-group"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(c,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=r=>M.fieldModel=r),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:h.getDisabled(),size:h.widgetSize,onChange:h.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems,(r,o)=>(vue.openBlock(),vue.createBlock(S,{key:o,label:r.value,disabled:r.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(r.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems,(r,o)=>(vue.openBlock(),vue.createBlock(b,{key:o,label:r.value,disabled:r.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(r.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","class","disabled","size","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var radioWidget=_export_sfc$1(_sfc_main$H,[["render",_sfc_render$H],["__scopeId","data-v-2579b66d"]]),__glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,default:radioWidget},Symbol.toStringTag,{value:"Module"})),rateWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$G={name:"rate-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$G(h,_,e,g,M,x){const S=vue.resolveComponent("el-rate"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),max:e.field.options.max,"low-threshold":e.field.options.lowThreshold,"high-threshold":e.field.options.highThreshold,"allow-half":e.field.options.allowHalf,"show-text":e.field.options.showText,"show-score":e.field.options.showScore,onChange:h.handleChangeEvent},null,8,["modelValue","disabled","max","low-threshold","high-threshold","allow-half","show-text","show-score","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var rateWidget=_export_sfc$1(_sfc_main$G,[["render",_sfc_render$G],["__scopeId","data-v-3c7d82fe"]]),__glob_0_14=Object.freeze(Object.defineProperty({__proto__:null,default:rateWidget},Symbol.toStringTag,{value:"Module"})),quill={exports:{}};/*!
|
|
34
34
|
* Quill Editor v1.3.7
|
|
35
35
|
* https://quilljs.com/
|
|
36
36
|
* Copyright (c) 2014, Jason Chen
|
|
@@ -72,7 +72,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
72
72
|
`)){var ge=oe.offsetHeight+parseFloat(U(oe).marginTop)+parseFloat(U(oe).marginBottom);oe.nextElementSibling.offsetTop>oe.offsetTop+ge*1.5&&le.insert(`
|
|
73
73
|
`)}return le}function Be(oe,le){var ge={},fe=oe.style||{};return fe.fontStyle&&U(oe).fontStyle==="italic"&&(ge.italic=!0),fe.fontWeight&&(U(oe).fontWeight.startsWith("bold")||parseInt(U(oe).fontWeight)>=700)&&(ge.bold=!0),Object.keys(ge).length>0&&(le=P(le,ge)),parseFloat(fe.textIndent||0)>0&&(le=new o.default().insert(" ").concat(le)),le}function Fe(oe,le){var ge=oe.data;if(oe.parentNode.tagName==="O:P")return le.insert(ge.trim());if(ge.trim().length===0&&oe.parentNode.classList.contains("ql-clipboard"))return le;if(!U(oe.parentNode).whiteSpace.startsWith("pre")){var fe=function(_e,ke){return ke=ke.replace(/[^\u00a0]/g,""),ke.length<1&&_e?" ":ke};ge=ge.replace(/\r\n/g," ").replace(/\n/g," "),ge=ge.replace(/\s\s+/g,fe.bind(fe,!0)),(oe.previousSibling==null&&j(oe.parentNode)||oe.previousSibling!=null&&j(oe.previousSibling))&&(ge=ge.replace(/^\s+/,fe.bind(fe,!1))),(oe.nextSibling==null&&j(oe.parentNode)||oe.nextSibling!=null&&j(oe.nextSibling))&&(ge=ge.replace(/\s+$/,fe.bind(fe,!1)))}return le.insert(ge)}g.default=H,g.matchAttributor=X,g.matchBlot=te,g.matchNewline=ve,g.matchSpacing=we,g.matchText=Fe},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function n(s,a){for(var d=0;d<a.length;d++){var f=a[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,d){return a&&n(s.prototype,a),d&&n(s,d),s}}(),S=function n(s,a,d){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,a);if(f===void 0){var w=Object.getPrototypeOf(s);return w===null?void 0:n(w,a,d)}else{if("value"in f)return f.value;var p=f.get;return p===void 0?void 0:p.call(d)}},b=M(6),c=u(b);function u(n){return n&&n.__esModule?n:{default:n}}function r(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function o(n,s){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:n}function t(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(n,s):n.__proto__=s)}var i=function(n){t(s,n);function s(){return r(this,s),o(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return x(s,[{key:"optimize",value:function(d){S(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"optimize",this).call(this,d),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return S(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),s}(c.default);i.blotName="bold",i.tagName=["STRONG","B"],g.default=i},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0}),g.addControls=g.default=void 0;var x=function(){function F(L,T){var k=[],A=!0,R=!1,N=void 0;try{for(var $=L[Symbol.iterator](),V;!(A=(V=$.next()).done)&&(k.push(V.value),!(T&&k.length===T));A=!0);}catch(z){R=!0,N=z}finally{try{!A&&$.return&&$.return()}finally{if(R)throw N}}return k}return function(L,T){if(Array.isArray(L))return L;if(Symbol.iterator in Object(L))return F(L,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),S=function(){function F(L,T){for(var k=0;k<T.length;k++){var A=T[k];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(L,A.key,A)}}return function(L,T,k){return T&&F(L.prototype,T),k&&F(L,k),L}}(),b=M(2),c=d(b),u=M(0),r=d(u),o=M(5),t=d(o),i=M(10),n=d(i),s=M(9),a=d(s);function d(F){return F&&F.__esModule?F:{default:F}}function f(F,L,T){return L in F?Object.defineProperty(F,L,{value:T,enumerable:!0,configurable:!0,writable:!0}):F[L]=T,F}function w(F,L){if(!(F instanceof L))throw new TypeError("Cannot call a class as a function")}function p(F,L){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L&&(typeof L=="object"||typeof L=="function")?L:F}function v(F,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof L);F.prototype=Object.create(L&&L.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),L&&(Object.setPrototypeOf?Object.setPrototypeOf(F,L):F.__proto__=L)}var m=(0,n.default)("quill:toolbar"),C=function(F){v(L,F);function L(T,k){w(this,L);var A=p(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,T,k));if(Array.isArray(A.options.container)){var R=document.createElement("div");I(R,A.options.container),T.container.parentNode.insertBefore(R,T.container),A.container=R}else typeof A.options.container=="string"?A.container=document.querySelector(A.options.container):A.container=A.options.container;if(!(A.container instanceof HTMLElement)){var N;return N=m.error("Container required for toolbar",A.options),p(A,N)}return A.container.classList.add("ql-toolbar"),A.controls=[],A.handlers={},Object.keys(A.options.handlers).forEach(function($){A.addHandler($,A.options.handlers[$])}),[].forEach.call(A.container.querySelectorAll("button, select"),function($){A.attach($)}),A.quill.on(t.default.events.EDITOR_CHANGE,function($,V){$===t.default.events.SELECTION_CHANGE&&A.update(V)}),A.quill.on(t.default.events.SCROLL_OPTIMIZE,function(){var $=A.quill.selection.getRange(),V=x($,1),z=V[0];A.update(z)}),A}return S(L,[{key:"addHandler",value:function(k,A){this.handlers[k]=A}},{key:"attach",value:function(k){var A=this,R=[].find.call(k.classList,function($){return $.indexOf("ql-")===0});if(!!R){if(R=R.slice("ql-".length),k.tagName==="BUTTON"&&k.setAttribute("type","button"),this.handlers[R]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[R]==null){m.warn("ignoring attaching to disabled format",R,k);return}if(r.default.query(R)==null){m.warn("ignoring attaching to nonexistent format",R,k);return}}var N=k.tagName==="SELECT"?"change":"click";k.addEventListener(N,function($){var V=void 0;if(k.tagName==="SELECT"){if(k.selectedIndex<0)return;var z=k.options[k.selectedIndex];z.hasAttribute("selected")?V=!1:V=z.value||!1}else k.classList.contains("ql-active")?V=!1:V=k.value||!k.hasAttribute("value"),$.preventDefault();A.quill.focus();var B=A.quill.selection.getRange(),H=x(B,1),P=H[0];if(A.handlers[R]!=null)A.handlers[R].call(A,V);else if(r.default.query(R).prototype instanceof r.default.Embed){if(V=prompt("Enter "+R),!V)return;A.quill.updateContents(new c.default().retain(P.index).delete(P.length).insert(f({},R,V)),t.default.sources.USER)}else A.quill.format(R,V,t.default.sources.USER);A.update(P)}),this.controls.push([R,k])}}},{key:"update",value:function(k){var A=k==null?{}:this.quill.getFormat(k);this.controls.forEach(function(R){var N=x(R,2),$=N[0],V=N[1];if(V.tagName==="SELECT"){var z=void 0;if(k==null)z=null;else if(A[$]==null)z=V.querySelector("option[selected]");else if(!Array.isArray(A[$])){var B=A[$];typeof B=="string"&&(B=B.replace(/\"/g,'\\"')),z=V.querySelector('option[value="'+B+'"]')}z==null?(V.value="",V.selectedIndex=-1):z.selected=!0}else if(k==null)V.classList.remove("ql-active");else if(V.hasAttribute("value")){var H=A[$]===V.getAttribute("value")||A[$]!=null&&A[$].toString()===V.getAttribute("value")||A[$]==null&&!V.getAttribute("value");V.classList.toggle("ql-active",H)}else V.classList.toggle("ql-active",A[$]!=null)})}}]),L}(a.default);C.DEFAULTS={};function D(F,L,T){var k=document.createElement("button");k.setAttribute("type","button"),k.classList.add("ql-"+L),T!=null&&(k.value=T),F.appendChild(k)}function I(F,L){Array.isArray(L[0])||(L=[L]),L.forEach(function(T){var k=document.createElement("span");k.classList.add("ql-formats"),T.forEach(function(A){if(typeof A=="string")D(k,A);else{var R=Object.keys(A)[0],N=A[R];Array.isArray(N)?E(k,R,N):D(k,R,N)}}),F.appendChild(k)})}function E(F,L,T){var k=document.createElement("select");k.classList.add("ql-"+L),T.forEach(function(A){var R=document.createElement("option");A!==!1?R.setAttribute("value",A):R.setAttribute("selected","selected"),k.appendChild(R)}),F.appendChild(k)}C.DEFAULTS={container:null,handlers:{clean:function(){var L=this,T=this.quill.getSelection();if(T!=null)if(T.length==0){var k=this.quill.getFormat();Object.keys(k).forEach(function(A){r.default.query(A,r.default.Scope.INLINE)!=null&&L.quill.format(A,!1)})}else this.quill.removeFormat(T,t.default.sources.USER)},direction:function(L){var T=this.quill.getFormat().align;L==="rtl"&&T==null?this.quill.format("align","right",t.default.sources.USER):!L&&T==="right"&&this.quill.format("align",!1,t.default.sources.USER),this.quill.format("direction",L,t.default.sources.USER)},indent:function(L){var T=this.quill.getSelection(),k=this.quill.getFormat(T),A=parseInt(k.indent||0);if(L==="+1"||L==="-1"){var R=L==="+1"?1:-1;k.direction==="rtl"&&(R*=-1),this.quill.format("indent",A+R,t.default.sources.USER)}},link:function(L){L===!0&&(L=prompt("Enter link URL:")),this.quill.format("link",L,t.default.sources.USER)},list:function(L){var T=this.quill.getSelection(),k=this.quill.getFormat(T);L==="check"?k.list==="checked"||k.list==="unchecked"?this.quill.format("list",!1,t.default.sources.USER):this.quill.format("list","unchecked",t.default.sources.USER):this.quill.format("list",L,t.default.sources.USER)}}},g.default=C,g.addControls=I},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function n(s,a){for(var d=0;d<a.length;d++){var f=a[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,d){return a&&n(s.prototype,a),d&&n(s,d),s}}(),S=function n(s,a,d){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,a);if(f===void 0){var w=Object.getPrototypeOf(s);return w===null?void 0:n(w,a,d)}else{if("value"in f)return f.value;var p=f.get;return p===void 0?void 0:p.call(d)}},b=M(28),c=u(b);function u(n){return n&&n.__esModule?n:{default:n}}function r(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function o(n,s){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:n}function t(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(n,s):n.__proto__=s)}var i=function(n){t(s,n);function s(a,d){r(this,s);var f=o(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,a));return f.label.innerHTML=d,f.container.classList.add("ql-color-picker"),[].slice.call(f.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(w){w.classList.add("ql-primary")}),f}return x(s,[{key:"buildItem",value:function(d){var f=S(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"buildItem",this).call(this,d);return f.style.backgroundColor=d.getAttribute("value")||"",f}},{key:"selectItem",value:function(d,f){S(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"selectItem",this).call(this,d,f);var w=this.label.querySelector(".ql-color-label"),p=d&&d.getAttribute("data-value")||"";w&&(w.tagName==="line"?w.style.stroke=p:w.style.fill=p)}}]),s}(c.default);g.default=i},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function n(s,a){for(var d=0;d<a.length;d++){var f=a[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,d){return a&&n(s.prototype,a),d&&n(s,d),s}}(),S=function n(s,a,d){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,a);if(f===void 0){var w=Object.getPrototypeOf(s);return w===null?void 0:n(w,a,d)}else{if("value"in f)return f.value;var p=f.get;return p===void 0?void 0:p.call(d)}},b=M(28),c=u(b);function u(n){return n&&n.__esModule?n:{default:n}}function r(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function o(n,s){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:n}function t(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(n,s):n.__proto__=s)}var i=function(n){t(s,n);function s(a,d){r(this,s);var f=o(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,a));return f.container.classList.add("ql-icon-picker"),[].forEach.call(f.container.querySelectorAll(".ql-picker-item"),function(w){w.innerHTML=d[w.getAttribute("data-value")||""]}),f.defaultItem=f.container.querySelector(".ql-selected"),f.selectItem(f.defaultItem),f}return x(s,[{key:"selectItem",value:function(d,f){S(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"selectItem",this).call(this,d,f),d=d||this.defaultItem,this.label.innerHTML=d.innerHTML}}]),s}(c.default);g.default=i},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function c(u,r){for(var o=0;o<r.length;o++){var t=r[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(u,t.key,t)}}return function(u,r,o){return r&&c(u.prototype,r),o&&c(u,o),u}}();function S(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}var b=function(){function c(u,r){var o=this;S(this,c),this.quill=u,this.boundsContainer=r||document.body,this.root=u.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"}),this.hide()}return x(c,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(r){var o=r.left+r.width/2-this.root.offsetWidth/2,t=r.bottom+this.quill.root.scrollTop;this.root.style.left=o+"px",this.root.style.top=t+"px",this.root.classList.remove("ql-flip");var i=this.boundsContainer.getBoundingClientRect(),n=this.root.getBoundingClientRect(),s=0;if(n.right>i.right&&(s=i.right-n.right,this.root.style.left=o+s+"px"),n.left<i.left&&(s=i.left-n.left,this.root.style.left=o+s+"px"),n.bottom>i.bottom){var a=n.bottom-n.top,d=r.bottom-r.top+a;this.root.style.top=t-d+"px",this.root.classList.add("ql-flip")}return s}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),c}();g.default=b},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function E(F,L){var T=[],k=!0,A=!1,R=void 0;try{for(var N=F[Symbol.iterator](),$;!(k=($=N.next()).done)&&(T.push($.value),!(L&&T.length===L));k=!0);}catch(V){A=!0,R=V}finally{try{!k&&N.return&&N.return()}finally{if(A)throw R}}return T}return function(F,L){if(Array.isArray(F))return F;if(Symbol.iterator in Object(F))return E(F,L);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),S=function E(F,L,T){F===null&&(F=Function.prototype);var k=Object.getOwnPropertyDescriptor(F,L);if(k===void 0){var A=Object.getPrototypeOf(F);return A===null?void 0:E(A,L,T)}else{if("value"in k)return k.value;var R=k.get;return R===void 0?void 0:R.call(T)}},b=function(){function E(F,L){for(var T=0;T<L.length;T++){var k=L[T];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(F,k.key,k)}}return function(F,L,T){return L&&E(F.prototype,L),T&&E(F,T),F}}(),c=M(3),u=w(c),r=M(8),o=w(r),t=M(43),i=w(t),n=M(27),s=w(n),a=M(15),d=M(41),f=w(d);function w(E){return E&&E.__esModule?E:{default:E}}function p(E,F){if(!(E instanceof F))throw new TypeError("Cannot call a class as a function")}function v(E,F){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:E}function m(E,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);E.prototype=Object.create(F&&F.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(E,F):E.__proto__=F)}var C=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],D=function(E){m(F,E);function F(L,T){p(this,F),T.modules.toolbar!=null&&T.modules.toolbar.container==null&&(T.modules.toolbar.container=C);var k=v(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,L,T));return k.quill.container.classList.add("ql-snow"),k}return b(F,[{key:"extendToolbar",value:function(T){T.container.classList.add("ql-snow"),this.buildButtons([].slice.call(T.container.querySelectorAll("button")),f.default),this.buildPickers([].slice.call(T.container.querySelectorAll("select")),f.default),this.tooltip=new I(this.quill,this.options.bounds),T.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(k,A){T.handlers.link.call(T,!A.format.link)})}}]),F}(i.default);D.DEFAULTS=(0,u.default)(!0,{},i.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(F){if(F){var L=this.quill.getSelection();if(L==null||L.length==0)return;var T=this.quill.getText(L);/^\S+@\S+\.\S+$/.test(T)&&T.indexOf("mailto:")!==0&&(T="mailto:"+T);var k=this.quill.theme.tooltip;k.edit("link",T)}else this.quill.format("link",!1)}}}}});var I=function(E){m(F,E);function F(L,T){p(this,F);var k=v(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,L,T));return k.preview=k.root.querySelector("a.ql-preview"),k}return b(F,[{key:"listen",value:function(){var T=this;S(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(k){T.root.classList.contains("ql-editing")?T.save():T.edit("link",T.preview.textContent),k.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(k){if(T.linkRange!=null){var A=T.linkRange;T.restoreFocus(),T.quill.formatText(A,"link",!1,o.default.sources.USER),delete T.linkRange}k.preventDefault(),T.hide()}),this.quill.on(o.default.events.SELECTION_CHANGE,function(k,A,R){if(k!=null){if(k.length===0&&R===o.default.sources.USER){var N=T.quill.scroll.descendant(s.default,k.index),$=x(N,2),V=$[0],z=$[1];if(V!=null){T.linkRange=new a.Range(k.index-z,V.length());var B=s.default.formats(V.domNode);T.preview.textContent=B,T.preview.setAttribute("href",B),T.show(),T.position(T.quill.getBounds(T.linkRange));return}}else delete T.linkRange;T.hide()}})}},{key:"show",value:function(){S(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),F}(t.BaseTooltip);I.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),g.default=D},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=M(29),S=ue(x),b=M(36),c=M(38),u=M(64),r=M(65),o=ue(r),t=M(66),i=ue(t),n=M(67),s=ue(n),a=M(37),d=M(26),f=M(39),w=M(40),p=M(56),v=ue(p),m=M(68),C=ue(m),D=M(27),I=ue(D),E=M(69),F=ue(E),L=M(70),T=ue(L),k=M(71),A=ue(k),R=M(72),N=ue(R),$=M(73),V=ue($),z=M(13),B=ue(z),H=M(74),P=ue(H),U=M(75),G=ue(U),j=M(57),K=ue(j),Q=M(41),X=ue(Q),te=M(28),se=ue(te),pe=M(59),me=ue(pe),ve=M(60),we=ue(ve),Be=M(61),Fe=ue(Be),oe=M(108),le=ue(oe),ge=M(62),fe=ue(ge);function ue(_e){return _e&&_e.__esModule?_e:{default:_e}}S.default.register({"attributors/attribute/direction":c.DirectionAttribute,"attributors/class/align":b.AlignClass,"attributors/class/background":a.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":c.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":w.SizeClass,"attributors/style/align":b.AlignStyle,"attributors/style/background":a.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":c.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":w.SizeStyle},!0),S.default.register({"formats/align":b.AlignClass,"formats/direction":c.DirectionClass,"formats/indent":u.IndentClass,"formats/background":a.BackgroundStyle,"formats/color":d.ColorStyle,"formats/font":f.FontClass,"formats/size":w.SizeClass,"formats/blockquote":o.default,"formats/code-block":B.default,"formats/header":i.default,"formats/list":s.default,"formats/bold":v.default,"formats/code":z.Code,"formats/italic":C.default,"formats/link":I.default,"formats/script":F.default,"formats/strike":T.default,"formats/underline":A.default,"formats/image":N.default,"formats/video":V.default,"formats/list/item":n.ListItem,"modules/formula":P.default,"modules/syntax":G.default,"modules/toolbar":K.default,"themes/bubble":le.default,"themes/snow":fe.default,"ui/icons":X.default,"ui/picker":se.default,"ui/icon-picker":we.default,"ui/color-picker":me.default,"ui/tooltip":Fe.default},!0),g.default=S.default},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0}),g.IndentClass=void 0;var x=function(){function s(a,d){for(var f=0;f<d.length;f++){var w=d[f];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(a,w.key,w)}}return function(a,d,f){return d&&s(a.prototype,d),f&&s(a,f),a}}(),S=function s(a,d,f){a===null&&(a=Function.prototype);var w=Object.getOwnPropertyDescriptor(a,d);if(w===void 0){var p=Object.getPrototypeOf(a);return p===null?void 0:s(p,d,f)}else{if("value"in w)return w.value;var v=w.get;return v===void 0?void 0:v.call(f)}},b=M(0),c=u(b);function u(s){return s&&s.__esModule?s:{default:s}}function r(s,a){if(!(s instanceof a))throw new TypeError("Cannot call a class as a function")}function o(s,a){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:s}function t(s,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);s.prototype=Object.create(a&&a.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(s,a):s.__proto__=a)}var i=function(s){t(a,s);function a(){return r(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return x(a,[{key:"add",value:function(f,w){if(w==="+1"||w==="-1"){var p=this.value(f)||0;w=w==="+1"?p+1:p-1}return w===0?(this.remove(f),!0):S(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"add",this).call(this,f,w)}},{key:"canAdd",value:function(f,w){return S(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"canAdd",this).call(this,f,w)||S(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"canAdd",this).call(this,f,parseInt(w))}},{key:"value",value:function(f){return parseInt(S(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"value",this).call(this,f))||void 0}}]),a}(c.default.Attributor.Class),n=new i("indent","ql-indent",{scope:c.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});g.IndentClass=n},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=M(4),S=b(x);function b(t){return t&&t.__esModule?t:{default:t}}function c(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function u(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:t}function r(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var o=function(t){r(i,t);function i(){return c(this,i),u(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return i}(S.default);o.blotName="blockquote",o.tagName="blockquote",g.default=o},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function i(n,s){for(var a=0;a<s.length;a++){var d=s[a];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(n,d.key,d)}}return function(n,s,a){return s&&i(n.prototype,s),a&&i(n,a),n}}(),S=M(4),b=c(S);function c(i){return i&&i.__esModule?i:{default:i}}function u(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function r(i,n){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:i}function o(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}var t=function(i){o(n,i);function n(){return u(this,n),r(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return x(n,null,[{key:"formats",value:function(a){return this.tagName.indexOf(a.tagName)+1}}]),n}(b.default);t.blotName="header",t.tagName=["H1","H2","H3","H4","H5","H6"],g.default=t},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0}),g.default=g.ListItem=void 0;var x=function(){function p(v,m){for(var C=0;C<m.length;C++){var D=m[C];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(v,D.key,D)}}return function(v,m,C){return m&&p(v.prototype,m),C&&p(v,C),v}}(),S=function p(v,m,C){v===null&&(v=Function.prototype);var D=Object.getOwnPropertyDescriptor(v,m);if(D===void 0){var I=Object.getPrototypeOf(v);return I===null?void 0:p(I,m,C)}else{if("value"in D)return D.value;var E=D.get;return E===void 0?void 0:E.call(C)}},b=M(0),c=i(b),u=M(4),r=i(u),o=M(25),t=i(o);function i(p){return p&&p.__esModule?p:{default:p}}function n(p,v,m){return v in p?Object.defineProperty(p,v,{value:m,enumerable:!0,configurable:!0,writable:!0}):p[v]=m,p}function s(p,v){if(!(p instanceof v))throw new TypeError("Cannot call a class as a function")}function a(p,v){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:p}function d(p,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);p.prototype=Object.create(v&&v.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(p,v):p.__proto__=v)}var f=function(p){d(v,p);function v(){return s(this,v),a(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return x(v,[{key:"format",value:function(C,D){C===w.blotName&&!D?this.replaceWith(c.default.create(this.statics.scope)):S(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,C,D)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():S(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(C,D){return this.parent.isolate(this.offset(this.parent),this.length()),C===this.parent.statics.blotName?(this.parent.replaceWith(C,D),this):(this.parent.unwrap(),S(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"replaceWith",this).call(this,C,D))}}],[{key:"formats",value:function(C){return C.tagName===this.tagName?void 0:S(v.__proto__||Object.getPrototypeOf(v),"formats",this).call(this,C)}}]),v}(r.default);f.blotName="list-item",f.tagName="LI";var w=function(p){d(v,p),x(v,null,[{key:"create",value:function(C){var D=C==="ordered"?"OL":"UL",I=S(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,D);return(C==="checked"||C==="unchecked")&&I.setAttribute("data-checked",C==="checked"),I}},{key:"formats",value:function(C){if(C.tagName==="OL")return"ordered";if(C.tagName==="UL")return C.hasAttribute("data-checked")?C.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function v(m){s(this,v);var C=a(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,m)),D=function(E){if(E.target.parentNode===m){var F=C.statics.formats(m),L=c.default.find(E.target);F==="checked"?L.format("list","unchecked"):F==="unchecked"&&L.format("list","checked")}};return m.addEventListener("touchstart",D),m.addEventListener("mousedown",D),C}return x(v,[{key:"format",value:function(C,D){this.children.length>0&&this.children.tail.format(C,D)}},{key:"formats",value:function(){return n({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(C,D){if(C instanceof f)S(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"insertBefore",this).call(this,C,D);else{var I=D==null?this.length():D.offset(this),E=this.split(I);E.parent.insertBefore(C,E)}}},{key:"optimize",value:function(C){S(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"optimize",this).call(this,C);var D=this.next;D!=null&&D.prev===this&&D.statics.blotName===this.statics.blotName&&D.domNode.tagName===this.domNode.tagName&&D.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(D.moveChildren(this),D.remove())}},{key:"replace",value:function(C){if(C.statics.blotName!==this.statics.blotName){var D=c.default.create(this.statics.defaultChild);C.moveChildren(D),this.appendChild(D)}S(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"replace",this).call(this,C)}}]),v}(t.default);w.blotName="list",w.scope=c.default.Scope.BLOCK_BLOT,w.tagName=["OL","UL"],w.defaultChild="list-item",w.allowedChildren=[f],g.ListItem=f,g.default=w},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=M(56),S=b(x);function b(t){return t&&t.__esModule?t:{default:t}}function c(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function u(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:t}function r(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var o=function(t){r(i,t);function i(){return c(this,i),u(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return i}(S.default);o.blotName="italic",o.tagName=["EM","I"],g.default=o},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function n(s,a){for(var d=0;d<a.length;d++){var f=a[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,d){return a&&n(s.prototype,a),d&&n(s,d),s}}(),S=function n(s,a,d){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,a);if(f===void 0){var w=Object.getPrototypeOf(s);return w===null?void 0:n(w,a,d)}else{if("value"in f)return f.value;var p=f.get;return p===void 0?void 0:p.call(d)}},b=M(6),c=u(b);function u(n){return n&&n.__esModule?n:{default:n}}function r(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function o(n,s){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:n}function t(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(n,s):n.__proto__=s)}var i=function(n){t(s,n);function s(){return r(this,s),o(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return x(s,null,[{key:"create",value:function(d){return d==="super"?document.createElement("sup"):d==="sub"?document.createElement("sub"):S(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this,d)}},{key:"formats",value:function(d){if(d.tagName==="SUB")return"sub";if(d.tagName==="SUP")return"super"}}]),s}(c.default);i.blotName="script",i.tagName=["SUB","SUP"],g.default=i},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=M(6),S=b(x);function b(t){return t&&t.__esModule?t:{default:t}}function c(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function u(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:t}function r(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var o=function(t){r(i,t);function i(){return c(this,i),u(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return i}(S.default);o.blotName="strike",o.tagName="S",g.default=o},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=M(6),S=b(x);function b(t){return t&&t.__esModule?t:{default:t}}function c(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function u(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:t}function r(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var o=function(t){r(i,t);function i(){return c(this,i),u(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return i}(S.default);o.blotName="underline",o.tagName="U",g.default=o},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function a(d,f){for(var w=0;w<f.length;w++){var p=f[w];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(d,p.key,p)}}return function(d,f,w){return f&&a(d.prototype,f),w&&a(d,w),d}}(),S=function a(d,f,w){d===null&&(d=Function.prototype);var p=Object.getOwnPropertyDescriptor(d,f);if(p===void 0){var v=Object.getPrototypeOf(d);return v===null?void 0:a(v,f,w)}else{if("value"in p)return p.value;var m=p.get;return m===void 0?void 0:m.call(w)}},b=M(0),c=r(b),u=M(27);function r(a){return a&&a.__esModule?a:{default:a}}function o(a,d){if(!(a instanceof d))throw new TypeError("Cannot call a class as a function")}function t(a,d){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:a}function i(a,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);a.prototype=Object.create(d&&d.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(a,d):a.__proto__=d)}var n=["alt","height","width"],s=function(a){i(d,a);function d(){return o(this,d),t(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return x(d,[{key:"format",value:function(w,p){n.indexOf(w)>-1?p?this.domNode.setAttribute(w,p):this.domNode.removeAttribute(w):S(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"format",this).call(this,w,p)}}],[{key:"create",value:function(w){var p=S(d.__proto__||Object.getPrototypeOf(d),"create",this).call(this,w);return typeof w=="string"&&p.setAttribute("src",this.sanitize(w)),p}},{key:"formats",value:function(w){return n.reduce(function(p,v){return w.hasAttribute(v)&&(p[v]=w.getAttribute(v)),p},{})}},{key:"match",value:function(w){return/\.(jpe?g|gif|png)$/.test(w)||/^data:image\/.+;base64/.test(w)}},{key:"sanitize",value:function(w){return(0,u.sanitize)(w,["http","https","data"])?w:"//:0"}},{key:"value",value:function(w){return w.getAttribute("src")}}]),d}(c.default.Embed);s.blotName="image",s.tagName="IMG",g.default=s},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0});var x=function(){function a(d,f){for(var w=0;w<f.length;w++){var p=f[w];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(d,p.key,p)}}return function(d,f,w){return f&&a(d.prototype,f),w&&a(d,w),d}}(),S=function a(d,f,w){d===null&&(d=Function.prototype);var p=Object.getOwnPropertyDescriptor(d,f);if(p===void 0){var v=Object.getPrototypeOf(d);return v===null?void 0:a(v,f,w)}else{if("value"in p)return p.value;var m=p.get;return m===void 0?void 0:m.call(w)}},b=M(4),c=M(27),u=r(c);function r(a){return a&&a.__esModule?a:{default:a}}function o(a,d){if(!(a instanceof d))throw new TypeError("Cannot call a class as a function")}function t(a,d){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:a}function i(a,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);a.prototype=Object.create(d&&d.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(a,d):a.__proto__=d)}var n=["height","width"],s=function(a){i(d,a);function d(){return o(this,d),t(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return x(d,[{key:"format",value:function(w,p){n.indexOf(w)>-1?p?this.domNode.setAttribute(w,p):this.domNode.removeAttribute(w):S(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"format",this).call(this,w,p)}}],[{key:"create",value:function(w){var p=S(d.__proto__||Object.getPrototypeOf(d),"create",this).call(this,w);return p.setAttribute("frameborder","0"),p.setAttribute("allowfullscreen",!0),p.setAttribute("src",this.sanitize(w)),p}},{key:"formats",value:function(w){return n.reduce(function(p,v){return w.hasAttribute(v)&&(p[v]=w.getAttribute(v)),p},{})}},{key:"sanitize",value:function(w){return u.default.sanitize(w)}},{key:"value",value:function(w){return w.getAttribute("src")}}]),d}(b.BlockEmbed);s.blotName="video",s.className="ql-video",s.tagName="IFRAME",g.default=s},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0}),g.default=g.FormulaBlot=void 0;var x=function(){function w(p,v){for(var m=0;m<v.length;m++){var C=v[m];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(p,C.key,C)}}return function(p,v,m){return v&&w(p.prototype,v),m&&w(p,m),p}}(),S=function w(p,v,m){p===null&&(p=Function.prototype);var C=Object.getOwnPropertyDescriptor(p,v);if(C===void 0){var D=Object.getPrototypeOf(p);return D===null?void 0:w(D,v,m)}else{if("value"in C)return C.value;var I=C.get;return I===void 0?void 0:I.call(m)}},b=M(35),c=i(b),u=M(5),r=i(u),o=M(9),t=i(o);function i(w){return w&&w.__esModule?w:{default:w}}function n(w,p){if(!(w instanceof p))throw new TypeError("Cannot call a class as a function")}function s(w,p){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:w}function a(w,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);w.prototype=Object.create(p&&p.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(w,p):w.__proto__=p)}var d=function(w){a(p,w);function p(){return n(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return x(p,null,[{key:"create",value:function(m){var C=S(p.__proto__||Object.getPrototypeOf(p),"create",this).call(this,m);return typeof m=="string"&&(window.katex.render(m,C,{throwOnError:!1,errorColor:"#f00"}),C.setAttribute("data-value",m)),C}},{key:"value",value:function(m){return m.getAttribute("data-value")}}]),p}(c.default);d.blotName="formula",d.className="ql-formula",d.tagName="SPAN";var f=function(w){a(p,w),x(p,null,[{key:"register",value:function(){r.default.register(d,!0)}}]);function p(){n(this,p);var v=s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return v}return p}(t.default);g.FormulaBlot=d,g.default=f},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0}),g.default=g.CodeToken=g.CodeBlock=void 0;var x=function(){function m(C,D){for(var I=0;I<D.length;I++){var E=D[I];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(C,E.key,E)}}return function(C,D,I){return D&&m(C.prototype,D),I&&m(C,I),C}}(),S=function m(C,D,I){C===null&&(C=Function.prototype);var E=Object.getOwnPropertyDescriptor(C,D);if(E===void 0){var F=Object.getPrototypeOf(C);return F===null?void 0:m(F,D,I)}else{if("value"in E)return E.value;var L=E.get;return L===void 0?void 0:L.call(I)}},b=M(0),c=s(b),u=M(5),r=s(u),o=M(9),t=s(o),i=M(13),n=s(i);function s(m){return m&&m.__esModule?m:{default:m}}function a(m,C){if(!(m instanceof C))throw new TypeError("Cannot call a class as a function")}function d(m,C){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:m}function f(m,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);m.prototype=Object.create(C&&C.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(m,C):m.__proto__=C)}var w=function(m){f(C,m);function C(){return a(this,C),d(this,(C.__proto__||Object.getPrototypeOf(C)).apply(this,arguments))}return x(C,[{key:"replaceWith",value:function(I){this.domNode.textContent=this.domNode.textContent,this.attach(),S(C.prototype.__proto__||Object.getPrototypeOf(C.prototype),"replaceWith",this).call(this,I)}},{key:"highlight",value:function(I){var E=this.domNode.textContent;this.cachedText!==E&&((E.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=I(E),this.domNode.normalize(),this.attach()),this.cachedText=E)}}]),C}(n.default);w.className="ql-syntax";var p=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),v=function(m){f(C,m),x(C,null,[{key:"register",value:function(){r.default.register(p,!0),r.default.register(w,!0)}}]);function C(D,I){a(this,C);var E=d(this,(C.__proto__||Object.getPrototypeOf(C)).call(this,D,I));if(typeof E.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var F=null;return E.quill.on(r.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(F),F=setTimeout(function(){E.highlight(),F=null},E.options.interval)}),E.highlight(),E}return x(C,[{key:"highlight",value:function(){var I=this;if(!this.quill.selection.composing){this.quill.update(r.default.sources.USER);var E=this.quill.getSelection();this.quill.scroll.descendants(w).forEach(function(F){F.highlight(I.options.highlight)}),this.quill.update(r.default.sources.SILENT),E!=null&&this.quill.setSelection(E,r.default.sources.SILENT)}}}]),C}(t.default);v.DEFAULTS={highlight:function(){return window.hljs==null?null:function(m){var C=window.hljs.highlightAuto(m);return C.value}}(),interval:1e3},g.CodeBlock=w,g.CodeToken=p,g.default=v},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,g){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,g){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,g){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,g){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,g){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,g,M){Object.defineProperty(g,"__esModule",{value:!0}),g.default=g.BubbleTooltip=void 0;var x=function C(D,I,E){D===null&&(D=Function.prototype);var F=Object.getOwnPropertyDescriptor(D,I);if(F===void 0){var L=Object.getPrototypeOf(D);return L===null?void 0:C(L,I,E)}else{if("value"in F)return F.value;var T=F.get;return T===void 0?void 0:T.call(E)}},S=function(){function C(D,I){for(var E=0;E<I.length;E++){var F=I[E];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(D,F.key,F)}}return function(D,I,E){return I&&C(D.prototype,I),E&&C(D,E),D}}(),b=M(3),c=a(b),u=M(8),r=a(u),o=M(43),t=a(o),i=M(15),n=M(41),s=a(n);function a(C){return C&&C.__esModule?C:{default:C}}function d(C,D){if(!(C instanceof D))throw new TypeError("Cannot call a class as a function")}function f(C,D){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:C}function w(C,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);C.prototype=Object.create(D&&D.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(C,D):C.__proto__=D)}var p=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],v=function(C){w(D,C);function D(I,E){d(this,D),E.modules.toolbar!=null&&E.modules.toolbar.container==null&&(E.modules.toolbar.container=p);var F=f(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,I,E));return F.quill.container.classList.add("ql-bubble"),F}return S(D,[{key:"extendToolbar",value:function(E){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(E.container),this.buildButtons([].slice.call(E.container.querySelectorAll("button")),s.default),this.buildPickers([].slice.call(E.container.querySelectorAll("select")),s.default)}}]),D}(t.default);v.DEFAULTS=(0,c.default)(!0,{},t.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(D){D?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(C){w(D,C);function D(I,E){d(this,D);var F=f(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,I,E));return F.quill.on(r.default.events.EDITOR_CHANGE,function(L,T,k,A){if(L===r.default.events.SELECTION_CHANGE)if(T!=null&&T.length>0&&A===r.default.sources.USER){F.show(),F.root.style.left="0px",F.root.style.width="",F.root.style.width=F.root.offsetWidth+"px";var R=F.quill.getLines(T.index,T.length);if(R.length===1)F.position(F.quill.getBounds(T));else{var N=R[R.length-1],$=F.quill.getIndex(N),V=Math.min(N.length()-1,T.index+T.length-$),z=F.quill.getBounds(new i.Range($,V));F.position(z)}}else document.activeElement!==F.textbox&&F.quill.hasFocus()&&F.hide()}),F}return S(D,[{key:"listen",value:function(){var E=this;x(D.prototype.__proto__||Object.getPrototypeOf(D.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){E.root.classList.remove("ql-editing")}),this.quill.on(r.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!E.root.classList.contains("ql-hidden")){var F=E.quill.getSelection();F!=null&&E.position(E.quill.getBounds(F))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(E){var F=x(D.prototype.__proto__||Object.getPrototypeOf(D.prototype),"position",this).call(this,E),L=this.root.querySelector(".ql-tooltip-arrow");if(L.style.marginLeft="",F===0)return F;L.style.marginLeft=-1*F-L.offsetWidth/2+"px"}}]),D}(o.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),g.BubbleTooltip=m,g.default=v},function(e,g,M){e.exports=M(63)}]).default})})(quill);var Quill=getDefaultExportFromCjs(quill.exports),quill_core="",quill_snow="",quill_bubble="";const defaultOptions={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert content here ...",readOnly:!1},_sfc_main$F={name:"quill-editor",props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:()=>({})}},emits:["ready","change","input","blur","focus","update:value"],setup(h,_){const e={editorOption:{},quill:null};let g="";vue.watch(()=>h.value,b=>{e.quill&&(b&&b!==g?(g=b,e.quill.pasteHTML(b)):b||e.quill.setText(""))}),vue.watch(()=>h.content,b=>{e.quill&&(b&&b!==g?(g=b,e.quill.pasteHTML(b)):b||e.quill.setText(""))}),vue.watch(()=>h.disabled,b=>{e.quill&&e.quill.enable(!b)});const M=vue.ref(null),x=(b,c)=>{for(const u in c)!b[u]||u!=="modules"?b[u]=c[u]:x(b[u],c[u]);return b},S=()=>{M.value&&(e.editorOption=x(defaultOptions,h.options),e.editorOption.readOnly=!!h.disabled,e.quill=new Quill(M.value,e.editorOption),h.value&&e.quill.pasteHTML(h.value),e.quill.on("selection-change",b=>{b?_.emit("focus",e.quill):_.emit("blur",e.quill)}),e.quill.on("text-change",()=>{h.disabled&&e.quill.enable(!1);let b=M.value.children[0].innerHTML;const c=e.quill,u=e.quill.getText();b==="<p><br></p>"&&(b=""),g=b,_.emit("update:value",g),_.emit("change",{html:b,text:u,quill:c})}),_.emit("ready",e.quill))};return vue.onBeforeUnmount(()=>{const b=M.value.previousSibling;b&&b.className.indexOf("ql-toolbar")>-1&&b.parentNode.removeChild(b)}),vue.onMounted(()=>{S()}),vue.onUnmounted(()=>{e.quill=null}),{editor:M}}},_hoisted_1$n={ref:"editor"};function _sfc_render$F(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("section",_hoisted_1$n,null,512)}var quillEditor=_export_sfc$1(_sfc_main$F,[["render",_sfc_render$F]]);quillEditor.install=function(h){h.component(quillEditor.name,quillEditor)};var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$E={name:"rich-editor-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,quillEditor},data(){return{oldFieldValue:null,fieldModel:null,rules:[],customToolbar:[],valueChangedFlag:!1}},computed:{editorOption(){return{placeholder:this.field.options.placeholder,modules:{}}}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleRichEditorChangeEvent(){this.valueChangedFlag=!0,this.syncUpdateFormModel(this.fieldModel)},handleRichEditorFocusEvent(){this.oldFieldValue=deepClone(this.fieldModel)},handleRichEditorBlurEvent(){this.valueChangedFlag&&(this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.valueChangedFlag=!1)}}};function _sfc_render$E(h,_,e,g,M,x){const S=vue.resolveComponent("quill-editor"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.createVNode(S,{value:M.fieldModel,"onUpdate:value":_[0]||(_[0]=c=>M.fieldModel=c),options:x.editorOption,disabled:h.getDisabled(),onBlur:x.handleRichEditorBlurEvent,onFocus:x.handleRichEditorFocusEvent,onChange:x.handleRichEditorChangeEvent,style:vue.normalizeStyle(e.field.options.contentHeight?`height: ${e.field.options.contentHeight};`:"")},null,8,["value","options","disabled","onBlur","onFocus","onChange","style"])])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var richEditorWidget=_export_sfc$1(_sfc_main$E,[["render",_sfc_render$E],["__scopeId","data-v-6f719fd1"]]),__glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:richEditorWidget},Symbol.toStringTag,{value:"Module"}));const _sfc_main$D={name:"select-tree-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate},remoteMethod(){if(!!this.field.options.remote&&!!this.field.options.onRemoteQuery)return this.remoteQuery}},methods:{handleTreeSelectChange(h){const _=h&&typeof h=="object"&&"isTrusted"in h;this.handleChangeEvent(_?this.fieldModel:h)}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()}};function _sfc_render$D(h,_,e,g,M,x){const S=vue.resolveComponent("el-tree-select"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":h.subFormRowIndex,"sub-form-col-index":h.subFormColIndex,"sub-form-row-id":h.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),class:"full-width-input",data:e.field.options.optionItems,"show-checkbox":e.field.options.showCheckbox,"node-key":"value","default-expand-all":!0,"expand-on-click-node":!1,disabled:h.getDisabled(),size:h.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":x.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||h.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":x.remoteMethod,onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:x.handleTreeSelectChange,"check-strictly":e.field.options.checkStrictly||!1},null,8,["modelValue","data","show-checkbox","disabled","size","clearable","filterable","allow-create","default-first-option","automatic-dropdown","multiple","multiple-limit","placeholder","remote","remote-method","onFocus","onBlur","onChange","check-strictly"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var selectTreeWidget=_export_sfc$1(_sfc_main$D,[["render",_sfc_render$D]]),__glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,default:selectTreeWidget},Symbol.toStringTag,{value:"Module"})),selectWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$C={name:"select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate},remoteMethod(){if(!!this.field.options.remote&&!!this.field.options.onRemoteQuery)return this.remoteQuery}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{getOptionItems(){return this.subFormRowId?this.refList[this.field.options.name+"@row"+this.subFormRowId].field.options.optionItems:this.field.options.optionItems?this.field.options.optionItems:[]}}};function _sfc_render$C(h,_,e,g,M,x){const S=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(M.fieldModel)+" ",1),vue.createVNode(b,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=u=>M.fieldModel=u),class:"full-width-input",disabled:h.getDisabled(),size:h.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":x.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||h.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":x.remoteMethod,onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.field.options.optionItems,u=>(vue.openBlock(),vue.createBlock(S,{key:u.value,label:u.label,value:e.field.options.objectValue?u:u.value,disabled:u.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","disabled","size","clearable","filterable","allow-create","default-first-option","automatic-dropdown","multiple","multiple-limit","placeholder","remote","remote-method","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var selectWidget=_export_sfc$1(_sfc_main$C,[["render",_sfc_render$C],["__scopeId","data-v-42d4e5c2"]]),__glob_0_17=Object.freeze(Object.defineProperty({__proto__:null,default:selectWidget},Symbol.toStringTag,{value:"Module"})),sliderWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$B={name:"slider-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$B(h,_,e,g,M,x){const S=vue.resolveComponent("el-slider"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),"show-stops":e.field.options.showStops,min:e.field.options.min,max:e.field.options.max,step:e.field.options.step,range:e.field.options.range,vertical:e.field.options.vertical,onChange:h.handleChangeEvent},null,8,["modelValue","disabled","show-stops","min","max","step","range","vertical","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var sliderWidget=_export_sfc$1(_sfc_main$B,[["render",_sfc_render$B],["__scopeId","data-v-c9a31970"]]),__glob_0_18=Object.freeze(Object.defineProperty({__proto__:null,default:sliderWidget},Symbol.toStringTag,{value:"Module"})),slotWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$A={name:"slot-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}},_hoisted_1$m={key:0,class:"slot-title"};function _sfc_render$A(h,_,e,g,M,x){const S=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(S,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([e.designState?"slot-wrapper-design":"slot-wrapper-render"])},[vue.renderSlot(h.$slots,e.field.options.name,{formModel:h.formModel},void 0,!0),e.designState?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$m,vue.toDisplayString(e.field.options.label),1)):vue.createCommentVNode("",!0)],2)]),_:3},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var slotWidget=_export_sfc$1(_sfc_main$A,[["render",_sfc_render$A],["__scopeId","data-v-95f13fca"]]),__glob_0_19=Object.freeze(Object.defineProperty({__proto__:null,default:slotWidget},Symbol.toStringTag,{value:"Module"})),staticTextWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$z={name:"static-text-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{staticTextStyle(){const h={};return this.field.options.fontSize&&(h.fontSize=this.field.options.fontSize),h},innerStyle(){return{whiteSpace:this.field.options.preWrap?"pre-wrap":"pre",textAlign:this.field.options.textAlign||"left",color:this.field.options.fontColor||void 0}},displayText(){var h;return this.fieldModel!=null&&this.fieldModel!==""?this.fieldModel:(h=this.field.options.textContent)!=null?h:""}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{},watch:{"field.options.textContent":{handler(h){h!==void 0&&(this.fieldModel=h,this.designState||this.syncUpdateFormModel(h))},immediate:!0}}};function _sfc_render$z(h,_,e,g,M,x){const S=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(S,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{ref:"fieldEditor",style:vue.normalizeStyle(x.staticTextStyle)},[vue.createElementVNode("div",{style:vue.normalizeStyle(x.innerStyle)},vue.toDisplayString(M.fieldModel),5)],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var staticTextWidget=_export_sfc$1(_sfc_main$z,[["render",_sfc_render$z],["__scopeId","data-v-760822b6"]]),__glob_0_21=Object.freeze(Object.defineProperty({__proto__:null,default:staticTextWidget},Symbol.toStringTag,{value:"Module"})),switchWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$y={name:"switch-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$y(h,_,e,g,M,x){const S=vue.resolveComponent("el-switch"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),"active-text":e.field.options.activeText,"inactive-text":e.field.options.inactiveText,"active-color":e.field.options.activeColor,"inactive-color":e.field.options.inactiveColor,width:e.field.options.switchWidth,onChange:h.handleChangeEvent},null,8,["modelValue","disabled","active-text","inactive-text","active-color","inactive-color","width","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var switchWidget=_export_sfc$1(_sfc_main$y,[["render",_sfc_render$y],["__scopeId","data-v-2e8d2d0a"]]),__glob_0_22=Object.freeze(Object.defineProperty({__proto__:null,default:switchWidget},Symbol.toStringTag,{value:"Module"})),textareaWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$x={name:"textarea-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$x(h,_,e,g,M,x){const S=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{type:"textarea",ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:h.getDisabled(),readonly:e.field.options.readonly,size:h.widgetSize,placeholder:e.field.options.placeholder,rows:e.field.options.rows,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onInput:h.handleInputCustomEvent,onChange:h.handleChangeEvent},null,8,["modelValue","disabled","readonly","size","placeholder","rows","minlength","maxlength","show-word-limit","onFocus","onBlur","onInput","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var textareaWidget=_export_sfc$1(_sfc_main$x,[["render",_sfc_render$x],["__scopeId","data-v-687fedce"]]),__glob_0_23=Object.freeze(Object.defineProperty({__proto__:null,default:textareaWidget},Symbol.toStringTag,{value:"Module"})),timeRangeWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$w={name:"time-range-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$w(h,_,e,g,M,x){const S=vue.resolveComponent("el-time-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""])},[vue.createVNode(S,{ref:"fieldEditor","is-range":"",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),class:vue.normalizeClass([e.field.options.autoFullWidth?"full-width-input":""]),disabled:h.getDisabled(),readonly:e.field.options.readonly,size:h.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss","start-placeholder":e.field.options.startPlaceholder||h.i18nt("render.hint.startTimePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||h.i18nt("render.hint.endTimePlaceholder"),onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["modelValue","class","disabled","readonly","size","clearable","editable","format","start-placeholder","end-placeholder","onFocus","onBlur","onChange"])],2)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var timeRangeWidget=_export_sfc$1(_sfc_main$w,[["render",_sfc_render$w],["__scopeId","data-v-f78e9b46"]]),__glob_0_24=Object.freeze(Object.defineProperty({__proto__:null,default:timeRangeWidget},Symbol.toStringTag,{value:"Module"})),timeWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$v={name:"time-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$v(h,_,e,g,M,x){const S=vue.resolveComponent("el-time-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),disabled:h.getDisabled(),readonly:e.field.options.readonly,size:h.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss",placeholder:e.field.options.placeholder||h.i18nt("render.hint.timePlaceholder"),onFocus:h.handleFocusCustomEvent,onBlur:h.handleBlurCustomEvent,onChange:h.handleChangeEvent},null,8,["modelValue","class","disabled","readonly","size","clearable","editable","format","placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var timeWidget=_export_sfc$1(_sfc_main$v,[["render",_sfc_render$v],["__scopeId","data-v-60cd3a6a"]]),__glob_0_25=Object.freeze(Object.defineProperty({__proto__:null,default:timeWidget},Symbol.toStringTag,{value:"Module"}));let comps={};const modules$2={"./button-widget.vue":__glob_0_0$1,"./cascader-widget.vue":__glob_0_1$2,"./checkbox-widget.vue":__glob_0_2$2,"./color-widget.vue":__glob_0_3$2,"./date-range-widget.vue":__glob_0_4$2,"./date-widget.vue":__glob_0_5$2,"./divider-widget.vue":__glob_0_6$1,"./file-upload-widget.vue":__glob_0_7,"./form-item-wrapper.vue":__glob_0_8,"./html-text-widget.vue":__glob_0_9,"./input-widget.vue":__glob_0_10,"./number-widget.vue":__glob_0_11,"./picture-upload-widget.vue":__glob_0_12,"./radio-widget.vue":__glob_0_13,"./rate-widget.vue":__glob_0_14,"./rich-editor-widget.vue":__glob_0_15,"./select-tree-widget.vue":__glob_0_16,"./select-widget.vue":__glob_0_17,"./slider-widget.vue":__glob_0_18,"./slot-widget.vue":__glob_0_19,"./static-content-wrapper.vue":__glob_0_20,"./static-text-widget.vue":__glob_0_21,"./switch-widget.vue":__glob_0_22,"./textarea-widget.vue":__glob_0_23,"./time-range-widget.vue":__glob_0_24,"./time-widget.vue":__glob_0_25};for(const h in modules$2){let _=modules$2[h].default.name;comps[_]=modules$2[h].default}var gridColItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$u={name:"GridColItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:Ue({},comps),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,colHeight:{type:String,default:null},subFormRowIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""},subFormColIndex:{type:Number,default:-1},fieldSchemaData:{type:Array,default:void 0},subFormDisabled:{type:Boolean,default:!1}},inject:["refList","globalModel","getFormConfig","previewState"],data(){return{layoutProps:{span:this.widget&&this.widget.options?this.widget.options.span:12,md:this.widget&&this.widget.options&&this.widget.options.md||12,sm:this.widget&&this.widget.options&&this.widget.options.sm||12,xs:this.widget&&this.widget.options&&this.widget.options.xs||12,offset:this.widget&&this.widget.options&&this.widget.options.offset||0,push:this.widget&&this.widget.options&&this.widget.options.push||0,pull:this.widget&&this.widget.options&&this.widget.options.pull||0}}},computed:{formConfig(){return this.getFormConfig()},colVisible(){return!!(this.widget&&this.widget.options&&!this.widget.options.hidden)},customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},created(){this.initLayoutProps(),this.initRefList()},beforeUnmount(){var h,_;this.refList!=null&&((_=(h=this.widget)==null?void 0:h.options)==null?void 0:_.name)&&delete this.refList[this.widget.options.name]},watch:{},methods:{setHidden(h){this.widget&&this.widget.options&&(this.widget.options.hidden=!!h,this.$nextTick(()=>this.$forceUpdate()))},initLayoutProps(){if(!(!this.widget||!this.widget.options))if(this.widget.options.responsive)if(this.previewState){this.layoutProps.md=void 0,this.layoutProps.sm=void 0,this.layoutProps.xs=void 0;let h=this.formConfig.layoutType;h==="H5"?this.layoutProps.span=this.widget.options.xs||12:h==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=void 0;else this.layoutProps.md=void 0,this.layoutProps.sm=void 0,this.layoutProps.xs=void 0}}},_hoisted_1$l={class:"blank-cell"},_hoisted_2$f={class:"invisible-content"};function _sfc_render$u(h,_,e,g,M,x){const S=vue.resolveComponent("el-col");return e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(S,vue.mergeProps({key:0,class:["grid-cell",[x.customClass]]},M.layoutProps,{style:x.colHeightStyle,key:e.widget.id}),{default:vue.withCtx(()=>[!!e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(b,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(h.getComponentByContainer(b)),{widget:b,key:c,"parent-list":e.widget.widgetList,"index-of-parent-list":c,"parent-widget":e.widget,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-col-index":e.subFormColIndex,"sub-form-disabled":e.subFormDisabled,disabled:h.disabled||e.widget.options.disabled},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),u=>({name:u,fn:vue.withCtx(r=>[vue.renderSlot(h.$slots,u,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-col-index","sub-form-disabled","disabled"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(b.type+"-widget"),{field:e.fieldSchemaData&&e.fieldSchemaData[c]?e.fieldSchemaData[c]:b,designer:null,key:e.fieldSchemaData&&e.fieldSchemaData[c]?e.fieldSchemaData[c].id:c,"parent-list":e.widget.widgetList,"index-of-parent-list":c,"parent-widget":e.parentWidget,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-disabled":e.subFormDisabled,"sub-form-col-index":e.subFormColIndex},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),u=>({name:u,fn:vue.withCtx(r=>[vue.renderSlot(h.$slots,u,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-disabled","sub-form-col-index"]))],64))),256)):(vue.openBlock(),vue.createBlock(S,{key:1},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$l,[vue.createElementVNode("span",_hoisted_2$f,vue.toDisplayString(h.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"])),[[vue.vShow,x.colVisible]]):vue.createCommentVNode("",!0)}var GridColItem=_export_sfc$1(_sfc_main$u,[["render",_sfc_render$u],["__scopeId","data-v-bc1d425a"]]),__glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:GridColItem},Symbol.toStringTag,{value:"Module"})),containerItemMixin={inject:["getFormConfig","getGlobalDsv"],computed:{customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},mounted(){this.callSetHidden()},methods:{unregisterFromRefList(){if(this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name){let h=this.widget.options.name;delete this.refList[h]}},callSetHidden(){this.widget&&this.widget.options&&this.widget.options.hidden===!0&&this.setHidden(!0)},setHidden(h){if(!this.widget||!this.widget.options)return;this.widget.options.hidden=h;let _=e=>{if(!e||!e.options)return;let g=e.options.name,M=this.getWidgetRef(g);h&&!!M&&!!M.clearFieldRules&&M.clearFieldRules(),!h&&!!M&&!!M.buildFieldRules&&M.buildFieldRules()};traverseFieldWidgetsOfContainer(this.widget,_)},setDisabled(h){!this.widget||!this.widget.options||(this.widget.options.disabled=h)},activeTab(h){h>=0&&h<this.widget.tabs.length&&this.widget.tabs.forEach((_,e)=>{_.options.active=e===h,e===h&&(this.activeTabName=_.options.name)})},disableTab(h){h>=0&&h<this.widget.tabs.length&&(this.widget.tabs[h].options.disabled=!0)},enableTab(h){h>=0&&h<this.widget.tabs.length&&(this.widget.tabs[h].options.disabled=!1)},hideTab(h){h>=0&&h<this.widget.tabs.length&&(this.widget.tabs[h].options.hidden=!0)},showTab(h){h>=0&&h<this.widget.tabs.length&&(this.widget.tabs[h].options.hidden=!1)},setWidgetOption(h,_){this.widget.options.hasOwnProperty(h)&&(this.widget.options[h]=_)},getSubFormRowCount(){return this.rowIdData?this.rowIdData.length:0},disableSubFormRow(h){!Array.isArray(this.rowIdData)||this.rowIdData[h]==null||!this.widget||!this.widget.widgetList||this.widget.widgetList.forEach(_=>{let e=_.options.name+"@row"+this.rowIdData[h],g=this.getWidgetRef(e);g&&g.setDisabled(!0)})},enableSubFormRow(h){!Array.isArray(this.rowIdData)||this.rowIdData[h]==null||!this.widget||!this.widget.widgetList||this.widget.widgetList.forEach(_=>{let e=_.options.name+"@row"+this.rowIdData[h],g=this.getWidgetRef(e);g&&g.setDisabled(!1)})},disableSubForm(){Array.isArray(this.rowIdData)&&this.rowIdData.length>0&&this.rowIdData.forEach((h,_)=>{this.disableSubFormRow(_)}),typeof this.actionDisabled!="undefined"&&(this.actionDisabled=!0),this.widget&&this.widget.options&&(this.widget.options.disabled=!0)},enableSubForm(){Array.isArray(this.rowIdData)&&this.rowIdData.length>0&&this.rowIdData.forEach((h,_)=>{this.enableSubFormRow(_)}),typeof this.actionDisabled!="undefined"&&(this.actionDisabled=!1),this.widget&&this.widget.options&&(this.widget.options.disabled=!1)},resetSubForm(){if(this.widget.type==="sub-form"){let h=this.formModel[this.widget.options.name];h&&(h.splice(0,h.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues(h=!0){if(this.widget.type==="sub-form")return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},addCssClass(h){this.widget.options.customClass?this.widget.options.customClass.push(h):this.widget.options.customClass=[h]},removeCssClass(h){if(!this.widget.options.customClass)return;let _=-1;this.widget.options.customClass.map((e,g)=>{e===h&&(_=g)}),_>-1&&this.widget.options.customClass.splice(_,1)}}};const _sfc_main$t={name:"vf-grid-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,GridColItem},props:{widget:Object,parentWidget:Object,subFormRowIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""},subFormColIndex:{type:Number,default:-1},fieldSchemaData:{type:Object,default:void 0},subFormDisabled:{type:Boolean,default:!1}},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$t(h,_,e,g,M,x){const S=vue.resolveComponent("grid-col-item"),b=vue.resolveComponent("el-row"),c=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(c,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(b,{key:e.widget.id,gutter:e.widget&&e.widget.options?e.widget.options.gutter:12,class:vue.normalizeClass(["grid-container",[h.customClass]]),ref:e.widget.id},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols.filter(u=>!u.options.hidden)||[],(u,r)=>(vue.openBlock(),vue.createBlock(S,{key:r,widget:u,"parent-list":e.widget.cols,"index-of-parent-list":r,"parent-widget":e.parentWidget||e.widget,"col-height":e.widget&&e.widget.options?e.widget.options.colHeight:null,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-col-index":e.subFormColIndex,"sub-form-disabled":e.subFormDisabled,"field-schema-data":e.fieldSchemaData},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),o=>({name:o,fn:vue.withCtx(t=>[vue.renderSlot(h.$slots,o,vue.mergeProps({ref_for:!0},t))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","col-height","sub-form-row-index","sub-form-row-id","sub-form-col-index","sub-form-disabled","field-schema-data"]))),128))]),_:3},8,["gutter","class"])),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:3},8,["widget"])}var gridItem=_export_sfc$1(_sfc_main$t,[["render",_sfc_render$t]]),__glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:gridItem},Symbol.toStringTag,{value:"Module"})),subFormItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$s={name:"sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Ot(Ue({ContainerItemWrapper},comps),{SvgIcon}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[],fieldSchemaData:[],actionDisabled:!1}},created(){this.initRefList(),this.registerSubFormToRefList(),this.initRowIdData(!0),this.initFieldSchemaData(),this.initEventHandler()},mounted(){this.handleSubFormFirstRowAdd()},beforeUnmount(){this.unregisterFromRefList()},methods:{getLabelAlign(h,_){return _.options.labelAlign||h.options.labelAlign},registerSubFormToRefList(){this.widget.type==="sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(h){if(this.widget.type==="sub-form"){this.rowIdData.splice(0,this.rowIdData.length);let _=this.formModel[this.widget.options.name];!!_&&_.length>0&&(_.forEach(()=>{this.rowIdData.push("id"+generateId())}),h&&setTimeout(()=>{this.handleSubFormRowChange(_)},800))}},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(h){this.rowIdData.splice(h,0,"id"+generateId())},deleteFromRowIdData(h){this.rowIdData.splice(h,1)},getRowIdData(){return this.rowIdData},getWidgetRefOfSubForm(h,_){let e=h+"@row"+this.rowIdData[_];return this.getWidgetRef(e)},initFieldSchemaData(){if(this.widget.type!=="sub-form")return;let h=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),h>0)for(let _=0;_<h;_++){let e=[];this.widget.widgetList.forEach(g=>{e.push(this.cloneFieldSchema(g))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(h){let _=[];this.widget.widgetList.forEach(e=>{_.push(this.cloneFieldSchema(e))}),h===void 0?this.fieldSchemaData.push(_):this.fieldSchemaData.splice(h,0,_)},deleteFromFieldSchemaData(h){this.fieldSchemaData.splice(h,1)},cloneFieldSchema(h){let _=deepClone(h);return _.id=h.type+generateId(),_},initEventHandler(){this.widget.type==="sub-form"&&this.on$("setFormData",h=>{this.initRowIdData(!1),this.initFieldSchemaData();let _=h[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(_)},800)})},handleSubFormFirstRowAdd(){if(this.widget.type==="sub-form"&&!!this.widget.options.showBlankRow&&this.rowIdData.length===1){let h=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(h,this.rowIdData[0]),this.handleSubFormRowChange(h)}},addSubFormRow(){let h={};this.widget.widgetList.forEach(e=>{e.formItemFlag&&(h[e.options.name]=e.options.defaultValue)});let _=this.formModel[this.widget.options.name]||[];_.push(h),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(_,this.rowIdData[_.length-1]),this.handleSubFormRowChange(_)},insertSubFormRow(h){let _={};this.widget.widgetList.forEach(g=>{g.formItemFlag&&(_[g.options.name]=g.options.defaultValue)});let e=this.formModel[this.widget.options.name]||[];e.splice(h,0,_),this.insertToRowIdData(h),this.addToFieldSchemaData(h),this.handleSubFormRowInsert(e,this.rowIdData[h]),this.handleSubFormRowChange(e)},deleteSubFormRow(h){this.$confirm(this.i18nt("render.hint.deleteSubFormRow")+"?",this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then(()=>{let _=this.formModel[this.widget.options.name]||[],e=deepClone(_[h]);_.splice(h,1),this.deleteFromRowIdData(h),this.deleteFromFieldSchemaData(h),this.handleSubFormRowDelete(_,e),this.handleSubFormRowChange(_)}).catch(()=>{})},handleSubFormRowChange(h){this.widget.options.onSubFormRowChange&&new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,h)},handleSubFormRowAdd(h,_){this.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,h,_)},handleSubFormRowInsert(h,_){this.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,h,_)},handleSubFormRowDelete(h,_){this.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,h,_)}}},_hoisted_1$k={class:"action-header-column"},_hoisted_2$e={class:"action-label"},_hoisted_3$c={key:0,class:"custom-label"},_hoisted_4$a=["title"],_hoisted_5$8={class:"sub-form-action-column hide-label"},_hoisted_6$8={class:"action-button-column"},_hoisted_7$6={key:0,class:"row-number-span"};function _sfc_render$s(h,_,e,g,M,x){const S=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),c=vue.resolveComponent("el-tooltip"),u=vue.resolveComponent("el-row"),r=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(r,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"sub-form-container"},[vue.createVNode(u,{class:"header-row"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$k,[vue.createElementVNode("span",_hoisted_2$e,vue.toDisplayString(h.i18nt("render.hint.subFormAction")),1),vue.createVNode(b,{disabled:M.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:x.addSubFormRow,title:h.i18nt("render.hint.subFormAddActionHint")},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(h.i18nt("render.hint.subFormAddAction")),1),vue.createVNode(S,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,o=>(vue.openBlock(),vue.createElementBlock("div",{key:o.id+"thc",class:vue.normalizeClass(["field-header-column",[x.getLabelAlign(e.widget,o),o.options.required?"is-required":""]]),style:vue.normalizeStyle({width:o.options.columnWidth})},[o.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_3$c,[o.options.labelIconPosition==="front"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[o.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(c,{content:o.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":o.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"]),vue.createTextVNode(vue.toDisplayString(o.options.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(S,{"icon-class":o.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(o.options.label),1)],64))],64)):o.options.labelIconPosition==="rear"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[o.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(o.options.label),1),vue.createVNode(c,{content:o.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":o.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"])],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(o.options.label),1),vue.createVNode(S,{"icon-class":o.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):(vue.openBlock(),vue.createElementBlock("span",{key:1,title:o.options.labelTooltip},vue.toDisplayString(o.options.label),9,_hoisted_4$a))],6))),128))]),_:1}),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(M.rowIdData,(o,t)=>(vue.openBlock(),vue.createBlock(u,{class:"sub-form-row",key:o},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$8,[vue.createElementVNode("div",_hoisted_6$8,[vue.createVNode(b,{disabled:M.actionDisabled,circle:"",onClick:i=>x.insertSubFormRow(t),title:h.i18nt("render.hint.insertSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"]),vue.createVNode(b,{disabled:M.actionDisabled,circle:"",onClick:i=>x.deleteSubFormRow(t),title:h.i18nt("render.hint.deleteSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(S,{"icon-class":"el-delete"})]),_:1},8,["disabled","onClick","title"]),e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$6,"#"+vue.toDisplayString(t+1),1)):vue.createCommentVNode("",!0)])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(i,n)=>{var s;return vue.openBlock(),vue.createElementBlock("div",{key:i.id+"tc"+o,class:"sub-form-table-column hide-label",style:vue.normalizeStyle({width:i.options.columnWidth})},[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(h.getComponentByContainer(M.fieldSchemaData[t][n])),{widget:M.fieldSchemaData[t][n],key:M.fieldSchemaData[t][n].id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget,"sub-form-row-id":o,"sub-form-row-index":t,"sub-form-col-index":n,"field-schema-data":(s=M.fieldSchemaData[t][n])==null?void 0:s.widgetList},null,8,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index","field-schema-data"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{field:M.fieldSchemaData[t][n],key:M.fieldSchemaData[t][n].id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget,"sub-form-row-id":o,"sub-form-row-index":t,"sub-form-col-index":n},null,8,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"]))],4)}),128))]),_:2},1024))),128))])),[[vue.vShow,!e.widget.options.hidden]])]),_:1},8,["widget"])}var subFormItem=_export_sfc$1(_sfc_main$s,[["render",_sfc_render$s],["__scopeId","data-v-59c24e8e"]]),__glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:subFormItem},Symbol.toStringTag,{value:"Module"}));const _sfc_main$r={name:"tab-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Ue({ContainerItemWrapper},comps),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{activeTabName:""}},computed:{visibleTabs(){return!this.widget||!this.widget.tabs?[]:this.widget.tabs.filter(h=>h&&h.options&&!h.options.hidden)}},created(){this.initRefList()},mounted(){this.initActiveTab()},beforeUnmount(){this.unregisterFromRefList()},methods:{initActiveTab(){if(!this.widget||this.widget.type!=="tab"||!this.widget.tabs||this.widget.tabs.length===0)return;let h=this.widget.tabs.filter(_=>_&&_.options&&_.options.active===!0);h.length>0?this.activeTabName=h[0].options.name:this.widget.tabs[0]&&this.widget.tabs[0].options&&(this.activeTabName=this.widget.tabs[0].options.name)}}};function _sfc_render$r(h,_,e,g,M,x){const S=vue.resolveComponent("el-tab-pane"),b=vue.resolveComponent("el-tabs"),c=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(c,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"tab-container"},[vue.createVNode(b,{modelValue:M.activeTabName,"onUpdate:modelValue":_[0]||(_[0]=u=>M.activeTabName=u),type:e.widget&&e.widget.displayType?e.widget.displayType:"default",ref:e.widget.id,class:vue.normalizeClass([h.customClass])},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.visibleTabs,(u,r)=>(vue.openBlock(),vue.createBlock(S,{key:r,label:u.options.label,disabled:u.options.disabled,name:u.options.name},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(u.widgetList,(o,t)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(h.getComponentByContainer(o)),{widget:o,key:t,"parent-list":u.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),i=>({name:i,fn:vue.withCtx(n=>[vue.renderSlot(h.$slots,i,vue.mergeProps({ref_for:!0},n))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,key:t,"parent-list":u.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),i=>({name:i,fn:vue.withCtx(n=>[vue.renderSlot(h.$slots,i,vue.mergeProps({ref_for:!0},n))])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))]),_:2},1032,["label","disabled","name"]))),128))]),_:3},8,["modelValue","type","class"])])),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:3},8,["widget"])}var tabItem=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$r]]),__glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:tabItem},Symbol.toStringTag,{value:"Module"})),tableCellItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$q={name:"TableCellItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:Ue({},comps),props:{widget:Object,rowIndex:Number,colIndex:Number},inject:["refList","globalModel"],computed:{customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""}},created(){},methods:{}},_hoisted_1$j=["colspan","rowspan"];function _sfc_render$q(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[x.customClass]]),colspan:e.widget&&e.widget.options&&e.widget.options.colspan||1,rowspan:e.widget&&e.widget.options&&e.widget.options.rowspan||1,style:vue.normalizeStyle(e.widget&&e.widget.options?{width:e.widget.options.cellWidth+" !important"||"",height:e.widget.options.cellHeight+" !important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}:{})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(S,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[S.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(h.getComponentByContainer(S)),{widget:S,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),c=>({name:c,fn:vue.withCtx(u=>[vue.renderSlot(h.$slots,c,vue.mergeProps({ref_for:!0},u),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(S.type+"-widget"),{field:S,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),c=>({name:c,fn:vue.withCtx(u=>[vue.renderSlot(h.$slots,c,vue.mergeProps({ref_for:!0},u),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))],14,_hoisted_1$j)}var TableCellItem=_export_sfc$1(_sfc_main$q,[["render",_sfc_render$q],["__scopeId","data-v-7d6166fa"]]),__glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellItem},Symbol.toStringTag,{value:"Module"})),tableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$p={name:"table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,TableCellItem},props:{widget:Object},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$p(h,_,e,g,M,x){const S=vue.resolveComponent("table-cell-item"),b=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(b,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"table-container"},[vue.createElementVNode("table",{ref:e.widget.id,class:vue.normalizeClass(["table-layout",[h.customClass]])},[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows||[],(c,u)=>(vue.openBlock(),vue.createElementBlock("tr",{key:c?c.id:u},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(c.cols,(r,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[r.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(S,{widget:r,key:o,"parent-list":e.widget.cols,"row-index":u,"col-index":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(h.$slots,t,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["widget","parent-list","row-index","col-index","parent-widget"]))],64))),256))]))),128))])],2)])),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:3},8,["widget"])}var tableItem=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$p],["__scopeId","data-v-3481d843"]]),__glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:tableItem},Symbol.toStringTag,{value:"Module"}));const modules$1={"./container-item-wrapper.vue":__glob_0_0$2,"./grid-col-item.vue":__glob_0_1$1,"./grid-item.vue":__glob_0_2$1,"./sub-form-item.vue":__glob_0_3$1,"./tab-item.vue":__glob_0_4$1,"./table-cell-item.vue":__glob_0_5$1,"./table-item.vue":__glob_0_6};var ContainerItems={install(h){for(const _ in modules$1){let e=modules$1[_].default.name;h.component(e,modules$1[_].default)}}},index_vue_vue_type_style_index_0_scoped_true_lang$1="";const _sfc_main$o={name:"VFormRender",componentName:"VFormRender",mixins:[emitter,i18n$1],components:Ue({},comps),props:{formJson:{type:Object,default:()=>buildDefaultFormJson()},formData:{type:Object,default:()=>({})},optionData:{type:Object,default:()=>({})},previewState:{type:Boolean,default:!1},globalDsv:{type:Object,default:()=>({})}},provide(){return{refList:this.widgetRefList,sfRefList:this.subFormRefList,getFormConfig:()=>this.formJsonObj.formConfig,getGlobalDsv:()=>this.globalDsv,globalOptionData:this.optionData,getOptionData:()=>this.optionData,globalModel:{formModel:this.formDataModel},previewState:this.previewState}},data(){return{formJsonObj:this.formJson,formDataModel:{},widgetRefList:{},subFormRefList:{},formId:null,externalComponents:{}}},computed:{formConfig(){return this.formJsonObj.formConfig},widgetList(){return this.formJsonObj.widgetList},labelPosition(){return!!this.formConfig&&!!this.formConfig.labelPosition?this.formConfig.labelPosition:"left"},labelWidth(){return!!this.formConfig&&!!this.formConfig.labelWidth?this.formConfig.labelWidth+"px":"80px"},size(){return!!this.formConfig&&!!this.formConfig.size?this.formConfig.size:"default"},customClass(){return!!this.formConfig&&!!this.formConfig.customClass?this.formConfig.customClass:""}},watch:{formData:{deep:!0,handler(h){!h||typeof h!="object"||this.setFormData(h)}}},created(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject(h=!0){this.formId="vfRender"+generateId(),h&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName(h){return h.type==="grid"?"vf-grid-item":h.type+"-item"},getWidgetName(h){return h.type+"-widget"},initLocale(){let h=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(h)},insertCustomStyleAndScriptNode(){!!this.formConfig&&!!this.formConfig.cssCode&&insertCustomCssToHead(this.formConfig.cssCode,this.previewState?"":this.formId),!!this.formConfig&&!!this.formConfig.functions&&insertGlobalFunctionsToHtml(this.formConfig.functions,this.previewState?"":this.formId)},buildFormModel(h){!!h&&h.length>0&&h.forEach(_=>{this.buildDataFromWidget(_)})},buildDataFromWidget(h){var _;if(h.category==="container")if(h.type==="grid")!!h.cols&&h.cols.length>0&&h.cols.forEach(e=>{this.buildDataFromWidget(e)});else if(h.type==="table")!!h.rows&&h.rows.length>0&&h.rows.forEach(e=>{!!e.cols&&e.cols.length>0&&e.cols.forEach(g=>{this.buildDataFromWidget(g)})});else if(h.type==="tab")!!h.tabs&&h.tabs.length>0&&h.tabs.forEach(e=>{!!e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach(g=>{this.buildDataFromWidget(g)})});else if(h.type==="sub-form"){let e=h.options.name;if(this.formData.hasOwnProperty(e)){let g=this.formData[e];this.formDataModel[e]=deepClone(g)}else{let g={};h.options.showBlankRow?(h.widgetList.forEach(M=>{M.formItemFlag&&(g[M.options.name]=M.options.defaultValue)}),this.formDataModel[e]=[g]):this.formDataModel[e]=[]}}else h.type==="grid-col"||h.type==="table-cell"?!!h.widgetList&&h.widgetList.length>0&&h.widgetList.forEach(e=>{this.buildDataFromWidget(e)}):!!h.widgetList&&h.widgetList.length>0&&h.widgetList.forEach(e=>{this.buildDataFromWidget(e)});else if(h.formItemFlag)if(this.formData.hasOwnProperty(h.options.name)){let e=this.formData[h.options.name];this.formDataModel[h.options.name]=deepClone(e)}else{const e=h.type==="static-text"?(_=h.options.textContent)!=null?_:"":h.options.defaultValue;this.formDataModel[h.options.name]=e}else if(h.type==="static-text"&&h.options&&h.options.name){const e=h.options.name;this.formData.hasOwnProperty(e)?this.formDataModel[e]=deepClone(this.formData[e]):this.formDataModel[e]=h.options.textContent}},addFieldChangeEventHandler(){this.off$("fieldChange"),this.on$("fieldChange",(h,_,e,g,M)=>{this.handleFieldDataChange(h,_,e,g,M),this.$emit("formChange",h,_,e,this.formDataModel,g,M)})},addFieldValidateEventHandler(){this.off$("fieldValidation"),this.on$("fieldValidation",h=>{this.$refs.renderForm.validateField(h)})},registerFormToRefList(){this.widgetRefList.v_form_ref=this},handleFieldDataChange(h,_,e,g,M){!!this.formConfig&&!!this.formConfig.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange).call(this,h,_,e,this.formDataModel,g,M)},handleOnCreated(){!!this.formConfig&&!!this.formConfig.onFormCreated&&new Function(this.formConfig.onFormCreated).call(this)},handleOnMounted(){!!this.formConfig&&!!this.formConfig.onFormMounted&&new Function(this.formConfig.onFormMounted).call(this)},findWidgetAndSetDisabled(h,_){let e=this.getWidgetRef(h);e?_&&typeof e.disableSubForm=="function"?e.disableSubForm():!_&&typeof e.enableSubForm=="function"?e.enableSubForm():typeof e.setDisabled=="function"&&e.setDisabled(_):this.findWidgetOfSubFormAndSetDisabled(h,_)},findWidgetOfSubFormAndSetDisabled(h,_){this.findWidgetNameInSubForm(h).forEach(e=>{let g=this.getWidgetRef(e);!!g&&typeof g.setDisabled=="function"&&g.setDisabled(_)})},findWidgetAndSetHidden(h,_){let e=this.getWidgetRef(h);e?e.setHidden(_):this.findWidgetOfSubFormAndSetHidden(h,_)},findWidgetOfSubFormAndSetHidden(h,_){this.findWidgetNameInSubForm(h).forEach(e=>{let g=this.getWidgetRef(e);g&&g.setHidden(_)})},findWidgetNameInSubForm(h){let _=[],e=null,g=(M,x)=>{!!M.options&&M.options.name===h&&(e=x.options.name)};if(traverseFieldWidgets(this.widgetList,g),e){let M=this.getWidgetRef(e);if(M){let x=M.getRowIdData();!!x&&x.length>0&&x.forEach(S=>{_.push(h+"@row"+S)})}}return _},changeLanguage(h){changeLocale(h)},getNativeForm(){return this.$refs.renderForm},getFormRef(){return this},getWidgetRef(h,_=!1){let e=this.widgetRefList[h];return!e&&!!_&&this.$message.error(this.i18nt("render.hint.refNotFound")+h),e},getStaticTextRef(h){if(h){const e=this.getWidgetRef(h);if(e&&e.field&&e.field.type==="static-text")return e}const _=Object.values(this.widgetRefList).filter(e=>e&&e.field&&e.field.type==="static-text");return _.length>0?_[0]:void 0},getStaticTextRefs(){return Object.values(this.widgetRefList).filter(h=>h&&h.field&&h.field.type==="static-text")},clearFormDataModel(){for(let h in this.formDataModel)delete this.formDataModel[h]},setFormJson(h){if(h)if(typeof h=="string"||h.constructor===Object){let _=null;if(typeof h=="string"?_=JSON.parse(h):_=h,!_.formConfig||!_.widgetList){this.$message.error("Invalid format of form json.");return}this.clearFormDataModel(),this.buildFormModel(_.widgetList),this.formJsonObj.formConfig=_.formConfig,this.formJsonObj.widgetList=_.widgetList,this.insertCustomStyleAndScriptNode(),this.$nextTick(()=>{this.initFormObject(!1),this.handleOnMounted()})}else this.$message.error("Set form json failed.")},getFormJson(){return deepClone(this.formJsonObj)},reloadOptionData(h){let _=[];!!h&&typeof h=="string"?_=[h]:!!h&&Array.isArray(h)&&(_=[...h]),this.broadcast("FieldWidget","reloadOptionItems",_)},getFormData(h=!0){if(!h)return this.formDataModel;let _=function(){},e=new window.Promise(function(g,M){_=function(x,S){S?M(S):g(x)}});return this.$refs.renderForm.validate(g=>{g?(this.emitFormValidateSuccess(this.formDataModel),_(this.formDataModel)):_(this.formDataModel,this.i18nt("render.hint.validationFailed"))}),e},setFormData(h){Object.keys(this.formDataModel).forEach(_=>{!!h&&h.hasOwnProperty(_)&&(this.formDataModel[_]=deepClone(h[_]))}),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue(h){let _=this.getWidgetRef(h);if(!!_&&!!_.getValue)return _.getValue();if(!_){let e=[];return this.findWidgetNameInSubForm(h).forEach(g=>{let M=this.getWidgetRef(g);!!M&&!!M.getValue&&e.push(M.getValue())}),e}},setFieldValue(h,_){let e=this.getWidgetRef(h);!!e&&!!e.setValue&&e.setValue(_),e||this.findWidgetNameInSubForm(h).forEach(g=>{let M=this.getWidgetRef(g);!!M&&!!M.setValue&&M.setValue(_)})},getSubFormValues(h,_=!0){return this.subFormRefList[h].getSubFormValues(_)},disableForm(){console.log("disableForm",this.widgetRefList),Object.keys(this.widgetRefList).forEach(_=>{let e=this.getWidgetRef(_);if(e)if(!!e.widget&&e.widget.type==="sub-form")e.disableSubForm();else{//!!foundW.setDisabled && foundW.setDisabled(true)
|
|
74
74
|
e.setDisabled&&e.setDisabled(!0)}})},enableForm(){Object.keys(this.widgetRefList).forEach(_=>{let e=this.getWidgetRef(_);if(e)if(!!e.widget&&e.widget.type==="sub-form")e.enableSubForm();else{//!!foundW.setDisabled && foundW.setDisabled(false)
|
|
75
|
-
e.setDisabled&&e.setDisabled(!1)}})},resetForm(){Object.keys(this.subFormRefList).forEach(e=>{this.subFormRefList[e].resetSubForm&&this.subFormRefList[e].resetSubForm()}),Object.keys(this.widgetRefList).forEach(e=>{let g=this.getWidgetRef(e);!!g&&!g.subFormItemFlag&&!!g.resetField&&g.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(h){this.$refs.renderForm.clearValidate(h)},validateForm(h){this.$refs.renderForm.validate(_=>{_&&!!this.formConfig&&!!this.formConfig.onFormValidateSuccess&&this.emitFormValidateSuccess(this.formDataModel),h(_)})},emitFormValidateSuccess(h){if(!(!this.formConfig||!this.formConfig.onFormValidateSuccess))try{new Function("formData",this.formConfig.onFormValidateSuccess).call(this,h)}catch(_){console.error("onFormValidateSuccess",_)}},validateFields(){},disableWidgets(h){h&&(typeof h=="string"?this.findWidgetAndSetDisabled(h,!0):Array.isArray(h)&&h.forEach(_=>{this.findWidgetAndSetDisabled(_,!0)}))},disableFields(h){this.disableWidgets(h)},enableFields(h){this.enableWidgets(h)},enableWidgets(h){h&&(typeof h=="string"?this.findWidgetAndSetDisabled(h,!1):Array.isArray(h)&&h.forEach(_=>{this.findWidgetAndSetDisabled(_,!1)}))},hideWidgets(h){h&&(typeof h=="string"?this.findWidgetAndSetHidden(h,!0):Array.isArray(h)&&h.forEach(_=>{this.findWidgetAndSetHidden(_,!0)}))},showWidgets(h){h&&(typeof h=="string"?this.findWidgetAndSetHidden(h,!1):Array.isArray(h)&&h.forEach(_=>{this.findWidgetAndSetHidden(_,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(h,_){this.externalComponents[h]=_},hasEC(h){return this.externalComponents.hasOwnProperty(h)},getEC(h){return this.externalComponents[h]},getGlobalDsv(){return this.globalDsv},findColByName(h,_){const e=h!=null?h:this.formJsonObj&&this.formJsonObj.widgetList;if(!e||!_)return null;for(const g of e){if(g.type==="grid"&&g.cols&&g.cols.length){const M=g.cols.find(x=>x.options&&x.options.name===_);if(M)return M}if(g.type==="grid-col"&&g.options&&g.options.name===_)return g;if(g.widgetList&&g.widgetList.length){const M=this.findColByName(g.widgetList,_);if(M)return M}if(g.cols&&g.cols.length)for(const M of g.cols){if(M.options&&M.options.name===_)return M;if(M.widgetList&&M.widgetList.length){const x=this.findColByName(M.widgetList,_);if(x)return x}}}return null},setColHidden(h,_){const e=this.findColByName(null,h);return!e||!e.options?!1:(e.options.hidden=!!_,this.$nextTick(()=>this.$forceUpdate()),!0)}}};function _sfc_render$o(h,_,e,g,M,x){const S=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(S,{"label-position":x.labelPosition,size:x.size,class:vue.normalizeClass([[x.customClass],"render-form"]),"label-width":x.labelWidth,"validate-on-rule-change":!1,model:M.formDataModel,ref:"renderForm",onSubmit:_[0]||(_[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.widgetList,(b,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(x.getContainerWidgetName(b)),{widget:b,key:b.id,"parent-list":x.widgetList,"index-of-parent-list":c,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),u=>({name:u,fn:vue.withCtx(r=>[vue.renderSlot(h.$slots,u,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(x.getWidgetName(b)),{field:b,"form-model":M.formDataModel,designer:null,key:b.id,"parent-list":x.widgetList,"index-of-parent-list":c,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),u=>({name:u,fn:vue.withCtx(r=>[vue.renderSlot(h.$slots,u,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["field","form-model","parent-list","index-of-parent-list"]))],64))),256))]),_:3},8,["label-position","size","class","label-width","model"])}var VFormRender=_export_sfc$1(_sfc_main$o,[["render",_sfc_render$o],["__scopeId","data-v-6b16d674"]]);function registerIcon(h){h.component("el-icon-edit",edit),h.component("el-icon-minus",minus),h.component("el-icon-plus",plus),h.component("el-icon-info",infoFilled),h.component("el-icon-search",search),h.component("el-icon-circle-plus-outline",circlePlus),h.component("el-icon-delete",_delete),h.component("el-icon-arrow-down",arrowDown),h.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let h=function(){var _=document.body,e=document.getElementById("__svg__icons__dom__1773822744345__");e||(e=document.createElementNS("http://www.w3.org/2000/svg","svg"),e.style.position="absolute",e.style.width="0",e.style.height="0",e.id="__svg__icons__dom__1773822744345__",e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),e.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-alert"><path d="M512 85.163a319.573 319.573 0 0 1 319.83 309.333l.17 10.667v174.805l58.88 134.656a53.29 53.29 0 0 1-48.853 74.71L640 789.418a128 128 0 0 1-255.787 7.509l-.213-7.637-201.6.042a53.333 53.333 0 0 1-48.939-74.581L192 580.011V405.163c0-177.28 143.019-320 320-320zm64 704.17-128 .128a64 64 0 0 0 127.701 6.144l.256-6.272zm-64-640.17c-141.653 0-256 114.09-256 256v188.16l-57.344 132.01h627.072L768 593.365V405.717l-.17-9.6A255.488 255.488 0 0 0 512 149.163zM896 352h85.333a32 32 0 0 1 4.352 63.701l-4.352.299H896a32 32 0 0 1-4.352-63.701L896 352zm-853.333 0H128a32 32 0 0 1 4.352 63.701L128 416H42.667a32 32 0 0 1-4.352-63.701l4.352-.299zm921.6-243.2a32 32 0 0 1-2.816 41.685l-3.584 3.115-85.334 64a32 32 0 0 1-41.984-48.085l3.584-3.115 85.334-64a32 32 0 0 1 44.8 6.4zm-859.734-6.4 85.334 64a32 32 0 1 1-38.4 51.2l-85.334-64a32 32 0 1 1 38.4-51.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-button"><path d="M912 176v416H732.48v-32H880V208H144v352h175.488v32H112V176z" /><path d="m436.384 788.512.544 2.688a16 16 0 0 0 27.776 5.504l44.032-54.336 56.768 97.664a16 16 0 0 0 21.792 5.856l68.672-39.392 2.368-1.664a16 16 0 0 0 3.52-20.256l-55.904-96.16 68.8-12.064a16 16 0 0 0 6.464-28.8l-256-180.64a16 16 0 0 0-25.12 14.976l36.288 306.624z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-card"><path d="M858.656 864H165.344C109.472 864 64 818.56 64 762.688V261.312C64 205.44 109.472 160 165.344 160h693.312C914.528 160 960 205.44 960 261.312v501.376C960 818.56 914.528 864 858.656 864zM165.344 224C144.736 224 128 240.736 128 261.312v501.376C128 783.264 144.736 800 165.344 800h693.312C879.264 800 896 783.264 896 762.688V261.312C896 240.736 879.264 224 858.656 224H165.344zM800 416H224c-17.664 0-32-14.336-32-32s14.336-32 32-32h576c17.696 0 32 14.336 32 32s-14.304 32-32 32zM320 736h-96c-17.664 0-32-14.304-32-32s14.336-32 32-32h96c17.664 0 32 14.304 32 32s-14.336 32-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-cascader-field"><path d="M661.377 411.07v64.595H314.175v395.654H871.32V475.665h-48.447V411.07h48.447c35.675 0 64.595 28.92 64.595 64.595v395.654c0 35.675-28.92 64.595-64.595 64.595H314.175c-35.675 0-64.6-28.92-64.6-64.595V475.665c0-35.675 28.925-64.595 64.6-64.595h347.202zm48.448-322.984c35.675 0 64.6 28.92 64.6 64.595v403.73c0 35.676-28.925 64.595-64.6 64.595H362.623v-64.594h347.202V152.68H152.68v403.73h48.447v64.595H152.68c-35.675 0-64.595-28.92-64.595-64.594V152.68c0-35.675 28.92-64.595 64.595-64.595h557.144z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-checkbox-field"><path d="M897.94 896.77c6.259-6.278 10.257-14.835 10.257-24.531V147.672c0-9.118-3.998-18.235-10.257-24.533-6.277-6.258-14.815-9.696-24.51-9.696H149.644c-9.688 0-18.236 3.437-24.503 9.696-6.268 6.297-9.687 15.414-9.687 24.533V872.24c0 9.696 3.42 18.253 9.687 24.53 6.267 6.278 14.815 10.276 24.503 10.276h723.784c9.697 0 18.234-3.998 24.511-10.276zM149.645 61.52h723.784c23.933 0 45.586 9.697 60.98 25.111 15.397 15.974 25.073 37.666 25.073 61.04v724.567c0 23.97-9.676 45.643-25.073 61.056-15.394 15.396-37.047 25.093-60.98 25.093H149.645c-23.364 0-45.017-9.697-60.972-25.093-15.396-15.414-25.082-37.087-25.082-61.056V147.672c0-23.374 9.686-45.065 25.082-61.039 15.955-15.415 37.608-25.112 60.972-25.112z" /><path d="M417.42 698.27a23.556 23.556 0 0 1-16.668-6.9L259.5 550.12c-9.173-9.15-9.173-24.095 0-33.291 9.17-9.147 24.115-9.147 33.288 0l124.583 124.607 312.895-312.917c9.194-9.172 24.14-9.172 33.288 0 9.196 9.172 9.196 24.116 0 33.29L433.992 691.37c-4.618 4.645-10.643 6.9-16.666 6.9h.093z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-color-field"><path d="M619.52 490.667h-.853l-85.334-85.334h.854z" /><path d="M619.52 507.733h-.853a17.067 17.067 0 1 1 0-34.133c9.438 0 17.476 7.646 17.476 17.067s-7.185 17.066-16.623 17.066zM534.187 422.4c-9.438 0-17.494-7.646-17.494-17.067s7.202-17.066 16.64-17.066h.854a17.067 17.067 0 1 1 0 34.133zM192 866.133a34.133 34.133 0 0 1-24.132-58.265l42.666-42.667a34.133 34.133 0 1 1 48.265 48.265l-42.667 42.666A33.963 33.963 0 0 1 192 866.133z" /><path d="m619.52 490.667-.427-.427-84.906-84.907L746.667 192H832v85.333z" /><path d="M662.187 567.467a33.997 33.997 0 0 1-24.133-10.001L467.388 386.799a34.133 34.133 0 0 1 48.281-48.282l170.667 170.667a34.133 34.133 0 0 1-24.15 58.283z" /><path d="M320 806.4h-85.333a17.067 17.067 0 0 1-17.067-17.067V704c0-4.54 1.792-8.875 5-12.066L521.695 392.84a16.52 16.52 0 0 1 3.567-2.731l209.305-210.142a17.117 17.117 0 0 1 12.1-5.018H832a17.067 17.067 0 0 1 17.067 17.067v85.333a17.067 17.067 0 0 1-4.967 12.05L631.62 502.732a17.954 17.954 0 0 1-3.618 2.782L332.066 801.434A17.135 17.135 0 0 1 320 806.4zm-68.267-34.133h61.201l294.093-294.093a16.52 16.52 0 0 1 3.567-2.73l204.34-205.16v-61.217h-61.185L546.287 417.382a17.954 17.954 0 0 1-3.618 2.782L251.733 711.066v61.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-component"><path d="M811.008 335.872c-2.048-7.168-11.264-9.216-17.408-4.096L690.176 435.2c-8.192 8.192-20.48 8.192-28.672 0L588.8 362.496c-8.192-8.192-8.192-20.48 0-28.672l104.448-104.448c5.12-5.12 3.072-14.336-4.096-17.408-17.408-4.096-35.84-7.168-54.272-7.168-108.544 0-195.584 94.208-183.296 204.8 2.048 17.408 6.144 32.768 12.288 48.128L225.28 697.344c-27.648 27.648-27.648 73.728 0 101.376 14.336 14.336 32.768 21.504 51.2 21.504s36.864-7.168 51.2-21.504l238.592-238.592c15.36 6.144 31.744 10.24 48.128 12.288 111.616 12.288 204.8-74.752 204.8-183.296 0-18.432-3.072-36.864-8.192-53.248z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-data-table"><path d="M915.692 39.385H108.308c-15.754 0-29.539 13.784-29.539 29.538v98.462c0 15.753 13.785 29.538 29.539 29.538h807.384c15.754 0 29.539-13.785 29.539-29.538V68.923c0-15.754-13.785-29.538-29.539-29.538zM285.538 275.692h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zM285.538 472.615h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 669.538h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 866.462h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538z" /></symbol><symbol class="icon" viewBox="0 0 1132 1024" id="icon-date-field"><path d="M1023.995 1023.995H107.789C48.262 1023.995 0 975.732 0 916.205V188.63C0 129.105 48.262 80.843 107.789 80.843h80.842v53.894h-80.842c-29.777 0-53.895 24.118-53.895 53.895V296.42H1077.89V188.63c0-29.776-24.117-53.894-53.894-53.894h-80.842V80.842h80.842c59.526 0 107.789 48.262 107.789 107.789v727.575c0 59.526-48.263 107.789-107.79 107.789Zm53.894-673.681H53.894v565.892c0 29.777 24.118 53.894 53.895 53.894h916.206c29.777 0 53.894-24.117 53.894-53.894V350.314ZM794.943 628.086l-3.584 5.632c-3.314 6.306-7.087 12.153-11.237 17.731L646.734 861.476H589.12l98.358-160.875c-.108 0-.216.027-.324.027-66.963 0-121.262-60.335-121.262-134.736 0-74.401 54.299-134.736 121.262-134.736 66.964 0 121.263 60.335 121.263 134.736 0 22.42-5.39 43.25-14.12 61.844l.646.35ZM687.154 485.05c-37.214 0-67.368 36.19-67.368 80.842 0 44.651 30.154 80.842 67.368 80.842 19.052 0 36.164-9.567 48.425-24.819l9.781-16.006c5.66-11.83 9.163-25.385 9.163-40.017 0-44.652-30.154-80.842-67.369-80.842Zm-310.216 21.881-80.734 72.327v-66.991l82.405-80.41h52.062v429.727h-53.733V506.93Zm512.32-291.353c-14.874 0-26.947-12.072-26.947-26.947V26.947C862.311 12.072 874.384 0 889.26 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947ZM296.42 80.842h538.944v53.894H296.42V80.842Zm-53.895 134.736c-14.875 0-26.947-12.072-26.947-26.947V26.947C215.578 12.072 227.65 0 242.525 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947Z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-date-range-field"><path d="M887.467 192.853H786.773v-73.386c0-10.24-6.826-17.067-17.066-17.067s-17.067 6.827-17.067 17.067v73.386H303.787v-73.386c0-10.24-6.827-17.067-17.067-17.067s-17.067 6.827-17.067 17.067v73.386H168.96c-46.08 0-85.333 37.547-85.333 85.334v558.08c0 46.08 37.546 85.333 85.333 85.333h718.507c46.08 0 85.333-37.547 85.333-85.333v-558.08c0-47.787-37.547-85.334-85.333-85.334zM168.96 226.987h100.693v66.56c0 10.24 6.827 17.066 17.067 17.066s17.067-6.826 17.067-17.066v-66.56h450.56v66.56c0 10.24 6.826 17.066 17.066 17.066s17.067-6.826 17.067-17.066v-66.56h98.987c27.306 0 51.2 22.186 51.2 51.2v88.746H117.76v-88.746c0-29.014 22.187-51.2 51.2-51.2zm718.507 660.48H168.96c-27.307 0-51.2-22.187-51.2-51.2v-435.2h820.907v435.2c0 27.306-22.187 51.2-51.2 51.2z" /><path d="M858.453 493.227H327.68c-10.24 0-17.067 6.826-17.067 17.066V624.64H194.56c-10.24 0-17.067 6.827-17.067 17.067v133.12c0 10.24 6.827 17.066 17.067 17.066H460.8c10.24 0 17.067-6.826 17.067-17.066V660.48h380.586c10.24 0 17.067-6.827 17.067-17.067v-133.12c0-10.24-6.827-17.066-17.067-17.066zM445.44 527.36v97.28h-98.987v-97.28h98.987zm-230.4 131.413h98.987v98.987H215.04v-98.987zm131.413 97.28v-97.28h98.987v97.28h-98.987zm133.12-228.693h97.28v98.987h-97.28V527.36zm131.414 0h98.986v98.987h-98.986V527.36zm230.4 97.28H742.4v-98.987h98.987v98.987z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-divider"><path d="M62.5 491.773h899v74.918h-899v-74.918z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-document"><path d="M979.478 706.382a44.522 44.522 0 0 1-11.843 57.967l-4.363 2.85L569.478 995.06l-5.388 4.764a84.013 84.013 0 0 1-43.943 17.808l-8.102.401c-19.056 0-37.31-6.545-52.046-18.254l-5.432-4.72L60.817 767.2a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zm0-222.609a44.522 44.522 0 0 1-11.843 57.968l-4.363 2.849-393.794 227.862-5.388 4.764a84.013 84.013 0 0 1-43.943 17.809l-8.102.4c-19.056 0-37.31-6.544-52.046-18.254l-5.432-4.719L60.817 544.59a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zM512 0c18.788 0 36.864 6.1 51.645 17.185l4.586 3.74 403.5 199.68 5.61 6.144c32.501 35.44 32.501 89.89 0 125.329l-5.61 6.144-403.5 199.59-4.541 3.785a86.239 86.239 0 0 1-43.676 16.83l-8.014.356c-18.788 0-36.864-6.1-51.645-17.186l-4.63-3.784L52.269 358.222l-5.61-6.144a92.739 92.739 0 0 1 0-125.329l5.61-6.144 403.456-199.68 4.585-3.74C473 7.702 488.136 1.87 503.986.356z" fill="#008df0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-drag"><path d="M574.958 267.016h-63.454 204.649L511.213 63.655 307.85 267.016h141.191V456.68H258.688v125.917H449.04V772.95h125.917V582.596h188.875V456.679H574.958V267.016zm-63.704 693.33 189.62-187.396H323.126l188.129 187.395zM71.292 518.891l187.395 189.62v-377.75L71.292 518.892zm692.54-188.13v377.75L952.708 518.89 763.833 330.762z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-file-upload-field"><path d="m676.48 72.96 209.92 211.2 9.6 23.04V928l-32 32H160l-32-32V96l32-32h494.08l22.4 8.96zM640 320h192L640 128v192zM192 128v768h640V384H608l-32-32V128H192zm512 320H320v64h384v-64zM320 576h384v64H320v-64zm384 128H320v64h384v-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-github"><path d="M512 0C229.284 0 .142 234.943.142 524.868c0 231.829 146.647 428.553 350.068 497.952 25.593 4.82 34.977-11.389 34.977-25.294 0-12.455-.469-45.47-.725-89.277-142.382 31.735-172.453-70.38-172.453-70.38-23.247-60.57-56.817-76.694-56.817-76.694-46.493-32.588 3.54-31.948 3.54-31.948 51.357 3.71 78.358 54.086 78.358 54.086 45.683 80.191 119.817 57.072 148.993 43.594 4.65-33.911 17.915-57.03 32.503-70.168-113.675-13.223-233.151-58.224-233.151-259.341 0-57.285 19.92-104.163 52.678-140.846-5.246-13.266-22.82-66.627 4.991-138.884 0 0 42.996-14.076 140.76 53.787 40.864-11.644 84.628-17.445 128.179-17.659 43.465.214 87.271 6.015 128.135 17.66 97.68-67.907 140.59-53.788 140.59-53.788 27.939 72.257 10.408 125.618 5.119 138.884 32.844 36.683 52.593 83.56 52.593 140.846 0 201.587-119.647 245.99-233.663 258.957 18.341 16.21 34.72 48.2 34.72 97.21 0 70.168-.639 126.728-.639 143.96 0 14.034 9.214 30.371 35.19 25.21 203.25-69.528 349.77-266.124 349.77-497.867C1023.858 234.943 794.674 0 512 0" fill="#3E75C3" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-grid"><path d="M819.354 921.6h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 819.2v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 460.8v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V102.4h-102.4v102.4zM921.754 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 921.754 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM563.354 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 563.354 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM204.954 0h-102.4A102.4 102.4 0 0 0 .154 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 204.954 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-html-text"><path d="m137.6 512 204.8-204.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L70.4 489.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4l227.2 227.2c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8L137.6 512zm464-339.2c-16-3.2-35.2 6.4-38.4 22.4L396.8 812.8c-3.2 16 6.4 35.2 22.4 38.4 16 3.2 35.2-6.4 38.4-22.4L624 211.2c6.4-16-3.2-35.2-22.4-38.4zm352 316.8L726.4 262.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8L886.4 512 681.6 716.8c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l227.2-227.2c6.4-6.4 9.6-16 9.6-22.4 0-9.6-3.2-16-9.6-22.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-node-tree"><path d="M332.48 500.864a25.6 25.6 0 1 0 0-51.2H192.384v-184.96a115.2 115.2 0 0 0 89.6-112.128c0-63.488-51.712-115.2-115.2-115.2s-115.2 51.712-115.2 115.2a115.2 115.2 0 0 0 89.6 112.128v696.192a25.6 25.6 0 1 0 51.2 0v-141.12c2.304.192 4.48.512 6.912.512H332.48a25.6 25.6 0 1 0 0-51.2H199.296c-3.456 0-5.504-.448-6.08-.256a29.184 29.184 0 0 1-.896-8.576V500.8h140.16zM102.784 152.64c0-35.264 28.736-64 64-64s64 28.736 64 64-28.736 64-64 64-64-28.736-64-64zm818.432 207.424h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4zm486.336 140.352h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-number-field"><path d="M960 1024H64a64 64 0 0 1-64-64V64A64 64 0 0 1 64 0h896a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64zm0-896a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128zM832 768H704a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v384a64 64 0 0 1-64 64zM512 640a64 64 0 0 1 0 128H384a64 64 0 0 1-64-64V512a64 64 0 0 1 64-64h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v192a64 64 0 0 1-64 64h-64v64h64zM192 768a64 64 0 0 1-64-64V320a64 64 0 0 1 128 0v384a64 64 0 0 1-64 64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-picture-upload-field"><path d="M896 1024H128C57.312 1024 0 966.688 0 896V128C0 57.312 57.312 0 128 0h768c70.688 0 128 57.312 128 128v768c0 70.688-57.312 128-128 128zm0-64c35.328 0 64-28.672 64-64V639.968l-192-192L494.816 721.12 730.624 960H896zM64 896c0 35.328 28.672 64 64 64h512.032L318.24 638.208 64 865.952V896zm896-768c0-35.328-28.672-64-64-64H128c-35.328 0-64 28.672-64 64v650.752L320 544l129.856 131.552L768 352l192 196.096V128zM256 384c-70.688 0-128-57.312-128-128s57.312-128 128-128 128 57.312 128 128-57.312 128-128 128zm0-192c-35.328 0-64 28.672-64 64s28.672 64 64 64 64-28.672 64-64-28.672-64-64-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-radio-field"><path d="M512 65.983C266.08 65.983 65.983 266.08 65.983 512c0 245.952 200.065 446.017 446.017 446.017S958.017 757.952 958.017 512c0-245.92-200.065-446.017-446.017-446.017zm0 828.034c-210.656 0-382.017-171.392-382.017-382.017 0-210.656 171.36-382.017 382.017-382.017 210.625 0 382.017 171.36 382.017 382.017 0 210.625-171.392 382.017-382.017 382.017zM512 352C423.776 352 352 423.776 352 512s71.774 160 160 160 160-71.774 160-160-71.776-160-160-160z" /></symbol><symbol class="icon" viewBox="0 0 1069 1024" id="icon-rate-field"><path d="m633.73 378.02 9.498 18.688 20.78 2.798 206.616 27.332a11.465 11.465 0 0 1 6.61 19.473L729.966 593.665l-14.893 14.893 3.8 20.683 37.847 204.89a11.465 11.465 0 0 1-16.481 12.296l-185.55-94.58-18.687-9.493-18.487 9.992-183.24 99.35a11.465 11.465 0 0 1-16.784-11.867l32.543-205.796 3.297-20.786-15.192-14.492-151.033-143.484a11.465 11.465 0 0 1 6.1-19.64L399 402.998l20.786-3.296 9.092-18.98 89.713-188.078a11.465 11.465 0 0 1 20.569-.263l94.568 185.635zM496.647 85.52 374.89 340.501l-279.126 44.26a34.395 34.395 0 0 0-18.303 58.908l204.873 194.663-44.169 279.115a34.395 34.395 0 0 0 50.366 35.616l248.4-134.679L788.776 946.66a34.395 34.395 0 0 0 49.437-36.894l-51.306-277.854 199.731-199.909a34.395 34.395 0 0 0-19.828-58.408l-280.118-37.032L558.33 84.713a34.395 34.395 0 0 0-61.682.802z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-redo"><path d="M412.081 346.3h443.415L640.168 133.871c-18.973-18.973-18.973-46.064 0-65.038s44.325-19.884 63.381-.83l291.385 284.591c18.973 18.973 18.973 44.159 0 63.132L703.549 700.649c-18.973 18.973-44.325 18.973-63.381-.083-18.973-18.973-18.973-43.91 0-62.883l215.328-208.534H412.081c-177.3 0-314.335 138.359-314.335 309.364v44.325c0 25.354-16.074 44.325-41.425 44.325s-41.425-18.973-41.425-44.325v-44.325c0-221.709 169.181-392.213 397.185-392.213z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-rich-editor-field"><path d="M313.36 448.094H632.63v31.927H313.36v-31.927ZM313.36 583.784h223.49v31.927H313.36v-31.927ZM313.36 719.474h127.709v31.927h-127.71v-31.927ZM889.412 554.809l-39.955-39.971-39.957-39.941c-7.358-7.358-19.285-7.358-26.642 0l-329.7 329.694a14.08 14.08 0 0 0-4.592 6.873L412.078 932.86a14.158 14.158 0 0 0 3.54 14.079l.99.763.77.982a14.174 14.174 0 0 0 14.062 3.555l121.395-36.495a14.04 14.04 0 0 0 6.938-4.677l329.639-329.63c7.35-7.343 7.35-19.284 0-26.627zM541.136 889.756l-95.198 28.622 28.623-95.235 255.02-255.02 66.6 66.599-255.045 255.034zM856.112 574.78l-46.611 46.611-66.59-66.598 46.605-46.597c3.677-3.68 9.641-3.68 13.319-.016l26.892 26.892 26.384 26.394c3.68 3.68 3.68 9.65.001 13.314z" /><path d="M671.874 224.898v-28.934c0-22.004-17.905-39.909-39.909-39.909H314.026c-22.004 0-39.909 17.905-39.909 39.91v28.933h-104.43v643.564c0 35.26 28.592 63.854 63.855 63.854h127.709v-47.89H249.506c-17.632 0-31.928-14.299-31.928-31.928v-579.71h56.54v10.976c0 22.004 17.904 39.909 39.908 39.909h317.938c22.004 0 39.91-17.905 39.91-39.91V272.79h56.538V437.45h47.89V224.898H671.875zm-47.89 50.884H322.007v-71.836h301.974v71.836z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-section"><path d="M141.074 906.496h741.852c89.581 0 134.583-44.562 134.583-132.846V250.331c0-88.283-45.002-132.845-134.583-132.845H141.074c-89.143.018-134.583 44.16-134.583 132.845V773.67c0 88.704 45.44 132.845 134.583 132.845zm1.28-68.992c-42.861 0-66.852-22.71-66.852-67.291V253.806c0-44.58 23.99-67.292 66.852-67.292h739.292c42.423 0 66.852 22.711 66.852 67.292v516.388c0 44.58-24.43 67.292-66.852 67.292z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-tree-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /><path d="M224 192a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm256-480a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0ZM192 352h256M192 672h256M224 192v160m0 160v160" stroke="currentColor" stroke-width="32" fill="none" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slider-field"><path d="M951.453 476.844H523.672a131.836 131.836 0 0 0-254.18 0H72.547v70.312h196.945a131.836 131.836 0 0 0 254.18 0h427.781z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-component"><path d="M512 102.4c-212.48 0-384 171.52-384 384s171.52 384 384 384 384-171.52 384-384-171.52-384-384-384zm25.6 716.8v-128c0-15.36-10.24-25.6-25.6-25.6s-25.6 10.24-25.6 25.6v128C322.56 806.4 192 675.84 179.2 512h128c15.36 0 25.6-10.24 25.6-25.6s-10.24-25.6-25.6-25.6h-128C192 296.96 322.56 166.4 486.4 156.16V281.6c0 15.36 10.24 25.6 25.6 25.6s25.6-10.24 25.6-25.6V156.16C701.44 168.96 832 299.52 844.8 460.8h-128c-15.36 0-25.6 10.24-25.6 25.6s10.24 25.6 25.6 25.6h128C832 675.84 701.44 806.4 537.6 819.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-field"><path d="M493.969 244.87h36.285q18.031 0 18.031 18.03v217.267q0 18.031-18.031 18.031h-36.285q-18.032 0-18.032-18.031V262.901q0-18.031 18.032-18.031ZM323.45000000000005 525.802h36.286q18.031 0 18.031 18.031v217.266q0 18.031-18.031 18.031H323.45q-18.03 0-18.03-18.03V543.832q0-18.031 18.03-18.031ZM664.2639999999999 525.802h36.286q18.03 0 18.03 18.031v217.266q0 18.031-18.03 18.031h-36.286q-18.031 0-18.031-18.03V543.832q0-18.031 18.031-18.031Z" /><path d="M827.437 122.212H196.563a74.574 74.574 0 0 0-74.35 74.351v630.874a74.574 74.574 0 0 0 74.35 74.35h630.874a74.574 74.574 0 0 0 74.35-74.35V196.563a74.574 74.574 0 0 0-74.35-74.35zm52.09 705.225a52.09 52.09 0 0 1-52.09 52.09H196.563a52.09 52.09 0 0 1-52.09-52.09V196.563a52.09 52.09 0 0 1 52.09-52.09h630.874a52.09 52.09 0 0 1 52.09 52.09z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-static-text"><path d="M213.333 160c-4.821 0-9.472.64-13.824 1.792a32 32 0 0 1-16.554-61.824C192.683 97.408 202.88 96 213.333 96h33.195a32 32 0 0 1 0 64h-33.195zm133.931-32a32 32 0 0 1 32-32h66.347a32 32 0 1 1 0 64h-66.304a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zm199.083 0a32 32 0 0 1 32-32h33.195c10.453 0 20.65 1.365 30.378 3.968a32 32 0 1 1-16.554 61.867A53.419 53.419 0 0 0 810.667 160h-33.195a32 32 0 0 1-32-32zm-606.293 32.341a32 32 0 0 1 22.613 39.168A53.461 53.461 0 0 0 160 213.333v33.195a32 32 0 0 1-64 0v-33.195c0-10.453 1.365-20.65 3.968-30.378a32 32 0 0 1 39.168-22.614zm745.685 0a32 32 0 0 1 39.168 22.614c2.56 9.728 3.968 19.925 3.968 30.378v33.195a32 32 0 0 1-64 0v-33.195c0-4.821-.64-9.472-1.792-13.824a32 32 0 0 1 22.613-39.168zM128 347.221a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zM128 546.432a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm0 199.083a32 32 0 0 1 32 32v33.152c0 10.453-1.365 20.65-3.968 30.378a32 32 0 1 1-61.867-16.554c1.195-4.352 1.835-8.96 1.835-13.824v-33.195a32 32 0 0 1 32-32zm-768 0a32 32 0 0 1 32 32v33.152c0 4.821.64 9.472 1.792 13.824a32 32 0 0 1-61.824 16.512A117.461 117.461 0 0 1 96 810.667v-33.195a32 32 0 0 1 32-32zm32.341 139.392a32 32 0 0 1 39.168-22.656 53.814 53.814 0 0 0 13.824 1.792h33.195a32 32 0 0 1 0 64h-33.195c-10.453 0-20.65-1.366-30.378-3.968a32 32 0 0 1-22.614-39.168zm703.318 0a32 32 0 0 1-22.614 39.168c-9.728 2.56-19.925 3.968-30.378 3.968h-33.195a32 32 0 0 1 0-64h33.195c4.821 0 9.472-.64 13.824-1.792a32 32 0 0 1 39.168 22.613zM347.307 896a32 32 0 0 1 32-32h66.346a32 32 0 1 1 0 64h-66.346a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zM341.333 352a32 32 0 0 0 0 64H480v266.667a32 32 0 0 0 64 0V416h138.667a32 32 0 0 0 0-64H341.333z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-sub-form"><path d="M512 106.667H112a5.333 5.333 0 0 0-5.333 5.333v800a5.333 5.333 0 0 0 5.333 5.333h800a5.333 5.333 0 0 0 5.333-5.333V112a5.333 5.333 0 0 0-5.333-5.333zm0 74.666h325.333a5.333 5.333 0 0 1 5.334 5.334v160a5.333 5.333 0 0 1-5.334 5.333H186.667a5.333 5.333 0 0 1-5.334-5.333v-160a5.333 5.333 0 0 1 5.334-5.334zM597.333 432v405.333a5.333 5.333 0 0 1-5.333 5.334H432a5.333 5.333 0 0 1-5.333-5.334V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.333 5.333zm-410.666-5.333h160A5.333 5.333 0 0 1 352 432v405.333a5.333 5.333 0 0 1-5.333 5.334h-160a5.333 5.333 0 0 1-5.334-5.334V432a5.333 5.333 0 0 1 5.334-5.333zM672 837.333V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.334 5.333v405.333a5.333 5.333 0 0 1-5.334 5.334h-160a5.333 5.333 0 0 1-5.333-5.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-switch-field"><path d="M692 792H332C182 792 62 672 62 522s120-270 270-270h360c150 0 270 120 270 270 0 147-120 270-270 270zM332 312c-117 0-210 93-210 210s93 210 210 210h360c117 0 210-93 210-210s-93-210-210-210H332z" /><path d="M191 522a150 150 0 1 0 300 0 150 150 0 1 0-300 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-tab"><path d="M908.8 1005.44H115.2A101.76 101.76 0 0 1 14.08 903.68V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z" /><path d="M977.92 299.52a32.64 32.64 0 0 1-32-32v-87.04a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32H908.8a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z" /><path d="M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z" /><path d="M699.52 299.52a32 32 0 0 1-32-32v-156.8a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-table"><path d="M925.586 0H101.369C69.885 0 42.24 28.924 42.24 62.328v902.8c0 33.403 27.645 58.872 59.129 58.872h824.217c31.484 0 56.057-25.469 56.057-58.873V62.328C981.643 28.924 957.198 0 925.586 0zM373.719 735.908V543.932h276.445v191.976zm276.445 42.235v203.494H373.719V778.143zm287.964-276.446h-244.45V298.203h244.45zm-287.964 0H373.719V298.203h276.445zm-319.96 0H85.754V298.203h244.45zm-244.45 42.235h244.45v191.976H85.754zm607.925 0h244.449v191.976h-244.45zM101.369 42.235h824.217c7.807 0 12.542 10.366 12.542 20.093v193.64H85.755V62.328c0-9.727 7.807-20.093 15.614-20.093zM85.755 964.999V778.143h244.449v203.494H101.369c-7.807 0-15.614-6.91-15.614-16.51zm839.83 16.638H693.68V778.143h244.449v186.856c0 9.727-4.607 16.638-12.542 16.638z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-text-field"><path d="M896 224H128c-35.2 0-64 28.8-64 64v448c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V288c0-35.2-28.8-64-64-64zm0 480c0 19.2-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V320c0-19.2 12.8-32 32-32h704c19.2 0 32 12.8 32 32v384z" /><path d="M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-textarea-field"><path d="M896.4 173.1H128.9c-35.2 0-49 13.8-49 49v575.6c0 35.2 13.8 49 49 49h767.5c35.2 0 49-13.8 49-49V222.1c0-35.2-13.8-49-49-49zm0 592.6c0 16-12.8 32-32 32H160.9c-19.2 0-32-12.8-32-32V254.1c0-16 12.8-32 32-32h703.5c19.2 0 32 12.8 32 32v511.6z" /><path d="M710.2 766.7h141.5c8.1 0 14.7-6.6 14.7-14.7V610.4c0-1.3-1.6-2-2.6-1.1L709.1 764.1c-1 1-.3 2.6 1.1 2.6zm-503-172.4h-13.5c-10 0-18.2-8.2-18.2-18.2V291.8c0-10.2 8.4-18.6 18.6-18.6h12.8c10.2 0 18.6 8.4 18.6 18.6v284.3c-.1 10-8.3 18.2-18.3 18.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-field"><path d="M512 39.385A472.615 472.615 0 1 0 984.615 512 472.615 472.615 0 0 0 512 39.385zm0 866.461A393.846 393.846 0 1 1 905.846 512 393.846 393.846 0 0 1 512 905.846zm75.855-373.72A77.154 77.154 0 0 0 590.769 512a78.454 78.454 0 0 0-39.384-67.86V196.923a39.385 39.385 0 0 0-78.77 0V444.14a78.336 78.336 0 0 0 59.55 143.715l70.144 70.144a39.385 39.385 0 0 0 55.69-55.69zM512 551.385A39.385 39.385 0 1 1 551.385 512 39.385 39.385 0 0 1 512 551.385zm315.077-78.77A39.385 39.385 0 1 0 866.462 512a39.385 39.385 0 0 0-39.385-39.385zm-630.154 0A39.385 39.385 0 1 0 236.308 512a39.385 39.385 0 0 0-39.385-39.385zm509.991 234.3a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69 0zM317.007 317.006a39.385 39.385 0 1 0-55.73 0 39.385 39.385 0 0 0 55.809.04zM512 787.692a39.385 39.385 0 1 0 39.385 39.385A39.385 39.385 0 0 0 512 787.692zm-250.604-80.778a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.039zm445.518-445.518a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.04z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-range-field"><path d="M498.596 482.29H345.42v57.308h210.478V274.197h-57.301V482.29zm79.089 162.695h379.88v57.302h-379.88v-57.302zm0 128.78h379.88v57.307h-379.88v-57.307zm0 128.785h379.88v57.307h-379.88V902.55zm0 0" /><path d="M102.523 382.29a28.668 28.668 0 0 0 23.367 2.56l190.81-61.886c15.053-4.883 23.298-21.04 18.415-36.09-4.882-15.052-21.04-23.297-36.093-18.415l-123.346 40c15.994-26.117 35.17-50.538 57.37-72.745 73.768-73.767 171.847-114.388 276.169-114.388 104.32 0 202.395 40.622 276.161 114.388S899.77 407.56 899.77 511.882c0 26.428-2.616 52.45-7.71 77.78h58.303c4.465-25.499 6.709-51.47 6.709-77.78 0-60.45-11.846-119.102-35.205-174.336-22.56-53.335-54.85-101.227-95.969-142.35-41.122-41.122-89.017-73.408-142.348-95.968-55.233-23.361-113.89-35.207-174.334-35.207-60.45 0-119.107 11.846-174.337 35.208-53.335 22.56-101.23 54.846-142.35 95.969-23.98 23.98-44.933 50.278-62.727 78.6l-20.738-105.654c-3.043-15.528-18.105-25.642-33.632-22.6-15.528 3.048-25.643 18.105-22.6 33.637l36.103 183.932a28.666 28.666 0 0 0 13.588 19.178zm23.497 205.652H67.768c5.76 33.679 15.368 66.544 28.79 98.278 22.56 53.334 54.85 101.225 95.972 142.348 41.123 41.123 89.014 73.409 142.349 95.969 54.112 22.888 111.518 34.711 170.668 35.182v-57.324c-102.95-.941-199.595-41.446-272.5-114.349-55.501-55.502-92.237-124.77-107.027-200.104zm0 0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-undo"><path d="M609.206 396.656H193.504l201.87-199.152c17.787-17.787 17.787-43.185 0-60.973s-41.555-18.641-59.42-.778L62.857 402.557c-17.787 17.787-17.787 41.399 0 59.186L336.03 728.858c17.787 17.787 41.555 17.787 59.42-.078 17.787-17.787 17.787-41.166 0-58.953L193.502 474.326h415.702c166.219 0 311.155 129.712 311.155 290.029v41.555c0 23.769 15.069 41.555 38.836 41.555s38.836-17.787 38.836-41.555v-41.555c0-207.852-175.073-367.7-388.828-367.7z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-vue-sfc"><path d="M454.138 11.176 54.066 174.092c-72.088 29.49-72.088 120.523 0 150.014l400.276 162.916c36.454 14.95 78.847 14.95 115.506 0l400.071-162.814c72.191-29.593 72.089-120.83-.307-150.116L569.746 11.278a155.339 155.339 0 0 0-115.608-.205zm469.19 237.872L532.37 408.585l-7.885 2.457a55.09 55.09 0 0 1-32.562-2.457L100.35 249.048l391.265-159.23a55.09 55.09 0 0 1 40.447 0l391.162 159.23z" fill="#1890FF" /><path d="M498.681 729.911c-20.275 0-40.652-3.788-59.391-11.673L53.76 561.26C20.48 547.847 0 519.89 0 488.558c0-31.436 20.582-59.391 53.862-72.703l36.556-15.053c21.401-8.806 47.103-1.024 57.24 17.408 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.229-4.71 3.584-4.71 6.45 0 3.073 1.536 5.12 4.71 6.452l385.326 156.875c14.336 5.939 30.924 5.939 45.362 0L906.74 495.009c3.072-1.229 4.915-3.584 4.915-6.451 0-3.072-1.536-5.222-4.607-6.451l-44.851-18.227c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.329 35.84-26.214 57.24-17.407l44.851 18.431c33.177 13.517 53.76 41.267 53.76 72.703 0 31.334-20.48 59.391-53.76 72.703L558.482 718.238a161.585 161.585 0 0 1-59.801 11.673z" fill="#5DE1C8" /><path d="M498.681 966.247c-20.275 0-40.652-3.89-59.391-11.673L53.76 797.597C20.48 784.08 0 756.227 0 724.997c0-31.437 20.582-59.494 53.862-72.806l36.556-14.95c21.401-8.807 47.103-1.024 57.24 17.407 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.126-4.71 3.584-4.71 6.451 0 3.072 1.536 5.12 4.71 6.349l385.326 156.977c14.336 5.939 30.924 5.939 45.362 0L906.74 731.14c3.072-1.126 4.915-3.584 4.915-6.349 0-3.072-1.536-5.324-4.607-6.45l-44.851-18.33c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.431 35.84-26.214 57.24-17.407l44.851 18.329c33.177 13.517 53.76 41.369 53.76 72.703 0 31.436-20.48 59.494-53.76 72.805l-385.428 157.08a161.585 161.585 0 0 1-59.801 11.673z" fill="#FF7272" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-search"><path d="M863.3 641.94A416.1 416.1 0 0 0 96.7 318.06a416.1 416.1 0 0 0 766.6 323.88zM480 832a352 352 0 1 1 248.9-103.1A349.69 349.69 0 0 1 480 832z" /><path d="m950.63 841.37-96-96a32 32 0 0 0-45.25 45.25l96 96a13.25 13.25 0 1 1-18.75 18.75l-96-96a32 32 0 0 0-45.25 45.25l96 96a77.25 77.25 0 1 0 109.25-109.25z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-arrow-down"><path d="M512 714.667c-8.533 0-17.067-2.134-23.467-8.534L147.2 364.8c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l320 317.867 317.867-320c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8L533.333 704c-4.266 8.533-12.8 10.667-21.333 10.667z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-back"><path fill="currentColor" d="M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z" /><path fill="currentColor" d="m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-check"><path fill="currentColor" d="M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-clone"><path d="M774.144 839.68c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H184.32c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V380.928c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4v65.536c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08V839.68c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h458.752c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08h65.536zM380.928 118.784c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v458.752c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456H839.68c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V184.32c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H380.928zm0-65.536H839.68c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v458.752c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H380.928c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V184.32c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-delete"><path fill="currentColor" d="M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-download"><path d="M896 672c-17.067 0-32 14.933-32 32v128c0 6.4-4.267 10.667-10.667 10.667H170.667c-6.4 0-10.667-4.267-10.667-10.667V704c0-17.067-14.933-32-32-32s-32 14.933-32 32v128c0 40.533 34.133 74.667 74.667 74.667h682.666C893.867 906.667 928 872.533 928 832V704c0-17.067-14.933-32-32-32z" /><path d="M488.533 727.467c6.4 6.4 14.934 8.533 23.467 8.533s17.067-2.133 23.467-8.533L748.8 514.133c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L546.133 627.2V170.667c0-17.067-14.933-32-32-32S480 153.6 480 170.667V627.2L322.133 469.333c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l211.2 213.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-drag-move"><path d="M909.3 506.3 781.7 405.6c-4.7-3.7-11.7-.4-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7c-2.9-3.7-8.5-3.7-11.3 0L405.6 242.3c-3.7 4.7-.4 11.7 5.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3c-3.7 2.9-3.7 8.5 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.7-2.9 3.7-8.5.1-11.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-form-template"><path d="M298.667 981.333A85.333 85.333 0 0 1 213.333 896V128a85.333 85.333 0 0 1 85.334-85.333h426.666A85.333 85.333 0 0 1 810.667 128v768a85.333 85.333 0 0 1-85.334 85.333zm0-832v725.334A21.333 21.333 0 0 0 320 896h384a21.333 21.333 0 0 0 21.333-21.333V149.333A21.333 21.333 0 0 0 704 128H320a21.333 21.333 0 0 0-21.333 21.333zm640 618.667V256a42.667 42.667 0 0 1 42.666-42.667A42.667 42.667 0 0 1 1024 256v512a42.667 42.667 0 0 1-42.667 42.667A42.667 42.667 0 0 1 938.667 768zM0 768V256a42.667 42.667 0 0 1 42.667-42.667A42.667 42.667 0 0 1 85.333 256v512a42.667 42.667 0 0 1-42.666 42.667A42.667 42.667 0 0 1 0 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-hide"><path d="M956.8 496c-41.6-70.4-99.2-147.2-176-204.8l105.6-105.6c12.8-12.8 12.8-32 0-44.8s-32-12.8-44.8 0L726.4 256C665.6 214.4 592 192 512 192c-214.4 0-358.4 166.4-444.8 304-6.4 9.6-6.4 22.4 0 32 41.6 70.4 102.4 147.2 176 204.8L134.4 841.6c-12.8 12.8-12.8 32 0 44.8 9.6 6.4 16 9.6 25.6 9.6s16-3.2 22.4-9.6l115.2-115.2C358.4 809.6 432 832 512 832c185.6 0 374.4-128 444.8-307.2 3.2-9.6 3.2-19.2 0-28.8zm-822.4 16C211.2 390.4 336 256 512 256c60.8 0 118.4 16 166.4 44.8l-80 80C576 361.6 544 352 512 352c-89.6 0-160 70.4-160 160 0 32 9.6 64 25.6 89.6L288 691.2C224 640 172.8 572.8 134.4 512zm473.6 0c0 54.4-41.6 96-96 96-16 0-28.8-3.2-41.6-9.6l128-128c6.4 12.8 9.6 25.6 9.6 41.6zm-192 0c0-54.4 41.6-96 96-96 16 0 28.8 3.2 41.6 9.6l-128 128c-6.4-12.8-9.6-25.6-9.6-41.6zm96 256c-60.8 0-118.4-16-166.4-44.8l80-80C448 662.4 480 672 512 672c89.6 0 160-70.4 160-160 0-32-9.6-64-25.6-89.6l89.6-89.6C803.2 384 854.4 451.2 892.8 512 825.6 659.2 665.6 768 512 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-info"><path d="M512.001 928.997c230.524 0 418.076-187.552 418.075-418.077 0-230.527-187.552-418.077-418.075-418.077S93.924 280.393 93.924 510.92c0 230.525 187.552 418.077 418.077 418.077zM512 301.88c28.86 0 52.26 23.399 52.26 52.263 0 28.858-23.399 52.257-52.26 52.257s-52.26-23.399-52.26-52.257c0-28.863 23.399-52.263 52.26-52.263zm-52.26 209.042c0-28.86 23.399-52.26 52.26-52.26s52.26 23.399 52.26 52.26v156.775c0 28.86-23.399 52.26-52.26 52.26s-52.26-23.399-52.26-52.26V510.922z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-column"><path d="M653.184 713.6c12.864-12.864 33.6-12.864 46.528 0 6.4 6.4 3.776 14.72 3.776 23.232a32.675 32.675 0 0 1-9.6 23.104L569.92 886.4c-.128.128-.32.192-.512.32-2.88 2.88-9.536 5.184-13.312 6.784-3.456 1.344-.64 1.856-4.096 2.112-.768 0-1.344.384-2.048.384-.512 0-.896-.256-1.344-.256-3.84-.192-5.76-.896-9.344-2.24-3.264-1.344-6.016-3.52-8.64-5.76-.64-.512-1.472-.768-2.048-1.344L391.232 760c-12.864-12.736-6.976-33.6 5.888-46.4 12.8-12.864 33.6-12.864 46.464 0l105.472 100.352L653.184 713.6zM384 64v576h320V64H384zM128 704v256H64V640h256v320h-62.976L256 704H128m704 0v256h-64V640h256v320h-62.976L960 704H832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-row"><path d="M310.336 653.184c12.864 12.864 12.864 33.6 0 46.528-6.4 6.4-14.72 3.776-23.168 3.776s-16.832-3.264-23.168-9.6L137.6 569.92c-.128-.128-.192-.32-.256-.512-2.88-2.816-5.248-9.536-6.848-13.312-1.344-3.392-1.856-.576-2.112-4.096 0-.768-.384-1.344-.384-2.048 0-.512.256-.896.256-1.344.192-3.84.896-5.76 2.24-9.344 1.344-3.264 3.52-6.016 5.76-8.64.512-.704.768-1.536 1.344-2.112l126.336-137.344c12.8-12.864 33.6-6.976 46.4 5.888 12.864 12.8 12.864 33.6 0 46.464L210.048 548.992l100.288 104.192zM960 384H384v320h576V384zM320 128H64V64h320v256H64v-62.976L320 256V128m0 704H64v-64h320v256H64v-62.976L320 960V832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-menu"><path d="M844.8 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zM435.2 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-down"><path d="M898.133 512c-12.8-12.8-32-12.8-44.8-2.133L544 800V149.333c0-17.066-14.933-32-32-32s-32 14.934-32 32V800L170.667 509.867c-12.8-12.8-34.134-10.667-44.8 2.133-12.8 12.8-10.667 34.133 2.133 44.8l362.667 341.333c2.133 2.134 6.4 4.267 8.533 6.4 4.267 2.134 6.4 2.134 10.667 2.134s8.533 0 10.666-2.134c4.267-2.133 6.4-4.266 8.534-6.4L891.733 556.8c17.067-12.8 19.2-32 6.4-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-up"><path d="M896 467.2 533.333 125.867c-2.133-2.134-6.4-4.267-8.533-6.4-4.267-2.134-6.4-2.134-10.667-2.134s-8.533 0-10.666 2.134c-4.267 2.133-6.4 4.266-8.534 6.4L132.267 467.2c-12.8 12.8-12.8 32-2.134 44.8 12.8 12.8 32 12.8 44.8 2.133L484.267 224v650.667c0 17.066 14.933 32 32 32s32-14.934 32-32V224l305.066 290.133c6.4 6.4 14.934 8.534 21.334 8.534 8.533 0 17.066-4.267 23.466-10.667 12.8-12.8 10.667-32-2.133-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-plus"><path d="M554.667 213.333h-85.334v256h-256v85.334h256v256h85.334v-256h256v-85.334h-256z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-set-up"><path d="M217.088 151.552c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v589.824c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h589.824c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V217.088c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H217.088zm0-65.536h589.824c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v589.824c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H217.088c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V217.088c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4zm163.84 327.68c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm98.304-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H479.232c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768zm163.84 425.984c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm-360.448-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H282.624c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-view"><path fill="currentColor" d="M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-zoom-in"><path fill="currentColor" d="m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z" /></symbol>',_.insertBefore(e,_.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",h):h()}var iconfont="",index="";function registerCPEditor(h,_,e,g){h.component(e,g)}function registerAPEditor(h,_,e,g){h.component(e,g)}function registerEPEditor(h,_,e,g){h.component(e,g)}function _isSlot(h){return typeof h=="function"||Object.prototype.toString.call(h)==="[object Object]"&&!vue.isVNode(h)}const createInputTextEditor=function(h,_){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[h],"onUpdate:modelValue":g=>this.optionModel[h]=g},null)]})}}},createTextareaEditor=function(h,_,e={}){return{props:{optionModel:Object},render(g){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[h],"onUpdate:modelValue":M=>this.optionModel[h]=M,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createBooleanEditor=function(h,_){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[h],"onUpdate:modelValue":g=>this.optionModel[h]=g},null)]})}}},createRadioButtonGroupEditor=function(h,_,e){return{props:{optionModel:Object},render(g){let M;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[h],"onUpdate:modelValue":x=>this.optionModel[h]=x},_isSlot(M=e.optionItems.map(x=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:x.value},{default:()=>[x.label]})))?M:{default:()=>[M]})]})}}},createSelectEditor=function(h,_,e){return{props:{optionModel:Object},render(g){let M;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[h],"onUpdate:modelValue":x=>this.optionModel[h]=x},_isSlot(M=e.optionItems.map(x=>vue.createVNode(vue.resolveComponent("el-option"),{label:x.label,value:x.value},null)))?M:{default:()=>[M]})]})}}},createEventHandlerEditor=function(h,_){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[h,[..._]])}},render(e){let g;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:h,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(g=translate("designer.setting.addEventHandler"))?g:{default:()=>[g]})]})}}};var containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(h){this.designer.appendTableRow(h)},appendTableCol(h){this.designer.appendTableCol(h)},onContainerDragAdd(h,_){const e=h.newIndex;_[e]&&this.designer.setSelected(_[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(h){return this.designer.checkWidgetMove(h)},selectWidget(h){this.designer.setSelected(h)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},cloneContainer(h){if(this.parentList){let _=this.designer.cloneContainer(h);this.parentList.splice(this.indexOfParentList+1,0,_),this.designer.setSelected(_),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const h=this.designer.selectedWidgetName;let _=null;this.parentList.length===1?this.parentWidget&&(_=this.parentWidget):this.parentList.length===1+this.indexOfParentList?_=this.parentList[this.indexOfParentList-1]:_=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(_),this.designer.formWidget.deleteWidgetRef(h),this.designer.emitHistoryChange()})}},setWidgetOption(h,_){this.widget.options.hasOwnProperty(h)&&(this.widget.options[h]=_)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$n={name:"container-wrapper",mixins:[i18n$1,containerMixin],components:{SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{customClass(){return this.widget.options.customClass?this.widget.options.customClass.join(" "):""}}},_hoisted_1$i={key:0,class:"container-action"},_hoisted_2$d=["title"],_hoisted_3$b=["title"],_hoisted_4$9=["title"],_hoisted_5$7=["title"],_hoisted_6$7=["title"],_hoisted_7$5=["title"],_hoisted_8$4=["title"],_hoisted_9$3={key:1,class:"drag-handler"},_hoisted_10$2=["title"],_hoisted_11$1={key:0};function _sfc_render$n(h,_,e,g,M,x){const S=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[x.customClass]])},[vue.renderSlot(h.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$i,[vue.createElementVNode("i",{title:h.i18nt("designer.hint.selectParentWidget"),onClick:_[0]||(_[0]=vue.withModifiers(b=>h.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(S,{"icon-class":"el-back"})],8,_hoisted_2$d),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:h.i18nt("designer.hint.moveUpWidget"),onClick:_[1]||(_[1]=vue.withModifiers(b=>h.moveUpWidget(),["stop"]))},[vue.createVNode(S,{"icon-class":"el-move-up"})],8,_hoisted_3$b)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:h.i18nt("designer.hint.moveDownWidget"),onClick:_[2]||(_[2]=vue.withModifiers(b=>h.moveDownWidget(),["stop"]))},[vue.createVNode(S,{"icon-class":"el-move-down"})],8,_hoisted_4$9)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:h.i18nt("designer.hint.insertRow"),onClick:_[3]||(_[3]=vue.withModifiers(b=>h.appendTableRow(e.widget),["stop"]))},[vue.createVNode(S,{"icon-class":"el-insert-row"})],8,_hoisted_5$7)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:h.i18nt("designer.hint.insertColumn"),onClick:_[4]||(_[4]=vue.withModifiers(b=>h.appendTableCol(e.widget),["stop"]))},[vue.createVNode(S,{"icon-class":"el-insert-column"})],8,_hoisted_6$7)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:h.i18nt("designer.hint.cloneWidget"),onClick:_[5]||(_[5]=vue.withModifiers(b=>h.cloneContainer(e.widget),["stop"]))},[vue.createVNode(S,{"icon-class":"el-clone"})],8,_hoisted_7$5)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:h.i18nt("designer.hint.remove"),onClick:_[6]||(_[6]=vue.withModifiers((...b)=>h.removeWidget&&h.removeWidget(...b),["stop"]))},[vue.createVNode(S,{"icon-class":"el-delete"})],8,_hoisted_8$4)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$3,[vue.createElementVNode("i",{title:h.i18nt("designer.hint.dragHandler")},[vue.createVNode(S,{"icon-class":"el-drag-move"})],8,_hoisted_10$2),vue.createElementVNode("i",null,vue.toDisplayString(h.i18n2t(`designer.widgetLabel.${e.widget.type}`,`extension.widgetLabel.${e.widget.type}`)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_11$1,[vue.createVNode(S,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-679de05a"]]),__glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerWrapper},Symbol.toStringTag,{value:"Module"})),refMixinDesign={methods:{initRefList(){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(h,_){let e=this.refList[h];return!e&&!!_&&this.$message.error(this.i18nt("render.hint.refNotFound")+h),e},registerToRefList(h){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(h&&delete this.refList[h],this.refList[this.widget.options.name]=this)}}},cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$m={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:Ot(Ue({ContainerWrapper},comps),{ArrowDownBold:arrowDownBold}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(h){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(h){this.widget.options.folded=!!h}}},_hoisted_1$h={class:"label"},_hoisted_2$c={class:"form-widget-list"};function _sfc_render$m(h,_,e,g,M,x){const S=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),c=vue.resolveComponent("draggable"),u=vue.resolveComponent("el-card"),r=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(r,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(u,{key:e.widget.id,class:vue.normalizeClass(["card-container",[x.selected?"selected":"",e.widget.options.folded?"folded":"",x.customClass]]),onClick:_[2]||(_[2]=vue.withModifiers(o=>h.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:_[0]||(_[0]=(...o)=>x.toggleCard&&x.toggleCard(...o)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(S)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$h,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[vue.createVNode(c,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:_[1]||(_[1]=o=>h.onContainerDragAdd(o,e.widget.widgetList)),onUpdate:h.onContainerDragUpdate,move:x.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$c,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"])]),_:1},8,["shadow","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CardWidget=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$l={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Ot(Ue({ContainerItemWrapper},comps),{ArrowDownBold:arrowDownBold}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},beforeUnmount(){this.unregisterFromRefList()},methods:{toggleCard(){this.widget.options.folded=!this.widget.options.folded}}},_hoisted_1$g={class:"label"};function _sfc_render$l(h,_,e,g,M,x){const S=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),c=vue.resolveComponent("el-card"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createBlock(c,{key:e.widget.id,class:vue.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",x.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:_[0]||(_[0]=(...r)=>x.toggleCard&&x.toggleCard(...r)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(S)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$g,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[!!e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(r,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[r.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(h.getComponentByContainer(r)),{widget:r,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(h.$slots,t,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(r.type+"-widget"),{field:r,designer:null,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(h.$slots,t,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):vue.createCommentVNode("",!0)]),_:3},8,["class","shadow"])),[[vue.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}var CardItem=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-05585a0f"]]);const ACE_BASE_PATH="https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini",_sfc_main$k={name:"alert-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},created(){this.registerToRefList(),this.initEventHandler()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleCloseCustomEvent(){this.field.options.onClose&&new Function(this.field.options.onClose).call(this)}}};function _sfc_render$k(h,_,e,g,M,x){const S=vue.resolveComponent("el-alert"),b=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",title:e.field.options.title,type:e.field.options.type,description:e.field.options.description,closable:e.field.options.closable,center:e.field.options.center,"close-text":e.field.options.closeText,"show-icon":e.field.options.showIcon,effect:e.field.options.effect,onClose:x.handleCloseCustomEvent},null,8,["title","type","description","closable","center","close-text","show-icon","effect","onClose"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AlertWidget=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k]]),cryptoJs={exports:{}},core={exports:{}};(function(h,_){(function(e,g){h.exports=g()})(commonjsGlobal,function(){var e=e||function(g,M){var x;if(typeof window!="undefined"&&window.crypto&&(x=window.crypto),typeof self!="undefined"&&self.crypto&&(x=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(x=globalThis.crypto),!x&&typeof window!="undefined"&&window.msCrypto&&(x=window.msCrypto),!x&&typeof commonjsGlobal!="undefined"&&commonjsGlobal.crypto&&(x=commonjsGlobal.crypto),!x&&typeof commonjsRequire=="function")try{x=require("crypto")}catch{}var S=function(){if(x){if(typeof x.getRandomValues=="function")try{return x.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof x.randomBytes=="function")try{return x.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},b=Object.create||function(){function f(){}return function(w){var p;return f.prototype=w,p=new f,f.prototype=null,p}}(),c={},u=c.lib={},r=u.Base=function(){return{extend:function(f){var w=b(this);return f&&w.mixIn(f),(!w.hasOwnProperty("init")||this.init===w.init)&&(w.init=function(){w.$super.init.apply(this,arguments)}),w.init.prototype=w,w.$super=this,w},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var w in f)f.hasOwnProperty(w)&&(this[w]=f[w]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),o=u.WordArray=r.extend({init:function(f,w){f=this.words=f||[],w!=M?this.sigBytes=w:this.sigBytes=f.length*4},toString:function(f){return(f||i).stringify(this)},concat:function(f){var w=this.words,p=f.words,v=this.sigBytes,m=f.sigBytes;if(this.clamp(),v%4)for(var C=0;C<m;C++){var D=p[C>>>2]>>>24-C%4*8&255;w[v+C>>>2]|=D<<24-(v+C)%4*8}else for(var I=0;I<m;I+=4)w[v+I>>>2]=p[I>>>2];return this.sigBytes+=m,this},clamp:function(){var f=this.words,w=this.sigBytes;f[w>>>2]&=4294967295<<32-w%4*8,f.length=g.ceil(w/4)},clone:function(){var f=r.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var w=[],p=0;p<f;p+=4)w.push(S());return new o.init(w,f)}}),t=c.enc={},i=t.Hex={stringify:function(f){for(var w=f.words,p=f.sigBytes,v=[],m=0;m<p;m++){var C=w[m>>>2]>>>24-m%4*8&255;v.push((C>>>4).toString(16)),v.push((C&15).toString(16))}return v.join("")},parse:function(f){for(var w=f.length,p=[],v=0;v<w;v+=2)p[v>>>3]|=parseInt(f.substr(v,2),16)<<24-v%8*4;return new o.init(p,w/2)}},n=t.Latin1={stringify:function(f){for(var w=f.words,p=f.sigBytes,v=[],m=0;m<p;m++){var C=w[m>>>2]>>>24-m%4*8&255;v.push(String.fromCharCode(C))}return v.join("")},parse:function(f){for(var w=f.length,p=[],v=0;v<w;v++)p[v>>>2]|=(f.charCodeAt(v)&255)<<24-v%4*8;return new o.init(p,w)}},s=t.Utf8={stringify:function(f){try{return decodeURIComponent(escape(n.stringify(f)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(f){return n.parse(unescape(encodeURIComponent(f)))}},a=u.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(f){typeof f=="string"&&(f=s.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var w,p=this._data,v=p.words,m=p.sigBytes,C=this.blockSize,D=C*4,I=m/D;f?I=g.ceil(I):I=g.max((I|0)-this._minBufferSize,0);var E=I*C,F=g.min(E*4,m);if(E){for(var L=0;L<E;L+=C)this._doProcessBlock(v,L);w=v.splice(0,E),p.sigBytes-=F}return new o.init(w,F)},clone:function(){var f=r.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0});u.Hasher=a.extend({cfg:r.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){a.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){f&&this._append(f);var w=this._doFinalize();return w},blockSize:512/32,_createHelper:function(f){return function(w,p){return new f.init(p).finalize(w)}},_createHmacHelper:function(f){return function(w,p){return new d.HMAC.init(f,p).finalize(w)}}});var d=c.algo={};return c}(Math);return e})})(core);var x64Core={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var M=e,x=M.lib,S=x.Base,b=x.WordArray,c=M.x64={};c.Word=S.extend({init:function(u,r){this.high=u,this.low=r}}),c.WordArray=S.extend({init:function(u,r){u=this.words=u||[],r!=g?this.sigBytes=r:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,r=u.length,o=[],t=0;t<r;t++){var i=u[t];o.push(i.high),o.push(i.low)}return b.create(o,this.sigBytes)},clone:function(){for(var u=S.clone.call(this),r=u.words=this.words.slice(0),o=r.length,t=0;t<o;t++)r[t]=r[t].clone();return u}})}(),e})})(x64Core);var libTypedarrays={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){if(typeof ArrayBuffer=="function"){var g=e,M=g.lib,x=M.WordArray,S=x.init,b=x.init=function(c){if(c instanceof ArrayBuffer&&(c=new Uint8Array(c)),(c instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&c instanceof Uint8ClampedArray||c instanceof Int16Array||c instanceof Uint16Array||c instanceof Int32Array||c instanceof Uint32Array||c instanceof Float32Array||c instanceof Float64Array)&&(c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength)),c instanceof Uint8Array){for(var u=c.byteLength,r=[],o=0;o<u;o++)r[o>>>2]|=c[o]<<24-o%4*8;S.call(this,r,u)}else S.apply(this,arguments)};b.prototype=x}}(),e.lib.WordArray})})(libTypedarrays);var encUtf16={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=g.enc;S.Utf16=S.Utf16BE={stringify:function(c){for(var u=c.words,r=c.sigBytes,o=[],t=0;t<r;t+=2){var i=u[t>>>2]>>>16-t%4*8&65535;o.push(String.fromCharCode(i))}return o.join("")},parse:function(c){for(var u=c.length,r=[],o=0;o<u;o++)r[o>>>1]|=c.charCodeAt(o)<<16-o%2*16;return x.create(r,u*2)}},S.Utf16LE={stringify:function(c){for(var u=c.words,r=c.sigBytes,o=[],t=0;t<r;t+=2){var i=b(u[t>>>2]>>>16-t%4*8&65535);o.push(String.fromCharCode(i))}return o.join("")},parse:function(c){for(var u=c.length,r=[],o=0;o<u;o++)r[o>>>1]|=b(c.charCodeAt(o)<<16-o%2*16);return x.create(r,u*2)}};function b(c){return c<<8&4278255360|c>>>8&16711935}}(),e.enc.Utf16})})(encUtf16);var encBase64={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=g.enc;S.Base64={stringify:function(c){var u=c.words,r=c.sigBytes,o=this._map;c.clamp();for(var t=[],i=0;i<r;i+=3)for(var n=u[i>>>2]>>>24-i%4*8&255,s=u[i+1>>>2]>>>24-(i+1)%4*8&255,a=u[i+2>>>2]>>>24-(i+2)%4*8&255,d=n<<16|s<<8|a,f=0;f<4&&i+f*.75<r;f++)t.push(o.charAt(d>>>6*(3-f)&63));var w=o.charAt(64);if(w)for(;t.length%4;)t.push(w);return t.join("")},parse:function(c){var u=c.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var t=0;t<r.length;t++)o[r.charCodeAt(t)]=t}var i=r.charAt(64);if(i){var n=c.indexOf(i);n!==-1&&(u=n)}return b(c,u,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function b(c,u,r){for(var o=[],t=0,i=0;i<u;i++)if(i%4){var n=r[c.charCodeAt(i-1)]<<i%4*2,s=r[c.charCodeAt(i)]>>>6-i%4*2,a=n|s;o[t>>>2]|=a<<24-t%4*8,t++}return x.create(o,t)}}(),e.enc.Base64})})(encBase64);var encBase64url={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=g.enc;S.Base64url={stringify:function(c,u){u===void 0&&(u=!0);var r=c.words,o=c.sigBytes,t=u?this._safe_map:this._map;c.clamp();for(var i=[],n=0;n<o;n+=3)for(var s=r[n>>>2]>>>24-n%4*8&255,a=r[n+1>>>2]>>>24-(n+1)%4*8&255,d=r[n+2>>>2]>>>24-(n+2)%4*8&255,f=s<<16|a<<8|d,w=0;w<4&&n+w*.75<o;w++)i.push(t.charAt(f>>>6*(3-w)&63));var p=t.charAt(64);if(p)for(;i.length%4;)i.push(p);return i.join("")},parse:function(c,u){u===void 0&&(u=!0);var r=c.length,o=u?this._safe_map:this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i<o.length;i++)t[o.charCodeAt(i)]=i}var n=o.charAt(64);if(n){var s=c.indexOf(n);s!==-1&&(r=s)}return b(c,r,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function b(c,u,r){for(var o=[],t=0,i=0;i<u;i++)if(i%4){var n=r[c.charCodeAt(i-1)]<<i%4*2,s=r[c.charCodeAt(i)]>>>6-i%4*2,a=n|s;o[t>>>2]|=a<<24-t%4*8,t++}return x.create(o,t)}}(),e.enc.Base64url})})(encBase64url);var md5={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var M=e,x=M.lib,S=x.WordArray,b=x.Hasher,c=M.algo,u=[];(function(){for(var s=0;s<64;s++)u[s]=g.abs(g.sin(s+1))*4294967296|0})();var r=c.MD5=b.extend({_doReset:function(){this._hash=new S.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(s,a){for(var d=0;d<16;d++){var f=a+d,w=s[f];s[f]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var p=this._hash.words,v=s[a+0],m=s[a+1],C=s[a+2],D=s[a+3],I=s[a+4],E=s[a+5],F=s[a+6],L=s[a+7],T=s[a+8],k=s[a+9],A=s[a+10],R=s[a+11],N=s[a+12],$=s[a+13],V=s[a+14],z=s[a+15],B=p[0],H=p[1],P=p[2],U=p[3];B=o(B,H,P,U,v,7,u[0]),U=o(U,B,H,P,m,12,u[1]),P=o(P,U,B,H,C,17,u[2]),H=o(H,P,U,B,D,22,u[3]),B=o(B,H,P,U,I,7,u[4]),U=o(U,B,H,P,E,12,u[5]),P=o(P,U,B,H,F,17,u[6]),H=o(H,P,U,B,L,22,u[7]),B=o(B,H,P,U,T,7,u[8]),U=o(U,B,H,P,k,12,u[9]),P=o(P,U,B,H,A,17,u[10]),H=o(H,P,U,B,R,22,u[11]),B=o(B,H,P,U,N,7,u[12]),U=o(U,B,H,P,$,12,u[13]),P=o(P,U,B,H,V,17,u[14]),H=o(H,P,U,B,z,22,u[15]),B=t(B,H,P,U,m,5,u[16]),U=t(U,B,H,P,F,9,u[17]),P=t(P,U,B,H,R,14,u[18]),H=t(H,P,U,B,v,20,u[19]),B=t(B,H,P,U,E,5,u[20]),U=t(U,B,H,P,A,9,u[21]),P=t(P,U,B,H,z,14,u[22]),H=t(H,P,U,B,I,20,u[23]),B=t(B,H,P,U,k,5,u[24]),U=t(U,B,H,P,V,9,u[25]),P=t(P,U,B,H,D,14,u[26]),H=t(H,P,U,B,T,20,u[27]),B=t(B,H,P,U,$,5,u[28]),U=t(U,B,H,P,C,9,u[29]),P=t(P,U,B,H,L,14,u[30]),H=t(H,P,U,B,N,20,u[31]),B=i(B,H,P,U,E,4,u[32]),U=i(U,B,H,P,T,11,u[33]),P=i(P,U,B,H,R,16,u[34]),H=i(H,P,U,B,V,23,u[35]),B=i(B,H,P,U,m,4,u[36]),U=i(U,B,H,P,I,11,u[37]),P=i(P,U,B,H,L,16,u[38]),H=i(H,P,U,B,A,23,u[39]),B=i(B,H,P,U,$,4,u[40]),U=i(U,B,H,P,v,11,u[41]),P=i(P,U,B,H,D,16,u[42]),H=i(H,P,U,B,F,23,u[43]),B=i(B,H,P,U,k,4,u[44]),U=i(U,B,H,P,N,11,u[45]),P=i(P,U,B,H,z,16,u[46]),H=i(H,P,U,B,C,23,u[47]),B=n(B,H,P,U,v,6,u[48]),U=n(U,B,H,P,L,10,u[49]),P=n(P,U,B,H,V,15,u[50]),H=n(H,P,U,B,E,21,u[51]),B=n(B,H,P,U,N,6,u[52]),U=n(U,B,H,P,D,10,u[53]),P=n(P,U,B,H,A,15,u[54]),H=n(H,P,U,B,m,21,u[55]),B=n(B,H,P,U,T,6,u[56]),U=n(U,B,H,P,z,10,u[57]),P=n(P,U,B,H,F,15,u[58]),H=n(H,P,U,B,$,21,u[59]),B=n(B,H,P,U,I,6,u[60]),U=n(U,B,H,P,R,10,u[61]),P=n(P,U,B,H,C,15,u[62]),H=n(H,P,U,B,k,21,u[63]),p[0]=p[0]+B|0,p[1]=p[1]+H|0,p[2]=p[2]+P|0,p[3]=p[3]+U|0},_doFinalize:function(){var s=this._data,a=s.words,d=this._nDataBytes*8,f=s.sigBytes*8;a[f>>>5]|=128<<24-f%32;var w=g.floor(d/4294967296),p=d;a[(f+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,a[(f+64>>>9<<4)+14]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,s.sigBytes=(a.length+1)*4,this._process();for(var v=this._hash,m=v.words,C=0;C<4;C++){var D=m[C];m[C]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return v},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});function o(s,a,d,f,w,p,v){var m=s+(a&d|~a&f)+w+v;return(m<<p|m>>>32-p)+a}function t(s,a,d,f,w,p,v){var m=s+(a&f|d&~f)+w+v;return(m<<p|m>>>32-p)+a}function i(s,a,d,f,w,p,v){var m=s+(a^d^f)+w+v;return(m<<p|m>>>32-p)+a}function n(s,a,d,f,w,p,v){var m=s+(d^(a|~f))+w+v;return(m<<p|m>>>32-p)+a}M.MD5=b._createHelper(r),M.HmacMD5=b._createHmacHelper(r)}(Math),e.MD5})})(md5);var sha1={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=M.Hasher,b=g.algo,c=[],u=b.SHA1=S.extend({_doReset:function(){this._hash=new x.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,o){for(var t=this._hash.words,i=t[0],n=t[1],s=t[2],a=t[3],d=t[4],f=0;f<80;f++){if(f<16)c[f]=r[o+f]|0;else{var w=c[f-3]^c[f-8]^c[f-14]^c[f-16];c[f]=w<<1|w>>>31}var p=(i<<5|i>>>27)+d+c[f];f<20?p+=(n&s|~n&a)+1518500249:f<40?p+=(n^s^a)+1859775393:f<60?p+=(n&s|n&a|s&a)-1894007588:p+=(n^s^a)-899497514,d=a,a=s,s=n<<30|n>>>2,n=i,i=p}t[0]=t[0]+i|0,t[1]=t[1]+n|0,t[2]=t[2]+s|0,t[3]=t[3]+a|0,t[4]=t[4]+d|0},_doFinalize:function(){var r=this._data,o=r.words,t=this._nDataBytes*8,i=r.sigBytes*8;return o[i>>>5]|=128<<24-i%32,o[(i+64>>>9<<4)+14]=Math.floor(t/4294967296),o[(i+64>>>9<<4)+15]=t,r.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var r=S.clone.call(this);return r._hash=this._hash.clone(),r}});g.SHA1=S._createHelper(u),g.HmacSHA1=S._createHmacHelper(u)}(),e.SHA1})})(sha1);var sha256={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var M=e,x=M.lib,S=x.WordArray,b=x.Hasher,c=M.algo,u=[],r=[];(function(){function i(d){for(var f=g.sqrt(d),w=2;w<=f;w++)if(!(d%w))return!1;return!0}function n(d){return(d-(d|0))*4294967296|0}for(var s=2,a=0;a<64;)i(s)&&(a<8&&(u[a]=n(g.pow(s,1/2))),r[a]=n(g.pow(s,1/3)),a++),s++})();var o=[],t=c.SHA256=b.extend({_doReset:function(){this._hash=new S.init(u.slice(0))},_doProcessBlock:function(i,n){for(var s=this._hash.words,a=s[0],d=s[1],f=s[2],w=s[3],p=s[4],v=s[5],m=s[6],C=s[7],D=0;D<64;D++){if(D<16)o[D]=i[n+D]|0;else{var I=o[D-15],E=(I<<25|I>>>7)^(I<<14|I>>>18)^I>>>3,F=o[D-2],L=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;o[D]=E+o[D-7]+L+o[D-16]}var T=p&v^~p&m,k=a&d^a&f^d&f,A=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),R=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),N=C+R+T+r[D]+o[D],$=A+k;C=m,m=v,v=p,p=w+N|0,w=f,f=d,d=a,a=N+$|0}s[0]=s[0]+a|0,s[1]=s[1]+d|0,s[2]=s[2]+f|0,s[3]=s[3]+w|0,s[4]=s[4]+p|0,s[5]=s[5]+v|0,s[6]=s[6]+m|0,s[7]=s[7]+C|0},_doFinalize:function(){var i=this._data,n=i.words,s=this._nDataBytes*8,a=i.sigBytes*8;return n[a>>>5]|=128<<24-a%32,n[(a+64>>>9<<4)+14]=g.floor(s/4294967296),n[(a+64>>>9<<4)+15]=s,i.sigBytes=n.length*4,this._process(),this._hash},clone:function(){var i=b.clone.call(this);return i._hash=this._hash.clone(),i}});M.SHA256=b._createHelper(t),M.HmacSHA256=b._createHmacHelper(t)}(Math),e.SHA256})})(sha256);var sha224={exports:{}};(function(h,_){(function(e,g,M){h.exports=g(core.exports,sha256.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=g.algo,b=S.SHA256,c=S.SHA224=b.extend({_doReset:function(){this._hash=new x.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=b._doFinalize.call(this);return u.sigBytes-=4,u}});g.SHA224=b._createHelper(c),g.HmacSHA224=b._createHmacHelper(c)}(),e.SHA224})})(sha224);var sha512={exports:{}};(function(h,_){(function(e,g,M){h.exports=g(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.Hasher,S=g.x64,b=S.Word,c=S.WordArray,u=g.algo;function r(){return b.create.apply(b,arguments)}var o=[r(1116352408,3609767458),r(1899447441,602891725),r(3049323471,3964484399),r(3921009573,2173295548),r(961987163,4081628472),r(1508970993,3053834265),r(2453635748,2937671579),r(2870763221,3664609560),r(3624381080,2734883394),r(310598401,1164996542),r(607225278,1323610764),r(1426881987,3590304994),r(1925078388,4068182383),r(2162078206,991336113),r(2614888103,633803317),r(3248222580,3479774868),r(3835390401,2666613458),r(4022224774,944711139),r(264347078,2341262773),r(604807628,2007800933),r(770255983,1495990901),r(1249150122,1856431235),r(1555081692,3175218132),r(1996064986,2198950837),r(2554220882,3999719339),r(2821834349,766784016),r(2952996808,2566594879),r(3210313671,3203337956),r(3336571891,1034457026),r(3584528711,2466948901),r(113926993,3758326383),r(338241895,168717936),r(666307205,1188179964),r(773529912,1546045734),r(1294757372,1522805485),r(1396182291,2643833823),r(1695183700,2343527390),r(1986661051,1014477480),r(2177026350,1206759142),r(2456956037,344077627),r(2730485921,1290863460),r(2820302411,3158454273),r(3259730800,3505952657),r(3345764771,106217008),r(3516065817,3606008344),r(3600352804,1432725776),r(4094571909,1467031594),r(275423344,851169720),r(430227734,3100823752),r(506948616,1363258195),r(659060556,3750685593),r(883997877,3785050280),r(958139571,3318307427),r(1322822218,3812723403),r(1537002063,2003034995),r(1747873779,3602036899),r(1955562222,1575990012),r(2024104815,1125592928),r(2227730452,2716904306),r(2361852424,442776044),r(2428436474,593698344),r(2756734187,3733110249),r(3204031479,2999351573),r(3329325298,3815920427),r(3391569614,3928383900),r(3515267271,566280711),r(3940187606,3454069534),r(4118630271,4000239992),r(116418474,1914138554),r(174292421,2731055270),r(289380356,3203993006),r(460393269,320620315),r(685471733,587496836),r(852142971,1086792851),r(1017036298,365543100),r(1126000580,2618297676),r(1288033470,3409855158),r(1501505948,4234509866),r(1607167915,987167468),r(1816402316,1246189591)],t=[];(function(){for(var n=0;n<80;n++)t[n]=r()})();var i=u.SHA512=x.extend({_doReset:function(){this._hash=new c.init([new b.init(1779033703,4089235720),new b.init(3144134277,2227873595),new b.init(1013904242,4271175723),new b.init(2773480762,1595750129),new b.init(1359893119,2917565137),new b.init(2600822924,725511199),new b.init(528734635,4215389547),new b.init(1541459225,327033209)])},_doProcessBlock:function(n,s){for(var a=this._hash.words,d=a[0],f=a[1],w=a[2],p=a[3],v=a[4],m=a[5],C=a[6],D=a[7],I=d.high,E=d.low,F=f.high,L=f.low,T=w.high,k=w.low,A=p.high,R=p.low,N=v.high,$=v.low,V=m.high,z=m.low,B=C.high,H=C.low,P=D.high,U=D.low,G=I,j=E,K=F,Q=L,X=T,te=k,se=A,pe=R,me=N,ve=$,we=V,Be=z,Fe=B,oe=H,le=P,ge=U,fe=0;fe<80;fe++){var ue,_e,ke=t[fe];if(fe<16)_e=ke.high=n[s+fe*2]|0,ue=ke.low=n[s+fe*2+1]|0;else{var Se=t[fe-15],Ze=Se.high,Qe=Se.low,$e=(Ze>>>1|Qe<<31)^(Ze>>>8|Qe<<24)^Ze>>>7,Yt=(Qe>>>1|Ze<<31)^(Qe>>>8|Ze<<24)^(Qe>>>7|Ze<<25),Ve=t[fe-2],et=Ve.high,Pt=Ve.low,In=(et>>>19|Pt<<13)^(et<<3|Pt>>>29)^et>>>6,gn=(Pt>>>19|et<<13)^(Pt<<3|et>>>29)^(Pt>>>6|et<<26),mn=t[fe-7],Fn=mn.high,Rn=mn.low,Qn=t[fe-16],Gi=Qn.high,Xn=Qn.low;ue=Yt+Rn,_e=$e+Fn+(ue>>>0<Yt>>>0?1:0),ue=ue+gn,_e=_e+In+(ue>>>0<gn>>>0?1:0),ue=ue+Xn,_e=_e+Gi+(ue>>>0<Xn>>>0?1:0),ke.high=_e,ke.low=ue}var Jn=me&we^~me&Fe,On=ve&Be^~ve&oe,qi=G&K^G&X^K&X,Ki=j&Q^j&te^Q&te,Yi=(G>>>28|j<<4)^(G<<30|j>>>2)^(G<<25|j>>>7),ei=(j>>>28|G<<4)^(j<<30|G>>>2)^(j<<25|G>>>7),ti=(me>>>14|ve<<18)^(me>>>18|ve<<14)^(me<<23|ve>>>9),Zi=(ve>>>14|me<<18)^(ve>>>18|me<<14)^(ve<<23|me>>>9),ni=o[fe],Qi=ni.high,vn=ni.low,lt=ge+Zi,_t=le+ti+(lt>>>0<ge>>>0?1:0),lt=lt+On,_t=_t+Jn+(lt>>>0<On>>>0?1:0),lt=lt+vn,_t=_t+Qi+(lt>>>0<vn>>>0?1:0),lt=lt+ue,_t=_t+_e+(lt>>>0<ue>>>0?1:0),ii=ei+Ki,Xi=Yi+qi+(ii>>>0<ei>>>0?1:0);le=Fe,ge=oe,Fe=we,oe=Be,we=me,Be=ve,ve=pe+lt|0,me=se+_t+(ve>>>0<pe>>>0?1:0)|0,se=X,pe=te,X=K,te=Q,K=G,Q=j,j=lt+ii|0,G=_t+Xi+(j>>>0<lt>>>0?1:0)|0}E=d.low=E+j,d.high=I+G+(E>>>0<j>>>0?1:0),L=f.low=L+Q,f.high=F+K+(L>>>0<Q>>>0?1:0),k=w.low=k+te,w.high=T+X+(k>>>0<te>>>0?1:0),R=p.low=R+pe,p.high=A+se+(R>>>0<pe>>>0?1:0),$=v.low=$+ve,v.high=N+me+($>>>0<ve>>>0?1:0),z=m.low=z+Be,m.high=V+we+(z>>>0<Be>>>0?1:0),H=C.low=H+oe,C.high=B+Fe+(H>>>0<oe>>>0?1:0),U=D.low=U+ge,D.high=P+le+(U>>>0<ge>>>0?1:0)},_doFinalize:function(){var n=this._data,s=n.words,a=this._nDataBytes*8,d=n.sigBytes*8;s[d>>>5]|=128<<24-d%32,s[(d+128>>>10<<5)+30]=Math.floor(a/4294967296),s[(d+128>>>10<<5)+31]=a,n.sigBytes=s.length*4,this._process();var f=this._hash.toX32();return f},clone:function(){var n=x.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:1024/32});g.SHA512=x._createHelper(i),g.HmacSHA512=x._createHmacHelper(i)}(),e.SHA512})})(sha512);var sha384={exports:{}};(function(h,_){(function(e,g,M){h.exports=g(core.exports,x64Core.exports,sha512.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.x64,x=M.Word,S=M.WordArray,b=g.algo,c=b.SHA512,u=b.SHA384=c.extend({_doReset:function(){this._hash=new S.init([new x.init(3418070365,3238371032),new x.init(1654270250,914150663),new x.init(2438529370,812702999),new x.init(355462360,4144912697),new x.init(1731405415,4290775857),new x.init(2394180231,1750603025),new x.init(3675008525,1694076839),new x.init(1203062813,3204075428)])},_doFinalize:function(){var r=c._doFinalize.call(this);return r.sigBytes-=16,r}});g.SHA384=c._createHelper(u),g.HmacSHA384=c._createHmacHelper(u)}(),e.SHA384})})(sha384);var sha3={exports:{}};(function(h,_){(function(e,g,M){h.exports=g(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(g){var M=e,x=M.lib,S=x.WordArray,b=x.Hasher,c=M.x64,u=c.Word,r=M.algo,o=[],t=[],i=[];(function(){for(var a=1,d=0,f=0;f<24;f++){o[a+5*d]=(f+1)*(f+2)/2%64;var w=d%5,p=(2*a+3*d)%5;a=w,d=p}for(var a=0;a<5;a++)for(var d=0;d<5;d++)t[a+5*d]=d+(2*a+3*d)%5*5;for(var v=1,m=0;m<24;m++){for(var C=0,D=0,I=0;I<7;I++){if(v&1){var E=(1<<I)-1;E<32?D^=1<<E:C^=1<<E-32}v&128?v=v<<1^113:v<<=1}i[m]=u.create(C,D)}})();var n=[];(function(){for(var a=0;a<25;a++)n[a]=u.create()})();var s=r.SHA3=b.extend({cfg:b.cfg.extend({outputLength:512}),_doReset:function(){for(var a=this._state=[],d=0;d<25;d++)a[d]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(a,d){for(var f=this._state,w=this.blockSize/2,p=0;p<w;p++){var v=a[d+2*p],m=a[d+2*p+1];v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360;var C=f[p];C.high^=m,C.low^=v}for(var D=0;D<24;D++){for(var I=0;I<5;I++){for(var E=0,F=0,L=0;L<5;L++){var C=f[I+5*L];E^=C.high,F^=C.low}var T=n[I];T.high=E,T.low=F}for(var I=0;I<5;I++)for(var k=n[(I+4)%5],A=n[(I+1)%5],R=A.high,N=A.low,E=k.high^(R<<1|N>>>31),F=k.low^(N<<1|R>>>31),L=0;L<5;L++){var C=f[I+5*L];C.high^=E,C.low^=F}for(var $=1;$<25;$++){var E,F,C=f[$],V=C.high,z=C.low,B=o[$];B<32?(E=V<<B|z>>>32-B,F=z<<B|V>>>32-B):(E=z<<B-32|V>>>64-B,F=V<<B-32|z>>>64-B);var H=n[t[$]];H.high=E,H.low=F}var P=n[0],U=f[0];P.high=U.high,P.low=U.low;for(var I=0;I<5;I++)for(var L=0;L<5;L++){var $=I+5*L,C=f[$],G=n[$],j=n[(I+1)%5+5*L],K=n[(I+2)%5+5*L];C.high=G.high^~j.high&K.high,C.low=G.low^~j.low&K.low}var C=f[0],Q=i[D];C.high^=Q.high,C.low^=Q.low}},_doFinalize:function(){var a=this._data,d=a.words;this._nDataBytes*8;var f=a.sigBytes*8,w=this.blockSize*32;d[f>>>5]|=1<<24-f%32,d[(g.ceil((f+1)/w)*w>>>5)-1]|=128,a.sigBytes=d.length*4,this._process();for(var p=this._state,v=this.cfg.outputLength/8,m=v/8,C=[],D=0;D<m;D++){var I=p[D],E=I.high,F=I.low;E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,C.push(F),C.push(E)}return new S.init(C,v)},clone:function(){for(var a=b.clone.call(this),d=a._state=this._state.slice(0),f=0;f<25;f++)d[f]=d[f].clone();return a}});M.SHA3=b._createHelper(s),M.HmacSHA3=b._createHmacHelper(s)}(Math),e.SHA3})})(sha3);var ripemd160={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){/** @preserve
|
|
75
|
+
e.setDisabled&&e.setDisabled(!1)}})},resetForm(){Object.keys(this.subFormRefList).forEach(e=>{this.subFormRefList[e].resetSubForm&&this.subFormRefList[e].resetSubForm()}),Object.keys(this.widgetRefList).forEach(e=>{let g=this.getWidgetRef(e);!!g&&!g.subFormItemFlag&&!!g.resetField&&g.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(h){this.$refs.renderForm.clearValidate(h)},validateForm(h){this.$refs.renderForm.validate(_=>{_&&!!this.formConfig&&!!this.formConfig.onFormValidateSuccess&&this.emitFormValidateSuccess(this.formDataModel),h(_)})},emitFormValidateSuccess(h){if(!(!this.formConfig||!this.formConfig.onFormValidateSuccess))try{new Function("formData",this.formConfig.onFormValidateSuccess).call(this,h)}catch(_){console.error("onFormValidateSuccess",_)}},validateFields(){},disableWidgets(h){h&&(typeof h=="string"?this.findWidgetAndSetDisabled(h,!0):Array.isArray(h)&&h.forEach(_=>{this.findWidgetAndSetDisabled(_,!0)}))},disableFields(h){this.disableWidgets(h)},enableFields(h){this.enableWidgets(h)},enableWidgets(h){h&&(typeof h=="string"?this.findWidgetAndSetDisabled(h,!1):Array.isArray(h)&&h.forEach(_=>{this.findWidgetAndSetDisabled(_,!1)}))},hideWidgets(h){h&&(typeof h=="string"?this.findWidgetAndSetHidden(h,!0):Array.isArray(h)&&h.forEach(_=>{this.findWidgetAndSetHidden(_,!0)}))},showWidgets(h){h&&(typeof h=="string"?this.findWidgetAndSetHidden(h,!1):Array.isArray(h)&&h.forEach(_=>{this.findWidgetAndSetHidden(_,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(h,_){this.externalComponents[h]=_},hasEC(h){return this.externalComponents.hasOwnProperty(h)},getEC(h){return this.externalComponents[h]},getGlobalDsv(){return this.globalDsv},findColByName(h,_){const e=h!=null?h:this.formJsonObj&&this.formJsonObj.widgetList;if(!e||!_)return null;for(const g of e){if(g.type==="grid"&&g.cols&&g.cols.length){const M=g.cols.find(x=>x.options&&x.options.name===_);if(M)return M}if(g.type==="grid-col"&&g.options&&g.options.name===_)return g;if(g.widgetList&&g.widgetList.length){const M=this.findColByName(g.widgetList,_);if(M)return M}if(g.cols&&g.cols.length)for(const M of g.cols){if(M.options&&M.options.name===_)return M;if(M.widgetList&&M.widgetList.length){const x=this.findColByName(M.widgetList,_);if(x)return x}}}return null},setColHidden(h,_){const e=this.findColByName(null,h);return!e||!e.options?!1:(e.options.hidden=!!_,this.$nextTick(()=>this.$forceUpdate()),!0)}}};function _sfc_render$o(h,_,e,g,M,x){const S=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(S,{"label-position":x.labelPosition,size:x.size,class:vue.normalizeClass([[x.customClass],"render-form"]),"label-width":x.labelWidth,"validate-on-rule-change":!1,model:M.formDataModel,ref:"renderForm",onSubmit:_[0]||(_[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.widgetList,(b,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(x.getContainerWidgetName(b)),{widget:b,key:b.id,"parent-list":x.widgetList,"index-of-parent-list":c,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),u=>({name:u,fn:vue.withCtx(r=>[vue.renderSlot(h.$slots,u,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(x.getWidgetName(b)),{field:b,"form-model":M.formDataModel,designer:null,key:b.id,"parent-list":x.widgetList,"index-of-parent-list":c,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),u=>({name:u,fn:vue.withCtx(r=>[vue.renderSlot(h.$slots,u,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["field","form-model","parent-list","index-of-parent-list"]))],64))),256))]),_:3},8,["label-position","size","class","label-width","model"])}var VFormRender=_export_sfc$1(_sfc_main$o,[["render",_sfc_render$o],["__scopeId","data-v-6b16d674"]]);function registerIcon(h){h.component("el-icon-edit",edit),h.component("el-icon-minus",minus),h.component("el-icon-plus",plus),h.component("el-icon-info",infoFilled),h.component("el-icon-search",search),h.component("el-icon-circle-plus-outline",circlePlus),h.component("el-icon-delete",_delete),h.component("el-icon-arrow-down",arrowDown),h.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let h=function(){var _=document.body,e=document.getElementById("__svg__icons__dom__1773917622390__");e||(e=document.createElementNS("http://www.w3.org/2000/svg","svg"),e.style.position="absolute",e.style.width="0",e.style.height="0",e.id="__svg__icons__dom__1773917622390__",e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),e.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-alert"><path d="M512 85.163a319.573 319.573 0 0 1 319.83 309.333l.17 10.667v174.805l58.88 134.656a53.29 53.29 0 0 1-48.853 74.71L640 789.418a128 128 0 0 1-255.787 7.509l-.213-7.637-201.6.042a53.333 53.333 0 0 1-48.939-74.581L192 580.011V405.163c0-177.28 143.019-320 320-320zm64 704.17-128 .128a64 64 0 0 0 127.701 6.144l.256-6.272zm-64-640.17c-141.653 0-256 114.09-256 256v188.16l-57.344 132.01h627.072L768 593.365V405.717l-.17-9.6A255.488 255.488 0 0 0 512 149.163zM896 352h85.333a32 32 0 0 1 4.352 63.701l-4.352.299H896a32 32 0 0 1-4.352-63.701L896 352zm-853.333 0H128a32 32 0 0 1 4.352 63.701L128 416H42.667a32 32 0 0 1-4.352-63.701l4.352-.299zm921.6-243.2a32 32 0 0 1-2.816 41.685l-3.584 3.115-85.334 64a32 32 0 0 1-41.984-48.085l3.584-3.115 85.334-64a32 32 0 0 1 44.8 6.4zm-859.734-6.4 85.334 64a32 32 0 1 1-38.4 51.2l-85.334-64a32 32 0 1 1 38.4-51.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-button"><path d="M912 176v416H732.48v-32H880V208H144v352h175.488v32H112V176z" /><path d="m436.384 788.512.544 2.688a16 16 0 0 0 27.776 5.504l44.032-54.336 56.768 97.664a16 16 0 0 0 21.792 5.856l68.672-39.392 2.368-1.664a16 16 0 0 0 3.52-20.256l-55.904-96.16 68.8-12.064a16 16 0 0 0 6.464-28.8l-256-180.64a16 16 0 0 0-25.12 14.976l36.288 306.624z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-card"><path d="M858.656 864H165.344C109.472 864 64 818.56 64 762.688V261.312C64 205.44 109.472 160 165.344 160h693.312C914.528 160 960 205.44 960 261.312v501.376C960 818.56 914.528 864 858.656 864zM165.344 224C144.736 224 128 240.736 128 261.312v501.376C128 783.264 144.736 800 165.344 800h693.312C879.264 800 896 783.264 896 762.688V261.312C896 240.736 879.264 224 858.656 224H165.344zM800 416H224c-17.664 0-32-14.336-32-32s14.336-32 32-32h576c17.696 0 32 14.336 32 32s-14.304 32-32 32zM320 736h-96c-17.664 0-32-14.304-32-32s14.336-32 32-32h96c17.664 0 32 14.304 32 32s-14.336 32-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-cascader-field"><path d="M661.377 411.07v64.595H314.175v395.654H871.32V475.665h-48.447V411.07h48.447c35.675 0 64.595 28.92 64.595 64.595v395.654c0 35.675-28.92 64.595-64.595 64.595H314.175c-35.675 0-64.6-28.92-64.6-64.595V475.665c0-35.675 28.925-64.595 64.6-64.595h347.202zm48.448-322.984c35.675 0 64.6 28.92 64.6 64.595v403.73c0 35.676-28.925 64.595-64.6 64.595H362.623v-64.594h347.202V152.68H152.68v403.73h48.447v64.595H152.68c-35.675 0-64.595-28.92-64.595-64.594V152.68c0-35.675 28.92-64.595 64.595-64.595h557.144z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-checkbox-field"><path d="M897.94 896.77c6.259-6.278 10.257-14.835 10.257-24.531V147.672c0-9.118-3.998-18.235-10.257-24.533-6.277-6.258-14.815-9.696-24.51-9.696H149.644c-9.688 0-18.236 3.437-24.503 9.696-6.268 6.297-9.687 15.414-9.687 24.533V872.24c0 9.696 3.42 18.253 9.687 24.53 6.267 6.278 14.815 10.276 24.503 10.276h723.784c9.697 0 18.234-3.998 24.511-10.276zM149.645 61.52h723.784c23.933 0 45.586 9.697 60.98 25.111 15.397 15.974 25.073 37.666 25.073 61.04v724.567c0 23.97-9.676 45.643-25.073 61.056-15.394 15.396-37.047 25.093-60.98 25.093H149.645c-23.364 0-45.017-9.697-60.972-25.093-15.396-15.414-25.082-37.087-25.082-61.056V147.672c0-23.374 9.686-45.065 25.082-61.039 15.955-15.415 37.608-25.112 60.972-25.112z" /><path d="M417.42 698.27a23.556 23.556 0 0 1-16.668-6.9L259.5 550.12c-9.173-9.15-9.173-24.095 0-33.291 9.17-9.147 24.115-9.147 33.288 0l124.583 124.607 312.895-312.917c9.194-9.172 24.14-9.172 33.288 0 9.196 9.172 9.196 24.116 0 33.29L433.992 691.37c-4.618 4.645-10.643 6.9-16.666 6.9h.093z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-color-field"><path d="M619.52 490.667h-.853l-85.334-85.334h.854z" /><path d="M619.52 507.733h-.853a17.067 17.067 0 1 1 0-34.133c9.438 0 17.476 7.646 17.476 17.067s-7.185 17.066-16.623 17.066zM534.187 422.4c-9.438 0-17.494-7.646-17.494-17.067s7.202-17.066 16.64-17.066h.854a17.067 17.067 0 1 1 0 34.133zM192 866.133a34.133 34.133 0 0 1-24.132-58.265l42.666-42.667a34.133 34.133 0 1 1 48.265 48.265l-42.667 42.666A33.963 33.963 0 0 1 192 866.133z" /><path d="m619.52 490.667-.427-.427-84.906-84.907L746.667 192H832v85.333z" /><path d="M662.187 567.467a33.997 33.997 0 0 1-24.133-10.001L467.388 386.799a34.133 34.133 0 0 1 48.281-48.282l170.667 170.667a34.133 34.133 0 0 1-24.15 58.283z" /><path d="M320 806.4h-85.333a17.067 17.067 0 0 1-17.067-17.067V704c0-4.54 1.792-8.875 5-12.066L521.695 392.84a16.52 16.52 0 0 1 3.567-2.731l209.305-210.142a17.117 17.117 0 0 1 12.1-5.018H832a17.067 17.067 0 0 1 17.067 17.067v85.333a17.067 17.067 0 0 1-4.967 12.05L631.62 502.732a17.954 17.954 0 0 1-3.618 2.782L332.066 801.434A17.135 17.135 0 0 1 320 806.4zm-68.267-34.133h61.201l294.093-294.093a16.52 16.52 0 0 1 3.567-2.73l204.34-205.16v-61.217h-61.185L546.287 417.382a17.954 17.954 0 0 1-3.618 2.782L251.733 711.066v61.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-component"><path d="M811.008 335.872c-2.048-7.168-11.264-9.216-17.408-4.096L690.176 435.2c-8.192 8.192-20.48 8.192-28.672 0L588.8 362.496c-8.192-8.192-8.192-20.48 0-28.672l104.448-104.448c5.12-5.12 3.072-14.336-4.096-17.408-17.408-4.096-35.84-7.168-54.272-7.168-108.544 0-195.584 94.208-183.296 204.8 2.048 17.408 6.144 32.768 12.288 48.128L225.28 697.344c-27.648 27.648-27.648 73.728 0 101.376 14.336 14.336 32.768 21.504 51.2 21.504s36.864-7.168 51.2-21.504l238.592-238.592c15.36 6.144 31.744 10.24 48.128 12.288 111.616 12.288 204.8-74.752 204.8-183.296 0-18.432-3.072-36.864-8.192-53.248z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-data-table"><path d="M915.692 39.385H108.308c-15.754 0-29.539 13.784-29.539 29.538v98.462c0 15.753 13.785 29.538 29.539 29.538h807.384c15.754 0 29.539-13.785 29.539-29.538V68.923c0-15.754-13.785-29.538-29.539-29.538zM285.538 275.692h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zM285.538 472.615h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 669.538h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 866.462h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538z" /></symbol><symbol class="icon" viewBox="0 0 1132 1024" id="icon-date-field"><path d="M1023.995 1023.995H107.789C48.262 1023.995 0 975.732 0 916.205V188.63C0 129.105 48.262 80.843 107.789 80.843h80.842v53.894h-80.842c-29.777 0-53.895 24.118-53.895 53.895V296.42H1077.89V188.63c0-29.776-24.117-53.894-53.894-53.894h-80.842V80.842h80.842c59.526 0 107.789 48.262 107.789 107.789v727.575c0 59.526-48.263 107.789-107.79 107.789Zm53.894-673.681H53.894v565.892c0 29.777 24.118 53.894 53.895 53.894h916.206c29.777 0 53.894-24.117 53.894-53.894V350.314ZM794.943 628.086l-3.584 5.632c-3.314 6.306-7.087 12.153-11.237 17.731L646.734 861.476H589.12l98.358-160.875c-.108 0-.216.027-.324.027-66.963 0-121.262-60.335-121.262-134.736 0-74.401 54.299-134.736 121.262-134.736 66.964 0 121.263 60.335 121.263 134.736 0 22.42-5.39 43.25-14.12 61.844l.646.35ZM687.154 485.05c-37.214 0-67.368 36.19-67.368 80.842 0 44.651 30.154 80.842 67.368 80.842 19.052 0 36.164-9.567 48.425-24.819l9.781-16.006c5.66-11.83 9.163-25.385 9.163-40.017 0-44.652-30.154-80.842-67.369-80.842Zm-310.216 21.881-80.734 72.327v-66.991l82.405-80.41h52.062v429.727h-53.733V506.93Zm512.32-291.353c-14.874 0-26.947-12.072-26.947-26.947V26.947C862.311 12.072 874.384 0 889.26 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947ZM296.42 80.842h538.944v53.894H296.42V80.842Zm-53.895 134.736c-14.875 0-26.947-12.072-26.947-26.947V26.947C215.578 12.072 227.65 0 242.525 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947Z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-date-range-field"><path d="M887.467 192.853H786.773v-73.386c0-10.24-6.826-17.067-17.066-17.067s-17.067 6.827-17.067 17.067v73.386H303.787v-73.386c0-10.24-6.827-17.067-17.067-17.067s-17.067 6.827-17.067 17.067v73.386H168.96c-46.08 0-85.333 37.547-85.333 85.334v558.08c0 46.08 37.546 85.333 85.333 85.333h718.507c46.08 0 85.333-37.547 85.333-85.333v-558.08c0-47.787-37.547-85.334-85.333-85.334zM168.96 226.987h100.693v66.56c0 10.24 6.827 17.066 17.067 17.066s17.067-6.826 17.067-17.066v-66.56h450.56v66.56c0 10.24 6.826 17.066 17.066 17.066s17.067-6.826 17.067-17.066v-66.56h98.987c27.306 0 51.2 22.186 51.2 51.2v88.746H117.76v-88.746c0-29.014 22.187-51.2 51.2-51.2zm718.507 660.48H168.96c-27.307 0-51.2-22.187-51.2-51.2v-435.2h820.907v435.2c0 27.306-22.187 51.2-51.2 51.2z" /><path d="M858.453 493.227H327.68c-10.24 0-17.067 6.826-17.067 17.066V624.64H194.56c-10.24 0-17.067 6.827-17.067 17.067v133.12c0 10.24 6.827 17.066 17.067 17.066H460.8c10.24 0 17.067-6.826 17.067-17.066V660.48h380.586c10.24 0 17.067-6.827 17.067-17.067v-133.12c0-10.24-6.827-17.066-17.067-17.066zM445.44 527.36v97.28h-98.987v-97.28h98.987zm-230.4 131.413h98.987v98.987H215.04v-98.987zm131.413 97.28v-97.28h98.987v97.28h-98.987zm133.12-228.693h97.28v98.987h-97.28V527.36zm131.414 0h98.986v98.987h-98.986V527.36zm230.4 97.28H742.4v-98.987h98.987v98.987z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-divider"><path d="M62.5 491.773h899v74.918h-899v-74.918z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-document"><path d="M979.478 706.382a44.522 44.522 0 0 1-11.843 57.967l-4.363 2.85L569.478 995.06l-5.388 4.764a84.013 84.013 0 0 1-43.943 17.808l-8.102.401c-19.056 0-37.31-6.545-52.046-18.254l-5.432-4.72L60.817 767.2a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zm0-222.609a44.522 44.522 0 0 1-11.843 57.968l-4.363 2.849-393.794 227.862-5.388 4.764a84.013 84.013 0 0 1-43.943 17.809l-8.102.4c-19.056 0-37.31-6.544-52.046-18.254l-5.432-4.719L60.817 544.59a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zM512 0c18.788 0 36.864 6.1 51.645 17.185l4.586 3.74 403.5 199.68 5.61 6.144c32.501 35.44 32.501 89.89 0 125.329l-5.61 6.144-403.5 199.59-4.541 3.785a86.239 86.239 0 0 1-43.676 16.83l-8.014.356c-18.788 0-36.864-6.1-51.645-17.186l-4.63-3.784L52.269 358.222l-5.61-6.144a92.739 92.739 0 0 1 0-125.329l5.61-6.144 403.456-199.68 4.585-3.74C473 7.702 488.136 1.87 503.986.356z" fill="#008df0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-drag"><path d="M574.958 267.016h-63.454 204.649L511.213 63.655 307.85 267.016h141.191V456.68H258.688v125.917H449.04V772.95h125.917V582.596h188.875V456.679H574.958V267.016zm-63.704 693.33 189.62-187.396H323.126l188.129 187.395zM71.292 518.891l187.395 189.62v-377.75L71.292 518.892zm692.54-188.13v377.75L952.708 518.89 763.833 330.762z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-file-upload-field"><path d="m676.48 72.96 209.92 211.2 9.6 23.04V928l-32 32H160l-32-32V96l32-32h494.08l22.4 8.96zM640 320h192L640 128v192zM192 128v768h640V384H608l-32-32V128H192zm512 320H320v64h384v-64zM320 576h384v64H320v-64zm384 128H320v64h384v-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-github"><path d="M512 0C229.284 0 .142 234.943.142 524.868c0 231.829 146.647 428.553 350.068 497.952 25.593 4.82 34.977-11.389 34.977-25.294 0-12.455-.469-45.47-.725-89.277-142.382 31.735-172.453-70.38-172.453-70.38-23.247-60.57-56.817-76.694-56.817-76.694-46.493-32.588 3.54-31.948 3.54-31.948 51.357 3.71 78.358 54.086 78.358 54.086 45.683 80.191 119.817 57.072 148.993 43.594 4.65-33.911 17.915-57.03 32.503-70.168-113.675-13.223-233.151-58.224-233.151-259.341 0-57.285 19.92-104.163 52.678-140.846-5.246-13.266-22.82-66.627 4.991-138.884 0 0 42.996-14.076 140.76 53.787 40.864-11.644 84.628-17.445 128.179-17.659 43.465.214 87.271 6.015 128.135 17.66 97.68-67.907 140.59-53.788 140.59-53.788 27.939 72.257 10.408 125.618 5.119 138.884 32.844 36.683 52.593 83.56 52.593 140.846 0 201.587-119.647 245.99-233.663 258.957 18.341 16.21 34.72 48.2 34.72 97.21 0 70.168-.639 126.728-.639 143.96 0 14.034 9.214 30.371 35.19 25.21 203.25-69.528 349.77-266.124 349.77-497.867C1023.858 234.943 794.674 0 512 0" fill="#3E75C3" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-grid"><path d="M819.354 921.6h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 819.2v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 460.8v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V102.4h-102.4v102.4zM921.754 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 921.754 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM563.354 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 563.354 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM204.954 0h-102.4A102.4 102.4 0 0 0 .154 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 204.954 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-html-text"><path d="m137.6 512 204.8-204.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L70.4 489.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4l227.2 227.2c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8L137.6 512zm464-339.2c-16-3.2-35.2 6.4-38.4 22.4L396.8 812.8c-3.2 16 6.4 35.2 22.4 38.4 16 3.2 35.2-6.4 38.4-22.4L624 211.2c6.4-16-3.2-35.2-22.4-38.4zm352 316.8L726.4 262.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8L886.4 512 681.6 716.8c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l227.2-227.2c6.4-6.4 9.6-16 9.6-22.4 0-9.6-3.2-16-9.6-22.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-node-tree"><path d="M332.48 500.864a25.6 25.6 0 1 0 0-51.2H192.384v-184.96a115.2 115.2 0 0 0 89.6-112.128c0-63.488-51.712-115.2-115.2-115.2s-115.2 51.712-115.2 115.2a115.2 115.2 0 0 0 89.6 112.128v696.192a25.6 25.6 0 1 0 51.2 0v-141.12c2.304.192 4.48.512 6.912.512H332.48a25.6 25.6 0 1 0 0-51.2H199.296c-3.456 0-5.504-.448-6.08-.256a29.184 29.184 0 0 1-.896-8.576V500.8h140.16zM102.784 152.64c0-35.264 28.736-64 64-64s64 28.736 64 64-28.736 64-64 64-64-28.736-64-64zm818.432 207.424h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4zm486.336 140.352h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-number-field"><path d="M960 1024H64a64 64 0 0 1-64-64V64A64 64 0 0 1 64 0h896a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64zm0-896a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128zM832 768H704a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v384a64 64 0 0 1-64 64zM512 640a64 64 0 0 1 0 128H384a64 64 0 0 1-64-64V512a64 64 0 0 1 64-64h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v192a64 64 0 0 1-64 64h-64v64h64zM192 768a64 64 0 0 1-64-64V320a64 64 0 0 1 128 0v384a64 64 0 0 1-64 64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-picture-upload-field"><path d="M896 1024H128C57.312 1024 0 966.688 0 896V128C0 57.312 57.312 0 128 0h768c70.688 0 128 57.312 128 128v768c0 70.688-57.312 128-128 128zm0-64c35.328 0 64-28.672 64-64V639.968l-192-192L494.816 721.12 730.624 960H896zM64 896c0 35.328 28.672 64 64 64h512.032L318.24 638.208 64 865.952V896zm896-768c0-35.328-28.672-64-64-64H128c-35.328 0-64 28.672-64 64v650.752L320 544l129.856 131.552L768 352l192 196.096V128zM256 384c-70.688 0-128-57.312-128-128s57.312-128 128-128 128 57.312 128 128-57.312 128-128 128zm0-192c-35.328 0-64 28.672-64 64s28.672 64 64 64 64-28.672 64-64-28.672-64-64-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-radio-field"><path d="M512 65.983C266.08 65.983 65.983 266.08 65.983 512c0 245.952 200.065 446.017 446.017 446.017S958.017 757.952 958.017 512c0-245.92-200.065-446.017-446.017-446.017zm0 828.034c-210.656 0-382.017-171.392-382.017-382.017 0-210.656 171.36-382.017 382.017-382.017 210.625 0 382.017 171.36 382.017 382.017 0 210.625-171.392 382.017-382.017 382.017zM512 352C423.776 352 352 423.776 352 512s71.774 160 160 160 160-71.774 160-160-71.776-160-160-160z" /></symbol><symbol class="icon" viewBox="0 0 1069 1024" id="icon-rate-field"><path d="m633.73 378.02 9.498 18.688 20.78 2.798 206.616 27.332a11.465 11.465 0 0 1 6.61 19.473L729.966 593.665l-14.893 14.893 3.8 20.683 37.847 204.89a11.465 11.465 0 0 1-16.481 12.296l-185.55-94.58-18.687-9.493-18.487 9.992-183.24 99.35a11.465 11.465 0 0 1-16.784-11.867l32.543-205.796 3.297-20.786-15.192-14.492-151.033-143.484a11.465 11.465 0 0 1 6.1-19.64L399 402.998l20.786-3.296 9.092-18.98 89.713-188.078a11.465 11.465 0 0 1 20.569-.263l94.568 185.635zM496.647 85.52 374.89 340.501l-279.126 44.26a34.395 34.395 0 0 0-18.303 58.908l204.873 194.663-44.169 279.115a34.395 34.395 0 0 0 50.366 35.616l248.4-134.679L788.776 946.66a34.395 34.395 0 0 0 49.437-36.894l-51.306-277.854 199.731-199.909a34.395 34.395 0 0 0-19.828-58.408l-280.118-37.032L558.33 84.713a34.395 34.395 0 0 0-61.682.802z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-redo"><path d="M412.081 346.3h443.415L640.168 133.871c-18.973-18.973-18.973-46.064 0-65.038s44.325-19.884 63.381-.83l291.385 284.591c18.973 18.973 18.973 44.159 0 63.132L703.549 700.649c-18.973 18.973-44.325 18.973-63.381-.083-18.973-18.973-18.973-43.91 0-62.883l215.328-208.534H412.081c-177.3 0-314.335 138.359-314.335 309.364v44.325c0 25.354-16.074 44.325-41.425 44.325s-41.425-18.973-41.425-44.325v-44.325c0-221.709 169.181-392.213 397.185-392.213z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-rich-editor-field"><path d="M313.36 448.094H632.63v31.927H313.36v-31.927ZM313.36 583.784h223.49v31.927H313.36v-31.927ZM313.36 719.474h127.709v31.927h-127.71v-31.927ZM889.412 554.809l-39.955-39.971-39.957-39.941c-7.358-7.358-19.285-7.358-26.642 0l-329.7 329.694a14.08 14.08 0 0 0-4.592 6.873L412.078 932.86a14.158 14.158 0 0 0 3.54 14.079l.99.763.77.982a14.174 14.174 0 0 0 14.062 3.555l121.395-36.495a14.04 14.04 0 0 0 6.938-4.677l329.639-329.63c7.35-7.343 7.35-19.284 0-26.627zM541.136 889.756l-95.198 28.622 28.623-95.235 255.02-255.02 66.6 66.599-255.045 255.034zM856.112 574.78l-46.611 46.611-66.59-66.598 46.605-46.597c3.677-3.68 9.641-3.68 13.319-.016l26.892 26.892 26.384 26.394c3.68 3.68 3.68 9.65.001 13.314z" /><path d="M671.874 224.898v-28.934c0-22.004-17.905-39.909-39.909-39.909H314.026c-22.004 0-39.909 17.905-39.909 39.91v28.933h-104.43v643.564c0 35.26 28.592 63.854 63.855 63.854h127.709v-47.89H249.506c-17.632 0-31.928-14.299-31.928-31.928v-579.71h56.54v10.976c0 22.004 17.904 39.909 39.908 39.909h317.938c22.004 0 39.91-17.905 39.91-39.91V272.79h56.538V437.45h47.89V224.898H671.875zm-47.89 50.884H322.007v-71.836h301.974v71.836z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-section"><path d="M141.074 906.496h741.852c89.581 0 134.583-44.562 134.583-132.846V250.331c0-88.283-45.002-132.845-134.583-132.845H141.074c-89.143.018-134.583 44.16-134.583 132.845V773.67c0 88.704 45.44 132.845 134.583 132.845zm1.28-68.992c-42.861 0-66.852-22.71-66.852-67.291V253.806c0-44.58 23.99-67.292 66.852-67.292h739.292c42.423 0 66.852 22.711 66.852 67.292v516.388c0 44.58-24.43 67.292-66.852 67.292z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-tree-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /><path d="M224 192a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm256-480a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0ZM192 352h256M192 672h256M224 192v160m0 160v160" stroke="currentColor" stroke-width="32" fill="none" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slider-field"><path d="M951.453 476.844H523.672a131.836 131.836 0 0 0-254.18 0H72.547v70.312h196.945a131.836 131.836 0 0 0 254.18 0h427.781z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-component"><path d="M512 102.4c-212.48 0-384 171.52-384 384s171.52 384 384 384 384-171.52 384-384-171.52-384-384-384zm25.6 716.8v-128c0-15.36-10.24-25.6-25.6-25.6s-25.6 10.24-25.6 25.6v128C322.56 806.4 192 675.84 179.2 512h128c15.36 0 25.6-10.24 25.6-25.6s-10.24-25.6-25.6-25.6h-128C192 296.96 322.56 166.4 486.4 156.16V281.6c0 15.36 10.24 25.6 25.6 25.6s25.6-10.24 25.6-25.6V156.16C701.44 168.96 832 299.52 844.8 460.8h-128c-15.36 0-25.6 10.24-25.6 25.6s10.24 25.6 25.6 25.6h128C832 675.84 701.44 806.4 537.6 819.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-field"><path d="M493.969 244.87h36.285q18.031 0 18.031 18.03v217.267q0 18.031-18.031 18.031h-36.285q-18.032 0-18.032-18.031V262.901q0-18.031 18.032-18.031ZM323.45000000000005 525.802h36.286q18.031 0 18.031 18.031v217.266q0 18.031-18.031 18.031H323.45q-18.03 0-18.03-18.03V543.832q0-18.031 18.03-18.031ZM664.2639999999999 525.802h36.286q18.03 0 18.03 18.031v217.266q0 18.031-18.03 18.031h-36.286q-18.031 0-18.031-18.03V543.832q0-18.031 18.031-18.031Z" /><path d="M827.437 122.212H196.563a74.574 74.574 0 0 0-74.35 74.351v630.874a74.574 74.574 0 0 0 74.35 74.35h630.874a74.574 74.574 0 0 0 74.35-74.35V196.563a74.574 74.574 0 0 0-74.35-74.35zm52.09 705.225a52.09 52.09 0 0 1-52.09 52.09H196.563a52.09 52.09 0 0 1-52.09-52.09V196.563a52.09 52.09 0 0 1 52.09-52.09h630.874a52.09 52.09 0 0 1 52.09 52.09z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-static-text"><path d="M213.333 160c-4.821 0-9.472.64-13.824 1.792a32 32 0 0 1-16.554-61.824C192.683 97.408 202.88 96 213.333 96h33.195a32 32 0 0 1 0 64h-33.195zm133.931-32a32 32 0 0 1 32-32h66.347a32 32 0 1 1 0 64h-66.304a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zm199.083 0a32 32 0 0 1 32-32h33.195c10.453 0 20.65 1.365 30.378 3.968a32 32 0 1 1-16.554 61.867A53.419 53.419 0 0 0 810.667 160h-33.195a32 32 0 0 1-32-32zm-606.293 32.341a32 32 0 0 1 22.613 39.168A53.461 53.461 0 0 0 160 213.333v33.195a32 32 0 0 1-64 0v-33.195c0-10.453 1.365-20.65 3.968-30.378a32 32 0 0 1 39.168-22.614zm745.685 0a32 32 0 0 1 39.168 22.614c2.56 9.728 3.968 19.925 3.968 30.378v33.195a32 32 0 0 1-64 0v-33.195c0-4.821-.64-9.472-1.792-13.824a32 32 0 0 1 22.613-39.168zM128 347.221a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zM128 546.432a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm0 199.083a32 32 0 0 1 32 32v33.152c0 10.453-1.365 20.65-3.968 30.378a32 32 0 1 1-61.867-16.554c1.195-4.352 1.835-8.96 1.835-13.824v-33.195a32 32 0 0 1 32-32zm-768 0a32 32 0 0 1 32 32v33.152c0 4.821.64 9.472 1.792 13.824a32 32 0 0 1-61.824 16.512A117.461 117.461 0 0 1 96 810.667v-33.195a32 32 0 0 1 32-32zm32.341 139.392a32 32 0 0 1 39.168-22.656 53.814 53.814 0 0 0 13.824 1.792h33.195a32 32 0 0 1 0 64h-33.195c-10.453 0-20.65-1.366-30.378-3.968a32 32 0 0 1-22.614-39.168zm703.318 0a32 32 0 0 1-22.614 39.168c-9.728 2.56-19.925 3.968-30.378 3.968h-33.195a32 32 0 0 1 0-64h33.195c4.821 0 9.472-.64 13.824-1.792a32 32 0 0 1 39.168 22.613zM347.307 896a32 32 0 0 1 32-32h66.346a32 32 0 1 1 0 64h-66.346a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zM341.333 352a32 32 0 0 0 0 64H480v266.667a32 32 0 0 0 64 0V416h138.667a32 32 0 0 0 0-64H341.333z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-sub-form"><path d="M512 106.667H112a5.333 5.333 0 0 0-5.333 5.333v800a5.333 5.333 0 0 0 5.333 5.333h800a5.333 5.333 0 0 0 5.333-5.333V112a5.333 5.333 0 0 0-5.333-5.333zm0 74.666h325.333a5.333 5.333 0 0 1 5.334 5.334v160a5.333 5.333 0 0 1-5.334 5.333H186.667a5.333 5.333 0 0 1-5.334-5.333v-160a5.333 5.333 0 0 1 5.334-5.334zM597.333 432v405.333a5.333 5.333 0 0 1-5.333 5.334H432a5.333 5.333 0 0 1-5.333-5.334V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.333 5.333zm-410.666-5.333h160A5.333 5.333 0 0 1 352 432v405.333a5.333 5.333 0 0 1-5.333 5.334h-160a5.333 5.333 0 0 1-5.334-5.334V432a5.333 5.333 0 0 1 5.334-5.333zM672 837.333V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.334 5.333v405.333a5.333 5.333 0 0 1-5.334 5.334h-160a5.333 5.333 0 0 1-5.333-5.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-switch-field"><path d="M692 792H332C182 792 62 672 62 522s120-270 270-270h360c150 0 270 120 270 270 0 147-120 270-270 270zM332 312c-117 0-210 93-210 210s93 210 210 210h360c117 0 210-93 210-210s-93-210-210-210H332z" /><path d="M191 522a150 150 0 1 0 300 0 150 150 0 1 0-300 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-tab"><path d="M908.8 1005.44H115.2A101.76 101.76 0 0 1 14.08 903.68V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z" /><path d="M977.92 299.52a32.64 32.64 0 0 1-32-32v-87.04a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32H908.8a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z" /><path d="M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z" /><path d="M699.52 299.52a32 32 0 0 1-32-32v-156.8a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-table"><path d="M925.586 0H101.369C69.885 0 42.24 28.924 42.24 62.328v902.8c0 33.403 27.645 58.872 59.129 58.872h824.217c31.484 0 56.057-25.469 56.057-58.873V62.328C981.643 28.924 957.198 0 925.586 0zM373.719 735.908V543.932h276.445v191.976zm276.445 42.235v203.494H373.719V778.143zm287.964-276.446h-244.45V298.203h244.45zm-287.964 0H373.719V298.203h276.445zm-319.96 0H85.754V298.203h244.45zm-244.45 42.235h244.45v191.976H85.754zm607.925 0h244.449v191.976h-244.45zM101.369 42.235h824.217c7.807 0 12.542 10.366 12.542 20.093v193.64H85.755V62.328c0-9.727 7.807-20.093 15.614-20.093zM85.755 964.999V778.143h244.449v203.494H101.369c-7.807 0-15.614-6.91-15.614-16.51zm839.83 16.638H693.68V778.143h244.449v186.856c0 9.727-4.607 16.638-12.542 16.638z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-text-field"><path d="M896 224H128c-35.2 0-64 28.8-64 64v448c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V288c0-35.2-28.8-64-64-64zm0 480c0 19.2-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V320c0-19.2 12.8-32 32-32h704c19.2 0 32 12.8 32 32v384z" /><path d="M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-textarea-field"><path d="M896.4 173.1H128.9c-35.2 0-49 13.8-49 49v575.6c0 35.2 13.8 49 49 49h767.5c35.2 0 49-13.8 49-49V222.1c0-35.2-13.8-49-49-49zm0 592.6c0 16-12.8 32-32 32H160.9c-19.2 0-32-12.8-32-32V254.1c0-16 12.8-32 32-32h703.5c19.2 0 32 12.8 32 32v511.6z" /><path d="M710.2 766.7h141.5c8.1 0 14.7-6.6 14.7-14.7V610.4c0-1.3-1.6-2-2.6-1.1L709.1 764.1c-1 1-.3 2.6 1.1 2.6zm-503-172.4h-13.5c-10 0-18.2-8.2-18.2-18.2V291.8c0-10.2 8.4-18.6 18.6-18.6h12.8c10.2 0 18.6 8.4 18.6 18.6v284.3c-.1 10-8.3 18.2-18.3 18.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-field"><path d="M512 39.385A472.615 472.615 0 1 0 984.615 512 472.615 472.615 0 0 0 512 39.385zm0 866.461A393.846 393.846 0 1 1 905.846 512 393.846 393.846 0 0 1 512 905.846zm75.855-373.72A77.154 77.154 0 0 0 590.769 512a78.454 78.454 0 0 0-39.384-67.86V196.923a39.385 39.385 0 0 0-78.77 0V444.14a78.336 78.336 0 0 0 59.55 143.715l70.144 70.144a39.385 39.385 0 0 0 55.69-55.69zM512 551.385A39.385 39.385 0 1 1 551.385 512 39.385 39.385 0 0 1 512 551.385zm315.077-78.77A39.385 39.385 0 1 0 866.462 512a39.385 39.385 0 0 0-39.385-39.385zm-630.154 0A39.385 39.385 0 1 0 236.308 512a39.385 39.385 0 0 0-39.385-39.385zm509.991 234.3a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69 0zM317.007 317.006a39.385 39.385 0 1 0-55.73 0 39.385 39.385 0 0 0 55.809.04zM512 787.692a39.385 39.385 0 1 0 39.385 39.385A39.385 39.385 0 0 0 512 787.692zm-250.604-80.778a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.039zm445.518-445.518a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.04z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-range-field"><path d="M498.596 482.29H345.42v57.308h210.478V274.197h-57.301V482.29zm79.089 162.695h379.88v57.302h-379.88v-57.302zm0 128.78h379.88v57.307h-379.88v-57.307zm0 128.785h379.88v57.307h-379.88V902.55zm0 0" /><path d="M102.523 382.29a28.668 28.668 0 0 0 23.367 2.56l190.81-61.886c15.053-4.883 23.298-21.04 18.415-36.09-4.882-15.052-21.04-23.297-36.093-18.415l-123.346 40c15.994-26.117 35.17-50.538 57.37-72.745 73.768-73.767 171.847-114.388 276.169-114.388 104.32 0 202.395 40.622 276.161 114.388S899.77 407.56 899.77 511.882c0 26.428-2.616 52.45-7.71 77.78h58.303c4.465-25.499 6.709-51.47 6.709-77.78 0-60.45-11.846-119.102-35.205-174.336-22.56-53.335-54.85-101.227-95.969-142.35-41.122-41.122-89.017-73.408-142.348-95.968-55.233-23.361-113.89-35.207-174.334-35.207-60.45 0-119.107 11.846-174.337 35.208-53.335 22.56-101.23 54.846-142.35 95.969-23.98 23.98-44.933 50.278-62.727 78.6l-20.738-105.654c-3.043-15.528-18.105-25.642-33.632-22.6-15.528 3.048-25.643 18.105-22.6 33.637l36.103 183.932a28.666 28.666 0 0 0 13.588 19.178zm23.497 205.652H67.768c5.76 33.679 15.368 66.544 28.79 98.278 22.56 53.334 54.85 101.225 95.972 142.348 41.123 41.123 89.014 73.409 142.349 95.969 54.112 22.888 111.518 34.711 170.668 35.182v-57.324c-102.95-.941-199.595-41.446-272.5-114.349-55.501-55.502-92.237-124.77-107.027-200.104zm0 0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-undo"><path d="M609.206 396.656H193.504l201.87-199.152c17.787-17.787 17.787-43.185 0-60.973s-41.555-18.641-59.42-.778L62.857 402.557c-17.787 17.787-17.787 41.399 0 59.186L336.03 728.858c17.787 17.787 41.555 17.787 59.42-.078 17.787-17.787 17.787-41.166 0-58.953L193.502 474.326h415.702c166.219 0 311.155 129.712 311.155 290.029v41.555c0 23.769 15.069 41.555 38.836 41.555s38.836-17.787 38.836-41.555v-41.555c0-207.852-175.073-367.7-388.828-367.7z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-vue-sfc"><path d="M454.138 11.176 54.066 174.092c-72.088 29.49-72.088 120.523 0 150.014l400.276 162.916c36.454 14.95 78.847 14.95 115.506 0l400.071-162.814c72.191-29.593 72.089-120.83-.307-150.116L569.746 11.278a155.339 155.339 0 0 0-115.608-.205zm469.19 237.872L532.37 408.585l-7.885 2.457a55.09 55.09 0 0 1-32.562-2.457L100.35 249.048l391.265-159.23a55.09 55.09 0 0 1 40.447 0l391.162 159.23z" fill="#1890FF" /><path d="M498.681 729.911c-20.275 0-40.652-3.788-59.391-11.673L53.76 561.26C20.48 547.847 0 519.89 0 488.558c0-31.436 20.582-59.391 53.862-72.703l36.556-15.053c21.401-8.806 47.103-1.024 57.24 17.408 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.229-4.71 3.584-4.71 6.45 0 3.073 1.536 5.12 4.71 6.452l385.326 156.875c14.336 5.939 30.924 5.939 45.362 0L906.74 495.009c3.072-1.229 4.915-3.584 4.915-6.451 0-3.072-1.536-5.222-4.607-6.451l-44.851-18.227c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.329 35.84-26.214 57.24-17.407l44.851 18.431c33.177 13.517 53.76 41.267 53.76 72.703 0 31.334-20.48 59.391-53.76 72.703L558.482 718.238a161.585 161.585 0 0 1-59.801 11.673z" fill="#5DE1C8" /><path d="M498.681 966.247c-20.275 0-40.652-3.89-59.391-11.673L53.76 797.597C20.48 784.08 0 756.227 0 724.997c0-31.437 20.582-59.494 53.862-72.806l36.556-14.95c21.401-8.807 47.103-1.024 57.24 17.407 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.126-4.71 3.584-4.71 6.451 0 3.072 1.536 5.12 4.71 6.349l385.326 156.977c14.336 5.939 30.924 5.939 45.362 0L906.74 731.14c3.072-1.126 4.915-3.584 4.915-6.349 0-3.072-1.536-5.324-4.607-6.45l-44.851-18.33c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.431 35.84-26.214 57.24-17.407l44.851 18.329c33.177 13.517 53.76 41.369 53.76 72.703 0 31.436-20.48 59.494-53.76 72.805l-385.428 157.08a161.585 161.585 0 0 1-59.801 11.673z" fill="#FF7272" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-search"><path d="M863.3 641.94A416.1 416.1 0 0 0 96.7 318.06a416.1 416.1 0 0 0 766.6 323.88zM480 832a352 352 0 1 1 248.9-103.1A349.69 349.69 0 0 1 480 832z" /><path d="m950.63 841.37-96-96a32 32 0 0 0-45.25 45.25l96 96a13.25 13.25 0 1 1-18.75 18.75l-96-96a32 32 0 0 0-45.25 45.25l96 96a77.25 77.25 0 1 0 109.25-109.25z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-arrow-down"><path d="M512 714.667c-8.533 0-17.067-2.134-23.467-8.534L147.2 364.8c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l320 317.867 317.867-320c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8L533.333 704c-4.266 8.533-12.8 10.667-21.333 10.667z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-back"><path fill="currentColor" d="M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z" /><path fill="currentColor" d="m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-check"><path fill="currentColor" d="M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-clone"><path d="M774.144 839.68c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H184.32c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V380.928c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4v65.536c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08V839.68c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h458.752c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08h65.536zM380.928 118.784c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v458.752c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456H839.68c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V184.32c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H380.928zm0-65.536H839.68c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v458.752c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H380.928c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V184.32c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-delete"><path fill="currentColor" d="M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-download"><path d="M896 672c-17.067 0-32 14.933-32 32v128c0 6.4-4.267 10.667-10.667 10.667H170.667c-6.4 0-10.667-4.267-10.667-10.667V704c0-17.067-14.933-32-32-32s-32 14.933-32 32v128c0 40.533 34.133 74.667 74.667 74.667h682.666C893.867 906.667 928 872.533 928 832V704c0-17.067-14.933-32-32-32z" /><path d="M488.533 727.467c6.4 6.4 14.934 8.533 23.467 8.533s17.067-2.133 23.467-8.533L748.8 514.133c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L546.133 627.2V170.667c0-17.067-14.933-32-32-32S480 153.6 480 170.667V627.2L322.133 469.333c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l211.2 213.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-drag-move"><path d="M909.3 506.3 781.7 405.6c-4.7-3.7-11.7-.4-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7c-2.9-3.7-8.5-3.7-11.3 0L405.6 242.3c-3.7 4.7-.4 11.7 5.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3c-3.7 2.9-3.7 8.5 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.7-2.9 3.7-8.5.1-11.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-form-template"><path d="M298.667 981.333A85.333 85.333 0 0 1 213.333 896V128a85.333 85.333 0 0 1 85.334-85.333h426.666A85.333 85.333 0 0 1 810.667 128v768a85.333 85.333 0 0 1-85.334 85.333zm0-832v725.334A21.333 21.333 0 0 0 320 896h384a21.333 21.333 0 0 0 21.333-21.333V149.333A21.333 21.333 0 0 0 704 128H320a21.333 21.333 0 0 0-21.333 21.333zm640 618.667V256a42.667 42.667 0 0 1 42.666-42.667A42.667 42.667 0 0 1 1024 256v512a42.667 42.667 0 0 1-42.667 42.667A42.667 42.667 0 0 1 938.667 768zM0 768V256a42.667 42.667 0 0 1 42.667-42.667A42.667 42.667 0 0 1 85.333 256v512a42.667 42.667 0 0 1-42.666 42.667A42.667 42.667 0 0 1 0 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-hide"><path d="M956.8 496c-41.6-70.4-99.2-147.2-176-204.8l105.6-105.6c12.8-12.8 12.8-32 0-44.8s-32-12.8-44.8 0L726.4 256C665.6 214.4 592 192 512 192c-214.4 0-358.4 166.4-444.8 304-6.4 9.6-6.4 22.4 0 32 41.6 70.4 102.4 147.2 176 204.8L134.4 841.6c-12.8 12.8-12.8 32 0 44.8 9.6 6.4 16 9.6 25.6 9.6s16-3.2 22.4-9.6l115.2-115.2C358.4 809.6 432 832 512 832c185.6 0 374.4-128 444.8-307.2 3.2-9.6 3.2-19.2 0-28.8zm-822.4 16C211.2 390.4 336 256 512 256c60.8 0 118.4 16 166.4 44.8l-80 80C576 361.6 544 352 512 352c-89.6 0-160 70.4-160 160 0 32 9.6 64 25.6 89.6L288 691.2C224 640 172.8 572.8 134.4 512zm473.6 0c0 54.4-41.6 96-96 96-16 0-28.8-3.2-41.6-9.6l128-128c6.4 12.8 9.6 25.6 9.6 41.6zm-192 0c0-54.4 41.6-96 96-96 16 0 28.8 3.2 41.6 9.6l-128 128c-6.4-12.8-9.6-25.6-9.6-41.6zm96 256c-60.8 0-118.4-16-166.4-44.8l80-80C448 662.4 480 672 512 672c89.6 0 160-70.4 160-160 0-32-9.6-64-25.6-89.6l89.6-89.6C803.2 384 854.4 451.2 892.8 512 825.6 659.2 665.6 768 512 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-info"><path d="M512.001 928.997c230.524 0 418.076-187.552 418.075-418.077 0-230.527-187.552-418.077-418.075-418.077S93.924 280.393 93.924 510.92c0 230.525 187.552 418.077 418.077 418.077zM512 301.88c28.86 0 52.26 23.399 52.26 52.263 0 28.858-23.399 52.257-52.26 52.257s-52.26-23.399-52.26-52.257c0-28.863 23.399-52.263 52.26-52.263zm-52.26 209.042c0-28.86 23.399-52.26 52.26-52.26s52.26 23.399 52.26 52.26v156.775c0 28.86-23.399 52.26-52.26 52.26s-52.26-23.399-52.26-52.26V510.922z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-column"><path d="M653.184 713.6c12.864-12.864 33.6-12.864 46.528 0 6.4 6.4 3.776 14.72 3.776 23.232a32.675 32.675 0 0 1-9.6 23.104L569.92 886.4c-.128.128-.32.192-.512.32-2.88 2.88-9.536 5.184-13.312 6.784-3.456 1.344-.64 1.856-4.096 2.112-.768 0-1.344.384-2.048.384-.512 0-.896-.256-1.344-.256-3.84-.192-5.76-.896-9.344-2.24-3.264-1.344-6.016-3.52-8.64-5.76-.64-.512-1.472-.768-2.048-1.344L391.232 760c-12.864-12.736-6.976-33.6 5.888-46.4 12.8-12.864 33.6-12.864 46.464 0l105.472 100.352L653.184 713.6zM384 64v576h320V64H384zM128 704v256H64V640h256v320h-62.976L256 704H128m704 0v256h-64V640h256v320h-62.976L960 704H832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-row"><path d="M310.336 653.184c12.864 12.864 12.864 33.6 0 46.528-6.4 6.4-14.72 3.776-23.168 3.776s-16.832-3.264-23.168-9.6L137.6 569.92c-.128-.128-.192-.32-.256-.512-2.88-2.816-5.248-9.536-6.848-13.312-1.344-3.392-1.856-.576-2.112-4.096 0-.768-.384-1.344-.384-2.048 0-.512.256-.896.256-1.344.192-3.84.896-5.76 2.24-9.344 1.344-3.264 3.52-6.016 5.76-8.64.512-.704.768-1.536 1.344-2.112l126.336-137.344c12.8-12.864 33.6-6.976 46.4 5.888 12.864 12.8 12.864 33.6 0 46.464L210.048 548.992l100.288 104.192zM960 384H384v320h576V384zM320 128H64V64h320v256H64v-62.976L320 256V128m0 704H64v-64h320v256H64v-62.976L320 960V832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-menu"><path d="M844.8 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zM435.2 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-down"><path d="M898.133 512c-12.8-12.8-32-12.8-44.8-2.133L544 800V149.333c0-17.066-14.933-32-32-32s-32 14.934-32 32V800L170.667 509.867c-12.8-12.8-34.134-10.667-44.8 2.133-12.8 12.8-10.667 34.133 2.133 44.8l362.667 341.333c2.133 2.134 6.4 4.267 8.533 6.4 4.267 2.134 6.4 2.134 10.667 2.134s8.533 0 10.666-2.134c4.267-2.133 6.4-4.266 8.534-6.4L891.733 556.8c17.067-12.8 19.2-32 6.4-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-up"><path d="M896 467.2 533.333 125.867c-2.133-2.134-6.4-4.267-8.533-6.4-4.267-2.134-6.4-2.134-10.667-2.134s-8.533 0-10.666 2.134c-4.267 2.133-6.4 4.266-8.534 6.4L132.267 467.2c-12.8 12.8-12.8 32-2.134 44.8 12.8 12.8 32 12.8 44.8 2.133L484.267 224v650.667c0 17.066 14.933 32 32 32s32-14.934 32-32V224l305.066 290.133c6.4 6.4 14.934 8.534 21.334 8.534 8.533 0 17.066-4.267 23.466-10.667 12.8-12.8 10.667-32-2.133-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-plus"><path d="M554.667 213.333h-85.334v256h-256v85.334h256v256h85.334v-256h256v-85.334h-256z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-set-up"><path d="M217.088 151.552c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v589.824c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h589.824c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V217.088c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H217.088zm0-65.536h589.824c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v589.824c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H217.088c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V217.088c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4zm163.84 327.68c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm98.304-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H479.232c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768zm163.84 425.984c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm-360.448-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H282.624c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-view"><path fill="currentColor" d="M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-zoom-in"><path fill="currentColor" d="m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z" /></symbol>',_.insertBefore(e,_.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",h):h()}var iconfont="",index="";function registerCPEditor(h,_,e,g){h.component(e,g)}function registerAPEditor(h,_,e,g){h.component(e,g)}function registerEPEditor(h,_,e,g){h.component(e,g)}function _isSlot(h){return typeof h=="function"||Object.prototype.toString.call(h)==="[object Object]"&&!vue.isVNode(h)}const createInputTextEditor=function(h,_){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[h],"onUpdate:modelValue":g=>this.optionModel[h]=g},null)]})}}},createTextareaEditor=function(h,_,e={}){return{props:{optionModel:Object},render(g){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[h],"onUpdate:modelValue":M=>this.optionModel[h]=M,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createBooleanEditor=function(h,_){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[h],"onUpdate:modelValue":g=>this.optionModel[h]=g},null)]})}}},createRadioButtonGroupEditor=function(h,_,e){return{props:{optionModel:Object},render(g){let M;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[h],"onUpdate:modelValue":x=>this.optionModel[h]=x},_isSlot(M=e.optionItems.map(x=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:x.value},{default:()=>[x.label]})))?M:{default:()=>[M]})]})}}},createSelectEditor=function(h,_,e){return{props:{optionModel:Object},render(g){let M;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(_)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[h],"onUpdate:modelValue":x=>this.optionModel[h]=x},_isSlot(M=e.optionItems.map(x=>vue.createVNode(vue.resolveComponent("el-option"),{label:x.label,value:x.value},null)))?M:{default:()=>[M]})]})}}},createEventHandlerEditor=function(h,_){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[h,[..._]])}},render(e){let g;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:h,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(g=translate("designer.setting.addEventHandler"))?g:{default:()=>[g]})]})}}};var containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(h){this.designer.appendTableRow(h)},appendTableCol(h){this.designer.appendTableCol(h)},onContainerDragAdd(h,_){const e=h.newIndex;_[e]&&this.designer.setSelected(_[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(h){return this.designer.checkWidgetMove(h)},selectWidget(h){this.designer.setSelected(h)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},cloneContainer(h){if(this.parentList){let _=this.designer.cloneContainer(h);this.parentList.splice(this.indexOfParentList+1,0,_),this.designer.setSelected(_),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const h=this.designer.selectedWidgetName;let _=null;this.parentList.length===1?this.parentWidget&&(_=this.parentWidget):this.parentList.length===1+this.indexOfParentList?_=this.parentList[this.indexOfParentList-1]:_=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(_),this.designer.formWidget.deleteWidgetRef(h),this.designer.emitHistoryChange()})}},setWidgetOption(h,_){this.widget.options.hasOwnProperty(h)&&(this.widget.options[h]=_)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$n={name:"container-wrapper",mixins:[i18n$1,containerMixin],components:{SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{customClass(){return this.widget.options.customClass?this.widget.options.customClass.join(" "):""}}},_hoisted_1$i={key:0,class:"container-action"},_hoisted_2$d=["title"],_hoisted_3$b=["title"],_hoisted_4$9=["title"],_hoisted_5$7=["title"],_hoisted_6$7=["title"],_hoisted_7$5=["title"],_hoisted_8$4=["title"],_hoisted_9$3={key:1,class:"drag-handler"},_hoisted_10$2=["title"],_hoisted_11$1={key:0};function _sfc_render$n(h,_,e,g,M,x){const S=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[x.customClass]])},[vue.renderSlot(h.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$i,[vue.createElementVNode("i",{title:h.i18nt("designer.hint.selectParentWidget"),onClick:_[0]||(_[0]=vue.withModifiers(b=>h.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(S,{"icon-class":"el-back"})],8,_hoisted_2$d),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:h.i18nt("designer.hint.moveUpWidget"),onClick:_[1]||(_[1]=vue.withModifiers(b=>h.moveUpWidget(),["stop"]))},[vue.createVNode(S,{"icon-class":"el-move-up"})],8,_hoisted_3$b)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:h.i18nt("designer.hint.moveDownWidget"),onClick:_[2]||(_[2]=vue.withModifiers(b=>h.moveDownWidget(),["stop"]))},[vue.createVNode(S,{"icon-class":"el-move-down"})],8,_hoisted_4$9)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:h.i18nt("designer.hint.insertRow"),onClick:_[3]||(_[3]=vue.withModifiers(b=>h.appendTableRow(e.widget),["stop"]))},[vue.createVNode(S,{"icon-class":"el-insert-row"})],8,_hoisted_5$7)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:h.i18nt("designer.hint.insertColumn"),onClick:_[4]||(_[4]=vue.withModifiers(b=>h.appendTableCol(e.widget),["stop"]))},[vue.createVNode(S,{"icon-class":"el-insert-column"})],8,_hoisted_6$7)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:h.i18nt("designer.hint.cloneWidget"),onClick:_[5]||(_[5]=vue.withModifiers(b=>h.cloneContainer(e.widget),["stop"]))},[vue.createVNode(S,{"icon-class":"el-clone"})],8,_hoisted_7$5)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:h.i18nt("designer.hint.remove"),onClick:_[6]||(_[6]=vue.withModifiers((...b)=>h.removeWidget&&h.removeWidget(...b),["stop"]))},[vue.createVNode(S,{"icon-class":"el-delete"})],8,_hoisted_8$4)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$3,[vue.createElementVNode("i",{title:h.i18nt("designer.hint.dragHandler")},[vue.createVNode(S,{"icon-class":"el-drag-move"})],8,_hoisted_10$2),vue.createElementVNode("i",null,vue.toDisplayString(h.i18n2t(`designer.widgetLabel.${e.widget.type}`,`extension.widgetLabel.${e.widget.type}`)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_11$1,[vue.createVNode(S,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-679de05a"]]),__glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerWrapper},Symbol.toStringTag,{value:"Module"})),refMixinDesign={methods:{initRefList(){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(h,_){let e=this.refList[h];return!e&&!!_&&this.$message.error(this.i18nt("render.hint.refNotFound")+h),e},registerToRefList(h){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(h&&delete this.refList[h],this.refList[this.widget.options.name]=this)}}},cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$m={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:Ot(Ue({ContainerWrapper},comps),{ArrowDownBold:arrowDownBold}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(h){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(h){this.widget.options.folded=!!h}}},_hoisted_1$h={class:"label"},_hoisted_2$c={class:"form-widget-list"};function _sfc_render$m(h,_,e,g,M,x){const S=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),c=vue.resolveComponent("draggable"),u=vue.resolveComponent("el-card"),r=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(r,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(u,{key:e.widget.id,class:vue.normalizeClass(["card-container",[x.selected?"selected":"",e.widget.options.folded?"folded":"",x.customClass]]),onClick:_[2]||(_[2]=vue.withModifiers(o=>h.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:_[0]||(_[0]=(...o)=>x.toggleCard&&x.toggleCard(...o)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(S)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$h,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[vue.createVNode(c,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:_[1]||(_[1]=o=>h.onContainerDragAdd(o,e.widget.widgetList)),onUpdate:h.onContainerDragUpdate,move:x.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$c,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"])]),_:1},8,["shadow","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CardWidget=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$l={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Ot(Ue({ContainerItemWrapper},comps),{ArrowDownBold:arrowDownBold}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},beforeUnmount(){this.unregisterFromRefList()},methods:{toggleCard(){this.widget.options.folded=!this.widget.options.folded}}},_hoisted_1$g={class:"label"};function _sfc_render$l(h,_,e,g,M,x){const S=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),c=vue.resolveComponent("el-card"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createBlock(c,{key:e.widget.id,class:vue.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",x.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:_[0]||(_[0]=(...r)=>x.toggleCard&&x.toggleCard(...r)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(S)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$g,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[!!e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(r,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[r.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(h.getComponentByContainer(r)),{widget:r,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(h.$slots,t,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(r.type+"-widget"),{field:r,designer:null,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(h.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(h.$slots,t,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):vue.createCommentVNode("",!0)]),_:3},8,["class","shadow"])),[[vue.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}var CardItem=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-05585a0f"]]);const ACE_BASE_PATH="https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini",_sfc_main$k={name:"alert-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},created(){this.registerToRefList(),this.initEventHandler()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleCloseCustomEvent(){this.field.options.onClose&&new Function(this.field.options.onClose).call(this)}}};function _sfc_render$k(h,_,e,g,M,x){const S=vue.resolveComponent("el-alert"),b=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{ref:"fieldEditor",title:e.field.options.title,type:e.field.options.type,description:e.field.options.description,closable:e.field.options.closable,center:e.field.options.center,"close-text":e.field.options.closeText,"show-icon":e.field.options.showIcon,effect:e.field.options.effect,onClose:x.handleCloseCustomEvent},null,8,["title","type","description","closable","center","close-text","show-icon","effect","onClose"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AlertWidget=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k]]),cryptoJs={exports:{}},core={exports:{}};(function(h,_){(function(e,g){h.exports=g()})(commonjsGlobal,function(){var e=e||function(g,M){var x;if(typeof window!="undefined"&&window.crypto&&(x=window.crypto),typeof self!="undefined"&&self.crypto&&(x=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(x=globalThis.crypto),!x&&typeof window!="undefined"&&window.msCrypto&&(x=window.msCrypto),!x&&typeof commonjsGlobal!="undefined"&&commonjsGlobal.crypto&&(x=commonjsGlobal.crypto),!x&&typeof commonjsRequire=="function")try{x=require("crypto")}catch{}var S=function(){if(x){if(typeof x.getRandomValues=="function")try{return x.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof x.randomBytes=="function")try{return x.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},b=Object.create||function(){function f(){}return function(w){var p;return f.prototype=w,p=new f,f.prototype=null,p}}(),c={},u=c.lib={},r=u.Base=function(){return{extend:function(f){var w=b(this);return f&&w.mixIn(f),(!w.hasOwnProperty("init")||this.init===w.init)&&(w.init=function(){w.$super.init.apply(this,arguments)}),w.init.prototype=w,w.$super=this,w},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var w in f)f.hasOwnProperty(w)&&(this[w]=f[w]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),o=u.WordArray=r.extend({init:function(f,w){f=this.words=f||[],w!=M?this.sigBytes=w:this.sigBytes=f.length*4},toString:function(f){return(f||i).stringify(this)},concat:function(f){var w=this.words,p=f.words,v=this.sigBytes,m=f.sigBytes;if(this.clamp(),v%4)for(var C=0;C<m;C++){var D=p[C>>>2]>>>24-C%4*8&255;w[v+C>>>2]|=D<<24-(v+C)%4*8}else for(var I=0;I<m;I+=4)w[v+I>>>2]=p[I>>>2];return this.sigBytes+=m,this},clamp:function(){var f=this.words,w=this.sigBytes;f[w>>>2]&=4294967295<<32-w%4*8,f.length=g.ceil(w/4)},clone:function(){var f=r.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var w=[],p=0;p<f;p+=4)w.push(S());return new o.init(w,f)}}),t=c.enc={},i=t.Hex={stringify:function(f){for(var w=f.words,p=f.sigBytes,v=[],m=0;m<p;m++){var C=w[m>>>2]>>>24-m%4*8&255;v.push((C>>>4).toString(16)),v.push((C&15).toString(16))}return v.join("")},parse:function(f){for(var w=f.length,p=[],v=0;v<w;v+=2)p[v>>>3]|=parseInt(f.substr(v,2),16)<<24-v%8*4;return new o.init(p,w/2)}},n=t.Latin1={stringify:function(f){for(var w=f.words,p=f.sigBytes,v=[],m=0;m<p;m++){var C=w[m>>>2]>>>24-m%4*8&255;v.push(String.fromCharCode(C))}return v.join("")},parse:function(f){for(var w=f.length,p=[],v=0;v<w;v++)p[v>>>2]|=(f.charCodeAt(v)&255)<<24-v%4*8;return new o.init(p,w)}},s=t.Utf8={stringify:function(f){try{return decodeURIComponent(escape(n.stringify(f)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(f){return n.parse(unescape(encodeURIComponent(f)))}},a=u.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(f){typeof f=="string"&&(f=s.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var w,p=this._data,v=p.words,m=p.sigBytes,C=this.blockSize,D=C*4,I=m/D;f?I=g.ceil(I):I=g.max((I|0)-this._minBufferSize,0);var E=I*C,F=g.min(E*4,m);if(E){for(var L=0;L<E;L+=C)this._doProcessBlock(v,L);w=v.splice(0,E),p.sigBytes-=F}return new o.init(w,F)},clone:function(){var f=r.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0});u.Hasher=a.extend({cfg:r.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){a.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){f&&this._append(f);var w=this._doFinalize();return w},blockSize:512/32,_createHelper:function(f){return function(w,p){return new f.init(p).finalize(w)}},_createHmacHelper:function(f){return function(w,p){return new d.HMAC.init(f,p).finalize(w)}}});var d=c.algo={};return c}(Math);return e})})(core);var x64Core={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var M=e,x=M.lib,S=x.Base,b=x.WordArray,c=M.x64={};c.Word=S.extend({init:function(u,r){this.high=u,this.low=r}}),c.WordArray=S.extend({init:function(u,r){u=this.words=u||[],r!=g?this.sigBytes=r:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,r=u.length,o=[],t=0;t<r;t++){var i=u[t];o.push(i.high),o.push(i.low)}return b.create(o,this.sigBytes)},clone:function(){for(var u=S.clone.call(this),r=u.words=this.words.slice(0),o=r.length,t=0;t<o;t++)r[t]=r[t].clone();return u}})}(),e})})(x64Core);var libTypedarrays={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){if(typeof ArrayBuffer=="function"){var g=e,M=g.lib,x=M.WordArray,S=x.init,b=x.init=function(c){if(c instanceof ArrayBuffer&&(c=new Uint8Array(c)),(c instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&c instanceof Uint8ClampedArray||c instanceof Int16Array||c instanceof Uint16Array||c instanceof Int32Array||c instanceof Uint32Array||c instanceof Float32Array||c instanceof Float64Array)&&(c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength)),c instanceof Uint8Array){for(var u=c.byteLength,r=[],o=0;o<u;o++)r[o>>>2]|=c[o]<<24-o%4*8;S.call(this,r,u)}else S.apply(this,arguments)};b.prototype=x}}(),e.lib.WordArray})})(libTypedarrays);var encUtf16={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=g.enc;S.Utf16=S.Utf16BE={stringify:function(c){for(var u=c.words,r=c.sigBytes,o=[],t=0;t<r;t+=2){var i=u[t>>>2]>>>16-t%4*8&65535;o.push(String.fromCharCode(i))}return o.join("")},parse:function(c){for(var u=c.length,r=[],o=0;o<u;o++)r[o>>>1]|=c.charCodeAt(o)<<16-o%2*16;return x.create(r,u*2)}},S.Utf16LE={stringify:function(c){for(var u=c.words,r=c.sigBytes,o=[],t=0;t<r;t+=2){var i=b(u[t>>>2]>>>16-t%4*8&65535);o.push(String.fromCharCode(i))}return o.join("")},parse:function(c){for(var u=c.length,r=[],o=0;o<u;o++)r[o>>>1]|=b(c.charCodeAt(o)<<16-o%2*16);return x.create(r,u*2)}};function b(c){return c<<8&4278255360|c>>>8&16711935}}(),e.enc.Utf16})})(encUtf16);var encBase64={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=g.enc;S.Base64={stringify:function(c){var u=c.words,r=c.sigBytes,o=this._map;c.clamp();for(var t=[],i=0;i<r;i+=3)for(var n=u[i>>>2]>>>24-i%4*8&255,s=u[i+1>>>2]>>>24-(i+1)%4*8&255,a=u[i+2>>>2]>>>24-(i+2)%4*8&255,d=n<<16|s<<8|a,f=0;f<4&&i+f*.75<r;f++)t.push(o.charAt(d>>>6*(3-f)&63));var w=o.charAt(64);if(w)for(;t.length%4;)t.push(w);return t.join("")},parse:function(c){var u=c.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var t=0;t<r.length;t++)o[r.charCodeAt(t)]=t}var i=r.charAt(64);if(i){var n=c.indexOf(i);n!==-1&&(u=n)}return b(c,u,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function b(c,u,r){for(var o=[],t=0,i=0;i<u;i++)if(i%4){var n=r[c.charCodeAt(i-1)]<<i%4*2,s=r[c.charCodeAt(i)]>>>6-i%4*2,a=n|s;o[t>>>2]|=a<<24-t%4*8,t++}return x.create(o,t)}}(),e.enc.Base64})})(encBase64);var encBase64url={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=g.enc;S.Base64url={stringify:function(c,u){u===void 0&&(u=!0);var r=c.words,o=c.sigBytes,t=u?this._safe_map:this._map;c.clamp();for(var i=[],n=0;n<o;n+=3)for(var s=r[n>>>2]>>>24-n%4*8&255,a=r[n+1>>>2]>>>24-(n+1)%4*8&255,d=r[n+2>>>2]>>>24-(n+2)%4*8&255,f=s<<16|a<<8|d,w=0;w<4&&n+w*.75<o;w++)i.push(t.charAt(f>>>6*(3-w)&63));var p=t.charAt(64);if(p)for(;i.length%4;)i.push(p);return i.join("")},parse:function(c,u){u===void 0&&(u=!0);var r=c.length,o=u?this._safe_map:this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i<o.length;i++)t[o.charCodeAt(i)]=i}var n=o.charAt(64);if(n){var s=c.indexOf(n);s!==-1&&(r=s)}return b(c,r,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function b(c,u,r){for(var o=[],t=0,i=0;i<u;i++)if(i%4){var n=r[c.charCodeAt(i-1)]<<i%4*2,s=r[c.charCodeAt(i)]>>>6-i%4*2,a=n|s;o[t>>>2]|=a<<24-t%4*8,t++}return x.create(o,t)}}(),e.enc.Base64url})})(encBase64url);var md5={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var M=e,x=M.lib,S=x.WordArray,b=x.Hasher,c=M.algo,u=[];(function(){for(var s=0;s<64;s++)u[s]=g.abs(g.sin(s+1))*4294967296|0})();var r=c.MD5=b.extend({_doReset:function(){this._hash=new S.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(s,a){for(var d=0;d<16;d++){var f=a+d,w=s[f];s[f]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var p=this._hash.words,v=s[a+0],m=s[a+1],C=s[a+2],D=s[a+3],I=s[a+4],E=s[a+5],F=s[a+6],L=s[a+7],T=s[a+8],k=s[a+9],A=s[a+10],R=s[a+11],N=s[a+12],$=s[a+13],V=s[a+14],z=s[a+15],B=p[0],H=p[1],P=p[2],U=p[3];B=o(B,H,P,U,v,7,u[0]),U=o(U,B,H,P,m,12,u[1]),P=o(P,U,B,H,C,17,u[2]),H=o(H,P,U,B,D,22,u[3]),B=o(B,H,P,U,I,7,u[4]),U=o(U,B,H,P,E,12,u[5]),P=o(P,U,B,H,F,17,u[6]),H=o(H,P,U,B,L,22,u[7]),B=o(B,H,P,U,T,7,u[8]),U=o(U,B,H,P,k,12,u[9]),P=o(P,U,B,H,A,17,u[10]),H=o(H,P,U,B,R,22,u[11]),B=o(B,H,P,U,N,7,u[12]),U=o(U,B,H,P,$,12,u[13]),P=o(P,U,B,H,V,17,u[14]),H=o(H,P,U,B,z,22,u[15]),B=t(B,H,P,U,m,5,u[16]),U=t(U,B,H,P,F,9,u[17]),P=t(P,U,B,H,R,14,u[18]),H=t(H,P,U,B,v,20,u[19]),B=t(B,H,P,U,E,5,u[20]),U=t(U,B,H,P,A,9,u[21]),P=t(P,U,B,H,z,14,u[22]),H=t(H,P,U,B,I,20,u[23]),B=t(B,H,P,U,k,5,u[24]),U=t(U,B,H,P,V,9,u[25]),P=t(P,U,B,H,D,14,u[26]),H=t(H,P,U,B,T,20,u[27]),B=t(B,H,P,U,$,5,u[28]),U=t(U,B,H,P,C,9,u[29]),P=t(P,U,B,H,L,14,u[30]),H=t(H,P,U,B,N,20,u[31]),B=i(B,H,P,U,E,4,u[32]),U=i(U,B,H,P,T,11,u[33]),P=i(P,U,B,H,R,16,u[34]),H=i(H,P,U,B,V,23,u[35]),B=i(B,H,P,U,m,4,u[36]),U=i(U,B,H,P,I,11,u[37]),P=i(P,U,B,H,L,16,u[38]),H=i(H,P,U,B,A,23,u[39]),B=i(B,H,P,U,$,4,u[40]),U=i(U,B,H,P,v,11,u[41]),P=i(P,U,B,H,D,16,u[42]),H=i(H,P,U,B,F,23,u[43]),B=i(B,H,P,U,k,4,u[44]),U=i(U,B,H,P,N,11,u[45]),P=i(P,U,B,H,z,16,u[46]),H=i(H,P,U,B,C,23,u[47]),B=n(B,H,P,U,v,6,u[48]),U=n(U,B,H,P,L,10,u[49]),P=n(P,U,B,H,V,15,u[50]),H=n(H,P,U,B,E,21,u[51]),B=n(B,H,P,U,N,6,u[52]),U=n(U,B,H,P,D,10,u[53]),P=n(P,U,B,H,A,15,u[54]),H=n(H,P,U,B,m,21,u[55]),B=n(B,H,P,U,T,6,u[56]),U=n(U,B,H,P,z,10,u[57]),P=n(P,U,B,H,F,15,u[58]),H=n(H,P,U,B,$,21,u[59]),B=n(B,H,P,U,I,6,u[60]),U=n(U,B,H,P,R,10,u[61]),P=n(P,U,B,H,C,15,u[62]),H=n(H,P,U,B,k,21,u[63]),p[0]=p[0]+B|0,p[1]=p[1]+H|0,p[2]=p[2]+P|0,p[3]=p[3]+U|0},_doFinalize:function(){var s=this._data,a=s.words,d=this._nDataBytes*8,f=s.sigBytes*8;a[f>>>5]|=128<<24-f%32;var w=g.floor(d/4294967296),p=d;a[(f+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,a[(f+64>>>9<<4)+14]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,s.sigBytes=(a.length+1)*4,this._process();for(var v=this._hash,m=v.words,C=0;C<4;C++){var D=m[C];m[C]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return v},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});function o(s,a,d,f,w,p,v){var m=s+(a&d|~a&f)+w+v;return(m<<p|m>>>32-p)+a}function t(s,a,d,f,w,p,v){var m=s+(a&f|d&~f)+w+v;return(m<<p|m>>>32-p)+a}function i(s,a,d,f,w,p,v){var m=s+(a^d^f)+w+v;return(m<<p|m>>>32-p)+a}function n(s,a,d,f,w,p,v){var m=s+(d^(a|~f))+w+v;return(m<<p|m>>>32-p)+a}M.MD5=b._createHelper(r),M.HmacMD5=b._createHmacHelper(r)}(Math),e.MD5})})(md5);var sha1={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=M.Hasher,b=g.algo,c=[],u=b.SHA1=S.extend({_doReset:function(){this._hash=new x.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,o){for(var t=this._hash.words,i=t[0],n=t[1],s=t[2],a=t[3],d=t[4],f=0;f<80;f++){if(f<16)c[f]=r[o+f]|0;else{var w=c[f-3]^c[f-8]^c[f-14]^c[f-16];c[f]=w<<1|w>>>31}var p=(i<<5|i>>>27)+d+c[f];f<20?p+=(n&s|~n&a)+1518500249:f<40?p+=(n^s^a)+1859775393:f<60?p+=(n&s|n&a|s&a)-1894007588:p+=(n^s^a)-899497514,d=a,a=s,s=n<<30|n>>>2,n=i,i=p}t[0]=t[0]+i|0,t[1]=t[1]+n|0,t[2]=t[2]+s|0,t[3]=t[3]+a|0,t[4]=t[4]+d|0},_doFinalize:function(){var r=this._data,o=r.words,t=this._nDataBytes*8,i=r.sigBytes*8;return o[i>>>5]|=128<<24-i%32,o[(i+64>>>9<<4)+14]=Math.floor(t/4294967296),o[(i+64>>>9<<4)+15]=t,r.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var r=S.clone.call(this);return r._hash=this._hash.clone(),r}});g.SHA1=S._createHelper(u),g.HmacSHA1=S._createHmacHelper(u)}(),e.SHA1})})(sha1);var sha256={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var M=e,x=M.lib,S=x.WordArray,b=x.Hasher,c=M.algo,u=[],r=[];(function(){function i(d){for(var f=g.sqrt(d),w=2;w<=f;w++)if(!(d%w))return!1;return!0}function n(d){return(d-(d|0))*4294967296|0}for(var s=2,a=0;a<64;)i(s)&&(a<8&&(u[a]=n(g.pow(s,1/2))),r[a]=n(g.pow(s,1/3)),a++),s++})();var o=[],t=c.SHA256=b.extend({_doReset:function(){this._hash=new S.init(u.slice(0))},_doProcessBlock:function(i,n){for(var s=this._hash.words,a=s[0],d=s[1],f=s[2],w=s[3],p=s[4],v=s[5],m=s[6],C=s[7],D=0;D<64;D++){if(D<16)o[D]=i[n+D]|0;else{var I=o[D-15],E=(I<<25|I>>>7)^(I<<14|I>>>18)^I>>>3,F=o[D-2],L=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;o[D]=E+o[D-7]+L+o[D-16]}var T=p&v^~p&m,k=a&d^a&f^d&f,A=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),R=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),N=C+R+T+r[D]+o[D],$=A+k;C=m,m=v,v=p,p=w+N|0,w=f,f=d,d=a,a=N+$|0}s[0]=s[0]+a|0,s[1]=s[1]+d|0,s[2]=s[2]+f|0,s[3]=s[3]+w|0,s[4]=s[4]+p|0,s[5]=s[5]+v|0,s[6]=s[6]+m|0,s[7]=s[7]+C|0},_doFinalize:function(){var i=this._data,n=i.words,s=this._nDataBytes*8,a=i.sigBytes*8;return n[a>>>5]|=128<<24-a%32,n[(a+64>>>9<<4)+14]=g.floor(s/4294967296),n[(a+64>>>9<<4)+15]=s,i.sigBytes=n.length*4,this._process(),this._hash},clone:function(){var i=b.clone.call(this);return i._hash=this._hash.clone(),i}});M.SHA256=b._createHelper(t),M.HmacSHA256=b._createHmacHelper(t)}(Math),e.SHA256})})(sha256);var sha224={exports:{}};(function(h,_){(function(e,g,M){h.exports=g(core.exports,sha256.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.WordArray,S=g.algo,b=S.SHA256,c=S.SHA224=b.extend({_doReset:function(){this._hash=new x.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=b._doFinalize.call(this);return u.sigBytes-=4,u}});g.SHA224=b._createHelper(c),g.HmacSHA224=b._createHmacHelper(c)}(),e.SHA224})})(sha224);var sha512={exports:{}};(function(h,_){(function(e,g,M){h.exports=g(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.lib,x=M.Hasher,S=g.x64,b=S.Word,c=S.WordArray,u=g.algo;function r(){return b.create.apply(b,arguments)}var o=[r(1116352408,3609767458),r(1899447441,602891725),r(3049323471,3964484399),r(3921009573,2173295548),r(961987163,4081628472),r(1508970993,3053834265),r(2453635748,2937671579),r(2870763221,3664609560),r(3624381080,2734883394),r(310598401,1164996542),r(607225278,1323610764),r(1426881987,3590304994),r(1925078388,4068182383),r(2162078206,991336113),r(2614888103,633803317),r(3248222580,3479774868),r(3835390401,2666613458),r(4022224774,944711139),r(264347078,2341262773),r(604807628,2007800933),r(770255983,1495990901),r(1249150122,1856431235),r(1555081692,3175218132),r(1996064986,2198950837),r(2554220882,3999719339),r(2821834349,766784016),r(2952996808,2566594879),r(3210313671,3203337956),r(3336571891,1034457026),r(3584528711,2466948901),r(113926993,3758326383),r(338241895,168717936),r(666307205,1188179964),r(773529912,1546045734),r(1294757372,1522805485),r(1396182291,2643833823),r(1695183700,2343527390),r(1986661051,1014477480),r(2177026350,1206759142),r(2456956037,344077627),r(2730485921,1290863460),r(2820302411,3158454273),r(3259730800,3505952657),r(3345764771,106217008),r(3516065817,3606008344),r(3600352804,1432725776),r(4094571909,1467031594),r(275423344,851169720),r(430227734,3100823752),r(506948616,1363258195),r(659060556,3750685593),r(883997877,3785050280),r(958139571,3318307427),r(1322822218,3812723403),r(1537002063,2003034995),r(1747873779,3602036899),r(1955562222,1575990012),r(2024104815,1125592928),r(2227730452,2716904306),r(2361852424,442776044),r(2428436474,593698344),r(2756734187,3733110249),r(3204031479,2999351573),r(3329325298,3815920427),r(3391569614,3928383900),r(3515267271,566280711),r(3940187606,3454069534),r(4118630271,4000239992),r(116418474,1914138554),r(174292421,2731055270),r(289380356,3203993006),r(460393269,320620315),r(685471733,587496836),r(852142971,1086792851),r(1017036298,365543100),r(1126000580,2618297676),r(1288033470,3409855158),r(1501505948,4234509866),r(1607167915,987167468),r(1816402316,1246189591)],t=[];(function(){for(var n=0;n<80;n++)t[n]=r()})();var i=u.SHA512=x.extend({_doReset:function(){this._hash=new c.init([new b.init(1779033703,4089235720),new b.init(3144134277,2227873595),new b.init(1013904242,4271175723),new b.init(2773480762,1595750129),new b.init(1359893119,2917565137),new b.init(2600822924,725511199),new b.init(528734635,4215389547),new b.init(1541459225,327033209)])},_doProcessBlock:function(n,s){for(var a=this._hash.words,d=a[0],f=a[1],w=a[2],p=a[3],v=a[4],m=a[5],C=a[6],D=a[7],I=d.high,E=d.low,F=f.high,L=f.low,T=w.high,k=w.low,A=p.high,R=p.low,N=v.high,$=v.low,V=m.high,z=m.low,B=C.high,H=C.low,P=D.high,U=D.low,G=I,j=E,K=F,Q=L,X=T,te=k,se=A,pe=R,me=N,ve=$,we=V,Be=z,Fe=B,oe=H,le=P,ge=U,fe=0;fe<80;fe++){var ue,_e,ke=t[fe];if(fe<16)_e=ke.high=n[s+fe*2]|0,ue=ke.low=n[s+fe*2+1]|0;else{var Se=t[fe-15],Ze=Se.high,Qe=Se.low,$e=(Ze>>>1|Qe<<31)^(Ze>>>8|Qe<<24)^Ze>>>7,Yt=(Qe>>>1|Ze<<31)^(Qe>>>8|Ze<<24)^(Qe>>>7|Ze<<25),Ve=t[fe-2],et=Ve.high,Pt=Ve.low,In=(et>>>19|Pt<<13)^(et<<3|Pt>>>29)^et>>>6,gn=(Pt>>>19|et<<13)^(Pt<<3|et>>>29)^(Pt>>>6|et<<26),mn=t[fe-7],Fn=mn.high,Rn=mn.low,Qn=t[fe-16],Gi=Qn.high,Xn=Qn.low;ue=Yt+Rn,_e=$e+Fn+(ue>>>0<Yt>>>0?1:0),ue=ue+gn,_e=_e+In+(ue>>>0<gn>>>0?1:0),ue=ue+Xn,_e=_e+Gi+(ue>>>0<Xn>>>0?1:0),ke.high=_e,ke.low=ue}var Jn=me&we^~me&Fe,On=ve&Be^~ve&oe,qi=G&K^G&X^K&X,Ki=j&Q^j&te^Q&te,Yi=(G>>>28|j<<4)^(G<<30|j>>>2)^(G<<25|j>>>7),ei=(j>>>28|G<<4)^(j<<30|G>>>2)^(j<<25|G>>>7),ti=(me>>>14|ve<<18)^(me>>>18|ve<<14)^(me<<23|ve>>>9),Zi=(ve>>>14|me<<18)^(ve>>>18|me<<14)^(ve<<23|me>>>9),ni=o[fe],Qi=ni.high,vn=ni.low,lt=ge+Zi,_t=le+ti+(lt>>>0<ge>>>0?1:0),lt=lt+On,_t=_t+Jn+(lt>>>0<On>>>0?1:0),lt=lt+vn,_t=_t+Qi+(lt>>>0<vn>>>0?1:0),lt=lt+ue,_t=_t+_e+(lt>>>0<ue>>>0?1:0),ii=ei+Ki,Xi=Yi+qi+(ii>>>0<ei>>>0?1:0);le=Fe,ge=oe,Fe=we,oe=Be,we=me,Be=ve,ve=pe+lt|0,me=se+_t+(ve>>>0<pe>>>0?1:0)|0,se=X,pe=te,X=K,te=Q,K=G,Q=j,j=lt+ii|0,G=_t+Xi+(j>>>0<lt>>>0?1:0)|0}E=d.low=E+j,d.high=I+G+(E>>>0<j>>>0?1:0),L=f.low=L+Q,f.high=F+K+(L>>>0<Q>>>0?1:0),k=w.low=k+te,w.high=T+X+(k>>>0<te>>>0?1:0),R=p.low=R+pe,p.high=A+se+(R>>>0<pe>>>0?1:0),$=v.low=$+ve,v.high=N+me+($>>>0<ve>>>0?1:0),z=m.low=z+Be,m.high=V+we+(z>>>0<Be>>>0?1:0),H=C.low=H+oe,C.high=B+Fe+(H>>>0<oe>>>0?1:0),U=D.low=U+ge,D.high=P+le+(U>>>0<ge>>>0?1:0)},_doFinalize:function(){var n=this._data,s=n.words,a=this._nDataBytes*8,d=n.sigBytes*8;s[d>>>5]|=128<<24-d%32,s[(d+128>>>10<<5)+30]=Math.floor(a/4294967296),s[(d+128>>>10<<5)+31]=a,n.sigBytes=s.length*4,this._process();var f=this._hash.toX32();return f},clone:function(){var n=x.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:1024/32});g.SHA512=x._createHelper(i),g.HmacSHA512=x._createHmacHelper(i)}(),e.SHA512})})(sha512);var sha384={exports:{}};(function(h,_){(function(e,g,M){h.exports=g(core.exports,x64Core.exports,sha512.exports)})(commonjsGlobal,function(e){return function(){var g=e,M=g.x64,x=M.Word,S=M.WordArray,b=g.algo,c=b.SHA512,u=b.SHA384=c.extend({_doReset:function(){this._hash=new S.init([new x.init(3418070365,3238371032),new x.init(1654270250,914150663),new x.init(2438529370,812702999),new x.init(355462360,4144912697),new x.init(1731405415,4290775857),new x.init(2394180231,1750603025),new x.init(3675008525,1694076839),new x.init(1203062813,3204075428)])},_doFinalize:function(){var r=c._doFinalize.call(this);return r.sigBytes-=16,r}});g.SHA384=c._createHelper(u),g.HmacSHA384=c._createHmacHelper(u)}(),e.SHA384})})(sha384);var sha3={exports:{}};(function(h,_){(function(e,g,M){h.exports=g(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(g){var M=e,x=M.lib,S=x.WordArray,b=x.Hasher,c=M.x64,u=c.Word,r=M.algo,o=[],t=[],i=[];(function(){for(var a=1,d=0,f=0;f<24;f++){o[a+5*d]=(f+1)*(f+2)/2%64;var w=d%5,p=(2*a+3*d)%5;a=w,d=p}for(var a=0;a<5;a++)for(var d=0;d<5;d++)t[a+5*d]=d+(2*a+3*d)%5*5;for(var v=1,m=0;m<24;m++){for(var C=0,D=0,I=0;I<7;I++){if(v&1){var E=(1<<I)-1;E<32?D^=1<<E:C^=1<<E-32}v&128?v=v<<1^113:v<<=1}i[m]=u.create(C,D)}})();var n=[];(function(){for(var a=0;a<25;a++)n[a]=u.create()})();var s=r.SHA3=b.extend({cfg:b.cfg.extend({outputLength:512}),_doReset:function(){for(var a=this._state=[],d=0;d<25;d++)a[d]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(a,d){for(var f=this._state,w=this.blockSize/2,p=0;p<w;p++){var v=a[d+2*p],m=a[d+2*p+1];v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360;var C=f[p];C.high^=m,C.low^=v}for(var D=0;D<24;D++){for(var I=0;I<5;I++){for(var E=0,F=0,L=0;L<5;L++){var C=f[I+5*L];E^=C.high,F^=C.low}var T=n[I];T.high=E,T.low=F}for(var I=0;I<5;I++)for(var k=n[(I+4)%5],A=n[(I+1)%5],R=A.high,N=A.low,E=k.high^(R<<1|N>>>31),F=k.low^(N<<1|R>>>31),L=0;L<5;L++){var C=f[I+5*L];C.high^=E,C.low^=F}for(var $=1;$<25;$++){var E,F,C=f[$],V=C.high,z=C.low,B=o[$];B<32?(E=V<<B|z>>>32-B,F=z<<B|V>>>32-B):(E=z<<B-32|V>>>64-B,F=V<<B-32|z>>>64-B);var H=n[t[$]];H.high=E,H.low=F}var P=n[0],U=f[0];P.high=U.high,P.low=U.low;for(var I=0;I<5;I++)for(var L=0;L<5;L++){var $=I+5*L,C=f[$],G=n[$],j=n[(I+1)%5+5*L],K=n[(I+2)%5+5*L];C.high=G.high^~j.high&K.high,C.low=G.low^~j.low&K.low}var C=f[0],Q=i[D];C.high^=Q.high,C.low^=Q.low}},_doFinalize:function(){var a=this._data,d=a.words;this._nDataBytes*8;var f=a.sigBytes*8,w=this.blockSize*32;d[f>>>5]|=1<<24-f%32,d[(g.ceil((f+1)/w)*w>>>5)-1]|=128,a.sigBytes=d.length*4,this._process();for(var p=this._state,v=this.cfg.outputLength/8,m=v/8,C=[],D=0;D<m;D++){var I=p[D],E=I.high,F=I.low;E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,C.push(F),C.push(E)}return new S.init(C,v)},clone:function(){for(var a=b.clone.call(this),d=a._state=this._state.slice(0),f=0;f<25;f++)d[f]=d[f].clone();return a}});M.SHA3=b._createHelper(s),M.HmacSHA3=b._createHmacHelper(s)}(Math),e.SHA3})})(sha3);var ripemd160={exports:{}};(function(h,_){(function(e,g){h.exports=g(core.exports)})(commonjsGlobal,function(e){/** @preserve
|
|
76
76
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
77
77
|
|
|
78
78
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
@@ -1350,4 +1350,4 @@ e.setDisabled&&e.setDisabled(!1)}})},resetForm(){Object.keys(this.subFormRefList
|
|
|
1350
1350
|
animation: none;
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
|
-
`,"autocompletion.css",!1),g.AcePopup=f,g.$singleLineEditor=d,g.getAriaId=i}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(e,g,M){var x=function(){function S(b){this.editor=b,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return S.prototype.setScreenReaderContent=function(b){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var u=this.popup.getRow(),r=this.popup.renderer.$textLayer,o=r.element.childNodes[u-r.config.firstRow];if(o){for(var t="doc-tooltip ",i=0;i<this._lines.length;i++)t+="ace-inline-screenreader-line-".concat(i," ");o.setAttribute("aria-describedby",t)}}.bind(this)));this.screenReaderDiv.firstChild;)this.screenReaderDiv.removeChild(this.screenReaderDiv.firstChild);this._lines=b.split(/\r\n|\r|\n/);var c=this.createCodeBlock();this.screenReaderDiv.appendChild(c)},S.prototype.destroy=function(){this.screenReaderDiv.remove()},S.prototype.createCodeBlock=function(){var b=document.createElement("pre");b.setAttribute("id","ace-inline-screenreader");for(var c=0;c<this._lines.length;c++){var u=document.createElement("code");u.setAttribute("id","ace-inline-screenreader-line-".concat(c));var r=document.createTextNode(this._lines[c]);u.appendChild(r),b.appendChild(u)}return b},S}();g.AceInlineScreenReader=x}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],function(e,g,M){var x=e("../snippets").snippetManager,S=e("./inline_screenreader").AceInlineScreenReader,b=function(){function c(){this.editor=null}return c.prototype.show=function(u,r,o){if(o=o||"",u&&this.editor&&this.editor!==u&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!u||!r)return!1;this.inlineScreenReader||(this.inlineScreenReader=new S(u));var t=r.snippet?x.getDisplayTextForSnippet(u,r.snippet):r.value;return r.hideInlinePreview||!t||!t.startsWith(o)?!1:(this.editor=u,this.inlineScreenReader.setScreenReaderContent(t),t=t.slice(o.length),t===""?u.removeGhostText():u.setGhostText(t),!0)},c.prototype.isOpen=function(){return this.editor?!!this.editor.renderer.$ghostText:!1},c.prototype.hide=function(){return this.editor?(this.editor.removeGhostText(),!0):!1},c.prototype.destroy=function(){this.hide(),this.editor=null,this.inlineScreenReader&&(this.inlineScreenReader.destroy(),this.inlineScreenReader=null)},c}();g.AceInline=b}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,g,M){g.parForEach=function(S,b,c){var u=0,r=S.length;r===0&&c();for(var o=0;o<r;o++)b(S[o],function(t,i){u++,u===r&&c(t,i)})};var x=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;g.retrievePrecedingIdentifier=function(S,b,c){c=c||x;for(var u=[],r=b-1;r>=0&&c.test(S[r]);r--)u.push(S[r]);return u.reverse().join("")},g.retrieveFollowingIdentifier=function(S,b,c){c=c||x;for(var u=[],r=b;r<S.length&&c.test(S[r]);r++)u.push(S[r]);return u},g.getCompletionPrefix=function(S){var b=S.getCursorPosition(),c=S.session.getLine(b.row),u;return S.completers.forEach(function(r){r.identifierRegexps&&r.identifierRegexps.forEach(function(o){!u&&o&&(u=this.retrievePrecedingIdentifier(c,b.column,o))}.bind(this))}.bind(this)),u||this.retrievePrecedingIdentifier(c,b.column)},g.triggerAutocomplete=function(S,b){var b=b==null?S.session.getPrecedingCharacter():b;return S.completers.some(function(c){if(c.triggerCharacters&&Array.isArray(c.triggerCharacters))return c.triggerCharacters.includes(b)})}}),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/inline","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/lang","ace/lib/dom","ace/snippets","ace/config","ace/lib/event","ace/lib/scroll"],function(e,g,M){var x=e("./keyboard/hash_handler").HashHandler,S=e("./autocomplete/popup").AcePopup,b=e("./autocomplete/inline").AceInline,c=e("./autocomplete/popup").getAriaId,u=e("./autocomplete/util"),r=e("./lib/lang"),o=e("./lib/dom"),t=e("./snippets").snippetManager,i=e("./config"),n=e("./lib/event"),s=e("./lib/scroll").preventParentScroll,a=function(p,v){v.completer&&v.completer.destroy()},d=function(){function p(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new x,this.keyboardHandler.bindKeys(this.commands),this.parentNode=null,this.setSelectOnHover=!1,this.hasSeen=new Set,this.showLoadingState=!1,this.stickySelectionDelay=500,this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.onLayoutChange=this.onLayoutChange.bind(this),this.changeTimer=r.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=r.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=r.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=r.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=r.delayedCall(function(){var v=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!v||this.editor.completers.length===0||(this.completions=new w(p.completionsForLoading),this.openPopup(this.editor,v.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(p,"completionsForLoading",{get:function(){return[{caption:i.nls("autocomplete.loading","Loading..."),value:""}]},enumerable:!1,configurable:!0}),p.prototype.$init=function(){return this.popup=new S(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(v){this.insertMatch(),v.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.$onPopupShow.bind(this)),this.popup.on("hide",this.$onHidePopup.bind(this)),this.popup.on("select",this.$onPopupChange.bind(this)),n.addListener(this.popup.container,"mouseout",this.mouseOutListener.bind(this)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup.renderer.on("afterRender",this.$onPopupRender.bind(this)),this.popup},p.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new b,this.inlineRenderer},p.prototype.getPopup=function(){return this.popup||this.$init()},p.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},p.prototype.$seen=function(v){!this.hasSeen.has(v)&&v&&v.completer&&v.completer.onSeen&&typeof v.completer.onSeen=="function"&&(v.completer.onSeen(this.editor,v),this.hasSeen.add(v))},p.prototype.$onPopupChange=function(v){if(this.inlineRenderer&&this.inlineEnabled){var m=v?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(m),this.popup.isMouseOver&&this.setSelectOnHover){this.tooltipTimer.call(null,null);return}this.popupTimer.schedule(),this.tooltipTimer.schedule()}else this.popupTimer.call(null,null),this.tooltipTimer.call(null,null)},p.prototype.$updateGhostText=function(v){var m=this.base.row,C=this.base.column,D=this.editor.getCursorPosition().column,I=this.editor.session.getLine(m).slice(C,D);this.inlineRenderer.show(this.editor,v,I)?this.$seen(v):this.inlineRenderer.hide()},p.prototype.$onPopupRender=function(){var v=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var m=this.popup.getFirstVisibleRow();m<=this.popup.getLastVisibleRow();m++){var C=this.popup.getData(m);C&&(!v||C.hideInlinePreview)&&this.$seen(C)}},p.prototype.$onPopupShow=function(v){this.$onPopupChange(v),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},p.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var v=this.editor.container.parentNode,m=[];v;)m.push(v),v.addEventListener("scroll",this.onLayoutChange,{passive:!0}),v=v.parentNode;this.$elements=m}},p.prototype.unObserveLayoutChanges=function(){var v=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(m){m.removeEventListener("scroll",v.onLayoutChange,{passive:!0})}),this.$elements=null},p.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},p.prototype.$updatePopupPosition=function(){var v=this.editor,m=v.renderer,C=m.layerConfig.lineHeight,D=m.$cursorLayer.getPixelPosition(this.base,!0);D.left-=this.popup.getTextLeftOffset();var I=v.container.getBoundingClientRect();D.top+=I.top-m.layerConfig.offset,D.left+=I.left-v.renderer.scrollLeft,D.left+=m.gutterWidth;var E={top:D.top,left:D.left};m.$ghostText&&m.$ghostTextWidget&&this.base.row===m.$ghostText.position.row&&(E.top+=m.$ghostTextWidget.el.offsetHeight);var F=v.container.getBoundingClientRect().bottom-C,L=F<E.top?{top:F,left:E.left}:E;this.popup.tryShow(L,C,"bottom")||this.popup.tryShow(D,C,"top")||this.popup.show(D,C)},p.prototype.openPopup=function(v,m,C){this.$firstOpenTimer.cancel(),this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setSelectOnHover(this.setSelectOnHover);var D=this.popup.getRow(),I=this.popup.data[D];this.popup.setData(this.completions.filtered,this.completions.filterText),this.editor.textInput.setAriaOptions&&this.editor.textInput.setAriaOptions({activeDescendant:c(this.popup.getRow()),inline:this.inlineEnabled}),v.keyBinding.addKeyboardHandler(this.keyboardHandler);var E;this.stickySelection&&(E=this.popup.data.indexOf(I)),(!E||E===-1)&&(E=0),this.popup.setRow(this.autoSelect?E:-1),E===D&&I!==this.completions.filtered[E]&&this.$onPopupChange();var F=this.inlineRenderer&&this.inlineEnabled;if(E===D&&F){var L=this.popup.getData(this.popup.getRow());this.$updateGhostText(L)}C||(this.popup.setTheme(v.getTheme()),this.popup.setFontSize(v.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},p.prototype.detach=function(){this.editor&&(this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener)),this.$firstOpenTimer.cancel(),this.changeTimer.cancel(),this.hideDocTooltip(),this.completionProvider&&this.completionProvider.detach(),this.popup&&this.popup.isOpen&&this.popup.hide(),this.popup&&this.popup.renderer&&this.popup.renderer.off("afterRender",this.$onPopupRender),this.base&&this.base.detach(),this.activated=!1,this.completionProvider=this.completions=this.base=null,this.unObserveLayoutChanges()},p.prototype.changeListener=function(v){var m=this.editor.selection.lead;(m.row!=this.base.row||m.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},p.prototype.blurListener=function(v){var m=document.activeElement,C=this.editor.textInput.getElement(),D=v.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(v.relatedTarget),I=this.popup&&this.popup.container;m!=C&&m.parentNode!=I&&!D&&m!=this.tooltipNode&&v.relatedTarget!=C&&this.detach()},p.prototype.mousedownListener=function(v){this.detach()},p.prototype.mousewheelListener=function(v){this.popup&&!this.popup.isMouseOver&&this.detach()},p.prototype.mouseOutListener=function(v){this.popup.isOpen&&this.$updatePopupPosition()},p.prototype.goTo=function(v){this.popup.goTo(v)},p.prototype.insertMatch=function(v,m){if(v||(v=this.popup.getData(this.popup.getRow())),!v)return!1;if(v.value==="")return this.detach();var C=this.completions,D=this.getCompletionProvider().insertMatch(this.editor,v,C.filterText,m);return this.completions==C&&this.detach(),D},p.prototype.showPopup=function(v,m){this.editor&&this.detach(),this.activated=!0,this.editor=v,v.completer!=this&&(v.completer&&v.completer.detach(),v.completer=this),v.on("changeSelection",this.changeListener),v.on("blur",this.blurListener),v.on("mousedown",this.mousedownListener),v.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,m)},p.prototype.getCompletionProvider=function(v){return this.completionProvider||(this.completionProvider=new f(v)),this.completionProvider},p.prototype.gatherCompletions=function(v,m){return this.getCompletionProvider().gatherCompletions(v,m)},p.prototype.updateCompletions=function(v,m){if(v&&this.base&&this.completions){var D=this.editor.getCursorPosition(),I=this.editor.session.getTextRange({start:this.base,end:D});if(I==this.completions.filterText)return;if(this.completions.setFilter(I),!this.completions.filtered.length)return this.detach();if(this.completions.filtered.length==1&&this.completions.filtered[0].value==I&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,I,v);return}if(m&&m.matches){var D=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(D.row,D.column),this.base.$insertRight=!0,this.completions=new w(m.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",v)}var C=this.editor.getSession(),D=this.editor.getCursorPosition(),I=u.getCompletionPrefix(this.editor);this.base=C.doc.createAnchor(D.row,D.column-I.length),this.base.$insertRight=!0;var E={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:I,pos:D}).provideCompletions(this.editor,E,function(F,L,T){var k=L.filtered,A=u.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),T){if(!k.length){var R=!this.autoShown&&this.emptyMessage;if(typeof R=="function"&&(R=this.emptyMessage(A)),R){var N=[{caption:R,value:""}];this.completions=new w(N),this.openPopup(this.editor,A,v),this.popup.renderer.setStyle("ace_loading",!1),this.popup.renderer.setStyle("ace_empty-message",!0);return}return this.detach()}if(k.length==1&&k[0].value==A&&!k[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&k.length==1)return this.insertMatch(k[0])}this.completions=!T&&this.showLoadingState?new w(p.completionsForLoading.concat(k),L.filterText):L,this.openPopup(this.editor,A,v),this.popup.renderer.setStyle("ace_empty-message",!1),this.popup.renderer.setStyle("ace_loading",!T)}.bind(this)),this.showLoadingState&&!this.autoShown&&(!this.popup||!this.popup.isOpen)&&this.$firstOpenTimer.delay(this.stickySelectionDelay/2)},p.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},p.prototype.updateDocTooltip=function(){var v=this.popup,m=this.completions&&this.completions.filtered,C=m&&(m[v.getHoveredRow()]||m[v.getRow()]),D=null;if(!C||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var I=this.editor.completers.length,E=0;E<I;E++){var F=this.editor.completers[E];if(F.getDocTooltip&&C.completerId===F.id){D=F.getDocTooltip(C);break}}if(!D&&typeof C!="string"&&(D=C),typeof D=="string"&&(D={docText:D}),!D||!D.docHTML&&!D.docText)return this.hideDocTooltip();this.showDocTooltip(D)},p.prototype.showDocTooltip=function(v){this.tooltipNode||(this.tooltipNode=o.createElement("div"),this.tooltipNode.style.margin="0",this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.style.overscrollBehavior="contain",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this),this.tooltipNode.id="doc-tooltip",this.tooltipNode.setAttribute("role","tooltip"),this.tooltipNode.addEventListener("wheel",s));var m=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(m.isDark?"ace_dark ":"")+(m.cssClass||"");var C=this.tooltipNode;v.docHTML?C.innerHTML=v.docHTML:v.docText&&(C.textContent=v.docText),C.parentNode||this.popup.container.appendChild(this.tooltipNode);var D=this.popup,I=D.container.getBoundingClientRect(),E=400,F=300,L=D.renderer.scrollBar.width||10,T=I.left,k=window.innerWidth-I.right-L,A=D.isTopdown?I.top:window.innerHeight-L-I.bottom,R=[Math.min(k/E,1),Math.min(T/E,1),Math.min(A/F*.9)],N=Math.max.apply(Math,R),$=C.style;$.display="block",N==R[0]?($.left=I.right+1+"px",$.right="",$.maxWidth=E*N+"px",$.top=I.top+"px",$.bottom="",$.maxHeight=Math.min(window.innerHeight-L-I.top,F)+"px"):N==R[1]?($.right=window.innerWidth-I.left+"px",$.left="",$.maxWidth=E*N+"px",$.top=I.top+"px",$.bottom="",$.maxHeight=Math.min(window.innerHeight-L-I.top,F)+"px"):N==R[2]&&($.left=window.innerWidth-I.left+"px",$.maxWidth=Math.min(E,window.innerWidth)+"px",D.isTopdown?($.top=I.bottom+"px",$.left=I.left+"px",$.right="",$.bottom="",$.maxHeight=Math.min(window.innerHeight-L-I.bottom,F)+"px"):($.top=D.container.offsetTop-C.offsetHeight+"px",$.left=I.left+"px",$.right="",$.bottom="",$.maxHeight=Math.min(D.container.offsetTop,F)+"px"))},p.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var v=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==v&&this.editor.focus(),this.tooltipNode=null,v.parentNode&&v.parentNode.removeChild(v)}},p.prototype.onTooltipClick=function(v){for(var m=v.target;m&&m!=this.tooltipNode;){if(m.nodeName=="A"&&m.href){m.rel="noreferrer",m.target="_blank";break}m=m.parentNode}},p.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var v=this.popup.container;v&&v.parentNode&&v.parentNode.removeChild(v)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",a),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},p.for=function(v){return v.completer instanceof p||(v.completer&&(v.completer.destroy(),v.completer=null),i.get("sharedPopups")?(p.$sharedInstance||(p.$sharedInstance=new p),v.completer=p.$sharedInstance):(v.completer=new p,v.once("destroy",a))),v.completer},p}();d.prototype.commands={Up:function(p){p.completer.goTo("up")},Down:function(p){p.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(p){p.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(p){p.completer.goTo("end")},Esc:function(p){p.completer.detach()},Return:function(p){return p.completer.insertMatch()},"Shift-Return":function(p){p.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(p){var v=p.completer.insertMatch();if(!!v||!!p.tabstopManager)return v;p.completer.goTo("down")},Backspace:function(p){p.execCommand("backspace");var v=u.getCompletionPrefix(p);!v&&p.completer&&p.completer.detach()},PageUp:function(p){p.completer.popup.gotoPageUp()},PageDown:function(p){p.completer.popup.gotoPageDown()}},d.startCommand={name:"startAutocomplete",exec:function(p,v){var m=d.for(p);m.autoInsert=!1,m.autoSelect=!0,m.autoShown=!1,m.showPopup(p,v),m.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var f=function(){function p(v){this.initialPosition=v,this.active=!0}return p.prototype.insertByIndex=function(v,m,C){return!this.completions||!this.completions.filtered?!1:this.insertMatch(v,this.completions.filtered[m],C)},p.prototype.insertMatch=function(v,m,C){if(!m)return!1;if(v.startOperation({command:{name:"insertMatch"}}),m.completer&&m.completer.insertMatch)m.completer.insertMatch(v,m);else{if(!this.completions)return!1;var D=this.completions.filterText.length,I=0;if(m.range&&m.range.start.row===m.range.end.row&&(D-=this.initialPosition.prefix.length,D+=this.initialPosition.pos.column-m.range.start.column,I+=m.range.end.column-this.initialPosition.pos.column),D||I){var E;v.selection.getAllRanges?E=v.selection.getAllRanges():E=[v.getSelectionRange()];for(var F=0,L;L=E[F];F++)L.start.column-=D,L.end.column+=I,v.session.remove(L)}m.snippet?t.insertSnippet(v,m.snippet):this.$insertString(v,m),m.completer&&m.completer.onInsert&&typeof m.completer.onInsert=="function"&&m.completer.onInsert(v,m),m.command&&m.command==="startAutocomplete"&&v.execCommand(m.command)}return v.endOperation(),!0},p.prototype.$insertString=function(v,m){var C=m.value||m;v.execCommand("insertstring",C)},p.prototype.gatherCompletions=function(v,m){var C=v.getSession(),D=v.getCursorPosition(),I=u.getCompletionPrefix(v),E=[];this.completers=v.completers;var F=v.completers.length;return v.completers.forEach(function(L,T){L.getCompletions(v,C,D,I,function(k,A){L.hideInlinePreview&&(A=A.map(function(R){return Object.assign(R,{hideInlinePreview:L.hideInlinePreview})})),!k&&A&&(E=E.concat(A)),m(null,{prefix:u.getCompletionPrefix(v),matches:E,finished:--F==0})})}),!0},p.prototype.provideCompletions=function(v,m,C){var D=function(L){var T=L.prefix,k=L.matches;this.completions=new w(k),m.exactMatch&&(this.completions.exactMatch=!0),m.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(T),(L.finished||this.completions.filtered.length)&&C(null,this.completions,L.finished)}.bind(this),I=!0,E=null;if(this.gatherCompletions(v,function(L,T){if(!!this.active){L&&(C(L,[],!0),this.detach());var k=T.prefix;if(k.indexOf(T.prefix)===0){if(I){E=T;return}D(T)}}}.bind(this)),I=!1,E){var F=E;E=null,D(F)}},p.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(v){typeof v.cancel=="function"&&v.cancel()})},p}(),w=function(){function p(v,m){this.all=v,this.filtered=v,this.filterText=m||"",this.exactMatch=!1,this.ignoreCaption=!1}return p.prototype.setFilter=function(v){if(v.length>this.filterText&&v.lastIndexOf(this.filterText,0)===0)var m=this.filtered;else var m=this.all;this.filterText=v,m=this.filterCompletions(m,this.filterText),m=m.sort(function(D,I){return I.exactMatch-D.exactMatch||I.$score-D.$score||(D.caption||D.value).localeCompare(I.caption||I.value)});var C=null;m=m.filter(function(D){var I=D.snippet||D.caption||D.value;return I===C?!1:(C=I,!0)}),this.filtered=m},p.prototype.filterCompletions=function(v,m){var C=[],D=m.toUpperCase(),I=m.toLowerCase();e:for(var E=0,F;F=v[E];E++){if(F.skipFilter){F.$score=F.score,C.push(F);continue}var L=!this.ignoreCaption&&F.caption||F.value||F.snippet;if(!!L){var T=-1,k=0,A=0,R,N;if(this.exactMatch){if(m!==L.substr(0,m.length))continue e}else{var $=L.toLowerCase().indexOf(I);if($>-1)A=$;else for(var V=0;V<m.length;V++){var z=L.indexOf(I[V],T+1),B=L.indexOf(D[V],T+1);if(R=z>=0&&(B<0||z<B)?z:B,R<0)continue e;N=R-T-1,N>0&&(T===-1&&(A+=10),A+=N,k|=1<<V),T=R}}F.matchMask=k,F.exactMatch=A?0:1,F.$score=(F.score||0)-A,C.push(F)}}return C},p}();g.Autocomplete=d,g.CompletionProvider=f,g.FilteredList=w}),ace.define("ace/marker_group",["require","exports","module"],function(e,g,M){var x=function(){function S(b,c){c&&(this.markerType=c.markerType),this.markers=[],this.session=b,b.addDynamicMarker(this)}return S.prototype.getMarkerAtPosition=function(b){return this.markers.find(function(c){return c.range.contains(b.row,b.column)})},S.prototype.markersComparator=function(b,c){return b.range.start.row-c.range.start.row},S.prototype.setMarkers=function(b){this.markers=b.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal("changeBackMarker")},S.prototype.update=function(b,c,u,r){if(!(!this.markers||!this.markers.length))for(var o=r.firstRow,t=r.lastRow,i,n=0,s=0,a=0;a<this.markers.length;a++){var d=this.markers[a];if(!(d.range.end.row<o)&&!(d.range.start.row>t)&&(d.range.start.row===s?n++:(s=d.range.start.row,n=0),!(n>200))){var f=d.range.clipRows(o,t);if(!(f.start.row===f.end.row&&f.start.column===f.end.column)){var w=f.toScreenRange(u);if(w.isEmpty()){i=u.getNextFoldLine(f.end.row,i),i&&i.end.row>f.end.row&&(o=i.end.row);continue}this.markerType==="fullLine"?c.drawFullLineMarker(b,w,d.className,r):w.isMultiLine()?this.markerType==="line"?c.drawMultiLineMarker(b,w,d.className,r):c.drawTextMarker(b,w,d.className,r):c.drawSingleLineMarker(b,w,d.className+" ace_br15",r)}}}},S}();x.prototype.MAX_MARKERS=1e4,g.MarkerGroup=x}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,g,M){function x(u,r){var o=u.getTextRange(b.fromPoints({row:0,column:0},r));return o.split(c).length-1}function S(u,r){var o=x(u,r),t=u.getValue().split(c),i=Object.create(null),n=t[o];return t.forEach(function(s,a){if(!(!s||s===n)){var d=Math.abs(o-a),f=t.length-d;i[s]?i[s]=Math.max(f,i[s]):i[s]=f}}),i}var b=e("../range").Range,c=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;g.getCompletions=function(u,r,o,t,i){var n=S(r,o),s=Object.keys(n);i(null,s.map(function(a){return{caption:a,value:a,score:n[a],meta:"local"}}))}}),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/marker_group","ace/autocomplete/text_completer","ace/editor","ace/config"],function(e,g,M){var x=e("../snippets").snippetManager,S=e("../autocomplete").Autocomplete,b=e("../config"),c=e("../lib/lang"),u=e("../autocomplete/util"),r=e("../marker_group").MarkerGroup,o=e("../autocomplete/text_completer"),t={getCompletions:function(I,E,F,L,T){if(E.$mode.completer)return E.$mode.completer.getCompletions(I,E,F,L,T);var k=I.session.getState(F.row),A=E.$mode.getCompletions(k,E,F,L);A=A.map(function(R){return R.completerId=t.id,R}),T(null,A)},id:"keywordCompleter"},i=function(I){var E={};return I.replace(/\${(\d+)(:(.*?))?}/g,function(F,L,T,k){return E[L]=k||""}).replace(/\$(\d+?)/g,function(F,L){return E[L]})},n={getCompletions:function(I,E,F,L,T){var k=[],A=E.getTokenAt(F.row,F.column);A&&A.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?k.push("html-tag"):k=x.getActiveScopes(I);var R=x.snippetMap,N=[];k.forEach(function($){for(var V=R[$]||[],z=V.length;z--;){var B=V[z],H=B.name||B.tabTrigger;!H||N.push({caption:H,snippet:B.content,meta:B.tabTrigger&&!B.name?B.tabTrigger+"\u21E5 ":"snippet",completerId:n.id})}},this),T(null,N)},getDocTooltip:function(I){I.snippet&&!I.docHTML&&(I.docHTML=["<b>",c.escapeHTML(I.caption),"</b>","<hr></hr>",c.escapeHTML(i(I.snippet))].join(""))},id:"snippetCompleter"},s=[n,o,t];g.setCompleters=function(I){s.length=0,I&&s.push.apply(s,I)},g.addCompleter=function(I){s.push(I)},g.textCompleter=o,g.keyWordCompleter=t,g.snippetCompleter=n;var a={name:"expandSnippet",exec:function(I){return x.expandWithTab(I)},bindKey:"Tab"},d=function(I,E){f(E.session.$mode)},f=function(I){typeof I=="string"&&(I=b.$modes[I]),!!I&&(x.files||(x.files={}),w(I.$id,I.snippetFileId),I.modes&&I.modes.forEach(f))},w=function(I,E){!E||!I||x.files[I]||(x.files[I]={},b.loadModule(E,function(F){!F||(x.files[I]=F,!F.snippets&&F.snippetText&&(F.snippets=x.parseSnippetFile(F.snippetText)),x.register(F.snippets||[],F.scope),F.includeScopes&&(x.snippetMap[F.scope].includeScopes=F.includeScopes,F.includeScopes.forEach(function(L){f("ace/mode/"+L)})))}))},p=function(I){var E=I.editor,F=E.completer&&E.completer.activated;if(I.command.name==="backspace")F&&!u.getCompletionPrefix(E)&&E.completer.detach();else if(I.command.name==="insertstring"&&!F){v=I;var L=I.editor.$liveAutocompletionDelay;L?m.delay(L):C(I)}},v,m=c.delayedCall(function(){C(v)},0),C=function(I){var E=I.editor,F=u.getCompletionPrefix(E),L=I.args,T=u.triggerAutocomplete(E,L);if(F&&F.length>=E.$liveAutocompletionThreshold||T){var k=S.for(E);k.autoShown=!0,k.showPopup(E)}},D=e("../editor").Editor;e("../config").defineOptions(D.prototype,"editor",{enableBasicAutocompletion:{set:function(I){I?(S.for(this),this.completers||(this.completers=Array.isArray(I)?I:s),this.commands.addCommand(S.startCommand)):this.commands.removeCommand(S.startCommand)},value:!1},enableLiveAutocompletion:{set:function(I){I?(this.completers||(this.completers=Array.isArray(I)?I:s),this.commands.on("afterExec",p)):this.commands.off("afterExec",p)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(I){I?(this.commands.addCommand(a),this.on("changeMode",d),d(null,this)):(this.commands.removeCommand(a),this.off("changeMode",d))},value:!1}}),g.MarkerGroup=r}),function(){ace.require(["ace/ext/language_tools"],function(e){h&&(h.exports=e)})}()})(extLanguage_tools);var index_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$2={name:"CodeEditor",props:{modelValue:{type:String},readonly:{type:Boolean,default:!1},mode:{type:String,default:"javascript"},userWorker:{type:Boolean,default:!0}},emits:["update:modelValue"],mounted(){ace$1.config.set("basePath",ACE_BASE_PATH),this.addAutoCompletion(ace$1),this.aceEditor=ace$1.edit(this.$refs.ace,{maxLines:20,minLines:5,fontSize:12,theme:this.themePath,mode:this.modePath,tabSize:2,readOnly:this.readonly,highlightActiveLine:!0,value:this.codeValue}),this.aceEditor.setOptions({enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}),this.mode==="json"?this.setJsonMode():this.mode==="css"&&this.setCssMode(),this.userWorker||this.aceEditor.getSession().setUseWorker(!1),this.aceEditor.getSession().on("change",h=>{this.$emit("update:modelValue",this.aceEditor.getValue())})},data(){return{aceEditor:null,themePath:"ace/theme/sqlserver",modePath:"ace/mode/javascript",codeValue:this.modelValue}},watch:{},methods:{addAutoCompletion(h){let _=[{meta:"VForm API",caption:"getWidgetRef",value:"getWidgetRef()",score:1},{meta:"VForm API",caption:"getFormRef",value:"getFormRef()",score:1}];h.require("ace/ext/language_tools").addCompleter({getCompletions:function(g,M,x,S,b){return S.length===0?b(null,[]):b(null,_)}})},setJsonMode(){this.aceEditor.getSession().setMode("ace/mode/json")},setCssMode(){this.aceEditor.getSession().setMode("ace/mode/css")},getEditorAnnotations(){return this.aceEditor.getSession().getAnnotations()},setValue(h){this.aceEditor.getSession().setValue(h)}}},_hoisted_1$1={class:"ace-container"},_hoisted_2$1={class:"ace-editor",ref:"ace"};function _sfc_render$2(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1,[vue.createElementVNode("div",_hoisted_2$1,null,512)])}var CodeEditor=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-335e1214"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$1={name:"sub-table-columns-editor",mixins:[i18n$1],components:{CodeEditor},props:{designer:Object,selectedWidget:Object,optionModel:Object},data(){return{showColumnEventDialog:!1,currentEventName:"",currentColumn:null,columnEventHandlerCode:"",eventHeader:""}},created(){this.optionModel.columns||(this.optionModel.columns=[])},methods:{addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const h={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",required:!1,defaultValue:""};this.optionModel.columns.push(h),this.designer.saveCurrentHistoryStep()},deleteColumn(h){this.optionModel.columns.splice(h,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleSelectOptionsChange(h,_){try{if(_&&_.trim()){const e=JSON.parse(_);Array.isArray(e)?h.options=e:h.options=[]}else h.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(h){if(!h.dictCode||!h.dictCode.trim())return;const _=h.dictCode.trim();h._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const g=window.getDictData(_);if(g&&Array.isArray(g)&&g.length>0){h.options=g.map(M=>({label:M.dictLabel||M.label||M.name||M.text||"",value:M.dictValue||M.value||M.code||M.value||M.itemValue||"",disabled:M.disabled||!1})),h.optionsText=JSON.stringify(h.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),h._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[_]){const g=window.dictCache[_];if(Array.isArray(g)&&g.length>0){h.options=g.map(M=>({label:M.dictLabel||M.label||M.name||M.text||"",value:M.dictValue||M.value||M.code||M.value||M.itemValue||"",disabled:M.disabled||!1})),h.optionsText=JSON.stringify(h.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),h._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:_}).then(({data:g})=>{h._loadingDict=!1;const M=(g==null?void 0:g.records)||(g==null?void 0:g.data)||g||[];if(Array.isArray(M)&&M.length>0){const x=M.filter(S=>S.dictType===_);x.length>0?(h.options=x.map(S=>({label:S.dictLabel||S.label||S.name||S.text||"",value:S.dictValue||S.value||S.code||S.value||S.itemValue||"",disabled:S.disabled||!1})),h.optionsText=JSON.stringify(h.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u52A0\u8F7D\u9009\u9879\u6210\u529F"),this.designer.saveCurrentHistoryStep()):this.$message.warning(`\u672A\u627E\u5230\u5B57\u5178\u7C7B\u578B\u4E3A "${_}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(g=>{h._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",g),this.$message.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u5B57\u5178CODE\u662F\u5426\u6B63\u786E")});return}this.$message.warning("\u672A\u627E\u5230\u5B57\u5178\u7F13\u5B58\uFF0C\u8BF7\u786E\u4FDD\u5B57\u5178CODE\u6B63\u786E\u6216\u5B57\u5178\u5DF2\u52A0\u8F7D")}catch(e){console.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25:",e),this.$message.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25: "+e.message)}finally{h._loadingDict=!1}},editColumnEventHandler(h,_,e){this.currentColumn=h,this.currentEventName=_,this.eventHeader=`${h.label||h.prop}.${_}(${e.join(", ")}) {`,this.columnEventHandlerCode=h[_]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const h=this.$refs.columnEventEditor.getEditorAnnotations();let _=!1;if(h&&h.length>0&&(h.forEach(e=>{e.type==="error"&&(_=!0)}),_)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}}this.currentColumn[this.currentEventName]=this.columnEventHandlerCode,this.designer.saveCurrentHistoryStep(),this.showColumnEventDialog=!1,this.$message.success("\u4E8B\u4EF6\u4FDD\u5B58\u6210\u529F")}}}},_hoisted_1={class:"column-header"},_hoisted_2={class:"column-title"},_hoisted_3={class:"column-form"},_hoisted_4={class:"dialog-footer"};function _sfc_render$1(h,_,e,g,M,x){const S=vue.resolveComponent("el-divider"),b=vue.resolveComponent("el-form-item"),c=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-input"),r=vue.resolveComponent("el-option"),o=vue.resolveComponent("el-select"),t=vue.resolveComponent("el-switch"),i=vue.resolveComponent("el-input-number"),n=vue.resolveComponent("el-alert"),s=vue.resolveComponent("code-editor"),a=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",null,[vue.createVNode(b,{"label-width":"0"},{default:vue.withCtx(()=>[vue.createVNode(S,{class:"custom-divider"},{default:vue.withCtx(()=>[..._[3]||(_[3]=[vue.createTextVNode("\u8868\u683C\u5217\u914D\u7F6E",-1)])]),_:1})]),_:1}),vue.createVNode(b,{"label-width":"0"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(d,f)=>(vue.openBlock(),vue.createElementBlock("div",{key:f,class:"column-item"},[vue.createElementVNode("div",_hoisted_1,[vue.createElementVNode("span",_hoisted_2,"\u5217 "+vue.toDisplayString(f+1),1),vue.createVNode(c,{circle:"",plain:"",size:"small",type:"danger",onClick:w=>x.deleteColumn(f),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3,[vue.createVNode(b,{label:"\u5217\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.label,"onUpdate:modelValue":w=>d.label=w,placeholder:"\u8BF7\u8F93\u5165\u5217\u540D",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5B57\u6BB5\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.prop,"onUpdate:modelValue":w=>d.prop=w,placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\uFF08\u82F1\u6587\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5217\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:d.type,"onUpdate:modelValue":w=>d.type=w,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:x.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(r,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(r,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(r,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(r,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(r,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(r,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(r,{label:"\u591A\u884C\u6587\u672C",value:"textarea"})]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),d.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:0,label:"\u5B57\u5178CODE"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.dictCode,"onUpdate:modelValue":w=>d.dictCode=w,placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178CODE\uFF0C\u5C06\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879",onBlur:w=>x.loadDictOptionsForColumn(d),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(c,{onClick:w=>x.loadDictOptionsForColumn(d),loading:d._loadingDict},{default:vue.withCtx(()=>[..._[4]||(_[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),_[5]||(_[5]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},' \u586B\u5199\u5B57\u5178CODE\u540E\uFF0C\u70B9\u51FB"\u52A0\u8F7D"\u6309\u94AE\u6216\u5931\u7126\u65F6\u81EA\u52A8\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879\u6570\u636E ',-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.width,"onUpdate:modelValue":w=>d.width=w,placeholder:"\u5982\uFF1A150\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u6700\u5C0F\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.minWidth,"onUpdate:modelValue":w=>d.minWidth=w,placeholder:"\u5982\uFF1A100\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5360\u4F4D\u7B26"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.placeholder,"onUpdate:modelValue":w=>d.placeholder=w,placeholder:"\u8BF7\u8F93\u5165\u5360\u4F4D\u7B26\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u662F\u5426\u5FC5\u586B"},{default:vue.withCtx(()=>[vue.createVNode(t,{modelValue:d.required,"onUpdate:modelValue":w=>d.required=w,onChange:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),d.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:1,label:"\u9009\u9879\u6570\u636E"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.optionsText,"onUpdate:modelValue":w=>d.optionsText=w,type:"textarea",rows:3,placeholder:'\u683C\u5F0F\uFF1A[{"label":"\u9009\u98791","value":"value1"},{"label":"\u9009\u98792","value":"value2"}]',onInput:w=>x.handleSelectOptionsChange(d,w)},null,8,["modelValue","onUpdate:modelValue","onInput"]),_[6]||(_[6]=vue.createElementVNode("div",{class:"hint-text"},"\u8BF7\u8F93\u5165 JSON \u683C\u5F0F\u7684\u9009\u9879\u6570\u7EC4",-1))]),_:2},1024)):vue.createCommentVNode("",!0),d.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:2,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(c,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>x.editColumnEventHandler(d,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(h.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),_[7]||(_[7]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u4E0B\u62C9\u9879\u6302\u8F7D\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001options\uFF08\u9009\u9879\u6570\u7EC4\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1AsetOptions([{label: '\u9009\u98791', value: '1'}, {label: '\u9009\u98792', value: '2'}]) ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),d.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:3,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:d.dependOn,"onUpdate:modelValue":w=>d.dependOn=w,placeholder:"\u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF08\u5F53\u4F9D\u8D56\u5217\u53D8\u5316\u65F6\uFF0C\u6B64\u5217\u7684\u4E0B\u62C9\u9009\u9879\u4F1A\u66F4\u65B0\uFF09",clearable:"",filterable:"",style:{width:"100%"},onChange:x.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(w,p)=>(vue.openBlock(),vue.createBlock(r,{key:p,label:w.label||w.prop,value:w.prop,disabled:w.prop===d.prop},null,8,["label","value","disabled"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),_[8]||(_[8]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF0C\u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1\u6B64\u5217\u7684\u8054\u52A8\u4E8B\u4EF6\u66F4\u65B0\u4E0B\u62C9\u9009\u9879 ",-1))]),_:2},1024)):vue.createCommentVNode("",!0),d.type==="select"&&d.dependOn?(vue.openBlock(),vue.createBlock(b,{key:4,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(c,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>x.editColumnEventHandler(d,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(h.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),_[9]||(_[9]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1A "),vue.createElementVNode("br"),vue.createTextVNode("- targetCol\uFF1A\u5F53\u524D\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceCol\uFF1A\u4F9D\u8D56\u7684\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceValue\uFF1A\u4F9D\u8D56\u5217\u7684\u503C "),vue.createElementVNode("br"),vue.createTextVNode("- formData\uFF1A\u5F53\u524D\u8868\u5355\u6570\u636E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- currentOptions\uFF1A\u5F53\u524D\u9009\u9879\u6570\u7EC4 "),vue.createElementVNode("br"),vue.createTextVNode("- setOptions\uFF1A\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5 (newOptions, index) "),vue.createElementVNode("br"),vue.createTextVNode("- setValue\uFF1A\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C (value) "),vue.createElementVNode("br"),vue.createTextVNode("- getValue\uFF1A\u83B7\u53D6\u76EE\u6807\u5217\u7684\u5F53\u524D\u503C () "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1A\u6839\u636E sourceValue \u52A8\u6001\u8BBE\u7F6E\u9009\u9879\u548C\u503C\uFF08\u53EA\u5F71\u54CD\u5F53\u524D\u7F16\u8F91\u884C\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("if (sourceValue === '1') { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879A', value: 'a'}, {label: '\u9009\u9879B', value: 'b'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('a'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} else { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879C', value: 'c'}, {label: '\u9009\u9879D', value: 'd'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('c'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} "),vue.createElementVNode("br"),vue.createElementVNode("strong",null,"\u6CE8\u610F\uFF1A"),vue.createTextVNode("setOptions \u53EA\u4F1A\u66F4\u65B0\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8FD9\u4E00\u884C\u7684\u4E0B\u62C9\u9009\u9879\uFF0C\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u884C\u3002 "),vue.createElementVNode("br"),vue.createTextVNode("setValue \u53EF\u4EE5\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C\uFF0C\u5E38\u7528\u4E8E\u81EA\u52A8\u9009\u62E9\u9ED8\u8BA4\u9009\u9879\u3002 ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"onChange\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(c,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>x.editColumnEventHandler(d,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(h.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),_[10]||(_[10]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u5F53\u524D\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001value\uFF08\u5F53\u524D\u503C\uFF09\u3001formData\uFF08\u8868\u5355\u6570\u636E\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF0C\u4EC5select\u7C7B\u578B\u53EF\u7528\uFF09 ",-1))]),_:2},1024),d.type==="textarea"?(vue.openBlock(),vue.createBlock(b,{key:5,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:d.rows,"onUpdate:modelValue":w=>d.rows=w,min:1,max:10,onChange:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(c,{link:"",type:"primary",onClick:x.addNewColumn},{default:vue.withCtx(()=>[..._[11]||(_[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(a,{modelValue:M.showColumnEventDialog,"onUpdate:modelValue":_[2]||(_[2]=d=>M.showColumnEventDialog=d),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${M.currentEventName}`,width:"800px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4,[vue.createVNode(c,{onClick:_[1]||(_[1]=d=>M.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[..._[12]||(_[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(c,{type:"primary",onClick:x.saveColumnEventHandler},{default:vue.withCtx(()=>[..._[13]||(_[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(n,{type:"info",closable:!1,title:M.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(s,{mode:"javascript",readonly:!1,modelValue:M.columnEventHandlerCode,"onUpdate:modelValue":_[0]||(_[0]=d=>M.columnEventHandlerCode=d),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1],["__scopeId","data-v-514d67ae"]]);const _sfc_main={name:"current-user-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var h;return((h=this.field.options)==null?void 0:h.type)||"username"}},methods:{hasExistingValue(){var _;const h=(_=this.fieldModel)!=null?_:this.oldFieldValue;return h!=null&&h!==""},async getCurrentUser(){const{data:h}=await service({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.currentUserType==="username"?this.fieldModel=h.username:this.currentUserType==="deptName"&&(this.fieldModel=h.deptName),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue)}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},"field.options.type":{handler(h,_){_!==void 0&&this.getCurrentUser()},immediate:!1}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.getCurrentUser()}};function _sfc_render(h,_,e,g,M,x){const S=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{modelValue:M.fieldModel,"onUpdate:modelValue":_[0]||(_[0]=c=>M.fieldModel=c),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserWidget=_export_sfc$1(_sfc_main,[["render",_sfc_render]]);const loadExtension=function(h){h.component(CardWidget.name,CardWidget),h.component(CardItem.name,CardItem),registerCPEditor(h,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(h,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(h,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(h,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),h.component(AlertWidget.name,AlertWidget),registerCPEditor(h,"alert-title","alert-title-editor",createInputTextEditor("title","extension.setting.alertTitle"));let e=[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}];h.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(h,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(h,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(h,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(h,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(h,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(h,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(h,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),h.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(h,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(h,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(h,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(h,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(h,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(h,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(h,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(h,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(h,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(h,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(h,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),h.component(radioOtherItem.name,radioOtherItem),h.component(selectOtherItem.name,selectOtherItem),h.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(h,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(h,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),h.component(CustomSubFormWidget.name,CustomSubFormWidget),h.component(CustomSubFormItem.name,CustomSubFormItem),h.component(CustomTableWidget.name,CustomTableWidget),h.component(CustomTableItem.name,CustomTableItem),h.component(CustomTableCellWidget.name,CustomTableCellWidget),h.component(CustomTableCellItem.name,CustomTableCellItem),h.component(SubTableWidget.name,SubTableWidget),h.component(SubTableItem.name,SubTableItem),h.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(h,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(h,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(h,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),h.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(h,"current-user-type","current-user-type-editor",createSelectEditor("type","extension.setting.currentUserType",{optionItems:[{label:"\u7528\u6237\u540D",value:"username"},{label:"\u90E8\u95E8\u540D\u79F0",value:"deptName"}]}))};VFormRender.install=function(h){loadExtension(h),h.use(ContainerItems),registerIcon(h),h.component(VFormRender.name,VFormRender),h.config.globalProperties.$service=service,h.provide("service",service)};const components=[VFormRender],install=h=>{loadExtension(h),h.use(ContainerItems),registerIcon(h),components.forEach(_=>{h.component(_.name,_)}),h.config.globalProperties.$service=service,h.provide("service",service),window.axios=axios,typeof window!="undefined"&&(window.service=service)};var installRender={install,VFormRender};return installRender});
|
|
1353
|
+
`,"autocompletion.css",!1),g.AcePopup=f,g.$singleLineEditor=d,g.getAriaId=i}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(e,g,M){var x=function(){function S(b){this.editor=b,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return S.prototype.setScreenReaderContent=function(b){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var u=this.popup.getRow(),r=this.popup.renderer.$textLayer,o=r.element.childNodes[u-r.config.firstRow];if(o){for(var t="doc-tooltip ",i=0;i<this._lines.length;i++)t+="ace-inline-screenreader-line-".concat(i," ");o.setAttribute("aria-describedby",t)}}.bind(this)));this.screenReaderDiv.firstChild;)this.screenReaderDiv.removeChild(this.screenReaderDiv.firstChild);this._lines=b.split(/\r\n|\r|\n/);var c=this.createCodeBlock();this.screenReaderDiv.appendChild(c)},S.prototype.destroy=function(){this.screenReaderDiv.remove()},S.prototype.createCodeBlock=function(){var b=document.createElement("pre");b.setAttribute("id","ace-inline-screenreader");for(var c=0;c<this._lines.length;c++){var u=document.createElement("code");u.setAttribute("id","ace-inline-screenreader-line-".concat(c));var r=document.createTextNode(this._lines[c]);u.appendChild(r),b.appendChild(u)}return b},S}();g.AceInlineScreenReader=x}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],function(e,g,M){var x=e("../snippets").snippetManager,S=e("./inline_screenreader").AceInlineScreenReader,b=function(){function c(){this.editor=null}return c.prototype.show=function(u,r,o){if(o=o||"",u&&this.editor&&this.editor!==u&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!u||!r)return!1;this.inlineScreenReader||(this.inlineScreenReader=new S(u));var t=r.snippet?x.getDisplayTextForSnippet(u,r.snippet):r.value;return r.hideInlinePreview||!t||!t.startsWith(o)?!1:(this.editor=u,this.inlineScreenReader.setScreenReaderContent(t),t=t.slice(o.length),t===""?u.removeGhostText():u.setGhostText(t),!0)},c.prototype.isOpen=function(){return this.editor?!!this.editor.renderer.$ghostText:!1},c.prototype.hide=function(){return this.editor?(this.editor.removeGhostText(),!0):!1},c.prototype.destroy=function(){this.hide(),this.editor=null,this.inlineScreenReader&&(this.inlineScreenReader.destroy(),this.inlineScreenReader=null)},c}();g.AceInline=b}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,g,M){g.parForEach=function(S,b,c){var u=0,r=S.length;r===0&&c();for(var o=0;o<r;o++)b(S[o],function(t,i){u++,u===r&&c(t,i)})};var x=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;g.retrievePrecedingIdentifier=function(S,b,c){c=c||x;for(var u=[],r=b-1;r>=0&&c.test(S[r]);r--)u.push(S[r]);return u.reverse().join("")},g.retrieveFollowingIdentifier=function(S,b,c){c=c||x;for(var u=[],r=b;r<S.length&&c.test(S[r]);r++)u.push(S[r]);return u},g.getCompletionPrefix=function(S){var b=S.getCursorPosition(),c=S.session.getLine(b.row),u;return S.completers.forEach(function(r){r.identifierRegexps&&r.identifierRegexps.forEach(function(o){!u&&o&&(u=this.retrievePrecedingIdentifier(c,b.column,o))}.bind(this))}.bind(this)),u||this.retrievePrecedingIdentifier(c,b.column)},g.triggerAutocomplete=function(S,b){var b=b==null?S.session.getPrecedingCharacter():b;return S.completers.some(function(c){if(c.triggerCharacters&&Array.isArray(c.triggerCharacters))return c.triggerCharacters.includes(b)})}}),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/inline","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/lang","ace/lib/dom","ace/snippets","ace/config","ace/lib/event","ace/lib/scroll"],function(e,g,M){var x=e("./keyboard/hash_handler").HashHandler,S=e("./autocomplete/popup").AcePopup,b=e("./autocomplete/inline").AceInline,c=e("./autocomplete/popup").getAriaId,u=e("./autocomplete/util"),r=e("./lib/lang"),o=e("./lib/dom"),t=e("./snippets").snippetManager,i=e("./config"),n=e("./lib/event"),s=e("./lib/scroll").preventParentScroll,a=function(p,v){v.completer&&v.completer.destroy()},d=function(){function p(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new x,this.keyboardHandler.bindKeys(this.commands),this.parentNode=null,this.setSelectOnHover=!1,this.hasSeen=new Set,this.showLoadingState=!1,this.stickySelectionDelay=500,this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.onLayoutChange=this.onLayoutChange.bind(this),this.changeTimer=r.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=r.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=r.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=r.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=r.delayedCall(function(){var v=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!v||this.editor.completers.length===0||(this.completions=new w(p.completionsForLoading),this.openPopup(this.editor,v.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(p,"completionsForLoading",{get:function(){return[{caption:i.nls("autocomplete.loading","Loading..."),value:""}]},enumerable:!1,configurable:!0}),p.prototype.$init=function(){return this.popup=new S(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(v){this.insertMatch(),v.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.$onPopupShow.bind(this)),this.popup.on("hide",this.$onHidePopup.bind(this)),this.popup.on("select",this.$onPopupChange.bind(this)),n.addListener(this.popup.container,"mouseout",this.mouseOutListener.bind(this)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup.renderer.on("afterRender",this.$onPopupRender.bind(this)),this.popup},p.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new b,this.inlineRenderer},p.prototype.getPopup=function(){return this.popup||this.$init()},p.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},p.prototype.$seen=function(v){!this.hasSeen.has(v)&&v&&v.completer&&v.completer.onSeen&&typeof v.completer.onSeen=="function"&&(v.completer.onSeen(this.editor,v),this.hasSeen.add(v))},p.prototype.$onPopupChange=function(v){if(this.inlineRenderer&&this.inlineEnabled){var m=v?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(m),this.popup.isMouseOver&&this.setSelectOnHover){this.tooltipTimer.call(null,null);return}this.popupTimer.schedule(),this.tooltipTimer.schedule()}else this.popupTimer.call(null,null),this.tooltipTimer.call(null,null)},p.prototype.$updateGhostText=function(v){var m=this.base.row,C=this.base.column,D=this.editor.getCursorPosition().column,I=this.editor.session.getLine(m).slice(C,D);this.inlineRenderer.show(this.editor,v,I)?this.$seen(v):this.inlineRenderer.hide()},p.prototype.$onPopupRender=function(){var v=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var m=this.popup.getFirstVisibleRow();m<=this.popup.getLastVisibleRow();m++){var C=this.popup.getData(m);C&&(!v||C.hideInlinePreview)&&this.$seen(C)}},p.prototype.$onPopupShow=function(v){this.$onPopupChange(v),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},p.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var v=this.editor.container.parentNode,m=[];v;)m.push(v),v.addEventListener("scroll",this.onLayoutChange,{passive:!0}),v=v.parentNode;this.$elements=m}},p.prototype.unObserveLayoutChanges=function(){var v=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(m){m.removeEventListener("scroll",v.onLayoutChange,{passive:!0})}),this.$elements=null},p.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},p.prototype.$updatePopupPosition=function(){var v=this.editor,m=v.renderer,C=m.layerConfig.lineHeight,D=m.$cursorLayer.getPixelPosition(this.base,!0);D.left-=this.popup.getTextLeftOffset();var I=v.container.getBoundingClientRect();D.top+=I.top-m.layerConfig.offset,D.left+=I.left-v.renderer.scrollLeft,D.left+=m.gutterWidth;var E={top:D.top,left:D.left};m.$ghostText&&m.$ghostTextWidget&&this.base.row===m.$ghostText.position.row&&(E.top+=m.$ghostTextWidget.el.offsetHeight);var F=v.container.getBoundingClientRect().bottom-C,L=F<E.top?{top:F,left:E.left}:E;this.popup.tryShow(L,C,"bottom")||this.popup.tryShow(D,C,"top")||this.popup.show(D,C)},p.prototype.openPopup=function(v,m,C){this.$firstOpenTimer.cancel(),this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setSelectOnHover(this.setSelectOnHover);var D=this.popup.getRow(),I=this.popup.data[D];this.popup.setData(this.completions.filtered,this.completions.filterText),this.editor.textInput.setAriaOptions&&this.editor.textInput.setAriaOptions({activeDescendant:c(this.popup.getRow()),inline:this.inlineEnabled}),v.keyBinding.addKeyboardHandler(this.keyboardHandler);var E;this.stickySelection&&(E=this.popup.data.indexOf(I)),(!E||E===-1)&&(E=0),this.popup.setRow(this.autoSelect?E:-1),E===D&&I!==this.completions.filtered[E]&&this.$onPopupChange();var F=this.inlineRenderer&&this.inlineEnabled;if(E===D&&F){var L=this.popup.getData(this.popup.getRow());this.$updateGhostText(L)}C||(this.popup.setTheme(v.getTheme()),this.popup.setFontSize(v.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},p.prototype.detach=function(){this.editor&&(this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener)),this.$firstOpenTimer.cancel(),this.changeTimer.cancel(),this.hideDocTooltip(),this.completionProvider&&this.completionProvider.detach(),this.popup&&this.popup.isOpen&&this.popup.hide(),this.popup&&this.popup.renderer&&this.popup.renderer.off("afterRender",this.$onPopupRender),this.base&&this.base.detach(),this.activated=!1,this.completionProvider=this.completions=this.base=null,this.unObserveLayoutChanges()},p.prototype.changeListener=function(v){var m=this.editor.selection.lead;(m.row!=this.base.row||m.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},p.prototype.blurListener=function(v){var m=document.activeElement,C=this.editor.textInput.getElement(),D=v.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(v.relatedTarget),I=this.popup&&this.popup.container;m!=C&&m.parentNode!=I&&!D&&m!=this.tooltipNode&&v.relatedTarget!=C&&this.detach()},p.prototype.mousedownListener=function(v){this.detach()},p.prototype.mousewheelListener=function(v){this.popup&&!this.popup.isMouseOver&&this.detach()},p.prototype.mouseOutListener=function(v){this.popup.isOpen&&this.$updatePopupPosition()},p.prototype.goTo=function(v){this.popup.goTo(v)},p.prototype.insertMatch=function(v,m){if(v||(v=this.popup.getData(this.popup.getRow())),!v)return!1;if(v.value==="")return this.detach();var C=this.completions,D=this.getCompletionProvider().insertMatch(this.editor,v,C.filterText,m);return this.completions==C&&this.detach(),D},p.prototype.showPopup=function(v,m){this.editor&&this.detach(),this.activated=!0,this.editor=v,v.completer!=this&&(v.completer&&v.completer.detach(),v.completer=this),v.on("changeSelection",this.changeListener),v.on("blur",this.blurListener),v.on("mousedown",this.mousedownListener),v.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,m)},p.prototype.getCompletionProvider=function(v){return this.completionProvider||(this.completionProvider=new f(v)),this.completionProvider},p.prototype.gatherCompletions=function(v,m){return this.getCompletionProvider().gatherCompletions(v,m)},p.prototype.updateCompletions=function(v,m){if(v&&this.base&&this.completions){var D=this.editor.getCursorPosition(),I=this.editor.session.getTextRange({start:this.base,end:D});if(I==this.completions.filterText)return;if(this.completions.setFilter(I),!this.completions.filtered.length)return this.detach();if(this.completions.filtered.length==1&&this.completions.filtered[0].value==I&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,I,v);return}if(m&&m.matches){var D=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(D.row,D.column),this.base.$insertRight=!0,this.completions=new w(m.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",v)}var C=this.editor.getSession(),D=this.editor.getCursorPosition(),I=u.getCompletionPrefix(this.editor);this.base=C.doc.createAnchor(D.row,D.column-I.length),this.base.$insertRight=!0;var E={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:I,pos:D}).provideCompletions(this.editor,E,function(F,L,T){var k=L.filtered,A=u.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),T){if(!k.length){var R=!this.autoShown&&this.emptyMessage;if(typeof R=="function"&&(R=this.emptyMessage(A)),R){var N=[{caption:R,value:""}];this.completions=new w(N),this.openPopup(this.editor,A,v),this.popup.renderer.setStyle("ace_loading",!1),this.popup.renderer.setStyle("ace_empty-message",!0);return}return this.detach()}if(k.length==1&&k[0].value==A&&!k[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&k.length==1)return this.insertMatch(k[0])}this.completions=!T&&this.showLoadingState?new w(p.completionsForLoading.concat(k),L.filterText):L,this.openPopup(this.editor,A,v),this.popup.renderer.setStyle("ace_empty-message",!1),this.popup.renderer.setStyle("ace_loading",!T)}.bind(this)),this.showLoadingState&&!this.autoShown&&(!this.popup||!this.popup.isOpen)&&this.$firstOpenTimer.delay(this.stickySelectionDelay/2)},p.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},p.prototype.updateDocTooltip=function(){var v=this.popup,m=this.completions&&this.completions.filtered,C=m&&(m[v.getHoveredRow()]||m[v.getRow()]),D=null;if(!C||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var I=this.editor.completers.length,E=0;E<I;E++){var F=this.editor.completers[E];if(F.getDocTooltip&&C.completerId===F.id){D=F.getDocTooltip(C);break}}if(!D&&typeof C!="string"&&(D=C),typeof D=="string"&&(D={docText:D}),!D||!D.docHTML&&!D.docText)return this.hideDocTooltip();this.showDocTooltip(D)},p.prototype.showDocTooltip=function(v){this.tooltipNode||(this.tooltipNode=o.createElement("div"),this.tooltipNode.style.margin="0",this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.style.overscrollBehavior="contain",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this),this.tooltipNode.id="doc-tooltip",this.tooltipNode.setAttribute("role","tooltip"),this.tooltipNode.addEventListener("wheel",s));var m=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(m.isDark?"ace_dark ":"")+(m.cssClass||"");var C=this.tooltipNode;v.docHTML?C.innerHTML=v.docHTML:v.docText&&(C.textContent=v.docText),C.parentNode||this.popup.container.appendChild(this.tooltipNode);var D=this.popup,I=D.container.getBoundingClientRect(),E=400,F=300,L=D.renderer.scrollBar.width||10,T=I.left,k=window.innerWidth-I.right-L,A=D.isTopdown?I.top:window.innerHeight-L-I.bottom,R=[Math.min(k/E,1),Math.min(T/E,1),Math.min(A/F*.9)],N=Math.max.apply(Math,R),$=C.style;$.display="block",N==R[0]?($.left=I.right+1+"px",$.right="",$.maxWidth=E*N+"px",$.top=I.top+"px",$.bottom="",$.maxHeight=Math.min(window.innerHeight-L-I.top,F)+"px"):N==R[1]?($.right=window.innerWidth-I.left+"px",$.left="",$.maxWidth=E*N+"px",$.top=I.top+"px",$.bottom="",$.maxHeight=Math.min(window.innerHeight-L-I.top,F)+"px"):N==R[2]&&($.left=window.innerWidth-I.left+"px",$.maxWidth=Math.min(E,window.innerWidth)+"px",D.isTopdown?($.top=I.bottom+"px",$.left=I.left+"px",$.right="",$.bottom="",$.maxHeight=Math.min(window.innerHeight-L-I.bottom,F)+"px"):($.top=D.container.offsetTop-C.offsetHeight+"px",$.left=I.left+"px",$.right="",$.bottom="",$.maxHeight=Math.min(D.container.offsetTop,F)+"px"))},p.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var v=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==v&&this.editor.focus(),this.tooltipNode=null,v.parentNode&&v.parentNode.removeChild(v)}},p.prototype.onTooltipClick=function(v){for(var m=v.target;m&&m!=this.tooltipNode;){if(m.nodeName=="A"&&m.href){m.rel="noreferrer",m.target="_blank";break}m=m.parentNode}},p.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var v=this.popup.container;v&&v.parentNode&&v.parentNode.removeChild(v)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",a),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},p.for=function(v){return v.completer instanceof p||(v.completer&&(v.completer.destroy(),v.completer=null),i.get("sharedPopups")?(p.$sharedInstance||(p.$sharedInstance=new p),v.completer=p.$sharedInstance):(v.completer=new p,v.once("destroy",a))),v.completer},p}();d.prototype.commands={Up:function(p){p.completer.goTo("up")},Down:function(p){p.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(p){p.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(p){p.completer.goTo("end")},Esc:function(p){p.completer.detach()},Return:function(p){return p.completer.insertMatch()},"Shift-Return":function(p){p.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(p){var v=p.completer.insertMatch();if(!!v||!!p.tabstopManager)return v;p.completer.goTo("down")},Backspace:function(p){p.execCommand("backspace");var v=u.getCompletionPrefix(p);!v&&p.completer&&p.completer.detach()},PageUp:function(p){p.completer.popup.gotoPageUp()},PageDown:function(p){p.completer.popup.gotoPageDown()}},d.startCommand={name:"startAutocomplete",exec:function(p,v){var m=d.for(p);m.autoInsert=!1,m.autoSelect=!0,m.autoShown=!1,m.showPopup(p,v),m.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var f=function(){function p(v){this.initialPosition=v,this.active=!0}return p.prototype.insertByIndex=function(v,m,C){return!this.completions||!this.completions.filtered?!1:this.insertMatch(v,this.completions.filtered[m],C)},p.prototype.insertMatch=function(v,m,C){if(!m)return!1;if(v.startOperation({command:{name:"insertMatch"}}),m.completer&&m.completer.insertMatch)m.completer.insertMatch(v,m);else{if(!this.completions)return!1;var D=this.completions.filterText.length,I=0;if(m.range&&m.range.start.row===m.range.end.row&&(D-=this.initialPosition.prefix.length,D+=this.initialPosition.pos.column-m.range.start.column,I+=m.range.end.column-this.initialPosition.pos.column),D||I){var E;v.selection.getAllRanges?E=v.selection.getAllRanges():E=[v.getSelectionRange()];for(var F=0,L;L=E[F];F++)L.start.column-=D,L.end.column+=I,v.session.remove(L)}m.snippet?t.insertSnippet(v,m.snippet):this.$insertString(v,m),m.completer&&m.completer.onInsert&&typeof m.completer.onInsert=="function"&&m.completer.onInsert(v,m),m.command&&m.command==="startAutocomplete"&&v.execCommand(m.command)}return v.endOperation(),!0},p.prototype.$insertString=function(v,m){var C=m.value||m;v.execCommand("insertstring",C)},p.prototype.gatherCompletions=function(v,m){var C=v.getSession(),D=v.getCursorPosition(),I=u.getCompletionPrefix(v),E=[];this.completers=v.completers;var F=v.completers.length;return v.completers.forEach(function(L,T){L.getCompletions(v,C,D,I,function(k,A){L.hideInlinePreview&&(A=A.map(function(R){return Object.assign(R,{hideInlinePreview:L.hideInlinePreview})})),!k&&A&&(E=E.concat(A)),m(null,{prefix:u.getCompletionPrefix(v),matches:E,finished:--F==0})})}),!0},p.prototype.provideCompletions=function(v,m,C){var D=function(L){var T=L.prefix,k=L.matches;this.completions=new w(k),m.exactMatch&&(this.completions.exactMatch=!0),m.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(T),(L.finished||this.completions.filtered.length)&&C(null,this.completions,L.finished)}.bind(this),I=!0,E=null;if(this.gatherCompletions(v,function(L,T){if(!!this.active){L&&(C(L,[],!0),this.detach());var k=T.prefix;if(k.indexOf(T.prefix)===0){if(I){E=T;return}D(T)}}}.bind(this)),I=!1,E){var F=E;E=null,D(F)}},p.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(v){typeof v.cancel=="function"&&v.cancel()})},p}(),w=function(){function p(v,m){this.all=v,this.filtered=v,this.filterText=m||"",this.exactMatch=!1,this.ignoreCaption=!1}return p.prototype.setFilter=function(v){if(v.length>this.filterText&&v.lastIndexOf(this.filterText,0)===0)var m=this.filtered;else var m=this.all;this.filterText=v,m=this.filterCompletions(m,this.filterText),m=m.sort(function(D,I){return I.exactMatch-D.exactMatch||I.$score-D.$score||(D.caption||D.value).localeCompare(I.caption||I.value)});var C=null;m=m.filter(function(D){var I=D.snippet||D.caption||D.value;return I===C?!1:(C=I,!0)}),this.filtered=m},p.prototype.filterCompletions=function(v,m){var C=[],D=m.toUpperCase(),I=m.toLowerCase();e:for(var E=0,F;F=v[E];E++){if(F.skipFilter){F.$score=F.score,C.push(F);continue}var L=!this.ignoreCaption&&F.caption||F.value||F.snippet;if(!!L){var T=-1,k=0,A=0,R,N;if(this.exactMatch){if(m!==L.substr(0,m.length))continue e}else{var $=L.toLowerCase().indexOf(I);if($>-1)A=$;else for(var V=0;V<m.length;V++){var z=L.indexOf(I[V],T+1),B=L.indexOf(D[V],T+1);if(R=z>=0&&(B<0||z<B)?z:B,R<0)continue e;N=R-T-1,N>0&&(T===-1&&(A+=10),A+=N,k|=1<<V),T=R}}F.matchMask=k,F.exactMatch=A?0:1,F.$score=(F.score||0)-A,C.push(F)}}return C},p}();g.Autocomplete=d,g.CompletionProvider=f,g.FilteredList=w}),ace.define("ace/marker_group",["require","exports","module"],function(e,g,M){var x=function(){function S(b,c){c&&(this.markerType=c.markerType),this.markers=[],this.session=b,b.addDynamicMarker(this)}return S.prototype.getMarkerAtPosition=function(b){return this.markers.find(function(c){return c.range.contains(b.row,b.column)})},S.prototype.markersComparator=function(b,c){return b.range.start.row-c.range.start.row},S.prototype.setMarkers=function(b){this.markers=b.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal("changeBackMarker")},S.prototype.update=function(b,c,u,r){if(!(!this.markers||!this.markers.length))for(var o=r.firstRow,t=r.lastRow,i,n=0,s=0,a=0;a<this.markers.length;a++){var d=this.markers[a];if(!(d.range.end.row<o)&&!(d.range.start.row>t)&&(d.range.start.row===s?n++:(s=d.range.start.row,n=0),!(n>200))){var f=d.range.clipRows(o,t);if(!(f.start.row===f.end.row&&f.start.column===f.end.column)){var w=f.toScreenRange(u);if(w.isEmpty()){i=u.getNextFoldLine(f.end.row,i),i&&i.end.row>f.end.row&&(o=i.end.row);continue}this.markerType==="fullLine"?c.drawFullLineMarker(b,w,d.className,r):w.isMultiLine()?this.markerType==="line"?c.drawMultiLineMarker(b,w,d.className,r):c.drawTextMarker(b,w,d.className,r):c.drawSingleLineMarker(b,w,d.className+" ace_br15",r)}}}},S}();x.prototype.MAX_MARKERS=1e4,g.MarkerGroup=x}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,g,M){function x(u,r){var o=u.getTextRange(b.fromPoints({row:0,column:0},r));return o.split(c).length-1}function S(u,r){var o=x(u,r),t=u.getValue().split(c),i=Object.create(null),n=t[o];return t.forEach(function(s,a){if(!(!s||s===n)){var d=Math.abs(o-a),f=t.length-d;i[s]?i[s]=Math.max(f,i[s]):i[s]=f}}),i}var b=e("../range").Range,c=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;g.getCompletions=function(u,r,o,t,i){var n=S(r,o),s=Object.keys(n);i(null,s.map(function(a){return{caption:a,value:a,score:n[a],meta:"local"}}))}}),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/marker_group","ace/autocomplete/text_completer","ace/editor","ace/config"],function(e,g,M){var x=e("../snippets").snippetManager,S=e("../autocomplete").Autocomplete,b=e("../config"),c=e("../lib/lang"),u=e("../autocomplete/util"),r=e("../marker_group").MarkerGroup,o=e("../autocomplete/text_completer"),t={getCompletions:function(I,E,F,L,T){if(E.$mode.completer)return E.$mode.completer.getCompletions(I,E,F,L,T);var k=I.session.getState(F.row),A=E.$mode.getCompletions(k,E,F,L);A=A.map(function(R){return R.completerId=t.id,R}),T(null,A)},id:"keywordCompleter"},i=function(I){var E={};return I.replace(/\${(\d+)(:(.*?))?}/g,function(F,L,T,k){return E[L]=k||""}).replace(/\$(\d+?)/g,function(F,L){return E[L]})},n={getCompletions:function(I,E,F,L,T){var k=[],A=E.getTokenAt(F.row,F.column);A&&A.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?k.push("html-tag"):k=x.getActiveScopes(I);var R=x.snippetMap,N=[];k.forEach(function($){for(var V=R[$]||[],z=V.length;z--;){var B=V[z],H=B.name||B.tabTrigger;!H||N.push({caption:H,snippet:B.content,meta:B.tabTrigger&&!B.name?B.tabTrigger+"\u21E5 ":"snippet",completerId:n.id})}},this),T(null,N)},getDocTooltip:function(I){I.snippet&&!I.docHTML&&(I.docHTML=["<b>",c.escapeHTML(I.caption),"</b>","<hr></hr>",c.escapeHTML(i(I.snippet))].join(""))},id:"snippetCompleter"},s=[n,o,t];g.setCompleters=function(I){s.length=0,I&&s.push.apply(s,I)},g.addCompleter=function(I){s.push(I)},g.textCompleter=o,g.keyWordCompleter=t,g.snippetCompleter=n;var a={name:"expandSnippet",exec:function(I){return x.expandWithTab(I)},bindKey:"Tab"},d=function(I,E){f(E.session.$mode)},f=function(I){typeof I=="string"&&(I=b.$modes[I]),!!I&&(x.files||(x.files={}),w(I.$id,I.snippetFileId),I.modes&&I.modes.forEach(f))},w=function(I,E){!E||!I||x.files[I]||(x.files[I]={},b.loadModule(E,function(F){!F||(x.files[I]=F,!F.snippets&&F.snippetText&&(F.snippets=x.parseSnippetFile(F.snippetText)),x.register(F.snippets||[],F.scope),F.includeScopes&&(x.snippetMap[F.scope].includeScopes=F.includeScopes,F.includeScopes.forEach(function(L){f("ace/mode/"+L)})))}))},p=function(I){var E=I.editor,F=E.completer&&E.completer.activated;if(I.command.name==="backspace")F&&!u.getCompletionPrefix(E)&&E.completer.detach();else if(I.command.name==="insertstring"&&!F){v=I;var L=I.editor.$liveAutocompletionDelay;L?m.delay(L):C(I)}},v,m=c.delayedCall(function(){C(v)},0),C=function(I){var E=I.editor,F=u.getCompletionPrefix(E),L=I.args,T=u.triggerAutocomplete(E,L);if(F&&F.length>=E.$liveAutocompletionThreshold||T){var k=S.for(E);k.autoShown=!0,k.showPopup(E)}},D=e("../editor").Editor;e("../config").defineOptions(D.prototype,"editor",{enableBasicAutocompletion:{set:function(I){I?(S.for(this),this.completers||(this.completers=Array.isArray(I)?I:s),this.commands.addCommand(S.startCommand)):this.commands.removeCommand(S.startCommand)},value:!1},enableLiveAutocompletion:{set:function(I){I?(this.completers||(this.completers=Array.isArray(I)?I:s),this.commands.on("afterExec",p)):this.commands.off("afterExec",p)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(I){I?(this.commands.addCommand(a),this.on("changeMode",d),d(null,this)):(this.commands.removeCommand(a),this.off("changeMode",d))},value:!1}}),g.MarkerGroup=r}),function(){ace.require(["ace/ext/language_tools"],function(e){h&&(h.exports=e)})}()})(extLanguage_tools);var index_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$2={name:"CodeEditor",props:{modelValue:{type:String},readonly:{type:Boolean,default:!1},mode:{type:String,default:"javascript"},userWorker:{type:Boolean,default:!0}},emits:["update:modelValue"],mounted(){ace$1.config.set("basePath",ACE_BASE_PATH),this.addAutoCompletion(ace$1),this.aceEditor=ace$1.edit(this.$refs.ace,{maxLines:20,minLines:5,fontSize:12,theme:this.themePath,mode:this.modePath,tabSize:2,readOnly:this.readonly,highlightActiveLine:!0,value:this.codeValue}),this.aceEditor.setOptions({enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}),this.mode==="json"?this.setJsonMode():this.mode==="css"&&this.setCssMode(),this.userWorker||this.aceEditor.getSession().setUseWorker(!1),this.aceEditor.getSession().on("change",h=>{this.$emit("update:modelValue",this.aceEditor.getValue())})},data(){return{aceEditor:null,themePath:"ace/theme/sqlserver",modePath:"ace/mode/javascript",codeValue:this.modelValue}},watch:{},methods:{addAutoCompletion(h){let _=[{meta:"VForm API",caption:"getWidgetRef",value:"getWidgetRef()",score:1},{meta:"VForm API",caption:"getFormRef",value:"getFormRef()",score:1}];h.require("ace/ext/language_tools").addCompleter({getCompletions:function(g,M,x,S,b){return S.length===0?b(null,[]):b(null,_)}})},setJsonMode(){this.aceEditor.getSession().setMode("ace/mode/json")},setCssMode(){this.aceEditor.getSession().setMode("ace/mode/css")},getEditorAnnotations(){return this.aceEditor.getSession().getAnnotations()},setValue(h){this.aceEditor.getSession().setValue(h)}}},_hoisted_1$1={class:"ace-container"},_hoisted_2$1={class:"ace-editor",ref:"ace"};function _sfc_render$2(h,_,e,g,M,x){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1,[vue.createElementVNode("div",_hoisted_2$1,null,512)])}var CodeEditor=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-335e1214"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$1={name:"sub-table-columns-editor",mixins:[i18n$1],components:{CodeEditor},props:{designer:Object,selectedWidget:Object,optionModel:Object},data(){return{showColumnEventDialog:!1,currentEventName:"",currentColumn:null,columnEventHandlerCode:"",eventHeader:""}},created(){this.optionModel.columns||(this.optionModel.columns=[])},methods:{addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const h={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",required:!1,defaultValue:""};this.optionModel.columns.push(h),this.designer.saveCurrentHistoryStep()},deleteColumn(h){this.optionModel.columns.splice(h,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleSelectOptionsChange(h,_){try{if(_&&_.trim()){const e=JSON.parse(_);Array.isArray(e)?h.options=e:h.options=[]}else h.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(h){if(!h.dictCode||!h.dictCode.trim())return;const _=h.dictCode.trim();h._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const g=window.getDictData(_);if(g&&Array.isArray(g)&&g.length>0){h.options=g.map(M=>({label:M.dictLabel||M.label||M.name||M.text||"",value:M.dictValue||M.value||M.code||M.value||M.itemValue||"",disabled:M.disabled||!1})),h.optionsText=JSON.stringify(h.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),h._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[_]){const g=window.dictCache[_];if(Array.isArray(g)&&g.length>0){h.options=g.map(M=>({label:M.dictLabel||M.label||M.name||M.text||"",value:M.dictValue||M.value||M.code||M.value||M.itemValue||"",disabled:M.disabled||!1})),h.optionsText=JSON.stringify(h.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),h._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:_}).then(({data:g})=>{h._loadingDict=!1;const M=(g==null?void 0:g.records)||(g==null?void 0:g.data)||g||[];if(Array.isArray(M)&&M.length>0){const x=M.filter(S=>S.dictType===_);x.length>0?(h.options=x.map(S=>({label:S.dictLabel||S.label||S.name||S.text||"",value:S.dictValue||S.value||S.code||S.value||S.itemValue||"",disabled:S.disabled||!1})),h.optionsText=JSON.stringify(h.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u52A0\u8F7D\u9009\u9879\u6210\u529F"),this.designer.saveCurrentHistoryStep()):this.$message.warning(`\u672A\u627E\u5230\u5B57\u5178\u7C7B\u578B\u4E3A "${_}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(g=>{h._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",g),this.$message.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u5B57\u5178CODE\u662F\u5426\u6B63\u786E")});return}this.$message.warning("\u672A\u627E\u5230\u5B57\u5178\u7F13\u5B58\uFF0C\u8BF7\u786E\u4FDD\u5B57\u5178CODE\u6B63\u786E\u6216\u5B57\u5178\u5DF2\u52A0\u8F7D")}catch(e){console.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25:",e),this.$message.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25: "+e.message)}finally{h._loadingDict=!1}},editColumnEventHandler(h,_,e){this.currentColumn=h,this.currentEventName=_,this.eventHeader=`${h.label||h.prop}.${_}(${e.join(", ")}) {`,this.columnEventHandlerCode=h[_]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const h=this.$refs.columnEventEditor.getEditorAnnotations();let _=!1;if(h&&h.length>0&&(h.forEach(e=>{e.type==="error"&&(_=!0)}),_)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}}this.currentColumn[this.currentEventName]=this.columnEventHandlerCode,this.designer.saveCurrentHistoryStep(),this.showColumnEventDialog=!1,this.$message.success("\u4E8B\u4EF6\u4FDD\u5B58\u6210\u529F")}}}},_hoisted_1={class:"column-header"},_hoisted_2={class:"column-title"},_hoisted_3={class:"column-form"},_hoisted_4={class:"dialog-footer"};function _sfc_render$1(h,_,e,g,M,x){const S=vue.resolveComponent("el-divider"),b=vue.resolveComponent("el-form-item"),c=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-input"),r=vue.resolveComponent("el-option"),o=vue.resolveComponent("el-select"),t=vue.resolveComponent("el-switch"),i=vue.resolveComponent("el-input-number"),n=vue.resolveComponent("el-alert"),s=vue.resolveComponent("code-editor"),a=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",null,[vue.createVNode(b,{"label-width":"0"},{default:vue.withCtx(()=>[vue.createVNode(S,{class:"custom-divider"},{default:vue.withCtx(()=>[..._[3]||(_[3]=[vue.createTextVNode("\u8868\u683C\u5217\u914D\u7F6E",-1)])]),_:1})]),_:1}),vue.createVNode(b,{"label-width":"0"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(d,f)=>(vue.openBlock(),vue.createElementBlock("div",{key:f,class:"column-item"},[vue.createElementVNode("div",_hoisted_1,[vue.createElementVNode("span",_hoisted_2,"\u5217 "+vue.toDisplayString(f+1),1),vue.createVNode(c,{circle:"",plain:"",size:"small",type:"danger",onClick:w=>x.deleteColumn(f),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3,[vue.createVNode(b,{label:"\u5217\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.label,"onUpdate:modelValue":w=>d.label=w,placeholder:"\u8BF7\u8F93\u5165\u5217\u540D",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5B57\u6BB5\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.prop,"onUpdate:modelValue":w=>d.prop=w,placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\uFF08\u82F1\u6587\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5217\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:d.type,"onUpdate:modelValue":w=>d.type=w,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:x.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(r,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(r,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(r,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(r,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(r,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(r,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(r,{label:"\u591A\u884C\u6587\u672C",value:"textarea"})]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),d.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:0,label:"\u5B57\u5178CODE"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.dictCode,"onUpdate:modelValue":w=>d.dictCode=w,placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178CODE\uFF0C\u5C06\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879",onBlur:w=>x.loadDictOptionsForColumn(d),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(c,{onClick:w=>x.loadDictOptionsForColumn(d),loading:d._loadingDict},{default:vue.withCtx(()=>[..._[4]||(_[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),_[5]||(_[5]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},' \u586B\u5199\u5B57\u5178CODE\u540E\uFF0C\u70B9\u51FB"\u52A0\u8F7D"\u6309\u94AE\u6216\u5931\u7126\u65F6\u81EA\u52A8\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879\u6570\u636E ',-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.width,"onUpdate:modelValue":w=>d.width=w,placeholder:"\u5982\uFF1A150\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u6700\u5C0F\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.minWidth,"onUpdate:modelValue":w=>d.minWidth=w,placeholder:"\u5982\uFF1A100\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5360\u4F4D\u7B26"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.placeholder,"onUpdate:modelValue":w=>d.placeholder=w,placeholder:"\u8BF7\u8F93\u5165\u5360\u4F4D\u7B26\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u662F\u5426\u5FC5\u586B"},{default:vue.withCtx(()=>[vue.createVNode(t,{modelValue:d.required,"onUpdate:modelValue":w=>d.required=w,onChange:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),d.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:1,label:"\u9009\u9879\u6570\u636E"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:d.optionsText,"onUpdate:modelValue":w=>d.optionsText=w,type:"textarea",rows:3,placeholder:'\u683C\u5F0F\uFF1A[{"label":"\u9009\u98791","value":"value1"},{"label":"\u9009\u98792","value":"value2"}]',onInput:w=>x.handleSelectOptionsChange(d,w)},null,8,["modelValue","onUpdate:modelValue","onInput"]),_[6]||(_[6]=vue.createElementVNode("div",{class:"hint-text"},"\u8BF7\u8F93\u5165 JSON \u683C\u5F0F\u7684\u9009\u9879\u6570\u7EC4",-1))]),_:2},1024)):vue.createCommentVNode("",!0),d.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:2,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(c,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>x.editColumnEventHandler(d,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(h.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),_[7]||(_[7]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u4E0B\u62C9\u9879\u6302\u8F7D\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001options\uFF08\u9009\u9879\u6570\u7EC4\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1AsetOptions([{label: '\u9009\u98791', value: '1'}, {label: '\u9009\u98792', value: '2'}]) ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),d.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:3,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:d.dependOn,"onUpdate:modelValue":w=>d.dependOn=w,placeholder:"\u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF08\u5F53\u4F9D\u8D56\u5217\u53D8\u5316\u65F6\uFF0C\u6B64\u5217\u7684\u4E0B\u62C9\u9009\u9879\u4F1A\u66F4\u65B0\uFF09",clearable:"",filterable:"",style:{width:"100%"},onChange:x.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(w,p)=>(vue.openBlock(),vue.createBlock(r,{key:p,label:w.label||w.prop,value:w.prop,disabled:w.prop===d.prop},null,8,["label","value","disabled"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),_[8]||(_[8]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF0C\u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1\u6B64\u5217\u7684\u8054\u52A8\u4E8B\u4EF6\u66F4\u65B0\u4E0B\u62C9\u9009\u9879 ",-1))]),_:2},1024)):vue.createCommentVNode("",!0),d.type==="select"&&d.dependOn?(vue.openBlock(),vue.createBlock(b,{key:4,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(c,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>x.editColumnEventHandler(d,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(h.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),_[9]||(_[9]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1A "),vue.createElementVNode("br"),vue.createTextVNode("- targetCol\uFF1A\u5F53\u524D\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceCol\uFF1A\u4F9D\u8D56\u7684\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceValue\uFF1A\u4F9D\u8D56\u5217\u7684\u503C "),vue.createElementVNode("br"),vue.createTextVNode("- formData\uFF1A\u5F53\u524D\u8868\u5355\u6570\u636E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- currentOptions\uFF1A\u5F53\u524D\u9009\u9879\u6570\u7EC4 "),vue.createElementVNode("br"),vue.createTextVNode("- setOptions\uFF1A\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5 (newOptions, index) "),vue.createElementVNode("br"),vue.createTextVNode("- setValue\uFF1A\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C (value) "),vue.createElementVNode("br"),vue.createTextVNode("- getValue\uFF1A\u83B7\u53D6\u76EE\u6807\u5217\u7684\u5F53\u524D\u503C () "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1A\u6839\u636E sourceValue \u52A8\u6001\u8BBE\u7F6E\u9009\u9879\u548C\u503C\uFF08\u53EA\u5F71\u54CD\u5F53\u524D\u7F16\u8F91\u884C\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("if (sourceValue === '1') { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879A', value: 'a'}, {label: '\u9009\u9879B', value: 'b'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('a'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} else { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879C', value: 'c'}, {label: '\u9009\u9879D', value: 'd'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('c'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} "),vue.createElementVNode("br"),vue.createElementVNode("strong",null,"\u6CE8\u610F\uFF1A"),vue.createTextVNode("setOptions \u53EA\u4F1A\u66F4\u65B0\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8FD9\u4E00\u884C\u7684\u4E0B\u62C9\u9009\u9879\uFF0C\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u884C\u3002 "),vue.createElementVNode("br"),vue.createTextVNode("setValue \u53EF\u4EE5\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C\uFF0C\u5E38\u7528\u4E8E\u81EA\u52A8\u9009\u62E9\u9ED8\u8BA4\u9009\u9879\u3002 ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"onChange\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(c,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>x.editColumnEventHandler(d,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(h.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),_[10]||(_[10]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u5F53\u524D\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001value\uFF08\u5F53\u524D\u503C\uFF09\u3001formData\uFF08\u8868\u5355\u6570\u636E\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF0C\u4EC5select\u7C7B\u578B\u53EF\u7528\uFF09 ",-1))]),_:2},1024),d.type==="textarea"?(vue.openBlock(),vue.createBlock(b,{key:5,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:d.rows,"onUpdate:modelValue":w=>d.rows=w,min:1,max:10,onChange:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(c,{link:"",type:"primary",onClick:x.addNewColumn},{default:vue.withCtx(()=>[..._[11]||(_[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(a,{modelValue:M.showColumnEventDialog,"onUpdate:modelValue":_[2]||(_[2]=d=>M.showColumnEventDialog=d),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${M.currentEventName}`,width:"800px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4,[vue.createVNode(c,{onClick:_[1]||(_[1]=d=>M.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[..._[12]||(_[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(c,{type:"primary",onClick:x.saveColumnEventHandler},{default:vue.withCtx(()=>[..._[13]||(_[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(n,{type:"info",closable:!1,title:M.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(s,{mode:"javascript",readonly:!1,modelValue:M.columnEventHandlerCode,"onUpdate:modelValue":_[0]||(_[0]=d=>M.columnEventHandlerCode=d),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1],["__scopeId","data-v-514d67ae"]]);const _sfc_main={name:"current-user-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{displayModel(){return this.currentUserType==="username"?this.fieldModel?this.fieldModel.username:"":this.currentUserType==="deptName"?this.fieldModel?this.fieldModel.deptName:"":JSON.stringify(this.fieldModel)},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var h;return((h=this.field.options)==null?void 0:h.type)||"username"}},methods:{hasExistingValue(){var _;const h=(_=this.fieldModel)!=null?_:this.oldFieldValue;return h!=null&&h!==""},async getCurrentUser(){const{data:h}=await service({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.currentUserType==="username"?this.fieldModel=h:this.currentUserType==="deptName"&&(this.fieldModel=h),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue)}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},"field.options.type":{handler(h,_){_!==void 0&&this.getCurrentUser()},immediate:!1}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.getCurrentUser()}};function _sfc_render(h,_,e,g,M,x){const S=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:M.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(S,{modelValue:x.displayModel,"onUpdate:modelValue":_[0]||(_[0]=c=>x.displayModel=c),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserWidget=_export_sfc$1(_sfc_main,[["render",_sfc_render]]);const loadExtension=function(h){h.component(CardWidget.name,CardWidget),h.component(CardItem.name,CardItem),registerCPEditor(h,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(h,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(h,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(h,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),h.component(AlertWidget.name,AlertWidget),registerCPEditor(h,"alert-title","alert-title-editor",createInputTextEditor("title","extension.setting.alertTitle"));let e=[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}];h.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(h,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(h,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(h,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(h,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(h,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(h,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(h,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),h.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(h,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(h,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(h,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(h,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(h,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(h,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(h,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(h,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(h,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(h,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(h,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),h.component(radioOtherItem.name,radioOtherItem),h.component(selectOtherItem.name,selectOtherItem),h.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(h,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(h,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),h.component(CustomSubFormWidget.name,CustomSubFormWidget),h.component(CustomSubFormItem.name,CustomSubFormItem),h.component(CustomTableWidget.name,CustomTableWidget),h.component(CustomTableItem.name,CustomTableItem),h.component(CustomTableCellWidget.name,CustomTableCellWidget),h.component(CustomTableCellItem.name,CustomTableCellItem),h.component(SubTableWidget.name,SubTableWidget),h.component(SubTableItem.name,SubTableItem),h.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(h,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(h,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(h,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),h.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(h,"current-user-type","current-user-type-editor",createSelectEditor("type","extension.setting.currentUserType",{optionItems:[{label:"\u7528\u6237\u540D",value:"username"},{label:"\u90E8\u95E8\u540D\u79F0",value:"deptName"}]}))};VFormRender.install=function(h){loadExtension(h),h.use(ContainerItems),registerIcon(h),h.component(VFormRender.name,VFormRender),h.config.globalProperties.$service=service,h.provide("service",service)};const components=[VFormRender],install=h=>{loadExtension(h),h.use(ContainerItems),registerIcon(h),components.forEach(_=>{h.component(_.name,_)}),h.config.globalProperties.$service=service,h.provide("service",service),window.axios=axios,typeof window!="undefined"&&(window.service=service)};var installRender={install,VFormRender};return installRender});
|