form-custom-test 3.0.37 → 3.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  var ag=Object.defineProperty,ug=Object.defineProperties;var dg=Object.getOwnPropertyDescriptors;var Vl=Object.getOwnPropertySymbols;var cg=Object.prototype.hasOwnProperty,fg=Object.prototype.propertyIsEnumerable;var Pl=(ht,pt,Ot)=>pt in ht?ag(ht,pt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):ht[pt]=Ot,tt=(ht,pt)=>{for(var Ot in pt||(pt={}))cg.call(pt,Ot)&&Pl(ht,Ot,pt[Ot]);if(Vl)for(var Ot of Vl(pt))fg.call(pt,Ot)&&Pl(ht,Ot,pt[Ot]);return ht},Bt=(ht,pt)=>ug(ht,dg(pt));(function(ht,pt){typeof exports=="object"&&typeof module!="undefined"?module.exports=pt(require("vue"),require("element-plus"),require("sortablejs")):typeof define=="function"&&define.amd?define(["vue","element-plus","sortablejs"],pt):(ht=typeof globalThis!="undefined"?globalThis:ht||self,ht.VFormDesigner=pt(ht.Vue,ht.ElementPlus,ht.Sortable))})(this,function(vue,elementPlus,require$$1){var ht,pt,Ot;"use strict";function _interopDefaultLegacy(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}function _interopNamespace(t){if(t&&t.__esModule)return t;var h=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return t&&Object.keys(t).forEach(function(e){if(e!=="default"){var p=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(h,e,p.get?p:{enumerable:!0,get:function(){return t[e]}})}}),h.default=t,Object.freeze(h)}var vue__namespace=_interopNamespace(vue),require$$1__default=_interopDefaultLegacy(require$$1),commonjsGlobal=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getDefaultExportFromNamespaceIfPresent(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function commonjsRequire(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var axios$2={exports:{}},bind$2=function(h,e){return function(){for(var v=new Array(arguments.length),g=0;g<v.length;g++)v[g]=arguments[g];return h.apply(e,v)}},bind$1=bind$2,toString=Object.prototype.toString;function isArray(t){return toString.call(t)==="[object Array]"}function isUndefined(t){return typeof t=="undefined"}function isBuffer(t){return t!==null&&!isUndefined(t)&&t.constructor!==null&&!isUndefined(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function isArrayBuffer(t){return toString.call(t)==="[object ArrayBuffer]"}function isFormData(t){return typeof FormData!="undefined"&&t instanceof FormData}function isArrayBufferView(t){var h;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?h=ArrayBuffer.isView(t):h=t&&t.buffer&&t.buffer instanceof ArrayBuffer,h}function isString(t){return typeof t=="string"}function isNumber(t){return typeof t=="number"}function isObject(t){return t!==null&&typeof t=="object"}function isPlainObject(t){if(toString.call(t)!=="[object Object]")return!1;var h=Object.getPrototypeOf(t);return h===null||h===Object.prototype}function isDate(t){return toString.call(t)==="[object Date]"}function isFile(t){return toString.call(t)==="[object File]"}function isBlob(t){return toString.call(t)==="[object Blob]"}function isFunction(t){return toString.call(t)==="[object Function]"}function isStream(t){return isObject(t)&&isFunction(t.pipe)}function isURLSearchParams(t){return typeof URLSearchParams!="undefined"&&t instanceof URLSearchParams}function trim(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function isStandardBrowserEnv(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function forEach(t,h){if(!(t===null||typeof t=="undefined"))if(typeof t!="object"&&(t=[t]),isArray(t))for(var e=0,p=t.length;e<p;e++)h.call(null,t[e],e,t);else for(var v in t)Object.prototype.hasOwnProperty.call(t,v)&&h.call(null,t[v],v,t)}function merge(){var t={};function h(v,g){isPlainObject(t[g])&&isPlainObject(v)?t[g]=merge(t[g],v):isPlainObject(v)?t[g]=merge({},v):isArray(v)?t[g]=v.slice():t[g]=v}for(var e=0,p=arguments.length;e<p;e++)forEach(arguments[e],h);return t}function extend(t,h,e){return forEach(h,function(v,g){e&&typeof v=="function"?t[g]=bind$1(v,e):t[g]=v}),t}function stripBOM(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var utils$d={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString,isNumber,isObject,isPlainObject,isUndefined,isDate,isFile,isBlob,isFunction,isStream,isURLSearchParams,isStandardBrowserEnv,forEach,merge,extend,trim,stripBOM},utils$c=utils$d;function encode(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var buildURL$2=function(h,e,p){if(!e)return h;var v;if(p)v=p(e);else if(utils$c.isURLSearchParams(e))v=e.toString();else{var g=[];utils$c.forEach(e,function(o,a){o===null||typeof o=="undefined"||(utils$c.isArray(o)?a=a+"[]":o=[o],utils$c.forEach(o,function(l){utils$c.isDate(l)?l=l.toISOString():utils$c.isObject(l)&&(l=JSON.stringify(l)),g.push(encode(a)+"="+encode(l))}))}),v=g.join("&")}if(v){var d=h.indexOf("#");d!==-1&&(h=h.slice(0,d)),h+=(h.indexOf("?")===-1?"?":"&")+v}return h},utils$b=utils$d;function InterceptorManager$1(){this.handlers=[]}InterceptorManager$1.prototype.use=function(h,e,p){return this.handlers.push({fulfilled:h,rejected:e,synchronous:p?p.synchronous:!1,runWhen:p?p.runWhen:null}),this.handlers.length-1},InterceptorManager$1.prototype.eject=function(h){this.handlers[h]&&(this.handlers[h]=null)},InterceptorManager$1.prototype.forEach=function(h){utils$b.forEach(this.handlers,function(p){p!==null&&h(p)})};var InterceptorManager_1=InterceptorManager$1,utils$a=utils$d,normalizeHeaderName$1=function(h,e){utils$a.forEach(h,function(v,g){g!==e&&g.toUpperCase()===e.toUpperCase()&&(h[e]=v,delete h[g])})},enhanceError$2=function(h,e,p,v,g){return h.config=e,p&&(h.code=p),h.request=v,h.response=g,h.isAxiosError=!0,h.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},h},enhanceError$1=enhanceError$2,createError$2=function(h,e,p,v,g){var d=new Error(h);return enhanceError$1(d,e,p,v,g)},createError$1=createError$2,settle$1=function(h,e,p){var v=p.config.validateStatus;!p.status||!v||v(p.status)?h(p):e(createError$1("Request failed with status code "+p.status,p.config,null,p.request,p))},utils$9=utils$d,cookies$3=utils$9.isStandardBrowserEnv()?function(){return{write:function(e,p,v,g,d,c){var o=[];o.push(e+"="+encodeURIComponent(p)),utils$9.isNumber(v)&&o.push("expires="+new Date(v).toGMTString()),utils$9.isString(g)&&o.push("path="+g),utils$9.isString(d)&&o.push("domain="+d),c===!0&&o.push("secure"),document.cookie=o.join("; ")},read:function(e){var p=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return p?decodeURIComponent(p[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),isAbsoluteURL$1=function(h){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(h)},combineURLs$1=function(h,e){return e?h.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):h},isAbsoluteURL=isAbsoluteURL$1,combineURLs=combineURLs$1,buildFullPath$1=function(h,e){return h&&!isAbsoluteURL(e)?combineURLs(h,e):e},utils$8=utils$d,ignoreDuplicateOf=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],parseHeaders$1=function(h){var e={},p,v,g;return h&&utils$8.forEach(h.split(`
2
- `),function(c){if(g=c.indexOf(":"),p=utils$8.trim(c.substr(0,g)).toLowerCase(),v=utils$8.trim(c.substr(g+1)),p){if(e[p]&&ignoreDuplicateOf.indexOf(p)>=0)return;p==="set-cookie"?e[p]=(e[p]?e[p]:[]).concat([v]):e[p]=e[p]?e[p]+", "+v:v}}),e},utils$7=utils$d,isURLSameOrigin$1=utils$7.isStandardBrowserEnv()?function(){var h=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a"),p;function v(g){var d=g;return h&&(e.setAttribute("href",d),d=e.href),e.setAttribute("href",d),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return p=v(window.location.href),function(d){var c=utils$7.isString(d)?v(d):d;return c.protocol===p.protocol&&c.host===p.host}}():function(){return function(){return!0}}();function Cancel$3(t){this.message=t}Cancel$3.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Cancel$3.prototype.__CANCEL__=!0;var Cancel_1=Cancel$3,utils$6=utils$d,settle=settle$1,cookies$2=cookies$3,buildURL$1=buildURL$2,buildFullPath=buildFullPath$1,parseHeaders=parseHeaders$1,isURLSameOrigin=isURLSameOrigin$1,createError=createError$2,defaults$4=defaults_1,Cancel$2=Cancel_1,xhr=function(h){return new Promise(function(p,v){var g=h.data,d=h.headers,c=h.responseType,o;function a(){h.cancelToken&&h.cancelToken.unsubscribe(o),h.signal&&h.signal.removeEventListener("abort",o)}utils$6.isFormData(g)&&delete d["Content-Type"];var i=new XMLHttpRequest;if(h.auth){var l=h.auth.username||"",n=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";d.Authorization="Basic "+btoa(l+":"+n)}var r=buildFullPath(h.baseURL,h.url);i.open(h.method.toUpperCase(),buildURL$1(r,h.params,h.paramsSerializer),!0),i.timeout=h.timeout;function s(){if(!!i){var f="getAllResponseHeaders"in i?parseHeaders(i.getAllResponseHeaders()):null,m=!c||c==="text"||c==="json"?i.responseText:i.response,b={data:m,status:i.status,statusText:i.statusText,headers:f,config:h,request:i};settle(function(_){p(_),a()},function(_){v(_),a()},b),i=null}}if("onloadend"in i?i.onloadend=s:i.onreadystatechange=function(){!i||i.readyState!==4||i.status===0&&!(i.responseURL&&i.responseURL.indexOf("file:")===0)||setTimeout(s)},i.onabort=function(){!i||(v(createError("Request aborted",h,"ECONNABORTED",i)),i=null)},i.onerror=function(){v(createError("Network Error",h,null,i)),i=null},i.ontimeout=function(){var m=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",b=h.transitional||defaults$4.transitional;h.timeoutErrorMessage&&(m=h.timeoutErrorMessage),v(createError(m,h,b.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",i)),i=null},utils$6.isStandardBrowserEnv()){var u=(h.withCredentials||isURLSameOrigin(r))&&h.xsrfCookieName?cookies$2.read(h.xsrfCookieName):void 0;u&&(d[h.xsrfHeaderName]=u)}"setRequestHeader"in i&&utils$6.forEach(d,function(m,b){typeof g=="undefined"&&b.toLowerCase()==="content-type"?delete d[b]:i.setRequestHeader(b,m)}),utils$6.isUndefined(h.withCredentials)||(i.withCredentials=!!h.withCredentials),c&&c!=="json"&&(i.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&i.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&i.upload&&i.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(o=function(f){!i||(v(!f||f&&f.type?new Cancel$2("canceled"):f),i.abort(),i=null)},h.cancelToken&&h.cancelToken.subscribe(o),h.signal&&(h.signal.aborted?o():h.signal.addEventListener("abort",o))),g||(g=null),i.send(g)})},utils$5=utils$d,normalizeHeaderName=normalizeHeaderName$1,enhanceError=enhanceError$2,DEFAULT_CONTENT_TYPE={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(t,h){!utils$5.isUndefined(t)&&utils$5.isUndefined(t["Content-Type"])&&(t["Content-Type"]=h)}function getDefaultAdapter(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=xhr),t}function stringifySafely(t,h,e){if(utils$5.isString(t))try{return(h||JSON.parse)(t),utils$5.trim(t)}catch(p){if(p.name!=="SyntaxError")throw p}return(e||JSON.stringify)(t)}var defaults$3={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:getDefaultAdapter(),transformRequest:[function(h,e){return normalizeHeaderName(e,"Accept"),normalizeHeaderName(e,"Content-Type"),utils$5.isFormData(h)||utils$5.isArrayBuffer(h)||utils$5.isBuffer(h)||utils$5.isStream(h)||utils$5.isFile(h)||utils$5.isBlob(h)?h:utils$5.isArrayBufferView(h)?h.buffer:utils$5.isURLSearchParams(h)?(setContentTypeIfUnset(e,"application/x-www-form-urlencoded;charset=utf-8"),h.toString()):utils$5.isObject(h)||e&&e["Content-Type"]==="application/json"?(setContentTypeIfUnset(e,"application/json"),stringifySafely(h)):h}],transformResponse:[function(h){var e=this.transitional||defaults$3.transitional,p=e&&e.silentJSONParsing,v=e&&e.forcedJSONParsing,g=!p&&this.responseType==="json";if(g||v&&utils$5.isString(h)&&h.length)try{return JSON.parse(h)}catch(d){if(g)throw d.name==="SyntaxError"?enhanceError(d,this,"E_JSON_PARSE"):d}return h}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(h){return h>=200&&h<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils$5.forEach(["delete","get","head"],function(h){defaults$3.headers[h]={}}),utils$5.forEach(["post","put","patch"],function(h){defaults$3.headers[h]=utils$5.merge(DEFAULT_CONTENT_TYPE)});var defaults_1=defaults$3,utils$4=utils$d,defaults$2=defaults_1,transformData$1=function(h,e,p){var v=this||defaults$2;return utils$4.forEach(p,function(d){h=d.call(v,h,e)}),h},isCancel$1=function(h){return!!(h&&h.__CANCEL__)},utils$3=utils$d,transformData=transformData$1,isCancel=isCancel$1,defaults$1=defaults_1,Cancel$1=Cancel_1;function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Cancel$1("canceled")}var dispatchRequest$1=function(h){throwIfCancellationRequested(h),h.headers=h.headers||{},h.data=transformData.call(h,h.data,h.headers,h.transformRequest),h.headers=utils$3.merge(h.headers.common||{},h.headers[h.method]||{},h.headers),utils$3.forEach(["delete","get","head","post","put","patch","common"],function(v){delete h.headers[v]});var e=h.adapter||defaults$1.adapter;return e(h).then(function(v){return throwIfCancellationRequested(h),v.data=transformData.call(h,v.data,v.headers,h.transformResponse),v},function(v){return isCancel(v)||(throwIfCancellationRequested(h),v&&v.response&&(v.response.data=transformData.call(h,v.response.data,v.response.headers,h.transformResponse))),Promise.reject(v)})},utils$2=utils$d,mergeConfig$2=function(h,e){e=e||{};var p={};function v(i,l){return utils$2.isPlainObject(i)&&utils$2.isPlainObject(l)?utils$2.merge(i,l):utils$2.isPlainObject(l)?utils$2.merge({},l):utils$2.isArray(l)?l.slice():l}function g(i){if(utils$2.isUndefined(e[i])){if(!utils$2.isUndefined(h[i]))return v(void 0,h[i])}else return v(h[i],e[i])}function d(i){if(!utils$2.isUndefined(e[i]))return v(void 0,e[i])}function c(i){if(utils$2.isUndefined(e[i])){if(!utils$2.isUndefined(h[i]))return v(void 0,h[i])}else return v(void 0,e[i])}function o(i){if(i in e)return v(h[i],e[i]);if(i in h)return v(void 0,h[i])}var a={url:d,method:d,data:d,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:o};return utils$2.forEach(Object.keys(h).concat(Object.keys(e)),function(l){var n=a[l]||g,r=n(l);utils$2.isUndefined(r)&&n!==o||(p[l]=r)}),p},data={version:"0.24.0"},VERSION=data.version,validators$1={};["object","boolean","number","function","string","symbol"].forEach(function(t,h){validators$1[t]=function(p){return typeof p===t||"a"+(h<1?"n ":" ")+t}});var deprecatedWarnings={};validators$1.transitional=function(h,e,p){function v(g,d){return"[Axios v"+VERSION+"] Transitional option '"+g+"'"+d+(p?". "+p:"")}return function(g,d,c){if(h===!1)throw new Error(v(d," has been removed"+(e?" in "+e:"")));return e&&!deprecatedWarnings[d]&&(deprecatedWarnings[d]=!0,console.warn(v(d," has been deprecated since v"+e+" and will be removed in the near future"))),h?h(g,d,c):!0}};function assertOptions(t,h,e){if(typeof t!="object")throw new TypeError("options must be an object");for(var p=Object.keys(t),v=p.length;v-- >0;){var g=p[v],d=h[g];if(d){var c=t[g],o=c===void 0||d(c,g,t);if(o!==!0)throw new TypeError("option "+g+" must be "+o);continue}if(e!==!0)throw Error("Unknown option "+g)}}var validator$1={assertOptions,validators:validators$1},utils$1=utils$d,buildURL=buildURL$2,InterceptorManager=InterceptorManager_1,dispatchRequest=dispatchRequest$1,mergeConfig$1=mergeConfig$2,validator=validator$1,validators=validator.validators;function Axios$1(t){this.defaults=t,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}Axios$1.prototype.request=function(h){typeof h=="string"?(h=arguments[1]||{},h.url=arguments[0]):h=h||{},h=mergeConfig$1(this.defaults,h),h.method?h.method=h.method.toLowerCase():this.defaults.method?h.method=this.defaults.method.toLowerCase():h.method="get";var e=h.transitional;e!==void 0&&validator.assertOptions(e,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1);var p=[],v=!0;this.interceptors.request.forEach(function(n){typeof n.runWhen=="function"&&n.runWhen(h)===!1||(v=v&&n.synchronous,p.unshift(n.fulfilled,n.rejected))});var g=[];this.interceptors.response.forEach(function(n){g.push(n.fulfilled,n.rejected)});var d;if(!v){var c=[dispatchRequest,void 0];for(Array.prototype.unshift.apply(c,p),c=c.concat(g),d=Promise.resolve(h);c.length;)d=d.then(c.shift(),c.shift());return d}for(var o=h;p.length;){var a=p.shift(),i=p.shift();try{o=a(o)}catch(l){i(l);break}}try{d=dispatchRequest(o)}catch(l){return Promise.reject(l)}for(;g.length;)d=d.then(g.shift(),g.shift());return d},Axios$1.prototype.getUri=function(h){return h=mergeConfig$1(this.defaults,h),buildURL(h.url,h.params,h.paramsSerializer).replace(/^\?/,"")},utils$1.forEach(["delete","get","head","options"],function(h){Axios$1.prototype[h]=function(e,p){return this.request(mergeConfig$1(p||{},{method:h,url:e,data:(p||{}).data}))}}),utils$1.forEach(["post","put","patch"],function(h){Axios$1.prototype[h]=function(e,p,v){return this.request(mergeConfig$1(v||{},{method:h,url:e,data:p}))}});var Axios_1=Axios$1,Cancel=Cancel_1;function CancelToken(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var h;this.promise=new Promise(function(v){h=v});var e=this;this.promise.then(function(p){if(!!e._listeners){var v,g=e._listeners.length;for(v=0;v<g;v++)e._listeners[v](p);e._listeners=null}}),this.promise.then=function(p){var v,g=new Promise(function(d){e.subscribe(d),v=d}).then(p);return g.cancel=function(){e.unsubscribe(v)},g},t(function(v){e.reason||(e.reason=new Cancel(v),h(e.reason))})}CancelToken.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},CancelToken.prototype.subscribe=function(h){if(this.reason){h(this.reason);return}this._listeners?this._listeners.push(h):this._listeners=[h]},CancelToken.prototype.unsubscribe=function(h){if(!!this._listeners){var e=this._listeners.indexOf(h);e!==-1&&this._listeners.splice(e,1)}},CancelToken.source=function(){var h,e=new CancelToken(function(v){h=v});return{token:e,cancel:h}};var CancelToken_1=CancelToken,spread=function(h){return function(p){return h.apply(null,p)}},isAxiosError=function(h){return typeof h=="object"&&h.isAxiosError===!0},utils=utils$d,bind=bind$2,Axios=Axios_1,mergeConfig=mergeConfig$2,defaults=defaults_1;function createInstance(t){var h=new Axios(t),e=bind(Axios.prototype.request,h);return utils.extend(e,Axios.prototype,h),utils.extend(e,h),e.create=function(v){return createInstance(mergeConfig(t,v))},e}var axios$1=createInstance(defaults);axios$1.Axios=Axios,axios$1.Cancel=Cancel_1,axios$1.CancelToken=CancelToken_1,axios$1.isCancel=isCancel$1,axios$1.VERSION=data.version,axios$1.all=function(h){return Promise.all(h)},axios$1.spread=spread,axios$1.isAxiosError=isAxiosError,axios$2.exports=axios$1,axios$2.exports.default=axios$1;var axios=axios$2.exports;const containers=[{type:"grid",category:"container",icon:"grid",cols:[],options:{name:"",hidden:!1,gutter:12,colHeight:null,customClass:""}},{type:"table",category:"container",icon:"table",rows:[],options:{name:"",hidden:!1,customClass:""}},{type:"tab",category:"container",icon:"tab",displayType:"border-card",tabs:[],options:{name:"",hidden:!1,customClass:""}},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[],options:{name:"",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""}},{type:"table-cell",category:"container",icon:"table-cell",internal:!0,widgetList:[],merged:!1,options:{name:"",cellWidth:"",cellHeight:"",colspan:1,rowspan:1,wordBreak:!1,customClass:""}},{type:"tab-pane",category:"container",icon:"tab-pane",internal:!0,widgetList:[],options:{name:"",label:"",hidden:!1,active:!1,disabled:!1,customClass:""}}],basicFields=[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"custom-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:"",onAppendButtonClick:""}},{type:"textarea",icon:"textarea-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",rows:3,defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"number",icon:"number-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:0,placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,min:-1e11,max:1e11,precision:0,step:1,controlsPosition:"right",onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"radio",icon:"radio-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",size:"",displayStyle:"inline",buttonStyle:!1,border:!1,labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,optionItems:[{label:"radio 1",value:1},{label:"radio 2",value:2},{label:"radio 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"checkbox",icon:"checkbox-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:[],columnWidth:"200px",size:"",displayStyle:"inline",buttonStyle:!1,border:!1,labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,optionItems:[{label:"check 1",value:1},{label:"check 2",value:2},{label:"check 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"select",icon:"select-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,clearable:!0,filterable:!1,allowCreate:!1,remote:!1,automaticDropdown:!1,multiple:!1,multipleLimit:0,objectValue:!1,optionItems:[{label:"select 1",value:1},{label:"select 2",value:2},{label:"select 3",value:3}],dictCode:"",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onRemoteQuery:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"select-tree",icon:"select-tree-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,showCheckbox:!1,clearable:!0,filterable:!1,allowCreate:!1,remote:!1,automaticDropdown:!1,multiple:!1,multipleLimit:0,optionItems:[{label:"select 1",value:1,children:[{label:"child 1",value:11}]},{label:"select 2",value:2},{label:"select 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:""}},{type:"time",icon:"time-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,placeholder:"",columnWidth:"200px",size:"",autoFullWidth:!0,labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"HH:mm:ss",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"time-range",icon:"time-range-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,startPlaceholder:"",endPlaceholder:"",columnWidth:"200px",size:"",autoFullWidth:!0,labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"HH:mm:ss",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"date",icon:"date-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"date",defaultValue:null,placeholder:"",columnWidth:"200px",size:"",autoFullWidth:!0,labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"date-range",icon:"date-range-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"daterange",defaultValue:null,startPlaceholder:"",endPlaceholder:"",columnWidth:"200px",size:"",autoFullWidth:!0,labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"switch",icon:"switch-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,switchWidth:40,activeText:"",inactiveText:"",activeColor:null,inactiveColor:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"rate",icon:"rate-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,max:5,lowThreshold:2,highThreshold:4,allowHalf:!1,showText:!1,showScore:!1,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"color",icon:"color-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"slider",icon:"slider-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",columnWidth:"200px",showStops:!0,size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,min:0,max:100,step:10,range:!1,height:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"static-text",icon:"static-text",formItemFlag:!1,options:{name:"",columnWidth:"200px",hidden:!1,textContent:"static text",textAlign:"left",fontSize:"13px",preWrap:!1,customClass:"",onCreated:"",onMounted:""}},{type:"html-text",icon:"html-text",formItemFlag:!1,options:{name:"",columnWidth:"200px",hidden:!1,htmlContent:"<b>html text</b>",customClass:"",onCreated:"",onMounted:""}},{type:"button",icon:"button",formItemFlag:!1,options:{name:"",label:"",columnWidth:"200px",size:"",displayStyle:"block",disabled:!1,hidden:!1,type:"",plain:!1,round:!1,circle:!1,icon:null,customClass:"",onCreated:"",onMounted:"",onClick:""}},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:"",onCreated:"",onMounted:""}}],advancedFields=[{type:"picture-upload",icon:"picture-upload-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",uploadURL:"",uploadTip:"",withCredentials:!1,multipleSelect:!1,showFileList:!0,limit:3,fileMaxSize:5,fileTypes:["jpg","jpeg","png"],allowDrag:!0,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onBeforeUpload:"",onUploadSuccess:"",onUploadError:"",onFileRemove:"",onValidate:""}},{type:"file-upload",icon:"file-upload-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",uploadURL:"",uploadTip:"",withCredentials:!1,multipleSelect:!1,showFileList:!0,limit:3,fileMaxSize:5,fileTypes:["doc","docx","xls","xlsx"],allowDrag:!0,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onBeforeUpload:"",onUploadSuccess:"",onUploadError:"",onFileRemove:"",onValidate:""}},{type:"rich-editor",icon:"rich-editor-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",placeholder:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",contentHeight:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onValidate:""}},{type:"cascader",icon:"cascader-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:"",placeholder:"",size:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,clearable:!0,filterable:!1,multiple:!1,checkStrictly:!1,showAllLevels:!0,optionItems:[{label:"select 1",value:1,children:[{label:"child 1",value:11}]},{label:"select 2",value:2},{label:"select 3",value:3}],required:!1,requiredHint:"",customRule:"",customRuleHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}}],customFields=[];function addContainerWidgetSchema(t){containers.push(t)}function addCustomWidgetSchema(t){customFields.push(t)}const formTemplates=[{title:"\u5355\u5217\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t1.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json1.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u591A\u5217\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t2.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json2.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u5206\u7EC4\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t3.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json3.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u6807\u7B7E\u9875\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t4.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json4.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u4E3B\u4ECE\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t5.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json5.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u54CD\u5E94\u5F0F\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t6.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json6.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u95EE\u5377\u8C03\u67E5\u8868",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t7.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json7.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u56FA\u5B9A\u8868\u683C\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t8.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json8.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."}];var clipboard={exports:{}};/*!
2
+ `),function(c){if(g=c.indexOf(":"),p=utils$8.trim(c.substr(0,g)).toLowerCase(),v=utils$8.trim(c.substr(g+1)),p){if(e[p]&&ignoreDuplicateOf.indexOf(p)>=0)return;p==="set-cookie"?e[p]=(e[p]?e[p]:[]).concat([v]):e[p]=e[p]?e[p]+", "+v:v}}),e},utils$7=utils$d,isURLSameOrigin$1=utils$7.isStandardBrowserEnv()?function(){var h=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a"),p;function v(g){var d=g;return h&&(e.setAttribute("href",d),d=e.href),e.setAttribute("href",d),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return p=v(window.location.href),function(d){var c=utils$7.isString(d)?v(d):d;return c.protocol===p.protocol&&c.host===p.host}}():function(){return function(){return!0}}();function Cancel$3(t){this.message=t}Cancel$3.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Cancel$3.prototype.__CANCEL__=!0;var Cancel_1=Cancel$3,utils$6=utils$d,settle=settle$1,cookies$2=cookies$3,buildURL$1=buildURL$2,buildFullPath=buildFullPath$1,parseHeaders=parseHeaders$1,isURLSameOrigin=isURLSameOrigin$1,createError=createError$2,defaults$4=defaults_1,Cancel$2=Cancel_1,xhr=function(h){return new Promise(function(p,v){var g=h.data,d=h.headers,c=h.responseType,o;function a(){h.cancelToken&&h.cancelToken.unsubscribe(o),h.signal&&h.signal.removeEventListener("abort",o)}utils$6.isFormData(g)&&delete d["Content-Type"];var i=new XMLHttpRequest;if(h.auth){var l=h.auth.username||"",n=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";d.Authorization="Basic "+btoa(l+":"+n)}var r=buildFullPath(h.baseURL,h.url);i.open(h.method.toUpperCase(),buildURL$1(r,h.params,h.paramsSerializer),!0),i.timeout=h.timeout;function s(){if(!!i){var f="getAllResponseHeaders"in i?parseHeaders(i.getAllResponseHeaders()):null,m=!c||c==="text"||c==="json"?i.responseText:i.response,b={data:m,status:i.status,statusText:i.statusText,headers:f,config:h,request:i};settle(function(_){p(_),a()},function(_){v(_),a()},b),i=null}}if("onloadend"in i?i.onloadend=s:i.onreadystatechange=function(){!i||i.readyState!==4||i.status===0&&!(i.responseURL&&i.responseURL.indexOf("file:")===0)||setTimeout(s)},i.onabort=function(){!i||(v(createError("Request aborted",h,"ECONNABORTED",i)),i=null)},i.onerror=function(){v(createError("Network Error",h,null,i)),i=null},i.ontimeout=function(){var m=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",b=h.transitional||defaults$4.transitional;h.timeoutErrorMessage&&(m=h.timeoutErrorMessage),v(createError(m,h,b.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",i)),i=null},utils$6.isStandardBrowserEnv()){var u=(h.withCredentials||isURLSameOrigin(r))&&h.xsrfCookieName?cookies$2.read(h.xsrfCookieName):void 0;u&&(d[h.xsrfHeaderName]=u)}"setRequestHeader"in i&&utils$6.forEach(d,function(m,b){typeof g=="undefined"&&b.toLowerCase()==="content-type"?delete d[b]:i.setRequestHeader(b,m)}),utils$6.isUndefined(h.withCredentials)||(i.withCredentials=!!h.withCredentials),c&&c!=="json"&&(i.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&i.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&i.upload&&i.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(o=function(f){!i||(v(!f||f&&f.type?new Cancel$2("canceled"):f),i.abort(),i=null)},h.cancelToken&&h.cancelToken.subscribe(o),h.signal&&(h.signal.aborted?o():h.signal.addEventListener("abort",o))),g||(g=null),i.send(g)})},utils$5=utils$d,normalizeHeaderName=normalizeHeaderName$1,enhanceError=enhanceError$2,DEFAULT_CONTENT_TYPE={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(t,h){!utils$5.isUndefined(t)&&utils$5.isUndefined(t["Content-Type"])&&(t["Content-Type"]=h)}function getDefaultAdapter(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=xhr),t}function stringifySafely(t,h,e){if(utils$5.isString(t))try{return(h||JSON.parse)(t),utils$5.trim(t)}catch(p){if(p.name!=="SyntaxError")throw p}return(e||JSON.stringify)(t)}var defaults$3={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:getDefaultAdapter(),transformRequest:[function(h,e){return normalizeHeaderName(e,"Accept"),normalizeHeaderName(e,"Content-Type"),utils$5.isFormData(h)||utils$5.isArrayBuffer(h)||utils$5.isBuffer(h)||utils$5.isStream(h)||utils$5.isFile(h)||utils$5.isBlob(h)?h:utils$5.isArrayBufferView(h)?h.buffer:utils$5.isURLSearchParams(h)?(setContentTypeIfUnset(e,"application/x-www-form-urlencoded;charset=utf-8"),h.toString()):utils$5.isObject(h)||e&&e["Content-Type"]==="application/json"?(setContentTypeIfUnset(e,"application/json"),stringifySafely(h)):h}],transformResponse:[function(h){var e=this.transitional||defaults$3.transitional,p=e&&e.silentJSONParsing,v=e&&e.forcedJSONParsing,g=!p&&this.responseType==="json";if(g||v&&utils$5.isString(h)&&h.length)try{return JSON.parse(h)}catch(d){if(g)throw d.name==="SyntaxError"?enhanceError(d,this,"E_JSON_PARSE"):d}return h}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(h){return h>=200&&h<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils$5.forEach(["delete","get","head"],function(h){defaults$3.headers[h]={}}),utils$5.forEach(["post","put","patch"],function(h){defaults$3.headers[h]=utils$5.merge(DEFAULT_CONTENT_TYPE)});var defaults_1=defaults$3,utils$4=utils$d,defaults$2=defaults_1,transformData$1=function(h,e,p){var v=this||defaults$2;return utils$4.forEach(p,function(d){h=d.call(v,h,e)}),h},isCancel$1=function(h){return!!(h&&h.__CANCEL__)},utils$3=utils$d,transformData=transformData$1,isCancel=isCancel$1,defaults$1=defaults_1,Cancel$1=Cancel_1;function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Cancel$1("canceled")}var dispatchRequest$1=function(h){throwIfCancellationRequested(h),h.headers=h.headers||{},h.data=transformData.call(h,h.data,h.headers,h.transformRequest),h.headers=utils$3.merge(h.headers.common||{},h.headers[h.method]||{},h.headers),utils$3.forEach(["delete","get","head","post","put","patch","common"],function(v){delete h.headers[v]});var e=h.adapter||defaults$1.adapter;return e(h).then(function(v){return throwIfCancellationRequested(h),v.data=transformData.call(h,v.data,v.headers,h.transformResponse),v},function(v){return isCancel(v)||(throwIfCancellationRequested(h),v&&v.response&&(v.response.data=transformData.call(h,v.response.data,v.response.headers,h.transformResponse))),Promise.reject(v)})},utils$2=utils$d,mergeConfig$2=function(h,e){e=e||{};var p={};function v(i,l){return utils$2.isPlainObject(i)&&utils$2.isPlainObject(l)?utils$2.merge(i,l):utils$2.isPlainObject(l)?utils$2.merge({},l):utils$2.isArray(l)?l.slice():l}function g(i){if(utils$2.isUndefined(e[i])){if(!utils$2.isUndefined(h[i]))return v(void 0,h[i])}else return v(h[i],e[i])}function d(i){if(!utils$2.isUndefined(e[i]))return v(void 0,e[i])}function c(i){if(utils$2.isUndefined(e[i])){if(!utils$2.isUndefined(h[i]))return v(void 0,h[i])}else return v(void 0,e[i])}function o(i){if(i in e)return v(h[i],e[i]);if(i in h)return v(void 0,h[i])}var a={url:d,method:d,data:d,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:o};return utils$2.forEach(Object.keys(h).concat(Object.keys(e)),function(l){var n=a[l]||g,r=n(l);utils$2.isUndefined(r)&&n!==o||(p[l]=r)}),p},data={version:"0.24.0"},VERSION=data.version,validators$1={};["object","boolean","number","function","string","symbol"].forEach(function(t,h){validators$1[t]=function(p){return typeof p===t||"a"+(h<1?"n ":" ")+t}});var deprecatedWarnings={};validators$1.transitional=function(h,e,p){function v(g,d){return"[Axios v"+VERSION+"] Transitional option '"+g+"'"+d+(p?". "+p:"")}return function(g,d,c){if(h===!1)throw new Error(v(d," has been removed"+(e?" in "+e:"")));return e&&!deprecatedWarnings[d]&&(deprecatedWarnings[d]=!0,console.warn(v(d," has been deprecated since v"+e+" and will be removed in the near future"))),h?h(g,d,c):!0}};function assertOptions(t,h,e){if(typeof t!="object")throw new TypeError("options must be an object");for(var p=Object.keys(t),v=p.length;v-- >0;){var g=p[v],d=h[g];if(d){var c=t[g],o=c===void 0||d(c,g,t);if(o!==!0)throw new TypeError("option "+g+" must be "+o);continue}if(e!==!0)throw Error("Unknown option "+g)}}var validator$1={assertOptions,validators:validators$1},utils$1=utils$d,buildURL=buildURL$2,InterceptorManager=InterceptorManager_1,dispatchRequest=dispatchRequest$1,mergeConfig$1=mergeConfig$2,validator=validator$1,validators=validator.validators;function Axios$1(t){this.defaults=t,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}Axios$1.prototype.request=function(h){typeof h=="string"?(h=arguments[1]||{},h.url=arguments[0]):h=h||{},h=mergeConfig$1(this.defaults,h),h.method?h.method=h.method.toLowerCase():this.defaults.method?h.method=this.defaults.method.toLowerCase():h.method="get";var e=h.transitional;e!==void 0&&validator.assertOptions(e,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1);var p=[],v=!0;this.interceptors.request.forEach(function(n){typeof n.runWhen=="function"&&n.runWhen(h)===!1||(v=v&&n.synchronous,p.unshift(n.fulfilled,n.rejected))});var g=[];this.interceptors.response.forEach(function(n){g.push(n.fulfilled,n.rejected)});var d;if(!v){var c=[dispatchRequest,void 0];for(Array.prototype.unshift.apply(c,p),c=c.concat(g),d=Promise.resolve(h);c.length;)d=d.then(c.shift(),c.shift());return d}for(var o=h;p.length;){var a=p.shift(),i=p.shift();try{o=a(o)}catch(l){i(l);break}}try{d=dispatchRequest(o)}catch(l){return Promise.reject(l)}for(;g.length;)d=d.then(g.shift(),g.shift());return d},Axios$1.prototype.getUri=function(h){return h=mergeConfig$1(this.defaults,h),buildURL(h.url,h.params,h.paramsSerializer).replace(/^\?/,"")},utils$1.forEach(["delete","get","head","options"],function(h){Axios$1.prototype[h]=function(e,p){return this.request(mergeConfig$1(p||{},{method:h,url:e,data:(p||{}).data}))}}),utils$1.forEach(["post","put","patch"],function(h){Axios$1.prototype[h]=function(e,p,v){return this.request(mergeConfig$1(v||{},{method:h,url:e,data:p}))}});var Axios_1=Axios$1,Cancel=Cancel_1;function CancelToken(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var h;this.promise=new Promise(function(v){h=v});var e=this;this.promise.then(function(p){if(!!e._listeners){var v,g=e._listeners.length;for(v=0;v<g;v++)e._listeners[v](p);e._listeners=null}}),this.promise.then=function(p){var v,g=new Promise(function(d){e.subscribe(d),v=d}).then(p);return g.cancel=function(){e.unsubscribe(v)},g},t(function(v){e.reason||(e.reason=new Cancel(v),h(e.reason))})}CancelToken.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},CancelToken.prototype.subscribe=function(h){if(this.reason){h(this.reason);return}this._listeners?this._listeners.push(h):this._listeners=[h]},CancelToken.prototype.unsubscribe=function(h){if(!!this._listeners){var e=this._listeners.indexOf(h);e!==-1&&this._listeners.splice(e,1)}},CancelToken.source=function(){var h,e=new CancelToken(function(v){h=v});return{token:e,cancel:h}};var CancelToken_1=CancelToken,spread=function(h){return function(p){return h.apply(null,p)}},isAxiosError=function(h){return typeof h=="object"&&h.isAxiosError===!0},utils=utils$d,bind=bind$2,Axios=Axios_1,mergeConfig=mergeConfig$2,defaults=defaults_1;function createInstance(t){var h=new Axios(t),e=bind(Axios.prototype.request,h);return utils.extend(e,Axios.prototype,h),utils.extend(e,h),e.create=function(v){return createInstance(mergeConfig(t,v))},e}var axios$1=createInstance(defaults);axios$1.Axios=Axios,axios$1.Cancel=Cancel_1,axios$1.CancelToken=CancelToken_1,axios$1.isCancel=isCancel$1,axios$1.VERSION=data.version,axios$1.all=function(h){return Promise.all(h)},axios$1.spread=spread,axios$1.isAxiosError=isAxiosError,axios$2.exports=axios$1,axios$2.exports.default=axios$1;var axios=axios$2.exports;const containers=[{type:"grid",category:"container",icon:"grid",cols:[],options:{name:"",hidden:!1,gutter:12,colHeight:null,customClass:""}},{type:"table",category:"container",icon:"table",rows:[],options:{name:"",hidden:!1,customClass:""}},{type:"tab",category:"container",icon:"tab",displayType:"border-card",tabs:[],options:{name:"",hidden:!1,customClass:""}},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[],options:{name:"",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""}},{type:"table-cell",category:"container",icon:"table-cell",internal:!0,widgetList:[],merged:!1,options:{name:"",cellWidth:"",cellHeight:"",colspan:1,rowspan:1,wordBreak:!1,customClass:""}},{type:"tab-pane",category:"container",icon:"tab-pane",internal:!0,widgetList:[],options:{name:"",label:"",hidden:!1,active:!1,disabled:!1,customClass:""}}],basicFields=[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"custom-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:"",onAppendButtonClick:""}},{type:"textarea",icon:"textarea-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",rows:3,defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"number",icon:"number-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:0,placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,min:-1e11,max:1e11,precision:0,step:1,controlsPosition:"right",onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"radio",icon:"radio-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",size:"",displayStyle:"inline",buttonStyle:!1,border:!1,labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,optionItems:[{label:"radio 1",value:1},{label:"radio 2",value:2},{label:"radio 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"checkbox",icon:"checkbox-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:[],columnWidth:"200px",size:"",displayStyle:"inline",buttonStyle:!1,border:!1,labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,optionItems:[{label:"check 1",value:1},{label:"check 2",value:2},{label:"check 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"select",icon:"select-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,clearable:!0,filterable:!1,allowCreate:!1,remote:!1,automaticDropdown:!1,multiple:!1,multipleLimit:0,objectValue:!1,optionItems:[{label:"select 1",value:1},{label:"select 2",value:2},{label:"select 3",value:3}],dictCode:"",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onRemoteQuery:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"select-tree",icon:"select-tree-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,showCheckbox:!1,clearable:!0,filterable:!1,allowCreate:!1,remote:!1,automaticDropdown:!1,multiple:!1,multipleLimit:0,optionItems:[{label:"select 1",value:1,children:[{label:"child 1",value:11}]},{label:"select 2",value:2},{label:"select 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onRemoteQuery:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"time",icon:"time-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,placeholder:"",columnWidth:"200px",size:"",autoFullWidth:!0,labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"HH:mm:ss",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"time-range",icon:"time-range-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,startPlaceholder:"",endPlaceholder:"",columnWidth:"200px",size:"",autoFullWidth:!0,labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"HH:mm:ss",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"date",icon:"date-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"date",defaultValue:null,placeholder:"",columnWidth:"200px",size:"",autoFullWidth:!0,labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"date-range",icon:"date-range-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"daterange",defaultValue:null,startPlaceholder:"",endPlaceholder:"",columnWidth:"200px",size:"",autoFullWidth:!0,labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"switch",icon:"switch-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,switchWidth:40,activeText:"",inactiveText:"",activeColor:null,inactiveColor:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"rate",icon:"rate-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,max:5,lowThreshold:2,highThreshold:4,allowHalf:!1,showText:!1,showScore:!1,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"color",icon:"color-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"slider",icon:"slider-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",columnWidth:"200px",showStops:!0,size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,min:0,max:100,step:10,range:!1,height:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"static-text",icon:"static-text",formItemFlag:!1,options:{name:"",columnWidth:"200px",hidden:!1,textContent:"static text",textAlign:"left",fontSize:"13px",preWrap:!1,customClass:"",onCreated:"",onMounted:""}},{type:"html-text",icon:"html-text",formItemFlag:!1,options:{name:"",columnWidth:"200px",hidden:!1,htmlContent:"<b>html text</b>",customClass:"",onCreated:"",onMounted:""}},{type:"button",icon:"button",formItemFlag:!1,options:{name:"",label:"",columnWidth:"200px",size:"",displayStyle:"block",disabled:!1,hidden:!1,type:"",plain:!1,round:!1,circle:!1,icon:null,customClass:"",onCreated:"",onMounted:"",onClick:""}},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:"",onCreated:"",onMounted:""}}],advancedFields=[{type:"picture-upload",icon:"picture-upload-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",uploadURL:"",uploadTip:"",withCredentials:!1,multipleSelect:!1,showFileList:!0,limit:3,fileMaxSize:5,fileTypes:["jpg","jpeg","png"],allowDrag:!0,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onBeforeUpload:"",onUploadSuccess:"",onUploadError:"",onFileRemove:"",onValidate:""}},{type:"file-upload",icon:"file-upload-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",uploadURL:"",uploadTip:"",withCredentials:!1,multipleSelect:!1,showFileList:!0,limit:3,fileMaxSize:5,fileTypes:["doc","docx","xls","xlsx"],allowDrag:!0,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onBeforeUpload:"",onUploadSuccess:"",onUploadError:"",onFileRemove:"",onValidate:""}},{type:"rich-editor",icon:"rich-editor-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",placeholder:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",contentHeight:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onValidate:""}},{type:"cascader",icon:"cascader-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:"",placeholder:"",size:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,clearable:!0,filterable:!1,multiple:!1,checkStrictly:!1,showAllLevels:!0,optionItems:[{label:"select 1",value:1,children:[{label:"child 1",value:11}]},{label:"select 2",value:2},{label:"select 3",value:3}],required:!1,requiredHint:"",customRule:"",customRuleHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}}],customFields=[];function addContainerWidgetSchema(t){containers.push(t)}function addCustomWidgetSchema(t){customFields.push(t)}const formTemplates=[{title:"\u5355\u5217\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t1.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json1.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u591A\u5217\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t2.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json2.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u5206\u7EC4\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t3.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json3.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u6807\u7B7E\u9875\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t4.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json4.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u4E3B\u4ECE\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t5.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json5.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u54CD\u5E94\u5F0F\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t6.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json6.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u95EE\u5377\u8C03\u67E5\u8868",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t7.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json7.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."},{title:"\u56FA\u5B9A\u8868\u683C\u8868\u5355",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t8.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json8.txt",description:"\u8868\u5355\u6A21\u677F\u8BE6\u7EC6\u8BF4\u660E..."}];var clipboard={exports:{}};/*!
3
3
  * clipboard.js v2.0.11
4
4
  * https://clipboardjs.com/
5
5
  *
@@ -30,7 +30,7 @@ __p += '`),Ze&&(me+=`' +
30
30
  function print() { __p += __j.call(arguments, '') }
31
31
  `:`;
32
32
  `)+me+`return __p
33
- }`;var He=Il(function(){return Je(Z,Me+"return "+me).apply(e,X)});if(He.source=me,nr(He))throw He;return He}function gp(y){return et(y).toLowerCase()}function mp(y){return et(y).toUpperCase()}function vp(y,S,N){if(y=et(y),y&&(N||S===e))return Ur(y);if(!y||!(S=Ft(S)))return y;var W=Kt(y),Y=Kt(S),Z=Gr(W,Y),X=Yr(W,Y)+1;return yn(W,Z,X).join("")}function bp(y,S,N){if(y=et(y),y&&(N||S===e))return y.slice(0,qr(y)+1);if(!y||!(S=Ft(S)))return y;var W=Kt(y),Y=Yr(W,Kt(S))+1;return yn(W,0,Y).join("")}function yp(y,S,N){if(y=et(y),y&&(N||S===e))return y.replace(Vt,"");if(!y||!(S=Ft(S)))return y;var W=Kt(y),Y=Gr(W,Kt(S));return yn(W,Y).join("")}function _p(y,S){var N=k,W=D;if(ut(S)){var Y="separator"in S?S.separator:Y;N="length"in S?We(S.length):N,W="omission"in S?Ft(S.omission):W}y=et(y);var Z=y.length;if(Fn(y)){var X=Kt(y);Z=X.length}if(N>=Z)return y;var te=N-Nn(W);if(te<1)return W;var oe=X?yn(X,0,te).join(""):y.slice(0,te);if(Y===e)return oe+W;if(X&&(te+=oe.length-te),ir(Y)){if(y.slice(te).search(Y)){var he,pe=oe;for(Y.global||(Y=yo(Y.source,et(hr.exec(Y))+"g")),Y.lastIndex=0;he=Y.exec(pe);)var me=he.index;oe=oe.slice(0,me===e?te:me)}}else if(y.indexOf(Ft(Y),te)!=te){var we=oe.lastIndexOf(Y);we>-1&&(oe=oe.slice(0,we))}return oe+W}function xp(y){return y=et(y),y&&vt.test(y)?y.replace(ze,qa):y}var wp=Wn(function(y,S,N){return y+(N?" ":"")+S.toUpperCase()}),sr=Rs("toUpperCase");function Nl(y,S,N){return y=et(y),S=N?e:S,S===e?Ha(y)?Ja(y):Na(y):y.match(S)||[]}var Il=Ge(function(y,S){try{return Lt(y,e,S)}catch(N){return nr(N)?N:new Pe(N)}}),Cp=ln(function(y,S){return jt(S,function(N){N=en(N),rn(y,N,er(y[N],y))}),y});function Sp(y){var S=y==null?0:y.length,N=Fe();return y=S?at(y,function(W){if(typeof W[1]!="function")throw new Wt(d);return[N(W[0]),W[1]]}):[],Ge(function(W){for(var Y=-1;++Y<S;){var Z=y[Y];if(Lt(Z[0],this,W))return Lt(Z[1],this,W)}})}function Ep(y){return qu(Ht(y,l))}function lr(y){return function(){return y}}function kp(y,S){return y==null||y!==y?S:y}var Mp=Vs(),Ap=Vs(!0);function $t(y){return y}function ar(y){return gs(typeof y=="function"?y:Ht(y,l))}function Tp(y){return vs(Ht(y,l))}function $p(y,S){return bs(y,Ht(S,l))}var Op=Ge(function(y,S){return function(N){return ti(N,y,S)}}),Lp=Ge(function(y,S){return function(N){return ti(y,N,S)}});function ur(y,S,N){var W=bt(S),Y=Di(S,W);N==null&&!(ut(S)&&(Y.length||!W.length))&&(N=S,S=y,y=this,Y=Di(S,bt(S)));var Z=!(ut(N)&&"chain"in N)||!!N.chain,X=un(y);return jt(Y,function(te){var oe=S[te];y[te]=oe,X&&(y.prototype[te]=function(){var he=this.__chain__;if(Z||he){var pe=y(this.__wrapped__),me=pe.__actions__=Mt(this.__actions__);return me.push({func:oe,args:arguments,thisArg:y}),pe.__chain__=he,pe}return oe.apply(y,hn([this.value()],arguments))})}),y}function Dp(){return yt._===this&&(yt._=ou),this}function dr(){}function Fp(y){return y=We(y),Ge(function(S){return ys(S,y)})}var Np=jo(at),Ip=jo(Pr),Rp=jo(fo);function Rl(y){return Ko(y)?ho(en(y)):fd(y)}function Bp(y){return function(S){return y==null?e:Mn(y,S)}}var Vp=js(),Pp=js(!0);function cr(){return[]}function fr(){return!1}function jp(){return{}}function Wp(){return""}function zp(){return!0}function Hp(y,S){if(y=We(y),y<1||y>B)return[];var N=R,W=xt(y,R);S=Fe(S),y-=R;for(var Y=mo(W,S);++N<y;)S(N);return Y}function Up(y){return je(y)?at(y,en):Nt(y)?[y]:Mt(il(et(y)))}function Gp(y){var S=++nu;return et(y)+S}var Yp=Vi(function(y,S){return y+S},0),Kp=Wo("ceil"),qp=Vi(function(y,S){return y/S},1),Qp=Wo("floor");function Zp(y){return y&&y.length?Li(y,$t,Mo):e}function Jp(y,S){return y&&y.length?Li(y,Fe(S,2),Mo):e}function Xp(y){return zr(y,$t)}function eg(y,S){return zr(y,Fe(S,2))}function tg(y){return y&&y.length?Li(y,$t,Oo):e}function ng(y,S){return y&&y.length?Li(y,Fe(S,2),Oo):e}var ig=Vi(function(y,S){return y*S},1),og=Wo("round"),rg=Vi(function(y,S){return y-S},0);function sg(y){return y&&y.length?go(y,$t):0}function lg(y,S){return y&&y.length?go(y,Fe(S,2)):0}return q.after=Tf,q.ary=pl,q.assign=mh,q.assignIn=Al,q.assignInWith=Ji,q.assignWith=vh,q.at=bh,q.before=gl,q.bind=er,q.bindAll=Cp,q.bindKey=ml,q.castArray=jf,q.chain=cl,q.chunk=qd,q.compact=Qd,q.concat=Zd,q.cond=Sp,q.conforms=Ep,q.constant=lr,q.countBy=sf,q.create=yh,q.curry=vl,q.curryRight=bl,q.debounce=yl,q.defaults=_h,q.defaultsDeep=xh,q.defer=$f,q.delay=Of,q.difference=Jd,q.differenceBy=Xd,q.differenceWith=ec,q.drop=tc,q.dropRight=nc,q.dropRightWhile=ic,q.dropWhile=oc,q.fill=rc,q.filter=af,q.flatMap=cf,q.flatMapDeep=ff,q.flatMapDepth=hf,q.flatten=ll,q.flattenDeep=sc,q.flattenDepth=lc,q.flip=Lf,q.flow=Mp,q.flowRight=Ap,q.fromPairs=ac,q.functions=Ah,q.functionsIn=Th,q.groupBy=pf,q.initial=dc,q.intersection=cc,q.intersectionBy=fc,q.intersectionWith=hc,q.invert=Oh,q.invertBy=Lh,q.invokeMap=mf,q.iteratee=ar,q.keyBy=vf,q.keys=bt,q.keysIn=Tt,q.map=Gi,q.mapKeys=Fh,q.mapValues=Nh,q.matches=Tp,q.matchesProperty=$p,q.memoize=Ki,q.merge=Ih,q.mergeWith=Tl,q.method=Op,q.methodOf=Lp,q.mixin=ur,q.negate=qi,q.nthArg=Fp,q.omit=Rh,q.omitBy=Bh,q.once=Df,q.orderBy=bf,q.over=Np,q.overArgs=Ff,q.overEvery=Ip,q.overSome=Rp,q.partial=tr,q.partialRight=_l,q.partition=yf,q.pick=Vh,q.pickBy=$l,q.property=Rl,q.propertyOf=Bp,q.pull=vc,q.pullAll=ul,q.pullAllBy=bc,q.pullAllWith=yc,q.pullAt=_c,q.range=Vp,q.rangeRight=Pp,q.rearg=Nf,q.reject=wf,q.remove=xc,q.rest=If,q.reverse=Jo,q.sampleSize=Sf,q.set=jh,q.setWith=Wh,q.shuffle=Ef,q.slice=wc,q.sortBy=Af,q.sortedUniq=Tc,q.sortedUniqBy=$c,q.split=cp,q.spread=Rf,q.tail=Oc,q.take=Lc,q.takeRight=Dc,q.takeRightWhile=Fc,q.takeWhile=Nc,q.tap=Qc,q.throttle=Bf,q.thru=Ui,q.toArray=El,q.toPairs=Ol,q.toPairsIn=Ll,q.toPath=Up,q.toPlainObject=Ml,q.transform=zh,q.unary=Vf,q.union=Ic,q.unionBy=Rc,q.unionWith=Bc,q.uniq=Vc,q.uniqBy=Pc,q.uniqWith=jc,q.unset=Hh,q.unzip=Xo,q.unzipWith=dl,q.update=Uh,q.updateWith=Gh,q.values=Un,q.valuesIn=Yh,q.without=Wc,q.words=Nl,q.wrap=Pf,q.xor=zc,q.xorBy=Hc,q.xorWith=Uc,q.zip=Gc,q.zipObject=Yc,q.zipObjectDeep=Kc,q.zipWith=qc,q.entries=Ol,q.entriesIn=Ll,q.extend=Al,q.extendWith=Ji,ur(q,q),q.add=Yp,q.attempt=Il,q.camelCase=Zh,q.capitalize=Dl,q.ceil=Kp,q.clamp=Kh,q.clone=Wf,q.cloneDeep=Hf,q.cloneDeepWith=Uf,q.cloneWith=zf,q.conformsTo=Gf,q.deburr=Fl,q.defaultTo=kp,q.divide=qp,q.endsWith=Jh,q.eq=Qt,q.escape=Xh,q.escapeRegExp=ep,q.every=lf,q.find=uf,q.findIndex=rl,q.findKey=wh,q.findLast=df,q.findLastIndex=sl,q.findLastKey=Ch,q.floor=Qp,q.forEach=fl,q.forEachRight=hl,q.forIn=Sh,q.forInRight=Eh,q.forOwn=kh,q.forOwnRight=Mh,q.get=or,q.gt=Yf,q.gte=Kf,q.has=$h,q.hasIn=rr,q.head=al,q.identity=$t,q.includes=gf,q.indexOf=uc,q.inRange=qh,q.invoke=Dh,q.isArguments=$n,q.isArray=je,q.isArrayBuffer=qf,q.isArrayLike=At,q.isArrayLikeObject=ct,q.isBoolean=Qf,q.isBuffer=_n,q.isDate=Zf,q.isElement=Jf,q.isEmpty=Xf,q.isEqual=eh,q.isEqualWith=th,q.isError=nr,q.isFinite=nh,q.isFunction=un,q.isInteger=xl,q.isLength=Qi,q.isMap=wl,q.isMatch=ih,q.isMatchWith=oh,q.isNaN=rh,q.isNative=sh,q.isNil=ah,q.isNull=lh,q.isNumber=Cl,q.isObject=ut,q.isObjectLike=dt,q.isPlainObject=li,q.isRegExp=ir,q.isSafeInteger=uh,q.isSet=Sl,q.isString=Zi,q.isSymbol=Nt,q.isTypedArray=Hn,q.isUndefined=dh,q.isWeakMap=ch,q.isWeakSet=fh,q.join=pc,q.kebabCase=tp,q.last=Gt,q.lastIndexOf=gc,q.lowerCase=np,q.lowerFirst=ip,q.lt=hh,q.lte=ph,q.max=Zp,q.maxBy=Jp,q.mean=Xp,q.meanBy=eg,q.min=tg,q.minBy=ng,q.stubArray=cr,q.stubFalse=fr,q.stubObject=jp,q.stubString=Wp,q.stubTrue=zp,q.multiply=ig,q.nth=mc,q.noConflict=Dp,q.noop=dr,q.now=Yi,q.pad=op,q.padEnd=rp,q.padStart=sp,q.parseInt=lp,q.random=Qh,q.reduce=_f,q.reduceRight=xf,q.repeat=ap,q.replace=up,q.result=Ph,q.round=og,q.runInContext=ie,q.sample=Cf,q.size=kf,q.snakeCase=dp,q.some=Mf,q.sortedIndex=Cc,q.sortedIndexBy=Sc,q.sortedIndexOf=Ec,q.sortedLastIndex=kc,q.sortedLastIndexBy=Mc,q.sortedLastIndexOf=Ac,q.startCase=fp,q.startsWith=hp,q.subtract=rg,q.sum=sg,q.sumBy=lg,q.template=pp,q.times=Hp,q.toFinite=dn,q.toInteger=We,q.toLength=kl,q.toLower=gp,q.toNumber=Yt,q.toSafeInteger=gh,q.toString=et,q.toUpper=mp,q.trim=vp,q.trimEnd=bp,q.trimStart=yp,q.truncate=_p,q.unescape=xp,q.uniqueId=Gp,q.upperCase=wp,q.upperFirst=sr,q.each=fl,q.eachRight=hl,q.first=al,ur(q,function(){var y={};return Jt(q,function(S,N){Xe.call(q.prototype,N)||(y[N]=S)}),y}(),{chain:!1}),q.VERSION=p,jt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(y){q[y].placeholder=q}),jt(["drop","take"],function(y,S){Qe.prototype[y]=function(N){N=N===e?1:mt(We(N),0);var W=this.__filtered__&&!S?new Qe(this):this.clone();return W.__filtered__?W.__takeCount__=xt(N,W.__takeCount__):W.__views__.push({size:xt(N,R),type:y+(W.__dir__<0?"Right":"")}),W},Qe.prototype[y+"Right"]=function(N){return this.reverse()[y](N).reverse()}}),jt(["filter","map","takeWhile"],function(y,S){var N=S+1,W=N==M||N==F;Qe.prototype[y]=function(Y){var Z=this.clone();return Z.__iteratees__.push({iteratee:Fe(Y,3),type:N}),Z.__filtered__=Z.__filtered__||W,Z}}),jt(["head","last"],function(y,S){var N="take"+(S?"Right":"");Qe.prototype[y]=function(){return this[N](1).value()[0]}}),jt(["initial","tail"],function(y,S){var N="drop"+(S?"":"Right");Qe.prototype[y]=function(){return this.__filtered__?new Qe(this):this[N](1)}}),Qe.prototype.compact=function(){return this.filter($t)},Qe.prototype.find=function(y){return this.filter(y).head()},Qe.prototype.findLast=function(y){return this.reverse().find(y)},Qe.prototype.invokeMap=Ge(function(y,S){return typeof y=="function"?new Qe(this):this.map(function(N){return ti(N,y,S)})}),Qe.prototype.reject=function(y){return this.filter(qi(Fe(y)))},Qe.prototype.slice=function(y,S){y=We(y);var N=this;return N.__filtered__&&(y>0||S<0)?new Qe(N):(y<0?N=N.takeRight(-y):y&&(N=N.drop(y)),S!==e&&(S=We(S),N=S<0?N.dropRight(-S):N.take(S-y)),N)},Qe.prototype.takeRightWhile=function(y){return this.reverse().takeWhile(y).reverse()},Qe.prototype.toArray=function(){return this.take(R)},Jt(Qe.prototype,function(y,S){var N=/^(?:filter|find|map|reject)|While$/.test(S),W=/^(?:head|last)$/.test(S),Y=q[W?"take"+(S=="last"?"Right":""):S],Z=W||/^find/.test(S);!Y||(q.prototype[S]=function(){var X=this.__wrapped__,te=W?[1]:arguments,oe=X instanceof Qe,he=te[0],pe=oe||je(X),me=function(qe){var Ze=Y.apply(q,hn([qe],te));return W&&we?Ze[0]:Ze};pe&&N&&typeof he=="function"&&he.length!=1&&(oe=pe=!1);var we=this.__chain__,Me=!!this.__actions__.length,Ne=Z&&!we,He=oe&&!Me;if(!Z&&pe){X=He?X:new Qe(this);var Ie=y.apply(X,te);return Ie.__actions__.push({func:Ui,args:[me],thisArg:e}),new zt(Ie,we)}return Ne&&He?y.apply(this,te):(Ie=this.thru(me),Ne?W?Ie.value()[0]:Ie.value():Ie)})}),jt(["pop","push","shift","sort","splice","unshift"],function(y){var S=vi[y],N=/^(?:push|sort|unshift)$/.test(y)?"tap":"thru",W=/^(?:pop|shift)$/.test(y);q.prototype[y]=function(){var Y=arguments;if(W&&!this.__chain__){var Z=this.value();return S.apply(je(Z)?Z:[],Y)}return this[N](function(X){return S.apply(je(X)?X:[],Y)})}}),Jt(Qe.prototype,function(y,S){var N=q[S];if(N){var W=N.name+"";Xe.call(Vn,W)||(Vn[W]=[]),Vn[W].push({name:S,func:N})}}),Vn[Bi(e,m).name]=[{name:"wrapper",func:e}],Qe.prototype.clone=_u,Qe.prototype.reverse=xu,Qe.prototype.value=wu,q.prototype.at=Zc,q.prototype.chain=Jc,q.prototype.commit=Xc,q.prototype.next=ef,q.prototype.plant=nf,q.prototype.reverse=of,q.prototype.toJSON=q.prototype.valueOf=q.prototype.value=rf,q.prototype.first=q.prototype.head,Kn&&(q.prototype[Kn]=tf),q},In=Xa();wn?((wn.exports=In)._=In,lo._=In):yt._=In}).call(commonjsGlobal)})(lodash,lodash.exports);var fieldMixin={inject:["refList","sfRefList","getFormConfig","getGlobalDsv","globalOptionData","globalModel","getOptionData"],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:{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 t=this.formModel[this.subFormName];t||(this.formModel[this.subFormName]=[],t=this.formModel[this.subFormName]),t[this.subFormRowIndex]||(t[this.subFormRowIndex]={}),t[this.subFormRowIndex][this.field.options.name]===void 0&&this.field.options.defaultValue!==void 0?(this.fieldModel=this.field.options.defaultValue,t[this.subFormRowIndex][this.field.options.name]=this.field.options.defaultValue):t[this.subFormRowIndex][this.field.options.name]===void 0?(this.fieldModel=null,t[this.subFormRowIndex][this.field.options.name]=null):this.fieldModel=t[this.subFormRowIndex][this.field.options.name],setTimeout(()=>{this.handleOnChangeForSubForm(this.fieldModel,this.oldFieldValue,t,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",t=>{console.log("formModel of globalModel----------",this.globalModel.formModel),this.subFormItemFlag||this.setValue(t[this.field.options.name])}),this.on$("field-value-changed",t=>{if(this.subFormItemFlag){let h=this.formModel[this.subFormName];this.handleOnChangeForSubForm(t[0],t[1],h,this.subFormRowId,this.subFormRowIndex)}else this.handleOnChange(t[0],t[1])}),this.on$("reloadOptionItems",t=>{(t.length===0||t.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(t){this.refList!==null&&!!this.field.options.name&&(this.subFormItemFlag&&!this.designState?(t&&delete this.refList[t+"@row"+this.subFormRowId],this.refList[this.field.options.name+"@row"+this.subFormRowId]=this):(t&&delete this.refList[t],this.refList[this.field.options.name]=this))},unregisterFromRefList(){if(this.refList!==null&&!!this.field.options.name){let t=this.field.options.name;this.subFormItemFlag&&!this.designState?delete this.refList[t+"@row"+this.subFormRowId]:delete this.refList[t]}},initOptionItems(t){if(!this.designState&&(this.field.type==="radio"||this.field.type==="checkbox"||this.field.type==="select"||this.field.type==="cascader")){const h=this.getOptionData();!!h&&h.hasOwnProperty(this.field.options.name)&&(t?this.reloadOptions(h[this.field.options.name]):this.loadOptions(h[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 t=this.field.options.validation;FormValidators[t]?this.rules.push({validator:FormValidators[t],trigger:["blur","change"],label:this.field.options.label,errorMsg:this.field.options.validationHint}):this.rules.push({validator:FormValidators.regExp,trigger:["blur","change"],regExp:t,label:this.field.options.label,errorMsg:this.field.options.validationHint})}if(this.field.options.onValidate){let t=(h,e,p)=>new Function("rule","value","callback",this.field.options.onValidate).call(this,h,e,p);this.rules.push({validator:t,trigger:["blur","change"],label:this.field.options.label})}}},disableChangeValidate(){!this.rules||this.rules.forEach(t=>{t.trigger&&t.trigger.splice(0,t.trigger.length)})},enableChangeValidate(){!this.rules||this.rules.forEach(t=>{t.trigger&&(t.trigger.push("blur"),t.trigger.push("change"))})},disableOptionOfList(t,h){!!t&&t.length>0&&t.forEach(e=>{e.value===h&&(e.disabled=!0)})},enableOptionOfList(t,h){!!t&&t.length>0&&t.forEach(e=>{e.value===h&&(e.disabled=!1)})},emitFieldDataChange(t,h){this.emit$("field-value-changed",[t,h]),this.dispatch("VFormRender","fieldChange",[this.field.options.name,t,h,this.subFormName,this.subFormRowIndex])},syncUpdateFormModel(t){if(!this.designState)if(this.subFormItemFlag){let e=(this.formModel[this.subFormName]||[{}])[this.subFormRowIndex];e&&(e[this.field.options.name]=t)}else this.formModel[this.field.options.name]=t},handleChangeEvent(t){this.syncUpdateFormModel(t),this.emitFieldDataChange(t,this.oldFieldValue),this.oldFieldValue=deepClone(t),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFocusCustomEvent(t){this.oldFieldValue=deepClone(this.fieldModel),this.field.options.onFocus&&new Function("event",this.field.options.onFocus).call(this,t)},handleBlurCustomEvent(t){this.field.options.onBlur&&new Function("event",this.field.options.onBlur).call(this,t)},handleInputCustomEvent(t){this.syncUpdateFormModel(t),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.field.options.onInput&&new Function("value",this.field.options.onInput).call(this,t)},emitAppendButtonClick(){this.designState||(this.field.options.onAppendButtonClick?new Function(this.field.options.onAppendButtonClick).call(this):this.dispatch("VFormRender","appendButtonClick",[this]))},handleOnChange(t,h){this.field.options.onChange&&new Function("value","oldValue",this.field.options.onChange).call(this,t,h)},handleOnChangeForSubForm(t,h,e,p,v){this.field.options.onChange&&new Function("value","oldValue","subFormData","rowId","sfrIdx",this.field.options.onChange).call(this,t,h,e,p,v)},handleButtonWidgetClick(){this.designState||(this.field.options.onClick?new Function(this.field.options.onClick).call(this):this.dispatch("VFormRender","buttonClick",[this]))},remoteQuery(t){this.field.options.onRemoteQuery&&new Function("keyword",this.field.options.onRemoteQuery).call(this,t)},getFormRef(){return this.refList.v_form_ref},getWidgetRef(t,h,e){let p=null;if(this.subFormItemFlag&&!this.designState){let v=e!=null?e:this.subFormRowId;if(v){let g=t+"@row"+v;p=this.refList[g]}}return!p&&(!this.subFormItemFlag||this.designState)&&(console.log(2222222),p=this.refList[t]),!p&&!!h&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),console.log(p,"foundRef"),p},getFieldEditor(){return this.$refs.fieldEditor},setValue(t){if(this.field.formItemFlag){let h=deepClone(this.fieldModel);this.fieldModel=t,this.initFileList(),this.syncUpdateFormModel(t),this.emitFieldDataChange(t,h)}},getValue(){return this.fieldModel},resetField(){let t=this.field.options.defaultValue;this.setValue(t),this.$nextTick(()=>{}),(this.field.type==="picture-upload"||this.field.type==="file-upload")&&(this.$refs.fieldEditor.clearFiles(),this.fileList.splice(0,this.fileList.length))},setWidgetOption(t,h){this.field.options.hasOwnProperty(t)&&(this.field.options[t]=h)},setReadonly(t){this.field.options.readonly=t},setDisabled(t){this.field.options.disabled=t},setAppendButtonVisible(t){this.field.options.appendButton=t},setAppendButtonDisabled(t){this.field.options.appendButtonDisabled=t},setHidden(t){this.field.options.hidden=t,t?this.clearFieldRules():this.buildFieldRules()},setRequired(t){this.field.options.required=t,this.buildFieldRules()},setLabel(t){this.field.options.label=t},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==="checkbox"||this.field.type==="select"&&this.field.options.multiple?this.fieldModel=[]:this.fieldModel="")},loadOptions(t,h){if(h)if(h.subFormRowId){const e=this.refList[h.field.options.name+"@row"+h.subFormRowId];if(e&&e.field){const p=JSON.parse(JSON.stringify(t||[]));e.field.options===h.field.options&&(e.field.options=JSON.parse(JSON.stringify(e.field.options||{}))),e.field.options.optionItems=p}else console.error("\u5B50\u8868\u5355\u9009\u9879\u6570\u636E\u8BBE\u7F6E\u5931\u8D25: \u672A\u627E\u5230\u5B57\u6BB5\u5F15\u7528",{fieldName:h.field.options.name,rowId:h.subFormRowId,refKey:h.field.options.name+"@row"+h.subFormRowId})}else this.field.options.optionItems=deepClone(t||[]);else this.field.options.optionItems=t,console.log(this.field,"this.field.options.optionItems");this.clearSelectedOptions()},reloadOptions(t){this.field.options.optionItems=deepClone(t)},disableOption(t){this.disableOptionOfList(this.field.options.optionItems,t)},enableOption(t){this.enableOptionOfList(this.field.options.optionItems,t)},getOptionItems(){return this.field.options.optionItems},setUploadHeader(t,h){this.uploadHeaders[t]=h},setUploadData(t,h){this.uploadData[t]=h},setToolbar(t){this.customToolbar=t},isSubFormItem(){return this.parentWidget?this.parentWidget.type==="sub-form"||this.parentWidget.type==="custom-sub-form":!1},addCssClass(t){this.field.options.customClass?this.field.options.customClass.push(t):this.field.options.customClass=[t]},removeCssClass(t){if(!this.field.options.customClass)return;let h=-1;this.field.options.customClass.map((e,p)=>{e===t&&(h=p)}),h>-1&&this.field.options.customClass.splice(h,1)}}},buttonWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$3p={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$3p(t,h,e,p,v,g){const d=vue.resolveComponent("el-button"),c=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(c,{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(d,{ref:"fieldEditor",type:e.field.options.type,size:t.widgetSize,plain:e.field.options.plain,round:e.field.options.round,circle:e.field.options.circle,icon:e.field.options.icon,disabled:e.field.options.disabled,onClick:t.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$3p,[["render",_sfc_render$3p],["__scopeId","data-v-1ba2a127"]]),__glob_0_0$2=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$3o={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(t){this.designer&&(this.designer.setSelected(t),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 t=this.designer.selectedWidgetName;let h=null;this.parentList.length===1?this.parentWidget&&(h=this.parentWidget):this.parentList.length===1+this.indexOfParentList?h=this.parentList[this.indexOfParentList-1]:h=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(h),this.designer.formWidget.deleteWidgetRef(t),this.designer.emitHistoryChange()})}},getPropName(){return this.subFormItemFlag&&!this.designState?this.subFormName+"."+this.subFormRowIndex+"."+this.field.options.name+"":this.field.options.name}}},_hoisted_1$O={key:0,class:"custom-label"},_hoisted_2$y={key:0,class:"field-action"},_hoisted_3$u=["title"],_hoisted_4$j=["title"],_hoisted_5$f=["title"],_hoisted_6$e=["title"],_hoisted_7$b={key:1,class:"drag-handler background-opacity"},_hoisted_8$7=["title"],_hoisted_9$5={key:0};function _sfc_render$3o(t,h,e,p,v,g){const d=vue.resolveComponent("svg-icon"),c=vue.resolveComponent("el-tooltip"),o=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(o,{key:0,label:g.label,"label-width":g.labelWidth+"px",title:e.field.options.labelTooltip,rules:e.rules,prop:g.getPropName(),class:vue.normalizeClass([g.selected?"selected":"",g.labelAlign,g.customClass,e.field.options.required?"required":""]),onClick:h[0]||(h[0]=vue.withModifiers(a=>g.selectField(e.field),["stop"]))},{label:vue.withCtx(()=>[e.field.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$O,[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(c,{content:e.field.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])]),_:1},8,["content"]),vue.createTextVNode(vue.toDisplayString(g.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(d,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(g.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(g.label),1),vue.createVNode(c,{content:e.field.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(d,{"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(g.label),1),vue.createVNode(d,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[vue.renderSlot(t.$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$y,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:h[1]||(h[1]=vue.withModifiers(a=>g.selectParentWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-back"})],8,_hoisted_3$u),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:h[2]||(h[2]=vue.withModifiers(a=>g.moveUpWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-up"})],8,_hoisted_4$j)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:h[3]||(h[3]=vue.withModifiers(a=>g.moveDownWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-down"})],8,_hoisted_5$f)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:h[4]||(h[4]=vue.withModifiers((...a)=>g.removeFieldWidget&&g.removeFieldWidget(...a),["stop"]))},[vue.createVNode(d,{"icon-class":"el-delete"})],8,_hoisted_6$e)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$b,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.dragHandler")},[vue.createVNode(d,{"icon-class":"el-drag-move"})],8,_hoisted_8$7),vue.createElementVNode("i",null,vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${e.field.type}`,`extension.widgetLabel.${e.field.type}`)),1),e.field.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$5,[vue.createVNode(d,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],2)}var FormItemWrapper=_export_sfc$1(_sfc_main$3o,[["render",_sfc_render$3o],["__scopeId","data-v-eed9a7f0"]]),__glob_0_8$1=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$3n={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$N={class:"full-width-input"};function _sfc_render$3n(t,h,e,p,v,g){const d=vue.resolveComponent("el-cascader"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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$N,[vue.createVNode(d,{ref:"fieldEditor",options:e.field.options.optionItems,modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),"show-all-levels":g.showFullPath,props:{checkStrictly:e.field.options.checkStrictly,multiple:e.field.options.multiple,expandTrigger:"hover"},onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$3n,[["render",_sfc_render$3n],["__scopeId","data-v-ec070d7c"]]),__glob_0_1$3=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$3m={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$3m(t,h,e,p,v,g){const d=vue.resolveComponent("el-checkbox-button"),c=vue.resolveComponent("el-checkbox"),o=vue.resolveComponent("el-checkbox-group"),a=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(a,{designer:e.designer,field:e.field,rules:v.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(o,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=i=>v.fieldModel=i),disabled:e.field.options.disabled,size:t.widgetSize,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems,(i,l)=>(vue.openBlock(),vue.createBlock(d,{key:l,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(i.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems,(i,l)=>(vue.openBlock(),vue.createBlock(c,{key:l,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(i.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$3m,[["render",_sfc_render$3m],["__scopeId","data-v-716b0a6b"]]),__glob_0_2$3=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$3l={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$3l(t,h,e,p,v,g){const d=vue.resolveComponent("el-color-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),size:t.widgetSize,disabled:e.field.options.disabled,onChange:t.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$3l,[["render",_sfc_render$3l],["__scopeId","data-v-8d04bd98"]]),__glob_0_3$3=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$3k={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$3k(t,h,e,p,v,g){const d=vue.resolveComponent("el-date-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",type:e.field.options.type,modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.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||t.i18nt("render.hint.startDatePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||t.i18nt("render.hint.endDatePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$3k,[["render",_sfc_render$3k],["__scopeId","data-v-1c70f5c8"]]),__glob_0_4$3=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$3j={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$3j(t,h,e,p,v,g){const d=vue.resolveComponent("el-date-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",type:e.field.options.type,modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),readonly:e.field.options.readonly,disabled:e.field.options.disabled,size:t.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||t.i18nt("render.hint.datePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$3j,[["render",_sfc_render$3j],["__scopeId","data-v-75b85548"]]),__glob_0_5$3=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$3i={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$3i(t,h,e,p,v,g){const d=vue.resolveComponent("el-divider"),c=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(c,{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(d,{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$3i,[["render",_sfc_render$3i],["__scopeId","data-v-09a1b973"]]),__glob_0_6$2=Object.freeze(Object.defineProperty({__proto__:null,default:dividerWidget},Symbol.toStringTag,{value:"Module"})),_export_sfc=(t,h)=>{const e=t.__vccOpts||t;for(const[p,v]of h)e[p]=v;return e};const _sfc_main$3h=vue.defineComponent({name:"ArrowDownBold"}),_hoisted_1$M={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$x=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$t=[_hoisted_2$x];function _sfc_render$3h(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$M,_hoisted_3$t)}var arrowDownBold=_export_sfc(_sfc_main$3h,[["render",_sfc_render$3h]]);const _sfc_main$3g=vue.defineComponent({name:"ArrowDown"}),_hoisted_1$L={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$w=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$s=[_hoisted_2$w];function _sfc_render$3g(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$L,_hoisted_3$s)}var arrowDown=_export_sfc(_sfc_main$3g,[["render",_sfc_render$3g]]);const _sfc_main$3f=vue.defineComponent({name:"ArrowUp"}),_hoisted_1$K={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$v=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$r=[_hoisted_2$v];function _sfc_render$3f(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$K,_hoisted_3$r)}var arrowUp=_export_sfc(_sfc_main$3f,[["render",_sfc_render$3f]]);const _sfc_main$3e=vue.defineComponent({name:"CirclePlus"}),_hoisted_1$J={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$u=vue.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"},null,-1),_hoisted_3$q=vue.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"},null,-1),_hoisted_4$i=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$e=[_hoisted_2$u,_hoisted_3$q,_hoisted_4$i];function _sfc_render$3e(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$J,_hoisted_5$e)}var circlePlus=_export_sfc(_sfc_main$3e,[["render",_sfc_render$3e]]);const _sfc_main$3d=vue.defineComponent({name:"Delete"}),_hoisted_1$I={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$t=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$p=[_hoisted_2$t];function _sfc_render$3d(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$I,_hoisted_3$p)}var _delete=_export_sfc(_sfc_main$3d,[["render",_sfc_render$3d]]);const _sfc_main$3c=vue.defineComponent({name:"Edit"}),_hoisted_1$H={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:"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$o=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$h=[_hoisted_2$s,_hoisted_3$o];function _sfc_render$3c(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$H,_hoisted_4$h)}var edit=_export_sfc(_sfc_main$3c,[["render",_sfc_render$3c]]);const _sfc_main$3b=vue.defineComponent({name:"InfoFilled"}),_hoisted_1$G={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:"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$n=[_hoisted_2$r];function _sfc_render$3b(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$G,_hoisted_3$n)}var infoFilled=_export_sfc(_sfc_main$3b,[["render",_sfc_render$3b]]);const _sfc_main$3a=vue.defineComponent({name:"Loading"}),_hoisted_1$F={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:"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$m=[_hoisted_2$q];function _sfc_render$3a(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$F,_hoisted_3$m)}var loading=_export_sfc(_sfc_main$3a,[["render",_sfc_render$3a]]);const _sfc_main$39=vue.defineComponent({name:"Minus"}),_hoisted_1$E={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:"M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"},null,-1),_hoisted_3$l=[_hoisted_2$p];function _sfc_render$39(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$E,_hoisted_3$l)}var minus=_export_sfc(_sfc_main$39,[["render",_sfc_render$39]]);const _sfc_main$38=vue.defineComponent({name:"Plus"}),_hoisted_1$D={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:"M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"},null,-1),_hoisted_3$k=[_hoisted_2$o];function _sfc_render$38(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$D,_hoisted_3$k)}var plus=_export_sfc(_sfc_main$38,[["render",_sfc_render$38]]);const _sfc_main$37=vue.defineComponent({name:"Search"}),_hoisted_1$C={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:"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$j=[_hoisted_2$n];function _sfc_render$37(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$C,_hoisted_3$j)}var search=_export_sfc(_sfc_main$37,[["render",_sfc_render$37]]),defaultConfig={expireTimes:"1d",path:"; path=/",domain:"",secure:!1,sameSite:"; SameSite=Lax"},VueCookiesManager=function(){function t(){this.current_default_config=defaultConfig}return t.prototype.config=function(h){for(var e in this.current_default_config)this.current_default_config[e]=h[e]?h[e]:defaultConfig[e]},t.prototype.get=function(h){var e=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(h).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},t.prototype.set=function(h,e,p,v,g,d,c){if(h){if(/^(?:expires|max-age|path|domain|secure|SameSite)$/i.test(h))throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"] current key name: '+h)}else throw new Error("Cookie name is not found in the first argument.");e&&e.constructor===Object&&(e=JSON.stringify(e));var o="";if(p==null&&(p=this.current_default_config.expireTimes?this.current_default_config.expireTimes:""),p&&p!=0)switch(p.constructor){case Number:p===1/0||p===-1?o="; expires=Fri, 31 Dec 9999 23:59:59 GMT":o="; max-age="+p;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(p)){var a=p.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(p.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":o="; max-age="+ +a*2592e3;break;case"d":o="; max-age="+ +a*86400;break;case"h":o="; max-age="+ +a*3600;break;case"min":o="; max-age="+ +a*60;break;case"s":o="; max-age="+a;break;case"y":o="; max-age="+ +a*31104e3;break}}else o="; expires="+p;break;case Date:o="; expires="+p.toUTCString();break}return document.cookie=encodeURIComponent(h)+"="+encodeURIComponent(e)+o+(g?"; domain="+g:this.current_default_config.domain?this.current_default_config.domain:"")+(v?"; path="+v:this.current_default_config.path?this.current_default_config.path:"; path=/")+(d==null?this.current_default_config.secure?"; Secure":"":d?"; Secure":"")+(c==null?this.current_default_config.sameSite?"; SameSute="+this.current_default_config.sameSite:"":c?"; SameSite="+c:""),this},t.prototype.remove=function(h,e,p){return!h||!this.isKey(h)?!1:(document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(p?"; domain="+p: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)},t.prototype.isKey=function(h){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(h).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},t.prototype.keys=function(){if(!document.cookie)return[];for(var h=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),e=0;e<h.length;e++)h[e]=decodeURIComponent(h[e]);return h},t}(),GLOBAL_COOKIES_MANAGER=null;function useCookies(){GLOBAL_COOKIES_MANAGER==null&&(GLOBAL_COOKIES_MANAGER=new VueCookiesManager);var t=vue.reactive(GLOBAL_COOKIES_MANAGER);return{cookies:t}}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="";const{cookies:cookies$1}=useCookies();let selectFileText="'"+translate("render.hint.selectFile")+"'";const _sfc_main$36={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:cookies$1.get("Authorization"),client:"web"},uploadData:{},fileList:[],uploadBtnHidden:!1,styleVariables:{"--select-file-action":selectFileText},showProgress:!1,progressPercent:0}},computed:{realUploadURL(){let t=this.field.options.uploadURL;if(console.log("test uploadURL: ",t),t)return t;if(!!t&&(t.indexOf("DSV.")>-1||t.indexOf("DSV[")>-1)){let h=this.getGlobalDsv();return console.log("test DSV: ",h),console.log("test uploadURL: ",evalFn(this.field.options.uploadURL,h)),evalFn(this.field.options.uploadURL,h)}return"/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(t,h,e){console.log("handleProgress",t,h,e),this.progressPercent=t.percent.toFixed(0)},handleFileExceed(){let t=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",t))},beforeFileUpload(t){console.log("beforeFileUpload",t);let h=!1,e=t.name.substring(t.name.lastIndexOf(".")+1);if(!!this.field.options&&!!this.field.options.fileTypes){let g=this.field.options.fileTypes;g.length>0&&(h=g.some(d=>e.toLowerCase()===d.toLowerCase()))}if(!h)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+e),!1;console.log("fileTypeCheckResult",h);let p=!1,v=5;return!!this.field.options&&!!this.field.options.fileMaxSize&&(v=this.field.options.fileMaxSize),p=t.size/1024/1024<=v,console.log("fileSizeCheckResult",p),p?(this.uploadData.key=t.name,console.log("uploadData.key",this.uploadData.key),console.log("handleOnBeforeUpload",this.handleOnBeforeUpload(t)),this.showProgress=!0,!0):(this.$message.error(this.i18nt("render.hint.fileSizeExceed")+v+"MB"),!1)},handleOnBeforeUpload(t){if(console.log("handleOnBeforeUpload",!!this.field.options.onBeforeUpload,t),this.field.options.onBeforeUpload){let e=new Function("file",this.field.options.onBeforeUpload).call(this,t);return typeof e=="boolean"?e:!0}else return!0},updateFieldModelAndEmitDataChangeForUpload(t,h,e){let p=deepClone(this.fieldModel);!!h&&!!h.name&&!!h.url?this.fieldModel.push({name:h.name,url:h.url}):!!e&&!!e.name&&!!e.url?this.fieldModel.push({name:e.name,url:e.url}):this.fieldModel=deepClone(t),console.log("this.fieldModel",this.fieldModel),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,p),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFileUpload(t,h,e){if(console.log("handleFileUpload",t,h,e),this.showProgress=!1,h.status==="success"){elementPlus.ElMessage.success("\u4E0A\u4F20\u6210\u529F");let p=null;this.field.options.onUploadSuccess&&(p=new Function("result","file","fileList",this.field.options.onUploadSuccess).call(this,t,h,e));const v=e.map(g=>{if(g.response){const{data:d}=g.response;return{fileName:d.fileName,fileId:d.fileId,fileUrl:d.fileUrl}}else return g});this.updateFieldModelAndEmitDataChangeForUpload(v,p,t),!!p&&!!p.name?h.name=p.name:h.name=h.name||t.name||t.fileName||t.filename,!!p&&!!p.url?h.url=p.url:h.url=h.url||t.url,this.fileList=deepClone(e),this.uploadBtnHidden=e.length>=this.field.options.limit}},updateFieldModelAndEmitDataChangeForRemove(t,h){let e=deepClone(this.fieldModel);this.fieldModel.splice(t,1),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,e),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},removeUploadFile(t,h,e){let p=-1,v=null;this.fileList.forEach((g,d)=>{g.name===t&&(g.url===h||!!e&&g.uid===e)&&(p=d,v=g)}),p>=0&&(this.fileList.splice(p,1),this.updateFieldModelAndEmitDataChangeForRemove(p,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,v,this.fileList))},handleUploadError(t,h,e){this.field.options.onUploadError?new Function("error","file","fileList",this.field.options.onUploadError).call(this,t,h,e):this.$message({message:this.i18nt("render.hint.uploadError")+t,duration:3e3,type:"error"})}}},_hoisted_1$B={class:"file-upload-widget-container"},_hoisted_2$m={key:0,class:"el-upload__tip"},_hoisted_3$i={class:"upload-file-list"},_hoisted_4$g={class:"left-wrap"},_hoisted_5$d=["title"],_hoisted_6$d={class:"right-wrap"},_hoisted_7$a=["title","onClick"];function _sfc_render$36(t,h,e,p,v,g){const d=vue.resolveComponent("upload-filled"),c=vue.resolveComponent("el-icon"),o=vue.resolveComponent("el-button"),a=vue.resolveComponent("el-upload"),i=vue.resolveComponent("el-progress"),l=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(l,{designer:e.designer,field:e.field,rules:v.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$B,[vue.createVNode(a,{ref:"fieldEditor",disabled:e.field.options.disabled,style:vue.normalizeStyle(v.styleVariables),class:vue.normalizeClass(["dynamicPseudoAfter",{hideUploadDiv:v.uploadBtnHidden}]),action:g.realUploadURL,headers:v.uploadHeaders,data:v.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":v.fileList,"show-file-list":e.field.options.showFileList,limit:e.field.options.limit,"on-success":g.handleFileUpload,"on-error":g.handleUploadError,drag:e.field.options.allowDrag,"on-exceed":g.handleFileExceed,"before-upload":g.beforeFileUpload,"on-progress":g.handleProgress},{tip:vue.withCtx(()=>[e.field.options.uploadTip?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$m,vue.toDisplayString(e.field.options.uploadTip),1)):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[e.field.options.allowDrag?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(c,{class:"el-icon--upload"},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1}),h[0]||(h[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(o,{key:1,type:"primary"},{default:vue.withCtx(()=>[...h[1]||(h[1]=[vue.createTextVNode(" \u9009\u62E9\u6587\u4EF6",-1)])]),_:1}))]),file:vue.withCtx(({file:n})=>[vue.createElementVNode("div",_hoisted_3$i,[vue.createElementVNode("div",_hoisted_4$g,[vue.createElementVNode("span",{class:"upload-file-name",title:n.name},vue.toDisplayString(n.name),9,_hoisted_5$d)]),vue.createElementVNode("div",_hoisted_6$d,[e.field.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"file-action",title:t.i18nt("render.hint.removeFile"),onClick:r=>g.removeUploadFile(n.name,n.url,n.uid)},[...h[2]||(h[2]=[vue.createElementVNode("img",{src:_imports_0,alt:""},null,-1)])],8,_hoisted_7$a))])])]),_:1},8,["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(i,{style:vue.normalizeStyle({display:v.showProgress?"inline-flex":"none",width:"100%"}),percentage:v.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$36,[["render",_sfc_render$36],["__scopeId","data-v-542e5c70"]]),__glob_0_7$1=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$35={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$A=["innerHTML"];function _sfc_render$35(t,h,e,p,v,g){const d=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(d,{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$A)]),_: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$35,[["render",_sfc_render$35],["__scopeId","data-v-3d941b4e"]]),__glob_0_9$1=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$34={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$34(t,h,e,p,v,g){const d=vue.resolveComponent("svg-icon"),c=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-input"),a=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(a,{designer:e.designer,field:e.field,rules:v.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(o,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=i=>v.fieldModel=i),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.widgetSize,class:"hide-spin-button",type:g.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:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(c,{disabled:e.field.options.disabled||e.field.options.appendButtonDisabled,onClick:t.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(d,{"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$34,[["render",_sfc_render$34],["__scopeId","data-v-0aad1a31"]]),__glob_0_10$1=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$33={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$33(t,h,e,p,v,g){const d=vue.resolveComponent("el-input-number"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),class:"full-width-input",disabled:e.field.options.disabled,size:t.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:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$33,[["render",_sfc_render$33],["__scopeId","data-v-0b9bc82f"]]),__glob_0_11$1=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$32={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(t=>t.url)},realUploadURL(){let t=this.field.options.uploadURL;if(!!t&&(t.indexOf("DSV.")>-1||t.indexOf("DSV[")>-1)){let h=this.getGlobalDsv();return console.log("test DSV: ",h),evalFn(this.field.options.uploadURL,h)}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 t=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",t))},beforePictureUpload(t){let h=!1;if(!!this.field.options&&!!this.field.options.fileTypes){let v=this.field.options.fileTypes;v.length>0&&(h=v.some(g=>t.type==="image/"+g))}if(!h)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+t.type),!1;let e=!1,p=5;return!!this.field.options&&!!this.field.options.fileMaxSize&&(p=this.field.options.fileMaxSize),e=t.size/1024/1024<=p,e?(this.uploadData.key=t.name,this.handleOnBeforeUpload(t)):(this.$message.error(this.$("render.hint.fileSizeExceed")+p+"MB"),!1)},handleOnBeforeUpload(t){if(this.field.options.onBeforeUpload){let e=new Function("file",this.field.options.onBeforeUpload).call(this,t);return typeof e=="boolean"?e:!0}return!0},updateFieldModelAndEmitDataChangeForUpload(t,h,e){let p=deepClone(this.fieldModel);!!h&&!!h.name&&!!h.url?this.fieldModel.push({name:h.name,url:h.url}):!!e&&!!e.name&&!!e.url?this.fieldModel.push({name:e.name,url:e.url}):this.fieldModel=deepClone(t),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,p),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handlePictureUpload(t,h,e){if(h.status==="success"){let p=null;this.field.options.onUploadSuccess&&(p=new Function("result","file","fileList",this.field.options.onUploadSuccess).call(this,t,h,e)),this.updateFieldModelAndEmitDataChangeForUpload(e,p,t),this.fileList=deepClone(e),this.uploadBtnHidden=e.length>=this.field.options.limit}},updateFieldModelAndEmitDataChangeForRemove(t){let h=deepClone(this.fieldModel),e=-1;this.fileListBeforeRemove.map((p,v)=>{p.name===t.name&&(p.url===t.url||!!p.uid&&p.uid===t.uid)&&(e=v)}),e>-1&&this.fieldModel.splice(e,1),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,h),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleBeforeRemove(t){this.fileListBeforeRemove=deepClone(t)},handlePictureRemove(t){this.handleBeforeRemove(this.fileList),this.fileList.splice(this.fileList.indexOf(t),1),this.updateFieldModelAndEmitDataChangeForRemove(t);let h=deepClone(this.fileList);this.uploadBtnHidden=h.length>=this.field.options.limit,this.field.options.onFileRemove&&new Function("file","fileList",this.field.options.onFileRemove).call(this,t,h)},handleUploadError(t,h,e){this.field.options.onUploadError?new Function("error","file","fileList",this.field.options.onUploadError).call(this,t,h,e):this.$message({message:this.i18nt("render.hint.uploadError")+t,duration:3e3,type:"error"})},handlePictureCardPreview({url:t}){this.previewIndex=this.previewList.indexOf(t),this.$refs.imageRef.$el.children[0].click()}}},_hoisted_1$z={class:"el-upload-list__item-status-label"},_hoisted_2$l={class:"el-icon--upload-success",style:{color:"#FFF"}},_hoisted_3$h={class:"el-upload-list__item-actions"},_hoisted_4$f=["onClick"],_hoisted_5$c=["onClick"],_hoisted_6$c={key:0,class:"el-upload__tip"},_hoisted_7$9={class:"uploader-icon"};function _sfc_render$32(t,h,e,p,v,g){const d=vue.resolveComponent("el-image"),c=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("el-upload"),a=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(a,{designer:e.designer,field:e.field,rules:v.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(o,{ref:"fieldEditor",disabled:e.field.options.disabled,action:g.realUploadURL,headers:v.uploadHeaders,data:v.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":v.fileList,"show-file-list":e.field.options.showFileList,"list-type":"picture-card",class:vue.normalizeClass({hideUploadDiv:v.uploadBtnHidden}),limit:e.field.options.limit,"on-exceed":g.handlePictureExceed,"before-upload":g.beforePictureUpload,"on-preview":g.handlePictureCardPreview,"on-success":g.handlePictureUpload,"on-error":g.handleUploadError,drag:e.field.options.allowDrag},{file:vue.withCtx(({file:i})=>[vue.createVNode(d,{ref:"imageRef",style:{width:"100%",height:"100%"},src:i.url,"preview-src-list":g.previewList,"initial-index":v.previewIndex,fit:"cover","preview-teleported":""},null,8,["src","preview-src-list","initial-index"]),vue.createElementVNode("label",_hoisted_1$z,[vue.createElementVNode("i",_hoisted_2$l,[vue.createVNode(c,{class:"","icon-class":"el-check"})])]),vue.createElementVNode("span",_hoisted_3$h,[vue.createElementVNode("span",{class:"el-upload-list__item-preview",onClick:l=>g.handlePictureCardPreview(i)},[vue.createVNode(c,{"icon-class":"el-zoom-in"})],8,_hoisted_4$f),vue.createElementVNode("span",{class:"el-upload-list__item-delete",onClick:l=>g.handlePictureRemove(i)},[vue.createVNode(c,{"icon-class":"el-delete"})],8,_hoisted_5$c)])]),tip:vue.withCtx(()=>[e.field.options.uploadTip?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$c,vue.toDisplayString(e.field.options.uploadTip),1)):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_7$9,[vue.createVNode(c,{"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$32,[["render",_sfc_render$32],["__scopeId","data-v-062b2766"]]),__glob_0_12$1=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$31={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$31(t,h,e,p,v,g){const d=vue.resolveComponent("el-radio-button"),c=vue.resolveComponent("el-radio"),o=vue.resolveComponent("el-radio-group"),a=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(a,{designer:e.designer,field:e.field,rules:v.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(o,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=i=>v.fieldModel=i),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:e.field.options.disabled,size:t.widgetSize,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems,(i,l)=>(vue.openBlock(),vue.createBlock(d,{key:l,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(i.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems,(i,l)=>(vue.openBlock(),vue.createBlock(c,{key:l,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(i.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$31,[["render",_sfc_render$31],["__scopeId","data-v-253adc5e"]]),__glob_0_13$1=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$30={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$30(t,h,e,p,v,g){const d=vue.resolveComponent("el-rate"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,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:t.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$30,[["render",_sfc_render$30],["__scopeId","data-v-409c0e8b"]]),__glob_0_14$1=Object.freeze(Object.defineProperty({__proto__:null,default:rateWidget},Symbol.toStringTag,{value:"Module"})),quill={exports:{}};/*!
33
+ }`;var He=Il(function(){return Je(Z,Me+"return "+me).apply(e,X)});if(He.source=me,nr(He))throw He;return He}function gp(y){return et(y).toLowerCase()}function mp(y){return et(y).toUpperCase()}function vp(y,S,N){if(y=et(y),y&&(N||S===e))return Ur(y);if(!y||!(S=Ft(S)))return y;var W=Kt(y),Y=Kt(S),Z=Gr(W,Y),X=Yr(W,Y)+1;return yn(W,Z,X).join("")}function bp(y,S,N){if(y=et(y),y&&(N||S===e))return y.slice(0,qr(y)+1);if(!y||!(S=Ft(S)))return y;var W=Kt(y),Y=Yr(W,Kt(S))+1;return yn(W,0,Y).join("")}function yp(y,S,N){if(y=et(y),y&&(N||S===e))return y.replace(Vt,"");if(!y||!(S=Ft(S)))return y;var W=Kt(y),Y=Gr(W,Kt(S));return yn(W,Y).join("")}function _p(y,S){var N=k,W=D;if(ut(S)){var Y="separator"in S?S.separator:Y;N="length"in S?We(S.length):N,W="omission"in S?Ft(S.omission):W}y=et(y);var Z=y.length;if(Fn(y)){var X=Kt(y);Z=X.length}if(N>=Z)return y;var te=N-Nn(W);if(te<1)return W;var oe=X?yn(X,0,te).join(""):y.slice(0,te);if(Y===e)return oe+W;if(X&&(te+=oe.length-te),ir(Y)){if(y.slice(te).search(Y)){var he,pe=oe;for(Y.global||(Y=yo(Y.source,et(hr.exec(Y))+"g")),Y.lastIndex=0;he=Y.exec(pe);)var me=he.index;oe=oe.slice(0,me===e?te:me)}}else if(y.indexOf(Ft(Y),te)!=te){var we=oe.lastIndexOf(Y);we>-1&&(oe=oe.slice(0,we))}return oe+W}function xp(y){return y=et(y),y&&vt.test(y)?y.replace(ze,qa):y}var wp=Wn(function(y,S,N){return y+(N?" ":"")+S.toUpperCase()}),sr=Rs("toUpperCase");function Nl(y,S,N){return y=et(y),S=N?e:S,S===e?Ha(y)?Ja(y):Na(y):y.match(S)||[]}var Il=Ge(function(y,S){try{return Lt(y,e,S)}catch(N){return nr(N)?N:new Pe(N)}}),Cp=ln(function(y,S){return jt(S,function(N){N=en(N),rn(y,N,er(y[N],y))}),y});function Sp(y){var S=y==null?0:y.length,N=Fe();return y=S?at(y,function(W){if(typeof W[1]!="function")throw new Wt(d);return[N(W[0]),W[1]]}):[],Ge(function(W){for(var Y=-1;++Y<S;){var Z=y[Y];if(Lt(Z[0],this,W))return Lt(Z[1],this,W)}})}function Ep(y){return qu(Ht(y,l))}function lr(y){return function(){return y}}function kp(y,S){return y==null||y!==y?S:y}var Mp=Vs(),Ap=Vs(!0);function $t(y){return y}function ar(y){return gs(typeof y=="function"?y:Ht(y,l))}function Tp(y){return vs(Ht(y,l))}function $p(y,S){return bs(y,Ht(S,l))}var Op=Ge(function(y,S){return function(N){return ti(N,y,S)}}),Lp=Ge(function(y,S){return function(N){return ti(y,N,S)}});function ur(y,S,N){var W=bt(S),Y=Di(S,W);N==null&&!(ut(S)&&(Y.length||!W.length))&&(N=S,S=y,y=this,Y=Di(S,bt(S)));var Z=!(ut(N)&&"chain"in N)||!!N.chain,X=un(y);return jt(Y,function(te){var oe=S[te];y[te]=oe,X&&(y.prototype[te]=function(){var he=this.__chain__;if(Z||he){var pe=y(this.__wrapped__),me=pe.__actions__=Mt(this.__actions__);return me.push({func:oe,args:arguments,thisArg:y}),pe.__chain__=he,pe}return oe.apply(y,hn([this.value()],arguments))})}),y}function Dp(){return yt._===this&&(yt._=ou),this}function dr(){}function Fp(y){return y=We(y),Ge(function(S){return ys(S,y)})}var Np=jo(at),Ip=jo(Pr),Rp=jo(fo);function Rl(y){return Ko(y)?ho(en(y)):fd(y)}function Bp(y){return function(S){return y==null?e:Mn(y,S)}}var Vp=js(),Pp=js(!0);function cr(){return[]}function fr(){return!1}function jp(){return{}}function Wp(){return""}function zp(){return!0}function Hp(y,S){if(y=We(y),y<1||y>B)return[];var N=R,W=xt(y,R);S=Fe(S),y-=R;for(var Y=mo(W,S);++N<y;)S(N);return Y}function Up(y){return je(y)?at(y,en):Nt(y)?[y]:Mt(il(et(y)))}function Gp(y){var S=++nu;return et(y)+S}var Yp=Vi(function(y,S){return y+S},0),Kp=Wo("ceil"),qp=Vi(function(y,S){return y/S},1),Qp=Wo("floor");function Zp(y){return y&&y.length?Li(y,$t,Mo):e}function Jp(y,S){return y&&y.length?Li(y,Fe(S,2),Mo):e}function Xp(y){return zr(y,$t)}function eg(y,S){return zr(y,Fe(S,2))}function tg(y){return y&&y.length?Li(y,$t,Oo):e}function ng(y,S){return y&&y.length?Li(y,Fe(S,2),Oo):e}var ig=Vi(function(y,S){return y*S},1),og=Wo("round"),rg=Vi(function(y,S){return y-S},0);function sg(y){return y&&y.length?go(y,$t):0}function lg(y,S){return y&&y.length?go(y,Fe(S,2)):0}return q.after=Tf,q.ary=pl,q.assign=mh,q.assignIn=Al,q.assignInWith=Ji,q.assignWith=vh,q.at=bh,q.before=gl,q.bind=er,q.bindAll=Cp,q.bindKey=ml,q.castArray=jf,q.chain=cl,q.chunk=qd,q.compact=Qd,q.concat=Zd,q.cond=Sp,q.conforms=Ep,q.constant=lr,q.countBy=sf,q.create=yh,q.curry=vl,q.curryRight=bl,q.debounce=yl,q.defaults=_h,q.defaultsDeep=xh,q.defer=$f,q.delay=Of,q.difference=Jd,q.differenceBy=Xd,q.differenceWith=ec,q.drop=tc,q.dropRight=nc,q.dropRightWhile=ic,q.dropWhile=oc,q.fill=rc,q.filter=af,q.flatMap=cf,q.flatMapDeep=ff,q.flatMapDepth=hf,q.flatten=ll,q.flattenDeep=sc,q.flattenDepth=lc,q.flip=Lf,q.flow=Mp,q.flowRight=Ap,q.fromPairs=ac,q.functions=Ah,q.functionsIn=Th,q.groupBy=pf,q.initial=dc,q.intersection=cc,q.intersectionBy=fc,q.intersectionWith=hc,q.invert=Oh,q.invertBy=Lh,q.invokeMap=mf,q.iteratee=ar,q.keyBy=vf,q.keys=bt,q.keysIn=Tt,q.map=Gi,q.mapKeys=Fh,q.mapValues=Nh,q.matches=Tp,q.matchesProperty=$p,q.memoize=Ki,q.merge=Ih,q.mergeWith=Tl,q.method=Op,q.methodOf=Lp,q.mixin=ur,q.negate=qi,q.nthArg=Fp,q.omit=Rh,q.omitBy=Bh,q.once=Df,q.orderBy=bf,q.over=Np,q.overArgs=Ff,q.overEvery=Ip,q.overSome=Rp,q.partial=tr,q.partialRight=_l,q.partition=yf,q.pick=Vh,q.pickBy=$l,q.property=Rl,q.propertyOf=Bp,q.pull=vc,q.pullAll=ul,q.pullAllBy=bc,q.pullAllWith=yc,q.pullAt=_c,q.range=Vp,q.rangeRight=Pp,q.rearg=Nf,q.reject=wf,q.remove=xc,q.rest=If,q.reverse=Jo,q.sampleSize=Sf,q.set=jh,q.setWith=Wh,q.shuffle=Ef,q.slice=wc,q.sortBy=Af,q.sortedUniq=Tc,q.sortedUniqBy=$c,q.split=cp,q.spread=Rf,q.tail=Oc,q.take=Lc,q.takeRight=Dc,q.takeRightWhile=Fc,q.takeWhile=Nc,q.tap=Qc,q.throttle=Bf,q.thru=Ui,q.toArray=El,q.toPairs=Ol,q.toPairsIn=Ll,q.toPath=Up,q.toPlainObject=Ml,q.transform=zh,q.unary=Vf,q.union=Ic,q.unionBy=Rc,q.unionWith=Bc,q.uniq=Vc,q.uniqBy=Pc,q.uniqWith=jc,q.unset=Hh,q.unzip=Xo,q.unzipWith=dl,q.update=Uh,q.updateWith=Gh,q.values=Un,q.valuesIn=Yh,q.without=Wc,q.words=Nl,q.wrap=Pf,q.xor=zc,q.xorBy=Hc,q.xorWith=Uc,q.zip=Gc,q.zipObject=Yc,q.zipObjectDeep=Kc,q.zipWith=qc,q.entries=Ol,q.entriesIn=Ll,q.extend=Al,q.extendWith=Ji,ur(q,q),q.add=Yp,q.attempt=Il,q.camelCase=Zh,q.capitalize=Dl,q.ceil=Kp,q.clamp=Kh,q.clone=Wf,q.cloneDeep=Hf,q.cloneDeepWith=Uf,q.cloneWith=zf,q.conformsTo=Gf,q.deburr=Fl,q.defaultTo=kp,q.divide=qp,q.endsWith=Jh,q.eq=Qt,q.escape=Xh,q.escapeRegExp=ep,q.every=lf,q.find=uf,q.findIndex=rl,q.findKey=wh,q.findLast=df,q.findLastIndex=sl,q.findLastKey=Ch,q.floor=Qp,q.forEach=fl,q.forEachRight=hl,q.forIn=Sh,q.forInRight=Eh,q.forOwn=kh,q.forOwnRight=Mh,q.get=or,q.gt=Yf,q.gte=Kf,q.has=$h,q.hasIn=rr,q.head=al,q.identity=$t,q.includes=gf,q.indexOf=uc,q.inRange=qh,q.invoke=Dh,q.isArguments=$n,q.isArray=je,q.isArrayBuffer=qf,q.isArrayLike=At,q.isArrayLikeObject=ct,q.isBoolean=Qf,q.isBuffer=_n,q.isDate=Zf,q.isElement=Jf,q.isEmpty=Xf,q.isEqual=eh,q.isEqualWith=th,q.isError=nr,q.isFinite=nh,q.isFunction=un,q.isInteger=xl,q.isLength=Qi,q.isMap=wl,q.isMatch=ih,q.isMatchWith=oh,q.isNaN=rh,q.isNative=sh,q.isNil=ah,q.isNull=lh,q.isNumber=Cl,q.isObject=ut,q.isObjectLike=dt,q.isPlainObject=li,q.isRegExp=ir,q.isSafeInteger=uh,q.isSet=Sl,q.isString=Zi,q.isSymbol=Nt,q.isTypedArray=Hn,q.isUndefined=dh,q.isWeakMap=ch,q.isWeakSet=fh,q.join=pc,q.kebabCase=tp,q.last=Gt,q.lastIndexOf=gc,q.lowerCase=np,q.lowerFirst=ip,q.lt=hh,q.lte=ph,q.max=Zp,q.maxBy=Jp,q.mean=Xp,q.meanBy=eg,q.min=tg,q.minBy=ng,q.stubArray=cr,q.stubFalse=fr,q.stubObject=jp,q.stubString=Wp,q.stubTrue=zp,q.multiply=ig,q.nth=mc,q.noConflict=Dp,q.noop=dr,q.now=Yi,q.pad=op,q.padEnd=rp,q.padStart=sp,q.parseInt=lp,q.random=Qh,q.reduce=_f,q.reduceRight=xf,q.repeat=ap,q.replace=up,q.result=Ph,q.round=og,q.runInContext=ie,q.sample=Cf,q.size=kf,q.snakeCase=dp,q.some=Mf,q.sortedIndex=Cc,q.sortedIndexBy=Sc,q.sortedIndexOf=Ec,q.sortedLastIndex=kc,q.sortedLastIndexBy=Mc,q.sortedLastIndexOf=Ac,q.startCase=fp,q.startsWith=hp,q.subtract=rg,q.sum=sg,q.sumBy=lg,q.template=pp,q.times=Hp,q.toFinite=dn,q.toInteger=We,q.toLength=kl,q.toLower=gp,q.toNumber=Yt,q.toSafeInteger=gh,q.toString=et,q.toUpper=mp,q.trim=vp,q.trimEnd=bp,q.trimStart=yp,q.truncate=_p,q.unescape=xp,q.uniqueId=Gp,q.upperCase=wp,q.upperFirst=sr,q.each=fl,q.eachRight=hl,q.first=al,ur(q,function(){var y={};return Jt(q,function(S,N){Xe.call(q.prototype,N)||(y[N]=S)}),y}(),{chain:!1}),q.VERSION=p,jt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(y){q[y].placeholder=q}),jt(["drop","take"],function(y,S){Qe.prototype[y]=function(N){N=N===e?1:mt(We(N),0);var W=this.__filtered__&&!S?new Qe(this):this.clone();return W.__filtered__?W.__takeCount__=xt(N,W.__takeCount__):W.__views__.push({size:xt(N,R),type:y+(W.__dir__<0?"Right":"")}),W},Qe.prototype[y+"Right"]=function(N){return this.reverse()[y](N).reverse()}}),jt(["filter","map","takeWhile"],function(y,S){var N=S+1,W=N==M||N==F;Qe.prototype[y]=function(Y){var Z=this.clone();return Z.__iteratees__.push({iteratee:Fe(Y,3),type:N}),Z.__filtered__=Z.__filtered__||W,Z}}),jt(["head","last"],function(y,S){var N="take"+(S?"Right":"");Qe.prototype[y]=function(){return this[N](1).value()[0]}}),jt(["initial","tail"],function(y,S){var N="drop"+(S?"":"Right");Qe.prototype[y]=function(){return this.__filtered__?new Qe(this):this[N](1)}}),Qe.prototype.compact=function(){return this.filter($t)},Qe.prototype.find=function(y){return this.filter(y).head()},Qe.prototype.findLast=function(y){return this.reverse().find(y)},Qe.prototype.invokeMap=Ge(function(y,S){return typeof y=="function"?new Qe(this):this.map(function(N){return ti(N,y,S)})}),Qe.prototype.reject=function(y){return this.filter(qi(Fe(y)))},Qe.prototype.slice=function(y,S){y=We(y);var N=this;return N.__filtered__&&(y>0||S<0)?new Qe(N):(y<0?N=N.takeRight(-y):y&&(N=N.drop(y)),S!==e&&(S=We(S),N=S<0?N.dropRight(-S):N.take(S-y)),N)},Qe.prototype.takeRightWhile=function(y){return this.reverse().takeWhile(y).reverse()},Qe.prototype.toArray=function(){return this.take(R)},Jt(Qe.prototype,function(y,S){var N=/^(?:filter|find|map|reject)|While$/.test(S),W=/^(?:head|last)$/.test(S),Y=q[W?"take"+(S=="last"?"Right":""):S],Z=W||/^find/.test(S);!Y||(q.prototype[S]=function(){var X=this.__wrapped__,te=W?[1]:arguments,oe=X instanceof Qe,he=te[0],pe=oe||je(X),me=function(qe){var Ze=Y.apply(q,hn([qe],te));return W&&we?Ze[0]:Ze};pe&&N&&typeof he=="function"&&he.length!=1&&(oe=pe=!1);var we=this.__chain__,Me=!!this.__actions__.length,Ne=Z&&!we,He=oe&&!Me;if(!Z&&pe){X=He?X:new Qe(this);var Ie=y.apply(X,te);return Ie.__actions__.push({func:Ui,args:[me],thisArg:e}),new zt(Ie,we)}return Ne&&He?y.apply(this,te):(Ie=this.thru(me),Ne?W?Ie.value()[0]:Ie.value():Ie)})}),jt(["pop","push","shift","sort","splice","unshift"],function(y){var S=vi[y],N=/^(?:push|sort|unshift)$/.test(y)?"tap":"thru",W=/^(?:pop|shift)$/.test(y);q.prototype[y]=function(){var Y=arguments;if(W&&!this.__chain__){var Z=this.value();return S.apply(je(Z)?Z:[],Y)}return this[N](function(X){return S.apply(je(X)?X:[],Y)})}}),Jt(Qe.prototype,function(y,S){var N=q[S];if(N){var W=N.name+"";Xe.call(Vn,W)||(Vn[W]=[]),Vn[W].push({name:S,func:N})}}),Vn[Bi(e,m).name]=[{name:"wrapper",func:e}],Qe.prototype.clone=_u,Qe.prototype.reverse=xu,Qe.prototype.value=wu,q.prototype.at=Zc,q.prototype.chain=Jc,q.prototype.commit=Xc,q.prototype.next=ef,q.prototype.plant=nf,q.prototype.reverse=of,q.prototype.toJSON=q.prototype.valueOf=q.prototype.value=rf,q.prototype.first=q.prototype.head,Kn&&(q.prototype[Kn]=tf),q},In=Xa();wn?((wn.exports=In)._=In,lo._=In):yt._=In}).call(commonjsGlobal)})(lodash,lodash.exports);var fieldMixin={inject:["refList","sfRefList","getFormConfig","getGlobalDsv","globalOptionData","globalModel","getOptionData"],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:{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 t=this.formModel[this.subFormName];t||(this.formModel[this.subFormName]=[],t=this.formModel[this.subFormName]),t[this.subFormRowIndex]||(t[this.subFormRowIndex]={}),t[this.subFormRowIndex][this.field.options.name]===void 0&&this.field.options.defaultValue!==void 0?(this.fieldModel=this.field.options.defaultValue,t[this.subFormRowIndex][this.field.options.name]=this.field.options.defaultValue):t[this.subFormRowIndex][this.field.options.name]===void 0?(this.fieldModel=null,t[this.subFormRowIndex][this.field.options.name]=null):this.fieldModel=t[this.subFormRowIndex][this.field.options.name],setTimeout(()=>{this.handleOnChangeForSubForm(this.fieldModel,this.oldFieldValue,t,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",t=>{console.log("formModel of globalModel----------",this.globalModel.formModel),this.subFormItemFlag||this.setValue(t[this.field.options.name])}),this.on$("field-value-changed",t=>{if(this.subFormItemFlag){let h=this.formModel[this.subFormName];this.handleOnChangeForSubForm(t[0],t[1],h,this.subFormRowId,this.subFormRowIndex)}else this.handleOnChange(t[0],t[1])}),this.on$("reloadOptionItems",t=>{(t.length===0||t.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(t){this.refList!==null&&!!this.field.options.name&&(this.subFormItemFlag&&!this.designState?(t&&delete this.refList[t+"@row"+this.subFormRowId],this.refList[this.field.options.name+"@row"+this.subFormRowId]=this):(t&&delete this.refList[t],this.refList[this.field.options.name]=this))},unregisterFromRefList(){if(this.refList!==null&&!!this.field.options.name){let t=this.field.options.name;this.subFormItemFlag&&!this.designState?delete this.refList[t+"@row"+this.subFormRowId]:delete this.refList[t]}},initOptionItems(t){if(!this.designState&&(this.field.type==="radio"||this.field.type==="checkbox"||this.field.type==="select"||this.field.type==="cascader")){const h=this.getOptionData();!!h&&h.hasOwnProperty(this.field.options.name)&&(t?this.reloadOptions(h[this.field.options.name]):this.loadOptions(h[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 t=this.field.options.validation;FormValidators[t]?this.rules.push({validator:FormValidators[t],trigger:["blur","change"],label:this.field.options.label,errorMsg:this.field.options.validationHint}):this.rules.push({validator:FormValidators.regExp,trigger:["blur","change"],regExp:t,label:this.field.options.label,errorMsg:this.field.options.validationHint})}if(this.field.options.onValidate){let t=(h,e,p)=>new Function("rule","value","callback",this.field.options.onValidate).call(this,h,e,p);this.rules.push({validator:t,trigger:["blur","change"],label:this.field.options.label})}}},disableChangeValidate(){!this.rules||this.rules.forEach(t=>{t.trigger&&t.trigger.splice(0,t.trigger.length)})},enableChangeValidate(){!this.rules||this.rules.forEach(t=>{t.trigger&&(t.trigger.push("blur"),t.trigger.push("change"))})},disableOptionOfList(t,h){!!t&&t.length>0&&t.forEach(e=>{e.value===h&&(e.disabled=!0)})},enableOptionOfList(t,h){!!t&&t.length>0&&t.forEach(e=>{e.value===h&&(e.disabled=!1)})},emitFieldDataChange(t,h){this.emit$("field-value-changed",[t,h]),this.dispatch("VFormRender","fieldChange",[this.field.options.name,t,h,this.subFormName,this.subFormRowIndex])},syncUpdateFormModel(t){if(!this.designState)if(this.subFormItemFlag){let e=(this.formModel[this.subFormName]||[{}])[this.subFormRowIndex];e&&(e[this.field.options.name]=t)}else this.formModel[this.field.options.name]=t},handleChangeEvent(t){this.syncUpdateFormModel(t),this.emitFieldDataChange(t,this.oldFieldValue),this.oldFieldValue=deepClone(t),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFocusCustomEvent(t){this.oldFieldValue=deepClone(this.fieldModel),this.field.options.onFocus&&new Function("event",this.field.options.onFocus).call(this,t)},handleBlurCustomEvent(t){this.field.options.onBlur&&new Function("event",this.field.options.onBlur).call(this,t)},handleInputCustomEvent(t){this.syncUpdateFormModel(t),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.field.options.onInput&&new Function("value",this.field.options.onInput).call(this,t)},emitAppendButtonClick(){this.designState||(this.field.options.onAppendButtonClick?new Function(this.field.options.onAppendButtonClick).call(this):this.dispatch("VFormRender","appendButtonClick",[this]))},handleOnChange(t,h){this.field.options.onChange&&new Function("value","oldValue",this.field.options.onChange).call(this,t,h)},handleOnChangeForSubForm(t,h,e,p,v){this.field.options.onChange&&new Function("value","oldValue","subFormData","rowId","sfrIdx",this.field.options.onChange).call(this,t,h,e,p,v)},handleButtonWidgetClick(){this.designState||(this.field.options.onClick?new Function(this.field.options.onClick).call(this):this.dispatch("VFormRender","buttonClick",[this]))},remoteQuery(t){this.field.options.onRemoteQuery&&new Function("keyword",this.field.options.onRemoteQuery).call(this,t)},getFormRef(){return this.refList.v_form_ref},getWidgetRef(t,h,e){let p=null;if(this.subFormItemFlag&&!this.designState){let v=e!=null?e:this.subFormRowId;if(v){let g=t+"@row"+v;p=this.refList[g]}}return!p&&(!this.subFormItemFlag||this.designState)&&(console.log(2222222),p=this.refList[t]),!p&&!!h&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),console.log(p,"foundRef"),p},getFieldEditor(){return this.$refs.fieldEditor},setValue(t){if(this.field.formItemFlag){let h=deepClone(this.fieldModel);this.fieldModel=t,this.initFileList(),this.syncUpdateFormModel(t),this.emitFieldDataChange(t,h)}},getValue(){return this.fieldModel},resetField(){let t=this.field.options.defaultValue;this.setValue(t),this.$nextTick(()=>{}),(this.field.type==="picture-upload"||this.field.type==="file-upload")&&(this.$refs.fieldEditor.clearFiles(),this.fileList.splice(0,this.fileList.length))},setWidgetOption(t,h){this.field.options.hasOwnProperty(t)&&(this.field.options[t]=h)},setReadonly(t){this.field.options.readonly=t},setDisabled(t){this.field.options.disabled=t},setAppendButtonVisible(t){this.field.options.appendButton=t},setAppendButtonDisabled(t){this.field.options.appendButtonDisabled=t},setHidden(t){this.field.options.hidden=t,t?this.clearFieldRules():this.buildFieldRules()},setRequired(t){this.field.options.required=t,this.buildFieldRules()},setLabel(t){this.field.options.label=t},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(t,h){if(h)if(h.subFormRowId){const e=this.refList[h.field.options.name+"@row"+h.subFormRowId];if(e&&e.field){const p=JSON.parse(JSON.stringify(t||[]));e.field.options===h.field.options&&(e.field.options=JSON.parse(JSON.stringify(e.field.options||{}))),e.field.options.optionItems=p}else console.error("\u5B50\u8868\u5355\u9009\u9879\u6570\u636E\u8BBE\u7F6E\u5931\u8D25: \u672A\u627E\u5230\u5B57\u6BB5\u5F15\u7528",{fieldName:h.field.options.name,rowId:h.subFormRowId,refKey:h.field.options.name+"@row"+h.subFormRowId})}else this.field.options.optionItems=deepClone(t||[]);else this.field.options.optionItems=t,console.log(this.field,"this.field.options.optionItems");this.clearSelectedOptions()},reloadOptions(t){this.field.options.optionItems=deepClone(t)},disableOption(t){this.disableOptionOfList(this.field.options.optionItems,t)},enableOption(t){this.enableOptionOfList(this.field.options.optionItems,t)},getOptionItems(){return this.field.options.optionItems},setUploadHeader(t,h){this.uploadHeaders[t]=h},setUploadData(t,h){this.uploadData[t]=h},setToolbar(t){this.customToolbar=t},isSubFormItem(){return this.parentWidget?this.parentWidget.type==="sub-form"||this.parentWidget.type==="custom-sub-form":!1},addCssClass(t){this.field.options.customClass?this.field.options.customClass.push(t):this.field.options.customClass=[t]},removeCssClass(t){if(!this.field.options.customClass)return;let h=-1;this.field.options.customClass.map((e,p)=>{e===t&&(h=p)}),h>-1&&this.field.options.customClass.splice(h,1)}}},buttonWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$3p={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$3p(t,h,e,p,v,g){const d=vue.resolveComponent("el-button"),c=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(c,{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(d,{ref:"fieldEditor",type:e.field.options.type,size:t.widgetSize,plain:e.field.options.plain,round:e.field.options.round,circle:e.field.options.circle,icon:e.field.options.icon,disabled:e.field.options.disabled,onClick:t.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$3p,[["render",_sfc_render$3p],["__scopeId","data-v-1ba2a127"]]),__glob_0_0$2=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$3o={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(t){this.designer&&(this.designer.setSelected(t),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 t=this.designer.selectedWidgetName;let h=null;this.parentList.length===1?this.parentWidget&&(h=this.parentWidget):this.parentList.length===1+this.indexOfParentList?h=this.parentList[this.indexOfParentList-1]:h=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(h),this.designer.formWidget.deleteWidgetRef(t),this.designer.emitHistoryChange()})}},getPropName(){return this.subFormItemFlag&&!this.designState?this.subFormName+"."+this.subFormRowIndex+"."+this.field.options.name+"":this.field.options.name}}},_hoisted_1$O={key:0,class:"custom-label"},_hoisted_2$y={key:0,class:"field-action"},_hoisted_3$u=["title"],_hoisted_4$j=["title"],_hoisted_5$f=["title"],_hoisted_6$e=["title"],_hoisted_7$b={key:1,class:"drag-handler background-opacity"},_hoisted_8$7=["title"],_hoisted_9$5={key:0};function _sfc_render$3o(t,h,e,p,v,g){const d=vue.resolveComponent("svg-icon"),c=vue.resolveComponent("el-tooltip"),o=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(o,{key:0,label:g.label,"label-width":g.labelWidth+"px",title:e.field.options.labelTooltip,rules:e.rules,prop:g.getPropName(),class:vue.normalizeClass([g.selected?"selected":"",g.labelAlign,g.customClass,e.field.options.required?"required":""]),onClick:h[0]||(h[0]=vue.withModifiers(a=>g.selectField(e.field),["stop"]))},{label:vue.withCtx(()=>[e.field.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$O,[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(c,{content:e.field.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])]),_:1},8,["content"]),vue.createTextVNode(vue.toDisplayString(g.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(d,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(g.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(g.label),1),vue.createVNode(c,{content:e.field.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(d,{"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(g.label),1),vue.createVNode(d,{"icon-class":e.field.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[vue.renderSlot(t.$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$y,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:h[1]||(h[1]=vue.withModifiers(a=>g.selectParentWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-back"})],8,_hoisted_3$u),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:h[2]||(h[2]=vue.withModifiers(a=>g.moveUpWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-up"})],8,_hoisted_4$j)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:h[3]||(h[3]=vue.withModifiers(a=>g.moveDownWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-down"})],8,_hoisted_5$f)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:h[4]||(h[4]=vue.withModifiers((...a)=>g.removeFieldWidget&&g.removeFieldWidget(...a),["stop"]))},[vue.createVNode(d,{"icon-class":"el-delete"})],8,_hoisted_6$e)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$b,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.dragHandler")},[vue.createVNode(d,{"icon-class":"el-drag-move"})],8,_hoisted_8$7),vue.createElementVNode("i",null,vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${e.field.type}`,`extension.widgetLabel.${e.field.type}`)),1),e.field.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$5,[vue.createVNode(d,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],2)}var FormItemWrapper=_export_sfc$1(_sfc_main$3o,[["render",_sfc_render$3o],["__scopeId","data-v-eed9a7f0"]]),__glob_0_8$1=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$3n={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$N={class:"full-width-input"};function _sfc_render$3n(t,h,e,p,v,g){const d=vue.resolveComponent("el-cascader"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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$N,[vue.createVNode(d,{ref:"fieldEditor",options:e.field.options.optionItems,modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),"show-all-levels":g.showFullPath,props:{checkStrictly:e.field.options.checkStrictly,multiple:e.field.options.multiple,expandTrigger:"hover"},onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$3n,[["render",_sfc_render$3n],["__scopeId","data-v-ec070d7c"]]),__glob_0_1$3=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$3m={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$3m(t,h,e,p,v,g){const d=vue.resolveComponent("el-checkbox-button"),c=vue.resolveComponent("el-checkbox"),o=vue.resolveComponent("el-checkbox-group"),a=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(a,{designer:e.designer,field:e.field,rules:v.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(o,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=i=>v.fieldModel=i),disabled:e.field.options.disabled,size:t.widgetSize,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems,(i,l)=>(vue.openBlock(),vue.createBlock(d,{key:l,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(i.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems,(i,l)=>(vue.openBlock(),vue.createBlock(c,{key:l,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(i.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$3m,[["render",_sfc_render$3m],["__scopeId","data-v-716b0a6b"]]),__glob_0_2$3=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$3l={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$3l(t,h,e,p,v,g){const d=vue.resolveComponent("el-color-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),size:t.widgetSize,disabled:e.field.options.disabled,onChange:t.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$3l,[["render",_sfc_render$3l],["__scopeId","data-v-8d04bd98"]]),__glob_0_3$3=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$3k={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$3k(t,h,e,p,v,g){const d=vue.resolveComponent("el-date-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",type:e.field.options.type,modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.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||t.i18nt("render.hint.startDatePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||t.i18nt("render.hint.endDatePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$3k,[["render",_sfc_render$3k],["__scopeId","data-v-1c70f5c8"]]),__glob_0_4$3=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$3j={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$3j(t,h,e,p,v,g){const d=vue.resolveComponent("el-date-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",type:e.field.options.type,modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),readonly:e.field.options.readonly,disabled:e.field.options.disabled,size:t.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||t.i18nt("render.hint.datePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$3j,[["render",_sfc_render$3j],["__scopeId","data-v-75b85548"]]),__glob_0_5$3=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$3i={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$3i(t,h,e,p,v,g){const d=vue.resolveComponent("el-divider"),c=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(c,{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(d,{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$3i,[["render",_sfc_render$3i],["__scopeId","data-v-09a1b973"]]),__glob_0_6$2=Object.freeze(Object.defineProperty({__proto__:null,default:dividerWidget},Symbol.toStringTag,{value:"Module"})),_export_sfc=(t,h)=>{const e=t.__vccOpts||t;for(const[p,v]of h)e[p]=v;return e};const _sfc_main$3h=vue.defineComponent({name:"ArrowDownBold"}),_hoisted_1$M={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$x=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$t=[_hoisted_2$x];function _sfc_render$3h(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$M,_hoisted_3$t)}var arrowDownBold=_export_sfc(_sfc_main$3h,[["render",_sfc_render$3h]]);const _sfc_main$3g=vue.defineComponent({name:"ArrowDown"}),_hoisted_1$L={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$w=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$s=[_hoisted_2$w];function _sfc_render$3g(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$L,_hoisted_3$s)}var arrowDown=_export_sfc(_sfc_main$3g,[["render",_sfc_render$3g]]);const _sfc_main$3f=vue.defineComponent({name:"ArrowUp"}),_hoisted_1$K={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$v=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$r=[_hoisted_2$v];function _sfc_render$3f(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$K,_hoisted_3$r)}var arrowUp=_export_sfc(_sfc_main$3f,[["render",_sfc_render$3f]]);const _sfc_main$3e=vue.defineComponent({name:"CirclePlus"}),_hoisted_1$J={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$u=vue.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"},null,-1),_hoisted_3$q=vue.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"},null,-1),_hoisted_4$i=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$e=[_hoisted_2$u,_hoisted_3$q,_hoisted_4$i];function _sfc_render$3e(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$J,_hoisted_5$e)}var circlePlus=_export_sfc(_sfc_main$3e,[["render",_sfc_render$3e]]);const _sfc_main$3d=vue.defineComponent({name:"Delete"}),_hoisted_1$I={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$t=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$p=[_hoisted_2$t];function _sfc_render$3d(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$I,_hoisted_3$p)}var _delete=_export_sfc(_sfc_main$3d,[["render",_sfc_render$3d]]);const _sfc_main$3c=vue.defineComponent({name:"Edit"}),_hoisted_1$H={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:"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$o=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$h=[_hoisted_2$s,_hoisted_3$o];function _sfc_render$3c(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$H,_hoisted_4$h)}var edit=_export_sfc(_sfc_main$3c,[["render",_sfc_render$3c]]);const _sfc_main$3b=vue.defineComponent({name:"InfoFilled"}),_hoisted_1$G={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:"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$n=[_hoisted_2$r];function _sfc_render$3b(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$G,_hoisted_3$n)}var infoFilled=_export_sfc(_sfc_main$3b,[["render",_sfc_render$3b]]);const _sfc_main$3a=vue.defineComponent({name:"Loading"}),_hoisted_1$F={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:"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$m=[_hoisted_2$q];function _sfc_render$3a(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$F,_hoisted_3$m)}var loading=_export_sfc(_sfc_main$3a,[["render",_sfc_render$3a]]);const _sfc_main$39=vue.defineComponent({name:"Minus"}),_hoisted_1$E={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:"M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"},null,-1),_hoisted_3$l=[_hoisted_2$p];function _sfc_render$39(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$E,_hoisted_3$l)}var minus=_export_sfc(_sfc_main$39,[["render",_sfc_render$39]]);const _sfc_main$38=vue.defineComponent({name:"Plus"}),_hoisted_1$D={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:"M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"},null,-1),_hoisted_3$k=[_hoisted_2$o];function _sfc_render$38(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$D,_hoisted_3$k)}var plus=_export_sfc(_sfc_main$38,[["render",_sfc_render$38]]);const _sfc_main$37=vue.defineComponent({name:"Search"}),_hoisted_1$C={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:"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$j=[_hoisted_2$n];function _sfc_render$37(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$C,_hoisted_3$j)}var search=_export_sfc(_sfc_main$37,[["render",_sfc_render$37]]),defaultConfig={expireTimes:"1d",path:"; path=/",domain:"",secure:!1,sameSite:"; SameSite=Lax"},VueCookiesManager=function(){function t(){this.current_default_config=defaultConfig}return t.prototype.config=function(h){for(var e in this.current_default_config)this.current_default_config[e]=h[e]?h[e]:defaultConfig[e]},t.prototype.get=function(h){var e=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(h).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},t.prototype.set=function(h,e,p,v,g,d,c){if(h){if(/^(?:expires|max-age|path|domain|secure|SameSite)$/i.test(h))throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"] current key name: '+h)}else throw new Error("Cookie name is not found in the first argument.");e&&e.constructor===Object&&(e=JSON.stringify(e));var o="";if(p==null&&(p=this.current_default_config.expireTimes?this.current_default_config.expireTimes:""),p&&p!=0)switch(p.constructor){case Number:p===1/0||p===-1?o="; expires=Fri, 31 Dec 9999 23:59:59 GMT":o="; max-age="+p;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(p)){var a=p.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(p.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":o="; max-age="+ +a*2592e3;break;case"d":o="; max-age="+ +a*86400;break;case"h":o="; max-age="+ +a*3600;break;case"min":o="; max-age="+ +a*60;break;case"s":o="; max-age="+a;break;case"y":o="; max-age="+ +a*31104e3;break}}else o="; expires="+p;break;case Date:o="; expires="+p.toUTCString();break}return document.cookie=encodeURIComponent(h)+"="+encodeURIComponent(e)+o+(g?"; domain="+g:this.current_default_config.domain?this.current_default_config.domain:"")+(v?"; path="+v:this.current_default_config.path?this.current_default_config.path:"; path=/")+(d==null?this.current_default_config.secure?"; Secure":"":d?"; Secure":"")+(c==null?this.current_default_config.sameSite?"; SameSute="+this.current_default_config.sameSite:"":c?"; SameSite="+c:""),this},t.prototype.remove=function(h,e,p){return!h||!this.isKey(h)?!1:(document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(p?"; domain="+p: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)},t.prototype.isKey=function(h){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(h).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},t.prototype.keys=function(){if(!document.cookie)return[];for(var h=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),e=0;e<h.length;e++)h[e]=decodeURIComponent(h[e]);return h},t}(),GLOBAL_COOKIES_MANAGER=null;function useCookies(){GLOBAL_COOKIES_MANAGER==null&&(GLOBAL_COOKIES_MANAGER=new VueCookiesManager);var t=vue.reactive(GLOBAL_COOKIES_MANAGER);return{cookies:t}}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="";const{cookies:cookies$1}=useCookies();let selectFileText="'"+translate("render.hint.selectFile")+"'";const _sfc_main$36={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:cookies$1.get("Authorization"),client:"web"},uploadData:{},fileList:[],uploadBtnHidden:!1,styleVariables:{"--select-file-action":selectFileText},showProgress:!1,progressPercent:0}},computed:{realUploadURL(){let t=this.field.options.uploadURL;if(console.log("test uploadURL: ",t),t)return t;if(!!t&&(t.indexOf("DSV.")>-1||t.indexOf("DSV[")>-1)){let h=this.getGlobalDsv();return console.log("test DSV: ",h),console.log("test uploadURL: ",evalFn(this.field.options.uploadURL,h)),evalFn(this.field.options.uploadURL,h)}return"/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(t,h,e){console.log("handleProgress",t,h,e),this.progressPercent=t.percent.toFixed(0)},handleFileExceed(){let t=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",t))},beforeFileUpload(t){console.log("beforeFileUpload",t);let h=!1,e=t.name.substring(t.name.lastIndexOf(".")+1);if(!!this.field.options&&!!this.field.options.fileTypes){let g=this.field.options.fileTypes;g.length>0&&(h=g.some(d=>e.toLowerCase()===d.toLowerCase()))}if(!h)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+e),!1;console.log("fileTypeCheckResult",h);let p=!1,v=5;return!!this.field.options&&!!this.field.options.fileMaxSize&&(v=this.field.options.fileMaxSize),p=t.size/1024/1024<=v,console.log("fileSizeCheckResult",p),p?(this.uploadData.key=t.name,console.log("uploadData.key",this.uploadData.key),console.log("handleOnBeforeUpload",this.handleOnBeforeUpload(t)),this.showProgress=!0,!0):(this.$message.error(this.i18nt("render.hint.fileSizeExceed")+v+"MB"),!1)},handleOnBeforeUpload(t){if(console.log("handleOnBeforeUpload",!!this.field.options.onBeforeUpload,t),this.field.options.onBeforeUpload){let e=new Function("file",this.field.options.onBeforeUpload).call(this,t);return typeof e=="boolean"?e:!0}else return!0},updateFieldModelAndEmitDataChangeForUpload(t,h,e){let p=deepClone(this.fieldModel);!!h&&!!h.name&&!!h.url?this.fieldModel.push({name:h.name,url:h.url}):!!e&&!!e.name&&!!e.url?this.fieldModel.push({name:e.name,url:e.url}):this.fieldModel=deepClone(t),console.log("this.fieldModel",this.fieldModel),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,p),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFileUpload(t,h,e){if(console.log("handleFileUpload",t,h,e),this.showProgress=!1,h.status==="success"){elementPlus.ElMessage.success("\u4E0A\u4F20\u6210\u529F");let p=null;this.field.options.onUploadSuccess&&(p=new Function("result","file","fileList",this.field.options.onUploadSuccess).call(this,t,h,e));const v=e.map(g=>{if(g.response){const{data:d}=g.response;return{fileName:d.fileName,fileId:d.fileId,fileUrl:d.fileUrl}}else return g});this.updateFieldModelAndEmitDataChangeForUpload(v,p,t),!!p&&!!p.name?h.name=p.name:h.name=h.name||t.name||t.fileName||t.filename,!!p&&!!p.url?h.url=p.url:h.url=h.url||t.url,this.fileList=deepClone(e),this.uploadBtnHidden=e.length>=this.field.options.limit}},updateFieldModelAndEmitDataChangeForRemove(t,h){let e=deepClone(this.fieldModel);this.fieldModel.splice(t,1),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,e),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},removeUploadFile(t,h,e){let p=-1,v=null;this.fileList.forEach((g,d)=>{g.name===t&&(g.url===h||!!e&&g.uid===e)&&(p=d,v=g)}),p>=0&&(this.fileList.splice(p,1),this.updateFieldModelAndEmitDataChangeForRemove(p,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,v,this.fileList))},handleUploadError(t,h,e){this.field.options.onUploadError?new Function("error","file","fileList",this.field.options.onUploadError).call(this,t,h,e):this.$message({message:this.i18nt("render.hint.uploadError")+t,duration:3e3,type:"error"})}}},_hoisted_1$B={class:"file-upload-widget-container"},_hoisted_2$m={key:0,class:"el-upload__tip"},_hoisted_3$i={class:"upload-file-list"},_hoisted_4$g={class:"left-wrap"},_hoisted_5$d=["title"],_hoisted_6$d={class:"right-wrap"},_hoisted_7$a=["title","onClick"];function _sfc_render$36(t,h,e,p,v,g){const d=vue.resolveComponent("upload-filled"),c=vue.resolveComponent("el-icon"),o=vue.resolveComponent("el-button"),a=vue.resolveComponent("el-upload"),i=vue.resolveComponent("el-progress"),l=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(l,{designer:e.designer,field:e.field,rules:v.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$B,[vue.createVNode(a,{ref:"fieldEditor",disabled:e.field.options.disabled,style:vue.normalizeStyle(v.styleVariables),class:vue.normalizeClass(["dynamicPseudoAfter",{hideUploadDiv:v.uploadBtnHidden}]),action:g.realUploadURL,headers:v.uploadHeaders,data:v.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":v.fileList,"show-file-list":e.field.options.showFileList,limit:e.field.options.limit,"on-success":g.handleFileUpload,"on-error":g.handleUploadError,drag:e.field.options.allowDrag,"on-exceed":g.handleFileExceed,"before-upload":g.beforeFileUpload,"on-progress":g.handleProgress},{tip:vue.withCtx(()=>[e.field.options.uploadTip?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$m,vue.toDisplayString(e.field.options.uploadTip),1)):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[e.field.options.allowDrag?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(c,{class:"el-icon--upload"},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1}),h[0]||(h[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(o,{key:1,type:"primary"},{default:vue.withCtx(()=>[...h[1]||(h[1]=[vue.createTextVNode(" \u9009\u62E9\u6587\u4EF6",-1)])]),_:1}))]),file:vue.withCtx(({file:n})=>[vue.createElementVNode("div",_hoisted_3$i,[vue.createElementVNode("div",_hoisted_4$g,[vue.createElementVNode("span",{class:"upload-file-name",title:n.name},vue.toDisplayString(n.name),9,_hoisted_5$d)]),vue.createElementVNode("div",_hoisted_6$d,[e.field.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"file-action",title:t.i18nt("render.hint.removeFile"),onClick:r=>g.removeUploadFile(n.name,n.url,n.uid)},[...h[2]||(h[2]=[vue.createElementVNode("img",{src:_imports_0,alt:""},null,-1)])],8,_hoisted_7$a))])])]),_:1},8,["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(i,{style:vue.normalizeStyle({display:v.showProgress?"inline-flex":"none",width:"100%"}),percentage:v.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$36,[["render",_sfc_render$36],["__scopeId","data-v-542e5c70"]]),__glob_0_7$1=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$35={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$A=["innerHTML"];function _sfc_render$35(t,h,e,p,v,g){const d=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(d,{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$A)]),_: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$35,[["render",_sfc_render$35],["__scopeId","data-v-3d941b4e"]]),__glob_0_9$1=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$34={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$34(t,h,e,p,v,g){const d=vue.resolveComponent("svg-icon"),c=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-input"),a=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(a,{designer:e.designer,field:e.field,rules:v.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(o,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=i=>v.fieldModel=i),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.widgetSize,class:"hide-spin-button",type:g.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:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(c,{disabled:e.field.options.disabled||e.field.options.appendButtonDisabled,onClick:t.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(d,{"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$34,[["render",_sfc_render$34],["__scopeId","data-v-0aad1a31"]]),__glob_0_10$1=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$33={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$33(t,h,e,p,v,g){const d=vue.resolveComponent("el-input-number"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),class:"full-width-input",disabled:e.field.options.disabled,size:t.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:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$33,[["render",_sfc_render$33],["__scopeId","data-v-0b9bc82f"]]),__glob_0_11$1=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$32={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(t=>t.url)},realUploadURL(){let t=this.field.options.uploadURL;if(!!t&&(t.indexOf("DSV.")>-1||t.indexOf("DSV[")>-1)){let h=this.getGlobalDsv();return console.log("test DSV: ",h),evalFn(this.field.options.uploadURL,h)}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 t=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",t))},beforePictureUpload(t){let h=!1;if(!!this.field.options&&!!this.field.options.fileTypes){let v=this.field.options.fileTypes;v.length>0&&(h=v.some(g=>t.type==="image/"+g))}if(!h)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+t.type),!1;let e=!1,p=5;return!!this.field.options&&!!this.field.options.fileMaxSize&&(p=this.field.options.fileMaxSize),e=t.size/1024/1024<=p,e?(this.uploadData.key=t.name,this.handleOnBeforeUpload(t)):(this.$message.error(this.$("render.hint.fileSizeExceed")+p+"MB"),!1)},handleOnBeforeUpload(t){if(this.field.options.onBeforeUpload){let e=new Function("file",this.field.options.onBeforeUpload).call(this,t);return typeof e=="boolean"?e:!0}return!0},updateFieldModelAndEmitDataChangeForUpload(t,h,e){let p=deepClone(this.fieldModel);!!h&&!!h.name&&!!h.url?this.fieldModel.push({name:h.name,url:h.url}):!!e&&!!e.name&&!!e.url?this.fieldModel.push({name:e.name,url:e.url}):this.fieldModel=deepClone(t),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,p),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handlePictureUpload(t,h,e){if(h.status==="success"){let p=null;this.field.options.onUploadSuccess&&(p=new Function("result","file","fileList",this.field.options.onUploadSuccess).call(this,t,h,e)),this.updateFieldModelAndEmitDataChangeForUpload(e,p,t),this.fileList=deepClone(e),this.uploadBtnHidden=e.length>=this.field.options.limit}},updateFieldModelAndEmitDataChangeForRemove(t){let h=deepClone(this.fieldModel),e=-1;this.fileListBeforeRemove.map((p,v)=>{p.name===t.name&&(p.url===t.url||!!p.uid&&p.uid===t.uid)&&(e=v)}),e>-1&&this.fieldModel.splice(e,1),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,h),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleBeforeRemove(t){this.fileListBeforeRemove=deepClone(t)},handlePictureRemove(t){this.handleBeforeRemove(this.fileList),this.fileList.splice(this.fileList.indexOf(t),1),this.updateFieldModelAndEmitDataChangeForRemove(t);let h=deepClone(this.fileList);this.uploadBtnHidden=h.length>=this.field.options.limit,this.field.options.onFileRemove&&new Function("file","fileList",this.field.options.onFileRemove).call(this,t,h)},handleUploadError(t,h,e){this.field.options.onUploadError?new Function("error","file","fileList",this.field.options.onUploadError).call(this,t,h,e):this.$message({message:this.i18nt("render.hint.uploadError")+t,duration:3e3,type:"error"})},handlePictureCardPreview({url:t}){this.previewIndex=this.previewList.indexOf(t),this.$refs.imageRef.$el.children[0].click()}}},_hoisted_1$z={class:"el-upload-list__item-status-label"},_hoisted_2$l={class:"el-icon--upload-success",style:{color:"#FFF"}},_hoisted_3$h={class:"el-upload-list__item-actions"},_hoisted_4$f=["onClick"],_hoisted_5$c=["onClick"],_hoisted_6$c={key:0,class:"el-upload__tip"},_hoisted_7$9={class:"uploader-icon"};function _sfc_render$32(t,h,e,p,v,g){const d=vue.resolveComponent("el-image"),c=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("el-upload"),a=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(a,{designer:e.designer,field:e.field,rules:v.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(o,{ref:"fieldEditor",disabled:e.field.options.disabled,action:g.realUploadURL,headers:v.uploadHeaders,data:v.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":v.fileList,"show-file-list":e.field.options.showFileList,"list-type":"picture-card",class:vue.normalizeClass({hideUploadDiv:v.uploadBtnHidden}),limit:e.field.options.limit,"on-exceed":g.handlePictureExceed,"before-upload":g.beforePictureUpload,"on-preview":g.handlePictureCardPreview,"on-success":g.handlePictureUpload,"on-error":g.handleUploadError,drag:e.field.options.allowDrag},{file:vue.withCtx(({file:i})=>[vue.createVNode(d,{ref:"imageRef",style:{width:"100%",height:"100%"},src:i.url,"preview-src-list":g.previewList,"initial-index":v.previewIndex,fit:"cover","preview-teleported":""},null,8,["src","preview-src-list","initial-index"]),vue.createElementVNode("label",_hoisted_1$z,[vue.createElementVNode("i",_hoisted_2$l,[vue.createVNode(c,{class:"","icon-class":"el-check"})])]),vue.createElementVNode("span",_hoisted_3$h,[vue.createElementVNode("span",{class:"el-upload-list__item-preview",onClick:l=>g.handlePictureCardPreview(i)},[vue.createVNode(c,{"icon-class":"el-zoom-in"})],8,_hoisted_4$f),vue.createElementVNode("span",{class:"el-upload-list__item-delete",onClick:l=>g.handlePictureRemove(i)},[vue.createVNode(c,{"icon-class":"el-delete"})],8,_hoisted_5$c)])]),tip:vue.withCtx(()=>[e.field.options.uploadTip?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$c,vue.toDisplayString(e.field.options.uploadTip),1)):vue.createCommentVNode("",!0)]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_7$9,[vue.createVNode(c,{"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$32,[["render",_sfc_render$32],["__scopeId","data-v-062b2766"]]),__glob_0_12$1=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$31={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$31(t,h,e,p,v,g){const d=vue.resolveComponent("el-radio-button"),c=vue.resolveComponent("el-radio"),o=vue.resolveComponent("el-radio-group"),a=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(a,{designer:e.designer,field:e.field,rules:v.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(o,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=i=>v.fieldModel=i),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:e.field.options.disabled,size:t.widgetSize,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems,(i,l)=>(vue.openBlock(),vue.createBlock(d,{key:l,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(i.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems,(i,l)=>(vue.openBlock(),vue.createBlock(c,{key:l,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(i.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$31,[["render",_sfc_render$31],["__scopeId","data-v-253adc5e"]]),__glob_0_13$1=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$30={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$30(t,h,e,p,v,g){const d=vue.resolveComponent("el-rate"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,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:t.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$30,[["render",_sfc_render$30],["__scopeId","data-v-409c0e8b"]]),__glob_0_14$1=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
@@ -70,7 +70,7 @@ function print() { __p += __j.call(arguments, '') }
70
70
  `),de}function Ce(ae,de){if(H(ae)&&ae.nextElementSibling!=null&&!G(de,`
71
71
 
72
72
  `)){var be=ae.offsetHeight+parseFloat(U(ae).marginTop)+parseFloat(U(ae).marginBottom);ae.nextElementSibling.offsetTop>ae.offsetTop+be*1.5&&de.insert(`
73
- `)}return de}function Ve(ae,de){var be={},ve=ae.style||{};return ve.fontStyle&&U(ae).fontStyle==="italic"&&(be.italic=!0),ve.fontWeight&&(U(ae).fontWeight.startsWith("bold")||parseInt(U(ae).fontWeight)>=700)&&(be.bold=!0),Object.keys(be).length>0&&(de=V(de,be)),parseFloat(ve.textIndent||0)>0&&(de=new l.default().insert(" ").concat(de)),de}function Re(ae,de){var be=ae.data;if(ae.parentNode.tagName==="O:P")return de.insert(be.trim());if(be.trim().length===0&&ae.parentNode.classList.contains("ql-clipboard"))return de;if(!U(ae.parentNode).whiteSpace.startsWith("pre")){var ve=function(Ae,Le){return Le=Le.replace(/[^\u00a0]/g,""),Le.length<1&&Ae?" ":Le};be=be.replace(/\r\n/g," ").replace(/\n/g," "),be=be.replace(/\s\s+/g,ve.bind(ve,!0)),(ae.previousSibling==null&&H(ae.parentNode)||ae.previousSibling!=null&&H(ae.previousSibling))&&(be=be.replace(/^\s+/,ve.bind(ve,!1))),(ae.nextSibling==null&&H(ae.parentNode)||ae.nextSibling!=null&&H(ae.nextSibling))&&(be=be.replace(/\s+$/,ve.bind(ve,!1)))}return de.insert(be)}p.default=z,p.matchAttributor=J,p.matchBlot=ee,p.matchNewline=xe,p.matchSpacing=Ce,p.matchText=Re},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function s(u,f){for(var m=0;m<f.length;m++){var b=f[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,f,m){return f&&s(u.prototype,f),m&&s(u,m),u}}(),d=function s(u,f,m){u===null&&(u=Function.prototype);var b=Object.getOwnPropertyDescriptor(u,f);if(b===void 0){var C=Object.getPrototypeOf(u);return C===null?void 0:s(C,f,m)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(m)}},c=v(6),o=a(c);function a(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function l(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function n(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){n(u,s);function u(){return i(this,u),l(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return g(u,[{key:"optimize",value:function(m){d(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"optimize",this).call(this,m),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return d(u.__proto__||Object.getPrototypeOf(u),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),u}(o.default);r.blotName="bold",r.tagName=["STRONG","B"],p.default=r},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.addControls=p.default=void 0;var g=function(){function D($,T){var M=[],A=!0,F=!1,I=void 0;try{for(var B=$[Symbol.iterator](),j;!(A=(j=B.next()).done)&&(M.push(j.value),!(T&&M.length===T));A=!0);}catch(P){F=!0,I=P}finally{try{!A&&B.return&&B.return()}finally{if(F)throw I}}return M}return function($,T){if(Array.isArray($))return $;if(Symbol.iterator in Object($))return D($,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=function(){function D($,T){for(var M=0;M<T.length;M++){var A=T[M];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty($,A.key,A)}}return function($,T,M){return T&&D($.prototype,T),M&&D($,M),$}}(),c=v(2),o=m(c),a=v(0),i=m(a),l=v(5),n=m(l),r=v(10),s=m(r),u=v(9),f=m(u);function m(D){return D&&D.__esModule?D:{default:D}}function b(D,$,T){return $ in D?Object.defineProperty(D,$,{value:T,enumerable:!0,configurable:!0,writable:!0}):D[$]=T,D}function C(D,$){if(!(D instanceof $))throw new TypeError("Cannot call a class as a function")}function _(D,$){if(!D)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $&&(typeof $=="object"||typeof $=="function")?$:D}function w(D,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $);D.prototype=Object.create($&&$.prototype,{constructor:{value:D,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(D,$):D.__proto__=$)}var x=(0,s.default)("quill:toolbar"),E=function(D){w($,D);function $(T,M){C(this,$);var A=_(this,($.__proto__||Object.getPrototypeOf($)).call(this,T,M));if(Array.isArray(A.options.container)){var F=document.createElement("div");O(F,A.options.container),T.container.parentNode.insertBefore(F,T.container),A.container=F}else typeof A.options.container=="string"?A.container=document.querySelector(A.options.container):A.container=A.options.container;if(!(A.container instanceof HTMLElement)){var I;return I=x.error("Container required for toolbar",A.options),_(A,I)}return A.container.classList.add("ql-toolbar"),A.controls=[],A.handlers={},Object.keys(A.options.handlers).forEach(function(B){A.addHandler(B,A.options.handlers[B])}),[].forEach.call(A.container.querySelectorAll("button, select"),function(B){A.attach(B)}),A.quill.on(n.default.events.EDITOR_CHANGE,function(B,j){B===n.default.events.SELECTION_CHANGE&&A.update(j)}),A.quill.on(n.default.events.SCROLL_OPTIMIZE,function(){var B=A.quill.selection.getRange(),j=g(B,1),P=j[0];A.update(P)}),A}return d($,[{key:"addHandler",value:function(M,A){this.handlers[M]=A}},{key:"attach",value:function(M){var A=this,F=[].find.call(M.classList,function(B){return B.indexOf("ql-")===0});if(!!F){if(F=F.slice("ql-".length),M.tagName==="BUTTON"&&M.setAttribute("type","button"),this.handlers[F]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[F]==null){x.warn("ignoring attaching to disabled format",F,M);return}if(i.default.query(F)==null){x.warn("ignoring attaching to nonexistent format",F,M);return}}var I=M.tagName==="SELECT"?"change":"click";M.addEventListener(I,function(B){var j=void 0;if(M.tagName==="SELECT"){if(M.selectedIndex<0)return;var P=M.options[M.selectedIndex];P.hasAttribute("selected")?j=!1:j=P.value||!1}else M.classList.contains("ql-active")?j=!1:j=M.value||!M.hasAttribute("value"),B.preventDefault();A.quill.focus();var R=A.quill.selection.getRange(),z=g(R,1),V=z[0];if(A.handlers[F]!=null)A.handlers[F].call(A,j);else if(i.default.query(F).prototype instanceof i.default.Embed){if(j=prompt("Enter "+F),!j)return;A.quill.updateContents(new o.default().retain(V.index).delete(V.length).insert(b({},F,j)),n.default.sources.USER)}else A.quill.format(F,j,n.default.sources.USER);A.update(V)}),this.controls.push([F,M])}}},{key:"update",value:function(M){var A=M==null?{}:this.quill.getFormat(M);this.controls.forEach(function(F){var I=g(F,2),B=I[0],j=I[1];if(j.tagName==="SELECT"){var P=void 0;if(M==null)P=null;else if(A[B]==null)P=j.querySelector("option[selected]");else if(!Array.isArray(A[B])){var R=A[B];typeof R=="string"&&(R=R.replace(/\"/g,'\\"')),P=j.querySelector('option[value="'+R+'"]')}P==null?(j.value="",j.selectedIndex=-1):P.selected=!0}else if(M==null)j.classList.remove("ql-active");else if(j.hasAttribute("value")){var z=A[B]===j.getAttribute("value")||A[B]!=null&&A[B].toString()===j.getAttribute("value")||A[B]==null&&!j.getAttribute("value");j.classList.toggle("ql-active",z)}else j.classList.toggle("ql-active",A[B]!=null)})}}]),$}(f.default);E.DEFAULTS={};function L(D,$,T){var M=document.createElement("button");M.setAttribute("type","button"),M.classList.add("ql-"+$),T!=null&&(M.value=T),D.appendChild(M)}function O(D,$){Array.isArray($[0])||($=[$]),$.forEach(function(T){var M=document.createElement("span");M.classList.add("ql-formats"),T.forEach(function(A){if(typeof A=="string")L(M,A);else{var F=Object.keys(A)[0],I=A[F];Array.isArray(I)?k(M,F,I):L(M,F,I)}}),D.appendChild(M)})}function k(D,$,T){var M=document.createElement("select");M.classList.add("ql-"+$),T.forEach(function(A){var F=document.createElement("option");A!==!1?F.setAttribute("value",A):F.setAttribute("selected","selected"),M.appendChild(F)}),D.appendChild(M)}E.DEFAULTS={container:null,handlers:{clean:function(){var $=this,T=this.quill.getSelection();if(T!=null)if(T.length==0){var M=this.quill.getFormat();Object.keys(M).forEach(function(A){i.default.query(A,i.default.Scope.INLINE)!=null&&$.quill.format(A,!1)})}else this.quill.removeFormat(T,n.default.sources.USER)},direction:function($){var T=this.quill.getFormat().align;$==="rtl"&&T==null?this.quill.format("align","right",n.default.sources.USER):!$&&T==="right"&&this.quill.format("align",!1,n.default.sources.USER),this.quill.format("direction",$,n.default.sources.USER)},indent:function($){var T=this.quill.getSelection(),M=this.quill.getFormat(T),A=parseInt(M.indent||0);if($==="+1"||$==="-1"){var F=$==="+1"?1:-1;M.direction==="rtl"&&(F*=-1),this.quill.format("indent",A+F,n.default.sources.USER)}},link:function($){$===!0&&($=prompt("Enter link URL:")),this.quill.format("link",$,n.default.sources.USER)},list:function($){var T=this.quill.getSelection(),M=this.quill.getFormat(T);$==="check"?M.list==="checked"||M.list==="unchecked"?this.quill.format("list",!1,n.default.sources.USER):this.quill.format("list","unchecked",n.default.sources.USER):this.quill.format("list",$,n.default.sources.USER)}}},p.default=E,p.addControls=O},function(e,p){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,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function s(u,f){for(var m=0;m<f.length;m++){var b=f[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,f,m){return f&&s(u.prototype,f),m&&s(u,m),u}}(),d=function s(u,f,m){u===null&&(u=Function.prototype);var b=Object.getOwnPropertyDescriptor(u,f);if(b===void 0){var C=Object.getPrototypeOf(u);return C===null?void 0:s(C,f,m)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(m)}},c=v(28),o=a(c);function a(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function l(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function n(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){n(u,s);function u(f,m){i(this,u);var b=l(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,f));return b.label.innerHTML=m,b.container.classList.add("ql-color-picker"),[].slice.call(b.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(C){C.classList.add("ql-primary")}),b}return g(u,[{key:"buildItem",value:function(m){var b=d(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"buildItem",this).call(this,m);return b.style.backgroundColor=m.getAttribute("value")||"",b}},{key:"selectItem",value:function(m,b){d(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"selectItem",this).call(this,m,b);var C=this.label.querySelector(".ql-color-label"),_=m&&m.getAttribute("data-value")||"";C&&(C.tagName==="line"?C.style.stroke=_:C.style.fill=_)}}]),u}(o.default);p.default=r},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function s(u,f){for(var m=0;m<f.length;m++){var b=f[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,f,m){return f&&s(u.prototype,f),m&&s(u,m),u}}(),d=function s(u,f,m){u===null&&(u=Function.prototype);var b=Object.getOwnPropertyDescriptor(u,f);if(b===void 0){var C=Object.getPrototypeOf(u);return C===null?void 0:s(C,f,m)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(m)}},c=v(28),o=a(c);function a(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function l(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function n(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){n(u,s);function u(f,m){i(this,u);var b=l(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,f));return b.container.classList.add("ql-icon-picker"),[].forEach.call(b.container.querySelectorAll(".ql-picker-item"),function(C){C.innerHTML=m[C.getAttribute("data-value")||""]}),b.defaultItem=b.container.querySelector(".ql-selected"),b.selectItem(b.defaultItem),b}return g(u,[{key:"selectItem",value:function(m,b){d(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"selectItem",this).call(this,m,b),m=m||this.defaultItem,this.label.innerHTML=m.innerHTML}}]),u}(o.default);p.default=r},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function o(a,i){for(var l=0;l<i.length;l++){var n=i[l];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(a,n.key,n)}}return function(a,i,l){return i&&o(a.prototype,i),l&&o(a,l),a}}();function d(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}var c=function(){function o(a,i){var l=this;d(this,o),this.quill=a,this.boundsContainer=i||document.body,this.root=a.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){l.root.style.marginTop=-1*l.quill.root.scrollTop+"px"}),this.hide()}return g(o,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(i){var l=i.left+i.width/2-this.root.offsetWidth/2,n=i.bottom+this.quill.root.scrollTop;this.root.style.left=l+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),s=this.root.getBoundingClientRect(),u=0;if(s.right>r.right&&(u=r.right-s.right,this.root.style.left=l+u+"px"),s.left<r.left&&(u=r.left-s.left,this.root.style.left=l+u+"px"),s.bottom>r.bottom){var f=s.bottom-s.top,m=i.bottom-i.top+f;this.root.style.top=n-m+"px",this.root.classList.add("ql-flip")}return u}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),o}();p.default=c},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function k(D,$){var T=[],M=!0,A=!1,F=void 0;try{for(var I=D[Symbol.iterator](),B;!(M=(B=I.next()).done)&&(T.push(B.value),!($&&T.length===$));M=!0);}catch(j){A=!0,F=j}finally{try{!M&&I.return&&I.return()}finally{if(A)throw F}}return T}return function(D,$){if(Array.isArray(D))return D;if(Symbol.iterator in Object(D))return k(D,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=function k(D,$,T){D===null&&(D=Function.prototype);var M=Object.getOwnPropertyDescriptor(D,$);if(M===void 0){var A=Object.getPrototypeOf(D);return A===null?void 0:k(A,$,T)}else{if("value"in M)return M.value;var F=M.get;return F===void 0?void 0:F.call(T)}},c=function(){function k(D,$){for(var T=0;T<$.length;T++){var M=$[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(D,M.key,M)}}return function(D,$,T){return $&&k(D.prototype,$),T&&k(D,T),D}}(),o=v(3),a=C(o),i=v(8),l=C(i),n=v(43),r=C(n),s=v(27),u=C(s),f=v(15),m=v(41),b=C(m);function C(k){return k&&k.__esModule?k:{default:k}}function _(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function w(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function x(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var E=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],L=function(k){x(D,k);function D($,T){_(this,D),T.modules.toolbar!=null&&T.modules.toolbar.container==null&&(T.modules.toolbar.container=E);var M=w(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,$,T));return M.quill.container.classList.add("ql-snow"),M}return c(D,[{key:"extendToolbar",value:function(T){T.container.classList.add("ql-snow"),this.buildButtons([].slice.call(T.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(T.container.querySelectorAll("select")),b.default),this.tooltip=new O(this.quill,this.options.bounds),T.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(M,A){T.handlers.link.call(T,!A.format.link)})}}]),D}(r.default);L.DEFAULTS=(0,a.default)(!0,{},r.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(D){if(D){var $=this.quill.getSelection();if($==null||$.length==0)return;var T=this.quill.getText($);/^\S+@\S+\.\S+$/.test(T)&&T.indexOf("mailto:")!==0&&(T="mailto:"+T);var M=this.quill.theme.tooltip;M.edit("link",T)}else this.quill.format("link",!1)}}}}});var O=function(k){x(D,k);function D($,T){_(this,D);var M=w(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,$,T));return M.preview=M.root.querySelector("a.ql-preview"),M}return c(D,[{key:"listen",value:function(){var T=this;d(D.prototype.__proto__||Object.getPrototypeOf(D.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(M){T.root.classList.contains("ql-editing")?T.save():T.edit("link",T.preview.textContent),M.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(M){if(T.linkRange!=null){var A=T.linkRange;T.restoreFocus(),T.quill.formatText(A,"link",!1,l.default.sources.USER),delete T.linkRange}M.preventDefault(),T.hide()}),this.quill.on(l.default.events.SELECTION_CHANGE,function(M,A,F){if(M!=null){if(M.length===0&&F===l.default.sources.USER){var I=T.quill.scroll.descendant(u.default,M.index),B=g(I,2),j=B[0],P=B[1];if(j!=null){T.linkRange=new f.Range(M.index-P,j.length());var R=u.default.formats(j.domNode);T.preview.textContent=R,T.preview.setAttribute("href",R),T.show(),T.position(T.quill.getBounds(T.linkRange));return}}else delete T.linkRange;T.hide()}})}},{key:"show",value:function(){d(D.prototype.__proto__||Object.getPrototypeOf(D.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),D}(n.BaseTooltip);O.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(""),p.default=L},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(29),d=fe(g),c=v(36),o=v(38),a=v(64),i=v(65),l=fe(i),n=v(66),r=fe(n),s=v(67),u=fe(s),f=v(37),m=v(26),b=v(39),C=v(40),_=v(56),w=fe(_),x=v(68),E=fe(x),L=v(27),O=fe(L),k=v(69),D=fe(k),$=v(70),T=fe($),M=v(71),A=fe(M),F=v(72),I=fe(F),B=v(73),j=fe(B),P=v(13),R=fe(P),z=v(74),V=fe(z),U=v(75),G=fe(U),H=v(57),K=fe(H),Q=v(41),J=fe(Q),ee=v(28),ue=fe(ee),ye=v(59),_e=fe(ye),xe=v(60),Ce=fe(xe),Ve=v(61),Re=fe(Ve),ae=v(108),de=fe(ae),be=v(62),ve=fe(be);function fe(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}d.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":c.AlignClass,"attributors/class/background":f.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":C.SizeClass,"attributors/style/align":c.AlignStyle,"attributors/style/background":f.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":C.SizeStyle},!0),d.default.register({"formats/align":c.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":a.IndentClass,"formats/background":f.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":b.FontClass,"formats/size":C.SizeClass,"formats/blockquote":l.default,"formats/code-block":R.default,"formats/header":r.default,"formats/list":u.default,"formats/bold":w.default,"formats/code":P.Code,"formats/italic":E.default,"formats/link":O.default,"formats/script":D.default,"formats/strike":T.default,"formats/underline":A.default,"formats/image":I.default,"formats/video":j.default,"formats/list/item":s.ListItem,"modules/formula":V.default,"modules/syntax":G.default,"modules/toolbar":K.default,"themes/bubble":de.default,"themes/snow":ve.default,"ui/icons":J.default,"ui/picker":ue.default,"ui/icon-picker":Ce.default,"ui/color-picker":_e.default,"ui/tooltip":Re.default},!0),p.default=d.default},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.IndentClass=void 0;var g=function(){function u(f,m){for(var b=0;b<m.length;b++){var C=m[b];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(f,C.key,C)}}return function(f,m,b){return m&&u(f.prototype,m),b&&u(f,b),f}}(),d=function u(f,m,b){f===null&&(f=Function.prototype);var C=Object.getOwnPropertyDescriptor(f,m);if(C===void 0){var _=Object.getPrototypeOf(f);return _===null?void 0:u(_,m,b)}else{if("value"in C)return C.value;var w=C.get;return w===void 0?void 0:w.call(b)}},c=v(0),o=a(c);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,f){if(!(u instanceof f))throw new TypeError("Cannot call a class as a function")}function l(u,f){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:u}function n(u,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);u.prototype=Object.create(f&&f.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(u,f):u.__proto__=f)}var r=function(u){n(f,u);function f(){return i(this,f),l(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}return g(f,[{key:"add",value:function(b,C){if(C==="+1"||C==="-1"){var _=this.value(b)||0;C=C==="+1"?_+1:_-1}return C===0?(this.remove(b),!0):d(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"add",this).call(this,b,C)}},{key:"canAdd",value:function(b,C){return d(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"canAdd",this).call(this,b,C)||d(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"canAdd",this).call(this,b,parseInt(C))}},{key:"value",value:function(b){return parseInt(d(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"value",this).call(this,b))||void 0}}]),f}(o.default.Attributor.Class),s=new r("indent","ql-indent",{scope:o.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});p.IndentClass=s},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(4),d=c(g);function c(n){return n&&n.__esModule?n:{default:n}}function o(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function a(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function i(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var l=function(n){i(r,n);function r(){return o(this,r),a(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(d.default);l.blotName="blockquote",l.tagName="blockquote",p.default=l},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function r(s,u){for(var f=0;f<u.length;f++){var m=u[f];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(s,m.key,m)}}return function(s,u,f){return u&&r(s.prototype,u),f&&r(s,f),s}}(),d=v(4),c=o(d);function o(r){return r&&r.__esModule?r:{default:r}}function a(r,s){if(!(r instanceof s))throw new TypeError("Cannot call a class as a function")}function i(r,s){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:r}function l(r,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);r.prototype=Object.create(s&&s.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(r,s):r.__proto__=s)}var n=function(r){l(s,r);function s(){return a(this,s),i(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return g(s,null,[{key:"formats",value:function(f){return this.tagName.indexOf(f.tagName)+1}}]),s}(c.default);n.blotName="header",n.tagName=["H1","H2","H3","H4","H5","H6"],p.default=n},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.ListItem=void 0;var g=function(){function _(w,x){for(var E=0;E<x.length;E++){var L=x[E];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(w,L.key,L)}}return function(w,x,E){return x&&_(w.prototype,x),E&&_(w,E),w}}(),d=function _(w,x,E){w===null&&(w=Function.prototype);var L=Object.getOwnPropertyDescriptor(w,x);if(L===void 0){var O=Object.getPrototypeOf(w);return O===null?void 0:_(O,x,E)}else{if("value"in L)return L.value;var k=L.get;return k===void 0?void 0:k.call(E)}},c=v(0),o=r(c),a=v(4),i=r(a),l=v(25),n=r(l);function r(_){return _&&_.__esModule?_:{default:_}}function s(_,w,x){return w in _?Object.defineProperty(_,w,{value:x,enumerable:!0,configurable:!0,writable:!0}):_[w]=x,_}function u(_,w){if(!(_ instanceof w))throw new TypeError("Cannot call a class as a function")}function f(_,w){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:_}function m(_,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);_.prototype=Object.create(w&&w.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(_,w):_.__proto__=w)}var b=function(_){m(w,_);function w(){return u(this,w),f(this,(w.__proto__||Object.getPrototypeOf(w)).apply(this,arguments))}return g(w,[{key:"format",value:function(E,L){E===C.blotName&&!L?this.replaceWith(o.default.create(this.statics.scope)):d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"format",this).call(this,E,L)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(E,L){return this.parent.isolate(this.offset(this.parent),this.length()),E===this.parent.statics.blotName?(this.parent.replaceWith(E,L),this):(this.parent.unwrap(),d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"replaceWith",this).call(this,E,L))}}],[{key:"formats",value:function(E){return E.tagName===this.tagName?void 0:d(w.__proto__||Object.getPrototypeOf(w),"formats",this).call(this,E)}}]),w}(i.default);b.blotName="list-item",b.tagName="LI";var C=function(_){m(w,_),g(w,null,[{key:"create",value:function(E){var L=E==="ordered"?"OL":"UL",O=d(w.__proto__||Object.getPrototypeOf(w),"create",this).call(this,L);return(E==="checked"||E==="unchecked")&&O.setAttribute("data-checked",E==="checked"),O}},{key:"formats",value:function(E){if(E.tagName==="OL")return"ordered";if(E.tagName==="UL")return E.hasAttribute("data-checked")?E.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function w(x){u(this,w);var E=f(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x)),L=function(k){if(k.target.parentNode===x){var D=E.statics.formats(x),$=o.default.find(k.target);D==="checked"?$.format("list","unchecked"):D==="unchecked"&&$.format("list","checked")}};return x.addEventListener("touchstart",L),x.addEventListener("mousedown",L),E}return g(w,[{key:"format",value:function(E,L){this.children.length>0&&this.children.tail.format(E,L)}},{key:"formats",value:function(){return s({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(E,L){if(E instanceof b)d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertBefore",this).call(this,E,L);else{var O=L==null?this.length():L.offset(this),k=this.split(O);k.parent.insertBefore(E,k)}}},{key:"optimize",value:function(E){d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"optimize",this).call(this,E);var L=this.next;L!=null&&L.prev===this&&L.statics.blotName===this.statics.blotName&&L.domNode.tagName===this.domNode.tagName&&L.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(L.moveChildren(this),L.remove())}},{key:"replace",value:function(E){if(E.statics.blotName!==this.statics.blotName){var L=o.default.create(this.statics.defaultChild);E.moveChildren(L),this.appendChild(L)}d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"replace",this).call(this,E)}}]),w}(n.default);C.blotName="list",C.scope=o.default.Scope.BLOCK_BLOT,C.tagName=["OL","UL"],C.defaultChild="list-item",C.allowedChildren=[b],p.ListItem=b,p.default=C},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(56),d=c(g);function c(n){return n&&n.__esModule?n:{default:n}}function o(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function a(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function i(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var l=function(n){i(r,n);function r(){return o(this,r),a(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(d.default);l.blotName="italic",l.tagName=["EM","I"],p.default=l},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function s(u,f){for(var m=0;m<f.length;m++){var b=f[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,f,m){return f&&s(u.prototype,f),m&&s(u,m),u}}(),d=function s(u,f,m){u===null&&(u=Function.prototype);var b=Object.getOwnPropertyDescriptor(u,f);if(b===void 0){var C=Object.getPrototypeOf(u);return C===null?void 0:s(C,f,m)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(m)}},c=v(6),o=a(c);function a(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function l(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function n(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){n(u,s);function u(){return i(this,u),l(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return g(u,null,[{key:"create",value:function(m){return m==="super"?document.createElement("sup"):m==="sub"?document.createElement("sub"):d(u.__proto__||Object.getPrototypeOf(u),"create",this).call(this,m)}},{key:"formats",value:function(m){if(m.tagName==="SUB")return"sub";if(m.tagName==="SUP")return"super"}}]),u}(o.default);r.blotName="script",r.tagName=["SUB","SUP"],p.default=r},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(6),d=c(g);function c(n){return n&&n.__esModule?n:{default:n}}function o(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function a(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function i(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var l=function(n){i(r,n);function r(){return o(this,r),a(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(d.default);l.blotName="strike",l.tagName="S",p.default=l},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(6),d=c(g);function c(n){return n&&n.__esModule?n:{default:n}}function o(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function a(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function i(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var l=function(n){i(r,n);function r(){return o(this,r),a(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(d.default);l.blotName="underline",l.tagName="U",p.default=l},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function f(m,b){for(var C=0;C<b.length;C++){var _=b[C];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(m,_.key,_)}}return function(m,b,C){return b&&f(m.prototype,b),C&&f(m,C),m}}(),d=function f(m,b,C){m===null&&(m=Function.prototype);var _=Object.getOwnPropertyDescriptor(m,b);if(_===void 0){var w=Object.getPrototypeOf(m);return w===null?void 0:f(w,b,C)}else{if("value"in _)return _.value;var x=_.get;return x===void 0?void 0:x.call(C)}},c=v(0),o=i(c),a=v(27);function i(f){return f&&f.__esModule?f:{default:f}}function l(f,m){if(!(f instanceof m))throw new TypeError("Cannot call a class as a function")}function n(f,m){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:f}function r(f,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);f.prototype=Object.create(m&&m.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(f,m):f.__proto__=m)}var s=["alt","height","width"],u=function(f){r(m,f);function m(){return l(this,m),n(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return g(m,[{key:"format",value:function(C,_){s.indexOf(C)>-1?_?this.domNode.setAttribute(C,_):this.domNode.removeAttribute(C):d(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,C,_)}}],[{key:"create",value:function(C){var _=d(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,C);return typeof C=="string"&&_.setAttribute("src",this.sanitize(C)),_}},{key:"formats",value:function(C){return s.reduce(function(_,w){return C.hasAttribute(w)&&(_[w]=C.getAttribute(w)),_},{})}},{key:"match",value:function(C){return/\.(jpe?g|gif|png)$/.test(C)||/^data:image\/.+;base64/.test(C)}},{key:"sanitize",value:function(C){return(0,a.sanitize)(C,["http","https","data"])?C:"//:0"}},{key:"value",value:function(C){return C.getAttribute("src")}}]),m}(o.default.Embed);u.blotName="image",u.tagName="IMG",p.default=u},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function f(m,b){for(var C=0;C<b.length;C++){var _=b[C];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(m,_.key,_)}}return function(m,b,C){return b&&f(m.prototype,b),C&&f(m,C),m}}(),d=function f(m,b,C){m===null&&(m=Function.prototype);var _=Object.getOwnPropertyDescriptor(m,b);if(_===void 0){var w=Object.getPrototypeOf(m);return w===null?void 0:f(w,b,C)}else{if("value"in _)return _.value;var x=_.get;return x===void 0?void 0:x.call(C)}},c=v(4),o=v(27),a=i(o);function i(f){return f&&f.__esModule?f:{default:f}}function l(f,m){if(!(f instanceof m))throw new TypeError("Cannot call a class as a function")}function n(f,m){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:f}function r(f,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);f.prototype=Object.create(m&&m.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(f,m):f.__proto__=m)}var s=["height","width"],u=function(f){r(m,f);function m(){return l(this,m),n(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return g(m,[{key:"format",value:function(C,_){s.indexOf(C)>-1?_?this.domNode.setAttribute(C,_):this.domNode.removeAttribute(C):d(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,C,_)}}],[{key:"create",value:function(C){var _=d(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,C);return _.setAttribute("frameborder","0"),_.setAttribute("allowfullscreen",!0),_.setAttribute("src",this.sanitize(C)),_}},{key:"formats",value:function(C){return s.reduce(function(_,w){return C.hasAttribute(w)&&(_[w]=C.getAttribute(w)),_},{})}},{key:"sanitize",value:function(C){return a.default.sanitize(C)}},{key:"value",value:function(C){return C.getAttribute("src")}}]),m}(c.BlockEmbed);u.blotName="video",u.className="ql-video",u.tagName="IFRAME",p.default=u},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.FormulaBlot=void 0;var g=function(){function C(_,w){for(var x=0;x<w.length;x++){var E=w[x];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(_,E.key,E)}}return function(_,w,x){return w&&C(_.prototype,w),x&&C(_,x),_}}(),d=function C(_,w,x){_===null&&(_=Function.prototype);var E=Object.getOwnPropertyDescriptor(_,w);if(E===void 0){var L=Object.getPrototypeOf(_);return L===null?void 0:C(L,w,x)}else{if("value"in E)return E.value;var O=E.get;return O===void 0?void 0:O.call(x)}},c=v(35),o=r(c),a=v(5),i=r(a),l=v(9),n=r(l);function r(C){return C&&C.__esModule?C:{default:C}}function s(C,_){if(!(C instanceof _))throw new TypeError("Cannot call a class as a function")}function u(C,_){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:C}function f(C,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);C.prototype=Object.create(_&&_.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(C,_):C.__proto__=_)}var m=function(C){f(_,C);function _(){return s(this,_),u(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return g(_,null,[{key:"create",value:function(x){var E=d(_.__proto__||Object.getPrototypeOf(_),"create",this).call(this,x);return typeof x=="string"&&(window.katex.render(x,E,{throwOnError:!1,errorColor:"#f00"}),E.setAttribute("data-value",x)),E}},{key:"value",value:function(x){return x.getAttribute("data-value")}}]),_}(o.default);m.blotName="formula",m.className="ql-formula",m.tagName="SPAN";var b=function(C){f(_,C),g(_,null,[{key:"register",value:function(){i.default.register(m,!0)}}]);function _(){s(this,_);var w=u(this,(_.__proto__||Object.getPrototypeOf(_)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return w}return _}(n.default);p.FormulaBlot=m,p.default=b},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.CodeToken=p.CodeBlock=void 0;var g=function(){function x(E,L){for(var O=0;O<L.length;O++){var k=L[O];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(E,k.key,k)}}return function(E,L,O){return L&&x(E.prototype,L),O&&x(E,O),E}}(),d=function x(E,L,O){E===null&&(E=Function.prototype);var k=Object.getOwnPropertyDescriptor(E,L);if(k===void 0){var D=Object.getPrototypeOf(E);return D===null?void 0:x(D,L,O)}else{if("value"in k)return k.value;var $=k.get;return $===void 0?void 0:$.call(O)}},c=v(0),o=u(c),a=v(5),i=u(a),l=v(9),n=u(l),r=v(13),s=u(r);function u(x){return x&&x.__esModule?x:{default:x}}function f(x,E){if(!(x instanceof E))throw new TypeError("Cannot call a class as a function")}function m(x,E){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:x}function b(x,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);x.prototype=Object.create(E&&E.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(x,E):x.__proto__=E)}var C=function(x){b(E,x);function E(){return f(this,E),m(this,(E.__proto__||Object.getPrototypeOf(E)).apply(this,arguments))}return g(E,[{key:"replaceWith",value:function(O){this.domNode.textContent=this.domNode.textContent,this.attach(),d(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replaceWith",this).call(this,O)}},{key:"highlight",value:function(O){var k=this.domNode.textContent;this.cachedText!==k&&((k.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=O(k),this.domNode.normalize(),this.attach()),this.cachedText=k)}}]),E}(s.default);C.className="ql-syntax";var _=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),w=function(x){b(E,x),g(E,null,[{key:"register",value:function(){i.default.register(_,!0),i.default.register(C,!0)}}]);function E(L,O){f(this,E);var k=m(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,L,O));if(typeof k.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var D=null;return k.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(D),D=setTimeout(function(){k.highlight(),D=null},k.options.interval)}),k.highlight(),k}return g(E,[{key:"highlight",value:function(){var O=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var k=this.quill.getSelection();this.quill.scroll.descendants(C).forEach(function(D){D.highlight(O.options.highlight)}),this.quill.update(i.default.sources.SILENT),k!=null&&this.quill.setSelection(k,i.default.sources.SILENT)}}}]),E}(n.default);w.DEFAULTS={highlight:function(){return window.hljs==null?null:function(x){var E=window.hljs.highlightAuto(x);return E.value}}(),interval:1e3},p.CodeBlock=C,p.CodeToken=_,p.default=w},function(e,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.BubbleTooltip=void 0;var g=function E(L,O,k){L===null&&(L=Function.prototype);var D=Object.getOwnPropertyDescriptor(L,O);if(D===void 0){var $=Object.getPrototypeOf(L);return $===null?void 0:E($,O,k)}else{if("value"in D)return D.value;var T=D.get;return T===void 0?void 0:T.call(k)}},d=function(){function E(L,O){for(var k=0;k<O.length;k++){var D=O[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(L,D.key,D)}}return function(L,O,k){return O&&E(L.prototype,O),k&&E(L,k),L}}(),c=v(3),o=f(c),a=v(8),i=f(a),l=v(43),n=f(l),r=v(15),s=v(41),u=f(s);function f(E){return E&&E.__esModule?E:{default:E}}function m(E,L){if(!(E instanceof L))throw new TypeError("Cannot call a class as a function")}function b(E,L){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L&&(typeof L=="object"||typeof L=="function")?L:E}function C(E,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof L);E.prototype=Object.create(L&&L.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),L&&(Object.setPrototypeOf?Object.setPrototypeOf(E,L):E.__proto__=L)}var _=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],w=function(E){C(L,E);function L(O,k){m(this,L),k.modules.toolbar!=null&&k.modules.toolbar.container==null&&(k.modules.toolbar.container=_);var D=b(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,O,k));return D.quill.container.classList.add("ql-bubble"),D}return d(L,[{key:"extendToolbar",value:function(k){this.tooltip=new x(this.quill,this.options.bounds),this.tooltip.root.appendChild(k.container),this.buildButtons([].slice.call(k.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(k.container.querySelectorAll("select")),u.default)}}]),L}(n.default);w.DEFAULTS=(0,o.default)(!0,{},n.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(L){L?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var x=function(E){C(L,E);function L(O,k){m(this,L);var D=b(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,O,k));return D.quill.on(i.default.events.EDITOR_CHANGE,function($,T,M,A){if($===i.default.events.SELECTION_CHANGE)if(T!=null&&T.length>0&&A===i.default.sources.USER){D.show(),D.root.style.left="0px",D.root.style.width="",D.root.style.width=D.root.offsetWidth+"px";var F=D.quill.getLines(T.index,T.length);if(F.length===1)D.position(D.quill.getBounds(T));else{var I=F[F.length-1],B=D.quill.getIndex(I),j=Math.min(I.length()-1,T.index+T.length-B),P=D.quill.getBounds(new r.Range(B,j));D.position(P)}}else document.activeElement!==D.textbox&&D.quill.hasFocus()&&D.hide()}),D}return d(L,[{key:"listen",value:function(){var k=this;g(L.prototype.__proto__||Object.getPrototypeOf(L.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){k.root.classList.remove("ql-editing")}),this.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!k.root.classList.contains("ql-hidden")){var D=k.quill.getSelection();D!=null&&k.position(k.quill.getBounds(D))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(k){var D=g(L.prototype.__proto__||Object.getPrototypeOf(L.prototype),"position",this).call(this,k),$=this.root.querySelector(".ql-tooltip-arrow");if($.style.marginLeft="",D===0)return D;$.style.marginLeft=-1*D-$.offsetWidth/2+"px"}}]),L}(l.BaseTooltip);x.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(""),p.BubbleTooltip=x,p.default=w},function(e,p,v){e.exports=v(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$2$={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(t,h){const e={editorOption:{},quill:null};let p="";vue.watch(()=>t.value,c=>{e.quill&&(c&&c!==p?(p=c,e.quill.pasteHTML(c)):c||e.quill.setText(""))}),vue.watch(()=>t.content,c=>{e.quill&&(c&&c!==p?(p=c,e.quill.pasteHTML(c)):c||e.quill.setText(""))}),vue.watch(()=>t.disabled,c=>{e.quill&&e.quill.enable(!c)});const v=vue.ref(null),g=(c,o)=>{for(const a in o)!c[a]||a!=="modules"?c[a]=o[a]:g(c[a],o[a]);return c},d=()=>{v.value&&(e.editorOption=g(defaultOptions,t.options),e.editorOption.readOnly=!!t.disabled,e.quill=new Quill(v.value,e.editorOption),t.value&&e.quill.pasteHTML(t.value),e.quill.on("selection-change",c=>{c?h.emit("focus",e.quill):h.emit("blur",e.quill)}),e.quill.on("text-change",()=>{t.disabled&&e.quill.enable(!1);let c=v.value.children[0].innerHTML;const o=e.quill,a=e.quill.getText();c==="<p><br></p>"&&(c=""),p=c,h.emit("update:value",p),h.emit("change",{html:c,text:a,quill:o})}),h.emit("ready",e.quill))};return vue.onBeforeUnmount(()=>{const c=v.value.previousSibling;c&&c.className.indexOf("ql-toolbar")>-1&&c.parentNode.removeChild(c)}),vue.onMounted(()=>{d()}),vue.onUnmounted(()=>{e.quill=null}),{editor:v}}},_hoisted_1$y={ref:"editor"};function _sfc_render$2$(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("section",_hoisted_1$y,null,512)}var quillEditor=_export_sfc$1(_sfc_main$2$,[["render",_sfc_render$2$]]);quillEditor.install=function(t){t.component(quillEditor.name,quillEditor)};var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$2_={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$2_(t,h,e,p,v,g){const d=vue.resolveComponent("quill-editor"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{value:v.fieldModel,"onUpdate:value":h[0]||(h[0]=o=>v.fieldModel=o),options:g.editorOption,disabled:e.field.options.disabled,onBlur:g.handleRichEditorBlurEvent,onFocus:g.handleRichEditorFocusEvent,onChange:g.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$2_,[["render",_sfc_render$2_],["__scopeId","data-v-a23436fa"]]),__glob_0_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:richEditorWidget},Symbol.toStringTag,{value:"Module"}));const _sfc_main$2Z={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}}};function _sfc_render$2Z(t,h,e,p,v,g){const d=vue.resolveComponent("el-tree-select"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":t.subFormRowIndex,"sub-form-col-index":t.subFormColIndex,"sub-form-row-id":t.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),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:e.field.options.disabled,size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":g.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":g.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},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"])]),_: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$2Z,[["render",_sfc_render$2Z]]),__glob_0_16$1=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$2Y={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:(console.log(this.field.options.optionItems),[])}}};function _sfc_render$2Y(t,h,e,p,v,g){const d=vue.resolveComponent("el-option"),c=vue.resolveComponent("el-select"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:v.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:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=a=>v.fieldModel=a),class:"full-width-input",disabled:e.field.options.disabled,size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":g.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":g.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.field.options.optionItems,a=>(vue.openBlock(),vue.createBlock(d,{key:a.value,label:a.label,value:e.field.options.objectValue?a:a.value,disabled:a.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$2Y,[["render",_sfc_render$2Y],["__scopeId","data-v-6e88c84c"]]),__glob_0_17$1=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$2X={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$2X(t,h,e,p,v,g){const d=vue.resolveComponent("el-slider"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,"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:t.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$2X,[["render",_sfc_render$2X],["__scopeId","data-v-92a76556"]]),__glob_0_18$1=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$2W={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$x={key:0,class:"slot-title"};function _sfc_render$2W(t,h,e,p,v,g){const d=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(d,{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(t.$slots,e.field.options.name,{formModel:t.formModel},void 0,!0),e.designState?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$x,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$2W,[["render",_sfc_render$2W],["__scopeId","data-v-95f13fca"]]),__glob_0_19$1=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$2V={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:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$2V(t,h,e,p,v,g){const d=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(d,{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",style:vue.normalizeStyle(e.field.options.fontSize?`font-size: ${e.field.options.fontSize};`:"")},[vue.createElementVNode("pre",{style:vue.normalizeStyle({"white-space":e.field.options.preWrap?"pre-wrap":"pre","text-align":e.field.options.textAlign?e.field.options.textAlign:"left"})},vue.toDisplayString(e.field.options.textContent),5)],4)]),_: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 staticTextWidget=_export_sfc$1(_sfc_main$2V,[["render",_sfc_render$2V],["__scopeId","data-v-4071ab53"]]),__glob_0_21$1=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$2U={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$2U(t,h,e,p,v,g){const d=vue.resolveComponent("el-switch"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,"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:t.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$2U,[["render",_sfc_render$2U],["__scopeId","data-v-3529e848"]]),__glob_0_22$1=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$2T={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$2T(t,h,e,p,v,g){const d=vue.resolveComponent("el-input"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{type:"textarea",ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.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:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.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$2T,[["render",_sfc_render$2T],["__scopeId","data-v-072d98c8"]]),__glob_0_23$1=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$2S={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$2S(t,h,e,p,v,g){const d=vue.resolveComponent("el-time-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor","is-range":"",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),class:vue.normalizeClass([e.field.options.autoFullWidth?"full-width-input":""]),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.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||t.i18nt("render.hint.startTimePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||t.i18nt("render.hint.endTimePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$2S,[["render",_sfc_render$2S],["__scopeId","data-v-2cee4a68"]]),__glob_0_24$1=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$2R={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$2R(t,h,e,p,v,g){const d=vue.resolveComponent("el-time-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.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||t.i18nt("render.hint.timePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$2R,[["render",_sfc_render$2R],["__scopeId","data-v-417e0c7c"]]),__glob_0_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:timeWidget},Symbol.toStringTag,{value:"Module"}));let comps$1={};const modules$3={"./button-widget.vue":__glob_0_0$2,"./cascader-widget.vue":__glob_0_1$3,"./checkbox-widget.vue":__glob_0_2$3,"./color-widget.vue":__glob_0_3$3,"./date-range-widget.vue":__glob_0_4$3,"./date-widget.vue":__glob_0_5$3,"./divider-widget.vue":__glob_0_6$2,"./file-upload-widget.vue":__glob_0_7$1,"./form-item-wrapper.vue":__glob_0_8$1,"./html-text-widget.vue":__glob_0_9$1,"./input-widget.vue":__glob_0_10$1,"./number-widget.vue":__glob_0_11$1,"./picture-upload-widget.vue":__glob_0_12$1,"./radio-widget.vue":__glob_0_13$1,"./rate-widget.vue":__glob_0_14$1,"./rich-editor-widget.vue":__glob_0_15$1,"./select-tree-widget.vue":__glob_0_16$1,"./select-widget.vue":__glob_0_17$1,"./slider-widget.vue":__glob_0_18$1,"./slot-widget.vue":__glob_0_19$1,"./static-content-wrapper.vue":__glob_0_20$1,"./static-text-widget.vue":__glob_0_21$1,"./switch-widget.vue":__glob_0_22$1,"./textarea-widget.vue":__glob_0_23$1,"./time-range-widget.vue":__glob_0_24$1,"./time-widget.vue":__glob_0_25$1};for(const t in modules$3){let h=modules$3[t].default.name;comps$1[h]=modules$3[t].default}var gridColItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$2Q={name:"GridColItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:tt({},comps$1),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}},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()},customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},created(){this.initLayoutProps(),this.initRefList()},methods:{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 t=this.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="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$w={class:"blank-cell"},_hoisted_2$k={class:"invisible-content"};function _sfc_render$2Q(t,h,e,p,v,g){const d=vue.resolveComponent("el-col");return e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(d,vue.mergeProps({key:0,class:["grid-cell",[g.customClass]]},v.layoutProps,{style:g.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,(c,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[c.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(c)),{widget:c,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-col-index":e.subFormColIndex},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),a=>({name:a,fn:vue.withCtx(i=>[vue.renderSlot(t.$slots,a,vue.mergeProps({ref_for:!0},i),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"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(c.type+"-widget"),{field:e.fieldSchemaData&&e.fieldSchemaData[o]?e.fieldSchemaData[o]:c,designer:null,key:e.fieldSchemaData&&e.fieldSchemaData[o]?e.fieldSchemaData[o].id:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.parentWidget,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-col-index":e.subFormColIndex},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),a=>({name:a,fn:vue.withCtx(i=>[vue.renderSlot(t.$slots,a,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-col-index"]))],64))),256)):(vue.openBlock(),vue.createBlock(d,{key:1},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$w,[vue.createElementVNode("span",_hoisted_2$k,vue.toDisplayString(t.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"])),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)}var GridColItem=_export_sfc$1(_sfc_main$2Q,[["render",_sfc_render$2Q],["__scopeId","data-v-7d0b212c"]]),__glob_0_1$2=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 t=this.widget.options.name;delete this.refList[t]}},callSetHidden(){this.widget&&this.widget.options&&this.widget.options.hidden===!0&&this.setHidden(!0)},setHidden(t){if(!this.widget||!this.widget.options)return;this.widget.options.hidden=t;let h=e=>{if(!e||!e.options)return;let p=e.options.name,v=this.getWidgetRef(p);t&&!!v&&!!v.clearFieldRules&&v.clearFieldRules(),!t&&!!v&&!!v.buildFieldRules&&v.buildFieldRules()};traverseFieldWidgetsOfContainer(this.widget,h)},activeTab(t){t>=0&&t<this.widget.tabs.length&&this.widget.tabs.forEach((h,e)=>{h.options.active=e===t,e===t&&(this.activeTabName=h.options.name)})},disableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!0)},enableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!1)},hideTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!0)},showTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!1)},setWidgetOption(t,h){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=h)},getSubFormRowCount(){return this.rowIdData?this.rowIdData.length:0},disableSubFormRow(t){this.widget.widgetList.forEach(h=>{let e=h.options.name+"@row"+this.rowIdData[t],p=this.getWidgetRef(e);p&&p.setDisabled(!0)})},enableSubFormRow(t){this.widget.widgetList.forEach(h=>{let e=h.options.name+"@row"+this.rowIdData[t],p=this.getWidgetRef(e);p&&p.setDisabled(!1)})},disableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,h)=>{this.disableSubFormRow(h)}),this.actionDisabled=!0},enableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,h)=>{this.enableSubFormRow(h)}),this.actionDisabled=!1},resetSubForm(){if(this.widget.type==="sub-form"){let t=this.formModel[this.widget.options.name];t&&(t.splice(0,t.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues(t=!0){if(this.widget.type==="sub-form")return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},addCssClass(t){this.widget.options.customClass?this.widget.options.customClass.push(t):this.widget.options.customClass=[t]},removeCssClass(t){if(!this.widget.options.customClass)return;let h=-1;this.widget.options.customClass.map((e,p)=>{e===t&&(h=p)}),h>-1&&this.widget.options.customClass.splice(h,1)}}};const _sfc_main$2P={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}},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$2P(t,h,e,p,v,g){const d=vue.resolveComponent("grid-col-item"),c=vue.resolveComponent("el-row"),o=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(o,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(c,{key:e.widget.id,gutter:e.widget&&e.widget.options?e.widget.options.gutter:12,class:vue.normalizeClass(["grid-container",[t.customClass]]),ref:e.widget.id},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols||[],(a,i)=>(vue.openBlock(),vue.createBlock(d,{key:i,widget:a,"parent-list":e.widget.cols,"index-of-parent-list":i,"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,"field-schema-data":e.fieldSchemaData},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),l=>({name:l,fn:vue.withCtx(n=>[vue.renderSlot(t.$slots,l,vue.mergeProps({ref_for:!0},n))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","col-height","sub-form-row-index","sub-form-row-id","sub-form-col-index","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$2P,[["render",_sfc_render$2P]]),__glob_0_2$2=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$2O={name:"sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Bt(tt({ContainerItemWrapper},comps$1),{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(t,h){return h.options.labelAlign||t.options.labelAlign},registerSubFormToRefList(){this.widget.type==="sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(t){if(this.widget.type==="sub-form"){this.rowIdData.splice(0,this.rowIdData.length);let h=this.formModel[this.widget.options.name];!!h&&h.length>0&&(h.forEach(()=>{this.rowIdData.push("id"+generateId())}),t&&setTimeout(()=>{this.handleSubFormRowChange(h)},800))}},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(t){this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},getRowIdData(){return this.rowIdData},getWidgetRefOfSubForm(t,h){let e=t+"@row"+this.rowIdData[h];return this.getWidgetRef(e)},initFieldSchemaData(){if(this.widget.type!=="sub-form")return;let t=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),t>0)for(let h=0;h<t;h++){let e=[];this.widget.widgetList.forEach(p=>{e.push(this.cloneFieldSchema(p))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(t){let h=[];this.widget.widgetList.forEach(e=>{h.push(this.cloneFieldSchema(e))}),t===void 0?this.fieldSchemaData.push(h):this.fieldSchemaData.splice(t,0,h)},deleteFromFieldSchemaData(t){this.fieldSchemaData.splice(t,1)},cloneFieldSchema(t){let h=deepClone(t);return h.id=t.type+generateId(),h},initEventHandler(){this.widget.type==="sub-form"&&this.on$("setFormData",t=>{this.initRowIdData(!1),this.initFieldSchemaData();let h=t[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(h)},800)})},handleSubFormFirstRowAdd(){if(this.widget.type==="sub-form"&&!!this.widget.options.showBlankRow&&this.rowIdData.length===1){let t=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(t,this.rowIdData[0]),this.handleSubFormRowChange(t)}},addSubFormRow(){let t={};this.widget.widgetList.forEach(e=>{e.formItemFlag&&(t[e.options.name]=e.options.defaultValue)});let h=this.formModel[this.widget.options.name]||[];h.push(t),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(h,this.rowIdData[h.length-1]),this.handleSubFormRowChange(h)},insertSubFormRow(t){let h={};this.widget.widgetList.forEach(p=>{p.formItemFlag&&(h[p.options.name]=p.options.defaultValue)});let e=this.formModel[this.widget.options.name]||[];e.splice(t,0,h),this.insertToRowIdData(t),this.addToFieldSchemaData(t),this.handleSubFormRowInsert(e,this.rowIdData[t]),this.handleSubFormRowChange(e)},deleteSubFormRow(t){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 h=this.formModel[this.widget.options.name]||[],e=deepClone(h[t]);h.splice(t,1),this.deleteFromRowIdData(t),this.deleteFromFieldSchemaData(t),this.handleSubFormRowDelete(h,e),this.handleSubFormRowChange(h)}).catch(()=>{})},handleSubFormRowChange(t){this.widget.options.onSubFormRowChange&&new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,t)},handleSubFormRowAdd(t,h){this.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,t,h)},handleSubFormRowInsert(t,h){this.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,t,h)},handleSubFormRowDelete(t,h){this.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,t,h)}}},_hoisted_1$v={class:"action-header-column"},_hoisted_2$j={class:"action-label"},_hoisted_3$g={key:0,class:"custom-label"},_hoisted_4$e=["title"],_hoisted_5$b={class:"sub-form-action-column hide-label"},_hoisted_6$b={class:"action-button-column"},_hoisted_7$8={key:0,class:"row-number-span"};function _sfc_render$2O(t,h,e,p,v,g){const d=vue.resolveComponent("svg-icon"),c=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-tooltip"),a=vue.resolveComponent("el-row"),i=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(i,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"sub-form-container"},[vue.createVNode(a,{class:"header-row"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$v,[vue.createElementVNode("span",_hoisted_2$j,vue.toDisplayString(t.i18nt("render.hint.subFormAction")),1),vue.createVNode(c,{disabled:v.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:g.addSubFormRow,title:t.i18nt("render.hint.subFormAddActionHint")},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("render.hint.subFormAddAction")),1),vue.createVNode(d,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,l=>(vue.openBlock(),vue.createElementBlock("div",{key:l.id+"thc",class:vue.normalizeClass(["field-header-column",[g.getLabelAlign(e.widget,l),l.options.required?"is-required":""]]),style:vue.normalizeStyle({width:l.options.columnWidth})},[l.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_3$g,[l.options.labelIconPosition==="front"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[l.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(o,{content:l.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":l.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"]),vue.createTextVNode(vue.toDisplayString(l.options.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(d,{"icon-class":l.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(l.options.label),1)],64))],64)):l.options.labelIconPosition==="rear"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[l.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(l.options.label),1),vue.createVNode(o,{content:l.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":l.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"])],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(l.options.label),1),vue.createVNode(d,{"icon-class":l.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):(vue.openBlock(),vue.createElementBlock("span",{key:1,title:l.options.labelTooltip},vue.toDisplayString(l.options.label),9,_hoisted_4$e))],6))),128))]),_:1}),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.rowIdData,(l,n)=>(vue.openBlock(),vue.createBlock(a,{class:"sub-form-row",key:l},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$b,[vue.createElementVNode("div",_hoisted_6$b,[vue.createVNode(c,{disabled:v.actionDisabled,circle:"",onClick:r=>g.insertSubFormRow(n),title:t.i18nt("render.hint.insertSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"]),vue.createVNode(c,{disabled:v.actionDisabled,circle:"",onClick:r=>g.deleteSubFormRow(n),title:t.i18nt("render.hint.deleteSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-delete"})]),_:1},8,["disabled","onClick","title"]),e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$8,"#"+vue.toDisplayString(n+1),1)):vue.createCommentVNode("",!0)])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(r,s)=>{var u;return vue.openBlock(),vue.createElementBlock("div",{key:r.id+"tc"+l,class:"sub-form-table-column hide-label",style:vue.normalizeStyle({width:r.options.columnWidth})},[r.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(v.fieldSchemaData[n][s])),{widget:v.fieldSchemaData[n][s],key:v.fieldSchemaData[n][s].id,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget,"sub-form-row-id":l,"sub-form-row-index":n,"sub-form-col-index":s,"field-schema-data":(u=v.fieldSchemaData[n][s])==null?void 0:u.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(r.type+"-widget"),{field:v.fieldSchemaData[n][s],key:v.fieldSchemaData[n][s].id,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget,"sub-form-row-id":l,"sub-form-row-index":n,"sub-form-col-index":s},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$2O,[["render",_sfc_render$2O],["__scopeId","data-v-59c24e8e"]]),__glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,default:subFormItem},Symbol.toStringTag,{value:"Module"}));const _sfc_main$2N={name:"tab-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:tt({ContainerItemWrapper},comps$1),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{activeTabName:""}},computed:{visibleTabs(){return!this.widget||!this.widget.tabs?[]:this.widget.tabs.filter(t=>t&&t.options&&!t.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 t=this.widget.tabs.filter(h=>h&&h.options&&h.options.active===!0);t.length>0?this.activeTabName=t[0].options.name:this.widget.tabs[0]&&this.widget.tabs[0].options&&(this.activeTabName=this.widget.tabs[0].options.name)}}};function _sfc_render$2N(t,h,e,p,v,g){const d=vue.resolveComponent("el-tab-pane"),c=vue.resolveComponent("el-tabs"),o=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(o,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"tab-container"},[vue.createVNode(c,{modelValue:v.activeTabName,"onUpdate:modelValue":h[0]||(h[0]=a=>v.activeTabName=a),type:e.widget&&e.widget.displayType?e.widget.displayType:"default",ref:e.widget.id,class:vue.normalizeClass([t.customClass])},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(g.visibleTabs,(a,i)=>(vue.openBlock(),vue.createBlock(d,{key:i,label:a.options.label,disabled:a.options.disabled,name:a.options.name},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(a.widgetList,(l,n)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[l.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(l)),{widget:l,key:n,"parent-list":a.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),r=>({name:r,fn:vue.withCtx(s=>[vue.renderSlot(t.$slots,r,vue.mergeProps({ref_for:!0},s))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.type+"-widget"),{field:l,key:n,"parent-list":a.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),r=>({name:r,fn:vue.withCtx(s=>[vue.renderSlot(t.$slots,r,vue.mergeProps({ref_for:!0},s))])}))]),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$2N,[["render",_sfc_render$2N]]),__glob_0_4$2=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$2M={name:"TableCellItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:tt({},comps$1),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$u=["colspan","rowspan"];function _sfc_render$2M(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[g.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,(d,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[d.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(d)),{widget:d,key:c,"parent-list":e.widget.widgetList,"index-of-parent-list":c,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),o=>({name:o,fn:vue.withCtx(a=>[vue.renderSlot(t.$slots,o,vue.mergeProps({ref_for:!0},a),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(d.type+"-widget"),{field:d,key:c,"parent-list":e.widget.widgetList,"index-of-parent-list":c,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),o=>({name:o,fn:vue.withCtx(a=>[vue.renderSlot(t.$slots,o,vue.mergeProps({ref_for:!0},a),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))],14,_hoisted_1$u)}var TableCellItem=_export_sfc$1(_sfc_main$2M,[["render",_sfc_render$2M],["__scopeId","data-v-7d6166fa"]]),__glob_0_5$2=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$2L={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$2L(t,h,e,p,v,g){const d=vue.resolveComponent("table-cell-item"),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:"table-container"},[vue.createElementVNode("table",{ref:e.widget.id,class:vue.normalizeClass(["table-layout",[t.customClass]])},[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows||[],(o,a)=>(vue.openBlock(),vue.createElementBlock("tr",{key:o?o.id:a},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.cols,(i,l)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{widget:i,key:l,"parent-list":e.widget.cols,"row-index":a,"col-index":l,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),n=>({name:n,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,n,vue.mergeProps({ref_for:!0},r),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$2L,[["render",_sfc_render$2L],["__scopeId","data-v-3481d843"]]),__glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:tableItem},Symbol.toStringTag,{value:"Module"}));const modules$2={"./container-item-wrapper.vue":__glob_0_0$3,"./grid-col-item.vue":__glob_0_1$2,"./grid-item.vue":__glob_0_2$2,"./sub-form-item.vue":__glob_0_3$2,"./tab-item.vue":__glob_0_4$2,"./table-cell-item.vue":__glob_0_5$2,"./table-item.vue":__glob_0_6$1};var ContainerItems={install(t){for(const h in modules$2){let e=modules$2[h].default.name;t.component(e,modules$2[h].default)}}},index_vue_vue_type_style_index_0_scoped_true_lang$5="";const _sfc_main$2K={name:"VFormRender",componentName:"VFormRender",mixins:[emitter,i18n$1],components:tt({},comps$1),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:{},created(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject(t=!0){this.formId="vfRender"+generateId(),t&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"},getWidgetName(t){return t.type+"-widget"},initLocale(){let t=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(t)},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(t){!!t&&t.length>0&&t.forEach(h=>{this.buildDataFromWidget(h)})},buildDataFromWidget(t){if(t.category==="container")if(t.type==="grid")!!t.cols&&t.cols.length>0&&t.cols.forEach(h=>{this.buildDataFromWidget(h)});else if(t.type==="table")!!t.rows&&t.rows.length>0&&t.rows.forEach(h=>{!!h.cols&&h.cols.length>0&&h.cols.forEach(e=>{this.buildDataFromWidget(e)})});else if(t.type==="tab")!!t.tabs&&t.tabs.length>0&&t.tabs.forEach(h=>{!!h.widgetList&&h.widgetList.length>0&&h.widgetList.forEach(e=>{this.buildDataFromWidget(e)})});else if(t.type==="sub-form"){let h=t.options.name;if(this.formData.hasOwnProperty(h)){let e=this.formData[h];this.formDataModel[h]=deepClone(e)}else{let e={};t.options.showBlankRow?(t.widgetList.forEach(p=>{p.formItemFlag&&(e[p.options.name]=p.options.defaultValue)}),this.formDataModel[h]=[e]):this.formDataModel[h]=[]}}else t.type==="grid-col"||t.type==="table-cell"?!!t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(h=>{this.buildDataFromWidget(h)}):!!t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(h=>{this.buildDataFromWidget(h)});else if(t.formItemFlag)if(!this.formData.hasOwnProperty(t.options.name))this.formDataModel[t.options.name]=t.options.defaultValue;else{let h=this.formData[t.options.name];this.formDataModel[t.options.name]=deepClone(h)}},addFieldChangeEventHandler(){this.off$("fieldChange"),this.on$("fieldChange",(t,h,e,p,v)=>{this.handleFieldDataChange(t,h,e,p,v),this.$emit("formChange",t,h,e,this.formDataModel,p,v)})},addFieldValidateEventHandler(){this.off$("fieldValidation"),this.on$("fieldValidation",t=>{this.$refs.renderForm.validateField(t)})},registerFormToRefList(){this.widgetRefList.v_form_ref=this},handleFieldDataChange(t,h,e,p,v){!!this.formConfig&&!!this.formConfig.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange).call(this,t,h,e,this.formDataModel,p,v)},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(t,h){let e=this.getWidgetRef(t);e?e.setDisabled(h):this.findWidgetOfSubFormAndSetDisabled(t,h)},findWidgetOfSubFormAndSetDisabled(t,h){this.findWidgetNameInSubForm(t).forEach(e=>{let p=this.getWidgetRef(e);p&&p.setDisabled(h)})},findWidgetAndSetHidden(t,h){let e=this.getWidgetRef(t);e?e.setHidden(h):this.findWidgetOfSubFormAndSetHidden(t,h)},findWidgetOfSubFormAndSetHidden(t,h){this.findWidgetNameInSubForm(t).forEach(e=>{let p=this.getWidgetRef(e);p&&p.setHidden(h)})},findWidgetNameInSubForm(t){let h=[],e=null,p=(v,g)=>{!!v.options&&v.options.name===t&&(e=g.options.name)};if(traverseFieldWidgets(this.widgetList,p),e){let v=this.getWidgetRef(e);if(v){let g=v.getRowIdData();!!g&&g.length>0&&g.forEach(d=>{h.push(t+"@row"+d)})}}return h},changeLanguage(t){changeLocale(t)},getNativeForm(){return this.$refs.renderForm},getFormRef(){return this},getWidgetRef(t,h=!1){let e=this.widgetRefList[t];return!e&&!!h&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},clearFormDataModel(){for(let t in this.formDataModel)delete this.formDataModel[t]},setFormJson(t){if(t)if(typeof t=="string"||t.constructor===Object){let h=null;if(typeof t=="string"?h=JSON.parse(t):h=t,!h.formConfig||!h.widgetList){this.$message.error("Invalid format of form json.");return}this.clearFormDataModel(),this.buildFormModel(h.widgetList),this.formJsonObj.formConfig=h.formConfig,this.formJsonObj.widgetList=h.widgetList,this.insertCustomStyleAndScriptNode(),this.$nextTick(()=>{this.initFormObject(!1),this.handleOnMounted()})}else this.$message.error("Set form json failed.")},getFormJson(){return deepClone(this.formJsonObj)},reloadOptionData(t){let h=[];!!t&&typeof t=="string"?h=[t]:!!t&&Array.isArray(t)&&(h=[...t]),this.broadcast("FieldWidget","reloadOptionItems",h)},getFormData(t=!0){if(!t)return this.formDataModel;let h=function(){},e=new window.Promise(function(p,v){h=function(g,d){d?v(d):p(g)}});return this.$refs.renderForm.validate(p=>{p?h(this.formDataModel):h(this.formDataModel,this.i18nt("render.hint.validationFailed"))}),e},setFormData(t){Object.keys(this.formDataModel).forEach(h=>{!!t&&t.hasOwnProperty(h)&&(this.formDataModel[h]=deepClone(t[h]))}),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue(t){let h=this.getWidgetRef(t);if(!!h&&!!h.getValue)return h.getValue();if(!h){let e=[];return this.findWidgetNameInSubForm(t).forEach(p=>{let v=this.getWidgetRef(p);!!v&&!!v.getValue&&e.push(v.getValue())}),e}},setFieldValue(t,h){let e=this.getWidgetRef(t);!!e&&!!e.setValue&&e.setValue(h),e||this.findWidgetNameInSubForm(t).forEach(p=>{let v=this.getWidgetRef(p);!!v&&!!v.setValue&&v.setValue(h)})},getSubFormValues(t,h=!0){return this.subFormRefList[t].getSubFormValues(h)},disableForm(){Object.keys(this.widgetRefList).forEach(h=>{let e=this.getWidgetRef(h);if(e)if(!!e.widget&&e.widget.type==="sub-form")e.disableSubForm();else{//!!foundW.setDisabled && foundW.setDisabled(true)
73
+ `)}return de}function Ve(ae,de){var be={},ve=ae.style||{};return ve.fontStyle&&U(ae).fontStyle==="italic"&&(be.italic=!0),ve.fontWeight&&(U(ae).fontWeight.startsWith("bold")||parseInt(U(ae).fontWeight)>=700)&&(be.bold=!0),Object.keys(be).length>0&&(de=V(de,be)),parseFloat(ve.textIndent||0)>0&&(de=new l.default().insert(" ").concat(de)),de}function Re(ae,de){var be=ae.data;if(ae.parentNode.tagName==="O:P")return de.insert(be.trim());if(be.trim().length===0&&ae.parentNode.classList.contains("ql-clipboard"))return de;if(!U(ae.parentNode).whiteSpace.startsWith("pre")){var ve=function(Ae,Le){return Le=Le.replace(/[^\u00a0]/g,""),Le.length<1&&Ae?" ":Le};be=be.replace(/\r\n/g," ").replace(/\n/g," "),be=be.replace(/\s\s+/g,ve.bind(ve,!0)),(ae.previousSibling==null&&H(ae.parentNode)||ae.previousSibling!=null&&H(ae.previousSibling))&&(be=be.replace(/^\s+/,ve.bind(ve,!1))),(ae.nextSibling==null&&H(ae.parentNode)||ae.nextSibling!=null&&H(ae.nextSibling))&&(be=be.replace(/\s+$/,ve.bind(ve,!1)))}return de.insert(be)}p.default=z,p.matchAttributor=J,p.matchBlot=ee,p.matchNewline=xe,p.matchSpacing=Ce,p.matchText=Re},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function s(u,f){for(var m=0;m<f.length;m++){var b=f[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,f,m){return f&&s(u.prototype,f),m&&s(u,m),u}}(),d=function s(u,f,m){u===null&&(u=Function.prototype);var b=Object.getOwnPropertyDescriptor(u,f);if(b===void 0){var C=Object.getPrototypeOf(u);return C===null?void 0:s(C,f,m)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(m)}},c=v(6),o=a(c);function a(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function l(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function n(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){n(u,s);function u(){return i(this,u),l(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return g(u,[{key:"optimize",value:function(m){d(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"optimize",this).call(this,m),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return d(u.__proto__||Object.getPrototypeOf(u),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),u}(o.default);r.blotName="bold",r.tagName=["STRONG","B"],p.default=r},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.addControls=p.default=void 0;var g=function(){function D($,T){var M=[],A=!0,F=!1,I=void 0;try{for(var B=$[Symbol.iterator](),j;!(A=(j=B.next()).done)&&(M.push(j.value),!(T&&M.length===T));A=!0);}catch(P){F=!0,I=P}finally{try{!A&&B.return&&B.return()}finally{if(F)throw I}}return M}return function($,T){if(Array.isArray($))return $;if(Symbol.iterator in Object($))return D($,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=function(){function D($,T){for(var M=0;M<T.length;M++){var A=T[M];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty($,A.key,A)}}return function($,T,M){return T&&D($.prototype,T),M&&D($,M),$}}(),c=v(2),o=m(c),a=v(0),i=m(a),l=v(5),n=m(l),r=v(10),s=m(r),u=v(9),f=m(u);function m(D){return D&&D.__esModule?D:{default:D}}function b(D,$,T){return $ in D?Object.defineProperty(D,$,{value:T,enumerable:!0,configurable:!0,writable:!0}):D[$]=T,D}function C(D,$){if(!(D instanceof $))throw new TypeError("Cannot call a class as a function")}function _(D,$){if(!D)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $&&(typeof $=="object"||typeof $=="function")?$:D}function w(D,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $);D.prototype=Object.create($&&$.prototype,{constructor:{value:D,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(D,$):D.__proto__=$)}var x=(0,s.default)("quill:toolbar"),E=function(D){w($,D);function $(T,M){C(this,$);var A=_(this,($.__proto__||Object.getPrototypeOf($)).call(this,T,M));if(Array.isArray(A.options.container)){var F=document.createElement("div");O(F,A.options.container),T.container.parentNode.insertBefore(F,T.container),A.container=F}else typeof A.options.container=="string"?A.container=document.querySelector(A.options.container):A.container=A.options.container;if(!(A.container instanceof HTMLElement)){var I;return I=x.error("Container required for toolbar",A.options),_(A,I)}return A.container.classList.add("ql-toolbar"),A.controls=[],A.handlers={},Object.keys(A.options.handlers).forEach(function(B){A.addHandler(B,A.options.handlers[B])}),[].forEach.call(A.container.querySelectorAll("button, select"),function(B){A.attach(B)}),A.quill.on(n.default.events.EDITOR_CHANGE,function(B,j){B===n.default.events.SELECTION_CHANGE&&A.update(j)}),A.quill.on(n.default.events.SCROLL_OPTIMIZE,function(){var B=A.quill.selection.getRange(),j=g(B,1),P=j[0];A.update(P)}),A}return d($,[{key:"addHandler",value:function(M,A){this.handlers[M]=A}},{key:"attach",value:function(M){var A=this,F=[].find.call(M.classList,function(B){return B.indexOf("ql-")===0});if(!!F){if(F=F.slice("ql-".length),M.tagName==="BUTTON"&&M.setAttribute("type","button"),this.handlers[F]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[F]==null){x.warn("ignoring attaching to disabled format",F,M);return}if(i.default.query(F)==null){x.warn("ignoring attaching to nonexistent format",F,M);return}}var I=M.tagName==="SELECT"?"change":"click";M.addEventListener(I,function(B){var j=void 0;if(M.tagName==="SELECT"){if(M.selectedIndex<0)return;var P=M.options[M.selectedIndex];P.hasAttribute("selected")?j=!1:j=P.value||!1}else M.classList.contains("ql-active")?j=!1:j=M.value||!M.hasAttribute("value"),B.preventDefault();A.quill.focus();var R=A.quill.selection.getRange(),z=g(R,1),V=z[0];if(A.handlers[F]!=null)A.handlers[F].call(A,j);else if(i.default.query(F).prototype instanceof i.default.Embed){if(j=prompt("Enter "+F),!j)return;A.quill.updateContents(new o.default().retain(V.index).delete(V.length).insert(b({},F,j)),n.default.sources.USER)}else A.quill.format(F,j,n.default.sources.USER);A.update(V)}),this.controls.push([F,M])}}},{key:"update",value:function(M){var A=M==null?{}:this.quill.getFormat(M);this.controls.forEach(function(F){var I=g(F,2),B=I[0],j=I[1];if(j.tagName==="SELECT"){var P=void 0;if(M==null)P=null;else if(A[B]==null)P=j.querySelector("option[selected]");else if(!Array.isArray(A[B])){var R=A[B];typeof R=="string"&&(R=R.replace(/\"/g,'\\"')),P=j.querySelector('option[value="'+R+'"]')}P==null?(j.value="",j.selectedIndex=-1):P.selected=!0}else if(M==null)j.classList.remove("ql-active");else if(j.hasAttribute("value")){var z=A[B]===j.getAttribute("value")||A[B]!=null&&A[B].toString()===j.getAttribute("value")||A[B]==null&&!j.getAttribute("value");j.classList.toggle("ql-active",z)}else j.classList.toggle("ql-active",A[B]!=null)})}}]),$}(f.default);E.DEFAULTS={};function L(D,$,T){var M=document.createElement("button");M.setAttribute("type","button"),M.classList.add("ql-"+$),T!=null&&(M.value=T),D.appendChild(M)}function O(D,$){Array.isArray($[0])||($=[$]),$.forEach(function(T){var M=document.createElement("span");M.classList.add("ql-formats"),T.forEach(function(A){if(typeof A=="string")L(M,A);else{var F=Object.keys(A)[0],I=A[F];Array.isArray(I)?k(M,F,I):L(M,F,I)}}),D.appendChild(M)})}function k(D,$,T){var M=document.createElement("select");M.classList.add("ql-"+$),T.forEach(function(A){var F=document.createElement("option");A!==!1?F.setAttribute("value",A):F.setAttribute("selected","selected"),M.appendChild(F)}),D.appendChild(M)}E.DEFAULTS={container:null,handlers:{clean:function(){var $=this,T=this.quill.getSelection();if(T!=null)if(T.length==0){var M=this.quill.getFormat();Object.keys(M).forEach(function(A){i.default.query(A,i.default.Scope.INLINE)!=null&&$.quill.format(A,!1)})}else this.quill.removeFormat(T,n.default.sources.USER)},direction:function($){var T=this.quill.getFormat().align;$==="rtl"&&T==null?this.quill.format("align","right",n.default.sources.USER):!$&&T==="right"&&this.quill.format("align",!1,n.default.sources.USER),this.quill.format("direction",$,n.default.sources.USER)},indent:function($){var T=this.quill.getSelection(),M=this.quill.getFormat(T),A=parseInt(M.indent||0);if($==="+1"||$==="-1"){var F=$==="+1"?1:-1;M.direction==="rtl"&&(F*=-1),this.quill.format("indent",A+F,n.default.sources.USER)}},link:function($){$===!0&&($=prompt("Enter link URL:")),this.quill.format("link",$,n.default.sources.USER)},list:function($){var T=this.quill.getSelection(),M=this.quill.getFormat(T);$==="check"?M.list==="checked"||M.list==="unchecked"?this.quill.format("list",!1,n.default.sources.USER):this.quill.format("list","unchecked",n.default.sources.USER):this.quill.format("list",$,n.default.sources.USER)}}},p.default=E,p.addControls=O},function(e,p){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,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function s(u,f){for(var m=0;m<f.length;m++){var b=f[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,f,m){return f&&s(u.prototype,f),m&&s(u,m),u}}(),d=function s(u,f,m){u===null&&(u=Function.prototype);var b=Object.getOwnPropertyDescriptor(u,f);if(b===void 0){var C=Object.getPrototypeOf(u);return C===null?void 0:s(C,f,m)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(m)}},c=v(28),o=a(c);function a(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function l(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function n(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){n(u,s);function u(f,m){i(this,u);var b=l(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,f));return b.label.innerHTML=m,b.container.classList.add("ql-color-picker"),[].slice.call(b.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(C){C.classList.add("ql-primary")}),b}return g(u,[{key:"buildItem",value:function(m){var b=d(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"buildItem",this).call(this,m);return b.style.backgroundColor=m.getAttribute("value")||"",b}},{key:"selectItem",value:function(m,b){d(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"selectItem",this).call(this,m,b);var C=this.label.querySelector(".ql-color-label"),_=m&&m.getAttribute("data-value")||"";C&&(C.tagName==="line"?C.style.stroke=_:C.style.fill=_)}}]),u}(o.default);p.default=r},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function s(u,f){for(var m=0;m<f.length;m++){var b=f[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,f,m){return f&&s(u.prototype,f),m&&s(u,m),u}}(),d=function s(u,f,m){u===null&&(u=Function.prototype);var b=Object.getOwnPropertyDescriptor(u,f);if(b===void 0){var C=Object.getPrototypeOf(u);return C===null?void 0:s(C,f,m)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(m)}},c=v(28),o=a(c);function a(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function l(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function n(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){n(u,s);function u(f,m){i(this,u);var b=l(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,f));return b.container.classList.add("ql-icon-picker"),[].forEach.call(b.container.querySelectorAll(".ql-picker-item"),function(C){C.innerHTML=m[C.getAttribute("data-value")||""]}),b.defaultItem=b.container.querySelector(".ql-selected"),b.selectItem(b.defaultItem),b}return g(u,[{key:"selectItem",value:function(m,b){d(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"selectItem",this).call(this,m,b),m=m||this.defaultItem,this.label.innerHTML=m.innerHTML}}]),u}(o.default);p.default=r},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function o(a,i){for(var l=0;l<i.length;l++){var n=i[l];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(a,n.key,n)}}return function(a,i,l){return i&&o(a.prototype,i),l&&o(a,l),a}}();function d(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}var c=function(){function o(a,i){var l=this;d(this,o),this.quill=a,this.boundsContainer=i||document.body,this.root=a.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){l.root.style.marginTop=-1*l.quill.root.scrollTop+"px"}),this.hide()}return g(o,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(i){var l=i.left+i.width/2-this.root.offsetWidth/2,n=i.bottom+this.quill.root.scrollTop;this.root.style.left=l+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),s=this.root.getBoundingClientRect(),u=0;if(s.right>r.right&&(u=r.right-s.right,this.root.style.left=l+u+"px"),s.left<r.left&&(u=r.left-s.left,this.root.style.left=l+u+"px"),s.bottom>r.bottom){var f=s.bottom-s.top,m=i.bottom-i.top+f;this.root.style.top=n-m+"px",this.root.classList.add("ql-flip")}return u}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),o}();p.default=c},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function k(D,$){var T=[],M=!0,A=!1,F=void 0;try{for(var I=D[Symbol.iterator](),B;!(M=(B=I.next()).done)&&(T.push(B.value),!($&&T.length===$));M=!0);}catch(j){A=!0,F=j}finally{try{!M&&I.return&&I.return()}finally{if(A)throw F}}return T}return function(D,$){if(Array.isArray(D))return D;if(Symbol.iterator in Object(D))return k(D,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=function k(D,$,T){D===null&&(D=Function.prototype);var M=Object.getOwnPropertyDescriptor(D,$);if(M===void 0){var A=Object.getPrototypeOf(D);return A===null?void 0:k(A,$,T)}else{if("value"in M)return M.value;var F=M.get;return F===void 0?void 0:F.call(T)}},c=function(){function k(D,$){for(var T=0;T<$.length;T++){var M=$[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(D,M.key,M)}}return function(D,$,T){return $&&k(D.prototype,$),T&&k(D,T),D}}(),o=v(3),a=C(o),i=v(8),l=C(i),n=v(43),r=C(n),s=v(27),u=C(s),f=v(15),m=v(41),b=C(m);function C(k){return k&&k.__esModule?k:{default:k}}function _(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function w(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function x(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var E=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],L=function(k){x(D,k);function D($,T){_(this,D),T.modules.toolbar!=null&&T.modules.toolbar.container==null&&(T.modules.toolbar.container=E);var M=w(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,$,T));return M.quill.container.classList.add("ql-snow"),M}return c(D,[{key:"extendToolbar",value:function(T){T.container.classList.add("ql-snow"),this.buildButtons([].slice.call(T.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(T.container.querySelectorAll("select")),b.default),this.tooltip=new O(this.quill,this.options.bounds),T.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(M,A){T.handlers.link.call(T,!A.format.link)})}}]),D}(r.default);L.DEFAULTS=(0,a.default)(!0,{},r.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(D){if(D){var $=this.quill.getSelection();if($==null||$.length==0)return;var T=this.quill.getText($);/^\S+@\S+\.\S+$/.test(T)&&T.indexOf("mailto:")!==0&&(T="mailto:"+T);var M=this.quill.theme.tooltip;M.edit("link",T)}else this.quill.format("link",!1)}}}}});var O=function(k){x(D,k);function D($,T){_(this,D);var M=w(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,$,T));return M.preview=M.root.querySelector("a.ql-preview"),M}return c(D,[{key:"listen",value:function(){var T=this;d(D.prototype.__proto__||Object.getPrototypeOf(D.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(M){T.root.classList.contains("ql-editing")?T.save():T.edit("link",T.preview.textContent),M.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(M){if(T.linkRange!=null){var A=T.linkRange;T.restoreFocus(),T.quill.formatText(A,"link",!1,l.default.sources.USER),delete T.linkRange}M.preventDefault(),T.hide()}),this.quill.on(l.default.events.SELECTION_CHANGE,function(M,A,F){if(M!=null){if(M.length===0&&F===l.default.sources.USER){var I=T.quill.scroll.descendant(u.default,M.index),B=g(I,2),j=B[0],P=B[1];if(j!=null){T.linkRange=new f.Range(M.index-P,j.length());var R=u.default.formats(j.domNode);T.preview.textContent=R,T.preview.setAttribute("href",R),T.show(),T.position(T.quill.getBounds(T.linkRange));return}}else delete T.linkRange;T.hide()}})}},{key:"show",value:function(){d(D.prototype.__proto__||Object.getPrototypeOf(D.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),D}(n.BaseTooltip);O.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(""),p.default=L},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(29),d=fe(g),c=v(36),o=v(38),a=v(64),i=v(65),l=fe(i),n=v(66),r=fe(n),s=v(67),u=fe(s),f=v(37),m=v(26),b=v(39),C=v(40),_=v(56),w=fe(_),x=v(68),E=fe(x),L=v(27),O=fe(L),k=v(69),D=fe(k),$=v(70),T=fe($),M=v(71),A=fe(M),F=v(72),I=fe(F),B=v(73),j=fe(B),P=v(13),R=fe(P),z=v(74),V=fe(z),U=v(75),G=fe(U),H=v(57),K=fe(H),Q=v(41),J=fe(Q),ee=v(28),ue=fe(ee),ye=v(59),_e=fe(ye),xe=v(60),Ce=fe(xe),Ve=v(61),Re=fe(Ve),ae=v(108),de=fe(ae),be=v(62),ve=fe(be);function fe(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}d.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":c.AlignClass,"attributors/class/background":f.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":C.SizeClass,"attributors/style/align":c.AlignStyle,"attributors/style/background":f.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":C.SizeStyle},!0),d.default.register({"formats/align":c.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":a.IndentClass,"formats/background":f.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":b.FontClass,"formats/size":C.SizeClass,"formats/blockquote":l.default,"formats/code-block":R.default,"formats/header":r.default,"formats/list":u.default,"formats/bold":w.default,"formats/code":P.Code,"formats/italic":E.default,"formats/link":O.default,"formats/script":D.default,"formats/strike":T.default,"formats/underline":A.default,"formats/image":I.default,"formats/video":j.default,"formats/list/item":s.ListItem,"modules/formula":V.default,"modules/syntax":G.default,"modules/toolbar":K.default,"themes/bubble":de.default,"themes/snow":ve.default,"ui/icons":J.default,"ui/picker":ue.default,"ui/icon-picker":Ce.default,"ui/color-picker":_e.default,"ui/tooltip":Re.default},!0),p.default=d.default},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.IndentClass=void 0;var g=function(){function u(f,m){for(var b=0;b<m.length;b++){var C=m[b];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(f,C.key,C)}}return function(f,m,b){return m&&u(f.prototype,m),b&&u(f,b),f}}(),d=function u(f,m,b){f===null&&(f=Function.prototype);var C=Object.getOwnPropertyDescriptor(f,m);if(C===void 0){var _=Object.getPrototypeOf(f);return _===null?void 0:u(_,m,b)}else{if("value"in C)return C.value;var w=C.get;return w===void 0?void 0:w.call(b)}},c=v(0),o=a(c);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,f){if(!(u instanceof f))throw new TypeError("Cannot call a class as a function")}function l(u,f){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:u}function n(u,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);u.prototype=Object.create(f&&f.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(u,f):u.__proto__=f)}var r=function(u){n(f,u);function f(){return i(this,f),l(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}return g(f,[{key:"add",value:function(b,C){if(C==="+1"||C==="-1"){var _=this.value(b)||0;C=C==="+1"?_+1:_-1}return C===0?(this.remove(b),!0):d(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"add",this).call(this,b,C)}},{key:"canAdd",value:function(b,C){return d(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"canAdd",this).call(this,b,C)||d(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"canAdd",this).call(this,b,parseInt(C))}},{key:"value",value:function(b){return parseInt(d(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"value",this).call(this,b))||void 0}}]),f}(o.default.Attributor.Class),s=new r("indent","ql-indent",{scope:o.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});p.IndentClass=s},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(4),d=c(g);function c(n){return n&&n.__esModule?n:{default:n}}function o(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function a(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function i(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var l=function(n){i(r,n);function r(){return o(this,r),a(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(d.default);l.blotName="blockquote",l.tagName="blockquote",p.default=l},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function r(s,u){for(var f=0;f<u.length;f++){var m=u[f];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(s,m.key,m)}}return function(s,u,f){return u&&r(s.prototype,u),f&&r(s,f),s}}(),d=v(4),c=o(d);function o(r){return r&&r.__esModule?r:{default:r}}function a(r,s){if(!(r instanceof s))throw new TypeError("Cannot call a class as a function")}function i(r,s){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:r}function l(r,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);r.prototype=Object.create(s&&s.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(r,s):r.__proto__=s)}var n=function(r){l(s,r);function s(){return a(this,s),i(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return g(s,null,[{key:"formats",value:function(f){return this.tagName.indexOf(f.tagName)+1}}]),s}(c.default);n.blotName="header",n.tagName=["H1","H2","H3","H4","H5","H6"],p.default=n},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.ListItem=void 0;var g=function(){function _(w,x){for(var E=0;E<x.length;E++){var L=x[E];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(w,L.key,L)}}return function(w,x,E){return x&&_(w.prototype,x),E&&_(w,E),w}}(),d=function _(w,x,E){w===null&&(w=Function.prototype);var L=Object.getOwnPropertyDescriptor(w,x);if(L===void 0){var O=Object.getPrototypeOf(w);return O===null?void 0:_(O,x,E)}else{if("value"in L)return L.value;var k=L.get;return k===void 0?void 0:k.call(E)}},c=v(0),o=r(c),a=v(4),i=r(a),l=v(25),n=r(l);function r(_){return _&&_.__esModule?_:{default:_}}function s(_,w,x){return w in _?Object.defineProperty(_,w,{value:x,enumerable:!0,configurable:!0,writable:!0}):_[w]=x,_}function u(_,w){if(!(_ instanceof w))throw new TypeError("Cannot call a class as a function")}function f(_,w){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:_}function m(_,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);_.prototype=Object.create(w&&w.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(_,w):_.__proto__=w)}var b=function(_){m(w,_);function w(){return u(this,w),f(this,(w.__proto__||Object.getPrototypeOf(w)).apply(this,arguments))}return g(w,[{key:"format",value:function(E,L){E===C.blotName&&!L?this.replaceWith(o.default.create(this.statics.scope)):d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"format",this).call(this,E,L)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(E,L){return this.parent.isolate(this.offset(this.parent),this.length()),E===this.parent.statics.blotName?(this.parent.replaceWith(E,L),this):(this.parent.unwrap(),d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"replaceWith",this).call(this,E,L))}}],[{key:"formats",value:function(E){return E.tagName===this.tagName?void 0:d(w.__proto__||Object.getPrototypeOf(w),"formats",this).call(this,E)}}]),w}(i.default);b.blotName="list-item",b.tagName="LI";var C=function(_){m(w,_),g(w,null,[{key:"create",value:function(E){var L=E==="ordered"?"OL":"UL",O=d(w.__proto__||Object.getPrototypeOf(w),"create",this).call(this,L);return(E==="checked"||E==="unchecked")&&O.setAttribute("data-checked",E==="checked"),O}},{key:"formats",value:function(E){if(E.tagName==="OL")return"ordered";if(E.tagName==="UL")return E.hasAttribute("data-checked")?E.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function w(x){u(this,w);var E=f(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x)),L=function(k){if(k.target.parentNode===x){var D=E.statics.formats(x),$=o.default.find(k.target);D==="checked"?$.format("list","unchecked"):D==="unchecked"&&$.format("list","checked")}};return x.addEventListener("touchstart",L),x.addEventListener("mousedown",L),E}return g(w,[{key:"format",value:function(E,L){this.children.length>0&&this.children.tail.format(E,L)}},{key:"formats",value:function(){return s({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(E,L){if(E instanceof b)d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertBefore",this).call(this,E,L);else{var O=L==null?this.length():L.offset(this),k=this.split(O);k.parent.insertBefore(E,k)}}},{key:"optimize",value:function(E){d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"optimize",this).call(this,E);var L=this.next;L!=null&&L.prev===this&&L.statics.blotName===this.statics.blotName&&L.domNode.tagName===this.domNode.tagName&&L.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(L.moveChildren(this),L.remove())}},{key:"replace",value:function(E){if(E.statics.blotName!==this.statics.blotName){var L=o.default.create(this.statics.defaultChild);E.moveChildren(L),this.appendChild(L)}d(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"replace",this).call(this,E)}}]),w}(n.default);C.blotName="list",C.scope=o.default.Scope.BLOCK_BLOT,C.tagName=["OL","UL"],C.defaultChild="list-item",C.allowedChildren=[b],p.ListItem=b,p.default=C},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(56),d=c(g);function c(n){return n&&n.__esModule?n:{default:n}}function o(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function a(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function i(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var l=function(n){i(r,n);function r(){return o(this,r),a(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(d.default);l.blotName="italic",l.tagName=["EM","I"],p.default=l},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function s(u,f){for(var m=0;m<f.length;m++){var b=f[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,f,m){return f&&s(u.prototype,f),m&&s(u,m),u}}(),d=function s(u,f,m){u===null&&(u=Function.prototype);var b=Object.getOwnPropertyDescriptor(u,f);if(b===void 0){var C=Object.getPrototypeOf(u);return C===null?void 0:s(C,f,m)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(m)}},c=v(6),o=a(c);function a(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function l(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function n(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){n(u,s);function u(){return i(this,u),l(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return g(u,null,[{key:"create",value:function(m){return m==="super"?document.createElement("sup"):m==="sub"?document.createElement("sub"):d(u.__proto__||Object.getPrototypeOf(u),"create",this).call(this,m)}},{key:"formats",value:function(m){if(m.tagName==="SUB")return"sub";if(m.tagName==="SUP")return"super"}}]),u}(o.default);r.blotName="script",r.tagName=["SUB","SUP"],p.default=r},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(6),d=c(g);function c(n){return n&&n.__esModule?n:{default:n}}function o(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function a(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function i(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var l=function(n){i(r,n);function r(){return o(this,r),a(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(d.default);l.blotName="strike",l.tagName="S",p.default=l},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=v(6),d=c(g);function c(n){return n&&n.__esModule?n:{default:n}}function o(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function a(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function i(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var l=function(n){i(r,n);function r(){return o(this,r),a(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(d.default);l.blotName="underline",l.tagName="U",p.default=l},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function f(m,b){for(var C=0;C<b.length;C++){var _=b[C];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(m,_.key,_)}}return function(m,b,C){return b&&f(m.prototype,b),C&&f(m,C),m}}(),d=function f(m,b,C){m===null&&(m=Function.prototype);var _=Object.getOwnPropertyDescriptor(m,b);if(_===void 0){var w=Object.getPrototypeOf(m);return w===null?void 0:f(w,b,C)}else{if("value"in _)return _.value;var x=_.get;return x===void 0?void 0:x.call(C)}},c=v(0),o=i(c),a=v(27);function i(f){return f&&f.__esModule?f:{default:f}}function l(f,m){if(!(f instanceof m))throw new TypeError("Cannot call a class as a function")}function n(f,m){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:f}function r(f,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);f.prototype=Object.create(m&&m.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(f,m):f.__proto__=m)}var s=["alt","height","width"],u=function(f){r(m,f);function m(){return l(this,m),n(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return g(m,[{key:"format",value:function(C,_){s.indexOf(C)>-1?_?this.domNode.setAttribute(C,_):this.domNode.removeAttribute(C):d(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,C,_)}}],[{key:"create",value:function(C){var _=d(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,C);return typeof C=="string"&&_.setAttribute("src",this.sanitize(C)),_}},{key:"formats",value:function(C){return s.reduce(function(_,w){return C.hasAttribute(w)&&(_[w]=C.getAttribute(w)),_},{})}},{key:"match",value:function(C){return/\.(jpe?g|gif|png)$/.test(C)||/^data:image\/.+;base64/.test(C)}},{key:"sanitize",value:function(C){return(0,a.sanitize)(C,["http","https","data"])?C:"//:0"}},{key:"value",value:function(C){return C.getAttribute("src")}}]),m}(o.default.Embed);u.blotName="image",u.tagName="IMG",p.default=u},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0});var g=function(){function f(m,b){for(var C=0;C<b.length;C++){var _=b[C];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(m,_.key,_)}}return function(m,b,C){return b&&f(m.prototype,b),C&&f(m,C),m}}(),d=function f(m,b,C){m===null&&(m=Function.prototype);var _=Object.getOwnPropertyDescriptor(m,b);if(_===void 0){var w=Object.getPrototypeOf(m);return w===null?void 0:f(w,b,C)}else{if("value"in _)return _.value;var x=_.get;return x===void 0?void 0:x.call(C)}},c=v(4),o=v(27),a=i(o);function i(f){return f&&f.__esModule?f:{default:f}}function l(f,m){if(!(f instanceof m))throw new TypeError("Cannot call a class as a function")}function n(f,m){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:f}function r(f,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);f.prototype=Object.create(m&&m.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(f,m):f.__proto__=m)}var s=["height","width"],u=function(f){r(m,f);function m(){return l(this,m),n(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return g(m,[{key:"format",value:function(C,_){s.indexOf(C)>-1?_?this.domNode.setAttribute(C,_):this.domNode.removeAttribute(C):d(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,C,_)}}],[{key:"create",value:function(C){var _=d(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,C);return _.setAttribute("frameborder","0"),_.setAttribute("allowfullscreen",!0),_.setAttribute("src",this.sanitize(C)),_}},{key:"formats",value:function(C){return s.reduce(function(_,w){return C.hasAttribute(w)&&(_[w]=C.getAttribute(w)),_},{})}},{key:"sanitize",value:function(C){return a.default.sanitize(C)}},{key:"value",value:function(C){return C.getAttribute("src")}}]),m}(c.BlockEmbed);u.blotName="video",u.className="ql-video",u.tagName="IFRAME",p.default=u},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.FormulaBlot=void 0;var g=function(){function C(_,w){for(var x=0;x<w.length;x++){var E=w[x];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(_,E.key,E)}}return function(_,w,x){return w&&C(_.prototype,w),x&&C(_,x),_}}(),d=function C(_,w,x){_===null&&(_=Function.prototype);var E=Object.getOwnPropertyDescriptor(_,w);if(E===void 0){var L=Object.getPrototypeOf(_);return L===null?void 0:C(L,w,x)}else{if("value"in E)return E.value;var O=E.get;return O===void 0?void 0:O.call(x)}},c=v(35),o=r(c),a=v(5),i=r(a),l=v(9),n=r(l);function r(C){return C&&C.__esModule?C:{default:C}}function s(C,_){if(!(C instanceof _))throw new TypeError("Cannot call a class as a function")}function u(C,_){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:C}function f(C,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);C.prototype=Object.create(_&&_.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(C,_):C.__proto__=_)}var m=function(C){f(_,C);function _(){return s(this,_),u(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return g(_,null,[{key:"create",value:function(x){var E=d(_.__proto__||Object.getPrototypeOf(_),"create",this).call(this,x);return typeof x=="string"&&(window.katex.render(x,E,{throwOnError:!1,errorColor:"#f00"}),E.setAttribute("data-value",x)),E}},{key:"value",value:function(x){return x.getAttribute("data-value")}}]),_}(o.default);m.blotName="formula",m.className="ql-formula",m.tagName="SPAN";var b=function(C){f(_,C),g(_,null,[{key:"register",value:function(){i.default.register(m,!0)}}]);function _(){s(this,_);var w=u(this,(_.__proto__||Object.getPrototypeOf(_)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return w}return _}(n.default);p.FormulaBlot=m,p.default=b},function(e,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.CodeToken=p.CodeBlock=void 0;var g=function(){function x(E,L){for(var O=0;O<L.length;O++){var k=L[O];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(E,k.key,k)}}return function(E,L,O){return L&&x(E.prototype,L),O&&x(E,O),E}}(),d=function x(E,L,O){E===null&&(E=Function.prototype);var k=Object.getOwnPropertyDescriptor(E,L);if(k===void 0){var D=Object.getPrototypeOf(E);return D===null?void 0:x(D,L,O)}else{if("value"in k)return k.value;var $=k.get;return $===void 0?void 0:$.call(O)}},c=v(0),o=u(c),a=v(5),i=u(a),l=v(9),n=u(l),r=v(13),s=u(r);function u(x){return x&&x.__esModule?x:{default:x}}function f(x,E){if(!(x instanceof E))throw new TypeError("Cannot call a class as a function")}function m(x,E){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:x}function b(x,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);x.prototype=Object.create(E&&E.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(x,E):x.__proto__=E)}var C=function(x){b(E,x);function E(){return f(this,E),m(this,(E.__proto__||Object.getPrototypeOf(E)).apply(this,arguments))}return g(E,[{key:"replaceWith",value:function(O){this.domNode.textContent=this.domNode.textContent,this.attach(),d(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replaceWith",this).call(this,O)}},{key:"highlight",value:function(O){var k=this.domNode.textContent;this.cachedText!==k&&((k.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=O(k),this.domNode.normalize(),this.attach()),this.cachedText=k)}}]),E}(s.default);C.className="ql-syntax";var _=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),w=function(x){b(E,x),g(E,null,[{key:"register",value:function(){i.default.register(_,!0),i.default.register(C,!0)}}]);function E(L,O){f(this,E);var k=m(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,L,O));if(typeof k.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var D=null;return k.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(D),D=setTimeout(function(){k.highlight(),D=null},k.options.interval)}),k.highlight(),k}return g(E,[{key:"highlight",value:function(){var O=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var k=this.quill.getSelection();this.quill.scroll.descendants(C).forEach(function(D){D.highlight(O.options.highlight)}),this.quill.update(i.default.sources.SILENT),k!=null&&this.quill.setSelection(k,i.default.sources.SILENT)}}}]),E}(n.default);w.DEFAULTS={highlight:function(){return window.hljs==null?null:function(x){var E=window.hljs.highlightAuto(x);return E.value}}(),interval:1e3},p.CodeBlock=C,p.CodeToken=_,p.default=w},function(e,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p,v){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.BubbleTooltip=void 0;var g=function E(L,O,k){L===null&&(L=Function.prototype);var D=Object.getOwnPropertyDescriptor(L,O);if(D===void 0){var $=Object.getPrototypeOf(L);return $===null?void 0:E($,O,k)}else{if("value"in D)return D.value;var T=D.get;return T===void 0?void 0:T.call(k)}},d=function(){function E(L,O){for(var k=0;k<O.length;k++){var D=O[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(L,D.key,D)}}return function(L,O,k){return O&&E(L.prototype,O),k&&E(L,k),L}}(),c=v(3),o=f(c),a=v(8),i=f(a),l=v(43),n=f(l),r=v(15),s=v(41),u=f(s);function f(E){return E&&E.__esModule?E:{default:E}}function m(E,L){if(!(E instanceof L))throw new TypeError("Cannot call a class as a function")}function b(E,L){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L&&(typeof L=="object"||typeof L=="function")?L:E}function C(E,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof L);E.prototype=Object.create(L&&L.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),L&&(Object.setPrototypeOf?Object.setPrototypeOf(E,L):E.__proto__=L)}var _=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],w=function(E){C(L,E);function L(O,k){m(this,L),k.modules.toolbar!=null&&k.modules.toolbar.container==null&&(k.modules.toolbar.container=_);var D=b(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,O,k));return D.quill.container.classList.add("ql-bubble"),D}return d(L,[{key:"extendToolbar",value:function(k){this.tooltip=new x(this.quill,this.options.bounds),this.tooltip.root.appendChild(k.container),this.buildButtons([].slice.call(k.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(k.container.querySelectorAll("select")),u.default)}}]),L}(n.default);w.DEFAULTS=(0,o.default)(!0,{},n.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(L){L?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var x=function(E){C(L,E);function L(O,k){m(this,L);var D=b(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,O,k));return D.quill.on(i.default.events.EDITOR_CHANGE,function($,T,M,A){if($===i.default.events.SELECTION_CHANGE)if(T!=null&&T.length>0&&A===i.default.sources.USER){D.show(),D.root.style.left="0px",D.root.style.width="",D.root.style.width=D.root.offsetWidth+"px";var F=D.quill.getLines(T.index,T.length);if(F.length===1)D.position(D.quill.getBounds(T));else{var I=F[F.length-1],B=D.quill.getIndex(I),j=Math.min(I.length()-1,T.index+T.length-B),P=D.quill.getBounds(new r.Range(B,j));D.position(P)}}else document.activeElement!==D.textbox&&D.quill.hasFocus()&&D.hide()}),D}return d(L,[{key:"listen",value:function(){var k=this;g(L.prototype.__proto__||Object.getPrototypeOf(L.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){k.root.classList.remove("ql-editing")}),this.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!k.root.classList.contains("ql-hidden")){var D=k.quill.getSelection();D!=null&&k.position(k.quill.getBounds(D))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(k){var D=g(L.prototype.__proto__||Object.getPrototypeOf(L.prototype),"position",this).call(this,k),$=this.root.querySelector(".ql-tooltip-arrow");if($.style.marginLeft="",D===0)return D;$.style.marginLeft=-1*D-$.offsetWidth/2+"px"}}]),L}(l.BaseTooltip);x.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(""),p.BubbleTooltip=x,p.default=w},function(e,p,v){e.exports=v(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$2$={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(t,h){const e={editorOption:{},quill:null};let p="";vue.watch(()=>t.value,c=>{e.quill&&(c&&c!==p?(p=c,e.quill.pasteHTML(c)):c||e.quill.setText(""))}),vue.watch(()=>t.content,c=>{e.quill&&(c&&c!==p?(p=c,e.quill.pasteHTML(c)):c||e.quill.setText(""))}),vue.watch(()=>t.disabled,c=>{e.quill&&e.quill.enable(!c)});const v=vue.ref(null),g=(c,o)=>{for(const a in o)!c[a]||a!=="modules"?c[a]=o[a]:g(c[a],o[a]);return c},d=()=>{v.value&&(e.editorOption=g(defaultOptions,t.options),e.editorOption.readOnly=!!t.disabled,e.quill=new Quill(v.value,e.editorOption),t.value&&e.quill.pasteHTML(t.value),e.quill.on("selection-change",c=>{c?h.emit("focus",e.quill):h.emit("blur",e.quill)}),e.quill.on("text-change",()=>{t.disabled&&e.quill.enable(!1);let c=v.value.children[0].innerHTML;const o=e.quill,a=e.quill.getText();c==="<p><br></p>"&&(c=""),p=c,h.emit("update:value",p),h.emit("change",{html:c,text:a,quill:o})}),h.emit("ready",e.quill))};return vue.onBeforeUnmount(()=>{const c=v.value.previousSibling;c&&c.className.indexOf("ql-toolbar")>-1&&c.parentNode.removeChild(c)}),vue.onMounted(()=>{d()}),vue.onUnmounted(()=>{e.quill=null}),{editor:v}}},_hoisted_1$y={ref:"editor"};function _sfc_render$2$(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("section",_hoisted_1$y,null,512)}var quillEditor=_export_sfc$1(_sfc_main$2$,[["render",_sfc_render$2$]]);quillEditor.install=function(t){t.component(quillEditor.name,quillEditor)};var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$2_={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$2_(t,h,e,p,v,g){const d=vue.resolveComponent("quill-editor"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{value:v.fieldModel,"onUpdate:value":h[0]||(h[0]=o=>v.fieldModel=o),options:g.editorOption,disabled:e.field.options.disabled,onBlur:g.handleRichEditorBlurEvent,onFocus:g.handleRichEditorFocusEvent,onChange:g.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$2_,[["render",_sfc_render$2_],["__scopeId","data-v-a23436fa"]]),__glob_0_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:richEditorWidget},Symbol.toStringTag,{value:"Module"}));const _sfc_main$2Z={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(t){const h=t&&typeof t=="object"&&"isTrusted"in t;this.handleChangeEvent(h?this.fieldModel:t)}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()}};function _sfc_render$2Z(t,h,e,p,v,g){const d=vue.resolveComponent("el-tree-select"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":t.subFormRowIndex,"sub-form-col-index":t.subFormColIndex,"sub-form-row-id":t.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),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:e.field.options.disabled,size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":g.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":g.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:g.handleTreeSelectChange},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"])]),_: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$2Z,[["render",_sfc_render$2Z]]),__glob_0_16$1=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$2Y={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:(console.log(this.field.options.optionItems),[])}}};function _sfc_render$2Y(t,h,e,p,v,g){const d=vue.resolveComponent("el-option"),c=vue.resolveComponent("el-select"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:v.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:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=a=>v.fieldModel=a),class:"full-width-input",disabled:e.field.options.disabled,size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":g.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":g.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.field.options.optionItems,a=>(vue.openBlock(),vue.createBlock(d,{key:a.value,label:a.label,value:e.field.options.objectValue?a:a.value,disabled:a.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$2Y,[["render",_sfc_render$2Y],["__scopeId","data-v-6e88c84c"]]),__glob_0_17$1=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$2X={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$2X(t,h,e,p,v,g){const d=vue.resolveComponent("el-slider"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,"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:t.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$2X,[["render",_sfc_render$2X],["__scopeId","data-v-92a76556"]]),__glob_0_18$1=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$2W={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$x={key:0,class:"slot-title"};function _sfc_render$2W(t,h,e,p,v,g){const d=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(d,{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(t.$slots,e.field.options.name,{formModel:t.formModel},void 0,!0),e.designState?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$x,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$2W,[["render",_sfc_render$2W],["__scopeId","data-v-95f13fca"]]),__glob_0_19$1=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$2V={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:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$2V(t,h,e,p,v,g){const d=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(d,{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",style:vue.normalizeStyle(e.field.options.fontSize?`font-size: ${e.field.options.fontSize};`:"")},[vue.createElementVNode("pre",{style:vue.normalizeStyle({"white-space":e.field.options.preWrap?"pre-wrap":"pre","text-align":e.field.options.textAlign?e.field.options.textAlign:"left"})},vue.toDisplayString(e.field.options.textContent),5)],4)]),_: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 staticTextWidget=_export_sfc$1(_sfc_main$2V,[["render",_sfc_render$2V],["__scopeId","data-v-4071ab53"]]),__glob_0_21$1=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$2U={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$2U(t,h,e,p,v,g){const d=vue.resolveComponent("el-switch"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,"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:t.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$2U,[["render",_sfc_render$2U],["__scopeId","data-v-3529e848"]]),__glob_0_22$1=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$2T={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$2T(t,h,e,p,v,g){const d=vue.resolveComponent("el-input"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{type:"textarea",ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.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:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.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$2T,[["render",_sfc_render$2T],["__scopeId","data-v-072d98c8"]]),__glob_0_23$1=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$2S={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$2S(t,h,e,p,v,g){const d=vue.resolveComponent("el-time-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor","is-range":"",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),class:vue.normalizeClass([e.field.options.autoFullWidth?"full-width-input":""]),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.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||t.i18nt("render.hint.startTimePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||t.i18nt("render.hint.endTimePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$2S,[["render",_sfc_render$2S],["__scopeId","data-v-2cee4a68"]]),__glob_0_24$1=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$2R={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$2R(t,h,e,p,v,g){const d=vue.resolveComponent("el-time-picker"),c=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(c,{designer:e.designer,field:e.field,rules:v.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(d,{ref:"fieldEditor",modelValue:v.fieldModel,"onUpdate:modelValue":h[0]||(h[0]=o=>v.fieldModel=o),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.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||t.i18nt("render.hint.timePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.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$2R,[["render",_sfc_render$2R],["__scopeId","data-v-417e0c7c"]]),__glob_0_25$1=Object.freeze(Object.defineProperty({__proto__:null,default:timeWidget},Symbol.toStringTag,{value:"Module"}));let comps$1={};const modules$3={"./button-widget.vue":__glob_0_0$2,"./cascader-widget.vue":__glob_0_1$3,"./checkbox-widget.vue":__glob_0_2$3,"./color-widget.vue":__glob_0_3$3,"./date-range-widget.vue":__glob_0_4$3,"./date-widget.vue":__glob_0_5$3,"./divider-widget.vue":__glob_0_6$2,"./file-upload-widget.vue":__glob_0_7$1,"./form-item-wrapper.vue":__glob_0_8$1,"./html-text-widget.vue":__glob_0_9$1,"./input-widget.vue":__glob_0_10$1,"./number-widget.vue":__glob_0_11$1,"./picture-upload-widget.vue":__glob_0_12$1,"./radio-widget.vue":__glob_0_13$1,"./rate-widget.vue":__glob_0_14$1,"./rich-editor-widget.vue":__glob_0_15$1,"./select-tree-widget.vue":__glob_0_16$1,"./select-widget.vue":__glob_0_17$1,"./slider-widget.vue":__glob_0_18$1,"./slot-widget.vue":__glob_0_19$1,"./static-content-wrapper.vue":__glob_0_20$1,"./static-text-widget.vue":__glob_0_21$1,"./switch-widget.vue":__glob_0_22$1,"./textarea-widget.vue":__glob_0_23$1,"./time-range-widget.vue":__glob_0_24$1,"./time-widget.vue":__glob_0_25$1};for(const t in modules$3){let h=modules$3[t].default.name;comps$1[h]=modules$3[t].default}var gridColItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$2Q={name:"GridColItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:tt({},comps$1),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}},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()},customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},created(){this.initLayoutProps(),this.initRefList()},methods:{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 t=this.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="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$w={class:"blank-cell"},_hoisted_2$k={class:"invisible-content"};function _sfc_render$2Q(t,h,e,p,v,g){const d=vue.resolveComponent("el-col");return e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(d,vue.mergeProps({key:0,class:["grid-cell",[g.customClass]]},v.layoutProps,{style:g.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,(c,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[c.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(c)),{widget:c,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-col-index":e.subFormColIndex},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),a=>({name:a,fn:vue.withCtx(i=>[vue.renderSlot(t.$slots,a,vue.mergeProps({ref_for:!0},i),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"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(c.type+"-widget"),{field:e.fieldSchemaData&&e.fieldSchemaData[o]?e.fieldSchemaData[o]:c,designer:null,key:e.fieldSchemaData&&e.fieldSchemaData[o]?e.fieldSchemaData[o].id:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.parentWidget,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-col-index":e.subFormColIndex},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),a=>({name:a,fn:vue.withCtx(i=>[vue.renderSlot(t.$slots,a,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-col-index"]))],64))),256)):(vue.openBlock(),vue.createBlock(d,{key:1},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$w,[vue.createElementVNode("span",_hoisted_2$k,vue.toDisplayString(t.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"])),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)}var GridColItem=_export_sfc$1(_sfc_main$2Q,[["render",_sfc_render$2Q],["__scopeId","data-v-7d0b212c"]]),__glob_0_1$2=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 t=this.widget.options.name;delete this.refList[t]}},callSetHidden(){this.widget&&this.widget.options&&this.widget.options.hidden===!0&&this.setHidden(!0)},setHidden(t){if(!this.widget||!this.widget.options)return;this.widget.options.hidden=t;let h=e=>{if(!e||!e.options)return;let p=e.options.name,v=this.getWidgetRef(p);t&&!!v&&!!v.clearFieldRules&&v.clearFieldRules(),!t&&!!v&&!!v.buildFieldRules&&v.buildFieldRules()};traverseFieldWidgetsOfContainer(this.widget,h)},activeTab(t){t>=0&&t<this.widget.tabs.length&&this.widget.tabs.forEach((h,e)=>{h.options.active=e===t,e===t&&(this.activeTabName=h.options.name)})},disableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!0)},enableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!1)},hideTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!0)},showTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!1)},setWidgetOption(t,h){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=h)},getSubFormRowCount(){return this.rowIdData?this.rowIdData.length:0},disableSubFormRow(t){this.widget.widgetList.forEach(h=>{let e=h.options.name+"@row"+this.rowIdData[t],p=this.getWidgetRef(e);p&&p.setDisabled(!0)})},enableSubFormRow(t){this.widget.widgetList.forEach(h=>{let e=h.options.name+"@row"+this.rowIdData[t],p=this.getWidgetRef(e);p&&p.setDisabled(!1)})},disableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,h)=>{this.disableSubFormRow(h)}),this.actionDisabled=!0},enableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,h)=>{this.enableSubFormRow(h)}),this.actionDisabled=!1},resetSubForm(){if(this.widget.type==="sub-form"){let t=this.formModel[this.widget.options.name];t&&(t.splice(0,t.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues(t=!0){if(this.widget.type==="sub-form")return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},addCssClass(t){this.widget.options.customClass?this.widget.options.customClass.push(t):this.widget.options.customClass=[t]},removeCssClass(t){if(!this.widget.options.customClass)return;let h=-1;this.widget.options.customClass.map((e,p)=>{e===t&&(h=p)}),h>-1&&this.widget.options.customClass.splice(h,1)}}};const _sfc_main$2P={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}},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$2P(t,h,e,p,v,g){const d=vue.resolveComponent("grid-col-item"),c=vue.resolveComponent("el-row"),o=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(o,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(c,{key:e.widget.id,gutter:e.widget&&e.widget.options?e.widget.options.gutter:12,class:vue.normalizeClass(["grid-container",[t.customClass]]),ref:e.widget.id},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols||[],(a,i)=>(vue.openBlock(),vue.createBlock(d,{key:i,widget:a,"parent-list":e.widget.cols,"index-of-parent-list":i,"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,"field-schema-data":e.fieldSchemaData},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),l=>({name:l,fn:vue.withCtx(n=>[vue.renderSlot(t.$slots,l,vue.mergeProps({ref_for:!0},n))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","col-height","sub-form-row-index","sub-form-row-id","sub-form-col-index","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$2P,[["render",_sfc_render$2P]]),__glob_0_2$2=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$2O={name:"sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Bt(tt({ContainerItemWrapper},comps$1),{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(t,h){return h.options.labelAlign||t.options.labelAlign},registerSubFormToRefList(){this.widget.type==="sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(t){if(this.widget.type==="sub-form"){this.rowIdData.splice(0,this.rowIdData.length);let h=this.formModel[this.widget.options.name];!!h&&h.length>0&&(h.forEach(()=>{this.rowIdData.push("id"+generateId())}),t&&setTimeout(()=>{this.handleSubFormRowChange(h)},800))}},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(t){this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},getRowIdData(){return this.rowIdData},getWidgetRefOfSubForm(t,h){let e=t+"@row"+this.rowIdData[h];return this.getWidgetRef(e)},initFieldSchemaData(){if(this.widget.type!=="sub-form")return;let t=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),t>0)for(let h=0;h<t;h++){let e=[];this.widget.widgetList.forEach(p=>{e.push(this.cloneFieldSchema(p))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(t){let h=[];this.widget.widgetList.forEach(e=>{h.push(this.cloneFieldSchema(e))}),t===void 0?this.fieldSchemaData.push(h):this.fieldSchemaData.splice(t,0,h)},deleteFromFieldSchemaData(t){this.fieldSchemaData.splice(t,1)},cloneFieldSchema(t){let h=deepClone(t);return h.id=t.type+generateId(),h},initEventHandler(){this.widget.type==="sub-form"&&this.on$("setFormData",t=>{this.initRowIdData(!1),this.initFieldSchemaData();let h=t[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(h)},800)})},handleSubFormFirstRowAdd(){if(this.widget.type==="sub-form"&&!!this.widget.options.showBlankRow&&this.rowIdData.length===1){let t=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(t,this.rowIdData[0]),this.handleSubFormRowChange(t)}},addSubFormRow(){let t={};this.widget.widgetList.forEach(e=>{e.formItemFlag&&(t[e.options.name]=e.options.defaultValue)});let h=this.formModel[this.widget.options.name]||[];h.push(t),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(h,this.rowIdData[h.length-1]),this.handleSubFormRowChange(h)},insertSubFormRow(t){let h={};this.widget.widgetList.forEach(p=>{p.formItemFlag&&(h[p.options.name]=p.options.defaultValue)});let e=this.formModel[this.widget.options.name]||[];e.splice(t,0,h),this.insertToRowIdData(t),this.addToFieldSchemaData(t),this.handleSubFormRowInsert(e,this.rowIdData[t]),this.handleSubFormRowChange(e)},deleteSubFormRow(t){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 h=this.formModel[this.widget.options.name]||[],e=deepClone(h[t]);h.splice(t,1),this.deleteFromRowIdData(t),this.deleteFromFieldSchemaData(t),this.handleSubFormRowDelete(h,e),this.handleSubFormRowChange(h)}).catch(()=>{})},handleSubFormRowChange(t){this.widget.options.onSubFormRowChange&&new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,t)},handleSubFormRowAdd(t,h){this.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,t,h)},handleSubFormRowInsert(t,h){this.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,t,h)},handleSubFormRowDelete(t,h){this.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,t,h)}}},_hoisted_1$v={class:"action-header-column"},_hoisted_2$j={class:"action-label"},_hoisted_3$g={key:0,class:"custom-label"},_hoisted_4$e=["title"],_hoisted_5$b={class:"sub-form-action-column hide-label"},_hoisted_6$b={class:"action-button-column"},_hoisted_7$8={key:0,class:"row-number-span"};function _sfc_render$2O(t,h,e,p,v,g){const d=vue.resolveComponent("svg-icon"),c=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-tooltip"),a=vue.resolveComponent("el-row"),i=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(i,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"sub-form-container"},[vue.createVNode(a,{class:"header-row"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$v,[vue.createElementVNode("span",_hoisted_2$j,vue.toDisplayString(t.i18nt("render.hint.subFormAction")),1),vue.createVNode(c,{disabled:v.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:g.addSubFormRow,title:t.i18nt("render.hint.subFormAddActionHint")},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("render.hint.subFormAddAction")),1),vue.createVNode(d,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,l=>(vue.openBlock(),vue.createElementBlock("div",{key:l.id+"thc",class:vue.normalizeClass(["field-header-column",[g.getLabelAlign(e.widget,l),l.options.required?"is-required":""]]),style:vue.normalizeStyle({width:l.options.columnWidth})},[l.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_3$g,[l.options.labelIconPosition==="front"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[l.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(o,{content:l.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":l.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"]),vue.createTextVNode(vue.toDisplayString(l.options.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(d,{"icon-class":l.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(l.options.label),1)],64))],64)):l.options.labelIconPosition==="rear"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[l.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(l.options.label),1),vue.createVNode(o,{content:l.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":l.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"])],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(l.options.label),1),vue.createVNode(d,{"icon-class":l.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):(vue.openBlock(),vue.createElementBlock("span",{key:1,title:l.options.labelTooltip},vue.toDisplayString(l.options.label),9,_hoisted_4$e))],6))),128))]),_:1}),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.rowIdData,(l,n)=>(vue.openBlock(),vue.createBlock(a,{class:"sub-form-row",key:l},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$b,[vue.createElementVNode("div",_hoisted_6$b,[vue.createVNode(c,{disabled:v.actionDisabled,circle:"",onClick:r=>g.insertSubFormRow(n),title:t.i18nt("render.hint.insertSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"]),vue.createVNode(c,{disabled:v.actionDisabled,circle:"",onClick:r=>g.deleteSubFormRow(n),title:t.i18nt("render.hint.deleteSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-delete"})]),_:1},8,["disabled","onClick","title"]),e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$8,"#"+vue.toDisplayString(n+1),1)):vue.createCommentVNode("",!0)])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(r,s)=>{var u;return vue.openBlock(),vue.createElementBlock("div",{key:r.id+"tc"+l,class:"sub-form-table-column hide-label",style:vue.normalizeStyle({width:r.options.columnWidth})},[r.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(v.fieldSchemaData[n][s])),{widget:v.fieldSchemaData[n][s],key:v.fieldSchemaData[n][s].id,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget,"sub-form-row-id":l,"sub-form-row-index":n,"sub-form-col-index":s,"field-schema-data":(u=v.fieldSchemaData[n][s])==null?void 0:u.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(r.type+"-widget"),{field:v.fieldSchemaData[n][s],key:v.fieldSchemaData[n][s].id,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget,"sub-form-row-id":l,"sub-form-row-index":n,"sub-form-col-index":s},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$2O,[["render",_sfc_render$2O],["__scopeId","data-v-59c24e8e"]]),__glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,default:subFormItem},Symbol.toStringTag,{value:"Module"}));const _sfc_main$2N={name:"tab-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:tt({ContainerItemWrapper},comps$1),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{activeTabName:""}},computed:{visibleTabs(){return!this.widget||!this.widget.tabs?[]:this.widget.tabs.filter(t=>t&&t.options&&!t.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 t=this.widget.tabs.filter(h=>h&&h.options&&h.options.active===!0);t.length>0?this.activeTabName=t[0].options.name:this.widget.tabs[0]&&this.widget.tabs[0].options&&(this.activeTabName=this.widget.tabs[0].options.name)}}};function _sfc_render$2N(t,h,e,p,v,g){const d=vue.resolveComponent("el-tab-pane"),c=vue.resolveComponent("el-tabs"),o=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(o,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"tab-container"},[vue.createVNode(c,{modelValue:v.activeTabName,"onUpdate:modelValue":h[0]||(h[0]=a=>v.activeTabName=a),type:e.widget&&e.widget.displayType?e.widget.displayType:"default",ref:e.widget.id,class:vue.normalizeClass([t.customClass])},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(g.visibleTabs,(a,i)=>(vue.openBlock(),vue.createBlock(d,{key:i,label:a.options.label,disabled:a.options.disabled,name:a.options.name},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(a.widgetList,(l,n)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[l.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(l)),{widget:l,key:n,"parent-list":a.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),r=>({name:r,fn:vue.withCtx(s=>[vue.renderSlot(t.$slots,r,vue.mergeProps({ref_for:!0},s))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.type+"-widget"),{field:l,key:n,"parent-list":a.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),r=>({name:r,fn:vue.withCtx(s=>[vue.renderSlot(t.$slots,r,vue.mergeProps({ref_for:!0},s))])}))]),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$2N,[["render",_sfc_render$2N]]),__glob_0_4$2=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$2M={name:"TableCellItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:tt({},comps$1),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$u=["colspan","rowspan"];function _sfc_render$2M(t,h,e,p,v,g){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[g.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,(d,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[d.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(d)),{widget:d,key:c,"parent-list":e.widget.widgetList,"index-of-parent-list":c,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),o=>({name:o,fn:vue.withCtx(a=>[vue.renderSlot(t.$slots,o,vue.mergeProps({ref_for:!0},a),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(d.type+"-widget"),{field:d,key:c,"parent-list":e.widget.widgetList,"index-of-parent-list":c,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),o=>({name:o,fn:vue.withCtx(a=>[vue.renderSlot(t.$slots,o,vue.mergeProps({ref_for:!0},a),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))],14,_hoisted_1$u)}var TableCellItem=_export_sfc$1(_sfc_main$2M,[["render",_sfc_render$2M],["__scopeId","data-v-7d6166fa"]]),__glob_0_5$2=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$2L={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$2L(t,h,e,p,v,g){const d=vue.resolveComponent("table-cell-item"),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:"table-container"},[vue.createElementVNode("table",{ref:e.widget.id,class:vue.normalizeClass(["table-layout",[t.customClass]])},[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows||[],(o,a)=>(vue.openBlock(),vue.createElementBlock("tr",{key:o?o.id:a},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.cols,(i,l)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{widget:i,key:l,"parent-list":e.widget.cols,"row-index":a,"col-index":l,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),n=>({name:n,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,n,vue.mergeProps({ref_for:!0},r),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$2L,[["render",_sfc_render$2L],["__scopeId","data-v-3481d843"]]),__glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:tableItem},Symbol.toStringTag,{value:"Module"}));const modules$2={"./container-item-wrapper.vue":__glob_0_0$3,"./grid-col-item.vue":__glob_0_1$2,"./grid-item.vue":__glob_0_2$2,"./sub-form-item.vue":__glob_0_3$2,"./tab-item.vue":__glob_0_4$2,"./table-cell-item.vue":__glob_0_5$2,"./table-item.vue":__glob_0_6$1};var ContainerItems={install(t){for(const h in modules$2){let e=modules$2[h].default.name;t.component(e,modules$2[h].default)}}},index_vue_vue_type_style_index_0_scoped_true_lang$5="";const _sfc_main$2K={name:"VFormRender",componentName:"VFormRender",mixins:[emitter,i18n$1],components:tt({},comps$1),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:{},created(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject(t=!0){this.formId="vfRender"+generateId(),t&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"},getWidgetName(t){return t.type+"-widget"},initLocale(){let t=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(t)},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(t){!!t&&t.length>0&&t.forEach(h=>{this.buildDataFromWidget(h)})},buildDataFromWidget(t){if(t.category==="container")if(t.type==="grid")!!t.cols&&t.cols.length>0&&t.cols.forEach(h=>{this.buildDataFromWidget(h)});else if(t.type==="table")!!t.rows&&t.rows.length>0&&t.rows.forEach(h=>{!!h.cols&&h.cols.length>0&&h.cols.forEach(e=>{this.buildDataFromWidget(e)})});else if(t.type==="tab")!!t.tabs&&t.tabs.length>0&&t.tabs.forEach(h=>{!!h.widgetList&&h.widgetList.length>0&&h.widgetList.forEach(e=>{this.buildDataFromWidget(e)})});else if(t.type==="sub-form"){let h=t.options.name;if(this.formData.hasOwnProperty(h)){let e=this.formData[h];this.formDataModel[h]=deepClone(e)}else{let e={};t.options.showBlankRow?(t.widgetList.forEach(p=>{p.formItemFlag&&(e[p.options.name]=p.options.defaultValue)}),this.formDataModel[h]=[e]):this.formDataModel[h]=[]}}else t.type==="grid-col"||t.type==="table-cell"?!!t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(h=>{this.buildDataFromWidget(h)}):!!t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(h=>{this.buildDataFromWidget(h)});else if(t.formItemFlag)if(!this.formData.hasOwnProperty(t.options.name))this.formDataModel[t.options.name]=t.options.defaultValue;else{let h=this.formData[t.options.name];this.formDataModel[t.options.name]=deepClone(h)}},addFieldChangeEventHandler(){this.off$("fieldChange"),this.on$("fieldChange",(t,h,e,p,v)=>{this.handleFieldDataChange(t,h,e,p,v),this.$emit("formChange",t,h,e,this.formDataModel,p,v)})},addFieldValidateEventHandler(){this.off$("fieldValidation"),this.on$("fieldValidation",t=>{this.$refs.renderForm.validateField(t)})},registerFormToRefList(){this.widgetRefList.v_form_ref=this},handleFieldDataChange(t,h,e,p,v){!!this.formConfig&&!!this.formConfig.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange).call(this,t,h,e,this.formDataModel,p,v)},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(t,h){let e=this.getWidgetRef(t);e?e.setDisabled(h):this.findWidgetOfSubFormAndSetDisabled(t,h)},findWidgetOfSubFormAndSetDisabled(t,h){this.findWidgetNameInSubForm(t).forEach(e=>{let p=this.getWidgetRef(e);p&&p.setDisabled(h)})},findWidgetAndSetHidden(t,h){let e=this.getWidgetRef(t);e?e.setHidden(h):this.findWidgetOfSubFormAndSetHidden(t,h)},findWidgetOfSubFormAndSetHidden(t,h){this.findWidgetNameInSubForm(t).forEach(e=>{let p=this.getWidgetRef(e);p&&p.setHidden(h)})},findWidgetNameInSubForm(t){let h=[],e=null,p=(v,g)=>{!!v.options&&v.options.name===t&&(e=g.options.name)};if(traverseFieldWidgets(this.widgetList,p),e){let v=this.getWidgetRef(e);if(v){let g=v.getRowIdData();!!g&&g.length>0&&g.forEach(d=>{h.push(t+"@row"+d)})}}return h},changeLanguage(t){changeLocale(t)},getNativeForm(){return this.$refs.renderForm},getFormRef(){return this},getWidgetRef(t,h=!1){let e=this.widgetRefList[t];return!e&&!!h&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},clearFormDataModel(){for(let t in this.formDataModel)delete this.formDataModel[t]},setFormJson(t){if(t)if(typeof t=="string"||t.constructor===Object){let h=null;if(typeof t=="string"?h=JSON.parse(t):h=t,!h.formConfig||!h.widgetList){this.$message.error("Invalid format of form json.");return}this.clearFormDataModel(),this.buildFormModel(h.widgetList),this.formJsonObj.formConfig=h.formConfig,this.formJsonObj.widgetList=h.widgetList,this.insertCustomStyleAndScriptNode(),this.$nextTick(()=>{this.initFormObject(!1),this.handleOnMounted()})}else this.$message.error("Set form json failed.")},getFormJson(){return deepClone(this.formJsonObj)},reloadOptionData(t){let h=[];!!t&&typeof t=="string"?h=[t]:!!t&&Array.isArray(t)&&(h=[...t]),this.broadcast("FieldWidget","reloadOptionItems",h)},getFormData(t=!0){if(!t)return this.formDataModel;let h=function(){},e=new window.Promise(function(p,v){h=function(g,d){d?v(d):p(g)}});return this.$refs.renderForm.validate(p=>{p?h(this.formDataModel):h(this.formDataModel,this.i18nt("render.hint.validationFailed"))}),e},setFormData(t){Object.keys(this.formDataModel).forEach(h=>{!!t&&t.hasOwnProperty(h)&&(this.formDataModel[h]=deepClone(t[h]))}),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue(t){let h=this.getWidgetRef(t);if(!!h&&!!h.getValue)return h.getValue();if(!h){let e=[];return this.findWidgetNameInSubForm(t).forEach(p=>{let v=this.getWidgetRef(p);!!v&&!!v.getValue&&e.push(v.getValue())}),e}},setFieldValue(t,h){let e=this.getWidgetRef(t);!!e&&!!e.setValue&&e.setValue(h),e||this.findWidgetNameInSubForm(t).forEach(p=>{let v=this.getWidgetRef(p);!!v&&!!v.setValue&&v.setValue(h)})},getSubFormValues(t,h=!0){return this.subFormRefList[t].getSubFormValues(h)},disableForm(){Object.keys(this.widgetRefList).forEach(h=>{let e=this.getWidgetRef(h);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(h=>{let e=this.getWidgetRef(h);if(e)if(!!e.widget&&e.widget.type==="sub-form")e.enableSubForm();else{//!!foundW.setDisabled && foundW.setDisabled(false)
75
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 p=this.getWidgetRef(e);!!p&&!p.subFormItemFlag&&!!p.resetField&&p.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(t){this.$refs.renderForm.clearValidate(t)},validateForm(t){this.$refs.renderForm.validate(h=>{t(h)})},validateFields(){},disableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!0):Array.isArray(t)&&t.forEach(h=>{this.findWidgetAndSetDisabled(h,!0)}))},enableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!1):Array.isArray(t)&&t.forEach(h=>{this.findWidgetAndSetDisabled(h,!1)}))},hideWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!0):Array.isArray(t)&&t.forEach(h=>{this.findWidgetAndSetHidden(h,!0)}))},showWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!1):Array.isArray(t)&&t.forEach(h=>{this.findWidgetAndSetHidden(h,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(t,h){this.externalComponents[t]=h},hasEC(t){return this.externalComponents.hasOwnProperty(t)},getEC(t){return this.externalComponents[t]},getGlobalDsv(){return this.globalDsv}}};function _sfc_render$2K(t,h,e,p,v,g){const d=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(d,{"label-position":g.labelPosition,size:g.size,class:vue.normalizeClass([[g.customClass],"render-form"]),"label-width":g.labelWidth,"validate-on-rule-change":!1,model:v.formDataModel,ref:"renderForm",onSubmit:h[0]||(h[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(g.widgetList,(c,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[c.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getContainerWidgetName(c)),{widget:c,key:c.id,"parent-list":g.widgetList,"index-of-parent-list":o,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),a=>({name:a,fn:vue.withCtx(i=>[vue.renderSlot(t.$slots,a,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getWidgetName(c)),{field:c,"form-model":v.formDataModel,designer:null,key:c.id,"parent-list":g.widgetList,"index-of-parent-list":o,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),a=>({name:a,fn:vue.withCtx(i=>[vue.renderSlot(t.$slots,a,vue.mergeProps({ref_for:!0},i),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$2K,[["render",_sfc_render$2K],["__scopeId","data-v-64665cea"]]),ace$2={exports:{}};(function(t,h){(function(){var e="ace",p=function(){return this}();!p&&typeof window!="undefined"&&(p=window);var v=function(i,l,n){if(typeof i!="string"){v.original?v.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(n=l),v.modules[i]||(v.payloads[i]=n,v.modules[i]=null)};v.modules={},v.payloads={};var g=function(i,l,n){if(typeof l=="string"){var r=o(i,l);if(r!=null)return n&&n(),r}else if(Object.prototype.toString.call(l)==="[object Array]"){for(var s=[],u=0,f=l.length;u<f;++u){var m=o(i,l[u]);if(m==null&&d.original)return;s.push(m)}return n&&n.apply(null,s)||!0}},d=function(i,l){var n=g("",i,l);return n==null&&d.original?d.original.apply(this,arguments):n},c=function(i,l){if(l.indexOf("!")!==-1){var n=l.split("!");return c(i,n[0])+"!"+c(i,n[1])}if(l.charAt(0)=="."){var r=i.split("/").slice(0,-1).join("/");for(l=r+"/"+l;l.indexOf(".")!==-1&&s!=l;){var s=l;l=l.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return l},o=function(i,l){l=c(i,l);var n=v.modules[l];if(!n){if(n=v.payloads[l],typeof n=="function"){var r={},s={id:l,uri:"",exports:r,packaged:!0},u=function(m,b){return g(l,m,b)},f=n(u,r,s);r=f||s.exports,v.modules[l]=r,delete v.payloads[l]}n=v.modules[l]=r||n}return n};function a(i){var l=p;i&&(p[i]||(p[i]={}),l=p[i]),(!l.define||!l.define.packaged)&&(v.original=l.define,l.define=v,l.define.packaged=!0),(!l.require||!l.require.packaged)&&(d.original=l.require,l.require=d,l.require.packaged=!0)}a(e)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(e,p,v){function g(d,c,o){Object.defineProperty(d,c,{value:o,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||g(String.prototype,"startsWith",function(d,c){return c=c||0,this.lastIndexOf(d,c)===c}),String.prototype.endsWith||g(String.prototype,"endsWith",function(d,c){var o=this;(c===void 0||c>o.length)&&(c=o.length),c-=d.length;var a=o.indexOf(d,c);return a!==-1&&a===c}),String.prototype.repeat||g(String.prototype,"repeat",function(d){for(var c="",o=this;d>0;)d&1&&(c+=o),(d>>=1)&&(o+=o);return c}),String.prototype.includes||g(String.prototype,"includes",function(d,c){return this.indexOf(d,c)!=-1}),Object.assign||(Object.assign=function(d){if(d==null)throw new TypeError("Cannot convert undefined or null to object");for(var c=Object(d),o=1;o<arguments.length;o++){var a=arguments[o];a!=null&&Object.keys(a).forEach(function(i){c[i]=a[i]})}return c}),Object.values||(Object.values=function(d){return Object.keys(d).map(function(c){return d[c]})}),Array.prototype.find||g(Array.prototype,"find",function(d){for(var c=this.length,o=arguments[1],a=0;a<c;a++){var i=this[a];if(d.call(o,i,a,this))return i}}),Array.prototype.findIndex||g(Array.prototype,"findIndex",function(d){for(var c=this.length,o=arguments[1],a=0;a<c;a++){var i=this[a];if(d.call(o,i,a,this))return a}}),Array.prototype.includes||g(Array.prototype,"includes",function(d,c){return this.indexOf(d,c)!=-1}),Array.prototype.fill||g(Array.prototype,"fill",function(d){for(var c=this,o=c.length>>>0,a=arguments[1],i=a>>0,l=i<0?Math.max(o+i,0):Math.min(i,o),n=arguments[2],r=n===void 0?o:n>>0,s=r<0?Math.max(o+r,0):Math.min(r,o);l<s;)c[l]=d,l++;return c}),Array.of||g(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(e,p,v){e("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(e,p,v){p.deepCopy=function g(d){if(typeof d!="object"||!d)return d;var c;if(Array.isArray(d)){c=[];for(var o=0;o<d.length;o++)c[o]=g(d[o]);return c}if(Object.prototype.toString.call(d)!=="[object Object]")return d;c={};for(var o in d)c[o]=g(d[o]);return c}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(e,p,v){p.last=function(c){return c[c.length-1]},p.stringReverse=function(c){return c.split("").reverse().join("")},p.stringRepeat=function(c,o){for(var a="";o>0;)o&1&&(a+=c),(o>>=1)&&(c+=c);return a};var g=/^\s\s*/,d=/\s\s*$/;p.stringTrimLeft=function(c){return c.replace(g,"")},p.stringTrimRight=function(c){return c.replace(d,"")},p.copyObject=function(c){var o={};for(var a in c)o[a]=c[a];return o},p.copyArray=function(c){for(var o=[],a=0,i=c.length;a<i;a++)c[a]&&typeof c[a]=="object"?o[a]=this.copyObject(c[a]):o[a]=c[a];return o},p.deepCopy=e("./deep_copy").deepCopy,p.arrayToMap=function(c){for(var o={},a=0;a<c.length;a++)o[c[a]]=1;return o},p.createMap=function(c){var o=Object.create(null);for(var a in c)o[a]=c[a];return o},p.arrayRemove=function(c,o){for(var a=0;a<=c.length;a++)o===c[a]&&c.splice(a,1)},p.escapeRegExp=function(c){return c.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},p.escapeHTML=function(c){return(""+c).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},p.getMatchOffsets=function(c,o){var a=[];return c.replace(o,function(i){a.push({offset:arguments[arguments.length-2],length:i.length})}),a},p.deferredCall=function(c){var o=null,a=function(){o=null,c()},i=function(l){return i.cancel(),o=setTimeout(a,l||0),i};return i.schedule=i,i.call=function(){return this.cancel(),c(),i},i.cancel=function(){return clearTimeout(o),o=null,i},i.isPending=function(){return o},i},p.delayedCall=function(c,o){var a=null,i=function(){a=null,c()},l=function(n){a==null&&(a=setTimeout(i,n||o))};return l.delay=function(n){a&&clearTimeout(a),a=setTimeout(i,n||o)},l.schedule=l,l.call=function(){this.cancel(),c()},l.cancel=function(){a&&clearTimeout(a),a=null},l.isPending=function(){return a},l},p.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},p.skipEmptyMatch=function(c,o,a){return a&&c.codePointAt(o)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,p,v){p.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},p.getOS=function(){return p.isMac?p.OS.MAC:p.isLinux?p.OS.LINUX:p.OS.WINDOWS};var g=typeof navigator=="object"?navigator:{},d=(/mac|win|linux/i.exec(g.platform)||["other"])[0].toLowerCase(),c=g.userAgent||"",o=g.appName||"";p.isWin=d=="win",p.isMac=d=="mac",p.isLinux=d=="linux",p.isIE=o=="Microsoft Internet Explorer"||o.indexOf("MSAppHost")>=0?parseFloat((c.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((c.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),p.isOldIE=p.isIE&&p.isIE<9,p.isGecko=p.isMozilla=c.match(/ Gecko\/\d+/),p.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",p.isWebKit=parseFloat(c.split("WebKit/")[1])||void 0,p.isChrome=parseFloat(c.split(" Chrome/")[1])||void 0,p.isSafari=parseFloat(c.split(" Safari/")[1])&&!p.isChrome||void 0,p.isEdge=parseFloat(c.split(" Edge/")[1])||void 0,p.isAIR=c.indexOf("AdobeAIR")>=0,p.isAndroid=c.indexOf("Android")>=0,p.isChromeOS=c.indexOf(" CrOS ")>=0,p.isIOS=/iPad|iPhone|iPod/.test(c)&&!window.MSStream,p.isIOS&&(p.isMac=!0),p.isMobile=p.isIOS||p.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(e,p,v){var g=e("./useragent"),d="http://www.w3.org/1999/xhtml";p.buildDom=function n(r,s,u){if(typeof r=="string"&&r){var f=document.createTextNode(r);return s&&s.appendChild(f),f}if(!Array.isArray(r))return r&&r.appendChild&&s&&s.appendChild(r),r;if(typeof r[0]!="string"||!r[0]){for(var m=[],b=0;b<r.length;b++){var C=n(r[b],s,u);C&&m.push(C)}return m}var _=document.createElement(r[0]),w=r[1],x=1;w&&typeof w=="object"&&!Array.isArray(w)&&(x=2);for(var b=x;b<r.length;b++)n(r[b],_,u);return x==2&&Object.keys(w).forEach(function(E){var L=w[E];E==="class"?_.className=Array.isArray(L)?L.join(" "):L:typeof L=="function"||E=="value"||E[0]=="$"?_[E]=L:E==="ref"?u&&(u[L]=_):E==="style"?typeof L=="string"&&(_.style.cssText=L):L!=null&&_.setAttribute(E,L)}),s&&s.appendChild(_),_},p.getDocumentHead=function(n){return n||(n=document),n.head||n.getElementsByTagName("head")[0]||n.documentElement},p.createElement=function(n,r){return document.createElementNS?document.createElementNS(r||d,n):document.createElement(n)},p.removeChildren=function(n){n.innerHTML=""},p.createTextNode=function(n,r){var s=r?r.ownerDocument:document;return s.createTextNode(n)},p.createFragment=function(n){var r=n?n.ownerDocument:document;return r.createDocumentFragment()},p.hasCssClass=function(n,r){var s=(n.className+"").split(/\s+/g);return s.indexOf(r)!==-1},p.addCssClass=function(n,r){p.hasCssClass(n,r)||(n.className+=" "+r)},p.removeCssClass=function(n,r){for(var s=n.className.split(/\s+/g);;){var u=s.indexOf(r);if(u==-1)break;s.splice(u,1)}n.className=s.join(" ")},p.toggleCssClass=function(n,r){for(var s=n.className.split(/\s+/g),u=!0;;){var f=s.indexOf(r);if(f==-1)break;u=!1,s.splice(f,1)}return u&&s.push(r),n.className=s.join(" "),u},p.setCssClass=function(n,r,s){s?p.addCssClass(n,r):p.removeCssClass(n,r)},p.hasCssString=function(n,r){var s=0,u;if(r=r||document,u=r.querySelectorAll("style")){for(;s<u.length;)if(u[s++].id===n)return!0}},p.removeElementById=function(n,r){r=r||document,r.getElementById(n)&&r.getElementById(n).remove()};var c,o=[];p.useStrictCSP=function(n){c=n,n==!1?a():o||(o=[])};function a(){var n=o;o=null,n&&n.forEach(function(r){i(r[0],r[1])})}function i(n,r,s){if(typeof document!="undefined"){if(o){if(s)a();else if(s===!1)return o.push([n,r])}if(!c){var u=s;!s||!s.getRootNode?u=document:(u=s.getRootNode(),(!u||u==s)&&(u=document));var f=u.ownerDocument||u;if(r&&p.hasCssString(r,u))return null;r&&(n+=`
76
76
  /*# sourceURL=ace/css/`+r+" */");var m=p.createElement("style");m.appendChild(f.createTextNode(n)),r&&(m.id=r),u==f&&(u=p.getDocumentHead(f)),u.insertBefore(m,u.firstChild)}}}if(p.importCssString=i,p.importCssStylsheet=function(n,r){p.buildDom(["link",{rel:"stylesheet",href:n}],p.getDocumentHead(r))},p.$fixPositionBug=function(n){var r=n.getBoundingClientRect();if(n.style.left){var s=parseFloat(n.style.left),u=+r.left;Math.abs(s-u)>1&&(n.style.left=2*s-u+"px")}if(n.style.right){var s=parseFloat(n.style.right),u=window.innerWidth-r.right;Math.abs(s-u)>1&&(n.style.right=2*s-u+"px")}if(n.style.top){var s=parseFloat(n.style.top),u=+r.top;Math.abs(s-u)>1&&(n.style.top=2*s-u+"px")}if(n.style.bottom){var s=parseFloat(n.style.bottom),u=window.innerHeight-r.bottom;Math.abs(s-u)>1&&(n.style.bottom=2*s-u+"px")}},p.scrollbarWidth=function(n){var r=p.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var s=p.createElement("ace_outer"),u=s.style;u.position="absolute",u.left="-10000px",u.overflow="hidden",u.width="200px",u.minWidth="0px",u.height="150px",u.display="block",s.appendChild(r);var f=n&&n.documentElement||document&&document.documentElement;if(!f)return 0;f.appendChild(s);var m=r.offsetWidth;u.overflow="scroll";var b=r.offsetWidth;return m===b&&(b=s.clientWidth),f.removeChild(s),m-b},p.computedStyle=function(n,r){return window.getComputedStyle(n,"")||{}},p.setStyle=function(n,r,s){n[r]!==s&&(n[r]=s)},p.HAS_CSS_ANIMATION=!1,p.HAS_CSS_TRANSFORMS=!1,p.HI_DPI=g.isWin?typeof window!="undefined"&&window.devicePixelRatio>=1.5:!0,g.isChromeOS&&(p.HI_DPI=!1),typeof document!="undefined"){var l=document.createElement("div");p.HI_DPI&&l.style.transform!==void 0&&(p.HAS_CSS_TRANSFORMS=!0),!g.isEdge&&typeof l.style.animationName!="undefined"&&(p.HAS_CSS_ANIMATION=!0),l=null}p.HAS_CSS_TRANSFORMS?p.translate=function(n,r,s){n.style.transform="translate("+Math.round(r)+"px, "+Math.round(s)+"px)"}:p.translate=function(n,r,s){n.style.top=Math.round(s)+"px",n.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,p,v){/*
@@ -1677,7 +1677,7 @@ ${c}
1677
1677
  */`),this.showWidgetEventDialogFlag=!0},saveEventHandler(){const t=this.$refs.ecEditor.getEditorAnnotations();let h=!1;if(!!t&&t.length>0&&(t.forEach(e=>{e.type==="error"&&(h=!0)}),h)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}this.selectedWidget.options[this.curEventName]=this.eventHandlerCode,this.showWidgetEventDialogFlag=!1}}},_hoisted_1$j={key:0,class:""},_hoisted_2$e={class:"dialog-footer"};function _sfc_render$p(t,h,e,p,v,g){const d=vue.resolveComponent("el-collapse-item"),c=vue.resolveComponent("el-collapse"),o=vue.resolveComponent("el-form"),a=vue.resolveComponent("el-scrollbar"),i=vue.resolveComponent("el-tab-pane"),l=vue.resolveComponent("form-setting"),n=vue.resolveComponent("el-tabs"),r=vue.resolveComponent("el-alert"),s=vue.resolveComponent("code-editor"),u=vue.resolveComponent("el-button"),f=vue.resolveComponent("el-dialog"),m=vue.resolveComponent("el-container"),b=vue.resolveDirective("drag");return vue.openBlock(),vue.createBlock(m,{class:"panel-container"},{default:vue.withCtx(()=>[vue.createVNode(n,{modelValue:v.activeTab,"onUpdate:modelValue":h[4]||(h[4]=C=>v.activeTab=C),style:{height:"100%",width:"100%",overflow:"hidden"}},{default:vue.withCtx(()=>[vue.createVNode(i,{label:t.i18nt("designer.hint.widgetSetting"),name:"1"},{default:vue.withCtx(()=>[vue.createVNode(a,{class:"setting-scrollbar",style:vue.normalizeStyle({height:v.scrollerHeight})},{default:vue.withCtx(()=>[!!e.designer.selectedWidget&&!e.designer.selectedWidget.category?(vue.openBlock(),vue.createBlock(o,{key:0,model:g.optionModel,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:h[1]||(h[1]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:v.widgetActiveCollapseNames,"onUpdate:modelValue":h[0]||(h[0]=C=>v.widgetActiveCollapseNames=C),class:"setting-collapse"},{default:vue.withCtx(()=>[g.showCollapse(v.commonProps)?(vue.openBlock(),vue.createBlock(d,{key:0,name:"1",title:t.i18nt("designer.setting.commonSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.commonProps,(C,_)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[g.hasPropEditor(_,C)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getPropEditor(_,C)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":g.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0),g.showCollapse(v.advProps)?(vue.openBlock(),vue.createBlock(d,{key:1,name:"2",title:t.i18nt("designer.setting.advancedSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.advProps,(C,_)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[g.hasPropEditor(_,C)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getPropEditor(_,C)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":g.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0),g.showEventCollapse()&&g.showCollapse(v.eventProps)?(vue.openBlock(),vue.createBlock(d,{key:2,name:"3",title:t.i18nt("designer.setting.eventSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.eventProps,(C,_)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[g.hasPropEditor(_,C)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getPropEditor(_,C)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":g.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["model"])):vue.createCommentVNode("",!0),!!e.designer.selectedWidget&&!!e.designer.selectedWidget.category?(vue.openBlock(),vue.createBlock(o,{key:1,model:g.optionModel,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:h[3]||(h[3]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:v.widgetActiveCollapseNames,"onUpdate:modelValue":h[2]||(h[2]=C=>v.widgetActiveCollapseNames=C),class:"setting-collapse"},{default:vue.withCtx(()=>[g.showCollapse(v.commonProps)?(vue.openBlock(),vue.createBlock(d,{key:0,name:"1",title:t.i18nt("designer.setting.commonSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.commonProps,(C,_)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[g.hasPropEditor(_,C)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getPropEditor(_,C)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":g.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0),g.showCollapse(v.advProps)?(vue.openBlock(),vue.createBlock(d,{key:1,name:"2",title:t.i18nt("designer.setting.advancedSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.advProps,(C,_)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[g.hasPropEditor(_,C)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getPropEditor(_,C)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":g.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0),g.showEventCollapse()&&g.showCollapse(v.eventProps)?(vue.openBlock(),vue.createBlock(d,{key:2,name:"3",title:t.i18nt("designer.setting.eventSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.eventProps,(C,_)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[g.hasPropEditor(_,C)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getPropEditor(_,C)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":g.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["model"])):vue.createCommentVNode("",!0)]),_:1},8,["style"])]),_:1},8,["label"]),e.designer?(vue.openBlock(),vue.createBlock(i,{key:0,label:t.i18nt("designer.hint.formSetting"),name:"2"},{default:vue.withCtx(()=>[vue.createVNode(a,{class:"setting-scrollbar",style:vue.normalizeStyle({height:v.scrollerHeight})},{default:vue.withCtx(()=>[vue.createVNode(l,{designer:e.designer,"form-config":e.formConfig},null,8,["designer","form-config"])]),_:1},8,["style"])]),_:1},8,["label"])):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"]),v.showWidgetEventDialogFlag?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",_hoisted_1$j,[vue.createVNode(f,{title:t.i18nt("designer.setting.editWidgetEventHandler"),modelValue:v.showWidgetEventDialogFlag,"onUpdate:modelValue":h[7]||(h[7]=C=>v.showWidgetEventDialogFlag=C),"show-close":!0,class:"drag-dialog small-padding-dialog","append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$e,[vue.createVNode(u,{onClick:h[6]||(h[6]=C=>v.showWidgetEventDialogFlag=!1)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.hint.cancel")),1)]),_:1}),vue.createVNode(u,{type:"primary",onClick:g.saveEventHandler},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.hint.confirm")),1)]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(r,{type:"info",closable:!1,title:v.eventHeader},null,8,["title"]),vue.createVNode(s,{mode:"javascript",readonly:!1,modelValue:v.eventHandlerCode,"onUpdate:modelValue":h[5]||(h[5]=C=>v.eventHandlerCode=C),ref:"ecEditor"},null,8,["modelValue"]),vue.createVNode(r,{type:"info",closable:!1,title:"}"})]),_:1},8,["title","modelValue"])])),[[b,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):vue.createCommentVNode("",!0)]),_:1})}var SettingPanel=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$p],["__scopeId","data-v-47dbc420"]]),containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(t){this.designer.appendTableRow(t)},appendTableCol(t){this.designer.appendTableCol(t)},onContainerDragAdd(t,h){const e=t.newIndex;h[e]&&this.designer.setSelected(h[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(t){return this.designer.checkWidgetMove(t)},selectWidget(t){this.designer.setSelected(t)},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(t){if(this.parentList){let h=this.designer.cloneContainer(t);this.parentList.splice(this.indexOfParentList+1,0,h),this.designer.setSelected(h),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const t=this.designer.selectedWidgetName;let h=null;this.parentList.length===1?this.parentWidget&&(h=this.parentWidget):this.parentList.length===1+this.indexOfParentList?h=this.parentList[this.indexOfParentList-1]:h=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(h),this.designer.formWidget.deleteWidgetRef(t),this.designer.emitHistoryChange()})}},setWidgetOption(t,h){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=h)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$o={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$c=["title"],_hoisted_4$a=["title"],_hoisted_5$7=["title"],_hoisted_6$7=["title"],_hoisted_7$5=["title"],_hoisted_8$4=["title"],_hoisted_9$2={key:1,class:"drag-handler"},_hoisted_10$2=["title"],_hoisted_11$1={key:0};function _sfc_render$o(t,h,e,p,v,g){const d=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[g.customClass]])},[vue.renderSlot(t.$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:t.i18nt("designer.hint.selectParentWidget"),onClick:h[0]||(h[0]=vue.withModifiers(c=>t.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(d,{"icon-class":"el-back"})],8,_hoisted_2$d),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:h[1]||(h[1]=vue.withModifiers(c=>t.moveUpWidget(),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-up"})],8,_hoisted_3$c)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:h[2]||(h[2]=vue.withModifiers(c=>t.moveDownWidget(),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-down"})],8,_hoisted_4$a)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:t.i18nt("designer.hint.insertRow"),onClick:h[3]||(h[3]=vue.withModifiers(c=>t.appendTableRow(e.widget),["stop"]))},[vue.createVNode(d,{"icon-class":"el-insert-row"})],8,_hoisted_5$7)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:t.i18nt("designer.hint.insertColumn"),onClick:h[4]||(h[4]=vue.withModifiers(c=>t.appendTableCol(e.widget),["stop"]))},[vue.createVNode(d,{"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:t.i18nt("designer.hint.cloneWidget"),onClick:h[5]||(h[5]=vue.withModifiers(c=>t.cloneContainer(e.widget),["stop"]))},[vue.createVNode(d,{"icon-class":"el-clone"})],8,_hoisted_7$5)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:h[6]||(h[6]=vue.withModifiers((...c)=>t.removeWidget&&t.removeWidget(...c),["stop"]))},[vue.createVNode(d,{"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$2,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.dragHandler")},[vue.createVNode(d,{"icon-class":"el-drag-move"})],8,_hoisted_10$2),vue.createElementVNode("i",null,vue.toDisplayString(t.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(d,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$o,[["render",_sfc_render$o],["__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(t,h){let e=this.refList[t];return!e&&!!h&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},registerToRefList(t){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(t&&delete this.refList[t],this.refList[this.widget.options.name]=this)}}},gridColWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$n={name:"GridColWidget",componentName:"GridColWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:Bt(tt({},comps$1),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,colHeight:{type:String,default:null},fieldSchemaData:{type:Array,default:void 0}},data(){return{layoutProps:{span:this.widget.options.span||12,offset:this.widget.options.offset||0,push:this.widget.options.push||0,pull:this.widget.options.pull||0}}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},watch:{"designer.formConfig.layoutType":{handler(t){this.widget.options.responsive?t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.responsive":{handler(t){let h=this.designer.formConfig.layoutType;t?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:this.layoutProps.span=this.widget.options.span||12}},"widget.options.span":{handler(t){this.layoutProps.span=t}},"widget.options.md":{handler(t){this.layoutProps.span=t}},"widget.options.sm":{handler(t){this.layoutProps.span=t}},"widget.options.xs":{handler(t){this.layoutProps.span=t}},"widget.options.offset":{handler(t){this.layoutProps.offset=t}},"widget.options.push":{handler(t){this.layoutProps.push=t}},"widget.options.pull":{handler(t){this.layoutProps.pull=t}}},created(){this.initRefList(),this.initLayoutProps()},methods:{initLayoutProps(){if(this.widget.options.responsive){let t=this.designer.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=this.widget.options.span},onGridDragEnd(t,h){},onGridDragAdd(t,h){const e=t.newIndex;h[e]&&this.designer.setSelected(h[e]),this.designer.emitHistoryChange()},onGridDragUpdate(){this.designer.emitHistoryChange()},selectWidget(t){console.log("id: "+t.id),this.designer.setSelected(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList)},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList)},cloneGridCol(t){this.designer.cloneGridCol(t,this.parentWidget)},removeWidget(){if(this.parentList){let t=null;this.parentList.length===1?this.parentWidget&&(t=this.parentWidget):this.parentList.length===1+this.indexOfParentList?t=this.parentList[this.indexOfParentList-1]:t=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(t),this.designer.emitHistoryChange()})}}}},_hoisted_1$h={class:"form-widget-list"},_hoisted_2$c={key:0,class:"grid-col-action"},_hoisted_3$b=["title"],_hoisted_4$9=["title"],_hoisted_5$6=["title"],_hoisted_6$6=["title"],_hoisted_7$4=["title"],_hoisted_8$3={key:1,class:"grid-col-handler"};function _sfc_render$n(t,h,e,p,v,g){const d=vue.resolveComponent("draggable"),c=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("el-col");return e.widget.type==="grid-col"?(vue.openBlock(),vue.createBlock(o,vue.mergeProps({key:0,class:"grid-cell"},v.layoutProps,{class:[g.selected?"selected":"",g.customClass],style:g.colHeightStyle,key:e.widget.id,onClick:h[7]||(h[7]=vue.withModifiers(a=>g.selectWidget(e.widget),["stop"]))}),{default:vue.withCtx(()=>[vue.createVNode(d,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:h[0]||(h[0]=a=>g.onGridDragEnd(a,e.widget.widgetList)),onAdd:h[1]||(h[1]=a=>g.onGridDragAdd(a,e.widget.widgetList)),onUpdate:g.onGridDragUpdate,move:g.checkContainerMove}),{item:vue.withCtx(({element:a,index:i})=>[vue.createElementVNode("div",_hoisted_1$h,[a.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.type+"-widget"),{widget:a,designer:e.designer,key:a.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"field-schema-data":e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i]:void 0},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","field-schema-data"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(e.fieldSchemaData)+" ",1),(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.type+"-widget"),{field:e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i]:a,designer:e.designer,key:e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i].id:a.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))],64))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$c,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:h[2]||(h[2]=vue.withModifiers(a=>g.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(c,{"icon-class":"el-back"})],8,_hoisted_3$b),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:h[3]||(h[3]=vue.withModifiers(a=>g.moveUpWidget(),["stop"]))},[vue.createVNode(c,{"icon-class":"el-move-up"})],8,_hoisted_4$9)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:h[4]||(h[4]=vue.withModifiers(a=>g.moveDownWidget(),["stop"]))},[vue.createVNode(c,{"icon-class":"el-move-down"})],8,_hoisted_5$6)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.cloneWidget"),onClick:h[5]||(h[5]=vue.withModifiers(a=>g.cloneGridCol(e.widget),["stop"]))},[vue.createVNode(c,{"icon-class":"el-clone"})],8,_hoisted_6$6),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:h[6]||(h[6]=vue.withModifiers((...a)=>g.removeWidget&&g.removeWidget(...a),["stop"]))},[vue.createVNode(c,{"icon-class":"el-delete"})],8,_hoisted_7$4)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$3,[vue.createElementVNode("i",null,vue.toDisplayString(t.i18nt("designer.widgetLabel."+e.widget.type)),1)])):vue.createCommentVNode("",!0)]),_:1},16,["class","style"])):vue.createCommentVNode("",!0)}var GridColWidget=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-3a5d5fcf"]]),__glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:GridColWidget},Symbol.toStringTag,{value:"Module"})),gridWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$m={name:"grid-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,GridColWidget},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||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}};function _sfc_render$m(t,h,e,p,v,g){const d=vue.resolveComponent("grid-col-widget"),c=vue.resolveComponent("el-row"),o=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(o,{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(c,{key:e.widget.id,gutter:e.widget.options.gutter,class:vue.normalizeClass(["grid-container",[g.selected?"selected":"",g.customClass]]),onClick:h[0]||(h[0]=vue.withModifiers(a=>t.selectWidget(e.widget),["stop"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols,(a,i)=>(vue.openBlock(),vue.createBlock(d,{key:a.id,widget:a,designer:e.designer,"parent-list":e.widget.cols,"index-of-parent-list":i,"parent-widget":e.widget,"col-height":e.widget.options.colHeight},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","col-height"]))),128))]),_:1},8,["gutter","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var gridWidget=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m],["__scopeId","data-v-2b4f7bb7"]]),__glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:gridWidget},Symbol.toStringTag,{value:"Module"})),tabWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$l={name:"tab-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:tt({ContainerWrapper},comps$1),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{activeTab:"tab1"}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{onTabClick(t){let h=t.paneName;this.widget.tabs.forEach(e=>{e.options.active=e.options.name===h})}}},_hoisted_1$g={class:"form-widget-list"};function _sfc_render$l(t,h,e,p,v,g){const d=vue.resolveComponent("draggable"),c=vue.resolveComponent("el-tab-pane"),o=vue.resolveComponent("el-tabs"),a=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(a,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["tab-container",{selected:g.selected}]),onClick:h[2]||(h[2]=vue.withModifiers(i=>t.selectWidget(e.widget),["stop"]))},[vue.createVNode(o,{type:e.widget.displayType,modelValue:v.activeTab,"onUpdate:modelValue":h[1]||(h[1]=i=>v.activeTab=i),onTabClick:g.onTabClick},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.tabs,(i,l)=>(vue.openBlock(),vue.createBlock(c,{key:l,label:i.options.label,name:i.options.name,onClick:h[0]||(h[0]=vue.withModifiers(n=>t.selectWidget(e.widget),["stop"]))},{default:vue.withCtx(()=>[vue.createVNode(d,vue.mergeProps({list:i.widgetList,"item-key":"id"},{ref_for:!0},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:n=>t.onContainerDragAdd(n,i.widgetList),onUpdate:t.onContainerDragUpdate,move:t.checkContainerMove}),{item:vue.withCtx(({element:n,index:r})=>[vue.createElementVNode("div",_hoisted_1$g,[n.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{widget:n,designer:e.designer,key:n.id,"parent-list":i.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{field:n,designer:e.designer,key:n.id,"parent-list":i.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:2},1040,["list","onAdd","onUpdate","move"])]),_:2},1032,["label","name"]))),128))]),_:1},8,["type","modelValue","onTabClick"])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var tabWidget=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-2c29f864"]]),__glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:tabWidget},Symbol.toStringTag,{value:"Module"})),tableCellWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$k={name:"TableCellWidget",componentName:"TableCellWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:Bt(tt({},comps$1),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,colArray:Array,rowArray:Array,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},mergeLeftColDisabled(){return this.colIndex<=0||this.colArray[this.colIndex-1].options.rowspan!==this.widget.options.rowspan},mergeRightColDisabled(){let t=this.colIndex+this.widget.options.colspan;return this.colIndex>=this.colLength-1||t>this.colLength-1||this.colArray[t].options.rowspan!==this.widget.options.rowspan},mergeWholeRowDisabled(){return this.colLength<=1||this.colLength===this.widget.options.colspan},mergeAboveRowDisabled(){return this.rowIndex<=0||this.rowArray[this.rowIndex-1].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeBelowRowDisabled(){let t=this.rowIndex+this.widget.options.rowspan;return this.rowIndex>=this.rowLength-1||t>this.rowLength-1||this.rowArray[t].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeWholeColDisabled(){return this.rowLength<=1||this.rowLength===this.widget.options.rowspan},undoMergeColDisabled(){return this.widget.merged||this.widget.options.colspan<=1},undoMergeRowDisabled(){return this.widget.merged||this.widget.options.rowspan<=1},deleteWholeColDisabled(){return this.colLength===1||this.widget.options.colspan===this.colLength},deleteWholeRowDisabled(){return this.rowLength===1||this.widget.options.rowspan===this.rowLength}},watch:{},created(){this.initRefList()},methods:{selectWidget(t){this.designer.setSelected(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},onTableDragEnd(t,h){},onTableDragAdd(t,h){const e=t.newIndex;h[e]&&this.designer.setSelected(h[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},handleTableCellCommand(t){t==="insertLeftCol"?this.insertLeftCol():t==="insertRightCol"?this.insertRightCol():t==="insertAboveRow"?this.insertAboveRow():t==="insertBelowRow"?this.insertBelowRow():t==="mergeLeftCol"?this.mergeLeftCol():t==="mergeRightCol"?this.mergeRightCol():t==="mergeWholeCol"?this.mergeWholeCol():t==="mergeAboveRow"?this.mergeAboveRow():t==="mergeBelowRow"?this.mergeBelowRow():t==="mergeWholeRow"?this.mergeWholeRow():t==="undoMergeCol"?this.undoMergeCol():t==="undoMergeRow"?this.undoMergeRow():t==="deleteWholeCol"?this.deleteWholeCol():t==="deleteWholeRow"&&this.deleteWholeRow()},insertLeftCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!0)},insertRightCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!1)},insertAboveRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!0)},insertBelowRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!1)},mergeLeftCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeRightCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeRow(){this.designer.mergeTableWholeRow(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},mergeAboveRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeBelowRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeCol(){this.designer.mergeTableWholeCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},undoMergeCol(){this.designer.undoMergeTableCol(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},undoMergeRow(){this.designer.undoMergeTableRow(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},deleteWholeCol(){this.designer.deleteTableWholeCol(this.rowArray,this.colIndex)},deleteWholeRow(){this.designer.deleteTableWholeRow(this.rowArray,this.rowIndex)}}},_hoisted_1$f=["colspan","rowspan"],_hoisted_2$b={class:"form-widget-list"},_hoisted_3$a={key:0,class:"table-cell-action"},_hoisted_4$8=["title"],_hoisted_5$5=["title"],_hoisted_6$5={key:1,class:"table-cell-handler"};function _sfc_render$k(t,h,e,p,v,g){const d=vue.resolveComponent("draggable"),c=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("el-dropdown-item"),a=vue.resolveComponent("el-dropdown-menu"),i=vue.resolveComponent("el-dropdown");return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[g.selected?"selected":"",g.customClass]]),style:vue.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:h[3]||(h[3]=vue.withModifiers(l=>g.selectWidget(e.widget),["stop"]))},[vue.createVNode(d,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:h[0]||(h[0]=l=>g.onTableDragEnd(l,e.widget.widgetList)),onAdd:h[1]||(h[1]=l=>g.onTableDragAdd(l,e.widget.widgetList)),onUpdate:g.onTableDragUpdate,move:g.checkContainerMove}),{item:vue.withCtx(({element:l,index:n})=>[vue.createElementVNode("div",_hoisted_2$b,[l.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.type+"-widget"),{widget:l,designer:e.designer,key:l.id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.type+"-widget"),{field:l,designer:e.designer,key:l.id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$a,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:h[2]||(h[2]=vue.withModifiers(l=>g.selectParentWidget(),["stop"]))},[vue.createVNode(c,{"icon-class":"el-back"})],8,_hoisted_4$8),vue.createVNode(i,{trigger:"click",onCommand:g.handleTableCellCommand,size:"small"},{dropdown:vue.withCtx(()=>[vue.createVNode(a,null,{default:vue.withCtx(()=>[vue.createVNode(o,{command:"insertLeftCol"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),vue.createVNode(o,{command:"insertRightCol"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),vue.createVNode(o,{command:"insertAboveRow"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.insertRowAbove")),1)]),_:1}),vue.createVNode(o,{command:"insertBelowRow"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.insertRowBelow")),1)]),_:1}),vue.createVNode(o,{command:"mergeLeftCol",disabled:g.mergeLeftColDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeRightCol",disabled:g.mergeRightColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeWholeRow",disabled:g.mergeWholeRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeAboveRow",disabled:g.mergeAboveRowDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeBelowRow",disabled:g.mergeBelowRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeWholeCol",disabled:g.mergeWholeColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"undoMergeRow",disabled:g.undoMergeRowDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"undoMergeCol",disabled:g.undoMergeColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"deleteWholeCol",disabled:g.deleteWholeColDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"deleteWholeRow",disabled:g.deleteWholeRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"])]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("i",{title:t.i18nt("designer.hint.cellSetting")},[vue.createVNode(c,{"icon-class":"el-menu"})],8,_hoisted_5$5)]),_:1},8,["onCommand"])])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$5,[vue.createElementVNode("i",null,vue.toDisplayString(t.i18nt("designer.widgetLabel."+e.widget.type)),1)])):vue.createCommentVNode("",!0)],14,_hoisted_1$f)}var TableCellWidget=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k],["__scopeId","data-v-2dc3e6c7"]]),__glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellWidget},Symbol.toStringTag,{value:"Module"})),tableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$j={name:"table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,TableCellWidget},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||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}},_hoisted_1$e={class:"table-layout"};function _sfc_render$j(t,h,e,p,v,g){const d=vue.resolveComponent("table-cell-widget"),c=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(c,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["table-container",[g.selected?"selected":"",g.customClass]]),onClick:h[0]||(h[0]=vue.withModifiers(o=>t.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("table",_hoisted_1$e,[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows,(o,a)=>(vue.openBlock(),vue.createElementBlock("tr",{key:o.id},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.cols,(i,l)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.cols,"row-index":a,"row-length":e.widget.rows.length,"col-index":l,"col-length":o.cols.length,"col-array":o.cols,"row-array":e.widget.rows,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","col-array","row-array","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var tableWidget=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j],["__scopeId","data-v-2fde56df"]]),__glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:tableWidget},Symbol.toStringTag,{value:"Module"}));const modules={"./container-wrapper.vue":__glob_0_0,"./grid-col-widget.vue":__glob_0_1,"./grid-widget.vue":__glob_0_2,"./tab-widget.vue":__glob_0_3,"./table-cell-widget.vue":__glob_0_4,"./table-widget.vue":__glob_0_5};var ContainerWidgets={install(t){for(const h in modules){let e=modules[h].default.name;t.component(e,modules[h].default)}}},index_vue_vue_type_style_index_0_scoped_true_lang$1="";const _sfc_main$i={name:"VFormWidget",componentName:"VFormWidget",mixins:[i18n$1],components:tt({},comps$1),props:{designer:Object,formConfig:Object,optionData:{type:Object,default:()=>({})},globalDsv:{type:Object,default:()=>({})}},provide(){return{refList:this.widgetRefList,getFormConfig:()=>this.formConfig,getGlobalDsv:()=>this.globalDsv,globalOptionData:this.optionData,getOptionData:()=>this.optionData,globalModel:{formModel:this.formModel}}},inject:["getDesignerConfig"],data(){return{formModel:{},widgetRefList:{}}},computed:{labelPosition(){return!!this.designer.formConfig&&!!this.designer.formConfig.labelPosition?this.designer.formConfig.labelPosition:"left"},size(){return!!this.designer.formConfig&&!!this.designer.formConfig.size?this.designer.formConfig.size:"default"},customClass(){return this.designer.formConfig.customClass||""},layoutType(){return this.designer.getLayoutType()}},watch:{"designer.widgetList":{deep:!0,handler(t){}},"designer.formConfig":{deep:!0,handler(t){}}},created(){this.designer.initDesigner(!!this.getDesignerConfig().resetFormJson),this.designer.loadPresetCssCode(this.getDesignerConfig().presetCssCode)},mounted(){this.disableFirefoxDefaultDrop(),this.designer.registerFormWidget(this)},methods:{getWidgetName(t){return t.type+"-widget"},disableFirefoxDefaultDrop(){navigator.userAgent.toLowerCase().indexOf("firefox")!==-1&&(document.body.ondrop=function(h){h.stopPropagation(),h.preventDefault()})},onDragEnd(t){},onDragAdd(t){const h=t.newIndex;this.designer.widgetList[h]&&this.designer.setSelected(this.designer.widgetList[h]),this.designer.emitHistoryChange()},onDragUpdate(){this.designer.emitHistoryChange()},checkMove(t){return this.designer.checkWidgetMove(t)},getFormData(){return this.formModel},getWidgetRef(t,h=!1){let e=this.widgetRefList[t];return!e&&!!h&&this.$message.error(this.i18nt("designer.hint.refNotFound")+t),e},getSelectedWidgetRef(){let t=this.designer.selectedWidgetName;return this.getWidgetRef(t)},clearWidgetRefList(){Object.keys(this.widgetRefList).forEach(t=>{delete this.widgetRefList[t]})},deleteWidgetRef(t){delete this.widgetRefList[t]}}},_hoisted_1$d={class:"form-widget-container"},_hoisted_2$a={key:0,class:"no-widget-hint"},_hoisted_3$9={class:"form-widget-list"},_hoisted_4$7={class:"transition-group-el"};function _sfc_render$i(t,h,e,p,v,g){const d=vue.resolveComponent("draggable"),c=vue.resolveComponent("el-form");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$d,[vue.createVNode(c,{class:vue.normalizeClass(["full-height-width widget-form",[g.customClass,g.layoutType+"-layout"]]),"label-position":g.labelPosition,size:g.size,"validate-on-rule-change":!1},{default:vue.withCtx(()=>[e.designer.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$a,vue.toDisplayString(t.i18nt("designer.noWidgetHint")),1)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$9,[vue.createVNode(d,vue.mergeProps({list:e.designer.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:300},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:g.onDragEnd,onAdd:g.onDragAdd,onUpdate:g.onDragUpdate,move:g.checkMove}),{item:vue.withCtx(({element:o,index:a})=>[vue.createElementVNode("div",_hoisted_4$7,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getWidgetName(o)),{widget:o,designer:e.designer,key:o.id,"parent-list":e.designer.widgetList,"index-of-parent-list":a,"parent-widget":null},null,8,["widget","designer","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(g.getWidgetName(o)),{field:o,designer:e.designer,key:o.id,"parent-list":e.designer.widgetList,"index-of-parent-list":a,"parent-widget":null,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list"]))])]),_:1},16,["list","onEnd","onAdd","onUpdate","move"])])]),_:1},8,["label-position","class","size"])])}var VFormWidget=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i],["__scopeId","data-v-32a29dc2"]]);function createDesigner(t){let h=deepClone(getDefaultFormConfig());return{widgetList:[],formConfig:{cssCode:""},selectedId:null,selectedWidget:null,selectedWidgetName:null,vueInstance:t,formWidget:null,cssClassList:[],historyData:{index:-1,maxStep:20,steps:[]},initDesigner(e){this.widgetList=[],this.formConfig=deepClone(h),console.info(`%cVariantForm %cVer${VARIANT_FORM_VERSION} %chttps://www.yuque.com/visualdev/vform3`,"color:#409EFF;font-size: 22px;font-weight:bolder","color:#999;font-size: 12px","color:#333"),e||this.initHistoryData()},clearDesigner(e){let p=this.widgetList.length===0;this.widgetList=[],this.selectedId=null,this.selectedWidgetName=null,this.selectedWidget={},overwriteObj(this.formConfig,h),e||(p?this.saveCurrentHistoryStep():this.emitHistoryChange())},loadPresetCssCode(e){this.formConfig.cssCode===""&&!!e&&(this.formConfig.cssCode=e)},getLayoutType(){return this.formConfig.layoutType||"PC"},changeLayoutType(e){this.formConfig.layoutType=e},getImportTemplate(){return{widgetList:[],formConfig:deepClone(h)}},loadFormJson(e){let p=!1;return!!e&&!!e.widgetList&&(this.formWidget.clearWidgetRefList(),this.widgetList=e.widgetList,p=!0),!!e&&!!e.formConfig&&(overwriteObj(this.formConfig,e.formConfig),p=!0),p&&this.emitEvent("form-json-imported",[]),p},setSelected(e){if(!e){this.clearSelected();return}this.selectedWidget=e,e.id&&(this.selectedId=e.id,this.selectedWidgetName=e.options.name)},updateSelectedWidgetNameAndLabel(e,p,v){this.selectedWidgetName=p,!!v&&Object.keys(e.options).indexOf("label")>-1&&(e.options.label=v)},clearSelected(){this.selectedId=null,this.selectedWidgetName=null,this.selectedWidget={}},checkWidgetMove(e){if(!!e.draggedContext&&!!e.draggedContext.element){let p=e.draggedContext.element.category;if(e.draggedContext.element.type+"",e.to&&e.to.className==="sub-form-table"&&p==="container")return!1}return!0},checkFieldMove(e){if(!!e.draggedContext&&!!e.draggedContext.element){e.draggedContext.element.category;let p=e.draggedContext.element.type+"";if(e.to&&e.to.className==="sub-form-table"&&p==="slot")return!1}return!0},appendTableRow(e){let p=e.rows.length,v=deepClone(e.rows[e.rows.length-1]);v.id="table-row-"+generateId(),v.merged=!1,v.cols.forEach(g=>{g.id="table-cell-"+generateId(),g.options.name=g.id,g.merged=!1,g.options.colspan=1,g.options.rowspan=1,g.widgetList.length=0}),e.rows.splice(p,0,v),this.emitHistoryChange()},appendTableCol(e){let p=e.rows[0].cols.length;e.rows.forEach(v=>{let g=deepClone(this.getContainerByType("table-cell"));g.id="table-cell-"+generateId(),g.options.name=g.id,g.merged=!1,g.options.colspan=1,g.options.rowspan=1,g.widgetList.length=0,v.cols.splice(p,0,g)}),this.emitHistoryChange()},insertTableRow(e,p,v,g,d){let c=d?p:p+1;if(!d){let i=c,l=!1;for(;i<e.rows.length;)if(e.rows[i].cols[g].merged)i++;else{c=i,l=!0;break}l||(c=e.rows.length)}let o=deepClone(e.rows[v]);o.id="table-row-"+generateId(),o.merged=!1,o.cols.forEach(i=>{i.id="table-cell-"+generateId(),i.options.name=i.id,i.merged=!1,i.options.colspan=1,i.options.rowspan=1,i.widgetList.length=0}),e.rows.splice(c,0,o);let a=0;for(;c<e.rows.length-1&&a<e.rows[0].cols.length;){const i=e.rows[c+1].cols[a];if(i.merged){let n=e.rows,r={},s=null;for(let u=c;u>=0;u--)if(!n[u].cols[a].merged&&n[u].cols[a].options.rowspan>1){s=u,r=n[u].cols[a];break}if(r.options){let u=r.options.rowspan+1;this.setPropsOfMergedRows(e.rows,s,a,r.options.colspan,u),a+=r.options.colspan}else a+=1}else a+=i.options.colspan||1}this.emitHistoryChange()},insertTableCol(e,p,v,g){let d=g?p:p+1;if(!g){let o=d,a=!1;for(;o<e.rows[v].cols.length;){if(e.rows[v].cols[o].merged)o++;else{d=o,a=!0;break}a||(d=e.rows[v].cols.length)}}e.rows.forEach(o=>{let a=deepClone(this.getContainerByType("table-cell"));a.id="table-cell-"+generateId(),a.options.name=a.id,a.merged=!1,a.options.colspan=1,a.options.rowspan=1,a.widgetList.length=0,o.cols.splice(d,0,a)});let c=0;for(;d<e.rows[0].cols.length-1&&c<e.rows.length;){const o=e.rows[c].cols[d+1];if(o.merged){let i=e.rows[c].cols,l={},n=null;for(let r=d;r>=0;r--)if(!i[r].merged&&i[r].options.colspan>1){n=r,l=i[r];break}if(l.options){let r=l.options.colspan+1;this.setPropsOfMergedCols(e.rows,c,n,r,l.options.rowspan),c+=l.options.rowspan}else c+=1}else c+=o.options.rowspan||1}this.emitHistoryChange()},setPropsOfMergedCols(e,p,v,g,d){for(let c=p;c<p+d;c++)for(let o=v;o<v+g;o++){if(c===p&&o===v){e[c].cols[o].options.colspan=g;continue}e[c].cols[o].merged=!0,e[c].cols[o].options.colspan=g,e[c].cols[o].widgetList=[]}},setPropsOfMergedRows(e,p,v,g,d){for(let c=p;c<p+d;c++)for(let o=v;o<v+g;o++){if(c===p&&o===v){e[c].cols[o].options.rowspan=d;continue}e[c].cols[o].merged=!0,e[c].cols[o].options.rowspan=d,e[c].cols[o].widgetList=[]}},setPropsOfSplitCol(e,p,v,g,d){for(let c=p;c<p+d;c++)for(let o=v;o<v+g;o++)e[c].cols[o].merged=!1,e[c].cols[o].options.rowspan=1,e[c].cols[o].options.colspan=1},setPropsOfSplitRow(e,p,v,g,d){for(let c=p;c<p+d;c++)for(let o=v;o<v+g;o++)e[c].cols[o].merged=!1,e[c].cols[o].options.rowspan=1,e[c].cols[o].options.colspan=1},mergeTableCol(e,p,v,g,d,c){let o=d?g:g+p[g].options.colspan,a=d?g-1:g;if(d){let l=a;for(;l>=0;)if(e[v].cols[l].merged)l--;else{a=l;break}}!!p[o].widgetList&&p[o].widgetList.length>0&&(!p[a].widgetList||p[a].widgetList.length===0)&&(p[a].widgetList=deepClone(p[o].widgetList));let i=p[o].options.colspan*1+p[a].options.colspan*1;this.setPropsOfMergedCols(e,v,a,i,c.options.rowspan),this.emitHistoryChange()},mergeTableWholeRow(e,p,v,g){let d=e[v].cols[0].options.rowspan,c=!1;for(let a=1;a<e[v].cols.length;a++)if(e[v].cols[a].options.rowspan!==d){c=!0;break}if(c){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.rowspanNotConsistentForMergeEntireRow"));return}let o=p.filter(a=>!a.merged&&!!a.widgetList&&a.widgetList.length>0);!!o&&o.length>0&&o[0].id!==p[0].id&&(!p[0].widgetList||p[0].widgetList.length<=0)&&(p[0].widgetList=deepClone(o[0].widgetList)),this.setPropsOfMergedCols(e,v,0,p.length,p[g].options.rowspan),this.emitHistoryChange()},mergeTableRow(e,p,v,g,d){let c=g?p:p+d.options.rowspan,o=g?p-1:p;if(g){let i=o;for(;i>=0;)if(e[i].cols[v].merged)i--;else{o=i;break}}!!e[c].cols[v].widgetList&&e[c].cols[v].widgetList.length>0&&(!e[o].cols[v].widgetList||e[o].cols[v].widgetList.length===0)&&(e[o].cols[v].widgetList=deepClone(e[c].cols[v].widgetList));let a=e[c].cols[v].options.rowspan*1+e[o].cols[v].options.rowspan*1;this.setPropsOfMergedRows(e,o,v,d.options.colspan,a),this.emitHistoryChange()},mergeTableWholeCol(e,p,v,g){let d=e[0].cols[g].options.colspan,c=!1;for(let i=1;i<e.length;i++)if(e[i].cols[g].options.colspan!==d){c=!0;break}if(c){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.colspanNotConsistentForMergeEntireColumn"));return}let o=[];e.forEach(i=>{let l=i.cols[g];!l.merged&&!!l.widgetList&&l.widgetList.length>0&&o.push(l)});let a=e[0].cols[g];!!o&&o.length>0&&o[0].id!==a.id&&(!a.widgetList||a.widgetList.length<=0)&&(a.widgetList=deepClone(o[0].widgetList)),this.setPropsOfMergedRows(e,0,g,a.options.colspan,e.length),this.emitHistoryChange()},undoMergeTableCol(e,p,v,g,d){this.setPropsOfSplitCol(e,p,v,g,d),this.emitHistoryChange()},undoMergeTableRow(e,p,v,g,d){this.setPropsOfSplitRow(e,p,v,g,d),this.emitHistoryChange()},deleteTableWholeCol(e,p){let v=!0;if(e.forEach(c=>{c.cols[0].options.colspan!==e[0].cols.length&&(v=!1)}),v){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.lastColCannotBeDeleted"));return}let g=e[0].cols[p].options.colspan,d=!1;for(let c=1;c<e.length;c++)if(e[c].cols[p].options.colspan!==g){d=!0;break}if(d){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn"));return}e.forEach(c=>{c.cols.splice(p,g)}),this.emitHistoryChange()},deleteTableWholeRow(e,p){let v=!0;if(e[0].cols.forEach(c=>{c.options.rowspan!==e.length&&(v=!1)}),v){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.lastRowCannotBeDeleted"));return}let g=e[p].cols[0].options.rowspan,d=!1;for(let c=1;c<e[p].cols.length;c++)if(e[p].cols[c].options.rowspan!==g){d=!0;break}if(d){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow"));return}e.splice(p,g),this.emitHistoryChange()},getContainerByType(e){let p=[...containers,...basicFields,...advancedFields,...customFields],v=null;return p.forEach(g=>{!!g.category&&!!g.type&&g.type===e&&(v=g)}),v},getFieldWidgetByType(e){let p=[...containers,...basicFields,...advancedFields,...customFields],v=null;return p.forEach(g=>{!g.category&&!!g.type&&g.type===e&&(v=g)}),v},hasConfig(e,p){let v=null;return e.category?v=this.getContainerByType(e.type):v=this.getFieldWidgetByType(e.type),!v||!v.options?!1:Object.keys(v.options).indexOf(p)>-1},upgradeWidgetConfig(e){let p=null;e.category?p=this.getContainerByType(e.type):p=this.getFieldWidgetByType(e.type),!(!p||!p.options)&&Object.keys(p.options).forEach(v=>{e.hasOwnProperty(v)||(e.options[v]=deepClone(p.options[v]))})},upgradeFormConfig(e){Object.keys(this.formConfig).forEach(p=>{e.hasOwnProperty(p)||(e[p]=deepClone(this.formConfig[p]))})},cloneGridCol(e,p){let v=deepClone(this.getContainerByType("grid-col"));v.options.span=e.options.span;let g=generateId();v.id="grid-col-"+g,v.options.name="gridCol"+g,p.cols.push(v)},cloneContainer(e){if(e.type==="grid"){let p=deepClone(this.getContainerByType("grid"));return p.id=p.type+generateId(),p.options.name=p.id,e.cols.forEach(v=>{let g=deepClone(this.getContainerByType("grid-col")),d=generateId();g.id="grid-col-"+d,g.options.name="gridCol"+d,g.options.span=v.options.span,p.cols.push(g)}),p}else if(e.type==="table"){let p=deepClone(this.getContainerByType("table"));return p.id=p.type+generateId(),p.options.name=p.id,e.rows.forEach(v=>{let g=deepClone(v);g.id="table-row-"+generateId(),g.cols.forEach(d=>{d.id="table-cell-"+generateId(),d.options.name=d.id,d.widgetList=[]}),p.rows.push(g)}),p}else return null},moveUpWidget(e,p){if(e){if(p===0){this.vueInstance.$message(this.vueInstance.i18nt("designer.hint.moveUpFirstChildHint"));return}let v=e[p];e.splice(p,1),e.splice(p-1,0,v)}},moveDownWidget(e,p){if(e){if(p===e.length-1){this.vueInstance.$message(this.vueInstance.i18nt("designer.hint.moveDownLastChildHint"));return}let v=e[p];e.splice(p,1),e.splice(p+1,0,v)}},copyNewFieldWidget(e){let p=deepClone(e),v=generateId();return p.id=p.type.replace(/-/g,"")+v,p.options.name=p.id,p.options.label=p.options.label||p.type.toLowerCase(),delete p.displayName,p},copyNewContainerWidget(e){let p=deepClone(e);if(p.id=p.type.replace(/-/g,"")+generateId(),p.options.name=p.id,p.type==="grid"){let v=deepClone(this.getContainerByType("grid-col")),g=generateId();v.id="grid-col-"+g,v.options.name="gridCol"+g,p.cols.push(v),v=deepClone(v),g=generateId(),v.id="grid-col-"+g,v.options.name="gridCol"+g,p.cols.push(v)}else if(p.type==="table"){let v={cols:[]};v.id="table-row-"+generateId(),v.merged=!1;let g=deepClone(this.getContainerByType("table-cell"));g.id="table-cell-"+generateId(),g.options.name=g.id,g.merged=!1,g.options.colspan=1,g.options.rowspan=1,v.cols.push(g),p.rows.push(v)}else if(p.type==="tab"){let v=deepClone(this.getContainerByType("tab-pane"));v.id="tab-pane-"+generateId(),v.options.name="tab1",v.options.label="tab 1",p.tabs.push(v)}return delete p.displayName,p},addContainerByDbClick(e){let p=this.copyNewContainerWidget(e);this.widgetList.push(p),this.setSelected(p)},addFieldByDbClick(e){let p=this.copyNewFieldWidget(e);if(!!this.selectedWidget&&this.selectedWidget.type==="tab"){let v=this.selectedWidget.tabs[0];this.selectedWidget.tabs.forEach(g=>{g.options.active&&(v=g)}),!!v&&v.widgetList.push(p)}else!!this.selectedWidget&&!!this.selectedWidget.widgetList?this.selectedWidget.widgetList.push(p):this.widgetList.push(p);this.setSelected(p),this.emitHistoryChange()},deleteColOfGrid(e,p){!!e&&!!e.cols&&e.cols.splice(p,1)},addNewColOfGrid(e){const p=e.cols;let v=deepClone(this.getContainerByType("grid-col")),g=generateId();if(v.id="grid-col-"+g,v.options.name="gridCol"+g,!!p&&p.length>0){let d=0;p.forEach(c=>{d+=c.options.span}),d>=24?(console.log("\u5217\u6805\u683C\u4E4B\u548C\u8D85\u51FA24"),e.cols.push(v)):(v.options.span=24-d>12?12:24-d,e.cols.push(v))}else e.cols=[v]},addTabPaneOfTabs(e){const p=e.tabs;let v=deepClone(this.getContainerByType("tab-pane"));v.id="tab-pane-"+generateId(),v.options.name=v.id,v.options.label="tab "+(p.length+1),p.push(v)},deleteTabPaneOfTabs(e,p){e.tabs.splice(p,1)},emitEvent(e,p){eventBus.$emit(e,p)},handleEvent(e,p){eventBus.$on(e,v=>p(v))},setCssClassList(e){this.cssClassList=e},getCssClassList(){return this.cssClassList},registerFormWidget(e){this.formWidget=e},initHistoryData(){this.loadFormContentFromStorage(),this.historyData.index++,this.historyData.steps[this.historyData.index]={widgetList:deepClone(this.widgetList),formConfig:deepClone(this.formConfig)}},emitHistoryChange(){this.historyData.index===this.historyData.maxStep-1?this.historyData.steps.shift():this.historyData.index++,this.historyData.steps[this.historyData.index]={widgetList:deepClone(this.widgetList),formConfig:deepClone(this.formConfig)},this.saveFormContentToStorage(),this.historyData.index<this.historyData.steps.length-1&&(this.historyData.steps=this.historyData.steps.slice(0,this.historyData.index+1))},saveCurrentHistoryStep(){this.historyData.steps[this.historyData.index]=deepClone({widgetList:this.widgetList,formConfig:this.formConfig}),this.saveFormContentToStorage()},undoHistoryStep(){this.historyData.index!==0&&this.historyData.index--,this.widgetList=deepClone(this.historyData.steps[this.historyData.index].widgetList),this.formConfig=deepClone(this.historyData.steps[this.historyData.index].formConfig)},redoHistoryStep(){this.historyData.index!==this.historyData.steps.length-1&&this.historyData.index++,this.widgetList=deepClone(this.historyData.steps[this.historyData.index].widgetList),this.formConfig=deepClone(this.historyData.steps[this.historyData.index].formConfig)},undoEnabled(){return this.historyData.index>0&&this.historyData.steps.length>0},redoEnabled(){return this.historyData.index<this.historyData.steps.length-1},saveFormContentToStorage(){window.localStorage.setItem("widget__list__backup",JSON.stringify(this.widgetList)),window.localStorage.setItem("form__config__backup",JSON.stringify(this.formConfig))},loadFormContentFromStorage(){let e=window.localStorage.getItem("widget__list__backup");e&&(this.widgetList=JSON.parse(e));let p=window.localStorage.getItem("form__config__backup");p&&overwriteObj(this.formConfig,JSON.parse(p))}}}var index_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$h={name:"VFormDesigner",componentName:"VFormDesigner",mixins:[i18n$1],components:{SvgIcon,WidgetPanel,ToolbarPanel,SettingPanel,VFormWidget},props:{fieldListApi:{type:Object,default:null},bannedWidgets:{type:Array,default:()=>[]},designerConfig:{type:Object,default:()=>({languageMenu:!0,externalLink:!0,formTemplates:!0,eventCollapse:!0,widgetNameReadonly:!1,clearDesignerButton:!0,previewFormButton:!0,importJsonButton:!0,exportJsonButton:!0,exportCodeButton:!0,generateSFCButton:!0,toolbarMaxWidth:450,toolbarMinWidth:300,presetCssCode:"",resetFormJson:!1})},globalDsv:{type:Object,default:()=>({})}},data(){return{vFormVersion:VARIANT_FORM_VERSION,curLangName:"",curLocale:"",vsCodeFlag:!1,caseName:"",docUrl:"https://www.vform666.com/document3.html",gitUrl:"https://github.com/vform666/variant-form3-vite",chatUrl:"https://www.vform666.com/pages/chat-group/",subScribeUrl:"https://www.vform666.com/pages/pro/",scrollerHeight:0,designer:createDesigner(this),fieldList:[]}},provide(){return{serverFieldList:this.fieldList,getDesignerConfig:()=>this.designerConfig,getBannedWidgets:()=>this.bannedWidgets}},created(){this.vsCodeFlag=getQueryParam("vscode")==1,this.caseName=getQueryParam("case")},mounted(){this.initLocale(),this.scrollerHeight=window.innerHeight-56-36+"px",addWindowResizeHandler(()=>{this.$nextTick(()=>{this.scrollerHeight=window.innerHeight-56-36+"px"})}),this.loadCase(),this.loadFieldListFromServer()},methods:{testEEH(t,h){console.log("test",t),console.log("test222222",h)},showLink(t){return this.designerConfig[t]===void 0?!0:!!this.designerConfig[t]},openHome(){if(this.vsCodeFlag){const t={cmd:"openUrl",data:{url:"https://www.vform666.com/"}};window.parent.postMessage(t,"*")}},openUrl(t,h){if(this.vsCodeFlag){const e={cmd:"openUrl",data:{url:h}};window.parent.postMessage(e,"*")}else{let e=t.currentTarget;e.href=h}},loadCase(){!this.caseName||axios.get(MOCK_CASE_URL+this.caseName+".txt").then(t=>{if(t.data.code){this.$message.error(this.i18nt("designer.hint.sampleLoadedFail"));return}this.setFormJson(t.data),this.$message.success(this.i18nt("designer.hint.sampleLoadedSuccess"))}).catch(t=>{this.$message.error(this.i18nt("designer.hint.sampleLoadedFail")+":"+t)})},initLocale(){this.curLocale=localStorage.getItem("v_form_locale"),this.vsCodeFlag?this.curLocale=this.curLocale||"en-US":this.curLocale=this.curLocale||"zh-CN",this.curLangName=this.i18nt("application."+this.curLocale),this.changeLanguage(this.curLocale)},loadFieldListFromServer(){if(!this.fieldListApi)return;let t=this.fieldListApi.headers||{};axios.get(this.fieldListApi.URL,{headers:t}).then(h=>{let e=this.fieldListApi.labelKey||"label",p=this.fieldListApi.nameKey||"name";this.fieldList.splice(0,this.fieldList.length),h.data.forEach(v=>{this.fieldList.push({label:v[e],name:v[p]})})}).catch(h=>{this.$message.error(h)})},handleLanguageChanged(t){this.changeLanguage(t),this.curLangName=this.i18nt("application."+t)},changeLanguage(t){changeLocale(t)},setFormJson(t){let h=!1;t&&(typeof t=="string"?h=this.designer.loadFormJson(JSON.parse(t)):t.constructor===Object&&(h=this.designer.loadFormJson(t)),h&&this.designer.emitHistoryChange())},getFormJson(){return{widgetList:deepClone(this.designer.widgetList),formConfig:deepClone(this.designer.formConfig)}},clearDesigner(){this.$refs.toolbarRef.clearFormWidget()},refreshDesigner(){let t=this.getFormJson();this.designer.clearDesigner(!0),this.designer.loadFormJson(t)},previewForm(){this.$refs.toolbarRef.previewForm()},importJson(){this.$refs.toolbarRef.importJson()},exportJson(){this.$refs.toolbarRef.exportJson()},exportCode(){this.$refs.toolbarRef.exportCode()},generateSFC(){this.$refs.toolbarRef.generateSFC()},getFieldWidgets(t=null){return getAllFieldWidgets(t||this.designer.widgetList)},getContainerWidgets(t=null){return getAllContainerWidgets(t||this.designer.widgetList)},upgradeFormJson(t){if(!t.widgetList||!t.formConfig){this.$message.error("Invalid form json!");return}return traverseAllWidgets(t.widgetList,h=>{this.designer.upgradeWidgetConfig(h)}),this.designer.upgradeFormConfig(t.formConfig),t},getWidgetRef(t,h=!1){return this.$refs.formRef.getWidgetRef(t,h)},getSelectedWidgetRef(){return this.$refs.formRef.getSelectedWidgetRef()}}};function _sfc_render$h(t,h,e,p,v,g){const d=vue.resolveComponent("widget-panel"),c=vue.resolveComponent("el-aside"),o=vue.resolveComponent("toolbar-panel"),a=vue.resolveComponent("el-header"),i=vue.resolveComponent("v-form-widget"),l=vue.resolveComponent("el-scrollbar"),n=vue.resolveComponent("el-main"),r=vue.resolveComponent("el-container"),s=vue.resolveComponent("setting-panel");return vue.openBlock(),vue.createBlock(r,{class:"main-container full-height"},{default:vue.withCtx(()=>[vue.createVNode(r,null,{default:vue.withCtx(()=>[vue.createVNode(c,{class:"side-panel"},{default:vue.withCtx(()=>[vue.createVNode(d,{designer:v.designer},null,8,["designer"])]),_:1}),vue.createVNode(r,{class:"center-layout-container"},{default:vue.withCtx(()=>[vue.createVNode(a,{class:"toolbar-header"},{default:vue.withCtx(()=>[vue.createVNode(o,{designer:v.designer,"global-dsv":e.globalDsv,ref:"toolbarRef"},vue.createSlots({_:2},[vue.renderList(t.$slots,(u,f)=>({name:f,fn:vue.withCtx(()=>[vue.renderSlot(t.$slots,f,{},void 0,!0)])}))]),1032,["designer","global-dsv"])]),_:3}),vue.createVNode(n,{class:"form-widget-main"},{default:vue.withCtx(()=>[vue.createVNode(l,{class:"container-scroll-bar",style:vue.normalizeStyle({height:v.scrollerHeight})},{default:vue.withCtx(()=>[vue.createVNode(i,{designer:v.designer,"form-config":v.designer.formConfig,"global-dsv":e.globalDsv,ref:"formRef"},null,8,["designer","form-config","global-dsv"])]),_:1},8,["style"])]),_:1})]),_:3}),vue.createVNode(c,null,{default:vue.withCtx(()=>[vue.createVNode(s,{designer:v.designer,"selected-widget":v.designer.selectedWidget,"form-config":v.designer.formConfig,"global-dsv":e.globalDsv,onEditEventHandler:g.testEEH},null,8,["designer","selected-widget","form-config","global-dsv","onEditEventHandler"])]),_:1})]),_:3})]),_:3})}var VFormDesigner=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h],["__scopeId","data-v-08bd1fe8"]]),vuedraggable_umd={exports:{}},require$$0=getDefaultExportFromNamespaceIfPresent(vue__namespace);(function(t,h){(function(p,v){t.exports=v(require$$0,require$$1__default.default)})(typeof self!="undefined"?self:commonjsGlobal,function(e,p){return function(v){var g={};function d(c){if(g[c])return g[c].exports;var o=g[c]={i:c,l:!1,exports:{}};return v[c].call(o.exports,o,o.exports,d),o.l=!0,o.exports}return d.m=v,d.c=g,d.d=function(c,o,a){d.o(c,o)||Object.defineProperty(c,o,{enumerable:!0,get:a})},d.r=function(c){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},d.t=function(c,o){if(o&1&&(c=d(c)),o&8||o&4&&typeof c=="object"&&c&&c.__esModule)return c;var a=Object.create(null);if(d.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:c}),o&2&&typeof c!="string")for(var i in c)d.d(a,i,function(l){return c[l]}.bind(null,i));return a},d.n=function(c){var o=c&&c.__esModule?function(){return c.default}:function(){return c};return d.d(o,"a",o),o},d.o=function(c,o){return Object.prototype.hasOwnProperty.call(c,o)},d.p="",d(d.s="fb15")}({"00ee":function(v,g,d){var c=d("b622"),o=c("toStringTag"),a={};a[o]="z",v.exports=String(a)==="[object z]"},"0366":function(v,g,d){var c=d("1c0b");v.exports=function(o,a,i){if(c(o),a===void 0)return o;switch(i){case 0:return function(){return o.call(a)};case 1:return function(l){return o.call(a,l)};case 2:return function(l,n){return o.call(a,l,n)};case 3:return function(l,n,r){return o.call(a,l,n,r)}}return function(){return o.apply(a,arguments)}}},"057f":function(v,g,d){var c=d("fc6a"),o=d("241c").f,a={}.toString,i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(n){try{return o(n)}catch{return i.slice()}};v.exports.f=function(r){return i&&a.call(r)=="[object Window]"?l(r):o(c(r))}},"06cf":function(v,g,d){var c=d("83ab"),o=d("d1e7"),a=d("5c6c"),i=d("fc6a"),l=d("c04e"),n=d("5135"),r=d("0cfb"),s=Object.getOwnPropertyDescriptor;g.f=c?s:function(f,m){if(f=i(f),m=l(m,!0),r)try{return s(f,m)}catch{}if(n(f,m))return a(!o.f.call(f,m),f[m])}},"0cfb":function(v,g,d){var c=d("83ab"),o=d("d039"),a=d("cc12");v.exports=!c&&!o(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(v,g,d){var c=d("23e7"),o=d("d58f").left,a=d("a640"),i=d("ae40"),l=a("reduce"),n=i("reduce",{1:0});c({target:"Array",proto:!0,forced:!l||!n},{reduce:function(s){return o(this,s,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(v,g,d){var c=d("c6b6"),o=d("9263");v.exports=function(a,i){var l=a.exec;if(typeof l=="function"){var n=l.call(a,i);if(typeof n!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return n}if(c(a)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return o.call(a,i)}},"159b":function(v,g,d){var c=d("da84"),o=d("fdbc"),a=d("17c2"),i=d("9112");for(var l in o){var n=c[l],r=n&&n.prototype;if(r&&r.forEach!==a)try{i(r,"forEach",a)}catch{r.forEach=a}}},"17c2":function(v,g,d){var c=d("b727").forEach,o=d("a640"),a=d("ae40"),i=o("forEach"),l=a("forEach");v.exports=!i||!l?function(r){return c(this,r,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(v,g,d){var c=d("d066");v.exports=c("document","documentElement")},"1c0b":function(v,g){v.exports=function(d){if(typeof d!="function")throw TypeError(String(d)+" is not a function");return d}},"1c7e":function(v,g,d){var c=d("b622"),o=c("iterator"),a=!1;try{var i=0,l={next:function(){return{done:!!i++}},return:function(){a=!0}};l[o]=function(){return this},Array.from(l,function(){throw 2})}catch{}v.exports=function(n,r){if(!r&&!a)return!1;var s=!1;try{var u={};u[o]=function(){return{next:function(){return{done:s=!0}}}},n(u)}catch{}return s}},"1d80":function(v,g){v.exports=function(d){if(d==null)throw TypeError("Can't call method on "+d);return d}},"1dde":function(v,g,d){var c=d("d039"),o=d("b622"),a=d("2d00"),i=o("species");v.exports=function(l){return a>=51||!c(function(){var n=[],r=n.constructor={};return r[i]=function(){return{foo:1}},n[l](Boolean).foo!==1})}},"23cb":function(v,g,d){var c=d("a691"),o=Math.max,a=Math.min;v.exports=function(i,l){var n=c(i);return n<0?o(n+l,0):a(n,l)}},"23e7":function(v,g,d){var c=d("da84"),o=d("06cf").f,a=d("9112"),i=d("6eeb"),l=d("ce4e"),n=d("e893"),r=d("94ca");v.exports=function(s,u){var f=s.target,m=s.global,b=s.stat,C,_,w,x,E,L;if(m?_=c:b?_=c[f]||l(f,{}):_=(c[f]||{}).prototype,_)for(w in u){if(E=u[w],s.noTargetGet?(L=o(_,w),x=L&&L.value):x=_[w],C=r(m?w:f+(b?".":"#")+w,s.forced),!C&&x!==void 0){if(typeof E==typeof x)continue;n(E,x)}(s.sham||x&&x.sham)&&a(E,"sham",!0),i(_,w,E,s)}}},"241c":function(v,g,d){var c=d("ca84"),o=d("7839"),a=o.concat("length","prototype");g.f=Object.getOwnPropertyNames||function(l){return c(l,a)}},"25f0":function(v,g,d){var c=d("6eeb"),o=d("825a"),a=d("d039"),i=d("ad6d"),l="toString",n=RegExp.prototype,r=n[l],s=a(function(){return r.call({source:"a",flags:"b"})!="/a/b"}),u=r.name!=l;(s||u)&&c(RegExp.prototype,l,function(){var m=o(this),b=String(m.source),C=m.flags,_=String(C===void 0&&m instanceof RegExp&&!("flags"in n)?i.call(m):C);return"/"+b+"/"+_},{unsafe:!0})},"2ca0":function(v,g,d){var c=d("23e7"),o=d("06cf").f,a=d("50c4"),i=d("5a34"),l=d("1d80"),n=d("ab13"),r=d("c430"),s="".startsWith,u=Math.min,f=n("startsWith"),m=!r&&!f&&!!function(){var b=o(String.prototype,"startsWith");return b&&!b.writable}();c({target:"String",proto:!0,forced:!m&&!f},{startsWith:function(C){var _=String(l(this));i(C);var w=a(u(arguments.length>1?arguments[1]:void 0,_.length)),x=String(C);return s?s.call(_,x,w):_.slice(w,w+x.length)===x}})},"2d00":function(v,g,d){var c=d("da84"),o=d("342f"),a=c.process,i=a&&a.versions,l=i&&i.v8,n,r;l?(n=l.split("."),r=n[0]+n[1]):o&&(n=o.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/),n&&(r=n[1]))),v.exports=r&&+r},"342f":function(v,g,d){var c=d("d066");v.exports=c("navigator","userAgent")||""},"35a1":function(v,g,d){var c=d("f5df"),o=d("3f8c"),a=d("b622"),i=a("iterator");v.exports=function(l){if(l!=null)return l[i]||l["@@iterator"]||o[c(l)]}},"37e8":function(v,g,d){var c=d("83ab"),o=d("9bf2"),a=d("825a"),i=d("df75");v.exports=c?Object.defineProperties:function(n,r){a(n);for(var s=i(r),u=s.length,f=0,m;u>f;)o.f(n,m=s[f++],r[m]);return n}},"3bbe":function(v,g,d){var c=d("861d");v.exports=function(o){if(!c(o)&&o!==null)throw TypeError("Can't set "+String(o)+" as a prototype");return o}},"3ca3":function(v,g,d){var c=d("6547").charAt,o=d("69f3"),a=d("7dd0"),i="String Iterator",l=o.set,n=o.getterFor(i);a(String,"String",function(r){l(this,{type:i,string:String(r),index:0})},function(){var s=n(this),u=s.string,f=s.index,m;return f>=u.length?{value:void 0,done:!0}:(m=c(u,f),s.index+=m.length,{value:m,done:!1})})},"3f8c":function(v,g){v.exports={}},"4160":function(v,g,d){var c=d("23e7"),o=d("17c2");c({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(v,g,d){var c=d("da84");v.exports=c},"44ad":function(v,g,d){var c=d("d039"),o=d("c6b6"),a="".split;v.exports=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(i){return o(i)=="String"?a.call(i,""):Object(i)}:Object},"44d2":function(v,g,d){var c=d("b622"),o=d("7c73"),a=d("9bf2"),i=c("unscopables"),l=Array.prototype;l[i]==null&&a.f(l,i,{configurable:!0,value:o(null)}),v.exports=function(n){l[i][n]=!0}},"44e7":function(v,g,d){var c=d("861d"),o=d("c6b6"),a=d("b622"),i=a("match");v.exports=function(l){var n;return c(l)&&((n=l[i])!==void 0?!!n:o(l)=="RegExp")}},"4930":function(v,g,d){var c=d("d039");v.exports=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())})},"4d64":function(v,g,d){var c=d("fc6a"),o=d("50c4"),a=d("23cb"),i=function(l){return function(n,r,s){var u=c(n),f=o(u.length),m=a(s,f),b;if(l&&r!=r){for(;f>m;)if(b=u[m++],b!=b)return!0}else for(;f>m;m++)if((l||m in u)&&u[m]===r)return l||m||0;return!l&&-1}};v.exports={includes:i(!0),indexOf:i(!1)}},"4de4":function(v,g,d){var c=d("23e7"),o=d("b727").filter,a=d("1dde"),i=d("ae40"),l=a("filter"),n=i("filter");c({target:"Array",proto:!0,forced:!l||!n},{filter:function(s){return o(this,s,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(v,g,d){var c=d("0366"),o=d("7b0b"),a=d("9bdd"),i=d("e95a"),l=d("50c4"),n=d("8418"),r=d("35a1");v.exports=function(u){var f=o(u),m=typeof this=="function"?this:Array,b=arguments.length,C=b>1?arguments[1]:void 0,_=C!==void 0,w=r(f),x=0,E,L,O,k,D,$;if(_&&(C=c(C,b>2?arguments[2]:void 0,2)),w!=null&&!(m==Array&&i(w)))for(k=w.call(f),D=k.next,L=new m;!(O=D.call(k)).done;x++)$=_?a(k,C,[O.value,x],!0):O.value,n(L,x,$);else for(E=l(f.length),L=new m(E);E>x;x++)$=_?C(f[x],x):f[x],n(L,x,$);return L.length=x,L}},"4fad":function(v,g,d){var c=d("23e7"),o=d("6f53").entries;c({target:"Object",stat:!0},{entries:function(i){return o(i)}})},"50c4":function(v,g,d){var c=d("a691"),o=Math.min;v.exports=function(a){return a>0?o(c(a),9007199254740991):0}},"5135":function(v,g){var d={}.hasOwnProperty;v.exports=function(c,o){return d.call(c,o)}},"5319":function(v,g,d){var c=d("d784"),o=d("825a"),a=d("7b0b"),i=d("50c4"),l=d("a691"),n=d("1d80"),r=d("8aa5"),s=d("14c3"),u=Math.max,f=Math.min,m=Math.floor,b=/\$([$&'`]|\d\d?|<[^>]*>)/g,C=/\$([$&'`]|\d\d?)/g,_=function(w){return w===void 0?w:String(w)};c("replace",2,function(w,x,E,L){var O=L.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,k=L.REPLACE_KEEPS_$0,D=O?"$":"$0";return[function(M,A){var F=n(this),I=M==null?void 0:M[w];return I!==void 0?I.call(M,F,A):x.call(String(F),M,A)},function(T,M){if(!O&&k||typeof M=="string"&&M.indexOf(D)===-1){var A=E(x,T,this,M);if(A.done)return A.value}var F=o(T),I=String(this),B=typeof M=="function";B||(M=String(M));var j=F.global;if(j){var P=F.unicode;F.lastIndex=0}for(var R=[];;){var z=s(F,I);if(z===null||(R.push(z),!j))break;var V=String(z[0]);V===""&&(F.lastIndex=r(I,i(F.lastIndex),P))}for(var U="",G=0,H=0;H<R.length;H++){z=R[H];for(var K=String(z[0]),Q=u(f(l(z.index),I.length),0),J=[],ee=1;ee<z.length;ee++)J.push(_(z[ee]));var ue=z.groups;if(B){var ye=[K].concat(J,Q,I);ue!==void 0&&ye.push(ue);var _e=String(M.apply(void 0,ye))}else _e=$(K,I,Q,J,ue,M);Q>=G&&(U+=I.slice(G,Q)+_e,G=Q+K.length)}return U+I.slice(G)}];function $(T,M,A,F,I,B){var j=A+T.length,P=F.length,R=C;return I!==void 0&&(I=a(I),R=b),x.call(B,R,function(z,V){var U;switch(V.charAt(0)){case"$":return"$";case"&":return T;case"`":return M.slice(0,A);case"'":return M.slice(j);case"<":U=I[V.slice(1,-1)];break;default:var G=+V;if(G===0)return z;if(G>P){var H=m(G/10);return H===0?z:H<=P?F[H-1]===void 0?V.charAt(1):F[H-1]+V.charAt(1):z}U=F[G-1]}return U===void 0?"":U})}})},"5692":function(v,g,d){var c=d("c430"),o=d("c6cd");(v.exports=function(a,i){return o[a]||(o[a]=i!==void 0?i:{})})("versions",[]).push({version:"3.6.5",mode:c?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(v,g,d){var c=d("d066"),o=d("241c"),a=d("7418"),i=d("825a");v.exports=c("Reflect","ownKeys")||function(n){var r=o.f(i(n)),s=a.f;return s?r.concat(s(n)):r}},"5a34":function(v,g,d){var c=d("44e7");v.exports=function(o){if(c(o))throw TypeError("The method doesn't accept regular expressions");return o}},"5c6c":function(v,g){v.exports=function(d,c){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:c}}},"5db7":function(v,g,d){var c=d("23e7"),o=d("a2bf"),a=d("7b0b"),i=d("50c4"),l=d("1c0b"),n=d("65f0");c({target:"Array",proto:!0},{flatMap:function(s){var u=a(this),f=i(u.length),m;return l(s),m=n(u,0),m.length=o(m,u,u,f,0,1,s,arguments.length>1?arguments[1]:void 0),m}})},"6547":function(v,g,d){var c=d("a691"),o=d("1d80"),a=function(i){return function(l,n){var r=String(o(l)),s=c(n),u=r.length,f,m;return s<0||s>=u?i?"":void 0:(f=r.charCodeAt(s),f<55296||f>56319||s+1===u||(m=r.charCodeAt(s+1))<56320||m>57343?i?r.charAt(s):f:i?r.slice(s,s+2):(f-55296<<10)+(m-56320)+65536)}};v.exports={codeAt:a(!1),charAt:a(!0)}},"65f0":function(v,g,d){var c=d("861d"),o=d("e8b5"),a=d("b622"),i=a("species");v.exports=function(l,n){var r;return o(l)&&(r=l.constructor,typeof r=="function"&&(r===Array||o(r.prototype))?r=void 0:c(r)&&(r=r[i],r===null&&(r=void 0))),new(r===void 0?Array:r)(n===0?0:n)}},"69f3":function(v,g,d){var c=d("7f9a"),o=d("da84"),a=d("861d"),i=d("9112"),l=d("5135"),n=d("f772"),r=d("d012"),s=o.WeakMap,u,f,m,b=function(O){return m(O)?f(O):u(O,{})},C=function(O){return function(k){var D;if(!a(k)||(D=f(k)).type!==O)throw TypeError("Incompatible receiver, "+O+" required");return D}};if(c){var _=new s,w=_.get,x=_.has,E=_.set;u=function(O,k){return E.call(_,O,k),k},f=function(O){return w.call(_,O)||{}},m=function(O){return x.call(_,O)}}else{var L=n("state");r[L]=!0,u=function(O,k){return i(O,L,k),k},f=function(O){return l(O,L)?O[L]:{}},m=function(O){return l(O,L)}}v.exports={set:u,get:f,has:m,enforce:b,getterFor:C}},"6eeb":function(v,g,d){var c=d("da84"),o=d("9112"),a=d("5135"),i=d("ce4e"),l=d("8925"),n=d("69f3"),r=n.get,s=n.enforce,u=String(String).split("String");(v.exports=function(f,m,b,C){var _=C?!!C.unsafe:!1,w=C?!!C.enumerable:!1,x=C?!!C.noTargetGet:!1;if(typeof b=="function"&&(typeof m=="string"&&!a(b,"name")&&o(b,"name",m),s(b).source=u.join(typeof m=="string"?m:"")),f===c){w?f[m]=b:i(m,b);return}else _?!x&&f[m]&&(w=!0):delete f[m];w?f[m]=b:o(f,m,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&r(this).source||l(this)})},"6f53":function(v,g,d){var c=d("83ab"),o=d("df75"),a=d("fc6a"),i=d("d1e7").f,l=function(n){return function(r){for(var s=a(r),u=o(s),f=u.length,m=0,b=[],C;f>m;)C=u[m++],(!c||i.call(s,C))&&b.push(n?[C,s[C]]:s[C]);return b}};v.exports={entries:l(!0),values:l(!1)}},"73d9":function(v,g,d){var c=d("44d2");c("flatMap")},"7418":function(v,g){g.f=Object.getOwnPropertySymbols},"746f":function(v,g,d){var c=d("428f"),o=d("5135"),a=d("e538"),i=d("9bf2").f;v.exports=function(l){var n=c.Symbol||(c.Symbol={});o(n,l)||i(n,l,{value:a.f(l)})}},"7839":function(v,g){v.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(v,g,d){var c=d("1d80");v.exports=function(o){return Object(c(o))}},"7c73":function(v,g,d){var c=d("825a"),o=d("37e8"),a=d("7839"),i=d("d012"),l=d("1be4"),n=d("cc12"),r=d("f772"),s=">",u="<",f="prototype",m="script",b=r("IE_PROTO"),C=function(){},_=function(O){return u+m+s+O+u+"/"+m+s},w=function(O){O.write(_("")),O.close();var k=O.parentWindow.Object;return O=null,k},x=function(){var O=n("iframe"),k="java"+m+":",D;return O.style.display="none",l.appendChild(O),O.src=String(k),D=O.contentWindow.document,D.open(),D.write(_("document.F=Object")),D.close(),D.F},E,L=function(){try{E=document.domain&&new ActiveXObject("htmlfile")}catch{}L=E?w(E):x();for(var O=a.length;O--;)delete L[f][a[O]];return L()};i[b]=!0,v.exports=Object.create||function(k,D){var $;return k!==null?(C[f]=c(k),$=new C,C[f]=null,$[b]=k):$=L(),D===void 0?$:o($,D)}},"7dd0":function(v,g,d){var c=d("23e7"),o=d("9ed3"),a=d("e163"),i=d("d2bb"),l=d("d44e"),n=d("9112"),r=d("6eeb"),s=d("b622"),u=d("c430"),f=d("3f8c"),m=d("ae93"),b=m.IteratorPrototype,C=m.BUGGY_SAFARI_ITERATORS,_=s("iterator"),w="keys",x="values",E="entries",L=function(){return this};v.exports=function(O,k,D,$,T,M,A){o(D,k,$);var F=function(H){if(H===T&&R)return R;if(!C&&H in j)return j[H];switch(H){case w:return function(){return new D(this,H)};case x:return function(){return new D(this,H)};case E:return function(){return new D(this,H)}}return function(){return new D(this)}},I=k+" Iterator",B=!1,j=O.prototype,P=j[_]||j["@@iterator"]||T&&j[T],R=!C&&P||F(T),z=k=="Array"&&j.entries||P,V,U,G;if(z&&(V=a(z.call(new O)),b!==Object.prototype&&V.next&&(!u&&a(V)!==b&&(i?i(V,b):typeof V[_]!="function"&&n(V,_,L)),l(V,I,!0,!0),u&&(f[I]=L))),T==x&&P&&P.name!==x&&(B=!0,R=function(){return P.call(this)}),(!u||A)&&j[_]!==R&&n(j,_,R),f[k]=R,T)if(U={values:F(x),keys:M?R:F(w),entries:F(E)},A)for(G in U)(C||B||!(G in j))&&r(j,G,U[G]);else c({target:k,proto:!0,forced:C||B},U);return U}},"7f9a":function(v,g,d){var c=d("da84"),o=d("8925"),a=c.WeakMap;v.exports=typeof a=="function"&&/native code/.test(o(a))},"825a":function(v,g,d){var c=d("861d");v.exports=function(o){if(!c(o))throw TypeError(String(o)+" is not an object");return o}},"83ab":function(v,g,d){var c=d("d039");v.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"8418":function(v,g,d){var c=d("c04e"),o=d("9bf2"),a=d("5c6c");v.exports=function(i,l,n){var r=c(l);r in i?o.f(i,r,a(0,n)):i[r]=n}},"861d":function(v,g){v.exports=function(d){return typeof d=="object"?d!==null:typeof d=="function"}},"8875":function(v,g,d){var c,o,a;(function(i,l){o=[],c=l,a=typeof c=="function"?c.apply(g,o):c,a!==void 0&&(v.exports=a)})(typeof self!="undefined"?self:this,function(){function i(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==i&&document.currentScript)return document.currentScript;try{throw new Error}catch(E){var n=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,r=/@([^@]*):(\d+):(\d+)\s*$/ig,s=n.exec(E.stack)||r.exec(E.stack),u=s&&s[1]||!1,f=s&&s[2]||!1,m=document.location.href.replace(document.location.hash,""),b,C,_,w=document.getElementsByTagName("script");u===m&&(b=document.documentElement.outerHTML,C=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),_=b.replace(C,"$1").trim());for(var x=0;x<w.length;x++)if(w[x].readyState==="interactive"||w[x].src===u||u===m&&w[x].innerHTML&&w[x].innerHTML.trim()===_)return w[x];return null}}return i})},"8925":function(v,g,d){var c=d("c6cd"),o=Function.toString;typeof c.inspectSource!="function"&&(c.inspectSource=function(a){return o.call(a)}),v.exports=c.inspectSource},"8aa5":function(v,g,d){var c=d("6547").charAt;v.exports=function(o,a,i){return a+(i?c(o,a).length:1)}},"8bbf":function(v,g){v.exports=e},"90e3":function(v,g){var d=0,c=Math.random();v.exports=function(o){return"Symbol("+String(o===void 0?"":o)+")_"+(++d+c).toString(36)}},"9112":function(v,g,d){var c=d("83ab"),o=d("9bf2"),a=d("5c6c");v.exports=c?function(i,l,n){return o.f(i,l,a(1,n))}:function(i,l,n){return i[l]=n,i}},"9263":function(v,g,d){var c=d("ad6d"),o=d("9f7f"),a=RegExp.prototype.exec,i=String.prototype.replace,l=a,n=function(){var f=/a/,m=/b*/g;return a.call(f,"a"),a.call(m,"a"),f.lastIndex!==0||m.lastIndex!==0}(),r=o.UNSUPPORTED_Y||o.BROKEN_CARET,s=/()??/.exec("")[1]!==void 0,u=n||s||r;u&&(l=function(m){var b=this,C,_,w,x,E=r&&b.sticky,L=c.call(b),O=b.source,k=0,D=m;return E&&(L=L.replace("y",""),L.indexOf("g")===-1&&(L+="g"),D=String(m).slice(b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&m[b.lastIndex-1]!==`
1678
1678
  `)&&(O="(?: "+O+")",D=" "+D,k++),_=new RegExp("^(?:"+O+")",L)),s&&(_=new RegExp("^"+O+"$(?!\\s)",L)),n&&(C=b.lastIndex),w=a.call(E?_:b,D),E?w?(w.input=w.input.slice(k),w[0]=w[0].slice(k),w.index=b.lastIndex,b.lastIndex+=w[0].length):b.lastIndex=0:n&&w&&(b.lastIndex=b.global?w.index+w[0].length:C),s&&w&&w.length>1&&i.call(w[0],_,function(){for(x=1;x<arguments.length-2;x++)arguments[x]===void 0&&(w[x]=void 0)}),w}),v.exports=l},"94ca":function(v,g,d){var c=d("d039"),o=/#|\.prototype\./,a=function(s,u){var f=l[i(s)];return f==r?!0:f==n?!1:typeof u=="function"?c(u):!!u},i=a.normalize=function(s){return String(s).replace(o,".").toLowerCase()},l=a.data={},n=a.NATIVE="N",r=a.POLYFILL="P";v.exports=a},"99af":function(v,g,d){var c=d("23e7"),o=d("d039"),a=d("e8b5"),i=d("861d"),l=d("7b0b"),n=d("50c4"),r=d("8418"),s=d("65f0"),u=d("1dde"),f=d("b622"),m=d("2d00"),b=f("isConcatSpreadable"),C=9007199254740991,_="Maximum allowed index exceeded",w=m>=51||!o(function(){var O=[];return O[b]=!1,O.concat()[0]!==O}),x=u("concat"),E=function(O){if(!i(O))return!1;var k=O[b];return k!==void 0?!!k:a(O)},L=!w||!x;c({target:"Array",proto:!0,forced:L},{concat:function(k){var D=l(this),$=s(D,0),T=0,M,A,F,I,B;for(M=-1,F=arguments.length;M<F;M++)if(B=M===-1?D:arguments[M],E(B)){if(I=n(B.length),T+I>C)throw TypeError(_);for(A=0;A<I;A++,T++)A in B&&r($,T,B[A])}else{if(T>=C)throw TypeError(_);r($,T++,B)}return $.length=T,$}})},"9bdd":function(v,g,d){var c=d("825a");v.exports=function(o,a,i,l){try{return l?a(c(i)[0],i[1]):a(i)}catch(r){var n=o.return;throw n!==void 0&&c(n.call(o)),r}}},"9bf2":function(v,g,d){var c=d("83ab"),o=d("0cfb"),a=d("825a"),i=d("c04e"),l=Object.defineProperty;g.f=c?l:function(r,s,u){if(a(r),s=i(s,!0),a(u),o)try{return l(r,s,u)}catch{}if("get"in u||"set"in u)throw TypeError("Accessors not supported");return"value"in u&&(r[s]=u.value),r}},"9ed3":function(v,g,d){var c=d("ae93").IteratorPrototype,o=d("7c73"),a=d("5c6c"),i=d("d44e"),l=d("3f8c"),n=function(){return this};v.exports=function(r,s,u){var f=s+" Iterator";return r.prototype=o(c,{next:a(1,u)}),i(r,f,!1,!0),l[f]=n,r}},"9f7f":function(v,g,d){var c=d("d039");function o(a,i){return RegExp(a,i)}g.UNSUPPORTED_Y=c(function(){var a=o("a","y");return a.lastIndex=2,a.exec("abcd")!=null}),g.BROKEN_CARET=c(function(){var a=o("^r","gy");return a.lastIndex=2,a.exec("str")!=null})},a2bf:function(v,g,d){var c=d("e8b5"),o=d("50c4"),a=d("0366"),i=function(l,n,r,s,u,f,m,b){for(var C=u,_=0,w=m?a(m,b,3):!1,x;_<s;){if(_ in r){if(x=w?w(r[_],_,n):r[_],f>0&&c(x))C=i(l,n,x,o(x.length),C,f-1)-1;else{if(C>=9007199254740991)throw TypeError("Exceed the acceptable array length");l[C]=x}C++}_++}return C};v.exports=i},a352:function(v,g){v.exports=p},a434:function(v,g,d){var c=d("23e7"),o=d("23cb"),a=d("a691"),i=d("50c4"),l=d("7b0b"),n=d("65f0"),r=d("8418"),s=d("1dde"),u=d("ae40"),f=s("splice"),m=u("splice",{ACCESSORS:!0,0:0,1:2}),b=Math.max,C=Math.min,_=9007199254740991,w="Maximum allowed length exceeded";c({target:"Array",proto:!0,forced:!f||!m},{splice:function(E,L){var O=l(this),k=i(O.length),D=o(E,k),$=arguments.length,T,M,A,F,I,B;if($===0?T=M=0:$===1?(T=0,M=k-D):(T=$-2,M=C(b(a(L),0),k-D)),k+T-M>_)throw TypeError(w);for(A=n(O,M),F=0;F<M;F++)I=D+F,I in O&&r(A,F,O[I]);if(A.length=M,T<M){for(F=D;F<k-M;F++)I=F+M,B=F+T,I in O?O[B]=O[I]:delete O[B];for(F=k;F>k-M+T;F--)delete O[F-1]}else if(T>M)for(F=k-M;F>D;F--)I=F+M-1,B=F+T-1,I in O?O[B]=O[I]:delete O[B];for(F=0;F<T;F++)O[F+D]=arguments[F+2];return O.length=k-M+T,A}})},a4d3:function(v,g,d){var c=d("23e7"),o=d("da84"),a=d("d066"),i=d("c430"),l=d("83ab"),n=d("4930"),r=d("fdbf"),s=d("d039"),u=d("5135"),f=d("e8b5"),m=d("861d"),b=d("825a"),C=d("7b0b"),_=d("fc6a"),w=d("c04e"),x=d("5c6c"),E=d("7c73"),L=d("df75"),O=d("241c"),k=d("057f"),D=d("7418"),$=d("06cf"),T=d("9bf2"),M=d("d1e7"),A=d("9112"),F=d("6eeb"),I=d("5692"),B=d("f772"),j=d("d012"),P=d("90e3"),R=d("b622"),z=d("e538"),V=d("746f"),U=d("d44e"),G=d("69f3"),H=d("b727").forEach,K=B("hidden"),Q="Symbol",J="prototype",ee=R("toPrimitive"),ue=G.set,ye=G.getterFor(Q),_e=Object[J],xe=o.Symbol,Ce=a("JSON","stringify"),Ve=$.f,Re=T.f,ae=k.f,de=M.f,be=I("symbols"),ve=I("op-symbols"),fe=I("string-to-symbol-registry"),Ae=I("symbol-to-string-registry"),Le=I("wks"),Oe=o.QObject,nt=!Oe||!Oe[J]||!Oe[J].findChild,it=l&&s(function(){return E(Re({},"a",{get:function(){return Re(this,"a",{value:7}).a}})).a!=7})?function(De,ke,Te){var ze=Ve(_e,ke);ze&&delete _e[ke],Re(De,ke,Te),ze&&De!==_e&&Re(_e,ke,ze)}:Re,Ye=function(De,ke){var Te=be[De]=E(xe[J]);return ue(Te,{type:Q,tag:De,description:ke}),l||(Te.description=ke),Te},re=r?function(De){return typeof De=="symbol"}:function(De){return Object(De)instanceof xe},ne=function(ke,Te,ze){ke===_e&&ne(ve,Te,ze),b(ke);var Ue=w(Te,!0);return b(ze),u(be,Ue)?(ze.enumerable?(u(ke,K)&&ke[K][Ue]&&(ke[K][Ue]=!1),ze=E(ze,{enumerable:x(0,!1)})):(u(ke,K)||Re(ke,K,x(1,{})),ke[K][Ue]=!0),it(ke,Ue,ze)):Re(ke,Ue,ze)},se=function(ke,Te){b(ke);var ze=_(Te),Ue=L(ze).concat(Ke(ze));return H(Ue,function(vt){(!l||Se.call(ze,vt))&&ne(ke,vt,ze[vt])}),ke},ge=function(ke,Te){return Te===void 0?E(ke):se(E(ke),Te)},Se=function(ke){var Te=w(ke,!0),ze=de.call(this,Te);return this===_e&&u(be,Te)&&!u(ve,Te)?!1:ze||!u(this,Te)||!u(be,Te)||u(this,K)&&this[K][Te]?ze:!0},$e=function(ke,Te){var ze=_(ke),Ue=w(Te,!0);if(!(ze===_e&&u(be,Ue)&&!u(ve,Ue))){var vt=Ve(ze,Ue);return vt&&u(be,Ue)&&!(u(ze,K)&&ze[K][Ue])&&(vt.enumerable=!0),vt}},Be=function(ke){var Te=ae(_(ke)),ze=[];return H(Te,function(Ue){!u(be,Ue)&&!u(j,Ue)&&ze.push(Ue)}),ze},Ke=function(ke){var Te=ke===_e,ze=ae(Te?ve:_(ke)),Ue=[];return H(ze,function(vt){u(be,vt)&&(!Te||u(_e,vt))&&Ue.push(be[vt])}),Ue};if(n||(xe=function(){if(this instanceof xe)throw TypeError("Symbol is not a constructor");var ke=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Te=P(ke),ze=function(Ue){this===_e&&ze.call(ve,Ue),u(this,K)&&u(this[K],Te)&&(this[K][Te]=!1),it(this,Te,x(1,Ue))};return l&&nt&&it(_e,Te,{configurable:!0,set:ze}),Ye(Te,ke)},F(xe[J],"toString",function(){return ye(this).tag}),F(xe,"withoutSetter",function(De){return Ye(P(De),De)}),M.f=Se,T.f=ne,$.f=$e,O.f=k.f=Be,D.f=Ke,z.f=function(De){return Ye(R(De),De)},l&&(Re(xe[J],"description",{configurable:!0,get:function(){return ye(this).description}}),i||F(_e,"propertyIsEnumerable",Se,{unsafe:!0}))),c({global:!0,wrap:!0,forced:!n,sham:!n},{Symbol:xe}),H(L(Le),function(De){V(De)}),c({target:Q,stat:!0,forced:!n},{for:function(De){var ke=String(De);if(u(fe,ke))return fe[ke];var Te=xe(ke);return fe[ke]=Te,Ae[Te]=ke,Te},keyFor:function(ke){if(!re(ke))throw TypeError(ke+" is not a symbol");if(u(Ae,ke))return Ae[ke]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),c({target:"Object",stat:!0,forced:!n,sham:!l},{create:ge,defineProperty:ne,defineProperties:se,getOwnPropertyDescriptor:$e}),c({target:"Object",stat:!0,forced:!n},{getOwnPropertyNames:Be,getOwnPropertySymbols:Ke}),c({target:"Object",stat:!0,forced:s(function(){D.f(1)})},{getOwnPropertySymbols:function(ke){return D.f(C(ke))}}),Ce){var ot=!n||s(function(){var De=xe();return Ce([De])!="[null]"||Ce({a:De})!="{}"||Ce(Object(De))!="{}"});c({target:"JSON",stat:!0,forced:ot},{stringify:function(ke,Te,ze){for(var Ue=[ke],vt=1,xn;arguments.length>vt;)Ue.push(arguments[vt++]);if(xn=Te,!(!m(Te)&&ke===void 0||re(ke)))return f(Te)||(Te=function(Gn,tn){if(typeof xn=="function"&&(tn=xn.call(this,Gn,tn)),!re(tn))return tn}),Ue[1]=Te,Ce.apply(null,Ue)}})}xe[J][ee]||A(xe[J],ee,xe[J].valueOf),U(xe,Q),j[K]=!0},a630:function(v,g,d){var c=d("23e7"),o=d("4df4"),a=d("1c7e"),i=!a(function(l){Array.from(l)});c({target:"Array",stat:!0,forced:i},{from:o})},a640:function(v,g,d){var c=d("d039");v.exports=function(o,a){var i=[][o];return!!i&&c(function(){i.call(null,a||function(){throw 1},1)})}},a691:function(v,g){var d=Math.ceil,c=Math.floor;v.exports=function(o){return isNaN(o=+o)?0:(o>0?c:d)(o)}},ab13:function(v,g,d){var c=d("b622"),o=c("match");v.exports=function(a){var i=/./;try{"/./"[a](i)}catch{try{return i[o]=!1,"/./"[a](i)}catch{}}return!1}},ac1f:function(v,g,d){var c=d("23e7"),o=d("9263");c({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(v,g,d){var c=d("825a");v.exports=function(){var o=c(this),a="";return o.global&&(a+="g"),o.ignoreCase&&(a+="i"),o.multiline&&(a+="m"),o.dotAll&&(a+="s"),o.unicode&&(a+="u"),o.sticky&&(a+="y"),a}},ae40:function(v,g,d){var c=d("83ab"),o=d("d039"),a=d("5135"),i=Object.defineProperty,l={},n=function(r){throw r};v.exports=function(r,s){if(a(l,r))return l[r];s||(s={});var u=[][r],f=a(s,"ACCESSORS")?s.ACCESSORS:!1,m=a(s,0)?s[0]:n,b=a(s,1)?s[1]:void 0;return l[r]=!!u&&!o(function(){if(f&&!c)return!0;var C={length:-1};f?i(C,1,{enumerable:!0,get:n}):C[1]=1,u.call(C,m,b)})}},ae93:function(v,g,d){var c=d("e163"),o=d("9112"),a=d("5135"),i=d("b622"),l=d("c430"),n=i("iterator"),r=!1,s=function(){return this},u,f,m;[].keys&&(m=[].keys(),"next"in m?(f=c(c(m)),f!==Object.prototype&&(u=f)):r=!0),u==null&&(u={}),!l&&!a(u,n)&&o(u,n,s),v.exports={IteratorPrototype:u,BUGGY_SAFARI_ITERATORS:r}},b041:function(v,g,d){var c=d("00ee"),o=d("f5df");v.exports=c?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(v,g,d){var c=d("83ab"),o=d("9bf2").f,a=Function.prototype,i=a.toString,l=/^\s*function ([^ (]*)/,n="name";c&&!(n in a)&&o(a,n,{configurable:!0,get:function(){try{return i.call(this).match(l)[1]}catch{return""}}})},b622:function(v,g,d){var c=d("da84"),o=d("5692"),a=d("5135"),i=d("90e3"),l=d("4930"),n=d("fdbf"),r=o("wks"),s=c.Symbol,u=n?s:s&&s.withoutSetter||i;v.exports=function(f){return a(r,f)||(l&&a(s,f)?r[f]=s[f]:r[f]=u("Symbol."+f)),r[f]}},b64b:function(v,g,d){var c=d("23e7"),o=d("7b0b"),a=d("df75"),i=d("d039"),l=i(function(){a(1)});c({target:"Object",stat:!0,forced:l},{keys:function(r){return a(o(r))}})},b727:function(v,g,d){var c=d("0366"),o=d("44ad"),a=d("7b0b"),i=d("50c4"),l=d("65f0"),n=[].push,r=function(s){var u=s==1,f=s==2,m=s==3,b=s==4,C=s==6,_=s==5||C;return function(w,x,E,L){for(var O=a(w),k=o(O),D=c(x,E,3),$=i(k.length),T=0,M=L||l,A=u?M(w,$):f?M(w,0):void 0,F,I;$>T;T++)if((_||T in k)&&(F=k[T],I=D(F,T,O),s)){if(u)A[T]=I;else if(I)switch(s){case 3:return!0;case 5:return F;case 6:return T;case 2:n.call(A,F)}else if(b)return!1}return C?-1:m||b?b:A}};v.exports={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6)}},c04e:function(v,g,d){var c=d("861d");v.exports=function(o,a){if(!c(o))return o;var i,l;if(a&&typeof(i=o.toString)=="function"&&!c(l=i.call(o))||typeof(i=o.valueOf)=="function"&&!c(l=i.call(o))||!a&&typeof(i=o.toString)=="function"&&!c(l=i.call(o)))return l;throw TypeError("Can't convert object to primitive value")}},c430:function(v,g){v.exports=!1},c6b6:function(v,g){var d={}.toString;v.exports=function(c){return d.call(c).slice(8,-1)}},c6cd:function(v,g,d){var c=d("da84"),o=d("ce4e"),a="__core-js_shared__",i=c[a]||o(a,{});v.exports=i},c740:function(v,g,d){var c=d("23e7"),o=d("b727").findIndex,a=d("44d2"),i=d("ae40"),l="findIndex",n=!0,r=i(l);l in[]&&Array(1)[l](function(){n=!1}),c({target:"Array",proto:!0,forced:n||!r},{findIndex:function(u){return o(this,u,arguments.length>1?arguments[1]:void 0)}}),a(l)},c8ba:function(v,g){var d;d=function(){return this}();try{d=d||new Function("return this")()}catch{typeof window=="object"&&(d=window)}v.exports=d},c975:function(v,g,d){var c=d("23e7"),o=d("4d64").indexOf,a=d("a640"),i=d("ae40"),l=[].indexOf,n=!!l&&1/[1].indexOf(1,-0)<0,r=a("indexOf"),s=i("indexOf",{ACCESSORS:!0,1:0});c({target:"Array",proto:!0,forced:n||!r||!s},{indexOf:function(f){return n?l.apply(this,arguments)||0:o(this,f,arguments.length>1?arguments[1]:void 0)}})},ca84:function(v,g,d){var c=d("5135"),o=d("fc6a"),a=d("4d64").indexOf,i=d("d012");v.exports=function(l,n){var r=o(l),s=0,u=[],f;for(f in r)!c(i,f)&&c(r,f)&&u.push(f);for(;n.length>s;)c(r,f=n[s++])&&(~a(u,f)||u.push(f));return u}},caad:function(v,g,d){var c=d("23e7"),o=d("4d64").includes,a=d("44d2"),i=d("ae40"),l=i("indexOf",{ACCESSORS:!0,1:0});c({target:"Array",proto:!0,forced:!l},{includes:function(r){return o(this,r,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cc12:function(v,g,d){var c=d("da84"),o=d("861d"),a=c.document,i=o(a)&&o(a.createElement);v.exports=function(l){return i?a.createElement(l):{}}},ce4e:function(v,g,d){var c=d("da84"),o=d("9112");v.exports=function(a,i){try{o(c,a,i)}catch{c[a]=i}return i}},d012:function(v,g){v.exports={}},d039:function(v,g){v.exports=function(d){try{return!!d()}catch{return!0}}},d066:function(v,g,d){var c=d("428f"),o=d("da84"),a=function(i){return typeof i=="function"?i:void 0};v.exports=function(i,l){return arguments.length<2?a(c[i])||a(o[i]):c[i]&&c[i][l]||o[i]&&o[i][l]}},d1e7:function(v,g,d){var c={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!c.call({1:2},1);g.f=a?function(l){var n=o(this,l);return!!n&&n.enumerable}:c},d28b:function(v,g,d){var c=d("746f");c("iterator")},d2bb:function(v,g,d){var c=d("825a"),o=d("3bbe");v.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a=!1,i={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(i,[]),a=i instanceof Array}catch{}return function(r,s){return c(r),o(s),a?l.call(r,s):r.__proto__=s,r}}():void 0)},d3b7:function(v,g,d){var c=d("00ee"),o=d("6eeb"),a=d("b041");c||o(Object.prototype,"toString",a,{unsafe:!0})},d44e:function(v,g,d){var c=d("9bf2").f,o=d("5135"),a=d("b622"),i=a("toStringTag");v.exports=function(l,n,r){l&&!o(l=r?l:l.prototype,i)&&c(l,i,{configurable:!0,value:n})}},d58f:function(v,g,d){var c=d("1c0b"),o=d("7b0b"),a=d("44ad"),i=d("50c4"),l=function(n){return function(r,s,u,f){c(s);var m=o(r),b=a(m),C=i(m.length),_=n?C-1:0,w=n?-1:1;if(u<2)for(;;){if(_ in b){f=b[_],_+=w;break}if(_+=w,n?_<0:C<=_)throw TypeError("Reduce of empty array with no initial value")}for(;n?_>=0:C>_;_+=w)_ in b&&(f=s(f,b[_],_,m));return f}};v.exports={left:l(!1),right:l(!0)}},d784:function(v,g,d){d("ac1f");var c=d("6eeb"),o=d("d039"),a=d("b622"),i=d("9263"),l=d("9112"),n=a("species"),r=!o(function(){var b=/./;return b.exec=function(){var C=[];return C.groups={a:"7"},C},"".replace(b,"$<a>")!=="7"}),s=function(){return"a".replace(/./,"$0")==="$0"}(),u=a("replace"),f=function(){return/./[u]?/./[u]("a","$0")==="":!1}(),m=!o(function(){var b=/(?:)/,C=b.exec;b.exec=function(){return C.apply(this,arguments)};var _="ab".split(b);return _.length!==2||_[0]!=="a"||_[1]!=="b"});v.exports=function(b,C,_,w){var x=a(b),E=!o(function(){var T={};return T[x]=function(){return 7},""[b](T)!=7}),L=E&&!o(function(){var T=!1,M=/a/;return b==="split"&&(M={},M.constructor={},M.constructor[n]=function(){return M},M.flags="",M[x]=/./[x]),M.exec=function(){return T=!0,null},M[x](""),!T});if(!E||!L||b==="replace"&&!(r&&s&&!f)||b==="split"&&!m){var O=/./[x],k=_(x,""[b],function(T,M,A,F,I){return M.exec===i?E&&!I?{done:!0,value:O.call(M,A,F)}:{done:!0,value:T.call(A,M,F)}:{done:!1}},{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),D=k[0],$=k[1];c(String.prototype,b,D),c(RegExp.prototype,x,C==2?function(T,M){return $.call(T,this,M)}:function(T){return $.call(T,this)})}w&&l(RegExp.prototype[x],"sham",!0)}},d81d:function(v,g,d){var c=d("23e7"),o=d("b727").map,a=d("1dde"),i=d("ae40"),l=a("map"),n=i("map");c({target:"Array",proto:!0,forced:!l||!n},{map:function(s){return o(this,s,arguments.length>1?arguments[1]:void 0)}})},da84:function(v,g,d){(function(c){var o=function(a){return a&&a.Math==Math&&a};v.exports=o(typeof globalThis=="object"&&globalThis)||o(typeof window=="object"&&window)||o(typeof self=="object"&&self)||o(typeof c=="object"&&c)||Function("return this")()}).call(this,d("c8ba"))},dbb4:function(v,g,d){var c=d("23e7"),o=d("83ab"),a=d("56ef"),i=d("fc6a"),l=d("06cf"),n=d("8418");c({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(s){for(var u=i(s),f=l.f,m=a(u),b={},C=0,_,w;m.length>C;)w=f(u,_=m[C++]),w!==void 0&&n(b,_,w);return b}})},dbf1:function(v,g,d){(function(c){d.d(g,"a",function(){return a});function o(){return typeof window!="undefined"?window.console:c.console}var a=o()}).call(this,d("c8ba"))},ddb0:function(v,g,d){var c=d("da84"),o=d("fdbc"),a=d("e260"),i=d("9112"),l=d("b622"),n=l("iterator"),r=l("toStringTag"),s=a.values;for(var u in o){var f=c[u],m=f&&f.prototype;if(m){if(m[n]!==s)try{i(m,n,s)}catch{m[n]=s}if(m[r]||i(m,r,u),o[u]){for(var b in a)if(m[b]!==a[b])try{i(m,b,a[b])}catch{m[b]=a[b]}}}}},df75:function(v,g,d){var c=d("ca84"),o=d("7839");v.exports=Object.keys||function(i){return c(i,o)}},e01a:function(v,g,d){var c=d("23e7"),o=d("83ab"),a=d("da84"),i=d("5135"),l=d("861d"),n=d("9bf2").f,r=d("e893"),s=a.Symbol;if(o&&typeof s=="function"&&(!("description"in s.prototype)||s().description!==void 0)){var u={},f=function(){var x=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),E=this instanceof f?new s(x):x===void 0?s():s(x);return x===""&&(u[E]=!0),E};r(f,s);var m=f.prototype=s.prototype;m.constructor=f;var b=m.toString,C=String(s("test"))=="Symbol(test)",_=/^Symbol\((.*)\)[^)]+$/;n(m,"description",{configurable:!0,get:function(){var x=l(this)?this.valueOf():this,E=b.call(x);if(i(u,x))return"";var L=C?E.slice(7,-1):E.replace(_,"$1");return L===""?void 0:L}}),c({global:!0,forced:!0},{Symbol:f})}},e163:function(v,g,d){var c=d("5135"),o=d("7b0b"),a=d("f772"),i=d("e177"),l=a("IE_PROTO"),n=Object.prototype;v.exports=i?Object.getPrototypeOf:function(r){return r=o(r),c(r,l)?r[l]:typeof r.constructor=="function"&&r instanceof r.constructor?r.constructor.prototype:r instanceof Object?n:null}},e177:function(v,g,d){var c=d("d039");v.exports=!c(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},e260:function(v,g,d){var c=d("fc6a"),o=d("44d2"),a=d("3f8c"),i=d("69f3"),l=d("7dd0"),n="Array Iterator",r=i.set,s=i.getterFor(n);v.exports=l(Array,"Array",function(u,f){r(this,{type:n,target:c(u),index:0,kind:f})},function(){var u=s(this),f=u.target,m=u.kind,b=u.index++;return!f||b>=f.length?(u.target=void 0,{value:void 0,done:!0}):m=="keys"?{value:b,done:!1}:m=="values"?{value:f[b],done:!1}:{value:[b,f[b]],done:!1}},"values"),a.Arguments=a.Array,o("keys"),o("values"),o("entries")},e439:function(v,g,d){var c=d("23e7"),o=d("d039"),a=d("fc6a"),i=d("06cf").f,l=d("83ab"),n=o(function(){i(1)}),r=!l||n;c({target:"Object",stat:!0,forced:r,sham:!l},{getOwnPropertyDescriptor:function(u,f){return i(a(u),f)}})},e538:function(v,g,d){var c=d("b622");g.f=c},e893:function(v,g,d){var c=d("5135"),o=d("56ef"),a=d("06cf"),i=d("9bf2");v.exports=function(l,n){for(var r=o(n),s=i.f,u=a.f,f=0;f<r.length;f++){var m=r[f];c(l,m)||s(l,m,u(n,m))}}},e8b5:function(v,g,d){var c=d("c6b6");v.exports=Array.isArray||function(a){return c(a)=="Array"}},e95a:function(v,g,d){var c=d("b622"),o=d("3f8c"),a=c("iterator"),i=Array.prototype;v.exports=function(l){return l!==void 0&&(o.Array===l||i[a]===l)}},f5df:function(v,g,d){var c=d("00ee"),o=d("c6b6"),a=d("b622"),i=a("toStringTag"),l=o(function(){return arguments}())=="Arguments",n=function(r,s){try{return r[s]}catch{}};v.exports=c?o:function(r){var s,u,f;return r===void 0?"Undefined":r===null?"Null":typeof(u=n(s=Object(r),i))=="string"?u:l?o(s):(f=o(s))=="Object"&&typeof s.callee=="function"?"Arguments":f}},f772:function(v,g,d){var c=d("5692"),o=d("90e3"),a=c("keys");v.exports=function(i){return a[i]||(a[i]=o(i))}},fb15:function(v,g,d){if(d.r(g),typeof window!="undefined"){var c=window.document.currentScript;{var o=d("8875");c=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var a=c&&c.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(d.p=a[1])}d("99af"),d("4de4"),d("4160"),d("c975"),d("d81d"),d("a434"),d("159b"),d("a4d3"),d("e439"),d("dbb4"),d("b64b");function i(re,ne,se){return ne in re?Object.defineProperty(re,ne,{value:se,enumerable:!0,configurable:!0,writable:!0}):re[ne]=se,re}function l(re,ne){var se=Object.keys(re);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(re);ne&&(ge=ge.filter(function(Se){return Object.getOwnPropertyDescriptor(re,Se).enumerable})),se.push.apply(se,ge)}return se}function n(re){for(var ne=1;ne<arguments.length;ne++){var se=arguments[ne]!=null?arguments[ne]:{};ne%2?l(Object(se),!0).forEach(function(ge){i(re,ge,se[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(re,Object.getOwnPropertyDescriptors(se)):l(Object(se)).forEach(function(ge){Object.defineProperty(re,ge,Object.getOwnPropertyDescriptor(se,ge))})}return re}function r(re){if(Array.isArray(re))return re}d("e01a"),d("d28b"),d("e260"),d("d3b7"),d("3ca3"),d("ddb0");function s(re,ne){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(re)))){var se=[],ge=!0,Se=!1,$e=void 0;try{for(var Be=re[Symbol.iterator](),Ke;!(ge=(Ke=Be.next()).done)&&(se.push(Ke.value),!(ne&&se.length===ne));ge=!0);}catch(ot){Se=!0,$e=ot}finally{try{!ge&&Be.return!=null&&Be.return()}finally{if(Se)throw $e}}return se}}d("a630"),d("fb6a"),d("b0c0"),d("25f0");function u(re,ne){(ne==null||ne>re.length)&&(ne=re.length);for(var se=0,ge=new Array(ne);se<ne;se++)ge[se]=re[se];return ge}function f(re,ne){if(!!re){if(typeof re=="string")return u(re,ne);var se=Object.prototype.toString.call(re).slice(8,-1);if(se==="Object"&&re.constructor&&(se=re.constructor.name),se==="Map"||se==="Set")return Array.from(re);if(se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se))return u(re,ne)}}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1679
1679
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(re,ne){return r(re)||s(re,ne)||f(re,ne)||m()}function C(re){if(Array.isArray(re))return u(re)}function _(re){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(re))return Array.from(re)}function w(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1680
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(re){return C(re)||_(re)||f(re)||w()}var E=d("a352"),L=d.n(E);function O(re){re.parentElement!==null&&re.parentElement.removeChild(re)}function k(re,ne,se){var ge=se===0?re.children[0]:re.children[se-1].nextSibling;re.insertBefore(ne,ge)}var D=d("dbf1");d("13d5"),d("4fad"),d("ac1f"),d("5319");function $(re){var ne=Object.create(null);return function(ge){var Se=ne[ge];return Se||(ne[ge]=re(ge))}}var T=/-(\w)/g,M=$(function(re){return re.replace(T,function(ne,se){return se.toUpperCase()})});d("5db7"),d("73d9");var A=["Start","Add","Remove","Update","End"],F=["Choose","Unchoose","Sort","Filter","Clone"],I=["Move"],B=[I,A,F].flatMap(function(re){return re}).map(function(re){return"on".concat(re)}),j={manage:I,manageAndEmit:A,emit:F};function P(re){return B.indexOf(re)!==-1}d("caad"),d("2ca0");var R=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function z(re){return R.includes(re)}function V(re){return["transition-group","TransitionGroup"].includes(re)}function U(re){return["id","class","role","style"].includes(re)||re.startsWith("data-")||re.startsWith("aria-")||re.startsWith("on")}function G(re){return re.reduce(function(ne,se){var ge=b(se,2),Se=ge[0],$e=ge[1];return ne[Se]=$e,ne},{})}function H(re){var ne=re.$attrs,se=re.componentData,ge=se===void 0?{}:se,Se=G(Object.entries(ne).filter(function($e){var Be=b($e,2),Ke=Be[0];return Be[1],U(Ke)}));return n(n({},Se),ge)}function K(re){var ne=re.$attrs,se=re.callBackBuilder,ge=G(Q(ne));Object.entries(se).forEach(function($e){var Be=b($e,2),Ke=Be[0],ot=Be[1];j[Ke].forEach(function(De){ge["on".concat(De)]=ot(De)})});var Se="[data-draggable]".concat(ge.draggable||"");return n(n({},ge),{},{draggable:Se})}function Q(re){return Object.entries(re).filter(function(ne){var se=b(ne,2),ge=se[0];return se[1],!U(ge)}).map(function(ne){var se=b(ne,2),ge=se[0],Se=se[1];return[M(ge),Se]}).filter(function(ne){var se=b(ne,2),ge=se[0];return se[1],!P(ge)})}d("c740");function J(re,ne){if(!(re instanceof ne))throw new TypeError("Cannot call a class as a function")}function ee(re,ne){for(var se=0;se<ne.length;se++){var ge=ne[se];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(re,ge.key,ge)}}function ue(re,ne,se){return ne&&ee(re.prototype,ne),se&&ee(re,se),re}var ye=function(ne){var se=ne.el||Array.isArray(ne.children)&&ne.children[0].el.parentNode;return se||console.error("\u4F7F\u7528 transition-group , \u9700\u8981\u5728slot\u4E2Dtemplate\u5185\u81F3\u5C112\u5C42html\u6807\u7B7E"),se||{}},_e=function(ne,se){return ne.__draggable_context=se},xe=function(ne){return ne.__draggable_context},Ce=function(){function re(ne){var se=ne.nodes,ge=se.header,Se=se.default,$e=se.footer,Be=ne.root,Ke=ne.realList;J(this,re),this.defaultNodes=Se,this.children=[].concat(x(ge),x(Se),x($e)),this.externalComponent=Be.externalComponent,this.rootTransition=Be.transition,this.tag=Be.tag,this.realList=Ke}return ue(re,[{key:"render",value:function(se,ge){var Se=this.tag,$e=this.children,Be=this._isRootComponent,Ke=Be?{default:function(){return $e}}:$e;return se(Se,ge,Ke)}},{key:"updated",value:function(){var se=this.defaultNodes,ge=this.realList;se.forEach(function(Se,$e){_e(ye(Se),{element:ge[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(se){return xe(se)}},{key:"getVmIndexFromDomIndex",value:function(se,ge){var Se=this.defaultNodes,$e=Se.length,Be=ge.children,Ke=Be.item(se);if(Ke===null)return $e;var ot=xe(Ke);if(ot)return ot.index;if($e===0)return 0;var De=ye(Se[0]),ke=x(Be).findIndex(function(Te){return Te===De});return se<ke?0:$e}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),re}(),Ve=d("8bbf");function Re(re,ne){var se=re[ne];return se?se():[]}function ae(re){var ne=re.$slots,se=re.realList,ge=re.getKey,Se=se||[],$e=["header","footer"].map(function(Te){return Re(ne,Te)}),Be=b($e,2),Ke=Be[0],ot=Be[1],De=ne.item;if(!De)throw new Error("draggable element must have an item slot");var ke=Se.flatMap(function(Te,ze){return De({element:Te,index:ze}).map(function(Ue){return Ue.key=ge(Te),Ue.props=n(n({},Ue.props||{}),{},{"data-draggable":!0}),Ue})});if(ke.length!==Se.length)throw new Error("Item slot must have only one child");return{header:Ke,footer:ot,default:ke}}function de(re){var ne=V(re),se=!z(re)&&!ne;return{transition:ne,externalComponent:se,tag:se?Object(Ve.resolveComponent)(re):ne?Ve.TransitionGroup:re}}function be(re){var ne=re.$slots,se=re.tag,ge=re.realList,Se=re.getKey,$e=ae({$slots:ne,realList:ge,getKey:Se}),Be=de(se);return new Ce({nodes:$e,root:Be,realList:ge})}function ve(re,ne){var se=this;Object(Ve.nextTick)(function(){return se.$emit(re.toLowerCase(),ne)})}function fe(re){var ne=this;return function(se,ge){if(ne.realList!==null)return ne["onDrag".concat(re)](se,ge)}}function Ae(re){var ne=this,se=fe.call(this,re);return function(ge,Se){se.call(ne,ge,Se),ve.call(ne,re,ge)}}var Le=null,Oe={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(ne){return ne}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},nt=["update:modelValue","change"].concat(x([].concat(x(j.manageAndEmit),x(j.emit)).map(function(re){return re.toLowerCase()}))),it=Object(Ve.defineComponent)({name:"draggable",inheritAttrs:!1,props:Oe,emits:nt,data:function(){return{error:!1}},render:function(){try{this.error=!1;var ne=this.$slots,se=this.$attrs,ge=this.tag,Se=this.componentData,$e=this.realList,Be=this.getKey,Ke=be({$slots:ne,tag:ge,realList:$e,getKey:Be});this.componentStructure=Ke;var ot=H({$attrs:se,componentData:Se});return Ke.render(Ve.h,ot)}catch(De){return this.error=!0,Object(Ve.h)("pre",{style:{color:"red"}},De.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&D.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var ne=this;if(!this.error){var se=this.$attrs,ge=this.$el,Se=this.componentStructure;Se.updated();var $e=K({$attrs:se,callBackBuilder:{manageAndEmit:function(ot){return Ae.call(ne,ot)},emit:function(ot){return ve.bind(ne,ot)},manage:function(ot){return fe.call(ne,ot)}}}),Be=ge.nodeType===1?ge:ge.parentElement;this._sortable=new L.a(Be,$e),this.targetDomElement=Be,Be.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var ne=this.list;return ne||this.modelValue},getKey:function(){var ne=this.itemKey;return typeof ne=="function"?ne:function(se){return se[ne]}}},watch:{$attrs:{handler:function(ne){var se=this._sortable;!se||Q(ne).forEach(function(ge){var Se=b(ge,2),$e=Se[0],Be=Se[1];se.option($e,Be)})},deep:!0}},methods:{getUnderlyingVm:function(ne){return this.componentStructure.getUnderlyingVm(ne)||null},getUnderlyingPotencialDraggableComponent:function(ne){return ne.__draggable_component__},emitChanges:function(ne){var se=this;Object(Ve.nextTick)(function(){return se.$emit("change",ne)})},alterList:function(ne){if(this.list){ne(this.list);return}var se=x(this.modelValue);ne(se),this.$emit("update:modelValue",se)},spliceList:function(){var ne=arguments,se=function(Se){return Se.splice.apply(Se,x(ne))};this.alterList(se)},updatePosition:function(ne,se){var ge=function($e){return $e.splice(se,0,$e.splice(ne,1)[0])};this.alterList(ge)},getRelatedContextFromMoveEvent:function(ne){var se=ne.to,ge=ne.related,Se=this.getUnderlyingPotencialDraggableComponent(se);if(!Se)return{component:Se};var $e=Se.realList,Be={list:$e,component:Se};if(se!==ge&&$e){var Ke=Se.getUnderlyingVm(ge)||{};return n(n({},Ke),Be)}return Be},getVmIndexFromDomIndex:function(ne){return this.componentStructure.getVmIndexFromDomIndex(ne,this.targetDomElement)},onDragStart:function(ne){this.context=this.getUnderlyingVm(ne.item),ne.item._underlying_vm_=this.clone(this.context.element),Le=ne.item},onDragAdd:function(ne){var se=ne.item._underlying_vm_;if(se!==void 0){O(ne.item);var ge=this.getVmIndexFromDomIndex(ne.newIndex);this.spliceList(ge,0,se);var Se={element:se,newIndex:ge};this.emitChanges({added:Se})}},onDragRemove:function(ne){if(k(ne.from,ne.item,ne.oldIndex),ne.pullMode==="clone"){O(ne.clone);return}var se=this.context,ge=se.index,Se=se.element;this.spliceList(ge,1);var $e={element:Se,oldIndex:ge};this.emitChanges({removed:$e})},onDragUpdate:function(ne){O(ne.item),k(ne.from,ne.item,ne.oldIndex);var se=this.context.index,ge=this.getVmIndexFromDomIndex(ne.newIndex);this.updatePosition(se,ge);var Se={element:this.context.element,oldIndex:se,newIndex:ge};this.emitChanges({moved:Se})},computeFutureIndex:function(ne,se){if(!ne.element)return 0;var ge=x(se.to.children).filter(function(Ke){return Ke.style.display!=="none"}),Se=ge.indexOf(se.related),$e=ne.component.getVmIndexFromDomIndex(Se),Be=ge.indexOf(Le)!==-1;return Be||!se.willInsertAfter?$e:$e+1},onDragMove:function(ne,se){var ge=this.move,Se=this.realList;if(!ge||!Se)return!0;var $e=this.getRelatedContextFromMoveEvent(ne),Be=this.computeFutureIndex($e,ne),Ke=n(n({},this.context),{},{futureIndex:Be}),ot=n(n({},ne),{},{relatedContext:$e,draggedContext:Ke});return ge(ot,se)},onDragEnd:function(){Le=null}}}),Ye=it;g.default=Ye},fb6a:function(v,g,d){var c=d("23e7"),o=d("861d"),a=d("e8b5"),i=d("23cb"),l=d("50c4"),n=d("fc6a"),r=d("8418"),s=d("b622"),u=d("1dde"),f=d("ae40"),m=u("slice"),b=f("slice",{ACCESSORS:!0,0:0,1:2}),C=s("species"),_=[].slice,w=Math.max;c({target:"Array",proto:!0,forced:!m||!b},{slice:function(E,L){var O=n(this),k=l(O.length),D=i(E,k),$=i(L===void 0?k:L,k),T,M,A;if(a(O)&&(T=O.constructor,typeof T=="function"&&(T===Array||a(T.prototype))?T=void 0:o(T)&&(T=T[C],T===null&&(T=void 0)),T===Array||T===void 0))return _.call(O,D,$);for(M=new(T===void 0?Array:T)(w($-D,0)),A=0;D<$;D++,A++)D in O&&r(M,A,O[D]);return M.length=A,M}})},fc6a:function(v,g,d){var c=d("44ad"),o=d("1d80");v.exports=function(a){return c(o(a))}},fdbc:function(v,g){v.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(v,g,d){var c=d("4930");v.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(vuedraggable_umd);var VuedraggableCjs=getDefaultExportFromCjs(vuedraggable_umd.exports);function registerIcon(t){t.component("el-icon-edit",edit),t.component("el-icon-minus",minus),t.component("el-icon-plus",plus),t.component("el-icon-info",infoFilled),t.component("el-icon-search",search),t.component("el-icon-circle-plus-outline",circlePlus),t.component("el-icon-delete",_delete),t.component("el-icon-arrow-down",arrowDown),t.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let t=function(){var h=document.body,e=document.getElementById("__svg__icons__dom__1771999286008__");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__1771999286008__",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>',h.insertBefore(e,h.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}var iconfont="",index="";function addDirective(t){t.directive("drag",{mounted(h,e){if(!e.value)return!1;e.instance.$nextTick(()=>{const p=document.querySelector(e.value[0]),v=document.querySelector(e.value[1]);v.onmouseover=()=>v.style.cursor="move";function g(c,o){const a=o==="pc"?c.clientX-v.offsetLeft:c.touches[0].clientX-v.offsetLeft,i=o==="pc"?c.clientY-v.offsetTop:c.touches[0].clientY-v.offsetTop,l=document.body.clientWidth,n=document.documentElement.clientHeight,r=p.offsetWidth,s=p.offsetHeight,u=p.offsetLeft,f=l-p.offsetLeft-r,m=p.offsetTop,b=n-p.offsetTop-s;let C=getComputedStyle(p).left,_=getComputedStyle(p).top;return C.includes("%")?(C=+document.body.clientWidth*(+C.replace(/%/g,"")/100),_=+document.body.clientHeight*(+_.replace(/%/g,"")/100)):(C=+C.replace(/\px/g,""),_=+_.replace(/\px/g,"")),{disX:a,disY:i,minDragDomLeft:u,maxDragDomLeft:f,minDragDomTop:m,maxDragDomTop:b,styL:C,styT:_}}function d(c,o,a){let{disX:i,disY:l,minDragDomLeft:n,maxDragDomLeft:r,minDragDomTop:s,maxDragDomTop:u,styL:f,styT:m}=a,b=o==="pc"?c.clientX-i:c.touches[0].clientX-i,C=o==="pc"?c.clientY-l:c.touches[0].clientY-l;-b>n?b=-n:b>r&&(b=r),-C>s?C=-s:C>u&&(C=u),p.style.cssText+=`;left:${b+f}px;top:${C+m}px;`}v.onmousedown=c=>{const o=g(c,"pc");document.onmousemove=a=>{d(a,"pc",o)},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null}},v.ontouchstart=c=>{const o=g(c,"app");document.ontouchmove=a=>{d(a,"app",o)},document.ontouchend=()=>{document.ontouchmove=null,document.ontouchend=null}}})}}),t.directive("dialogDragWidth",{mounted(h,e){e.instance.$nextTick(()=>{const p=e.value.$el.querySelector(".el-dialog");h.onmousedown=v=>{const g=v.clientX-h.offsetLeft;document.onmousemove=function(d){d.preventDefault();const c=d.clientX-g;p.style.width=`${c}px`},document.onmouseup=function(d){document.onmousemove=null,document.onmouseup=null}}})}})}function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!vue.isVNode(t)}const createInputTextEditor=function(t,h){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":p=>this.optionModel[t]=p},null)]})}}},createTextareaEditor=function(t,h,e={}){return{props:{optionModel:Object},render(p){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[t],"onUpdate:modelValue":v=>this.optionModel[t]=v,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createBooleanEditor=function(t,h){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[t],"onUpdate:modelValue":p=>this.optionModel[t]=p},null)]})}}},createRadioButtonGroupEditor=function(t,h,e){return{props:{optionModel:Object},render(p){let v;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[t],"onUpdate:modelValue":g=>this.optionModel[t]=g},_isSlot(v=e.optionItems.map(g=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:g.value},{default:()=>[g.label]})))?v:{default:()=>[v]})]})}}},createSelectEditor=function(t,h,e){return{props:{optionModel:Object},render(p){let v;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[t],"onUpdate:modelValue":g=>this.optionModel[t]=g},_isSlot(v=e.optionItems.map(g=>vue.createVNode(vue.resolveComponent("el-option"),{label:g.label,value:g.value},null)))?v:{default:()=>[v]})]})}}},createEventHandlerEditor=function(t,h){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[t,[...h]])}},render(e){let p;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:t,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(p=translate("designer.setting.addEventHandler"))?p:{default:()=>[p]})]})}}};var cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$g={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:Bt(tt({ContainerWrapper},comps$1),{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(t){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(t){this.widget.options.folded=!!t}}},_hoisted_1$c={class:"label"},_hoisted_2$9={class:"form-widget-list"};function _sfc_render$g(t,h,e,p,v,g){const d=vue.resolveComponent("ArrowDownBold"),c=vue.resolveComponent("el-icon"),o=vue.resolveComponent("draggable"),a=vue.resolveComponent("el-card"),i=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(i,{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(a,{key:e.widget.id,class:vue.normalizeClass(["card-container",[g.selected?"selected":"",e.widget.options.folded?"folded":"",g.customClass]]),onClick:h[2]||(h[2]=vue.withModifiers(l=>t.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:h[0]||(h[0]=(...l)=>g.toggleCard&&g.toggleCard(...l)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(c,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$c,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[vue.createVNode(o,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:h[1]||(h[1]=l=>t.onContainerDragAdd(l,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:g.checkContainerMove}),{item:vue.withCtx(({element:l,index:n})=>[vue.createElementVNode("div",_hoisted_2$9,[l.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.type+"-widget"),{widget:l,designer:e.designer,key:l.id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.type+"-widget"),{field:l,designer:e.designer,key:l.id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"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$g,[["render",_sfc_render$g],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$f={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Bt(tt({ContainerItemWrapper},comps$1),{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$b={class:"label"};function _sfc_render$f(t,h,e,p,v,g){const d=vue.resolveComponent("ArrowDownBold"),c=vue.resolveComponent("el-icon"),o=vue.resolveComponent("el-card"),a=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(a,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createBlock(o,{key:e.widget.id,class:vue.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",g.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:h[0]||(h[0]=(...i)=>g.toggleCard&&g.toggleCard(...i)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(c,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$b,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,(i,l)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(i)),{widget:i,key:l,"parent-list":e.widget.widgetList,"index-of-parent-list":l,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),n=>({name:n,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,n,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:null,key:l,"parent-list":e.widget.widgetList,"index-of-parent-list":l,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),n=>({name:n,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,n,vue.mergeProps({ref_for:!0},r),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$f,[["render",_sfc_render$f],["__scopeId","data-v-05585a0f"]]);const cardTemplateGenerator=function(t,h){const e=t.options,p=buildClassAttr(t),v=e.cardWidth?`style="{width: ${e.cardWidth} !important}"`:"",g=`shadow="${e.shadow}"`,d=e.hidden?'v-show="false"':"";return`<div class="card-container">
1680
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(re){return C(re)||_(re)||f(re)||w()}var E=d("a352"),L=d.n(E);function O(re){re.parentElement!==null&&re.parentElement.removeChild(re)}function k(re,ne,se){var ge=se===0?re.children[0]:re.children[se-1].nextSibling;re.insertBefore(ne,ge)}var D=d("dbf1");d("13d5"),d("4fad"),d("ac1f"),d("5319");function $(re){var ne=Object.create(null);return function(ge){var Se=ne[ge];return Se||(ne[ge]=re(ge))}}var T=/-(\w)/g,M=$(function(re){return re.replace(T,function(ne,se){return se.toUpperCase()})});d("5db7"),d("73d9");var A=["Start","Add","Remove","Update","End"],F=["Choose","Unchoose","Sort","Filter","Clone"],I=["Move"],B=[I,A,F].flatMap(function(re){return re}).map(function(re){return"on".concat(re)}),j={manage:I,manageAndEmit:A,emit:F};function P(re){return B.indexOf(re)!==-1}d("caad"),d("2ca0");var R=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function z(re){return R.includes(re)}function V(re){return["transition-group","TransitionGroup"].includes(re)}function U(re){return["id","class","role","style"].includes(re)||re.startsWith("data-")||re.startsWith("aria-")||re.startsWith("on")}function G(re){return re.reduce(function(ne,se){var ge=b(se,2),Se=ge[0],$e=ge[1];return ne[Se]=$e,ne},{})}function H(re){var ne=re.$attrs,se=re.componentData,ge=se===void 0?{}:se,Se=G(Object.entries(ne).filter(function($e){var Be=b($e,2),Ke=Be[0];return Be[1],U(Ke)}));return n(n({},Se),ge)}function K(re){var ne=re.$attrs,se=re.callBackBuilder,ge=G(Q(ne));Object.entries(se).forEach(function($e){var Be=b($e,2),Ke=Be[0],ot=Be[1];j[Ke].forEach(function(De){ge["on".concat(De)]=ot(De)})});var Se="[data-draggable]".concat(ge.draggable||"");return n(n({},ge),{},{draggable:Se})}function Q(re){return Object.entries(re).filter(function(ne){var se=b(ne,2),ge=se[0];return se[1],!U(ge)}).map(function(ne){var se=b(ne,2),ge=se[0],Se=se[1];return[M(ge),Se]}).filter(function(ne){var se=b(ne,2),ge=se[0];return se[1],!P(ge)})}d("c740");function J(re,ne){if(!(re instanceof ne))throw new TypeError("Cannot call a class as a function")}function ee(re,ne){for(var se=0;se<ne.length;se++){var ge=ne[se];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(re,ge.key,ge)}}function ue(re,ne,se){return ne&&ee(re.prototype,ne),se&&ee(re,se),re}var ye=function(ne){var se=ne.el||Array.isArray(ne.children)&&ne.children[0].el.parentNode;return se||console.error("\u4F7F\u7528 transition-group , \u9700\u8981\u5728slot\u4E2Dtemplate\u5185\u81F3\u5C112\u5C42html\u6807\u7B7E"),se||{}},_e=function(ne,se){return ne.__draggable_context=se},xe=function(ne){return ne.__draggable_context},Ce=function(){function re(ne){var se=ne.nodes,ge=se.header,Se=se.default,$e=se.footer,Be=ne.root,Ke=ne.realList;J(this,re),this.defaultNodes=Se,this.children=[].concat(x(ge),x(Se),x($e)),this.externalComponent=Be.externalComponent,this.rootTransition=Be.transition,this.tag=Be.tag,this.realList=Ke}return ue(re,[{key:"render",value:function(se,ge){var Se=this.tag,$e=this.children,Be=this._isRootComponent,Ke=Be?{default:function(){return $e}}:$e;return se(Se,ge,Ke)}},{key:"updated",value:function(){var se=this.defaultNodes,ge=this.realList;se.forEach(function(Se,$e){_e(ye(Se),{element:ge[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(se){return xe(se)}},{key:"getVmIndexFromDomIndex",value:function(se,ge){var Se=this.defaultNodes,$e=Se.length,Be=ge.children,Ke=Be.item(se);if(Ke===null)return $e;var ot=xe(Ke);if(ot)return ot.index;if($e===0)return 0;var De=ye(Se[0]),ke=x(Be).findIndex(function(Te){return Te===De});return se<ke?0:$e}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),re}(),Ve=d("8bbf");function Re(re,ne){var se=re[ne];return se?se():[]}function ae(re){var ne=re.$slots,se=re.realList,ge=re.getKey,Se=se||[],$e=["header","footer"].map(function(Te){return Re(ne,Te)}),Be=b($e,2),Ke=Be[0],ot=Be[1],De=ne.item;if(!De)throw new Error("draggable element must have an item slot");var ke=Se.flatMap(function(Te,ze){return De({element:Te,index:ze}).map(function(Ue){return Ue.key=ge(Te),Ue.props=n(n({},Ue.props||{}),{},{"data-draggable":!0}),Ue})});if(ke.length!==Se.length)throw new Error("Item slot must have only one child");return{header:Ke,footer:ot,default:ke}}function de(re){var ne=V(re),se=!z(re)&&!ne;return{transition:ne,externalComponent:se,tag:se?Object(Ve.resolveComponent)(re):ne?Ve.TransitionGroup:re}}function be(re){var ne=re.$slots,se=re.tag,ge=re.realList,Se=re.getKey,$e=ae({$slots:ne,realList:ge,getKey:Se}),Be=de(se);return new Ce({nodes:$e,root:Be,realList:ge})}function ve(re,ne){var se=this;Object(Ve.nextTick)(function(){return se.$emit(re.toLowerCase(),ne)})}function fe(re){var ne=this;return function(se,ge){if(ne.realList!==null)return ne["onDrag".concat(re)](se,ge)}}function Ae(re){var ne=this,se=fe.call(this,re);return function(ge,Se){se.call(ne,ge,Se),ve.call(ne,re,ge)}}var Le=null,Oe={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(ne){return ne}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},nt=["update:modelValue","change"].concat(x([].concat(x(j.manageAndEmit),x(j.emit)).map(function(re){return re.toLowerCase()}))),it=Object(Ve.defineComponent)({name:"draggable",inheritAttrs:!1,props:Oe,emits:nt,data:function(){return{error:!1}},render:function(){try{this.error=!1;var ne=this.$slots,se=this.$attrs,ge=this.tag,Se=this.componentData,$e=this.realList,Be=this.getKey,Ke=be({$slots:ne,tag:ge,realList:$e,getKey:Be});this.componentStructure=Ke;var ot=H({$attrs:se,componentData:Se});return Ke.render(Ve.h,ot)}catch(De){return this.error=!0,Object(Ve.h)("pre",{style:{color:"red"}},De.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&D.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var ne=this;if(!this.error){var se=this.$attrs,ge=this.$el,Se=this.componentStructure;Se.updated();var $e=K({$attrs:se,callBackBuilder:{manageAndEmit:function(ot){return Ae.call(ne,ot)},emit:function(ot){return ve.bind(ne,ot)},manage:function(ot){return fe.call(ne,ot)}}}),Be=ge.nodeType===1?ge:ge.parentElement;this._sortable=new L.a(Be,$e),this.targetDomElement=Be,Be.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var ne=this.list;return ne||this.modelValue},getKey:function(){var ne=this.itemKey;return typeof ne=="function"?ne:function(se){return se[ne]}}},watch:{$attrs:{handler:function(ne){var se=this._sortable;!se||Q(ne).forEach(function(ge){var Se=b(ge,2),$e=Se[0],Be=Se[1];se.option($e,Be)})},deep:!0}},methods:{getUnderlyingVm:function(ne){return this.componentStructure.getUnderlyingVm(ne)||null},getUnderlyingPotencialDraggableComponent:function(ne){return ne.__draggable_component__},emitChanges:function(ne){var se=this;Object(Ve.nextTick)(function(){return se.$emit("change",ne)})},alterList:function(ne){if(this.list){ne(this.list);return}var se=x(this.modelValue);ne(se),this.$emit("update:modelValue",se)},spliceList:function(){var ne=arguments,se=function(Se){return Se.splice.apply(Se,x(ne))};this.alterList(se)},updatePosition:function(ne,se){var ge=function($e){return $e.splice(se,0,$e.splice(ne,1)[0])};this.alterList(ge)},getRelatedContextFromMoveEvent:function(ne){var se=ne.to,ge=ne.related,Se=this.getUnderlyingPotencialDraggableComponent(se);if(!Se)return{component:Se};var $e=Se.realList,Be={list:$e,component:Se};if(se!==ge&&$e){var Ke=Se.getUnderlyingVm(ge)||{};return n(n({},Ke),Be)}return Be},getVmIndexFromDomIndex:function(ne){return this.componentStructure.getVmIndexFromDomIndex(ne,this.targetDomElement)},onDragStart:function(ne){this.context=this.getUnderlyingVm(ne.item),ne.item._underlying_vm_=this.clone(this.context.element),Le=ne.item},onDragAdd:function(ne){var se=ne.item._underlying_vm_;if(se!==void 0){O(ne.item);var ge=this.getVmIndexFromDomIndex(ne.newIndex);this.spliceList(ge,0,se);var Se={element:se,newIndex:ge};this.emitChanges({added:Se})}},onDragRemove:function(ne){if(k(ne.from,ne.item,ne.oldIndex),ne.pullMode==="clone"){O(ne.clone);return}var se=this.context,ge=se.index,Se=se.element;this.spliceList(ge,1);var $e={element:Se,oldIndex:ge};this.emitChanges({removed:$e})},onDragUpdate:function(ne){O(ne.item),k(ne.from,ne.item,ne.oldIndex);var se=this.context.index,ge=this.getVmIndexFromDomIndex(ne.newIndex);this.updatePosition(se,ge);var Se={element:this.context.element,oldIndex:se,newIndex:ge};this.emitChanges({moved:Se})},computeFutureIndex:function(ne,se){if(!ne.element)return 0;var ge=x(se.to.children).filter(function(Ke){return Ke.style.display!=="none"}),Se=ge.indexOf(se.related),$e=ne.component.getVmIndexFromDomIndex(Se),Be=ge.indexOf(Le)!==-1;return Be||!se.willInsertAfter?$e:$e+1},onDragMove:function(ne,se){var ge=this.move,Se=this.realList;if(!ge||!Se)return!0;var $e=this.getRelatedContextFromMoveEvent(ne),Be=this.computeFutureIndex($e,ne),Ke=n(n({},this.context),{},{futureIndex:Be}),ot=n(n({},ne),{},{relatedContext:$e,draggedContext:Ke});return ge(ot,se)},onDragEnd:function(){Le=null}}}),Ye=it;g.default=Ye},fb6a:function(v,g,d){var c=d("23e7"),o=d("861d"),a=d("e8b5"),i=d("23cb"),l=d("50c4"),n=d("fc6a"),r=d("8418"),s=d("b622"),u=d("1dde"),f=d("ae40"),m=u("slice"),b=f("slice",{ACCESSORS:!0,0:0,1:2}),C=s("species"),_=[].slice,w=Math.max;c({target:"Array",proto:!0,forced:!m||!b},{slice:function(E,L){var O=n(this),k=l(O.length),D=i(E,k),$=i(L===void 0?k:L,k),T,M,A;if(a(O)&&(T=O.constructor,typeof T=="function"&&(T===Array||a(T.prototype))?T=void 0:o(T)&&(T=T[C],T===null&&(T=void 0)),T===Array||T===void 0))return _.call(O,D,$);for(M=new(T===void 0?Array:T)(w($-D,0)),A=0;D<$;D++,A++)D in O&&r(M,A,O[D]);return M.length=A,M}})},fc6a:function(v,g,d){var c=d("44ad"),o=d("1d80");v.exports=function(a){return c(o(a))}},fdbc:function(v,g){v.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(v,g,d){var c=d("4930");v.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(vuedraggable_umd);var VuedraggableCjs=getDefaultExportFromCjs(vuedraggable_umd.exports);function registerIcon(t){t.component("el-icon-edit",edit),t.component("el-icon-minus",minus),t.component("el-icon-plus",plus),t.component("el-icon-info",infoFilled),t.component("el-icon-search",search),t.component("el-icon-circle-plus-outline",circlePlus),t.component("el-icon-delete",_delete),t.component("el-icon-arrow-down",arrowDown),t.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let t=function(){var h=document.body,e=document.getElementById("__svg__icons__dom__1772086118019__");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__1772086118019__",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>',h.insertBefore(e,h.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}var iconfont="",index="";function addDirective(t){t.directive("drag",{mounted(h,e){if(!e.value)return!1;e.instance.$nextTick(()=>{const p=document.querySelector(e.value[0]),v=document.querySelector(e.value[1]);v.onmouseover=()=>v.style.cursor="move";function g(c,o){const a=o==="pc"?c.clientX-v.offsetLeft:c.touches[0].clientX-v.offsetLeft,i=o==="pc"?c.clientY-v.offsetTop:c.touches[0].clientY-v.offsetTop,l=document.body.clientWidth,n=document.documentElement.clientHeight,r=p.offsetWidth,s=p.offsetHeight,u=p.offsetLeft,f=l-p.offsetLeft-r,m=p.offsetTop,b=n-p.offsetTop-s;let C=getComputedStyle(p).left,_=getComputedStyle(p).top;return C.includes("%")?(C=+document.body.clientWidth*(+C.replace(/%/g,"")/100),_=+document.body.clientHeight*(+_.replace(/%/g,"")/100)):(C=+C.replace(/\px/g,""),_=+_.replace(/\px/g,"")),{disX:a,disY:i,minDragDomLeft:u,maxDragDomLeft:f,minDragDomTop:m,maxDragDomTop:b,styL:C,styT:_}}function d(c,o,a){let{disX:i,disY:l,minDragDomLeft:n,maxDragDomLeft:r,minDragDomTop:s,maxDragDomTop:u,styL:f,styT:m}=a,b=o==="pc"?c.clientX-i:c.touches[0].clientX-i,C=o==="pc"?c.clientY-l:c.touches[0].clientY-l;-b>n?b=-n:b>r&&(b=r),-C>s?C=-s:C>u&&(C=u),p.style.cssText+=`;left:${b+f}px;top:${C+m}px;`}v.onmousedown=c=>{const o=g(c,"pc");document.onmousemove=a=>{d(a,"pc",o)},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null}},v.ontouchstart=c=>{const o=g(c,"app");document.ontouchmove=a=>{d(a,"app",o)},document.ontouchend=()=>{document.ontouchmove=null,document.ontouchend=null}}})}}),t.directive("dialogDragWidth",{mounted(h,e){e.instance.$nextTick(()=>{const p=e.value.$el.querySelector(".el-dialog");h.onmousedown=v=>{const g=v.clientX-h.offsetLeft;document.onmousemove=function(d){d.preventDefault();const c=d.clientX-g;p.style.width=`${c}px`},document.onmouseup=function(d){document.onmousemove=null,document.onmouseup=null}}})}})}function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!vue.isVNode(t)}const createInputTextEditor=function(t,h){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":p=>this.optionModel[t]=p},null)]})}}},createTextareaEditor=function(t,h,e={}){return{props:{optionModel:Object},render(p){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[t],"onUpdate:modelValue":v=>this.optionModel[t]=v,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createBooleanEditor=function(t,h){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[t],"onUpdate:modelValue":p=>this.optionModel[t]=p},null)]})}}},createRadioButtonGroupEditor=function(t,h,e){return{props:{optionModel:Object},render(p){let v;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[t],"onUpdate:modelValue":g=>this.optionModel[t]=g},_isSlot(v=e.optionItems.map(g=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:g.value},{default:()=>[g.label]})))?v:{default:()=>[v]})]})}}},createSelectEditor=function(t,h,e){return{props:{optionModel:Object},render(p){let v;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(h)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[t],"onUpdate:modelValue":g=>this.optionModel[t]=g},_isSlot(v=e.optionItems.map(g=>vue.createVNode(vue.resolveComponent("el-option"),{label:g.label,value:g.value},null)))?v:{default:()=>[v]})]})}}},createEventHandlerEditor=function(t,h){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[t,[...h]])}},render(e){let p;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:t,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(p=translate("designer.setting.addEventHandler"))?p:{default:()=>[p]})]})}}};var cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$g={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:Bt(tt({ContainerWrapper},comps$1),{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(t){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(t){this.widget.options.folded=!!t}}},_hoisted_1$c={class:"label"},_hoisted_2$9={class:"form-widget-list"};function _sfc_render$g(t,h,e,p,v,g){const d=vue.resolveComponent("ArrowDownBold"),c=vue.resolveComponent("el-icon"),o=vue.resolveComponent("draggable"),a=vue.resolveComponent("el-card"),i=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(i,{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(a,{key:e.widget.id,class:vue.normalizeClass(["card-container",[g.selected?"selected":"",e.widget.options.folded?"folded":"",g.customClass]]),onClick:h[2]||(h[2]=vue.withModifiers(l=>t.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:h[0]||(h[0]=(...l)=>g.toggleCard&&g.toggleCard(...l)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(c,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$c,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[vue.createVNode(o,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:h[1]||(h[1]=l=>t.onContainerDragAdd(l,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:g.checkContainerMove}),{item:vue.withCtx(({element:l,index:n})=>[vue.createElementVNode("div",_hoisted_2$9,[l.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.type+"-widget"),{widget:l,designer:e.designer,key:l.id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.type+"-widget"),{field:l,designer:e.designer,key:l.id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"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$g,[["render",_sfc_render$g],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$f={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Bt(tt({ContainerItemWrapper},comps$1),{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$b={class:"label"};function _sfc_render$f(t,h,e,p,v,g){const d=vue.resolveComponent("ArrowDownBold"),c=vue.resolveComponent("el-icon"),o=vue.resolveComponent("el-card"),a=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(a,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createBlock(o,{key:e.widget.id,class:vue.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",g.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:h[0]||(h[0]=(...i)=>g.toggleCard&&g.toggleCard(...i)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(c,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$b,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,(i,l)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(i)),{widget:i,key:l,"parent-list":e.widget.widgetList,"index-of-parent-list":l,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),n=>({name:n,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,n,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:null,key:l,"parent-list":e.widget.widgetList,"index-of-parent-list":l,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),n=>({name:n,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,n,vue.mergeProps({ref_for:!0},r),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$f,[["render",_sfc_render$f],["__scopeId","data-v-05585a0f"]]);const cardTemplateGenerator=function(t,h){const e=t.options,p=buildClassAttr(t),v=e.cardWidth?`style="{width: ${e.cardWidth} !important}"`:"",g=`shadow="${e.shadow}"`,d=e.hidden?'v-show="false"':"";return`<div class="card-container">
1681
1681
  <el-card ${p} ${v} ${g} ${d}>
1682
1682
  <template #header>
1683
1683
  <div class="clear-fix">