diff --git a/admin-frontend/package.json b/admin-frontend/package.json index c7a4987..f9572f6 100644 --- a/admin-frontend/package.json +++ b/admin-frontend/package.json @@ -10,8 +10,8 @@ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" }, "dependencies": { - "@halo-dev/admin-shared": "link:/Users/ryanwang/Workspace/github/halo-dev/halo-admin-next/packages/shared", - "@halo-dev/components": "link:/Users/ryanwang/Workspace/github/halo-dev/halo-admin-next/packages/components", + "@halo-dev/admin-shared": "^0.0.0-alpha.1", + "@halo-dev/components": "^0.0.0-alpha.0", "vue": "^3.2.36" }, "devDependencies": { diff --git a/admin-frontend/pnpm-lock.yaml b/admin-frontend/pnpm-lock.yaml index a787e1d..88822ef 100644 --- a/admin-frontend/pnpm-lock.yaml +++ b/admin-frontend/pnpm-lock.yaml @@ -1,8 +1,8 @@ lockfileVersion: 5.4 specifiers: - '@halo-dev/admin-shared': link:/Users/ryanwang/Workspace/github/halo-dev/halo-admin-next/packages/shared - '@halo-dev/components': link:/Users/ryanwang/Workspace/github/halo-dev/halo-admin-next/packages/components + '@halo-dev/admin-shared': ^0.0.0-alpha.1 + '@halo-dev/components': ^0.0.0-alpha.0 '@rushstack/eslint-patch': ^1.1.0 '@types/jsdom': ^16.2.14 '@types/node': ^16.11.36 @@ -24,8 +24,8 @@ specifiers: vue-tsc: ^0.35.2 dependencies: - '@halo-dev/admin-shared': link:../../../halo-dev/halo-admin-next/packages/shared - '@halo-dev/components': link:../../../halo-dev/halo-admin-next/packages/components + '@halo-dev/admin-shared': 0.0.0-alpha.1_vue@3.2.37 + '@halo-dev/components': 0.0.0-alpha.0_vue@3.2.37 vue: 3.2.37 devDependencies: @@ -359,6 +359,28 @@ packages: - supports-color dev: true + /@halo-dev/admin-shared/0.0.0-alpha.1_vue@3.2.37: + resolution: {integrity: sha512-dLGu3JHRWxSJpsYoh1p9QFYN+bVZktM7zs1f2EXyO7juWAd1AKid8DGi6D1fSVUGRHQJe9OwQaDfQgrcjibOgw==} + peerDependencies: + vue: ^3.2.37 + vue-router: ^4.0.16 + dependencies: + '@halo-dev/components': 0.0.0-alpha.0_vue@3.2.37 + axios: 0.27.2 + vue: 3.2.37 + transitivePeerDependencies: + - debug + dev: false + + /@halo-dev/components/0.0.0-alpha.0_vue@3.2.37: + resolution: {integrity: sha512-cbDZJTrRarxLpsRqzddmFlhl7CH3/LnUfnL7urpX9Qwo4DVFtMq2+LrO5vTHbIE6Z2NRgynWINtG83MUv4gfCg==} + peerDependencies: + vue: ^3.2.37 + vue-router: ^4.0.16 + dependencies: + vue: 3.2.37 + dev: false + /@humanwhocodes/config-array/0.9.5: resolution: {integrity: sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==} engines: {node: '>=10.10.0'} @@ -899,7 +921,15 @@ packages: /asynckit/0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - dev: true + + /axios/0.27.2: + resolution: {integrity: sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==} + dependencies: + follow-redirects: 1.15.1 + form-data: 4.0.0 + transitivePeerDependencies: + - debug + dev: false /balanced-match/1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -1020,7 +1050,6 @@ packages: engines: {node: '>= 0.8'} dependencies: delayed-stream: 1.0.0 - dev: true /concat-map/0.0.1: resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} @@ -1123,7 +1152,6 @@ packages: /delayed-stream/1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - dev: true /dir-glob/3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} @@ -1659,6 +1687,16 @@ packages: resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==} dev: true + /follow-redirects/1.15.1: + resolution: {integrity: sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==} + engines: {node: '>=4.0'} + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + dev: false + /form-data/4.0.0: resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} engines: {node: '>= 6'} @@ -1666,7 +1704,6 @@ packages: asynckit: 0.4.0 combined-stream: 1.0.8 mime-types: 2.1.35 - dev: true /fs.realpath/1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} @@ -2167,14 +2204,12 @@ packages: /mime-db/1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} - dev: true /mime-types/2.1.35: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} dependencies: mime-db: 1.52.0 - dev: true /minimatch/3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} diff --git a/admin-frontend/vite.config.ts b/admin-frontend/vite.config.ts index 2e005d7..2dfcfbd 100644 --- a/admin-frontend/vite.config.ts +++ b/admin-frontend/vite.config.ts @@ -24,10 +24,11 @@ export default defineConfig({ fileName: () => "main.js", }, rollupOptions: { - external: ["vue", "@halo-dev/shared", "@halo-dev/components"], + external: ["vue", "@halo-dev/shared", "@halo-dev/components","vue-router"], output: { globals: { vue: "Vue", + "vue-router": "VueRouter", "@halo-dev/components": "HaloComponents", "@halo-dev/admin-shared": "HaloAdminShared", }, diff --git a/build.gradle b/build.gradle index 878dc37..013752e 100644 --- a/build.gradle +++ b/build.gradle @@ -68,4 +68,5 @@ task pnpmInstall (type: NpxTask) { build { // build frontend before build tasks.getByName('compileJava').dependsOn('buildFrontend') + tasks.getByName("buildFrontend").dependsOn("pnpmInstall") } diff --git a/src/main/resources/admin/main.js b/src/main/resources/admin/main.js index 45764ab..ffe6b71 100644 --- a/src/main/resources/admin/main.js +++ b/src/main/resources/admin/main.js @@ -1,4 +1,4 @@ -var PluginTemplate=function(c,et){"use strict";function dn(t){return t}function tt(t){return c.getCurrentScope()?(c.onScopeDispose(t),!0):!1}var de;const A=typeof window!="undefined",rt=Object.prototype.toString,nt=t=>rt.call(t)==="[object Object]";A&&((de=window==null?void 0:window.navigator)==null?void 0:de.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function it(t){var e;const r=c.unref(t);return(e=r==null?void 0:r.$el)!=null?e:r}const at=A?window:void 0,V=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},F="__vueuse_ssr_handlers__";V[F]=V[F]||{},V[F];function ot(t,e={}){const{immediate:r=!0,window:n=at}=e,i=c.ref(!1);let a=null;function o(){!i.value||!n||(t(),a=n.requestAnimationFrame(o))}function s(){!i.value&&n&&(i.value=!0,o())}function l(){i.value=!1,a!=null&&n&&(n.cancelAnimationFrame(a),a=null)}return r&&s(),tt(l),{isActive:i,pause:l,resume:s}}var fe;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(fe||(fe={}));const H="vue-starport-injection",st="vue-starport-options",ut={duration:800,easing:"cubic-bezier(0.45, 0, 0.55, 1)",keepAlive:!1},pe={port:{type:String,required:!0},duration:{type:Number,required:!1},easing:{type:String,required:!1},keepAlive:{type:Boolean,required:!1,default:void 0},mountedProps:{type:Object,required:!1},initialProps:{type:Object,required:!1}};var lt=Object.defineProperty,_=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,je=(t,e,r)=>e in t?lt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ct=(t,e)=>{for(var r in e||(e={}))Me.call(e,r)&&je(t,r,e[r]);if(_)for(var r of _(e))Ne.call(e,r)&&je(t,r,e[r]);return t},me=(t,e)=>{var r={};for(var n in t)Me.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&_)for(var n of _(t))e.indexOf(n)<0&&Ne.call(t,n)&&(r[n]=t[n]);return r};const dt=c.defineComponent({name:"StarportProxy",props:ct({props:{type:Object,default:()=>({})},component:{type:Object,required:!0}},pe),setup(t,e){const r=c.inject(H),n=c.computed(()=>r.getInstance(t.port,t.component)),i=c.ref(),a=n.value.generateId(),o=c.ref(!1);return n.value.isVisible||(n.value.land(),o.value=!0),c.onMounted(async()=>{n.value.el||(n.value.el=i.value,await c.nextTick(),o.value=!0,n.value.rect.update())}),c.onBeforeUnmount(async()=>{n.value.rect.update(),n.value.liftOff(),n.value.el=void 0,o.value=!1,!n.value.options.keepAlive&&(await c.nextTick(),await c.nextTick(),!n.value.el&&r.dispose(n.value.port))}),c.watch(()=>t,async()=>{n.value.props&&await c.nextTick();const s=t,{props:l}=s,f=me(s,["props"]);n.value.props=l||{},n.value.setLocalOptions(f)},{deep:!0,immediate:!0}),()=>{const s=t,{initialProps:l,mountedProps:f}=s,u=me(s,["initialProps","mountedProps"]),d=c.mergeProps(u,(o.value?f:l)||{});return c.h("div",c.mergeProps(d,{id:a,ref:i,"data-starport-proxy":n.value.componentId,"data-starport-landed":n.value.isLanded?"true":void 0,"data-starport-floating":n.value.isLanded?void 0:"true"}),e.slots.default?c.h(e.slots.default):void 0)}}});var ft=Object.defineProperty,pt=Object.defineProperties,Mt=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,we=(t,e,r)=>e in t?ft(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,mt=(t,e)=>{for(var r in e||(e={}))Nt.call(e,r)&&we(t,r,e[r]);if(Le)for(var r of Le(e))jt.call(e,r)&&we(t,r,e[r]);return t},Lt=(t,e)=>pt(t,Mt(e));c.defineComponent({name:"Starport",inheritAttrs:!0,props:pe,setup(t,e){const r=c.ref(!1);return c.onMounted(()=>{r.value=!0}),()=>{var n,i;const a=(i=(n=e.slots).default)==null?void 0:i.call(n);if(!a)throw new Error("[Vue Starport] Slot is required to use ");if(a.length!==1)throw new Error(`[Vue Starport] requires exactly one slot, but got ${a.length}`);const o=a[0];let s=o.type;return(!nt(s)||c.isVNode(s))&&(s={render(){return a}}),c.h(dt,Lt(mt({},t),{key:t.port,component:c.markRaw(s),props:o.props}))}}});function wt(t){const e=c.reactive({height:0,width:0,left:0,top:0,update:n,listen:a,pause:o,margin:"0px",padding:"0px"}),r=A?document.documentElement||document.body:void 0;function n(){if(!A)return;const s=it(t);if(!s)return;const{height:l,width:f,left:u,top:d}=s.getBoundingClientRect(),M=window.getComputedStyle(s),p=M.margin,b=M.padding;Object.assign(e,{height:l,width:f,left:u,top:r.scrollTop+d,margin:p,padding:b})}const i=ot(n,{immediate:!1});function a(){!A||(n(),i.resume())}function o(){i.pause()}return e}const ye=((t,e=21)=>(r=e)=>{let n="",i=r;for(;i--;)n+=t[Math.random()*t.length|0];return n})("abcdefghijklmnopqrstuvwxyz",5);function he(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().replace(/[^\w\d_-]/g,"")}function yt(t){var e;return t.name||((e=t.__file)==null?void 0:e.split(/[\/\\.]/).slice(-2)[0])||""}var ht=Object.defineProperty,Ie=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,ve=(t,e,r)=>e in t?ht(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,J=(t,e)=>{for(var r in e||(e={}))It.call(e,r)&&ve(t,r,e[r]);if(Ie)for(var r of Ie(e))vt.call(e,r)&&ve(t,r,e[r]);return t};function Tt(t,e,r={}){const n=yt(e),i=he(n)||ye(),a=c.ref(),o=c.ref(null),s=c.ref(!1),l=c.ref(!1),f=c.effectScope(!0),u=c.ref({}),d=c.computed(()=>J(J(J({},ut),r),u.value)),M=c.ref(0);let p;f.run(()=>{p=wt(a),c.watch(a,async m=>{m&&(l.value=!0),await c.nextTick(),a.value||(l.value=!1)})});const b=he(t);function R(){return`starport-${i}-${b}-${ye()}`}const P=R();return c.reactive({el:a,id:P,port:t,props:o,rect:p,scope:f,isLanded:s,isVisible:l,options:d,liftOffTime:M,component:e,componentName:n,componentId:i,generateId:R,setLocalOptions(m={}){u.value=JSON.parse(JSON.stringify(m))},elRef(){return a},liftOff(){!s.value||(s.value=!1,M.value=Date.now(),p.listen())},land(){s.value||(s.value=!0,p.pause())}})}function Ot(t){const e=c.reactive(new Map);function r(i,a){let o=e.get(i);return o||(o=Tt(i,a,t),e.set(i,o)),o.component=a,o}function n(i){var a;(a=e.get(i))==null||a.scope.stop(),e.delete(i)}return{portMap:e,dispose:n,getInstance:r}}var gt=Object.defineProperty,Ct=Object.defineProperties,Et=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,Dt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Oe=(t,e,r)=>e in t?gt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,bt=(t,e)=>{for(var r in e||(e={}))Dt.call(e,r)&&Oe(t,r,e[r]);if(Te)for(var r of Te(e))St.call(e,r)&&Oe(t,r,e[r]);return t},xt=(t,e)=>Ct(t,Et(e));const At=c.defineComponent({name:"StarportCraft",props:{port:{type:String,required:!0},component:{type:Object,required:!0}},setup(t){const e=c.inject(H);if(!e)throw new Error("[Vue Starport] Failed to find the carrier, all Starport components must be wrapped in a component.");const r=c.computed(()=>e.getInstance(t.port,t.component)),n=c.computed(()=>{var o;return((o=r.value.el)==null?void 0:o.id)||r.value.id}),i=c.computed(()=>{const o=Date.now()-r.value.liftOffTime,s=Math.max(0,r.value.options.duration-o),l=r.value.rect,f={position:"absolute",left:0,top:0,width:`${l.width}px`,height:`${l.height}px`,margin:l.margin,padding:l.padding,transform:`translate3d(${l.left}px,${l.top}px,0px)`};return!r.value.isVisible||!r.value.el?xt(bt({},f),{zIndex:-1,display:"none"}):(r.value.isLanded?f.display="none":Object.assign(f,{transitionProperty:"all",transitionDuration:`${s}ms`,transitionTimingFunction:r.value.options.easing}),f)}),a={};return()=>{const o=!!(r.value.isLanded&&r.value.el);return c.h("div",{style:i.value,"data-starport-craft":r.value.componentId,"data-starport-landed":r.value.isLanded?"true":void 0,"data-starport-floating":r.value.isLanded?void 0:"true",onTransitionend:r.value.land},c.h(c.Teleport,{to:o?`#${n.value}`:"body",disabled:!o},c.h(r.value.component,c.mergeProps(a,r.value.props))))}}});c.defineComponent({name:"StarportCarrier",setup(t,{slots:e}){const r=Ot(c.inject(st,{}));return c.getCurrentInstance().appContext.app.provide(H,r),()=>{var i;return[(i=e.default)==null?void 0:i.call(e),Array.from(r.portMap.entries()).map(([a,{component:o}])=>c.h(At,{key:a,port:a,component:o}))]}}});var Q={exports:{}},ge=function(e,r){return function(){for(var i=new Array(arguments.length),a=0;a0;)a=n[i],o[a]||(e[a]=t[a],o[a]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e}function qt(t,e,r){t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return n!==-1&&n===r}function Kt(t){if(!t)return null;var e=t.length;if(U(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r}var er=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),j={isArray:K,isArrayBuffer:Ce,isBuffer:Rt,isFormData:Bt,isArrayBufferView:Pt,isString:_t,isNumber:Ut,isObject:Ee,isPlainObject:Y,isUndefined:U,isDate:Yt,isFile:kt,isBlob:Wt,isFunction:ee,isStream:Gt,isURLSearchParams:$t,isStandardBrowserEnv:Ft,forEach:te,merge:re,extend:Ht,trim:Vt,stripBOM:Jt,inherits:Qt,toFlatObject:Xt,kindOf:q,kindOfTest:v,endsWith:qt,toArray:Kt,isTypedArray:er,isFileList:Zt},O=j;function De(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Se=function(e,r,n){if(!r)return e;var i;if(n)i=n(r);else if(O.isURLSearchParams(r))i=r.toString();else{var a=[];O.forEach(r,function(l,f){l===null||typeof l=="undefined"||(O.isArray(l)?f=f+"[]":l=[l],O.forEach(l,function(d){O.isDate(d)?d=d.toISOString():O.isObject(d)&&(d=JSON.stringify(d)),a.push(De(f)+"="+De(d))}))}),i=a.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},tr=j;function k(){this.handlers=[]}k.prototype.use=function(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1},k.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},k.prototype.forEach=function(e){tr.forEach(this.handlers,function(n){n!==null&&e(n)})};var rr=k,nr=j,ir=function(e,r){nr.forEach(e,function(i,a){a!==r&&a.toUpperCase()===r.toUpperCase()&&(e[r]=i,delete e[a])})},be=j;function g(t,e,r,n,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}be.inherits(g,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var xe=g.prototype,Ae={};["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"].forEach(function(t){Ae[t]={value:t}}),Object.defineProperties(g,Ae),Object.defineProperty(xe,"isAxiosError",{value:!0}),g.from=function(t,e,r,n,i,a){var o=Object.create(xe);return be.toFlatObject(t,o,function(l){return l!==Error.prototype}),g.call(o,t.message,e,r,n,i),o.name=t.name,a&&Object.assign(o,a),o};var C=g,ze={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},y=j;function ar(t,e){e=e||new FormData;var r=[];function n(a){return a===null?"":y.isDate(a)?a.toISOString():y.isArrayBuffer(a)||y.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,o){if(y.isPlainObject(a)||y.isArray(a)){if(r.indexOf(a)!==-1)throw Error("Circular reference detected in "+o);r.push(a),y.forEach(a,function(l,f){if(!y.isUndefined(l)){var u=o?o+"."+f:f,d;if(l&&!o&&typeof l=="object"){if(y.endsWith(f,"{}"))l=JSON.stringify(l);else if(y.endsWith(f,"[]")&&(d=y.toArray(l))){d.forEach(function(M){!y.isUndefined(M)&&e.append(u,n(M))});return}}i(l,u)}}),r.pop()}else e.append(o,n(a))}return i(t),e}var Re=ar,ne=C,or=function(e,r,n){var i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):r(new ne("Request failed with status code "+n.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))},W=j,sr=W.isStandardBrowserEnv()?function(){return{write:function(r,n,i,a,o,s){var l=[];l.push(r+"="+encodeURIComponent(n)),W.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),W.isString(a)&&l.push("path="+a),W.isString(o)&&l.push("domain="+o),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),ur=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},lr=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},cr=ur,dr=lr,Pe=function(e,r){return e&&!cr(r)?dr(e,r):r},ie=j,fr=["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"],pr=function(e){var r={},n,i,a;return e&&ie.forEach(e.split(` -`),function(s){if(a=s.indexOf(":"),n=ie.trim(s.substr(0,a)).toLowerCase(),i=ie.trim(s.substr(a+1)),n){if(r[n]&&fr.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([i]):r[n]=r[n]?r[n]+", "+i:i}}),r},_e=j,Mr=_e.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function i(a){var o=a;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){var s=_e.isString(o)?i(o):o;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),ae=C,Nr=j;function Ue(t){ae.call(this,t==null?"canceled":t,ae.ERR_CANCELED),this.name="CanceledError"}Nr.inherits(Ue,ae,{__CANCEL__:!0});var Z=Ue,jr=function(e){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""},z=j,mr=or,Lr=sr,wr=Se,yr=Pe,hr=pr,Ir=Mr,vr=ze,h=C,Tr=Z,Or=jr,Ye=function(e){return new Promise(function(n,i){var a=e.data,o=e.headers,s=e.responseType,l;function f(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}z.isFormData(a)&&z.isStandardBrowserEnv()&&delete o["Content-Type"];var u=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",M=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(d+":"+M)}var p=yr(e.baseURL,e.url);u.open(e.method.toUpperCase(),wr(p,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function b(){if(!!u){var m="getAllResponseHeaders"in u?hr(u.getAllResponseHeaders()):null,x=!s||s==="text"||s==="json"?u.responseText:u.response,T={data:x,status:u.status,statusText:u.statusText,headers:m,config:e,request:u};mr(function(ce){n(ce),f()},function(ce){i(ce),f()},T),u=null}}if("onloadend"in u?u.onloadend=b:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(b)},u.onabort=function(){!u||(i(new h("Request aborted",h.ECONNABORTED,e,u)),u=null)},u.onerror=function(){i(new h("Network Error",h.ERR_NETWORK,e,u,u)),u=null},u.ontimeout=function(){var x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",T=e.transitional||vr;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),i(new h(x,T.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,e,u)),u=null},z.isStandardBrowserEnv()){var R=(e.withCredentials||Ir(p))&&e.xsrfCookieName?Lr.read(e.xsrfCookieName):void 0;R&&(o[e.xsrfHeaderName]=R)}"setRequestHeader"in u&&z.forEach(o,function(x,T){typeof a=="undefined"&&T.toLowerCase()==="content-type"?delete o[T]:u.setRequestHeader(T,x)}),z.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),s&&s!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(l=function(m){!u||(i(!m||m&&m.type?new Tr:m),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l))),a||(a=null);var P=Or(p);if(P&&["http","https","file"].indexOf(P)===-1){i(new h("Unsupported protocol "+P+":",h.ERR_BAD_REQUEST,e));return}u.send(a)})},gr=null,N=j,ke=ir,We=C,Cr=ze,Er=Re,Dr={"Content-Type":"application/x-www-form-urlencoded"};function Ze(t,e){!N.isUndefined(t)&&N.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function Sr(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Ye),t}function br(t,e,r){if(N.isString(t))try{return(e||JSON.parse)(t),N.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var G={transitional:Cr,adapter:Sr(),transformRequest:[function(e,r){if(ke(r,"Accept"),ke(r,"Content-Type"),N.isFormData(e)||N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return Ze(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n=N.isObject(e),i=r&&r["Content-Type"],a;if((a=N.isFileList(e))||n&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return Er(a?{"files[]":e}:e,o&&new o)}else if(n||i==="application/json")return Ze(r,"application/json"),br(e);return e}],transformResponse:[function(e){var r=this.transitional||G.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,a=!n&&this.responseType==="json";if(a||i&&N.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(a)throw o.name==="SyntaxError"?We.from(o,We.ERR_BAD_RESPONSE,this,null,this.response):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gr},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};N.forEach(["delete","get","head"],function(e){G.headers[e]={}}),N.forEach(["post","put","patch"],function(e){G.headers[e]=N.merge(Dr)});var oe=G,xr=j,Ar=oe,zr=function(e,r,n){var i=this||Ar;return xr.forEach(n,function(o){e=o.call(i,e,r)}),e},Ge=function(e){return!!(e&&e.__CANCEL__)},Be=j,se=zr,Rr=Ge,Pr=oe,_r=Z;function ue(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _r}var Ur=function(e){ue(e),e.headers=e.headers||{},e.data=se.call(e,e.data,e.headers,e.transformRequest),e.headers=Be.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Be.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var r=e.adapter||Pr.adapter;return r(e).then(function(i){return ue(e),i.data=se.call(e,i.data,i.headers,e.transformResponse),i},function(i){return Rr(i)||(ue(e),i&&i.response&&(i.response.data=se.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},w=j,$e=function(e,r){r=r||{};var n={};function i(u,d){return w.isPlainObject(u)&&w.isPlainObject(d)?w.merge(u,d):w.isPlainObject(d)?w.merge({},d):w.isArray(d)?d.slice():d}function a(u){if(w.isUndefined(r[u])){if(!w.isUndefined(e[u]))return i(void 0,e[u])}else return i(e[u],r[u])}function o(u){if(!w.isUndefined(r[u]))return i(void 0,r[u])}function s(u){if(w.isUndefined(r[u])){if(!w.isUndefined(e[u]))return i(void 0,e[u])}else return i(void 0,r[u])}function l(u){if(u in r)return i(e[u],r[u]);if(u in e)return i(void 0,e[u])}var f={url:o,method:o,data:o,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,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return w.forEach(Object.keys(e).concat(Object.keys(r)),function(d){var M=f[d]||a,p=M(d);w.isUndefined(p)&&M!==l||(n[d]=p)}),n},Ve={version:"0.27.2"},Yr=Ve.version,I=C,le={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){le[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var Fe={};le.transitional=function(e,r,n){function i(a,o){return"[Axios v"+Yr+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return function(a,o,s){if(e===!1)throw new I(i(o," has been removed"+(r?" in "+r:"")),I.ERR_DEPRECATED);return r&&!Fe[o]&&(Fe[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(a,o,s):!0}};function kr(t,e,r){if(typeof t!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),i=n.length;i-- >0;){var a=n[i],o=e[a];if(o){var s=t[a],l=s===void 0||o(s,a,t);if(l!==!0)throw new I("option "+a+" must be "+l,I.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new I("Unknown option "+a,I.ERR_BAD_OPTION)}}var Wr={assertOptions:kr,validators:le},He=j,Zr=Se,Je=rr,Qe=Ur,B=$e,Gr=Pe,Xe=Wr,E=Xe.validators;function D(t){this.defaults=t,this.interceptors={request:new Je,response:new Je}}D.prototype.request=function(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=B(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var n=r.transitional;n!==void 0&&Xe.assertOptions(n,{silentJSONParsing:E.transitional(E.boolean),forcedJSONParsing:E.transitional(E.boolean),clarifyTimeoutError:E.transitional(E.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(a=a&&p.synchronous,i.unshift(p.fulfilled,p.rejected))});var o=[];this.interceptors.response.forEach(function(p){o.push(p.fulfilled,p.rejected)});var s;if(!a){var l=[Qe,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),s=Promise.resolve(r);l.length;)s=s.then(l.shift(),l.shift());return s}for(var f=r;i.length;){var u=i.shift(),d=i.shift();try{f=u(f)}catch(M){d(M);break}}try{s=Qe(f)}catch(M){return Promise.reject(M)}for(;o.length;)s=s.then(o.shift(),o.shift());return s},D.prototype.getUri=function(e){e=B(this.defaults,e);var r=Gr(e.baseURL,e.url);return Zr(r,e.params,e.paramsSerializer)},He.forEach(["delete","get","head","options"],function(e){D.prototype[e]=function(r,n){return this.request(B(n||{},{method:e,url:r,data:(n||{}).data}))}}),He.forEach(["post","put","patch"],function(e){function r(n){return function(a,o,s){return this.request(B(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}D.prototype[e]=r(),D.prototype[e+"Form"]=r(!0)});var Br=D,$r=Z;function S(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(i){e=i});var r=this;this.promise.then(function(n){if(!!r._listeners){var i,a=r._listeners.length;for(i=0;i`.title[data-v-e696721c]{color:red} -`)(),rn=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r};const nn=c.defineComponent({name:"DefaultView",setup(){return{logo:tn}}}),an=(t=>(c.pushScopeId("data-v-e696721c"),t=t(),c.popScopeId(),t))(()=>c.createElementVNode("div",{class:"title"},"Hello World",-1)),on=["src"];function sn(t,e,r,n,i,a){return c.openBlock(),c.createElementBlock(c.Fragment,null,[an,c.createElementVNode("img",{src:t.logo,alt:"logo"},null,8,on)],64)}var un=rn(nn,[["render",sn],["__scopeId","data-v-e696721c"]]),Nn=(()=>`.title{font-size:20px} -`)(),ln={name:"PluginTemplate",components:[],routes:[{path:"/hello-world",name:"HelloWorld",component:un}],menus:[{name:"From PluginTemplate",items:[{name:"HelloWorld",path:"/hello-world",icon:et.IconGrid}]}],extensionPoints:{},activated(){},deactivated(){}};return ln}(Vue,HaloComponents); +var PluginTemplate=function(h,lr,be){"use strict";function cr(t){return t}var Z={exports:{}},ne=function(e,r){return function(){for(var n=new Array(arguments.length),s=0;s0;)s=i[n],a[s]||(e[s]=t[s],a[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e}function qe(t,e,r){t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;var i=t.indexOf(e,r);return i!==-1&&i===r}function Ke(t){if(!t)return null;var e=t.length;if(b(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r}var et=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),f={isArray:_,isArrayBuffer:ie,isBuffer:Re,isFormData:_e,isArrayBufferView:Ue,isString:Ye,isNumber:ke,isObject:se,isPlainObject:z,isUndefined:b,isDate:We,isFile:Pe,isBlob:Ze,isFunction:H,isStream:Be,isURLSearchParams:He,isStandardBrowserEnv:Fe,forEach:V,merge:F,extend:Qe,trim:Ve,stripBOM:$e,inherits:Je,toFlatObject:Xe,kindOf:B,kindOfTest:m,endsWith:qe,toArray:Ke,isTypedArray:et,isFileList:Ge},D=f;function ae(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var oe=function(e,r,i){if(!r)return e;var n;if(i)n=i(r);else if(D.isURLSearchParams(r))n=r.toString();else{var s=[];D.forEach(r,function(l,d){l===null||typeof l=="undefined"||(D.isArray(l)?d=d+"[]":l=[l],D.forEach(l,function(c){D.isDate(c)?c=c.toISOString():D.isObject(c)&&(c=JSON.stringify(c)),s.push(ae(d)+"="+ae(c))}))}),n=s.join("&")}if(n){var a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e},tt=f;function R(){this.handlers=[]}R.prototype.use=function(e,r,i){return this.handlers.push({fulfilled:e,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1},R.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},R.prototype.forEach=function(e){tt.forEach(this.handlers,function(i){i!==null&&e(i)})};var rt=R,nt=f,it=function(e,r){nt.forEach(e,function(n,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(e[r]=n,delete e[s])})},ue=f;function C(t,e,r,i,n){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),i&&(this.request=i),n&&(this.response=n)}ue.inherits(C,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var le=C.prototype,ce={};["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"].forEach(function(t){ce[t]={value:t}}),Object.defineProperties(C,ce),Object.defineProperty(le,"isAxiosError",{value:!0}),C.from=function(t,e,r,i,n,s){var a=Object.create(le);return ue.toFlatObject(t,a,function(l){return l!==Error.prototype}),C.call(a,t.message,e,r,i,n),a.name=t.name,s&&Object.assign(a,s),a};var O=C,Me={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},I=f;function st(t,e){e=e||new FormData;var r=[];function i(s){return s===null?"":I.isDate(s)?s.toISOString():I.isArrayBuffer(s)||I.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function n(s,a){if(I.isPlainObject(s)||I.isArray(s)){if(r.indexOf(s)!==-1)throw Error("Circular reference detected in "+a);r.push(s),I.forEach(s,function(l,d){if(!I.isUndefined(l)){var o=a?a+"."+d:d,c;if(l&&!a&&typeof l=="object"){if(I.endsWith(d,"{}"))l=JSON.stringify(l);else if(I.endsWith(d,"[]")&&(c=I.toArray(l))){c.forEach(function(p){!I.isUndefined(p)&&e.append(o,i(p))});return}}n(l,o)}}),r.pop()}else e.append(a,i(s))}return n(t),e}var fe=st,Q=O,at=function(e,r,i){var n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):r(new Q("Request failed with status code "+i.status,[Q.ERR_BAD_REQUEST,Q.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},U=f,ot=U.isStandardBrowserEnv()?function(){return{write:function(r,i,n,s,a,u){var l=[];l.push(r+"="+encodeURIComponent(i)),U.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),U.isString(s)&&l.push("path="+s),U.isString(a)&&l.push("domain="+a),u===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),ut=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},lt=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},ct=ut,Mt=lt,de=function(e,r){return e&&!ct(r)?Mt(e,r):r},$=f,ft=["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"],dt=function(e){var r={},i,n,s;return e&&$.forEach(e.split(` +`),function(u){if(s=u.indexOf(":"),i=$.trim(u.substr(0,s)).toLowerCase(),n=$.trim(u.substr(s+1)),i){if(r[i]&&ft.indexOf(i)>=0)return;i==="set-cookie"?r[i]=(r[i]?r[i]:[]).concat([n]):r[i]=r[i]?r[i]+", "+n:n}}),r},Ne=f,Nt=Ne.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function n(s){var a=s;return e&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=n(window.location.href),function(a){var u=Ne.isString(a)?n(a):a;return u.protocol===i.protocol&&u.host===i.host}}():function(){return function(){return!0}}(),J=O,Lt=f;function Le(t){J.call(this,t==null?"canceled":t,J.ERR_CANCELED),this.name="CanceledError"}Lt.inherits(Le,J,{__CANCEL__:!0});var Y=Le,jt=function(e){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""},x=f,pt=at,It=ot,Tt=oe,wt=de,ht=dt,yt=Nt,mt=Me,w=O,vt=Y,Dt=jt,je=function(e){return new Promise(function(i,n){var s=e.data,a=e.headers,u=e.responseType,l;function d(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}x.isFormData(s)&&x.isStandardBrowserEnv()&&delete a["Content-Type"];var o=new XMLHttpRequest;if(e.auth){var c=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.Authorization="Basic "+btoa(c+":"+p)}var N=wt(e.baseURL,e.url);o.open(e.method.toUpperCase(),Tt(N,e.params,e.paramsSerializer),!0),o.timeout=e.timeout;function Se(){if(!!o){var T="getAllResponseHeaders"in o?ht(o.getAllResponseHeaders()):null,S=!u||u==="text"||u==="json"?o.responseText:o.response,v={data:S,status:o.status,statusText:o.statusText,headers:T,config:e,request:o};pt(function(re){i(re),d()},function(re){n(re),d()},v),o=null}}if("onloadend"in o?o.onloadend=Se:o.onreadystatechange=function(){!o||o.readyState!==4||o.status===0&&!(o.responseURL&&o.responseURL.indexOf("file:")===0)||setTimeout(Se)},o.onabort=function(){!o||(n(new w("Request aborted",w.ECONNABORTED,e,o)),o=null)},o.onerror=function(){n(new w("Network Error",w.ERR_NETWORK,e,o,o)),o=null},o.ontimeout=function(){var S=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",v=e.transitional||mt;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),n(new w(S,v.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,o)),o=null},x.isStandardBrowserEnv()){var xe=(e.withCredentials||yt(N))&&e.xsrfCookieName?It.read(e.xsrfCookieName):void 0;xe&&(a[e.xsrfHeaderName]=xe)}"setRequestHeader"in o&&x.forEach(a,function(S,v){typeof s=="undefined"&&v.toLowerCase()==="content-type"?delete a[v]:o.setRequestHeader(v,S)}),x.isUndefined(e.withCredentials)||(o.withCredentials=!!e.withCredentials),u&&u!=="json"&&(o.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&o.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&o.upload&&o.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(l=function(T){!o||(n(!T||T&&T.type?new vt:T),o.abort(),o=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l))),s||(s=null);var te=Dt(N);if(te&&["http","https","file"].indexOf(te)===-1){n(new w("Unsupported protocol "+te+":",w.ERR_BAD_REQUEST,e));return}o.send(s)})},Ct=null,M=f,pe=it,Ie=O,Ot=Me,Et=fe,At={"Content-Type":"application/x-www-form-urlencoded"};function Te(t,e){!M.isUndefined(t)&&M.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function gt(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=je),t}function St(t,e,r){if(M.isString(t))try{return(e||JSON.parse)(t),M.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(t)}var k={transitional:Ot,adapter:gt(),transformRequest:[function(e,r){if(pe(r,"Accept"),pe(r,"Content-Type"),M.isFormData(e)||M.isArrayBuffer(e)||M.isBuffer(e)||M.isStream(e)||M.isFile(e)||M.isBlob(e))return e;if(M.isArrayBufferView(e))return e.buffer;if(M.isURLSearchParams(e))return Te(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var i=M.isObject(e),n=r&&r["Content-Type"],s;if((s=M.isFileList(e))||i&&n==="multipart/form-data"){var a=this.env&&this.env.FormData;return Et(s?{"files[]":e}:e,a&&new a)}else if(i||n==="application/json")return Te(r,"application/json"),St(e);return e}],transformResponse:[function(e){var r=this.transitional||k.transitional,i=r&&r.silentJSONParsing,n=r&&r.forcedJSONParsing,s=!i&&this.responseType==="json";if(s||n&&M.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?Ie.from(a,Ie.ERR_BAD_RESPONSE,this,null,this.response):a}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};M.forEach(["delete","get","head"],function(e){k.headers[e]={}}),M.forEach(["post","put","patch"],function(e){k.headers[e]=M.merge(At)});var X=k,xt=f,bt=X,zt=function(e,r,i){var n=this||bt;return xt.forEach(i,function(a){e=a.call(n,e,r)}),e},we=function(e){return!!(e&&e.__CANCEL__)},he=f,q=zt,Rt=we,Ut=X,Yt=Y;function K(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Yt}var kt=function(e){K(e),e.headers=e.headers||{},e.data=q.call(e,e.data,e.headers,e.transformRequest),e.headers=he.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),he.forEach(["delete","get","head","post","put","patch","common"],function(n){delete e.headers[n]});var r=e.adapter||Ut.adapter;return r(e).then(function(n){return K(e),n.data=q.call(e,n.data,n.headers,e.transformResponse),n},function(n){return Rt(n)||(K(e),n&&n.response&&(n.response.data=q.call(e,n.response.data,n.response.headers,e.transformResponse))),Promise.reject(n)})},j=f,ye=function(e,r){r=r||{};var i={};function n(o,c){return j.isPlainObject(o)&&j.isPlainObject(c)?j.merge(o,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function s(o){if(j.isUndefined(r[o])){if(!j.isUndefined(e[o]))return n(void 0,e[o])}else return n(e[o],r[o])}function a(o){if(!j.isUndefined(r[o]))return n(void 0,r[o])}function u(o){if(j.isUndefined(r[o])){if(!j.isUndefined(e[o]))return n(void 0,e[o])}else return n(void 0,r[o])}function l(o){if(o in r)return n(e[o],r[o]);if(o in e)return n(void 0,e[o])}var d={url:a,method:a,data:a,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:l};return j.forEach(Object.keys(e).concat(Object.keys(r)),function(c){var p=d[c]||s,N=p(c);j.isUndefined(N)&&p!==l||(i[c]=N)}),i},me={version:"0.27.2"},Wt=me.version,y=O,ee={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){ee[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});var ve={};ee.transitional=function(e,r,i){function n(s,a){return"[Axios v"+Wt+"] Transitional option '"+s+"'"+a+(i?". "+i:"")}return function(s,a,u){if(e===!1)throw new y(n(a," has been removed"+(r?" in "+r:"")),y.ERR_DEPRECATED);return r&&!ve[a]&&(ve[a]=!0,console.warn(n(a," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,a,u):!0}};function Pt(t,e,r){if(typeof t!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(t),n=i.length;n-- >0;){var s=i[n],a=e[s];if(a){var u=t[s],l=u===void 0||a(u,s,t);if(l!==!0)throw new y("option "+s+" must be "+l,y.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new y("Unknown option "+s,y.ERR_BAD_OPTION)}}var Zt={assertOptions:Pt,validators:ee},De=f,Gt=oe,Ce=rt,Oe=kt,W=ye,Bt=de,Ee=Zt,E=Ee.validators;function A(t){this.defaults=t,this.interceptors={request:new Ce,response:new Ce}}A.prototype.request=function(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=W(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var i=r.transitional;i!==void 0&&Ee.assertOptions(i,{silentJSONParsing:E.transitional(E.boolean),forcedJSONParsing:E.transitional(E.boolean),clarifyTimeoutError:E.transitional(E.boolean)},!1);var n=[],s=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(r)===!1||(s=s&&N.synchronous,n.unshift(N.fulfilled,N.rejected))});var a=[];this.interceptors.response.forEach(function(N){a.push(N.fulfilled,N.rejected)});var u;if(!s){var l=[Oe,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(a),u=Promise.resolve(r);l.length;)u=u.then(l.shift(),l.shift());return u}for(var d=r;n.length;){var o=n.shift(),c=n.shift();try{d=o(d)}catch(p){c(p);break}}try{u=Oe(d)}catch(p){return Promise.reject(p)}for(;a.length;)u=u.then(a.shift(),a.shift());return u},A.prototype.getUri=function(e){e=W(this.defaults,e);var r=Bt(e.baseURL,e.url);return Gt(r,e.params,e.paramsSerializer)},De.forEach(["delete","get","head","options"],function(e){A.prototype[e]=function(r,i){return this.request(W(i||{},{method:e,url:r,data:(i||{}).data}))}}),De.forEach(["post","put","patch"],function(e){function r(i){return function(s,a,u){return this.request(W(u||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}A.prototype[e]=r(),A.prototype[e+"Form"]=r(!0)});var _t=A,Ht=Y;function g(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(n){e=n});var r=this;this.promise.then(function(i){if(!!r._listeners){var n,s=r._listeners.length;for(n=0;nt,async t=>(console.log("error",t),t.response.status===401&&(window.location.href="/#/login"),Promise.reject(t)));var er="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj48c3ZnIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAyMTQ0IDg3NyIgdmVyc2lvbj0i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wvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJfTGluZWFyNSIgeDE9IjAiIHkxPSIwIiB4Mj0iMSIgeTI9IjAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KC0zLjkxODg1ZS0xMyw0NzIuNDU5LC00NzMuODk1LC0zLjkwNjk4ZS0xMyw1ODcuNjE5LC0wLjg2MTY1MSkiPjxzdG9wIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6IzAwNDhhZjtzdG9wLW9wYWNpdHk6MSIvPjxzdG9wIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzAwMzU4MDtzdG9wLW9wYWNpdHk6MSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJfTGluZWFyNiIgeDE9IjAiIHkxPSIwIiB4Mj0iMSIgeTI9IjAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDUuNTE4NDhlLTE0LDg5OC41MDYsLTkwMS4yMzYsNS41MDE3NmUtMTQsMTYyLjQyMSwtMTIuMTMzNykiPjxzdG9wIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6IzBiODlmZjtzdG9wLW9wYWNpdHk6MSIvPjxzdG9wIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzAwNGViMjtzdG9wLW9wYWNpdHk6MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg==",fr=(()=>`.title[data-v-e696721c]{color:red} +`)(),tr=(t,e)=>{const r=t.__vccOpts||t;for(const[i,n]of e)r[i]=n;return r};const rr=h.defineComponent({name:"DefaultView",setup(){return{logo:er}}}),nr=(t=>(h.pushScopeId("data-v-e696721c"),t=t(),h.popScopeId(),t))(()=>h.createElementVNode("div",{class:"title"},"Hello World",-1)),ir=["src"];function sr(t,e,r,i,n,s){return h.openBlock(),h.createElementBlock(h.Fragment,null,[nr,h.createElementVNode("img",{src:t.logo,alt:"logo"},null,8,ir)],64)}var ar=tr(rr,[["render",sr],["__scopeId","data-v-e696721c"]]),Nr=(()=>`.title{font-size:20px} +`)(),or={name:"PluginTemplate",components:[],routes:[{path:"/hello-world",name:"HelloWorld",component:ar}],menus:[{name:"From PluginTemplate",items:[{name:"HelloWorld",path:"/hello-world",icon:be.IconGrid}]}],extensionPoints:{},activated(){},deactivated(){}};return or}(Vue,VueRouter,HaloComponents);