epic-designer-gold 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ETable-adkZzXhI.cjs +1 -0
- package/dist/ETable-ogvH56w7.js +50 -0
- package/dist/ETd-BCM7zA8V.cjs +1 -0
- package/dist/{row-DAy14ve9.js → ETd-CRUvOVnZ.js} +13 -13
- package/dist/ETr-BqGghav2.cjs +1 -0
- package/dist/ETr-nIjGkdzO.js +43 -0
- package/dist/{attributeView-C_rnFDGo.js → attributeView-4j---k7X.js} +7 -7
- package/dist/attributeView-DOL6IUO8.cjs +1 -0
- package/dist/axios-CXDYiOMX.js +1704 -0
- package/dist/axios-tuVKNgv9.cjs +6 -0
- package/dist/card-C9ua0f7r.cjs +1 -0
- package/dist/card-CI6L3YKU.js +33 -0
- package/dist/cell-AML-qIH9.cjs +1 -0
- package/dist/cell-B_q5hgzb.js +35 -0
- package/dist/col-C4lVVBzC.cjs +1 -0
- package/dist/col-DcVPBKEc.js +31 -0
- package/dist/core/components/builder/src/builder.vue.d.ts +2 -2
- package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +2 -0
- package/dist/core/components/node/src/node.vue.d.ts +3 -2
- package/dist/core/extensions/EColumnEditor/columnItem.vue.d.ts +10 -0
- package/dist/core/extensions/EColumnEditor/index.vue.d.ts +18 -0
- package/dist/core/extensions/PaddingMarginControl/index.vue.d.ts +10 -0
- package/dist/eventView-5fa6mfSD.cjs +1 -0
- package/dist/eventView-C2wKhfU_.js +63 -0
- package/dist/{form-CthzLIgs.cjs → form-Bofkrmkd.cjs} +1 -1
- package/dist/{form-6cUK-Ari.js → form-VbfBmb63.js} +5 -5
- package/dist/iframe-CRF3GSRv.cjs +1 -0
- package/dist/iframe-Fgbk3vqJ.js +48 -0
- package/dist/{index-CeVV_SOj.js → index--PWf2Ut2.js} +3 -3
- package/dist/{index-CoCyrWM2.js → index-B0OgKtuT.js} +72 -71
- package/dist/{index-DWxy0GSJ.js → index-B1s67XDZ.js} +11 -15
- package/dist/index-B4sqskGf.cjs +1 -0
- package/dist/{index-DaJuXp0q.cjs → index-BBVUGri_.cjs} +1 -1
- package/dist/index-BEUYVwRA.cjs +1 -0
- package/dist/index-BHZbtFEF.cjs +1 -0
- package/dist/index-BJHU3Dzu.js +839 -0
- package/dist/{index-BpROfyMH.cjs → index-BoL2PSBk.cjs} +1 -1
- package/dist/index-CCCx1tbF.cjs +1 -0
- package/dist/index-CPkRsFQ7.cjs +1 -0
- package/dist/index-CXI_7l7O.js +1422 -0
- package/dist/{index-DK4PrvRF.cjs → index-CYxg6AdN.cjs} +1 -1
- package/dist/{index-P13z5c0g.js → index-Cctdx_Vq.js} +3 -3
- package/dist/index-CdnV7DS4.js +265 -0
- package/dist/{index-BfdYrl-Q.js → index-Cln9MN7u.js} +1 -1
- package/dist/{index-BEMPXyNN.js → index-CpTA2IRB.js} +2 -2
- package/dist/index-CpevxZqj.cjs +1 -0
- package/dist/{index-AH-Lj15r.js → index-CraRg8wh.js} +6 -6
- package/dist/{index-cElDeAm2.js → index-Cx7gKpkD.js} +2 -2
- package/dist/index-DOZPyH6X.cjs +10 -0
- package/dist/index-DYQi05p8.cjs +1 -0
- package/dist/index-Dftp7CV4.cjs +1 -0
- package/dist/index-DiQ4ZTF7.js +142 -0
- package/dist/index-DqLjoo13.cjs +1 -0
- package/dist/index-Dz59dUur.cjs +1 -0
- package/dist/{index-Ce470l1n.js → index-DzC3poxn.js} +3 -3
- package/dist/index-FgdbKgb5.cjs +1 -0
- package/dist/{index-CFZioB1O.js → index-IGxCNti8.js} +48 -28
- package/dist/index-JlyEcj-r.js +4 -0
- package/dist/index-R2r9Rw5O.cjs +1 -0
- package/dist/{index-DENcRmIy.js → index-WkZdU_zw.js} +2 -2
- package/dist/index-v2u1WTMm.cjs +1 -0
- package/dist/{index-DpF9E6J8.js → index-zxyA8Keq.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/modal-DCBqsiP2.cjs +1 -0
- package/dist/modal-DZRBS-Mt.js +58 -0
- package/dist/outline-BE98qFHQ.cjs +1 -0
- package/dist/{outline-DQ8wgGyH.js → outline-Ch5PHy3c.js} +2 -2
- package/dist/pluginManager-BCnrHPYv.js +660 -0
- package/dist/pluginManager-DWHAX8kP.cjs +1 -0
- package/dist/sign-BS-9u6is.cjs +1 -0
- package/dist/{sign-Dfqcv4Fg.js → sign-l63EYvVo.js} +21 -20
- package/dist/style.css +1 -1
- package/dist/styleView-CNmD046X.cjs +1 -0
- package/dist/styleView-DLmxP2vS.js +140 -0
- package/dist/tabPanel-CXZYMEwi.cjs +1 -0
- package/dist/{col-D4hvKfJ6.js → tabPanel-DAw7ENrC.js} +7 -7
- package/dist/table-75K2lqjD.js +65 -0
- package/dist/table-CN2LNWqY.cjs +1 -0
- package/dist/tabs-CYH9lAUk.cjs +1 -0
- package/dist/tabs-DCyifACM.js +41 -0
- package/dist/text-B92ioaoV.cjs +1 -0
- package/dist/text-C-b94tBH.js +47 -0
- package/dist/{tree.vue_vue_type_script_setup_true_lang-B-8wkdQS.js → tree.vue_vue_type_script_setup_true_lang-BsVyMb-n.js} +2 -2
- package/dist/tree.vue_vue_type_script_setup_true_lang-VGvT-OYl.cjs +1 -0
- package/dist/ui/elementPlus/ETable/ETable.d.ts +20 -0
- package/dist/ui/elementPlus/ETd/ETd.d.ts +20 -0
- package/dist/ui/elementPlus/ETr/ETr.d.ts +20 -0
- package/dist/ui/elementPlus/ETr/index.d.ts +3 -0
- package/dist/ui/elementPlus/iframe/iframe.d.ts +29 -0
- package/dist/ui/elementPlus/iframe/index.d.ts +3 -0
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +904 -403
- package/dist/ui/elementPlus/rate/index.d.ts +3 -0
- package/dist/ui/elementPlus/tab-panel/index.d.ts +3 -0
- package/dist/ui/elementPlus/table/table.d.ts +9 -0
- package/dist/ui/elementPlus/table-cell/index.d.ts +3 -0
- package/dist/ui/elementPlus/tabs/index.d.ts +2 -0
- package/dist/ui/elementPlus/tabs/tabs.d.ts +29 -0
- package/dist/ui/elementPlus/text/text.d.ts +9 -0
- package/dist/ui/naiveUi/index.cjs +1 -1
- package/dist/ui/naiveUi/index.js +1 -1
- package/dist/uploadFile-pgvj4Lm9.cjs +1 -0
- package/dist/uploadFile-qCbXuHfd.js +81 -0
- package/dist/uploadImage-B3sOX-5F.cjs +1 -0
- package/dist/{uploadImage-B3tV49Mm.cjs → uploadImage-CNMsK4Lh.cjs} +1 -1
- package/dist/uploadImage-DQmVV0jl.js +121 -0
- package/dist/{uploadImage-Z6Y6KN1R.js → uploadImage-VFICaVgX.js} +1 -1
- package/package.json +1 -1
- package/vite.config.ts.timestamp-1748427578982-d7ce374e905ab.mjs +78 -0
- package/dist/attributeView-CEFjPemt.cjs +0 -1
- package/dist/axios-B5oA4AjJ.cjs +0 -6
- package/dist/axios-awtfJhsA.js +0 -2362
- package/dist/card-BowzD9vN.cjs +0 -1
- package/dist/card-CNGNDzPp.js +0 -31
- package/dist/col-B1GUMkMK.cjs +0 -1
- package/dist/col-BNNn9Yx8.cjs +0 -1
- package/dist/col-u5YiB-UK.js +0 -41
- package/dist/index-B0rUZfG_.js +0 -742
- package/dist/index-BOUKAGKU.cjs +0 -1
- package/dist/index-B_BKVTct.cjs +0 -1
- package/dist/index-Ba8KVYrQ.cjs +0 -1
- package/dist/index-BnLI5N3M.cjs +0 -1
- package/dist/index-BxCrqMkz.cjs +0 -1
- package/dist/index-CBBK4Aze.cjs +0 -1
- package/dist/index-CDTcUcwY.cjs +0 -1
- package/dist/index-Cq5wbnmA.cjs +0 -1
- package/dist/index-D8olMR4m.cjs +0 -10
- package/dist/index-DfRZtELz.js +0 -4
- package/dist/index-J9twEwWw.cjs +0 -1
- package/dist/index-oMkqg9Zb.js +0 -1367
- package/dist/index-tR-Y01R8.cjs +0 -1
- package/dist/index-vzxiD3pz.cjs +0 -1
- package/dist/modal-BLOgN3us.cjs +0 -1
- package/dist/modal-UFu4bD6x.js +0 -57
- package/dist/outline-JJ0IbSzs.cjs +0 -1
- package/dist/row-BWnbt6dh.cjs +0 -1
- package/dist/sign-BBoshwS_.cjs +0 -1
- package/dist/styleView-CZEOSq2l.cjs +0 -1
- package/dist/styleView-CajgzMOm.js +0 -106
- package/dist/table-CnBJm7Bx.js +0 -43
- package/dist/table-DM2-xHlv.cjs +0 -1
- package/dist/text-C-52xLjs.js +0 -33
- package/dist/text-X9fl5oe8.cjs +0 -1
- package/dist/tree.vue_vue_type_script_setup_true_lang-BS6Anq-8.cjs +0 -1
- package/dist/uploadFile-BHn9oVA8.cjs +0 -1
- package/dist/uploadFile-D_0_6ghp.js +0 -77
- package/dist/uploadImage-4U4YGGfK.js +0 -96
- package/dist/uploadImage-C-OyUMFn.cjs +0 -1
- /package/dist/ui/elementPlus/{table-col → ETable}/index.d.ts +0 -0
- /package/dist/ui/elementPlus/{table-row → ETd}/index.d.ts +0 -0
- /package/dist/ui/elementPlus/{table-col/col.d.ts → tab-panel/tabPanel.d.ts} +0 -0
- /package/dist/ui/elementPlus/{table-row/row.d.ts → table-cell/cell.d.ts} +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";function Ne(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ze}=Object.prototype,{getPrototypeOf:ce}=Object,$=(e=>t=>{const n=Ze.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),C=e=>(e=e.toLowerCase(),t=>$(t)===e),v=e=>t=>typeof t===e,{isArray:U}=Array,q=v("undefined");function Ye(e){return e!==null&&!q(e)&&e.constructor!==null&&!q(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Pe=C("ArrayBuffer");function et(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Pe(e.buffer),t}const tt=v("string"),x=v("function"),_e=v("number"),K=e=>e!==null&&typeof e=="object",nt=e=>e===!0||e===!1,z=e=>{if($(e)!=="object")return!1;const t=ce(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rt=C("Date"),st=C("File"),ot=C("Blob"),it=C("FileList"),at=e=>K(e)&&x(e.pipe),ct=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||x(e.append)&&((t=$(e))==="formdata"||t==="object"&&x(e.toString)&&e.toString()==="[object FormData]"))},ut=C("URLSearchParams"),[lt,ft,dt,pt]=["ReadableStream","Request","Response","Headers"].map(C),ht=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function I(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),U(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let c;for(r=0;r<i;r++)c=o[r],t.call(null,e[c],c,e)}}function Fe(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const L=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Le=e=>!q(e)&&e!==L;function te(){const{caseless:e}=Le(this)&&this||{},t={},n=(r,s)=>{const o=e&&Fe(t,s)||s;z(t[o])&&z(r)?t[o]=te(t[o],r):z(r)?t[o]=te({},r):U(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&I(arguments[r],n);return t}const mt=(e,t,n,{allOwnKeys:r}={})=>(I(t,(s,o)=>{n&&x(s)?e[o]=Ne(s,n):e[o]=s},{allOwnKeys:r}),e),yt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},wt=(e,t,n,r)=>{let s,o,i;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&ce(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Et=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Rt=e=>{if(!e)return null;if(U(e))return e;let t=e.length;if(!_e(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},St=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ce(Uint8Array)),gt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Ot=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Tt=C("HTMLFormElement"),At=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),he=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xt=C("RegExp"),Be=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};I(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Ct=e=>{Be(e,(t,n)=>{if(x(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(x(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Nt=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return U(e)?r(e):r(String(e).split(t)),n},Pt=()=>{},_t=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Q="abcdefghijklmnopqrstuvwxyz",me="0123456789",De={DIGIT:me,ALPHA:Q,ALPHA_DIGIT:Q+Q.toUpperCase()+me},Ft=(e=16,t=De.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Lt(e){return!!(e&&x(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Bt=e=>{const t=new Array(10),n=(r,s)=>{if(K(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=U(r)?[]:{};return I(r,(i,c)=>{const f=n(i,s+1);!q(f)&&(o[c]=f)}),t[s]=void 0,o}}return r};return n(e,0)},Dt=C("AsyncFunction"),Ut=e=>e&&(K(e)||x(e))&&x(e.then)&&x(e.catch),Ue=((e,t)=>e?setImmediate:t?((n,r)=>(L.addEventListener("message",({source:s,data:o})=>{s===L&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),L.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",x(L.postMessage)),kt=typeof queueMicrotask<"u"?queueMicrotask.bind(L):typeof process<"u"&&process.nextTick||Ue,a={isArray:U,isArrayBuffer:Pe,isBuffer:Ye,isFormData:ct,isArrayBufferView:et,isString:tt,isNumber:_e,isBoolean:nt,isObject:K,isPlainObject:z,isReadableStream:lt,isRequest:ft,isResponse:dt,isHeaders:pt,isUndefined:q,isDate:rt,isFile:st,isBlob:ot,isRegExp:xt,isFunction:x,isStream:at,isURLSearchParams:ut,isTypedArray:St,isFileList:it,forEach:I,merge:te,extend:mt,trim:ht,stripBOM:yt,inherits:bt,toFlatObject:wt,kindOf:$,kindOfTest:C,endsWith:Et,toArray:Rt,forEachEntry:gt,matchAll:Ot,isHTMLForm:Tt,hasOwnProperty:he,hasOwnProp:he,reduceDescriptors:Be,freezeMethods:Ct,toObjectSet:Nt,toCamelCase:At,noop:Pt,toFiniteNumber:_t,findKey:Fe,global:L,isContextDefined:Le,ALPHABET:De,generateString:Ft,isSpecCompliantForm:Lt,toJSONObject:Bt,isAsyncFn:Dt,isThenable:Ut,setImmediate:Ue,asap:kt};function m(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(m,Error,{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:a.toJSONObject(this.config),code:this.code,status:this.status}}});const ke=m.prototype,je={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{je[e]={value:e}});Object.defineProperties(m,je);Object.defineProperty(ke,"isAxiosError",{value:!0});m.from=(e,t,n,r,s,o)=>{const i=Object.create(ke);return a.toFlatObject(e,i,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),m.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const jt=null;function ne(e){return a.isPlainObject(e)||a.isArray(e)}function qe(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function ye(e,t,n){return e?e.concat(t).map(function(s,o){return s=qe(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function qt(e){return a.isArray(e)&&!e.some(ne)}const It=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function G(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,h){return!a.isUndefined(h[y])});const r=n.metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(a.isDate(p))return p.toISOString();if(!f&&a.isBlob(p))throw new m("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(p)||a.isTypedArray(p)?f&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,y,h){let w=p;if(p&&!h&&typeof p=="object"){if(a.endsWith(y,"{}"))y=r?y:y.slice(0,-2),p=JSON.stringify(p);else if(a.isArray(p)&&qt(p)||(a.isFileList(p)||a.endsWith(y,"[]"))&&(w=a.toArray(p)))return y=qe(y),w.forEach(function(g,N){!(a.isUndefined(g)||g===null)&&t.append(i===!0?ye([y],N,o):i===null?y:y+"[]",u(g))}),!1}return ne(p)?!0:(t.append(ye(h,y,o),u(p)),!1)}const d=[],b=Object.assign(It,{defaultVisitor:l,convertValue:u,isVisitable:ne});function R(p,y){if(!a.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(p),a.forEach(p,function(w,S){(!(a.isUndefined(w)||w===null)&&s.call(t,w,a.isString(S)?S.trim():S,y,b))===!0&&R(w,y?y.concat(S):[S])}),d.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return R(e),t}function be(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ue(e,t){this._pairs=[],e&&G(e,this,t)}const Ie=ue.prototype;Ie.append=function(t,n){this._pairs.push([t,n])};Ie.toString=function(t){const n=t?function(r){return t.call(this,r,be)}:be;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Ht(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function He(e,t,n){if(!t)return e;const r=n&&n.encode||Ht,s=n&&n.serialize;let o;if(s?o=s(t,n):o=a.isURLSearchParams(t)?t.toString():new ue(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class we{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Me={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Mt=typeof URLSearchParams<"u"?URLSearchParams:ue,zt=typeof FormData<"u"?FormData:null,Jt=typeof Blob<"u"?Blob:null,Vt={isBrowser:!0,classes:{URLSearchParams:Mt,FormData:zt,Blob:Jt},protocols:["http","https","file","blob","url","data"]},le=typeof window<"u"&&typeof document<"u",re=typeof navigator=="object"&&navigator||void 0,Wt=le&&(!re||["ReactNative","NativeScript","NS"].indexOf(re.product)<0),$t=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vt=le&&window.location.href||"http://localhost",Kt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:le,hasStandardBrowserEnv:Wt,hasStandardBrowserWebWorkerEnv:$t,navigator:re,origin:vt},Symbol.toStringTag,{value:"Module"})),T={...Kt,...Vt};function Gt(e,t){return G(e,new T.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return T.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Xt(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Qt(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function ze(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),f=o>=n.length;return i=!i&&a.isArray(s)?s.length:i,f?(a.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!c):((!s[i]||!a.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&a.isArray(s[i])&&(s[i]=Qt(s[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(Xt(r),s,n,0)}),n}return null}function Zt(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const H={transitional:Me,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(ze(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Gt(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return G(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Zt(t)):t}],transformResponse:[function(t){const n=this.transitional||H.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?m.from(c,m.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:T.classes.FormData,Blob:T.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{H.headers[e]={}});const Yt=a.toObjectSet(["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"]),en=e=>{const t={};let n,r,s;return e&&e.split(`
|
|
2
|
+
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Yt[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ee=Symbol("internals");function j(e){return e&&String(e).trim().toLowerCase()}function J(e){return e===!1||e==null?e:a.isArray(e)?e.map(J):String(e)}function tn(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const nn=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Z(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function rn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function sn(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class A{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(c,f,u){const l=j(f);if(!l)throw new Error("header name must be a non-empty string");const d=a.findKey(s,l);(!d||s[d]===void 0||u===!0||u===void 0&&s[d]!==!1)&&(s[d||f]=J(c))}const i=(c,f)=>a.forEach(c,(u,l)=>o(u,l,f));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(a.isString(t)&&(t=t.trim())&&!nn(t))i(en(t),n);else if(a.isHeaders(t))for(const[c,f]of t.entries())o(f,c,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=j(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return tn(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=j(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Z(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=j(i),i){const c=a.findKey(r,i);c&&(!n||Z(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Z(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=J(s),delete n[o];return}const c=t?rn(o):String(o).trim();c!==o&&delete n[o],n[c]=J(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
3
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Ee]=this[Ee]={accessors:{}}).accessors,s=this.prototype;function o(i){const c=j(i);r[c]||(sn(s,i),r[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}}A.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(A.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(A);function Y(e,t){const n=this||H,r=t||n,s=A.from(r.headers);let o=r.data;return a.forEach(e,function(c){o=c.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Je(e){return!!(e&&e.__CANCEL__)}function k(e,t,n){m.call(this,e??"canceled",m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(k,m,{__CANCEL__:!0});function Ve(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function on(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function an(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const u=Date.now(),l=r[o];i||(i=u),n[s]=f,r[s]=u;let d=o,b=0;for(;d!==s;)b+=n[d++],d=d%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const R=l&&u-l;return R?Math.round(b*1e3/R):void 0}}function cn(e,t){let n=0,r=1e3/t,s,o;const i=(u,l=Date.now())=>{n=l,s=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),d=l-n;d>=r?i(u,l):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-d)))},()=>s&&i(s)]}const V=(e,t,n=3)=>{let r=0;const s=an(50,250);return cn(o=>{const i=o.loaded,c=o.lengthComputable?o.total:void 0,f=i-r,u=s(f),l=i<=c;r=i;const d={loaded:i,total:c,progress:c?i/c:void 0,bytes:f,rate:u||void 0,estimated:u&&c&&l?(c-i)/u:void 0,event:o,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(d)},n)},Re=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Se=e=>(...t)=>a.asap(()=>e(...t)),un=T.hasStandardBrowserEnv?function(){const t=T.navigator&&/(msie|trident)/i.test(T.navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const c=a.isString(i)?s(i):i;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}(),ln=T.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function fn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function dn(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function We(e,t){return e&&!fn(t)?dn(e,t):t}const ge=e=>e instanceof A?{...e}:e;function D(e,t){t=t||{};const n={};function r(u,l,d){return a.isPlainObject(u)&&a.isPlainObject(l)?a.merge.call({caseless:d},u,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function s(u,l,d){if(a.isUndefined(l)){if(!a.isUndefined(u))return r(void 0,u,d)}else return r(u,l,d)}function o(u,l){if(!a.isUndefined(l))return r(void 0,l)}function i(u,l){if(a.isUndefined(l)){if(!a.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function c(u,l,d){if(d in t)return r(u,l);if(d in e)return r(void 0,u)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(u,l)=>s(ge(u),ge(l),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(l){const d=f[l]||s,b=d(e[l],t[l],l);a.isUndefined(b)&&d!==c||(n[l]=b)}),n}const $e=e=>{const t=D({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:c}=t;t.headers=i=A.from(i),t.url=He(We(t.baseURL,t.url),e.params,e.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let f;if(a.isFormData(n)){if(T.hasStandardBrowserEnv||T.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((f=i.getContentType())!==!1){const[u,...l]=f?f.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...l].join("; "))}}if(T.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(t)),r||r!==!1&&un(t.url))){const u=s&&o&&ln.read(o);u&&i.set(s,u)}return t},pn=typeof XMLHttpRequest<"u",hn=pn&&function(e){return new Promise(function(n,r){const s=$e(e);let o=s.data;const i=A.from(s.headers).normalize();let{responseType:c,onUploadProgress:f,onDownloadProgress:u}=s,l,d,b,R,p;function y(){R&&R(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(l),s.signal&&s.signal.removeEventListener("abort",l)}let h=new XMLHttpRequest;h.open(s.method.toUpperCase(),s.url,!0),h.timeout=s.timeout;function w(){if(!h)return;const g=A.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),O={data:!c||c==="text"||c==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:g,config:e,request:h};Ve(function(F){n(F),y()},function(F){r(F),y()},O),h=null}"onloadend"in h?h.onloadend=w:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(w)},h.onabort=function(){h&&(r(new m("Request aborted",m.ECONNABORTED,e,h)),h=null)},h.onerror=function(){r(new m("Network Error",m.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let N=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const O=s.transitional||Me;s.timeoutErrorMessage&&(N=s.timeoutErrorMessage),r(new m(N,O.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,h)),h=null},o===void 0&&i.setContentType(null),"setRequestHeader"in h&&a.forEach(i.toJSON(),function(N,O){h.setRequestHeader(O,N)}),a.isUndefined(s.withCredentials)||(h.withCredentials=!!s.withCredentials),c&&c!=="json"&&(h.responseType=s.responseType),u&&([b,p]=V(u,!0),h.addEventListener("progress",b)),f&&h.upload&&([d,R]=V(f),h.upload.addEventListener("progress",d),h.upload.addEventListener("loadend",R)),(s.cancelToken||s.signal)&&(l=g=>{h&&(r(!g||g.type?new k(null,e,h):g),h.abort(),h=null)},s.cancelToken&&s.cancelToken.subscribe(l),s.signal&&(s.signal.aborted?l():s.signal.addEventListener("abort",l)));const S=on(s.url);if(S&&T.protocols.indexOf(S)===-1){r(new m("Unsupported protocol "+S+":",m.ERR_BAD_REQUEST,e));return}h.send(o||null)})},mn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(u){if(!s){s=!0,c();const l=u instanceof Error?u:this.reason;r.abort(l instanceof m?l:new k(l instanceof Error?l.message:l))}};let i=t&&setTimeout(()=>{i=null,o(new m(`timeout ${t} of ms exceeded`,m.ETIMEDOUT))},t);const c=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:f}=r;return f.unsubscribe=()=>a.asap(c),f}},yn=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},bn=async function*(e,t){for await(const n of wn(e))yield*yn(n,t)},wn=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Oe=(e,t,n,r)=>{const s=bn(e,t);let o=0,i,c=f=>{i||(i=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:u,value:l}=await s.next();if(u){c(),f.close();return}let d=l.byteLength;if(n){let b=o+=d;n(b)}f.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(f){return c(f),s.return()}},{highWaterMark:2})},X=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ve=X&&typeof ReadableStream=="function",En=X&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ke=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Rn=ve&&Ke(()=>{let e=!1;const t=new Request(T.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Te=64*1024,se=ve&&Ke(()=>a.isReadableStream(new Response("").body)),W={stream:se&&(e=>e.body)};X&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!W[t]&&(W[t]=a.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new m(`Response type '${t}' is not supported`,m.ERR_NOT_SUPPORT,r)})})})(new Response);const Sn=async e=>{if(e==null)return 0;if(a.isBlob(e))return e.size;if(a.isSpecCompliantForm(e))return(await new Request(T.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(a.isArrayBufferView(e)||a.isArrayBuffer(e))return e.byteLength;if(a.isURLSearchParams(e)&&(e=e+""),a.isString(e))return(await En(e)).byteLength},gn=async(e,t)=>{const n=a.toFiniteNumber(e.getContentLength());return n??Sn(t)},On=X&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:c,onUploadProgress:f,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:b}=$e(e);u=u?(u+"").toLowerCase():"text";let R=mn([s,o&&o.toAbortSignal()],i),p;const y=R&&R.unsubscribe&&(()=>{R.unsubscribe()});let h;try{if(f&&Rn&&n!=="get"&&n!=="head"&&(h=await gn(l,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),P;if(a.isFormData(r)&&(P=O.headers.get("content-type"))&&l.setContentType(P),O.body){const[F,M]=Re(h,V(Se(f)));r=Oe(O.body,Te,F,M)}}a.isString(d)||(d=d?"include":"omit");const w="credentials"in Request.prototype;p=new Request(t,{...b,signal:R,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:w?d:void 0});let S=await fetch(p);const g=se&&(u==="stream"||u==="response");if(se&&(c||g&&y)){const O={};["status","statusText","headers"].forEach(pe=>{O[pe]=S[pe]});const P=a.toFiniteNumber(S.headers.get("content-length")),[F,M]=c&&Re(P,V(Se(c),!0))||[];S=new Response(Oe(S.body,Te,F,()=>{M&&M(),y&&y()}),O)}u=u||"text";let N=await W[a.findKey(W,u)||"text"](S,e);return!g&&y&&y(),await new Promise((O,P)=>{Ve(O,P,{data:N,headers:A.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:p})})}catch(w){throw y&&y(),w&&w.name==="TypeError"&&/fetch/i.test(w.message)?Object.assign(new m("Network Error",m.ERR_NETWORK,e,p),{cause:w.cause||w}):m.from(w,w&&w.code,e,p)}}),oe={http:jt,xhr:hn,fetch:On};a.forEach(oe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ae=e=>`- ${e}`,Tn=e=>a.isFunction(e)||e===null||e===!1,Ge={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!Tn(n)&&(r=oe[(i=String(n)).toLowerCase()],r===void 0))throw new m(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
|
|
4
|
+
`+o.map(Ae).join(`
|
|
5
|
+
`):" "+Ae(o[0]):"as no adapter specified";throw new m("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:oe};function ee(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new k(null,e)}function xe(e){return ee(e),e.headers=A.from(e.headers),e.data=Y.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ge.getAdapter(e.adapter||H.adapter)(e).then(function(r){return ee(e),r.data=Y.call(e,e.transformResponse,r),r.headers=A.from(r.headers),r},function(r){return Je(r)||(ee(e),r&&r.response&&(r.response.data=Y.call(e,e.transformResponse,r.response),r.response.headers=A.from(r.response.headers))),Promise.reject(r)})}const Xe="1.7.7",fe={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{fe[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ce={};fe.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Xe+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,c)=>{if(t===!1)throw new m(s(i," has been removed"+(n?" in "+n:"")),m.ERR_DEPRECATED);return n&&!Ce[i]&&(Ce[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,c):!0}};function An(e,t,n){if(typeof e!="object")throw new m("options must be an object",m.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const c=e[o],f=c===void 0||i(c,o,e);if(f!==!0)throw new m("option "+o+" must be "+f,m.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new m("Unknown option "+o,m.ERR_BAD_OPTION)}}const ie={assertOptions:An,validators:fe},_=ie.validators;class B{constructor(t){this.defaults=t,this.interceptors={request:new we,response:new we}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
6
|
+
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=D(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&ie.assertOptions(r,{silentJSONParsing:_.transitional(_.boolean),forcedJSONParsing:_.transitional(_.boolean),clarifyTimeoutError:_.transitional(_.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:ie.assertOptions(s,{encode:_.function,serialize:_.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=A.concat(i,o);const c=[];let f=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(f=f&&y.synchronous,c.unshift(y.fulfilled,y.rejected))});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let l,d=0,b;if(!f){const p=[xe.bind(this),void 0];for(p.unshift.apply(p,c),p.push.apply(p,u),b=p.length,l=Promise.resolve(n);d<b;)l=l.then(p[d++],p[d++]);return l}b=c.length;let R=n;for(d=0;d<b;){const p=c[d++],y=c[d++];try{R=p(R)}catch(h){y.call(this,h);break}}try{l=xe.call(this,R)}catch(p){return Promise.reject(p)}for(d=0,b=u.length;d<b;)l=l.then(u[d++],u[d++]);return l}getUri(t){t=D(this.defaults,t);const n=We(t.baseURL,t.url);return He(n,t.params,t.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){B.prototype[t]=function(n,r){return this.request(D(r||{},{method:t,url:n,data:(r||{}).data}))}});a.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,c){return this.request(D(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}B.prototype[t]=n(),B.prototype[t+"Form"]=n(!0)});class de{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(c=>{r.subscribe(c),o=c}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,c){r.reason||(r.reason=new k(o,i,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new de(function(s){t=s}),cancel:t}}}function xn(e){return function(n){return e.apply(null,n)}}function Cn(e){return a.isObject(e)&&e.isAxiosError===!0}const ae={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ae).forEach(([e,t])=>{ae[t]=e});function Qe(e){const t=new B(e),n=Ne(B.prototype.request,t);return a.extend(n,B.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Qe(D(e,s))},n}const E=Qe(H);E.Axios=B;E.CanceledError=k;E.CancelToken=de;E.isCancel=Je;E.VERSION=Xe;E.toFormData=G;E.AxiosError=m;E.Cancel=E.CanceledError;E.all=function(t){return Promise.all(t)};E.spread=xn;E.isAxiosError=Cn;E.mergeConfig=D;E.AxiosHeaders=A;E.formToJSON=e=>ze(a.isHTMLForm(e)?new FormData(e):e);E.getAdapter=Ge.getAdapter;E.HttpStatusCode=ae;E.default=E;exports.axios=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("element-plus"),u=e.defineComponent({props:{componentSchema:{type:Object,required:!0,default:()=>({})}},setup(o,{attrs:m,slots:t}){return()=>{var d;const n={...o.componentSchema,header:((d=o.componentSchema)==null?void 0:d.label)??""},l=n.children??[];delete n.children;let r=null;return l.length?r=()=>l.map(c=>e.renderSlot(t,"node",{componentSchema:c})):r=()=>[e.renderSlot(t,"default")],e.h(a.ElCard,n,{default:()=>e.renderSlot(t,"edit-node",{},r)})}}});exports.default=u;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as a, h as m, renderSlot as o } from "vue";
|
|
2
|
+
import { ElCard as p } from "element-plus";
|
|
3
|
+
const f = a({
|
|
4
|
+
props: {
|
|
5
|
+
componentSchema: {
|
|
6
|
+
type: Object,
|
|
7
|
+
required: !0,
|
|
8
|
+
default: () => ({})
|
|
9
|
+
}
|
|
10
|
+
// modelValue: {
|
|
11
|
+
// type: Array as any,
|
|
12
|
+
// default: () => [],
|
|
13
|
+
// },
|
|
14
|
+
},
|
|
15
|
+
setup(r, { attrs: h, slots: e }) {
|
|
16
|
+
return () => {
|
|
17
|
+
var c;
|
|
18
|
+
const n = {
|
|
19
|
+
...r.componentSchema,
|
|
20
|
+
header: ((c = r.componentSchema) == null ? void 0 : c.label) ?? ""
|
|
21
|
+
}, d = n.children ?? [];
|
|
22
|
+
delete n.children;
|
|
23
|
+
let t = null;
|
|
24
|
+
return d.length ? t = () => d.map((l) => o(e, "node", { componentSchema: l })) : t = () => [o(e, "default")], m(p, n, {
|
|
25
|
+
default: () => o(e, "edit-node", {}, t)
|
|
26
|
+
// header: () => renderSlot(slots, "header"),
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
f as default
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("element-plus"),l=e.defineComponent({props:{componentSchema:{type:Object,required:!0,default:()=>({})}},setup(c,{attrs:m,slots:t}){return()=>{const n={...c.componentSchema},r=n.children??[];return delete n.children,e.h(d.ElTableColumn,{...n},{default:()=>n.isDesign?e.renderSlot(t,"edit-node",{},()=>r.map(o=>e.renderSlot(t,"node",{componentSchema:o}))):r.map(o=>e.renderSlot(t,"node",{componentSchema:o}))})}}});exports.default=l;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as m, h as p, renderSlot as t } from "vue";
|
|
2
|
+
import { ElTableColumn as d } from "element-plus";
|
|
3
|
+
const h = m({
|
|
4
|
+
props: {
|
|
5
|
+
componentSchema: {
|
|
6
|
+
type: Object,
|
|
7
|
+
required: !0,
|
|
8
|
+
default: () => ({})
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
setup(c, { attrs: a, slots: n }) {
|
|
12
|
+
return () => {
|
|
13
|
+
const e = {
|
|
14
|
+
...c.componentSchema
|
|
15
|
+
}, r = e.children ?? [];
|
|
16
|
+
return delete e.children, p(
|
|
17
|
+
d,
|
|
18
|
+
{
|
|
19
|
+
...e
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
default: () => e.isDesign ? t(
|
|
23
|
+
n,
|
|
24
|
+
"edit-node",
|
|
25
|
+
{},
|
|
26
|
+
() => r.map((o) => t(n, "node", { componentSchema: o }))
|
|
27
|
+
) : r.map((o) => t(n, "node", { componentSchema: o }))
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
h as default
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),d=require("element-plus"),u=t.defineComponent({props:{componentSchema:{type:Object,required:!0,default:()=>({})}},setup(n,{attrs:a,slots:o}){return()=>{var c;const e={...n.componentSchema,title:(c=n.componentSchema)==null?void 0:c.label},r=e.children??[];return delete e.children,console.log("%c [ ]-21","font-size:13px; background:pink; color:#bf2c9f;",e),t.h(d.ElCol,e,{default:()=>t.renderSlot(o,"edit-node",{},()=>r.map(l=>t.renderSlot(o,"node",{componentSchema:l})))})}}});exports.default=u;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent as m, h as d, renderSlot as c } from "vue";
|
|
2
|
+
import { ElCol as p } from "element-plus";
|
|
3
|
+
const h = m({
|
|
4
|
+
props: {
|
|
5
|
+
componentSchema: {
|
|
6
|
+
type: Object,
|
|
7
|
+
required: !0,
|
|
8
|
+
default: () => ({})
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
setup(o, { attrs: a, slots: n }) {
|
|
12
|
+
return () => {
|
|
13
|
+
var t;
|
|
14
|
+
const e = {
|
|
15
|
+
...o.componentSchema,
|
|
16
|
+
title: (t = o.componentSchema) == null ? void 0 : t.label
|
|
17
|
+
}, r = e.children ?? [];
|
|
18
|
+
return delete e.children, console.log("%c [ ]-21", "font-size:13px; background:pink; color:#bf2c9f;", e), d(p, e, {
|
|
19
|
+
default: () => c(
|
|
20
|
+
n,
|
|
21
|
+
"edit-node",
|
|
22
|
+
{},
|
|
23
|
+
() => r.map((l) => c(n, "node", { componentSchema: l }))
|
|
24
|
+
)
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
h as default
|
|
31
|
+
};
|
|
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
4
4
|
formData?: FormDataModel;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
sourceDateUrl: string;
|
|
7
|
-
id: string;
|
|
7
|
+
id: string | undefined;
|
|
8
8
|
}, {
|
|
9
9
|
ready: import('vue').Ref<boolean, boolean>;
|
|
10
10
|
pageManager: {
|
|
@@ -39,7 +39,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
39
39
|
formData?: FormDataModel;
|
|
40
40
|
disabled?: boolean;
|
|
41
41
|
sourceDateUrl: string;
|
|
42
|
-
id: string;
|
|
42
|
+
id: string | undefined;
|
|
43
43
|
}> & Readonly<{
|
|
44
44
|
onChange?: ((...args: unknown[] & []) => any) | undefined;
|
|
45
45
|
onReady?: ((...args: unknown[] & []) => any) | undefined;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -4,6 +4,7 @@ export interface ComponentNodeInstance extends ComponentPublicInstance {
|
|
|
4
4
|
setValue?: (value: any) => void;
|
|
5
5
|
getValue?: () => any;
|
|
6
6
|
setAttr?: (key: string, value: any) => any;
|
|
7
|
+
setBasic?: (key: string, value: any) => any;
|
|
7
8
|
getAttr?: (key: string) => any;
|
|
8
9
|
}
|
|
9
10
|
declare function __VLS_template(): {
|
|
@@ -24,7 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
24
25
|
name?: string;
|
|
25
26
|
dynamicId?: string | number;
|
|
26
27
|
sourceDateUrl?: string;
|
|
27
|
-
id: string;
|
|
28
|
+
id: string | undefined;
|
|
28
29
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
30
|
change: (...args: any[]) => void;
|
|
30
31
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -37,7 +38,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
37
38
|
name?: string;
|
|
38
39
|
dynamicId?: string | number;
|
|
39
40
|
sourceDateUrl?: string;
|
|
40
|
-
id: string;
|
|
41
|
+
id: string | undefined;
|
|
41
42
|
}> & Readonly<{
|
|
42
43
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
43
44
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: any[];
|
|
3
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (...args: any[]) => void;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
+
modelValue: any[];
|
|
7
|
+
}> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
tree?: boolean;
|
|
3
|
+
modelValue: any;
|
|
4
|
+
dynamicId?: String | number;
|
|
5
|
+
type?: string;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
"update:EOptionsEditor": (...args: any[]) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
10
|
+
tree?: boolean;
|
|
11
|
+
modelValue: any;
|
|
12
|
+
dynamicId?: String | number;
|
|
13
|
+
type?: string;
|
|
14
|
+
}> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
"onUpdate:EOptionsEditor"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue?: any;
|
|
3
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (...args: any[]) => void;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
+
modelValue?: any;
|
|
7
|
+
}> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./pluginManager-DWHAX8kP.cjs"),m={class:"epic-event-view"},g={key:0},f=e.defineComponent({__name:"eventView",setup(y){const u=e.inject("pageSchema"),d=e.inject("designer"),i=e.inject("revoke"),a=r.pluginManager.getComponent("EActionEditor"),l=r.pluginManager.getComponentConfings(),o=e.computed(()=>d.state.checkedNode),p=e.computed(()=>{var c,s;const n=[{title:"生命周期",events:[{type:"vnodeBeforeMount",describe:"beforeMount"},{type:"vnodeMounted",describe:"mounted"},{type:"vnodeBeforeUpdate",describe:"beforeUpdate"},{type:"vnodeUpdated",describe:"updated"},{type:"vnodeBeforeUnmount",describe:"beforeUnmount"},{type:"vnodeUnmounted",describe:"unmounted"},{type:"vnodeErrorCaptured",describe:"errorCaptured"}]}],t=((s=l[((c=d.state.checkedNode)==null?void 0:c.type)??""])==null?void 0:s.config.event)??[];return n.unshift({title:"组件事件",events:t}),n});function v(n,t){r.setValueByPath(o.value,t,n),i.push(u.schemas,"编辑组件属性")}return(n,t)=>(e.openBlock(),e.createElementBlock("div",m,[o.value?(e.openBlock(),e.createElementBlock("div",g,[(e.openBlock(),e.createBlock(e.unref(a),{key:o.value.id,"event-list":p.value,"model-value":e.unref(r.getValueByPath)(o.value,"on"),"onUpdate:modelValue":t[0]||(t[0]=c=>v(c,"on"))},null,8,["event-list","model-value"]))])):e.createCommentVNode("",!0)]))}});exports.default=f;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { defineComponent as y, inject as d, computed as a, openBlock as s, createElementBlock as i, createBlock as b, unref as u, createCommentVNode as k } from "vue";
|
|
2
|
+
import { p, i as _, s as B } from "./pluginManager-BCnrHPYv.js";
|
|
3
|
+
const C = { class: "epic-event-view" }, U = { key: 0 }, N = /* @__PURE__ */ y({
|
|
4
|
+
__name: "eventView",
|
|
5
|
+
setup(E) {
|
|
6
|
+
const l = d("pageSchema"), r = d("designer"), v = d("revoke"), m = p.getComponent("EActionEditor"), f = p.getComponentConfings(), n = a(() => r.state.checkedNode), g = a(() => {
|
|
7
|
+
var o, c;
|
|
8
|
+
const t = [{
|
|
9
|
+
title: "生命周期",
|
|
10
|
+
events: [
|
|
11
|
+
{
|
|
12
|
+
type: "vnodeBeforeMount",
|
|
13
|
+
describe: "beforeMount"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
type: "vnodeMounted",
|
|
17
|
+
describe: "mounted"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
type: "vnodeBeforeUpdate",
|
|
21
|
+
describe: "beforeUpdate"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
type: "vnodeUpdated",
|
|
25
|
+
describe: "updated"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: "vnodeBeforeUnmount",
|
|
29
|
+
describe: "beforeUnmount"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
type: "vnodeUnmounted",
|
|
33
|
+
describe: "unmounted"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
type: "vnodeErrorCaptured",
|
|
37
|
+
describe: "errorCaptured"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}], e = ((c = f[((o = r.state.checkedNode) == null ? void 0 : o.type) ?? ""]) == null ? void 0 : c.config.event) ?? [];
|
|
41
|
+
return t.unshift({
|
|
42
|
+
title: "组件事件",
|
|
43
|
+
events: e
|
|
44
|
+
}), t;
|
|
45
|
+
});
|
|
46
|
+
function h(t, e) {
|
|
47
|
+
B(n.value, e, t), v.push(l.schemas, "编辑组件属性");
|
|
48
|
+
}
|
|
49
|
+
return (t, e) => (s(), i("div", C, [
|
|
50
|
+
n.value ? (s(), i("div", U, [
|
|
51
|
+
(s(), b(u(m), {
|
|
52
|
+
key: n.value.id,
|
|
53
|
+
"event-list": g.value,
|
|
54
|
+
"model-value": u(_)(n.value, "on"),
|
|
55
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => h(o, "on"))
|
|
56
|
+
}, null, 8, ["event-list", "model-value"]))
|
|
57
|
+
])) : k("", !0)
|
|
58
|
+
]));
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
export {
|
|
62
|
+
N as default
|
|
63
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),S=require("element-plus"),P=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C={key:0,class:"form-main",style:{height:"100%"}},D=e.defineComponent({__name:"form",props:{componentSchema:{type:Object,require:!0,default:()=>({})}},setup(d,{expose:f}){var u,p;const r=d,h=e.inject("pageManager",{}),o=e.ref(null),c=e.inject("forms",{}),v=e.ref(!0),l=e.reactive({});h.addFormData(l,(p=(u=r.componentSchema)==null?void 0:u.componentProps)==null?void 0:p.name),e.provide("formData",l);function m(){return l}function s(t){Object.assign(l,t)}function g(){var t;return(t=o.value)==null?void 0:t.validate()}e.onMounted(async()=>{var t,a,n,i;if(((t=r.componentSchema)==null?void 0:t.type)==="form"&&c.value&&o.value){const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),S=require("element-plus"),P=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C={key:0,class:"form-main",style:{height:"100%"}},D=e.defineComponent({__name:"form",props:{componentSchema:{type:Object,require:!0,default:()=>({})}},setup(d,{expose:f}){var u,p;const r=d,h=e.inject("pageManager",{}),o=e.ref(null),c=e.inject("forms",{}),v=e.ref(!0),l=e.reactive({});h.addFormData(l,(p=(u=r.componentSchema)==null?void 0:u.componentProps)==null?void 0:p.name),e.provide("formData",l);function m(){return l}function s(t){Object.assign(l,t)}function g(){var t;return(t=o.value)==null?void 0:t.validate()}e.onMounted(async()=>{var t,a,n,i;if(((t=r.componentSchema)==null?void 0:t.type)==="form"&&c.value&&o.value){const b=((n=(a=r.componentSchema)==null?void 0:a.componentProps)==null?void 0:n.name)??((i=r.componentSchema)==null?void 0:i.name)??"default";return c.value[b]=o.value,o.value.getData=m,o.value.setData=s,!1}});const _=e.computed(()=>{const t=r.componentSchema.componentProps;let a=t.labelCol,n=t.wrapperCol;return t.labelLayout==="fixed"&&(a={style:`width:${typeof t.labelWidth=="number"?t.labelWidth+"px":t.labelWidth}`},n={style:"width:auto;flex:1"}),{...t,labelCol:a,wrapperCol:n}}),y=e.computed(()=>r.componentSchema.children??[]);return f({form:o,getData:m,setData:s,validate:g}),(t,a)=>v.value?(e.openBlock(),e.createElementBlock("div",C,[e.createVNode(e.unref(S.ElForm),e.mergeProps({ref_key:"form",ref:o,model:l},_.value,{style:{height:"100%"}}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"edit-node",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,n=>e.renderSlot(t.$slots,"node",{componentSchema:n},void 0,!0)),256))],!0)]),_:3},16,["model"])])):e.createCommentVNode("",!0)}}),k=P._export_sfc(D,[["__scopeId","data-v-f82ea56a"]]);exports.default=k;
|
|
@@ -14,10 +14,10 @@ const q = {
|
|
|
14
14
|
default: () => ({})
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
17
|
+
setup(g, { expose: y }) {
|
|
18
18
|
var s, p;
|
|
19
|
-
const n =
|
|
20
|
-
|
|
19
|
+
const n = g, b = i("pageManager", {}), t = d(null), l = i("forms", {}), S = d(!0), r = k({});
|
|
20
|
+
b.addFormData(r, (p = (s = n.componentSchema) == null ? void 0 : s.componentProps) == null ? void 0 : p.name), j("formData", r);
|
|
21
21
|
function c() {
|
|
22
22
|
return r;
|
|
23
23
|
}
|
|
@@ -46,7 +46,7 @@ const q = {
|
|
|
46
46
|
wrapperCol: o
|
|
47
47
|
};
|
|
48
48
|
}), x = f(() => n.componentSchema.children ?? []);
|
|
49
|
-
return
|
|
49
|
+
return y({
|
|
50
50
|
form: t,
|
|
51
51
|
getData: c,
|
|
52
52
|
setData: m,
|
|
@@ -66,7 +66,7 @@ const q = {
|
|
|
66
66
|
}, 16, ["model"])
|
|
67
67
|
])) : N("", !0);
|
|
68
68
|
}
|
|
69
|
-
}), H = /* @__PURE__ */ V(I, [["__scopeId", "data-v-
|
|
69
|
+
}), H = /* @__PURE__ */ V(I, [["__scopeId", "data-v-f82ea56a"]]);
|
|
70
70
|
export {
|
|
71
71
|
H as default
|
|
72
72
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("element-plus");const r=n.defineComponent({props:{componentSchema:{type:Object,required:!0,default:()=>({})},modelValue:{type:String,default:()=>""}},setup(o,{attrs:i,slots:l}){return()=>{const e={...o.componentSchema};delete e.children;const t=n.computed(()=>o.modelValue||e.componentProps.url);return n.h(t.value?"iframe":"div",{src:t.value,style:{textAlign:e.position,width:"100%",minHeight:"80px",fontSize:e.fontSize+"px",display:"flex","align-items":"center","justify-content":"center",border:t.value?"none":"1px dashed #333",color:t.value?"":"#999"}},"内嵌页面")}}});exports.default=r;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { defineComponent as o, computed as r, h as i } from "vue";
|
|
2
|
+
import "element-plus";
|
|
3
|
+
const p = o({
|
|
4
|
+
props: {
|
|
5
|
+
componentSchema: {
|
|
6
|
+
type: Object,
|
|
7
|
+
required: !0,
|
|
8
|
+
default: () => ({})
|
|
9
|
+
},
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: () => ""
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(n, { attrs: l, slots: a }) {
|
|
16
|
+
return () => {
|
|
17
|
+
const e = {
|
|
18
|
+
...n.componentSchema
|
|
19
|
+
// header: props.componentSchema?.label ?? "",
|
|
20
|
+
};
|
|
21
|
+
delete e.children;
|
|
22
|
+
const t = r(() => n.modelValue || e.componentProps.url);
|
|
23
|
+
return i(
|
|
24
|
+
t.value ? "iframe" : "div",
|
|
25
|
+
{
|
|
26
|
+
src: t.value,
|
|
27
|
+
style: {
|
|
28
|
+
textAlign: e.position,
|
|
29
|
+
width: "100%",
|
|
30
|
+
minHeight: "80px",
|
|
31
|
+
fontSize: e.fontSize + "px",
|
|
32
|
+
display: "flex",
|
|
33
|
+
"align-items": "center",
|
|
34
|
+
"justify-content": "center",
|
|
35
|
+
border: t.value ? "none" : "1px dashed #333",
|
|
36
|
+
color: t.value ? "" : "#999"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
// 如果使用动态文字的话,就根据field显示对应文字,否则就是直接显示文本
|
|
40
|
+
// componentSchema?.componentProps?.dynamic ? props.modelValue : componentSchema.label
|
|
41
|
+
"内嵌页面"
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
export {
|
|
47
|
+
p as default
|
|
48
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as U, inject as L, openBlock as p, createElementBlock as g, Fragment as A, renderList as T, createElementVNode as i, toDisplayString as O, createVNode as C, unref as _, withCtx as R, createCommentVNode as G, createTextVNode as J, ref as E, computed as S, withDirectives as F, normalizeClass as j, vShow as P, reactive as H, createBlock as K, nextTick as Q, toRaw as z, watch as W } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { n as q, p as w, g as X, a as Y } from "./pluginManager-BCnrHPYv.js";
|
|
3
3
|
import { _ as D } from "./icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js";
|
|
4
4
|
import { d as Z } from "./vuedraggable.umd-D2S7Eo7p.js";
|
|
5
|
-
import { _ as ee } from "./tree.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as te } from "./index-
|
|
5
|
+
import { _ as ee } from "./tree.vue_vue_type_script_setup_true_lang-BsVyMb-n.js";
|
|
6
|
+
import { _ as te } from "./index-CXI_7l7O.js";
|
|
7
7
|
const ne = { class: "epic-event-info" }, oe = ["title"], le = { class: "epic-event-btn text-lg flex items-center text-$epic-text-secondary" }, ae = { class: "epic-action-editor-main" }, se = { class: "epic-editor-item rounded" }, ie = { class: "w-36px flex items-center text-lg" }, ce = { class: "flex-1" }, de = { key: 0 }, ue = { key: 1 }, re = { key: 2 }, pe = { class: "epic-action-box text-lg text-$epic-text-medium" }, me = ["onClick"], ve = ["onClick"], fe = /* @__PURE__ */ U({
|
|
8
8
|
__name: "EActionEditorItem",
|
|
9
9
|
props: {
|