UNPKG

newcodevform

Version:

This is a form generator

7 lines 2.75 MB
var Re=Object.defineProperty,Fe=Object.defineProperties;var Ne=Object.getOwnPropertyDescriptors;var Te=Object.getOwnPropertySymbols;var Ie=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable;var Ae=(t,a,e)=>a in t?Re(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,Se=(t,a)=>{for(var e in a||(a={}))Ie.call(a,e)&&Ae(t,e,a[e]);if(Te)for(var e of Te(a))Be.call(a,e)&&Ae(t,e,a[e]);return t},qe=(t,a)=>Fe(t,Ne(a));(function(t,a){typeof exports=="object"&&typeof module!="undefined"?module.exports=a(require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["vue","element-plus"],a):(t=typeof globalThis!="undefined"?globalThis:t||self,t.VFormDesigner=a(t.Vue,t.ElementPlus))})(this,function(require$$0$1,elementPlus){"use strict";function _interopDefaultLegacy(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var require$$0__default=_interopDefaultLegacy(require$$0$1),commonjsGlobal$1=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}var axios$3={exports:{}},bind$2=function(a,e){return function(){for(var f=new Array(arguments.length),p=0;p<f.length;p++)f[p]=arguments[p];return a.apply(e,f)}},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 a;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?a=ArrayBuffer.isView(t):a=t&&t.buffer&&t.buffer instanceof ArrayBuffer,a}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$1(t){if(toString.call(t)!=="[object Object]")return!1;var a=Object.getPrototypeOf(t);return a===null||a===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,a){if(!(t===null||typeof t=="undefined"))if(typeof t!="object"&&(t=[t]),isArray(t))for(var e=0,h=t.length;e<h;e++)a.call(null,t[e],e,t);else for(var f in t)Object.prototype.hasOwnProperty.call(t,f)&&a.call(null,t[f],f,t)}function merge(){var t={};function a(f,p){isPlainObject$1(t[p])&&isPlainObject$1(f)?t[p]=merge(t[p],f):isPlainObject$1(f)?t[p]=merge({},f):isArray(f)?t[p]=f.slice():t[p]=f}for(var e=0,h=arguments.length;e<h;e++)forEach(arguments[e],a);return t}function extend$1(t,a,e){return forEach(a,function(f,p){e&&typeof f=="function"?t[p]=bind$1(f,e):t[p]=f}),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:isPlainObject$1,isUndefined,isDate,isFile,isBlob,isFunction,isStream,isURLSearchParams,isStandardBrowserEnv,forEach,merge,extend:extend$1,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(a,e,h){if(!e)return a;var f;if(h)f=h(e);else if(utils$c.isURLSearchParams(e))f=e.toString();else{var p=[];utils$c.forEach(e,function(r,u){r===null||typeof r=="undefined"||(utils$c.isArray(r)?u=u+"[]":r=[r],utils$c.forEach(r,function(i){utils$c.isDate(i)?i=i.toISOString():utils$c.isObject(i)&&(i=JSON.stringify(i)),p.push(encode(u)+"="+encode(i))}))}),f=p.join("&")}if(f){var l=a.indexOf("#");l!==-1&&(a=a.slice(0,l)),a+=(a.indexOf("?")===-1?"?":"&")+f}return a},utils$b=utils$d;function InterceptorManager$1(){this.handlers=[]}InterceptorManager$1.prototype.use=function(a,e,h){return this.handlers.push({fulfilled:a,rejected:e,synchronous:h?h.synchronous:!1,runWhen:h?h.runWhen:null}),this.handlers.length-1},InterceptorManager$1.prototype.eject=function(a){this.handlers[a]&&(this.handlers[a]=null)},InterceptorManager$1.prototype.forEach=function(a){utils$b.forEach(this.handlers,function(h){h!==null&&a(h)})};var InterceptorManager_1=InterceptorManager$1,utils$a=utils$d,normalizeHeaderName$1=function(a,e){utils$a.forEach(a,function(f,p){p!==e&&p.toUpperCase()===e.toUpperCase()&&(a[e]=f,delete a[p])})},enhanceError$2=function(a,e,h,f,p){return a.config=e,h&&(a.code=h),a.request=f,a.response=p,a.isAxiosError=!0,a.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}},a},enhanceError$1=enhanceError$2,createError$2=function(a,e,h,f,p){var l=new Error(a);return enhanceError$1(l,e,h,f,p)},createError$1=createError$2,settle$1=function(a,e,h){var f=h.config.validateStatus;!h.status||!f||f(h.status)?a(h):e(createError$1("Request failed with status code "+h.status,h.config,null,h.request,h))},utils$9=utils$d,cookies$1=utils$9.isStandardBrowserEnv()?function(){return{write:function(e,h,f,p,l,s){var r=[];r.push(e+"="+encodeURIComponent(h)),utils$9.isNumber(f)&&r.push("expires="+new Date(f).toGMTString()),utils$9.isString(p)&&r.push("path="+p),utils$9.isString(l)&&r.push("domain="+l),s===!0&&r.push("secure"),document.cookie=r.join("; ")},read:function(e){var h=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return h?decodeURIComponent(h[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),isAbsoluteURL$1=function(a){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(a)},combineURLs$1=function(a,e){return e?a.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):a},isAbsoluteURL=isAbsoluteURL$1,combineURLs=combineURLs$1,buildFullPath$1=function(a,e){return a&&!isAbsoluteURL(e)?combineURLs(a,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(a){var e={},h,f,p;return a&&utils$8.forEach(a.split(` `),function(s){if(p=s.indexOf(":"),h=utils$8.trim(s.substr(0,p)).toLowerCase(),f=utils$8.trim(s.substr(p+1)),h){if(e[h]&&ignoreDuplicateOf.indexOf(h)>=0)return;h==="set-cookie"?e[h]=(e[h]?e[h]:[]).concat([f]):e[h]=e[h]?e[h]+", "+f:f}}),e},utils$7=utils$d,isURLSameOrigin$1=utils$7.isStandardBrowserEnv()?function(){var a=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a"),h;function f(p){var l=p;return a&&(e.setAttribute("href",l),l=e.href),e.setAttribute("href",l),{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 h=f(window.location.href),function(l){var s=utils$7.isString(l)?f(l):l;return s.protocol===h.protocol&&s.host===h.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=cookies$1,buildURL$1=buildURL$2,buildFullPath=buildFullPath$1,parseHeaders=parseHeaders$1,isURLSameOrigin=isURLSameOrigin$1,createError=createError$2,defaults$5=defaults_1,Cancel$2=Cancel_1,xhr=function(a){return new Promise(function(h,f){var p=a.data,l=a.headers,s=a.responseType,r;function u(){a.cancelToken&&a.cancelToken.unsubscribe(r),a.signal&&a.signal.removeEventListener("abort",r)}utils$6.isFormData(p)&&delete l["Content-Type"];var n=new XMLHttpRequest;if(a.auth){var i=a.auth.username||"",o=a.auth.password?unescape(encodeURIComponent(a.auth.password)):"";l.Authorization="Basic "+btoa(i+":"+o)}var d=buildFullPath(a.baseURL,a.url);n.open(a.method.toUpperCase(),buildURL$1(d,a.params,a.paramsSerializer),!0),n.timeout=a.timeout;function c(){if(!!n){var g="getAllResponseHeaders"in n?parseHeaders(n.getAllResponseHeaders()):null,v=!s||s==="text"||s==="json"?n.responseText:n.response,_={data:v,status:n.status,statusText:n.statusText,headers:g,config:a,request:n};settle(function(x){h(x),u()},function(x){f(x),u()},_),n=null}}if("onloadend"in n?n.onloadend=c:n.onreadystatechange=function(){!n||n.readyState!==4||n.status===0&&!(n.responseURL&&n.responseURL.indexOf("file:")===0)||setTimeout(c)},n.onabort=function(){!n||(f(createError("Request aborted",a,"ECONNABORTED",n)),n=null)},n.onerror=function(){f(createError("Network Error",a,null,n)),n=null},n.ontimeout=function(){var v=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded",_=a.transitional||defaults$5.transitional;a.timeoutErrorMessage&&(v=a.timeoutErrorMessage),f(createError(v,a,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",n)),n=null},utils$6.isStandardBrowserEnv()){var m=(a.withCredentials||isURLSameOrigin(d))&&a.xsrfCookieName?cookies.read(a.xsrfCookieName):void 0;m&&(l[a.xsrfHeaderName]=m)}"setRequestHeader"in n&&utils$6.forEach(l,function(v,_){typeof p=="undefined"&&_.toLowerCase()==="content-type"?delete l[_]:n.setRequestHeader(_,v)}),utils$6.isUndefined(a.withCredentials)||(n.withCredentials=!!a.withCredentials),s&&s!=="json"&&(n.responseType=a.responseType),typeof a.onDownloadProgress=="function"&&n.addEventListener("progress",a.onDownloadProgress),typeof a.onUploadProgress=="function"&&n.upload&&n.upload.addEventListener("progress",a.onUploadProgress),(a.cancelToken||a.signal)&&(r=function(g){!n||(f(!g||g&&g.type?new Cancel$2("canceled"):g),n.abort(),n=null)},a.cancelToken&&a.cancelToken.subscribe(r),a.signal&&(a.signal.aborted?r():a.signal.addEventListener("abort",r))),p||(p=null),n.send(p)})},utils$5=utils$d,normalizeHeaderName=normalizeHeaderName$1,enhanceError=enhanceError$2,DEFAULT_CONTENT_TYPE={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(t,a){!utils$5.isUndefined(t)&&utils$5.isUndefined(t["Content-Type"])&&(t["Content-Type"]=a)}function getDefaultAdapter(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=xhr),t}function stringifySafely(t,a,e){if(utils$5.isString(t))try{return(a||JSON.parse)(t),utils$5.trim(t)}catch(h){if(h.name!=="SyntaxError")throw h}return(e||JSON.stringify)(t)}var defaults$4={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:getDefaultAdapter(),transformRequest:[function(a,e){return normalizeHeaderName(e,"Accept"),normalizeHeaderName(e,"Content-Type"),utils$5.isFormData(a)||utils$5.isArrayBuffer(a)||utils$5.isBuffer(a)||utils$5.isStream(a)||utils$5.isFile(a)||utils$5.isBlob(a)?a:utils$5.isArrayBufferView(a)?a.buffer:utils$5.isURLSearchParams(a)?(setContentTypeIfUnset(e,"application/x-www-form-urlencoded;charset=utf-8"),a.toString()):utils$5.isObject(a)||e&&e["Content-Type"]==="application/json"?(setContentTypeIfUnset(e,"application/json"),stringifySafely(a)):a}],transformResponse:[function(a){var e=this.transitional||defaults$4.transitional,h=e&&e.silentJSONParsing,f=e&&e.forcedJSONParsing,p=!h&&this.responseType==="json";if(p||f&&utils$5.isString(a)&&a.length)try{return JSON.parse(a)}catch(l){if(p)throw l.name==="SyntaxError"?enhanceError(l,this,"E_JSON_PARSE"):l}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils$5.forEach(["delete","get","head"],function(a){defaults$4.headers[a]={}}),utils$5.forEach(["post","put","patch"],function(a){defaults$4.headers[a]=utils$5.merge(DEFAULT_CONTENT_TYPE)});var defaults_1=defaults$4,utils$4=utils$d,defaults$3=defaults_1,transformData$1=function(a,e,h){var f=this||defaults$3;return utils$4.forEach(h,function(l){a=l.call(f,a,e)}),a},isCancel$1=function(a){return!!(a&&a.__CANCEL__)},utils$3=utils$d,transformData=transformData$1,isCancel=isCancel$1,defaults$2=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(a){throwIfCancellationRequested(a),a.headers=a.headers||{},a.data=transformData.call(a,a.data,a.headers,a.transformRequest),a.headers=utils$3.merge(a.headers.common||{},a.headers[a.method]||{},a.headers),utils$3.forEach(["delete","get","head","post","put","patch","common"],function(f){delete a.headers[f]});var e=a.adapter||defaults$2.adapter;return e(a).then(function(f){return throwIfCancellationRequested(a),f.data=transformData.call(a,f.data,f.headers,a.transformResponse),f},function(f){return isCancel(f)||(throwIfCancellationRequested(a),f&&f.response&&(f.response.data=transformData.call(a,f.response.data,f.response.headers,a.transformResponse))),Promise.reject(f)})},utils$2=utils$d,mergeConfig$2=function(a,e){e=e||{};var h={};function f(n,i){return utils$2.isPlainObject(n)&&utils$2.isPlainObject(i)?utils$2.merge(n,i):utils$2.isPlainObject(i)?utils$2.merge({},i):utils$2.isArray(i)?i.slice():i}function p(n){if(utils$2.isUndefined(e[n])){if(!utils$2.isUndefined(a[n]))return f(void 0,a[n])}else return f(a[n],e[n])}function l(n){if(!utils$2.isUndefined(e[n]))return f(void 0,e[n])}function s(n){if(utils$2.isUndefined(e[n])){if(!utils$2.isUndefined(a[n]))return f(void 0,a[n])}else return f(void 0,e[n])}function r(n){if(n in e)return f(a[n],e[n]);if(n in a)return f(void 0,a[n])}var u={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:r};return utils$2.forEach(Object.keys(a).concat(Object.keys(e)),function(i){var o=u[i]||p,d=o(i);utils$2.isUndefined(d)&&o!==r||(h[i]=d)}),h},data={version:"0.24.0"},VERSION=data.version,validators$1={};["object","boolean","number","function","string","symbol"].forEach(function(t,a){validators$1[t]=function(h){return typeof h===t||"a"+(a<1?"n ":" ")+t}});var deprecatedWarnings={};validators$1.transitional=function(a,e,h){function f(p,l){return"[Axios v"+VERSION+"] Transitional option '"+p+"'"+l+(h?". "+h:"")}return function(p,l,s){if(a===!1)throw new Error(f(l," has been removed"+(e?" in "+e:"")));return e&&!deprecatedWarnings[l]&&(deprecatedWarnings[l]=!0,console.warn(f(l," has been deprecated since v"+e+" and will be removed in the near future"))),a?a(p,l,s):!0}};function assertOptions(t,a,e){if(typeof t!="object")throw new TypeError("options must be an object");for(var h=Object.keys(t),f=h.length;f-- >0;){var p=h[f],l=a[p];if(l){var s=t[p],r=s===void 0||l(s,p,t);if(r!==!0)throw new TypeError("option "+p+" must be "+r);continue}if(e!==!0)throw Error("Unknown option "+p)}}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(a){typeof a=="string"?(a=arguments[1]||{},a.url=arguments[0]):a=a||{},a=mergeConfig$1(this.defaults,a),a.method?a.method=a.method.toLowerCase():this.defaults.method?a.method=this.defaults.method.toLowerCase():a.method="get";var e=a.transitional;e!==void 0&&validator.assertOptions(e,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1);var h=[],f=!0;this.interceptors.request.forEach(function(o){typeof o.runWhen=="function"&&o.runWhen(a)===!1||(f=f&&o.synchronous,h.unshift(o.fulfilled,o.rejected))});var p=[];this.interceptors.response.forEach(function(o){p.push(o.fulfilled,o.rejected)});var l;if(!f){var s=[dispatchRequest,void 0];for(Array.prototype.unshift.apply(s,h),s=s.concat(p),l=Promise.resolve(a);s.length;)l=l.then(s.shift(),s.shift());return l}for(var r=a;h.length;){var u=h.shift(),n=h.shift();try{r=u(r)}catch(i){n(i);break}}try{l=dispatchRequest(r)}catch(i){return Promise.reject(i)}for(;p.length;)l=l.then(p.shift(),p.shift());return l},Axios$1.prototype.getUri=function(a){return a=mergeConfig$1(this.defaults,a),buildURL(a.url,a.params,a.paramsSerializer).replace(/^\?/,"")},utils$1.forEach(["delete","get","head","options"],function(a){Axios$1.prototype[a]=function(e,h){return this.request(mergeConfig$1(h||{},{method:a,url:e,data:(h||{}).data}))}}),utils$1.forEach(["post","put","patch"],function(a){Axios$1.prototype[a]=function(e,h,f){return this.request(mergeConfig$1(f||{},{method:a,url:e,data:h}))}});var Axios_1=Axios$1,Cancel=Cancel_1;function CancelToken(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(f){a=f});var e=this;this.promise.then(function(h){if(!!e._listeners){var f,p=e._listeners.length;for(f=0;f<p;f++)e._listeners[f](h);e._listeners=null}}),this.promise.then=function(h){var f,p=new Promise(function(l){e.subscribe(l),f=l}).then(h);return p.cancel=function(){e.unsubscribe(f)},p},t(function(f){e.reason||(e.reason=new Cancel(f),a(e.reason))})}CancelToken.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},CancelToken.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},CancelToken.prototype.unsubscribe=function(a){if(!!this._listeners){var e=this._listeners.indexOf(a);e!==-1&&this._listeners.splice(e,1)}},CancelToken.source=function(){var a,e=new CancelToken(function(f){a=f});return{token:e,cancel:a}};var CancelToken_1=CancelToken,spread=function(a){return function(h){return a.apply(null,h)}},isAxiosError=function(a){return typeof a=="object"&&a.isAxiosError===!0},utils=utils$d,bind=bind$2,Axios=Axios_1,mergeConfig=mergeConfig$2,defaults$1=defaults_1;function createInstance(t){var a=new Axios(t),e=bind(Axios.prototype.request,a);return utils.extend(e,Axios.prototype,a),utils.extend(e,a),e.create=function(f){return createInstance(mergeConfig(t,f))},e}var axios$2=createInstance(defaults$1);axios$2.Axios=Axios,axios$2.Cancel=Cancel_1,axios$2.CancelToken=CancelToken_1,axios$2.isCancel=isCancel$1,axios$2.VERSION=data.version,axios$2.all=function(a){return Promise.all(a)},axios$2.spread=spread,axios$2.isAxiosError=isAxiosError,axios$3.exports=axios$2,axios$3.exports.default=axios$2;var require$$0=axios$3.exports,axios$1=require$$0;const formTemplates=[];var clipboard={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */(function(t,a){(function(h,f){t.exports=f()})(commonjsGlobal$1,function(){return function(){var e={686:function(p,l,s){s.d(l,{default:function(){return F}});var r=s(279),u=s.n(r),n=s(370),i=s.n(n),o=s(817),d=s.n(o);function c(N){try{return document.execCommand(N)}catch{return!1}}var m=function(R){var P=d()(R);return c("cut"),P},g=m;function v(N){var R=document.documentElement.getAttribute("dir")==="rtl",P=document.createElement("textarea");P.style.fontSize="12pt",P.style.border="0",P.style.padding="0",P.style.margin="0",P.style.position="absolute",P.style[R?"right":"left"]="-9999px";var W=window.pageYOffset||document.documentElement.scrollTop;return P.style.top="".concat(W,"px"),P.setAttribute("readonly",""),P.value=N,P}var _=function(R,P){var W=v(R);P.container.appendChild(W);var B=d()(W);return c("copy"),W.remove(),B},k=function(R){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},W="";return typeof R=="string"?W=_(R,P):R instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(R==null?void 0:R.type)?W=_(R.value,P):(W=d()(R),c("copy")),W},x=k;function b(N){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(P){return typeof P}:b=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},b(N)}var C=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=R.action,W=P===void 0?"copy":P,B=R.container,H=R.target,z=R.text;if(W!=="copy"&&W!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(H!==void 0)if(H&&b(H)==="object"&&H.nodeType===1){if(W==="copy"&&H.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(W==="cut"&&(H.hasAttribute("readonly")||H.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(z)return x(z,{container:B});if(H)return W==="cut"?g(H):x(H,{container:B})},q=C;function S(N){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(P){return typeof P}:S=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},S(N)}function y(N,R){if(!(N instanceof R))throw new TypeError("Cannot call a class as a function")}function $(N,R){for(var P=0;P<R.length;P++){var W=R[P];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(N,W.key,W)}}function w(N,R,P){return R&&$(N.prototype,R),P&&$(N,P),N}function O(N,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(R&&R.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),R&&M(N,R)}function M(N,R){return M=Object.setPrototypeOf||function(W,B){return W.__proto__=B,W},M(N,R)}function T(N){var R=I();return function(){var W=j(N),B;if(R){var H=j(this).constructor;B=Reflect.construct(W,arguments,H)}else B=W.apply(this,arguments);return A(this,B)}}function A(N,R){return R&&(S(R)==="object"||typeof R=="function")?R:L(N)}function L(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function j(N){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},j(N)}function D(N,R){var P="data-clipboard-".concat(N);if(!!R.hasAttribute(P))return R.getAttribute(P)}var V=function(N){O(P,N);var R=T(P);function P(W,B){var H;return y(this,P),H=R.call(this),H.resolveOptions(B),H.listenClick(W),H}return w(P,[{key:"resolveOptions",value:function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof B.action=="function"?B.action:this.defaultAction,this.target=typeof B.target=="function"?B.target:this.defaultTarget,this.text=typeof B.text=="function"?B.text:this.defaultText,this.container=S(B.container)==="object"?B.container:document.body}},{key:"listenClick",value:function(B){var H=this;this.listener=i()(B,"click",function(z){return H.onClick(z)})}},{key:"onClick",value:function(B){var H=B.delegateTarget||B.currentTarget,z=this.action(H)||"copy",U=q({action:z,container:this.container,target:this.target(H),text:this.text(H)});this.emit(U?"success":"error",{action:z,text:U,trigger:H,clearSelection:function(){H&&H.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(B){return D("action",B)}},{key:"defaultTarget",value:function(B){var H=D("target",B);if(H)return document.querySelector(H)}},{key:"defaultText",value:function(B){return D("text",B)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(B){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return x(B,H)}},{key:"cut",value:function(B){return g(B)}},{key:"isSupported",value:function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],H=typeof B=="string"?[B]:B,z=!!document.queryCommandSupported;return H.forEach(function(U){z=z&&!!document.queryCommandSupported(U)}),z}}]),P}(u()),F=V},828:function(p){var l=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function r(u,n){for(;u&&u.nodeType!==l;){if(typeof u.matches=="function"&&u.matches(n))return u;u=u.parentNode}}p.exports=r},438:function(p,l,s){var r=s(828);function u(o,d,c,m,g){var v=i.apply(this,arguments);return o.addEventListener(c,v,g),{destroy:function(){o.removeEventListener(c,v,g)}}}function n(o,d,c,m,g){return typeof o.addEventListener=="function"?u.apply(null,arguments):typeof c=="function"?u.bind(null,document).apply(null,arguments):(typeof o=="string"&&(o=document.querySelectorAll(o)),Array.prototype.map.call(o,function(v){return u(v,d,c,m,g)}))}function i(o,d,c,m){return function(g){g.delegateTarget=r(g.target,d),g.delegateTarget&&m.call(o,g)}}p.exports=n},879:function(p,l){l.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},l.nodeList=function(s){var r=Object.prototype.toString.call(s);return s!==void 0&&(r==="[object NodeList]"||r==="[object HTMLCollection]")&&"length"in s&&(s.length===0||l.node(s[0]))},l.string=function(s){return typeof s=="string"||s instanceof String},l.fn=function(s){var r=Object.prototype.toString.call(s);return r==="[object Function]"}},370:function(p,l,s){var r=s(879),u=s(438);function n(c,m,g){if(!c&&!m&&!g)throw new Error("Missing required arguments");if(!r.string(m))throw new TypeError("Second argument must be a String");if(!r.fn(g))throw new TypeError("Third argument must be a Function");if(r.node(c))return i(c,m,g);if(r.nodeList(c))return o(c,m,g);if(r.string(c))return d(c,m,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(c,m,g){return c.addEventListener(m,g),{destroy:function(){c.removeEventListener(m,g)}}}function o(c,m,g){return Array.prototype.forEach.call(c,function(v){v.addEventListener(m,g)}),{destroy:function(){Array.prototype.forEach.call(c,function(v){v.removeEventListener(m,g)})}}}function d(c,m,g){return u(document.body,c,m,g)}p.exports=n},817:function(p){function l(s){var r;if(s.nodeName==="SELECT")s.focus(),r=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var u=s.hasAttribute("readonly");u||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),u||s.removeAttribute("readonly"),r=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var n=window.getSelection(),i=document.createRange();i.selectNodeContents(s),n.removeAllRanges(),n.addRange(i),r=n.toString()}return r}p.exports=l},279:function(p){function l(){}l.prototype={on:function(s,r,u){var n=this.e||(this.e={});return(n[s]||(n[s]=[])).push({fn:r,ctx:u}),this},once:function(s,r,u){var n=this;function i(){n.off(s,i),r.apply(u,arguments)}return i._=r,this.on(s,i,u)},emit:function(s){var r=[].slice.call(arguments,1),u=((this.e||(this.e={}))[s]||[]).slice(),n=0,i=u.length;for(n;n<i;n++)u[n].fn.apply(u[n].ctx,r);return this},off:function(s,r){var u=this.e||(this.e={}),n=u[s],i=[];if(n&&r)for(var o=0,d=n.length;o<d;o++)n[o].fn!==r&&n[o].fn._!==r&&i.push(n[o]);return i.length?u[s]=i:delete u[s],this}},p.exports=l,p.exports.TinyEmitter=l}},h={};function f(p){if(h[p])return h[p].exports;var l=h[p]={exports:{}};return e[p](l,l.exports,f),l.exports}return function(){f.n=function(p){var l=p&&p.__esModule?function(){return p.default}:function(){return p};return f.d(l,{a:l}),l}}(),function(){f.d=function(p,l){for(var s in l)f.o(l,s)&&!f.o(p,s)&&Object.defineProperty(p,s,{enumerable:!0,get:l[s]})}}(),function(){f.o=function(p,l){return Object.prototype.hasOwnProperty.call(p,l)}}(),f(686)}().default})})(clipboard);var Clipboard=getDefaultExportFromCjs(clipboard.exports);function isNull(t){return t==null}function isNotNull(t){return t!=null}function isEmptyStr(t){return t===void 0||!t&&t!==0&&t!=="0"||!/[^\s]/.test(t)}const generateId=function(){return Math.floor(Math.random()*1e5+Math.random()*2e4+Math.random()*5e3)},deepClone=function(t){if(t!==void 0)return JSON.parse(JSON.stringify(t))},overwriteObj=function(t,a){Object.keys(a).forEach(e=>{t[e]=a[e]})},addWindowResizeHandler=function(t){let a=window.onresize;typeof window.onresize!="function"?window.onresize=t:window.onresize=function(){a(),t()}},insertCustomCssToHead=function(t,a=""){let e=document.getElementsByTagName("head")[0],h=document.getElementById("vform-custom-css");h&&e.removeChild(h),a&&(h=document.getElementById("vform-custom-css-"+a),!!h&&e.removeChild(h));let f=document.createElement("style");f.type="text/css",f.rel="stylesheet",f.id=a?"vform-custom-css-"+a:"vform-custom-css";try{f.appendChild(document.createTextNode(t))}catch{f.styleSheet.cssText=t}e.appendChild(f)},insertGlobalFunctionsToHtml=function(t,a=""){let e=document.getElementsByTagName("body")[0],h=document.getElementById("v_form_global_functions");!!h&&e.removeChild(h),a&&(h=document.getElementById("v_form_global_functions-"+a),!!h&&e.removeChild(h));let f=document.createElement("script");f.id=a?"v_form_global_functions-"+a:"v_form_global_functions",f.type="text/javascript",f.innerHTML=t,e.appendChild(f)},loadRemoteScript=function(t,a){let e=encodeURIComponent(t);if(!document.getElementById(e)){let f=document.createElement("script");f.src=t,f.id=e,document.body.appendChild(f),f.onload=f.onreadystatechange=function(p,l){(l||!f.readyState||f.readyState==="loaded"||f.readyState==="complete")&&(f=f.onload=f.onreadystatechange=null,l||a())}}};function traverseFieldWidgets(t,a,e=null){!t||t.map(h=>{h.formItemFlag?a(h,e):h.type==="grid"?h.cols.map(f=>{traverseFieldWidgets(f.widgetList,a,h)}):h.type==="table"?h.rows.map(f=>{f.cols.map(p=>{traverseFieldWidgets(p.widgetList,a,h)})}):h.type==="tab"?h.tabs.map(f=>{traverseFieldWidgets(f.widgetList,a,h)}):(h.type==="sub-form"||h.category==="container")&&traverseFieldWidgets(h.widgetList,a,h)})}function traverseContainerWidgets(t,a){!t||t.map(e=>{e.category==="container"&&a(e),e.type==="grid"?e.cols.map(h=>{traverseContainerWidgets(h.widgetList,a)}):e.type==="table"?e.rows.map(h=>{h.cols.map(f=>{traverseContainerWidgets(f.widgetList,a)})}):e.type==="tab"?e.tabs.map(h=>{traverseContainerWidgets(h.widgetList,a)}):(e.type==="sub-form"||e.category==="container")&&traverseContainerWidgets(e.widgetList,a)})}function traverseAllWidgets(t,a){!t||t.map(e=>{a(e),e.type==="grid"?e.cols.map(h=>{a(h),traverseAllWidgets(h.widgetList,a)}):e.type==="table"?e.rows.map(h=>{h.cols.map(f=>{a(f),traverseAllWidgets(f.widgetList,a)})}):e.type==="tab"?e.tabs.map(h=>{traverseAllWidgets(h.widgetList,a)}):(e.type==="sub-form"||e.category==="container")&&traverseAllWidgets(e.widgetList,a)})}function handleWidgetForTraverse(t,a){t.category?traverseFieldWidgetsOfContainer(t,a):t.formItemFlag&&a(t)}function traverseFieldWidgetsOfContainer(t,a){t.type==="grid"?t.cols.forEach(e=>{e.widgetList.forEach(h=>{handleWidgetForTraverse(h,a)})}):t.type==="table"?t.rows.forEach(e=>{e.cols.forEach(h=>{h.widgetList.forEach(f=>{handleWidgetForTraverse(f,a)})})}):t.type==="tab"?t.tabs.forEach(e=>{e.widgetList.forEach(h=>{handleWidgetForTraverse(h,a)})}):t.type==="sub-form"?t.widgetList.forEach(e=>{handleWidgetForTraverse(e,a)}):t.category==="container"&&t.widgetList.forEach(e=>{handleWidgetForTraverse(e,a)})}function getAllFieldWidgets(t){if(!t)return[];let a=[];return traverseFieldWidgets(t,h=>{a.push({type:h.type,name:h.options.name,field:h})}),a}function getAllContainerWidgets(t){if(!t)return[];let a=[];return traverseContainerWidgets(t,h=>{a.push({type:h.type,name:h.options.name,container:h})}),a}function copyToClipboard(t,a,e,h,f){const p=new Clipboard(a.target,{text:()=>t});p.on("success",()=>{e.success(h),p.destroy()}),p.on("error",()=>{e.error(f),p.destroy()}),p.onClick(a)}function getQueryParam(t){let e=window.location.search.substring(1).split("&");for(let h=0;h<e.length;h++){let f=e[h].split("=");if(f[0]==t)return f[1]}}function getDefaultFormConfig(){return{formName:"\u8868\u5355\u540D\u79F0",recordName:[],validTime:{startTimeOpen:!1,startTime:"",endTimeOpen:!1,endTime:""},staffList:{type:"All",list:[]},templateSharing:!0,stopCollection:!1,anonymousFilling:!1,loginRequired:!0,fillInCount:{open:!1,type:"onlyOnce"},respondentsSum:{open:!1,Sum:1},revisability:!1,modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:1,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:"",functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:""}}function buildDefaultFormJson(){return{widgetList:[],formConfig:deepClone(getDefaultFormConfig())}}function isDef(t){return t!=null}function get(t,a){const e=a.split(".");let h=t;return e.forEach(f=>{h=isDef(h)&&isDef(h[f])?h[f]:null}),h}let locale=require$$0$1.reactive({lang:localStorage.getItem("v_form_locale")||"zh-CN"});function createI18n(t){return{messages:t.messages,$st(a,...e){const h=get(this.messages[locale.lang],a);return typeof h=="function"?h(...e):h!==null?h:a},$st2(a,e){let h=this.messages[locale.lang];const f=get(h,a);return f!==null?f:get(h,e)},setLang(a){locale.lang=a}}}var en={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});var a={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};t.default=a})(en);var enLocaleElement=getDefaultExportFromCjs(en),zhCn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});var a={name:"zh-cn",el:{colorpicker:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A"},datepicker:{now:"\u6B64\u523B",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u786E\u5B9A",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",startDate:"\u5F00\u59CB\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",endDate:"\u7ED3\u675F\u65E5\u671F",endTime:"\u7ED3\u675F\u65F6\u95F4",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u540E\u4E00\u5E74",prevMonth:"\u4E0A\u4E2A\u6708",nextMonth:"\u4E0B\u4E2A\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},select:{loading:"\u52A0\u8F7D\u4E2D",noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",placeholder:"\u8BF7\u9009\u62E9"},cascader:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",loading:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9",noData:"\u6682\u65E0\u6570\u636E"},pagination:{goto:"\u524D\u5F80",pagesize:"\u6761/\u9875",total:"\u5171 {total} \u6761",pageClassifier:"\u9875",deprecationWarning:"\u4F60\u4F7F\u7528\u4E86\u4E00\u4E9B\u5DF2\u88AB\u5E9F\u5F03\u7684\u7528\u6CD5\uFF0C\u8BF7\u53C2\u8003 el-pagination \u7684\u5B98\u65B9\u6587\u6863"},messagebox:{title:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!"},upload:{deleteTip:"\u6309 delete \u952E\u53EF\u5220\u9664",delete:"\u5220\u9664",preview:"\u67E5\u770B\u56FE\u7247",continue:"\u7EE7\u7EED\u4E0A\u4F20"},table:{emptyText:"\u6682\u65E0\u6570\u636E",confirmFilter:"\u7B5B\u9009",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8BA1"},tree:{emptyText:"\u6682\u65E0\u6570\u636E"},transfer:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",noCheckedFormat:"\u5171 {total} \u9879",hasCheckedFormat:"\u5DF2\u9009 {checked}/{total} \u9879"},image:{error:"\u52A0\u8F7D\u5931\u8D25"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88"}}};t.default=a})(zhCn);var zhLocaleElement=getDefaultExportFromCjs(zhCn),enLocale={application:{"zh-CN":"\u7B80\u4F53\u4E2D\u6587","en-US":"English",productTitle:"Online Form Designer",github:"GitHub",document:"Docs",qqGroup:"WeChat Group",deployment:"Deployment",subscription:"Subscription"},designer:{componentLib:"Components",formLib:"Templates",containerTitle:"Container",dragHandlerHint:"drag container or field to layout center",dragAction:"drag",basicFieldTitle:"Basic question type",advancedFieldTitle:"Advanced question type",customFieldTitle:"Customized Field",noWidgetHint:"Please select a widget from the left list, drag and drop to this container.",widgetLabel:{grid:"Grid",table:"Table",tab:"Tab",section:"Section","sub-form":"SubForm","grid-col":"GridCol","table-cell":"TableCell","tab-pane":"TabPane","data-table":"DataTable",input:"Completion",textarea:"Textarea",number:"InputNumber",radio:"Single choice question",checkbox:"Multiple choice questions",select:"Select",time:"Time","time-range":"Time range",date:"Date","date-range":"Date range",switch:"Switch",rate:"Rate",color:"ColorPicker",slider:"Slider","static-text":"Text","html-text":"HTML",button:"Button",divider:"Divider",address:"Address","picture-upload":"Picture","file-upload":"File","rich-editor":"Rich Editor",cascader:"Cascader",slot:"Slot",custom:"Custom Component"},hint:{selectParentWidget:"Select parent of this widget",moveUpWidget:"Move up this widget",moveDownWidget:"Move down this widget",cloneWidget:"Clone this widget",insertRow:"Insert new row",insertColumn:"Insert new column",remove:"Remove this widget",cellSetting:"Cell setting",dragHandler:"Drag handler",copyField:"Copy field widget",onlyFieldWidgetAcceptable:"Only field widget can be dragged into sub-form",moveUpFirstChildHint:"First child can not be move up",moveDownLastChildHint:"Last child can not be move down",closePreview:"Close",copyJson:"Copy",saveFormJson:"Save As File",copyVueCode:"Copy Vue Code",copyHtmlCode:"Copy HTML Code",copyJsonSuccess:"Copy succeed",importJsonSuccess:"Import succeed",invalidJsonFormat:"Invalid JSON format",jsonVersionMismatch:"Version of JSON mismatch",copyJsonFail:"Copy failed",copyVueCodeSuccess:"Copy succeed",copyVueCodeFail:"Copy failed",copyHtmlCodeSuccess:"Copy succeed",copyHtmlCodeFail:"Copy failed",saveVueCode:"Save Vue File",saveHtmlCode:"Save Html File",getFormData:"Get Data",resetForm:"Reset",disableForm:"Disable",enableForm:"Enable",exportFormData:"Form Data",copyFormData:"Copy",saveFormData:"Save As File",copyVue2SFC:"Copy Vue2",copyVue3SFC:"Copy Vue3",copySFCFail:"Copy failed",copySFCSuccess:"Copy succeed",saveVue2SFC:"Save As Vue2",saveVue3SFC:"Save As Vue3",fileNameForSave:"File name:",saveFileTitle:"Save as File",fileNameInputPlaceholder:"Enter the file name",sampleLoadedSuccess:"Example loaded successfully",sampleLoadedFail:"Sample load failed",loadFormTemplate:"Load This",loadFormTemplateHint:"Are you sure to load this template?",loadFormTemplateSuccess:"Load form template success!",loadFormTemplateFailed:"Load form template failed.",currentNodeCannotBeSelected:"The current node cannot be selected.",widgetSetting:"Widget Config",formSetting:"Form Config",prompt:"Prompt",confirm:"OK",cancel:"Cancel",import:"Import",importJsonHint:"The code to be imported should have the following JSON format.",invalidOptionsData:"Invalid data of options:",addSucceed:"Successfully added",deleteSucceed:"successfully delete",unselected:"Not selected",lengthOverflow:"Length overflow",lastPaneCannotBeDeleted:"The last pane cannot be deleted.",duplicateName:"Duplicate name: ",nameRequired:"Name required.",numberValidator:"Number",letterValidator:"Letter",letterAndNumberValidator:"LetterAndNumber",mobilePhoneValidator:"MobilePhone",emailValidator:"Email",urlValidator:"URL",noChineseValidator:"Non-Chinese",chineseValidator:"Chinese",rowspanNotConsistentForMergeEntireRow:"Cells in this row don't have the same rowspan, operation failed.",colspanNotConsistentForMergeEntireColumn:"Cells in this column don't have the same colspan, operation failed.",rowspanNotConsistentForDeleteEntireRow:"Cells in this row don't have the same rowspan, operation failed.",colspanNotConsistentForDeleteEntireColumn:"Cells in this column don't have the same colspan, operation failed.",lastColCannotBeDeleted:"The last col cannot be deleted.",lastRowCannotBeDeleted:"The last row cannot be deleted."},toolbar:{undoHint:"Undo",redoHint:"Redo",pcLayout:"PC",padLayout:"Pad",mobileLayout:"H5",nodeTreeHint:"Tree View Of Component Hierarchy",nodeTreeTitle:"Tree View Of Component Hierarchy",clear:"Clear",preview:"Preview",importJson:"Import",exportJson:"Export",exportCode:"Codes",generateCode:"Generate Code",generateSFC:"Generate SFC"},setting:{basicSetting:"Common Settings",billSetting:"Fill setting",afterSubmittingTheForm:"After submitting the form",contentSetting:"content Setting",attributeSetting:"Attribute Setting",commonSetting:"Common Setting",advancedSetting:"Advanced Setting",eventSetting:"Event Setting",uniqueName:"Unique Name",editNameHelp:"Press enter to confirm the modification",label:"Item Content",displayType:"Type",defaultValue:"Default Value",value:"value",explain:"explain",common:"Common Questions",tableShow:"Whether to display in the table",tableSearch:"Searchable in the table",tableSort:"Sortable in the table",relevancy:"relevancy",minimum:"Minimum Check",maximum:"Maximum Check",mutex:"Set mutually exclusive options",placeholder:"Placeholder",startPlaceholder:"Start Placeholder",endPlaceholder:"End Placeholder",widgetColumnWidth:"Width",widgetSize:"Size",autoFullWidth:"Auto Full Width",showStops:"Show Stops",displayStyle:"Display Style",inlineLayout:"inline",blockLayout:"block",buttonStyle:"Show As Button",border:"Show Border",labelWidth:"Width Of Label",rows:"Rows",labelHidden:"Hide Label",required:"Required",requiredHint:"Failure Hint",validation:"Validation",validationHelp:"Regular expressions supported",validationHint:"Validation Hint",readonly:"Readonly",disabled:"Disabled",hidden:"Hidden",textContent:"Text",htmlContent:"HTML",clearable:"Clearable",editable:"Editable",IsRange:"IS Range",isMapShow:"On the map",isWaterMark:"watermark",elseOption:"Else Option",format:"Format",valueFormat:"Value Format",showPassword:"Show Reveal",filterable:"Filterable",allowCreate:"Allow Create",remote:"Remote Query",automaticDropdown:"Automatic Dropdown",multiple:"Multiple",multipleLimit:"Multiple Limit",checkStrictly:"Any Level Selectable",showAllLevels:"Show All Levels",cascaderImportType:"Import Question Type",contentPosition:"Content Position",plain:"Plain",round:"Round",circle:"Circle",icon:"Icon",optionsSetting:"Options Setting",addOption:"Add Option",updateOptions:"Update Options",deleteOption:"Delete Option",resetDefault:"Reset Default",uploadSetting:"Upload Setting",uploadURL:"Upload URL",uploadTip:"Tip Content",withCredentials:"Send Cookie",multipleSelect:"File Multi-select",showFileList:"Show File List",limit:"Max Upload Number",fileMaxSize:"Max Size(MB)",fileTypes:"Upload File Types",fileTypesHelp:"Allows to add more file types",headers:"Request Headers",cellWidth:"Width",cellHeight:"Height",gridColHeight:"Height Of Col(px)",gutter:"Gutter(px)",columnSetting:"Cols Setting",colsOfGrid:"Cols Of Grid:",colSpanTitle:"Spans Of Col",colOffsetTitle:"Offset Of Col",colPushTitle:"Push Of Col",colPullTitle:"Pull Of Col",addColumn:"Add Column",responsive:"Responsive",tabPaneSetting:"Tab Panes",addTabPane:"Add Tab Pane",paneActive:"Active",customLabelIcon:"Custom Label",labelIconClass:"Label Icon Class",labelIconPosition:"Label Icon Position",labelTooltip:"Label Tooltip",minValue:"Min Value",maxValue:"Max Value",precision:"Precision",step:"Step",controlsPosition:"Controls Position",minLength:"Min Length",maxLength:"Max Length",showWordLimit:"Show Word Limit",prefixIcon:"Prefix Icon",suffixIcon:"Suffix Icon",inputButton:"Input Button Setting",appendButton:"Append Button",appendButtonDisabled:"Button Disabled",appendButtonIcon:"Append Button Icon",buttonIcon:"Button Icon",switchWidth:"Width of Switch(px)",activeText:"Active Text",inactiveText:"Inactive Text",activeColor:"Active Color",inactiveColor:"Inactive Color",maxStars:"Stars Max Number",lowThreshold:"Low Threshold",highThreshold:"High Threshold",allowHalf:"Allow Half",showText:"Show Text",showScore:"Show Score",range:"Range",vertical:"Vertical",showBlankRow:"Show Blank Row",showRowNumber:"Show Row Number",contentHeight:"Content Area Height",insertColumnToLeft:"insert column to left",insertColumnToRight:"insert column to right",insertRowAbove:"insert row above",insertRowBelow:"insert row below",mergeLeftColumn:"merge left cell",mergeRightColumn:"merge right cell",mergeEntireRow:"merge entire row",mergeRowAbove:"merge cell above",mergeRowBelow:"merge cell below",mergeEntireColumn:"merge entire column",undoMergeCol:"undo merge column",undoMergeRow:"undo merge row",deleteEntireCol:"delete entire column",deleteEntireRow:"delete entire row",widgetName:"Unique Name",formSize:"Size",formName:"Form Name",recordName:"Record Name",validTime:"valid time",staffList:"Who can fill in",templateSharing:"Shared form template",stopCollection:"Stop collection",anonymousFilling:"Anonymous filling",loginRequired:"Login required for filling",fillInCount:"User filling times",respondentsSum:"Total number of answers",revisability:"It can be modified after submission",labelPosition:"Position Of Label",topPosition:"Top",leftPosition:"Left",labelAlign:"Label Align",leftAlign:"Left",centerAlign:"Center",rightAlign:"Right",formCss:"Form CSS",addCss:"Edit",customClass:"Custom Class",globalFunctions:"Global Functions",addEventHandler:"Edit",editWidgetEventHandler:"Edit Widget Event Handler",editFormEventHand