@kong-ui-public/app-layout 4.2.49 → 4.2.50-pr.1599.4d565e0aa.0
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/app-layout.es.js +675 -675
- package/dist/app-layout.umd.js +4 -4
- package/dist/types/components/AppLayout.vue.d.ts +5 -5
- package/dist/types/components/AppLayout.vue.d.ts.map +1 -1
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts +4 -4
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts.map +1 -1
- package/dist/types/components/errors/AppError.vue.d.ts +1 -1
- package/dist/types/components/errors/AppError.vue.d.ts.map +1 -1
- package/dist/types/components/icons/BananaSplit.vue.d.ts +1 -1
- package/dist/types/components/navbar/AccountDropdown.vue.d.ts +4 -4
- package/dist/types/components/navbar/AccountDropdown.vue.d.ts.map +1 -1
- package/dist/types/components/navbar/AppNavbar.vue.d.ts +4 -4
- package/dist/types/components/navbar/AppNavbar.vue.d.ts.map +1 -1
- package/dist/types/components/pageHeader/AppPageHeader.vue.d.ts +4 -4
- package/dist/types/components/pageHeader/AppPageHeader.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts +8 -45
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/ItemBadge.vue.d.ts +4 -4
- package/dist/types/components/sidebar/SidebarItem.vue.d.ts +5 -5
- package/dist/types/components/sidebar/SidebarItem.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarToggle.vue.d.ts +5 -5
- package/package.json +3 -3
package/dist/app-layout.umd.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function(D,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(D=typeof globalThis<"u"?globalThis:D||self,e(D["kong-ui-public-app-layout"]={},D.Vue))})(this,function(D,e){"use strict";const Ft=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(n){return(a,r)=>{const o=e.resolveComponent("KDropdownItem"),l=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(l,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:u})=>[e.renderSlot(a.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,c=>(e.openBlock(),e.createBlock(o,{key:c.value,class:e.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:p=>u(c)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{option:c},()=>[e.createTextVNode(e.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),H=(n,a)=>{const r=n.__vccOpts||n;for(const[o,l]of a)r[o]=l;return r},Dt=H(Ft,[["__scopeId","data-v-b33191a2"]]),Vt={class:"about-section-title","data-testid":"about-section-title"},Rt={class:"about-section-header-end"},Lt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Mt={key:1,class:"about-section-timestamps-arrow"},Pt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},jt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Zt={key:0,"data-testid":"about-section-loading-skeleton"},Kt={key:1},Ht={key:0,class:"about-section-description","data-testid":"about-section-description"},zt={key:1,class:"about-section-content","data-testid":"about-section-content"},Ut={key:2,"data-testid":"about-divider-section-separator"},Wt={key:3,class:"about-divider-section","data-testid":"about-divider-section"},Gt=H(e.defineComponent({__name:"AppAboutSection",props:{title:{type:String,default:""},description:{type:String,default:""},created:{type:String,default:""},createdLabel:{type:String,default:"Created"},modified:{type:String,default:""},modifiedLabel:{type:String,default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(n){const a=n,r=e.computed(()=>!!a.modified&&a.modified!==a.created);return(o,l)=>{const u=e.resolveComponent("KSkeletonBox"),c=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(c,{class:"kong-ui-app-about-section","title-tag":"h2"},e.createSlots({default:e.withCtx(()=>[n.isLoading?(e.openBlock(),e.createElementBlock("div",Zt,[e.createVNode(u,{height:"2",width:"100"}),e.createVNode(u,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",Kt,[n.description?(e.openBlock(),e.createElementBlock("p",Ht,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",zt,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",Ut)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Wt,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Vt,e.toDisplayString(n.title),1)]),key:"0"}:void 0,o.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Rt,[n.created||n.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":o.$slots.actions}])},[n.created?(e.openBlock(),e.createElementBlock("span",Lt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&r.value?(e.openBlock(),e.createElementBlock("span",Mt,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Pt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",jt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-521dcc27"]]),qt={},Xt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},Yt=[e.createStaticVNode('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>',5)];function Jt(n,a){return e.openBlock(),e.createElementBlock("svg",Xt,Yt)}const Qt=H(qt,[["render",Jt]]),Ue=n=>(e.pushScopeId("data-v-5cbccc66"),n=n(),e.popScopeId(),n),ea={class:"kong-ui-app-error"},ta={class:"banana-icon"},aa={class:"kong-ui-app-error-content"},na=Ue(()=>e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),oa=Ue(()=>e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1)),ra=H(e.defineComponent({__name:"AppError",setup(n){return(a,r)=>(e.openBlock(),e.createElementBlock("section",ea,[e.createElementVNode("div",ta,[e.createVNode(Qt)]),e.createElementVNode("div",aa,[e.renderSlot(a.$slots,"default",{},()=>[na,oa],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ia={class:"kong-ui-app-navbar"},ca={class:"header-content"},sa={class:"mobile-header-left"},la={key:0,class:"app-navbar-logo"},da={class:"navbar-content"},ua={class:"navbar-content-left"},fa={class:"navbar-content-center"},ma={class:"navbar-content-right"},We=H(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(n){e.useCssVars(c=>({d96d0598:u.value.top,"05b18f8e":u.value.zIndex,"543b3ff0":u.value.left,"247c8fd0":l.marginRight,"278e63f0":l.width}));const a=n,r=e.useSlots(),o=e.computed(()=>!!r.logo),l=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,p;(p=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&p.length?(l.marginRight="32px",l.width="calc(240px - 32px)"):(l.marginRight="0",l.width="0")});const u=e.computed(()=>({top:a.topOffset?`${a.topOffset}px`:"0",left:a.leftOffset?`${a.leftOffset}px`:"0",zIndex:a.zIndex}));return(c,p)=>(e.openBlock(),e.createElementBlock("header",ia,[e.createElementVNode("div",ca,[e.createElementVNode("div",sa,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",la,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",da,[e.createElementVNode("div",ua,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",fa,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",ma,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),pa=["title"],Oe=99,ba=H(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(n){const a=n,r=e.computed(()=>a.count?a.count>Oe?`${Oe}+`:a.count.toString():"");return(o,l)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>Oe?String(n.count):void 0},e.toDisplayString(r.value),9,pa)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),ha=["data-testid"],ga=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],va={key:0,class:"sidebar-item-icon"},ya={class:"sidebar-item-name-container"},ka={class:"sidebar-item-name has-tooltip"},wa={key:2,class:"sidebar-item-label truncate-text truncate-18"},Sa=["id"],Ge=H(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:a}){const r=a,o=n,l=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),u=e.computed(()=>!o.item.to||typeof o.item.to!="string"||!o.item.newWindow?!1:o.item.newWindow&&(o.item.to.startsWith("http")||o.item.to.startsWith("/"))),c=e.computed(()=>o.subnavItem&&o.item.badgeCount!==void 0),p=w=>{r("click",w)},g=(w,N,E)=>{p(N),typeof E=="function"&&(w.preventDefault(),E())};return(w,N)=>{var I;const E=e.resolveComponent("KTooltip"),B=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([n.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:n.item.expanded},{active:n.item.active}]),"data-testid":n.item.testId?`sidebar-item-${n.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?"div":"router-link"),{custom:l.value?void 0:!0,to:!l.value&&!u.value?n.item.to:void 0},{default:e.withCtx(y=>{var A,K;return[e.createElementVNode("a",{"aria-controls":(A=n.item.items)!=null&&A.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-current":n.item.active?"page":void 0,"aria-expanded":(K=n.item.items)!=null&&K.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":u.value,"router-link":!l.value}]),href:l.value?String(n.item.to||"#"):y==null?void 0:y.href,target:u.value?"_blank":void 0,onClick:$=>g($,n.item,y==null?void 0:y.navigate),onKeypress:e.withKeys($=>g($,n.item,y==null?void 0:y.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!n.item.label&&n.item.expanded,"has-badge":c.value}])},[w.$slots[`sidebar-icon-${n.item.key}`]?(e.openBlock(),e.createElementBlock("div",va,[n.subnavItem?e.createCommentVNode("",!0):e.renderSlot(w.$slots,`sidebar-icon-${n.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",ya,[(n.subnavItem?n.item.name.length<25:n.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[n.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(n.item.name),3)):(e.openBlock(),e.createBlock(E,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:n.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",ka,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[n.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":c.value}]])},e.toDisplayString(n.item.name),3)])]),_:1},8,["text"])),n.item.label&&n.item.expanded?(e.openBlock(),e.createElementBlock("div",wa,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(ba,{key:1,count:n.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,ga)]}),_:3},8,["custom","to"])),(I=n.item.items)!=null&&I.length&&n.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${n.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.items,y=>(e.openBlock(),e.createBlock(B,{key:y.name,item:y,"subnav-item":!0,onClick:A=>p(y)},null,8,["item","onClick"]))),128))],8,Sa)):e.createCommentVNode("",!0)],10,ha)}}}),[["__scopeId","data-v-90892c1e"]]);/*!
|
|
1
|
+
(function(V,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(V=typeof globalThis<"u"?globalThis:V||self,e(V["kong-ui-public-app-layout"]={},V.Vue))})(this,function(V,e){"use strict";const At=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(o){return(a,r)=>{const n=e.resolveComponent("KDropdownItem"),l=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(l,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":o.userInitials,width:o.width},{items:e.withCtx(({handleSelection:u})=>[e.renderSlot(a.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,c=>(e.openBlock(),e.createBlock(n,{key:c.value,class:e.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:b=>u(c)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{option:c},()=>[e.createTextVNode(e.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),H=(o,a)=>{const r=o.__vccOpts||o;for(const[n,l]of a)r[n]=l;return r},xt=H(At,[["__scopeId","data-v-b33191a2"]]),Ft={class:"about-section-title","data-testid":"about-section-title"},Dt={class:"about-section-header-end"},Vt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Rt={key:1,class:"about-section-timestamps-arrow"},Lt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Mt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Pt={key:0,"data-testid":"about-section-loading-skeleton"},jt={key:1},Zt={key:0,class:"about-section-description","data-testid":"about-section-description"},Kt={key:1,class:"about-section-content","data-testid":"about-section-content"},Ht={key:2,"data-testid":"about-divider-section-separator"},zt={key:3,class:"about-divider-section","data-testid":"about-divider-section"},Ut=H(e.defineComponent({__name:"AppAboutSection",props:{title:{type:String,default:""},description:{type:String,default:""},created:{type:String,default:""},createdLabel:{type:String,default:"Created"},modified:{type:String,default:""},modifiedLabel:{type:String,default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(o){const a=o,r=e.computed(()=>!!a.modified&&a.modified!==a.created);return(n,l)=>{const u=e.resolveComponent("KSkeletonBox"),c=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(c,{class:"kong-ui-app-about-section","title-tag":"h2"},e.createSlots({default:e.withCtx(()=>[o.isLoading?(e.openBlock(),e.createElementBlock("div",Pt,[e.createVNode(u,{height:"2",width:"100"}),e.createVNode(u,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",jt,[o.description?(e.openBlock(),e.createElementBlock("p",Zt,e.toDisplayString(o.description),1)):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createElementBlock("div",Kt,[e.renderSlot(n.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),n.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",Ht)):e.createCommentVNode("",!0),n.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",zt,[e.renderSlot(n.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[o.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Ft,e.toDisplayString(o.title),1)]),key:"0"}:void 0,n.$slots.actions||o.created||o.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Dt,[o.created||o.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":n.$slots.actions}])},[o.created?(e.openBlock(),e.createElementBlock("span",Vt,e.toDisplayString(o.createdLabel)+": "+e.toDisplayString(o.created),1)):e.createCommentVNode("",!0),o.created&&r.value?(e.openBlock(),e.createElementBlock("span",Rt,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Lt,e.toDisplayString(o.modifiedLabel)+": "+e.toDisplayString(o.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),n.$slots.actions?(e.openBlock(),e.createElementBlock("div",Mt,[e.renderSlot(n.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-521dcc27"]]),Wt={},Gt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"};function qt(o,a){return e.openBlock(),e.createElementBlock("svg",Gt,a[0]||(a[0]=[e.createStaticVNode('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>',5)]))}const Xt=H(Wt,[["render",qt]]),Yt={class:"kong-ui-app-error"},Jt={class:"banana-icon"},Qt={class:"kong-ui-app-error-content"},ea=H(e.defineComponent({__name:"AppError",setup(o){return(a,r)=>(e.openBlock(),e.createElementBlock("section",Yt,[e.createElementVNode("div",Jt,[e.createVNode(Xt)]),e.createElementVNode("div",Qt,[e.renderSlot(a.$slots,"default",{},()=>[r[0]||(r[0]=e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),r[1]||(r[1]=e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1))],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ta={class:"kong-ui-app-navbar"},aa={class:"header-content"},na={class:"mobile-header-left"},oa={key:0,class:"app-navbar-logo"},ra={class:"navbar-content"},ia={class:"navbar-content-left"},ca={class:"navbar-content-center"},sa={class:"navbar-content-right"},ze=H(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(o){e.useCssVars(c=>({d96d0598:u.value.top,"05b18f8e":u.value.zIndex,"543b3ff0":u.value.left,"247c8fd0":l.marginRight,"278e63f0":l.width}));const a=o,r=e.useSlots(),n=e.computed(()=>!!r.logo),l=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,b;(b=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&b.length?(l.marginRight="32px",l.width="calc(240px - 32px)"):(l.marginRight="0",l.width="0")});const u=e.computed(()=>({top:a.topOffset?`${a.topOffset}px`:"0",left:a.leftOffset?`${a.leftOffset}px`:"0",zIndex:a.zIndex}));return(c,b)=>(e.openBlock(),e.createElementBlock("header",ta,[e.createElementVNode("div",aa,[e.createElementVNode("div",na,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),n.value?(e.openBlock(),e.createElementBlock("div",oa,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",ra,[e.createElementVNode("div",ia,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",ca,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",sa,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),la=["title"],$e=99,da=H(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(o){const a=o,r=e.computed(()=>a.count?a.count>$e?`${$e}+`:a.count.toString():"");return(n,l)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(o.count||0)>$e?String(o.count):void 0},e.toDisplayString(r.value),9,la)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),ua=["data-testid"],fa=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],ma={key:0,class:"sidebar-item-icon"},ba={class:"sidebar-item-name-container"},pa={class:"sidebar-item-name has-tooltip"},ha={key:2,class:"sidebar-item-label truncate-text truncate-18"},ga=["id"],Ue=H(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(o,{emit:a}){const r=a,n=o,l=e.computed(()=>typeof n.item.to!="string"?!1:!!n.item.newWindow||!!n.item.external||n.item.to.startsWith("http")),u=e.computed(()=>!n.item.to||typeof n.item.to!="string"||!n.item.newWindow?!1:n.item.newWindow&&(n.item.to.startsWith("http")||n.item.to.startsWith("/"))),c=e.computed(()=>n.subnavItem&&n.item.badgeCount!==void 0),b=w=>{r("click",w)},g=(w,T,N)=>{b(T),typeof N=="function"&&(w.preventDefault(),N())};return(w,T)=>{var I;const N=e.resolveComponent("KTooltip"),_=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([o.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:o.item.expanded},{active:o.item.active}]),"data-testid":o.item.testId?`sidebar-item-${o.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?"div":"router-link"),{custom:l.value?void 0:!0,to:!l.value&&!u.value?o.item.to:void 0},{default:e.withCtx(y=>{var A,K;return[e.createElementVNode("a",{"aria-controls":(A=o.item.items)!=null&&A.length&&o.item.expanded?`subnav-${o.item.key}`:void 0,"aria-current":o.item.active?"page":void 0,"aria-expanded":(K=o.item.items)!=null&&K.length&&o.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":u.value,"router-link":!l.value}]),href:l.value?String(o.item.to||"#"):y==null?void 0:y.href,target:u.value?"_blank":void 0,onClick:O=>g(O,o.item,y==null?void 0:y.navigate),onKeypress:e.withKeys(O=>g(O,o.item,y==null?void 0:y.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!o.item.label&&o.item.expanded,"has-badge":c.value}])},[w.$slots[`sidebar-icon-${o.item.key}`]?(e.openBlock(),e.createElementBlock("div",ma,[o.subnavItem?e.createCommentVNode("",!0):e.renderSlot(w.$slots,`sidebar-icon-${o.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",ba,[(o.subnavItem?o.item.name.length<25:o.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[o.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(o.item.name),3)):(e.openBlock(),e.createBlock(N,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:o.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",pa,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[o.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":c.value}]])},e.toDisplayString(o.item.name),3)])]),_:1},8,["text"])),o.item.label&&o.item.expanded?(e.openBlock(),e.createElementBlock("div",ha,e.toDisplayString(o.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(da,{key:1,count:o.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,fa)]}),_:3},8,["custom","to"])),(I=o.item.items)!=null&&I.length&&o.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${o.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.item.items,y=>(e.openBlock(),e.createBlock(_,{key:y.name,item:y,"subnav-item":!0,onClick:A=>b(y)},null,8,["item","onClick"]))),128))],8,ga)):e.createCommentVNode("",!0)],10,ua)}}}),[["__scopeId","data-v-90892c1e"]]);/*!
|
|
2
2
|
* tabbable 6.2.0
|
|
3
3
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
-
*/var
|
|
4
|
+
*/var We=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ge=We.join(","),Ge=typeof Element>"u",te=Ge?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ve=!Ge&&Element.prototype.getRootNode?function(o){var a;return o==null||(a=o.getRootNode)===null||a===void 0?void 0:a.call(o)}:function(o){return o==null?void 0:o.ownerDocument},ye=function o(a,r){var n;r===void 0&&(r=!0);var l=a==null||(n=a.getAttribute)===null||n===void 0?void 0:n.call(a,"inert"),u=l===""||l==="true",c=u||r&&a&&o(a.parentNode);return c},va=function(a){var r,n=a==null||(r=a.getAttribute)===null||r===void 0?void 0:r.call(a,"contenteditable");return n===""||n==="true"},qe=function(a,r,n){if(ye(a))return[];var l=Array.prototype.slice.apply(a.querySelectorAll(ge));return r&&te.call(a,ge)&&l.unshift(a),l=l.filter(n),l},Xe=function o(a,r,n){for(var l=[],u=Array.from(a);u.length;){var c=u.shift();if(!ye(c,!1))if(c.tagName==="SLOT"){var b=c.assignedElements(),g=b.length?b:c.children,w=o(g,!0,n);n.flatten?l.push.apply(l,w):l.push({scopeParent:c,candidates:w})}else{var T=te.call(c,ge);T&&n.filter(c)&&(r||!a.includes(c))&&l.push(c);var N=c.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(c),_=!ye(N,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(c));if(N&&_){var I=o(N===!0?c.children:N.children,!0,n);n.flatten?l.push.apply(l,I):l.push({scopeParent:c,candidates:I})}else u.unshift.apply(u,c.children)}}return l},Ye=function(a){return!isNaN(parseInt(a.getAttribute("tabindex"),10))},ae=function(a){if(!a)throw new Error("No node provided");return a.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(a.tagName)||va(a))&&!Ye(a)?0:a.tabIndex},ya=function(a,r){var n=ae(a);return n<0&&r&&!Ye(a)?0:n},ka=function(a,r){return a.tabIndex===r.tabIndex?a.documentOrder-r.documentOrder:a.tabIndex-r.tabIndex},Je=function(a){return a.tagName==="INPUT"},wa=function(a){return Je(a)&&a.type==="hidden"},Ca=function(a){var r=a.tagName==="DETAILS"&&Array.prototype.slice.apply(a.children).some(function(n){return n.tagName==="SUMMARY"});return r},Sa=function(a,r){for(var n=0;n<a.length;n++)if(a[n].checked&&a[n].form===r)return a[n]},Ea=function(a){if(!a.name)return!0;var r=a.form||ve(a),n=function(b){return r.querySelectorAll('input[type="radio"][name="'+b+'"]')},l;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")l=n(window.CSS.escape(a.name));else try{l=n(a.name)}catch(c){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",c.message),!1}var u=Sa(l,a.form);return!u||u===a},Na=function(a){return Je(a)&&a.type==="radio"},Ta=function(a){return Na(a)&&!Ea(a)},Ba=function(a){var r,n=a&&ve(a),l=(r=n)===null||r===void 0?void 0:r.host,u=!1;if(n&&n!==a){var c,b,g;for(u=!!((c=l)!==null&&c!==void 0&&(b=c.ownerDocument)!==null&&b!==void 0&&b.contains(l)||a!=null&&(g=a.ownerDocument)!==null&&g!==void 0&&g.contains(a));!u&&l;){var w,T,N;n=ve(l),l=(w=n)===null||w===void 0?void 0:w.host,u=!!((T=l)!==null&&T!==void 0&&(N=T.ownerDocument)!==null&&N!==void 0&&N.contains(l))}}return u},Qe=function(a){var r=a.getBoundingClientRect(),n=r.width,l=r.height;return n===0&&l===0},_a=function(a,r){var n=r.displayCheck,l=r.getShadowRoot;if(getComputedStyle(a).visibility==="hidden")return!0;var u=te.call(a,"details>summary:first-of-type"),c=u?a.parentElement:a;if(te.call(c,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof l=="function"){for(var b=a;a;){var g=a.parentElement,w=ve(a);if(g&&!g.shadowRoot&&l(g)===!0)return Qe(a);a.assignedSlot?a=a.assignedSlot:!g&&w!==a.ownerDocument?a=w.host:a=g}a=b}if(Ba(a))return!a.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Qe(a);return!1},Ia=function(a){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(a.tagName))for(var r=a.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var l=r.children.item(n);if(l.tagName==="LEGEND")return te.call(r,"fieldset[disabled] *")?!0:!l.contains(a)}return!0}r=r.parentElement}return!1},ke=function(a,r){return!(r.disabled||ye(r)||wa(r)||_a(r,a)||Ca(r)||Ia(r))},Ae=function(a,r){return!(Ta(r)||ae(r)<0||!ke(a,r))},Oa=function(a){var r=parseInt(a.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},$a=function o(a){var r=[],n=[];return a.forEach(function(l,u){var c=!!l.scopeParent,b=c?l.scopeParent:l,g=ya(b,c),w=c?o(l.candidates):b;g===0?c?r.push.apply(r,w):r.push(b):n.push({documentOrder:u,tabIndex:g,item:l,isScope:c,content:w})}),n.sort(ka).reduce(function(l,u){return u.isScope?l.push.apply(l,u.content):l.push(u.content),l},[]).concat(r)},Aa=function(a,r){r=r||{};var n;return r.getShadowRoot?n=Xe([a],r.includeContainer,{filter:Ae.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Oa}):n=qe(a,r.includeContainer,Ae.bind(null,r)),$a(n)},xa=function(a,r){r=r||{};var n;return r.getShadowRoot?n=Xe([a],r.includeContainer,{filter:ke.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):n=qe(a,r.includeContainer,ke.bind(null,r)),n},ie=function(a,r){if(r=r||{},!a)throw new Error("No node provided");return te.call(a,ge)===!1?!1:Ae(r,a)},Fa=We.concat("iframe").join(","),xe=function(a,r){if(r=r||{},!a)throw new Error("No node provided");return te.call(a,Fa)===!1?!1:ke(r,a)};/*!
|
|
5
5
|
* focus-trap 7.6.0
|
|
6
6
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function Pa(n,a,r){return(a=Za(a))in n?Object.defineProperty(n,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[a]=r,n}function at(n,a){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),r.push.apply(r,o)}return r}function nt(n){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?at(Object(r),!0).forEach(function(o){Pa(n,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))})}return n}function ja(n,a){if(typeof n!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var o=r.call(n,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function Za(n){var a=ja(n,"string");return typeof a=="symbol"?a:a+""}var ot={activateTrap:function(a,r){if(a.length>0){var o=a[a.length-1];o!==r&&o.pause()}var l=a.indexOf(r);l===-1||a.splice(l,1),a.push(r)},deactivateTrap:function(a,r){var o=a.indexOf(r);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},Ka=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},Ha=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},ue=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},za=function(a){return ue(a)&&!a.shiftKey},Ua=function(a){return ue(a)&&a.shiftKey},rt=function(a){return setTimeout(a,0)},it=function(a,r){var o=-1;return a.every(function(l,u){return r(l)?(o=u,!1):!0}),o},fe=function(a){for(var r=arguments.length,o=new Array(r>1?r-1:0),l=1;l<r;l++)o[l-1]=arguments[l];return typeof a=="function"?a.apply(void 0,o):a},we=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},Wa=[],Ga=function(a,r){var o=(r==null?void 0:r.document)||document,l=(r==null?void 0:r.trapStack)||Wa,u=nt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:za,isKeyBackward:Ua},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},p,g=function(f,s,m){return f&&f[s]!==void 0?f[s]:u[m||s]},w=function(f,s){var m=typeof(s==null?void 0:s.composedPath)=="function"?s.composedPath():void 0;return c.containerGroups.findIndex(function(b){var k=b.container,_=b.tabbableNodes;return k.contains(f)||(m==null?void 0:m.includes(k))||_.find(function(T){return T===f})})},N=function(f){var s=u[f];if(typeof s=="function"){for(var m=arguments.length,b=new Array(m>1?m-1:0),k=1;k<m;k++)b[k-1]=arguments[k];s=s.apply(void 0,b)}if(s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var _=s;if(typeof s=="string"&&(_=o.querySelector(s),!_))throw new Error("`".concat(f,"` as selector refers to no known node"));return _},E=function(){var f=N("initialFocus");if(f===!1)return!1;if(f===void 0||!xe(f,u.tabbableOptions))if(w(o.activeElement)>=0)f=o.activeElement;else{var s=c.tabbableGroups[0],m=s&&s.firstTabbableNode;f=m||N("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},B=function(){if(c.containerGroups=c.containers.map(function(f){var s=Ra(f,u.tabbableOptions),m=La(f,u.tabbableOptions),b=s.length>0?s[0]:void 0,k=s.length>0?s[s.length-1]:void 0,_=m.find(function(O){return ie(O)}),T=m.slice().reverse().find(function(O){return ie(O)}),v=!!s.find(function(O){return ae(O)>0});return{container:f,tabbableNodes:s,focusableNodes:m,posTabIndexesFound:v,firstTabbableNode:b,lastTabbableNode:k,firstDomTabbableNode:_,lastDomTabbableNode:T,nextTabbableNode:function(q){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,W=s.indexOf(q);return W<0?L?m.slice(m.indexOf(q)+1).find(function(Q){return ie(Q)}):m.slice(0,m.indexOf(q)).reverse().find(function(Q){return ie(Q)}):s[W+(L?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!N("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(f){return f.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},I=function(f){var s=f.activeElement;if(s)return s.shadowRoot&&s.shadowRoot.activeElement!==null?I(s.shadowRoot):s},y=function(f){if(f!==!1&&f!==I(document)){if(!f||!f.focus){y(E());return}f.focus({preventScroll:!!u.preventScroll}),c.mostRecentlyFocusedNode=f,Ka(f)&&f.select()}},A=function(f){var s=N("setReturnFocus",f);return s||(s===!1?!1:f)},K=function(f){var s=f.target,m=f.event,b=f.isBackward,k=b===void 0?!1:b;s=s||we(m),B();var _=null;if(c.tabbableGroups.length>0){var T=w(s,m),v=T>=0?c.containerGroups[T]:void 0;if(T<0)k?_=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:_=c.tabbableGroups[0].firstTabbableNode;else if(k){var O=it(c.tabbableGroups,function(me){var pe=me.firstTabbableNode;return s===pe});if(O<0&&(v.container===s||xe(s,u.tabbableOptions)&&!ie(s,u.tabbableOptions)&&!v.nextTabbableNode(s,!1))&&(O=T),O>=0){var q=O===0?c.tabbableGroups.length-1:O-1,L=c.tabbableGroups[q];_=ae(s)>=0?L.lastTabbableNode:L.lastDomTabbableNode}else ue(m)||(_=v.nextTabbableNode(s,!1))}else{var W=it(c.tabbableGroups,function(me){var pe=me.lastTabbableNode;return s===pe});if(W<0&&(v.container===s||xe(s,u.tabbableOptions)&&!ie(s,u.tabbableOptions)&&!v.nextTabbableNode(s))&&(W=T),W>=0){var Q=W===c.tabbableGroups.length-1?0:W+1,_e=c.tabbableGroups[Q];_=ae(s)>=0?_e.firstTabbableNode:_e.firstDomTabbableNode}else ue(m)||(_=v.nextTabbableNode(s))}}else _=N("fallbackFocus");return _},$=function(f){var s=we(f);if(!(w(s,f)>=0)){if(fe(u.clickOutsideDeactivates,f)){p.deactivate({returnFocus:u.returnFocusOnDeactivate});return}fe(u.allowOutsideClick,f)||f.preventDefault()}},G=function(f){var s=we(f),m=w(s,f)>=0;if(m||s instanceof Document)m&&(c.mostRecentlyFocusedNode=s);else{f.stopImmediatePropagation();var b,k=!0;if(c.mostRecentlyFocusedNode)if(ae(c.mostRecentlyFocusedNode)>0){var _=w(c.mostRecentlyFocusedNode),T=c.containerGroups[_].tabbableNodes;if(T.length>0){var v=T.findIndex(function(O){return O===c.mostRecentlyFocusedNode});v>=0&&(u.isKeyForward(c.recentNavEvent)?v+1<T.length&&(b=T[v+1],k=!1):v-1>=0&&(b=T[v-1],k=!1))}}else c.containerGroups.some(function(O){return O.tabbableNodes.some(function(q){return ae(q)>0})})||(k=!1);else k=!1;k&&(b=K({target:c.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(c.recentNavEvent)})),y(b||c.mostRecentlyFocusedNode||E())}c.recentNavEvent=void 0},J=function(f){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=f;var m=K({event:f,isBackward:s});m&&(ue(f)&&f.preventDefault(),y(m))},z=function(f){(u.isKeyForward(f)||u.isKeyBackward(f))&&J(f,u.isKeyBackward(f))},U=function(f){Ha(f)&&fe(u.escapeDeactivates,f)!==!1&&(f.preventDefault(),p.deactivate())},F=function(f){var s=we(f);w(s,f)>=0||fe(u.clickOutsideDeactivates,f)||fe(u.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},Z=function(){if(c.active)return ot.activateTrap(l,p),c.delayInitialFocusTimer=u.delayInitialFocus?rt(function(){y(E())}):y(E()),o.addEventListener("focusin",G,!0),o.addEventListener("mousedown",$,{capture:!0,passive:!1}),o.addEventListener("touchstart",$,{capture:!0,passive:!1}),o.addEventListener("click",F,{capture:!0,passive:!1}),o.addEventListener("keydown",z,{capture:!0,passive:!1}),o.addEventListener("keydown",U),p},S=function(){if(c.active)return o.removeEventListener("focusin",G,!0),o.removeEventListener("mousedown",$,!0),o.removeEventListener("touchstart",$,!0),o.removeEventListener("click",F,!0),o.removeEventListener("keydown",z,!0),o.removeEventListener("keydown",U),p},V=function(f){var s=f.some(function(m){var b=Array.from(m.removedNodes);return b.some(function(k){return k===c.mostRecentlyFocusedNode})});s&&y(E())},M=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(V):void 0,R=function(){M&&(M.disconnect(),c.active&&!c.paused&&c.containers.map(function(f){M.observe(f,{subtree:!0,childList:!0})}))};return p={get active(){return c.active},get paused(){return c.paused},activate:function(f){if(c.active)return this;var s=g(f,"onActivate"),m=g(f,"onPostActivate"),b=g(f,"checkCanFocusTrap");b||B(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=o.activeElement,s==null||s();var k=function(){b&&B(),Z(),R(),m==null||m()};return b?(b(c.containers.concat()).then(k,k),this):(k(),this)},deactivate:function(f){if(!c.active)return this;var s=nt({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},f);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,S(),c.active=!1,c.paused=!1,R(),ot.deactivateTrap(l,p);var m=g(s,"onDeactivate"),b=g(s,"onPostDeactivate"),k=g(s,"checkCanReturnFocus"),_=g(s,"returnFocus","returnFocusOnDeactivate");m==null||m();var T=function(){rt(function(){_&&y(A(c.nodeFocusedBeforeActivation)),b==null||b()})};return _&&k?(k(A(c.nodeFocusedBeforeActivation)).then(T,T),this):(T(),this)},pause:function(f){if(c.paused||!c.active)return this;var s=g(f,"onPause"),m=g(f,"onPostPause");return c.paused=!0,s==null||s(),S(),R(),m==null||m(),this},unpause:function(f){if(!c.paused||!c.active)return this;var s=g(f,"onUnpause"),m=g(f,"onPostUnpause");return c.paused=!1,s==null||s(),B(),Z(),R(),m==null||m(),this},updateContainerElements:function(f){var s=[].concat(f).filter(Boolean);return c.containers=s.map(function(m){return typeof m=="string"?o.querySelector(m):m}),c.active&&B(),R(),this}},p.updateContainerElements(a),p};/*!
|
|
7
|
+
*/function Da(o,a,r){return(a=Ra(a))in o?Object.defineProperty(o,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[a]=r,o}function et(o,a){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);a&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(o,l).enumerable})),r.push.apply(r,n)}return r}function tt(o){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?et(Object(r),!0).forEach(function(n){Da(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):et(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function Va(o,a){if(typeof o!="object"||!o)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,a||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(o)}function Ra(o){var a=Va(o,"string");return typeof a=="symbol"?a:a+""}var at={activateTrap:function(a,r){if(a.length>0){var n=a[a.length-1];n!==r&&n.pause()}var l=a.indexOf(r);l===-1||a.splice(l,1),a.push(r)},deactivateTrap:function(a,r){var n=a.indexOf(r);n!==-1&&a.splice(n,1),a.length>0&&a[a.length-1].unpause()}},La=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},Ma=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},ue=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},Pa=function(a){return ue(a)&&!a.shiftKey},ja=function(a){return ue(a)&&a.shiftKey},nt=function(a){return setTimeout(a,0)},ot=function(a,r){var n=-1;return a.every(function(l,u){return r(l)?(n=u,!1):!0}),n},fe=function(a){for(var r=arguments.length,n=new Array(r>1?r-1:0),l=1;l<r;l++)n[l-1]=arguments[l];return typeof a=="function"?a.apply(void 0,n):a},we=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},Za=[],Ka=function(a,r){var n=(r==null?void 0:r.document)||document,l=(r==null?void 0:r.trapStack)||Za,u=tt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Pa,isKeyBackward:ja},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,g=function(f,s,m){return f&&f[s]!==void 0?f[s]:u[m||s]},w=function(f,s){var m=typeof(s==null?void 0:s.composedPath)=="function"?s.composedPath():void 0;return c.containerGroups.findIndex(function(p){var k=p.container,E=p.tabbableNodes;return k.contains(f)||(m==null?void 0:m.includes(k))||E.find(function(B){return B===f})})},T=function(f){var s=u[f];if(typeof s=="function"){for(var m=arguments.length,p=new Array(m>1?m-1:0),k=1;k<m;k++)p[k-1]=arguments[k];s=s.apply(void 0,p)}if(s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var E=s;if(typeof s=="string"&&(E=n.querySelector(s),!E))throw new Error("`".concat(f,"` as selector refers to no known node"));return E},N=function(){var f=T("initialFocus");if(f===!1)return!1;if(f===void 0||!xe(f,u.tabbableOptions))if(w(n.activeElement)>=0)f=n.activeElement;else{var s=c.tabbableGroups[0],m=s&&s.firstTabbableNode;f=m||T("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},_=function(){if(c.containerGroups=c.containers.map(function(f){var s=Aa(f,u.tabbableOptions),m=xa(f,u.tabbableOptions),p=s.length>0?s[0]:void 0,k=s.length>0?s[s.length-1]:void 0,E=m.find(function($){return ie($)}),B=m.slice().reverse().find(function($){return ie($)}),v=!!s.find(function($){return ae($)>0});return{container:f,tabbableNodes:s,focusableNodes:m,posTabIndexesFound:v,firstTabbableNode:p,lastTabbableNode:k,firstDomTabbableNode:E,lastDomTabbableNode:B,nextTabbableNode:function(q){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,W=s.indexOf(q);return W<0?L?m.slice(m.indexOf(q)+1).find(function(Q){return ie(Q)}):m.slice(0,m.indexOf(q)).reverse().find(function(Q){return ie(Q)}):s[W+(L?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(f){return f.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},I=function(f){var s=f.activeElement;if(s)return s.shadowRoot&&s.shadowRoot.activeElement!==null?I(s.shadowRoot):s},y=function(f){if(f!==!1&&f!==I(document)){if(!f||!f.focus){y(N());return}f.focus({preventScroll:!!u.preventScroll}),c.mostRecentlyFocusedNode=f,La(f)&&f.select()}},A=function(f){var s=T("setReturnFocus",f);return s||(s===!1?!1:f)},K=function(f){var s=f.target,m=f.event,p=f.isBackward,k=p===void 0?!1:p;s=s||we(m),_();var E=null;if(c.tabbableGroups.length>0){var B=w(s,m),v=B>=0?c.containerGroups[B]:void 0;if(B<0)k?E=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:E=c.tabbableGroups[0].firstTabbableNode;else if(k){var $=ot(c.tabbableGroups,function(me){var be=me.firstTabbableNode;return s===be});if($<0&&(v.container===s||xe(s,u.tabbableOptions)&&!ie(s,u.tabbableOptions)&&!v.nextTabbableNode(s,!1))&&($=B),$>=0){var q=$===0?c.tabbableGroups.length-1:$-1,L=c.tabbableGroups[q];E=ae(s)>=0?L.lastTabbableNode:L.lastDomTabbableNode}else ue(m)||(E=v.nextTabbableNode(s,!1))}else{var W=ot(c.tabbableGroups,function(me){var be=me.lastTabbableNode;return s===be});if(W<0&&(v.container===s||xe(s,u.tabbableOptions)&&!ie(s,u.tabbableOptions)&&!v.nextTabbableNode(s))&&(W=B),W>=0){var Q=W===c.tabbableGroups.length-1?0:W+1,Ee=c.tabbableGroups[Q];E=ae(s)>=0?Ee.firstTabbableNode:Ee.firstDomTabbableNode}else ue(m)||(E=v.nextTabbableNode(s))}}else E=T("fallbackFocus");return E},O=function(f){var s=we(f);if(!(w(s,f)>=0)){if(fe(u.clickOutsideDeactivates,f)){b.deactivate({returnFocus:u.returnFocusOnDeactivate});return}fe(u.allowOutsideClick,f)||f.preventDefault()}},G=function(f){var s=we(f),m=w(s,f)>=0;if(m||s instanceof Document)m&&(c.mostRecentlyFocusedNode=s);else{f.stopImmediatePropagation();var p,k=!0;if(c.mostRecentlyFocusedNode)if(ae(c.mostRecentlyFocusedNode)>0){var E=w(c.mostRecentlyFocusedNode),B=c.containerGroups[E].tabbableNodes;if(B.length>0){var v=B.findIndex(function($){return $===c.mostRecentlyFocusedNode});v>=0&&(u.isKeyForward(c.recentNavEvent)?v+1<B.length&&(p=B[v+1],k=!1):v-1>=0&&(p=B[v-1],k=!1))}}else c.containerGroups.some(function($){return $.tabbableNodes.some(function(q){return ae(q)>0})})||(k=!1);else k=!1;k&&(p=K({target:c.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(c.recentNavEvent)})),y(p||c.mostRecentlyFocusedNode||N())}c.recentNavEvent=void 0},J=function(f){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=f;var m=K({event:f,isBackward:s});m&&(ue(f)&&f.preventDefault(),y(m))},z=function(f){(u.isKeyForward(f)||u.isKeyBackward(f))&&J(f,u.isKeyBackward(f))},U=function(f){Ma(f)&&fe(u.escapeDeactivates,f)!==!1&&(f.preventDefault(),b.deactivate())},D=function(f){var s=we(f);w(s,f)>=0||fe(u.clickOutsideDeactivates,f)||fe(u.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},Z=function(){if(c.active)return at.activateTrap(l,b),c.delayInitialFocusTimer=u.delayInitialFocus?nt(function(){y(N())}):y(N()),n.addEventListener("focusin",G,!0),n.addEventListener("mousedown",O,{capture:!0,passive:!1}),n.addEventListener("touchstart",O,{capture:!0,passive:!1}),n.addEventListener("click",D,{capture:!0,passive:!1}),n.addEventListener("keydown",z,{capture:!0,passive:!1}),n.addEventListener("keydown",U),b},C=function(){if(c.active)return n.removeEventListener("focusin",G,!0),n.removeEventListener("mousedown",O,!0),n.removeEventListener("touchstart",O,!0),n.removeEventListener("click",D,!0),n.removeEventListener("keydown",z,!0),n.removeEventListener("keydown",U),b},x=function(f){var s=f.some(function(m){var p=Array.from(m.removedNodes);return p.some(function(k){return k===c.mostRecentlyFocusedNode})});s&&y(N())},M=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(x):void 0,R=function(){M&&(M.disconnect(),c.active&&!c.paused&&c.containers.map(function(f){M.observe(f,{subtree:!0,childList:!0})}))};return b={get active(){return c.active},get paused(){return c.paused},activate:function(f){if(c.active)return this;var s=g(f,"onActivate"),m=g(f,"onPostActivate"),p=g(f,"checkCanFocusTrap");p||_(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=n.activeElement,s==null||s();var k=function(){p&&_(),Z(),R(),m==null||m()};return p?(p(c.containers.concat()).then(k,k),this):(k(),this)},deactivate:function(f){if(!c.active)return this;var s=tt({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},f);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,C(),c.active=!1,c.paused=!1,R(),at.deactivateTrap(l,b);var m=g(s,"onDeactivate"),p=g(s,"onPostDeactivate"),k=g(s,"checkCanReturnFocus"),E=g(s,"returnFocus","returnFocusOnDeactivate");m==null||m();var B=function(){nt(function(){E&&y(A(c.nodeFocusedBeforeActivation)),p==null||p()})};return E&&k?(k(A(c.nodeFocusedBeforeActivation)).then(B,B),this):(B(),this)},pause:function(f){if(c.paused||!c.active)return this;var s=g(f,"onPause"),m=g(f,"onPostPause");return c.paused=!0,s==null||s(),C(),R(),m==null||m(),this},unpause:function(f){if(!c.paused||!c.active)return this;var s=g(f,"onUnpause"),m=g(f,"onPostUnpause");return c.paused=!1,s==null||s(),_(),Z(),R(),m==null||m(),this},updateContainerElements:function(f){var s=[].concat(f).filter(Boolean);return c.containers=s.map(function(m){return typeof m=="string"?n.querySelector(m):m}),c.active&&_(),R(),this}},b.updateContainerElements(a),b};/*!
|
|
8
8
|
* focus-trap-vue v4.0.2
|
|
9
9
|
* (c) 2023 Eduardo San Martin Morote
|
|
10
10
|
* @license MIT
|
|
11
|
-
*/function or(n){return n}const qa={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},Xa=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},qa),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:a,emit:r}){let o;const l=e.ref(null),u=e.computed(()=>{const p=l.value;return p&&(p instanceof HTMLElement?p:p.$el)});function c(){return o||(o=Ga(u.value,{escapeDeactivates:n.escapeDeactivates,allowOutsideClick:n.allowOutsideClick,returnFocusOnDeactivate:n.returnFocusOnDeactivate,clickOutsideDeactivates:n.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:n.initialFocus,fallbackFocus:n.fallbackFocus,tabbableOptions:n.tabbableOptions,delayInitialFocus:n.delayInitialFocus,preventScroll:n.preventScroll}))}return e.onMounted(()=>{e.watch(()=>n.active,p=>{p&&u.value?c().activate():o&&(o.deactivate(),(!u.value||u.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){c().activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!a.default)return null;const p=a.default().filter(w=>w.type!==e.Comment);return!p||!p.length||p.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),p):e.cloneVNode(p[0],{ref:l})}}}});function ct(){return{debounce:(a,r)=>{let o;return(...l)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{a(...l)},r)}}}}var Se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ya(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ce={exports:{}};Ce.exports,function(n,a){var r=200,o="__lodash_hash_undefined__",l=9007199254740991,u="[object Arguments]",c="[object Array]",p="[object Boolean]",g="[object Date]",w="[object Error]",N="[object Function]",E="[object GeneratorFunction]",B="[object Map]",I="[object Number]",y="[object Object]",A="[object Promise]",K="[object RegExp]",$="[object Set]",G="[object String]",J="[object Symbol]",z="[object WeakMap]",U="[object ArrayBuffer]",F="[object DataView]",Z="[object Float32Array]",S="[object Float64Array]",V="[object Int8Array]",M="[object Int16Array]",R="[object Int32Array]",C="[object Uint8Array]",f="[object Uint8ClampedArray]",s="[object Uint16Array]",m="[object Uint32Array]",b=/[\\^$.*+?()[\]{}|]/g,k=/\w*$/,_=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,v={};v[u]=v[c]=v[U]=v[F]=v[p]=v[g]=v[Z]=v[S]=v[V]=v[M]=v[R]=v[B]=v[I]=v[y]=v[K]=v[$]=v[G]=v[J]=v[C]=v[f]=v[s]=v[m]=!0,v[w]=v[N]=v[z]=!1;var O=typeof Se=="object"&&Se&&Se.Object===Object&&Se,q=typeof self=="object"&&self&&self.Object===Object&&self,L=O||q||Function("return this")(),W=a&&!a.nodeType&&a,Q=W&&!0&&n&&!n.nodeType&&n,_e=Q&&Q.exports===W;function me(t,i){return t.set(i[0],i[1]),t}function pe(t,i){return t.add(i),t}function Vn(t,i){for(var d=-1,h=t?t.length:0;++d<h&&i(t[d],d,t)!==!1;);return t}function Rn(t,i){for(var d=-1,h=i.length,x=t.length;++d<h;)t[x+d]=i[d];return t}function ut(t,i,d,h){for(var x=-1,P=t?t.length:0;++x<P;)d=i(d,t[x],x,t);return d}function Ln(t,i){for(var d=-1,h=Array(t);++d<t;)h[d]=i(d);return h}function Mn(t,i){return t==null?void 0:t[i]}function ft(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function mt(t){var i=-1,d=Array(t.size);return t.forEach(function(h,x){d[++i]=[x,h]}),d}function De(t,i){return function(d){return t(i(d))}}function pt(t){var i=-1,d=Array(t.size);return t.forEach(function(h){d[++i]=h}),d}var Pn=Array.prototype,jn=Function.prototype,Ee=Object.prototype,Ve=L["__core-js_shared__"],bt=function(){var t=/[^.]+$/.exec(Ve&&Ve.keys&&Ve.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ht=jn.toString,ee=Ee.hasOwnProperty,Ne=Ee.toString,Zn=RegExp("^"+ht.call(ee).replace(b,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gt=_e?L.Buffer:void 0,vt=L.Symbol,yt=L.Uint8Array,Kn=De(Object.getPrototypeOf,Object),Hn=Object.create,zn=Ee.propertyIsEnumerable,Un=Pn.splice,kt=Object.getOwnPropertySymbols,Wn=gt?gt.isBuffer:void 0,Gn=De(Object.keys,Object),Re=le(L,"DataView"),be=le(L,"Map"),Le=le(L,"Promise"),Me=le(L,"Set"),Pe=le(L,"WeakMap"),he=le(Object,"create"),qn=re(Re),Xn=re(be),Yn=re(Le),Jn=re(Me),Qn=re(Pe),wt=vt?vt.prototype:void 0,St=wt?wt.valueOf:void 0;function ne(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function eo(){this.__data__=he?he(null):{}}function to(t){return this.has(t)&&delete this.__data__[t]}function ao(t){var i=this.__data__;if(he){var d=i[t];return d===o?void 0:d}return ee.call(i,t)?i[t]:void 0}function no(t){var i=this.__data__;return he?i[t]!==void 0:ee.call(i,t)}function oo(t,i){var d=this.__data__;return d[t]=he&&i===void 0?o:i,this}ne.prototype.clear=eo,ne.prototype.delete=to,ne.prototype.get=ao,ne.prototype.has=no,ne.prototype.set=oo;function X(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function ro(){this.__data__=[]}function io(t){var i=this.__data__,d=Te(i,t);if(d<0)return!1;var h=i.length-1;return d==h?i.pop():Un.call(i,d,1),!0}function co(t){var i=this.__data__,d=Te(i,t);return d<0?void 0:i[d][1]}function so(t){return Te(this.__data__,t)>-1}function lo(t,i){var d=this.__data__,h=Te(d,t);return h<0?d.push([t,i]):d[h][1]=i,this}X.prototype.clear=ro,X.prototype.delete=io,X.prototype.get=co,X.prototype.has=so,X.prototype.set=lo;function ce(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function uo(){this.__data__={hash:new ne,map:new(be||X),string:new ne}}function fo(t){return Be(this,t).delete(t)}function mo(t){return Be(this,t).get(t)}function po(t){return Be(this,t).has(t)}function bo(t,i){return Be(this,t).set(t,i),this}ce.prototype.clear=uo,ce.prototype.delete=fo,ce.prototype.get=mo,ce.prototype.has=po,ce.prototype.set=bo;function se(t){this.__data__=new X(t)}function ho(){this.__data__=new X}function go(t){return this.__data__.delete(t)}function vo(t){return this.__data__.get(t)}function yo(t){return this.__data__.has(t)}function ko(t,i){var d=this.__data__;if(d instanceof X){var h=d.__data__;if(!be||h.length<r-1)return h.push([t,i]),this;d=this.__data__=new ce(h)}return d.set(t,i),this}se.prototype.clear=ho,se.prototype.delete=go,se.prototype.get=vo,se.prototype.has=yo,se.prototype.set=ko;function wo(t,i){var d=Ke(t)||zo(t)?Ln(t.length,String):[],h=d.length,x=!!h;for(var P in t)ee.call(t,P)&&!(x&&(P=="length"||jo(P,h)))&&d.push(P);return d}function Ct(t,i,d){var h=t[i];(!(ee.call(t,i)&&Tt(h,d))||d===void 0&&!(i in t))&&(t[i]=d)}function Te(t,i){for(var d=t.length;d--;)if(Tt(t[d][0],i))return d;return-1}function So(t,i){return t&&_t(i,He(i),t)}function je(t,i,d,h,x,P,Y){var j;if(h&&(j=P?h(t,x,P,Y):h(t)),j!==void 0)return j;if(!Ie(t))return t;var $t=Ke(t);if($t){if(j=Lo(t),!i)return Do(t,j)}else{var de=oe(t),Ot=de==N||de==E;if(Wo(t))return Bo(t,i);if(de==y||de==u||Ot&&!P){if(ft(t))return P?t:{};if(j=Mo(Ot?{}:t),!i)return Vo(t,So(j,t))}else{if(!v[de])return P?t:{};j=Po(t,de,je,i)}}Y||(Y=new se);var At=Y.get(t);if(At)return At;if(Y.set(t,j),!$t)var xt=d?Ro(t):He(t);return Vn(xt||t,function(ze,$e){xt&&($e=ze,ze=t[$e]),Ct(j,$e,je(ze,i,d,h,$e,t,Y))}),j}function Co(t){return Ie(t)?Hn(t):{}}function _o(t,i,d){var h=i(t);return Ke(t)?h:Rn(h,d(t))}function Eo(t){return Ne.call(t)}function No(t){if(!Ie(t)||Ko(t))return!1;var i=It(t)||ft(t)?Zn:_;return i.test(re(t))}function To(t){if(!Nt(t))return Gn(t);var i=[];for(var d in Object(t))ee.call(t,d)&&d!="constructor"&&i.push(d);return i}function Bo(t,i){if(i)return t.slice();var d=new t.constructor(t.length);return t.copy(d),d}function Ze(t){var i=new t.constructor(t.byteLength);return new yt(i).set(new yt(t)),i}function Io(t,i){var d=i?Ze(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.byteLength)}function $o(t,i,d){var h=i?d(mt(t),!0):mt(t);return ut(h,me,new t.constructor)}function Oo(t){var i=new t.constructor(t.source,k.exec(t));return i.lastIndex=t.lastIndex,i}function Ao(t,i,d){var h=i?d(pt(t),!0):pt(t);return ut(h,pe,new t.constructor)}function xo(t){return St?Object(St.call(t)):{}}function Fo(t,i){var d=i?Ze(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.length)}function Do(t,i){var d=-1,h=t.length;for(i||(i=Array(h));++d<h;)i[d]=t[d];return i}function _t(t,i,d,h){d||(d={});for(var x=-1,P=i.length;++x<P;){var Y=i[x],j=void 0;Ct(d,Y,j===void 0?t[Y]:j)}return d}function Vo(t,i){return _t(t,Et(t),i)}function Ro(t){return _o(t,He,Et)}function Be(t,i){var d=t.__data__;return Zo(i)?d[typeof i=="string"?"string":"hash"]:d.map}function le(t,i){var d=Mn(t,i);return No(d)?d:void 0}var Et=kt?De(kt,Object):Xo,oe=Eo;(Re&&oe(new Re(new ArrayBuffer(1)))!=F||be&&oe(new be)!=B||Le&&oe(Le.resolve())!=A||Me&&oe(new Me)!=$||Pe&&oe(new Pe)!=z)&&(oe=function(t){var i=Ne.call(t),d=i==y?t.constructor:void 0,h=d?re(d):void 0;if(h)switch(h){case qn:return F;case Xn:return B;case Yn:return A;case Jn:return $;case Qn:return z}return i});function Lo(t){var i=t.length,d=t.constructor(i);return i&&typeof t[0]=="string"&&ee.call(t,"index")&&(d.index=t.index,d.input=t.input),d}function Mo(t){return typeof t.constructor=="function"&&!Nt(t)?Co(Kn(t)):{}}function Po(t,i,d,h){var x=t.constructor;switch(i){case U:return Ze(t);case p:case g:return new x(+t);case F:return Io(t,h);case Z:case S:case V:case M:case R:case C:case f:case s:case m:return Fo(t,h);case B:return $o(t,h,d);case I:case G:return new x(t);case K:return Oo(t);case $:return Ao(t,h,d);case J:return xo(t)}}function jo(t,i){return i=i??l,!!i&&(typeof t=="number"||T.test(t))&&t>-1&&t%1==0&&t<i}function Zo(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Ko(t){return!!bt&&bt in t}function Nt(t){var i=t&&t.constructor,d=typeof i=="function"&&i.prototype||Ee;return t===d}function re(t){if(t!=null){try{return ht.call(t)}catch{}try{return t+""}catch{}}return""}function Ho(t){return je(t,!0,!0)}function Tt(t,i){return t===i||t!==t&&i!==i}function zo(t){return Uo(t)&&ee.call(t,"callee")&&(!zn.call(t,"callee")||Ne.call(t)==u)}var Ke=Array.isArray;function Bt(t){return t!=null&&Go(t.length)&&!It(t)}function Uo(t){return qo(t)&&Bt(t)}var Wo=Wn||Yo;function It(t){var i=Ie(t)?Ne.call(t):"";return i==N||i==E}function Go(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=l}function Ie(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function qo(t){return!!t&&typeof t=="object"}function He(t){return Bt(t)?wo(t):To(t)}function Xo(){return[]}function Yo(){return!1}n.exports=Ho}(Ce,Ce.exports);var Ja=Ce.exports;const Qa=Ya(Ja),en={key:0,class:"sidebar-header"},tn={class:"sidebar-content-container"},an={key:0,class:"sidebar-top"},nn={"aria-label":"Main menu"},on={key:0,class:"level-primary top-items"},rn={key:1,class:"sidebar-level-divider",role:"separator"},cn={key:2,class:"level-primary bottom-items"},sn={class:"sidebar-footer"},st=H(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:3},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(n,{emit:a}){e.useCssVars(s=>({"5decedf8":p.value.mobileHeight,"621c03b8":p.value.mobileTop,"1a4a2eb0":n.zIndex,c3efec14:p.value.height,f812da34:p.value.top,"98cbd98c":w.value.marginTop,"3b672422":C.value,"3b821012":g.value.display,"4c860169":g.value.minHeight,"98cd1a16":N.value.top,"362eded8":N.value.zIndex}));const r=a,o=n,l=e.useSlots(),u=e.computed(()=>!!l.header),c=e.computed(()=>!!l.top),p=e.computed(()=>({mobileTop:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:o.topOffset?`${o.topOffset}px`:"0",top:o.topOffset?`${o.topOffset}px`:"0",mobileHeight:o.mobileTopOffset&&o.mobileEnabled?`calc(100% - ${o.mobileTopOffset}px)`:"100%",height:o.topOffset?`calc(100% - ${o.topOffset}px)`:"100%"})),g=e.computed(()=>({display:!o.mobileHeaderVisible&&o.mobileEnabled?"none":"flex",minHeight:`${o.headerHeight}px`})),w=e.computed(()=>({marginTop:u.value?`${o.headerHeight}px`:"0"})),N=e.computed(()=>({top:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:"0",zIndex:o.mobileOverlayZIndex!==null?o.mobileOverlayZIndex:o.zIndex>1?o.zIndex-1:1})),E=s=>Qa(s).map(b=>{var k,_,T;if(b){(!b.key||!((k=b.key)!=null&&k.trim()))&&(b.key=String(b.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!b.testId||!((_=b.testId)!=null&&_.trim()))&&(b.testId=String(b.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const v of b.items||[])v.parentKey=b.key,(!v.testId||!((T=v.testId)!=null&&T.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return b}),B=e.computed(()=>o.topItems.length?E(o.topItems):[]),I=e.computed(()=>o.bottomItems.length?E(o.bottomItems):[]),y=e.ref(o.open),A=s=>{var m,b;y.value!==s&&(y.value=s,r("toggle",s)),s?(m=document==null?void 0:document.body)==null||m.classList.add("kong-ui-app-sidebar-open"):(b=document==null?void 0:document.body)==null||b.classList.remove("kong-ui-app-sidebar-open"),$.value=!1},K=()=>{o.mobileOverlayCloseOnClick&&A(!1)},$=e.ref(!1),G=s=>{$.value=!0,r("click",s),setTimeout(()=>{A(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,s=>{A(s)});const{debounce:J}=ct(),z=J(()=>{y.value&&U.value!==(window==null?void 0:window.innerWidth)&&(U.value=window==null?void 0:window.innerWidth,A(!1))},200),U=e.ref(),F=e.ref(!1),Z=e.ref(),S=()=>{F.value||(F.value=!0,clearTimeout(Z.value),Z.value=setTimeout(()=>F.value=!1,1300))},V=e.ref(null),M=e.computed(()=>y.value&&o.mobileEnabled),R=async s=>{var m,b;s?(await e.nextTick(),await new Promise(k=>setTimeout(k,300)),(m=V.value)==null||m.activate()):(b=V.value)==null||b.deactivate()};e.watch(M,async s=>{s?await R(!0):await R(!1)},{immediate:!0});const C=e.ref("0px"),f=()=>{var v;if(!(/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((v=navigator==null?void 0:navigator.userAgentData)==null?void 0:v.platform)))return;const m=document.createElement("div");m.style.visibility="hidden",m.style.width="100px",document.body.appendChild(m);const b=m.offsetWidth;m.style.overflow="scroll";const k=document.createElement("div");k.style.width="100%",m.appendChild(k);const _=k.offsetWidth;m.parentNode&&m.parentNode.removeChild(m),b-_===0&&(C.value="8px")};return e.onMounted(async()=>{U.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",z),window.addEventListener("resize",S),await e.nextTick(),f()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",z),window.removeEventListener("resize",S)}),(s,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[y.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:K})):e.createCommentVNode("",!0),e.createVNode(e.unref(Xa),{ref_key:"focusTrap",ref:V,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:e.withCtx(()=>[e.createElementVNode("aside",{class:e.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":y.value,"no-sidebar-header":!u.value,"mobile-header-hidden":n.mobileEnabled&&(!u.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":F.value}]),tabindex:"-1"},[u.value?(e.openBlock(),e.createElementBlock("div",en,[e.renderSlot(s.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",tn,[c.value?(e.openBlock(),e.createElementBlock("div",an,[e.renderSlot(s.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",nn,[B.value.length?(e.openBlock(),e.createElementBlock("ul",on,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,b=>(e.openBlock(),e.createBlock(Ge,{key:b.name,item:b,onClick:G},{[`sidebar-icon-${b.key}`]:e.withCtx(()=>[e.renderSlot(s.$slots,`sidebar-icon-${b.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0),B.value.length&&I.value.length?(e.openBlock(),e.createElementBlock("div",rn)):e.createCommentVNode("",!0),I.value.length?(e.openBlock(),e.createElementBlock("ul",cn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,b=>(e.openBlock(),e.createBlock(Ge,{key:b.name,item:b,onClick:G},{[`sidebar-icon-${b.key}`]:e.withCtx(()=>[e.renderSlot(s.$slots,`sidebar-icon-${b.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",sn,[e.renderSlot(s.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-843a05a4"]]),Fe=n=>(e.pushScopeId("data-v-b411bcf5"),n=n(),e.popScopeId(),n),ln=["aria-label"],dn=[Fe(()=>e.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>e.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>e.createElementVNode("span",{class:"line"},null,-1))],lt=H(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:a}){const r=a,o=n,l=e.ref(o.active||!1),u=c=>{c.preventDefault(),l.value=!l.value,r("toggle",l.value)};return e.watch(()=>o.active,c=>{l.value=c}),(c,p)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":l.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:l.value}]),href:"#",role:"button",onClick:e.withModifiers(u,["prevent"])},dn,10,ln))}}),[["__scopeId","data-v-b411bcf5"]]),un="#ffffff",fn="#000933",mn="#000933",pn="#ffffff",bn="0px",hn="4px",gn=n=>(e.pushScopeId("data-v-47c01124"),n=n(),e.popScopeId(),n),vn={id:"kong-ui-app-layout-notification"},yn={class:"mobile-logo"},kn={key:0,class:"navbar-logo"},wn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Sn={class:"kong-ui-app-layout-content"},Cn={class:"kong-ui-app-layout-content-inner"},_n=gn(()=>e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),dt=H(e.defineComponent({__name:"AppLayout",props:{hideDefaultSlot:{type:Boolean,default:!1},navbarHidden:{type:Boolean,default:!1},sidebarHidden:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!1},sidebarTopItems:{type:Array,default:()=>[]},sidebarBottomItems:{type:Array,default:()=>[]},theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)}},emits:["sidebar-click"],setup(n,{emit:a}){e.useCssVars(S=>({"30c6990a":$.value,40906680:G.value,"169c1fd8":K.value,"75276abc":J.value,af1d4ea2:z.value}));const r=n,o=a,l=e.useSlots(),u=e.reactive({navbarLeft:e.computed(()=>!!l["navbar-left"]),navbarCenter:e.computed(()=>!!l["navbar-center"]),navbarRight:e.computed(()=>!!l["navbar-right"]),navbarLogo:e.computed(()=>!!l["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!l["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!l["sidebar-header"]),sidebarTop:e.computed(()=>!!l["sidebar-top"]),sidebarFooter:e.computed(()=>!!l["sidebar-footer"])}),c=e.computed(()=>r.hideDefaultSlot),p=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),g=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),w=S=>{o("sidebar-click",S)},N=e.ref(!1),E=S=>{N.value=S};e.watchEffect(()=>{N.value=e.toRef(g,"open").value||!1});const B=e.ref(0),I=e.ref(60),y=e.ref(0),A=e.computed(()=>p.hidden?y.value:I.value+y.value),K=e.computed(()=>r.theme==="light"?mn:pn),$=e.computed(()=>r.theme==="light"?un:fn),G=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),J=e.computed(()=>`${A.value}px`),z=e.computed(()=>g.hidden||p.hidden?bn:hn),{debounce:U}=ct(),F=U((S=!1)=>{if(S||B.value!==(window==null?void 0:window.innerWidth)){B.value=window==null?void 0:window.innerWidth;const V=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");V&&(y.value=V.offsetHeight)}},200),Z=e.ref();return e.onMounted(()=>{var V,M;(V=document==null?void 0:document.body)==null||V.classList.add("kong-ui-app-layout-body"),(M=document==null?void 0:document.documentElement)==null||M.classList.add("kong-ui-app-layout-html"),B.value=window==null?void 0:window.innerWidth,F(!0);const S=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");S&&(Z.value=new ResizeObserver(R=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(R)||!R.length))for(const C of R){const f=C.contentRect.height;y.value!==f&&(y.value=f)}})}),Z.value.observe(S)),window.addEventListener("resize",F)}),e.onBeforeUnmount(()=>{Z.value&&Z.value.disconnect(),window.removeEventListener("resize",F)}),(S,V)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":p.hidden},{"sidebar-hidden":g.hidden}]])},[e.createElementVNode("div",vn,[e.renderSlot(S.$slots,"notification",{},void 0,!0)]),p.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(We,{key:String(g.hidden),"left-offset":g.hidden?0:void 0,"top-offset":y.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(lt,{key:0,active:N.value,onToggle:E},null,8,["active"]))]),_:2},[u.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",yn,[e.renderSlot(S.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,u.navbarLogo?{name:"logo",fn:e.withCtx(()=>[g.hidden?(e.openBlock(),e.createElementBlock("div",kn,[e.renderSlot(S.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,u.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,u.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,u.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(st,{key:1,"bottom-items":g.bottomItems,"header-height":I.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":A.value,open:N.value,"top-items":g.topItems,"top-offset":y.value,onClick:w,onToggle:E},e.createSlots({_:2},[u.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,u.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,u.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...g.topItems||[],...g.bottomItems||[]],M=>({name:`sidebar-icon-${M.key}`,fn:e.withCtx(()=>[e.renderSlot(S.$slots,`sidebar-icon-${M.key}`,{},void 0,!0)])}))]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",wn,[e.createElementVNode("div",Sn,[e.createElementVNode("div",Cn,[_n,e.renderSlot(S.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(S.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-47c01124"]]),En={class:"kong-ui-app-page-header"},Nn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},Tn={class:"page-header-title-section"},Bn={class:"page-header-title-wrapper"},In={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},$n=["title"],On={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},An={key:0,class:"page-header-actions","data-testid":"page-header-actions"},xn={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},Fn=H(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]}},setup(n){const a=n,r=e.useSlots(),o=e.computed(()=>{var u;return!!((u=a.breadcrumbs)!=null&&u.length)}),l=e.computed(()=>Object.keys(r).filter(u=>u.startsWith("icon-")));return(u,c)=>{const p=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",En,[o.value?(e.openBlock(),e.createElementBlock("div",Nn,[e.createVNode(p,{"item-max-width":"150",items:n.breadcrumbs},e.createSlots({_:2},[e.renderList(l.value,g=>({name:g,fn:e.withCtx(()=>[e.renderSlot(u.$slots,g,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",Tn,[e.createElementVNode("div",Bn,[u.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",In,[e.renderSlot(u.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("h1",{class:"page-header-title","data-testid":"page-header-title",title:n.title},e.toDisplayString(n.title),9,$n),u.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",On,[e.renderSlot(u.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.actions?(e.openBlock(),e.createElementBlock("div",An,[e.renderSlot(u.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.below?(e.openBlock(),e.createElementBlock("div",xn,[e.renderSlot(u.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),Dn={install:(n,a={})=>{n.component(a.name||"AppLayout",dt)}};D.AccountDropdown=Dt,D.AppAboutSection=Gt,D.AppError=ra,D.AppLayout=dt,D.AppNavbar=We,D.AppPageHeader=Fn,D.AppSidebar=st,D.SidebarToggle=lt,D.default=Dn,Object.defineProperties(D,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
11
|
+
*/function qo(o){return o}const Ha={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},za=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},Ha),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(o,{slots:a,emit:r}){let n;const l=e.ref(null),u=e.computed(()=>{const b=l.value;return b&&(b instanceof HTMLElement?b:b.$el)});function c(){return n||(n=Ka(u.value,{escapeDeactivates:o.escapeDeactivates,allowOutsideClick:o.allowOutsideClick,returnFocusOnDeactivate:o.returnFocusOnDeactivate,clickOutsideDeactivates:o.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:o.initialFocus,fallbackFocus:o.fallbackFocus,tabbableOptions:o.tabbableOptions,delayInitialFocus:o.delayInitialFocus,preventScroll:o.preventScroll}))}return e.onMounted(()=>{e.watch(()=>o.active,b=>{b&&u.value?c().activate():n&&(n.deactivate(),(!u.value||u.value.nodeType===Node.COMMENT_NODE)&&(n=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{n&&n.deactivate(),n=null}),{activate(){c().activate()},deactivate(){n&&n.deactivate()},renderImpl(){if(!a.default)return null;const b=a.default().filter(w=>w.type!==e.Comment);return!b||!b.length||b.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),b):e.cloneVNode(b[0],{ref:l})}}}});function rt(){return{debounce:(a,r)=>{let n;return(...l)=>{clearTimeout(n),n=window==null?void 0:window.setTimeout(()=>{a(...l)},r)}}}}var Ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ua(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Se={exports:{}};Se.exports,function(o,a){var r=200,n="__lodash_hash_undefined__",l=9007199254740991,u="[object Arguments]",c="[object Array]",b="[object Boolean]",g="[object Date]",w="[object Error]",T="[object Function]",N="[object GeneratorFunction]",_="[object Map]",I="[object Number]",y="[object Object]",A="[object Promise]",K="[object RegExp]",O="[object Set]",G="[object String]",J="[object Symbol]",z="[object WeakMap]",U="[object ArrayBuffer]",D="[object DataView]",Z="[object Float32Array]",C="[object Float64Array]",x="[object Int8Array]",M="[object Int16Array]",R="[object Int32Array]",S="[object Uint8Array]",f="[object Uint8ClampedArray]",s="[object Uint16Array]",m="[object Uint32Array]",p=/[\\^$.*+?()[\]{}|]/g,k=/\w*$/,E=/^\[object .+?Constructor\]$/,B=/^(?:0|[1-9]\d*)$/,v={};v[u]=v[c]=v[U]=v[D]=v[b]=v[g]=v[Z]=v[C]=v[x]=v[M]=v[R]=v[_]=v[I]=v[y]=v[K]=v[O]=v[G]=v[J]=v[S]=v[f]=v[s]=v[m]=!0,v[w]=v[T]=v[z]=!1;var $=typeof Ce=="object"&&Ce&&Ce.Object===Object&&Ce,q=typeof self=="object"&&self&&self.Object===Object&&self,L=$||q||Function("return this")(),W=a&&!a.nodeType&&a,Q=W&&!0&&o&&!o.nodeType&&o,Ee=Q&&Q.exports===W;function me(t,i){return t.set(i[0],i[1]),t}function be(t,i){return t.add(i),t}function _n(t,i){for(var d=-1,h=t?t.length:0;++d<h&&i(t[d],d,t)!==!1;);return t}function In(t,i){for(var d=-1,h=i.length,F=t.length;++d<h;)t[F+d]=i[d];return t}function lt(t,i,d,h){for(var F=-1,P=t?t.length:0;++F<P;)d=i(d,t[F],F,t);return d}function On(t,i){for(var d=-1,h=Array(t);++d<t;)h[d]=i(d);return h}function $n(t,i){return t==null?void 0:t[i]}function dt(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function ut(t){var i=-1,d=Array(t.size);return t.forEach(function(h,F){d[++i]=[F,h]}),d}function Fe(t,i){return function(d){return t(i(d))}}function ft(t){var i=-1,d=Array(t.size);return t.forEach(function(h){d[++i]=h}),d}var An=Array.prototype,xn=Function.prototype,Ne=Object.prototype,De=L["__core-js_shared__"],mt=function(){var t=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),bt=xn.toString,ee=Ne.hasOwnProperty,Te=Ne.toString,Fn=RegExp("^"+bt.call(ee).replace(p,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pt=Ee?L.Buffer:void 0,ht=L.Symbol,gt=L.Uint8Array,Dn=Fe(Object.getPrototypeOf,Object),Vn=Object.create,Rn=Ne.propertyIsEnumerable,Ln=An.splice,vt=Object.getOwnPropertySymbols,Mn=pt?pt.isBuffer:void 0,Pn=Fe(Object.keys,Object),Ve=le(L,"DataView"),pe=le(L,"Map"),Re=le(L,"Promise"),Le=le(L,"Set"),Me=le(L,"WeakMap"),he=le(Object,"create"),jn=re(Ve),Zn=re(pe),Kn=re(Re),Hn=re(Le),zn=re(Me),yt=ht?ht.prototype:void 0,kt=yt?yt.valueOf:void 0;function ne(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function Un(){this.__data__=he?he(null):{}}function Wn(t){return this.has(t)&&delete this.__data__[t]}function Gn(t){var i=this.__data__;if(he){var d=i[t];return d===n?void 0:d}return ee.call(i,t)?i[t]:void 0}function qn(t){var i=this.__data__;return he?i[t]!==void 0:ee.call(i,t)}function Xn(t,i){var d=this.__data__;return d[t]=he&&i===void 0?n:i,this}ne.prototype.clear=Un,ne.prototype.delete=Wn,ne.prototype.get=Gn,ne.prototype.has=qn,ne.prototype.set=Xn;function X(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function Yn(){this.__data__=[]}function Jn(t){var i=this.__data__,d=Be(i,t);if(d<0)return!1;var h=i.length-1;return d==h?i.pop():Ln.call(i,d,1),!0}function Qn(t){var i=this.__data__,d=Be(i,t);return d<0?void 0:i[d][1]}function eo(t){return Be(this.__data__,t)>-1}function to(t,i){var d=this.__data__,h=Be(d,t);return h<0?d.push([t,i]):d[h][1]=i,this}X.prototype.clear=Yn,X.prototype.delete=Jn,X.prototype.get=Qn,X.prototype.has=eo,X.prototype.set=to;function ce(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function ao(){this.__data__={hash:new ne,map:new(pe||X),string:new ne}}function no(t){return _e(this,t).delete(t)}function oo(t){return _e(this,t).get(t)}function ro(t){return _e(this,t).has(t)}function io(t,i){return _e(this,t).set(t,i),this}ce.prototype.clear=ao,ce.prototype.delete=no,ce.prototype.get=oo,ce.prototype.has=ro,ce.prototype.set=io;function se(t){this.__data__=new X(t)}function co(){this.__data__=new X}function so(t){return this.__data__.delete(t)}function lo(t){return this.__data__.get(t)}function uo(t){return this.__data__.has(t)}function fo(t,i){var d=this.__data__;if(d instanceof X){var h=d.__data__;if(!pe||h.length<r-1)return h.push([t,i]),this;d=this.__data__=new ce(h)}return d.set(t,i),this}se.prototype.clear=co,se.prototype.delete=so,se.prototype.get=lo,se.prototype.has=uo,se.prototype.set=fo;function mo(t,i){var d=Ze(t)||Ro(t)?On(t.length,String):[],h=d.length,F=!!h;for(var P in t)ee.call(t,P)&&!(F&&(P=="length"||xo(P,h)))&&d.push(P);return d}function wt(t,i,d){var h=t[i];(!(ee.call(t,i)&&Nt(h,d))||d===void 0&&!(i in t))&&(t[i]=d)}function Be(t,i){for(var d=t.length;d--;)if(Nt(t[d][0],i))return d;return-1}function bo(t,i){return t&&Ct(i,Ke(i),t)}function Pe(t,i,d,h,F,P,Y){var j;if(h&&(j=P?h(t,F,P,Y):h(t)),j!==void 0)return j;if(!Ie(t))return t;var _t=Ze(t);if(_t){if(j=Oo(t),!i)return Bo(t,j)}else{var de=oe(t),It=de==T||de==N;if(Mo(t))return ko(t,i);if(de==y||de==u||It&&!P){if(dt(t))return P?t:{};if(j=$o(It?{}:t),!i)return _o(t,bo(j,t))}else{if(!v[de])return P?t:{};j=Ao(t,de,Pe,i)}}Y||(Y=new se);var Ot=Y.get(t);if(Ot)return Ot;if(Y.set(t,j),!_t)var $t=d?Io(t):Ke(t);return _n($t||t,function(He,Oe){$t&&(Oe=He,He=t[Oe]),wt(j,Oe,Pe(He,i,d,h,Oe,t,Y))}),j}function po(t){return Ie(t)?Vn(t):{}}function ho(t,i,d){var h=i(t);return Ze(t)?h:In(h,d(t))}function go(t){return Te.call(t)}function vo(t){if(!Ie(t)||Do(t))return!1;var i=Bt(t)||dt(t)?Fn:E;return i.test(re(t))}function yo(t){if(!Et(t))return Pn(t);var i=[];for(var d in Object(t))ee.call(t,d)&&d!="constructor"&&i.push(d);return i}function ko(t,i){if(i)return t.slice();var d=new t.constructor(t.length);return t.copy(d),d}function je(t){var i=new t.constructor(t.byteLength);return new gt(i).set(new gt(t)),i}function wo(t,i){var d=i?je(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.byteLength)}function Co(t,i,d){var h=i?d(ut(t),!0):ut(t);return lt(h,me,new t.constructor)}function So(t){var i=new t.constructor(t.source,k.exec(t));return i.lastIndex=t.lastIndex,i}function Eo(t,i,d){var h=i?d(ft(t),!0):ft(t);return lt(h,be,new t.constructor)}function No(t){return kt?Object(kt.call(t)):{}}function To(t,i){var d=i?je(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.length)}function Bo(t,i){var d=-1,h=t.length;for(i||(i=Array(h));++d<h;)i[d]=t[d];return i}function Ct(t,i,d,h){d||(d={});for(var F=-1,P=i.length;++F<P;){var Y=i[F],j=void 0;wt(d,Y,j===void 0?t[Y]:j)}return d}function _o(t,i){return Ct(t,St(t),i)}function Io(t){return ho(t,Ke,St)}function _e(t,i){var d=t.__data__;return Fo(i)?d[typeof i=="string"?"string":"hash"]:d.map}function le(t,i){var d=$n(t,i);return vo(d)?d:void 0}var St=vt?Fe(vt,Object):Zo,oe=go;(Ve&&oe(new Ve(new ArrayBuffer(1)))!=D||pe&&oe(new pe)!=_||Re&&oe(Re.resolve())!=A||Le&&oe(new Le)!=O||Me&&oe(new Me)!=z)&&(oe=function(t){var i=Te.call(t),d=i==y?t.constructor:void 0,h=d?re(d):void 0;if(h)switch(h){case jn:return D;case Zn:return _;case Kn:return A;case Hn:return O;case zn:return z}return i});function Oo(t){var i=t.length,d=t.constructor(i);return i&&typeof t[0]=="string"&&ee.call(t,"index")&&(d.index=t.index,d.input=t.input),d}function $o(t){return typeof t.constructor=="function"&&!Et(t)?po(Dn(t)):{}}function Ao(t,i,d,h){var F=t.constructor;switch(i){case U:return je(t);case b:case g:return new F(+t);case D:return wo(t,h);case Z:case C:case x:case M:case R:case S:case f:case s:case m:return To(t,h);case _:return Co(t,h,d);case I:case G:return new F(t);case K:return So(t);case O:return Eo(t,h,d);case J:return No(t)}}function xo(t,i){return i=i??l,!!i&&(typeof t=="number"||B.test(t))&&t>-1&&t%1==0&&t<i}function Fo(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Do(t){return!!mt&&mt in t}function Et(t){var i=t&&t.constructor,d=typeof i=="function"&&i.prototype||Ne;return t===d}function re(t){if(t!=null){try{return bt.call(t)}catch{}try{return t+""}catch{}}return""}function Vo(t){return Pe(t,!0,!0)}function Nt(t,i){return t===i||t!==t&&i!==i}function Ro(t){return Lo(t)&&ee.call(t,"callee")&&(!Rn.call(t,"callee")||Te.call(t)==u)}var Ze=Array.isArray;function Tt(t){return t!=null&&Po(t.length)&&!Bt(t)}function Lo(t){return jo(t)&&Tt(t)}var Mo=Mn||Ko;function Bt(t){var i=Ie(t)?Te.call(t):"";return i==T||i==N}function Po(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=l}function Ie(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function jo(t){return!!t&&typeof t=="object"}function Ke(t){return Tt(t)?mo(t):yo(t)}function Zo(){return[]}function Ko(){return!1}o.exports=Vo}(Se,Se.exports);var Wa=Se.exports;const Ga=Ua(Wa),qa={key:0,class:"sidebar-header"},Xa={class:"sidebar-content-container"},Ya={key:0,class:"sidebar-top"},Ja={"aria-label":"Main menu"},Qa={key:0,class:"level-primary top-items"},en={key:1,class:"sidebar-level-divider",role:"separator"},tn={key:2,class:"level-primary bottom-items"},an={class:"sidebar-footer"},it=H(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:3},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(o,{emit:a}){e.useCssVars(s=>({"5decedf8":b.value.mobileHeight,"621c03b8":b.value.mobileTop,"1a4a2eb0":o.zIndex,c3efec14:b.value.height,f812da34:b.value.top,"98cbd98c":w.value.marginTop,"3b672422":S.value,"3b821012":g.value.display,"4c860169":g.value.minHeight,"98cd1a16":T.value.top,"362eded8":T.value.zIndex}));const r=a,n=o,l=e.useSlots(),u=e.computed(()=>!!l.header),c=e.computed(()=>!!l.top),b=e.computed(()=>({mobileTop:n.mobileTopOffset&&n.mobileEnabled?`${n.mobileTopOffset}px`:n.topOffset?`${n.topOffset}px`:"0",top:n.topOffset?`${n.topOffset}px`:"0",mobileHeight:n.mobileTopOffset&&n.mobileEnabled?`calc(100% - ${n.mobileTopOffset}px)`:"100%",height:n.topOffset?`calc(100% - ${n.topOffset}px)`:"100%"})),g=e.computed(()=>({display:!n.mobileHeaderVisible&&n.mobileEnabled?"none":"flex",minHeight:`${n.headerHeight}px`})),w=e.computed(()=>({marginTop:u.value?`${n.headerHeight}px`:"0"})),T=e.computed(()=>({top:n.mobileTopOffset&&n.mobileEnabled?`${n.mobileTopOffset}px`:"0",zIndex:n.mobileOverlayZIndex!==null?n.mobileOverlayZIndex:n.zIndex>1?n.zIndex-1:1})),N=s=>Ga(s).map(p=>{var k,E,B;if(p){(!p.key||!((k=p.key)!=null&&k.trim()))&&(p.key=String(p.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!p.testId||!((E=p.testId)!=null&&E.trim()))&&(p.testId=String(p.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const v of p.items||[])v.parentKey=p.key,(!v.testId||!((B=v.testId)!=null&&B.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return p}),_=e.computed(()=>n.topItems.length?N(n.topItems):[]),I=e.computed(()=>n.bottomItems.length?N(n.bottomItems):[]),y=e.ref(n.open),A=s=>{var m,p;y.value!==s&&(y.value=s,r("toggle",s)),s?(m=document==null?void 0:document.body)==null||m.classList.add("kong-ui-app-sidebar-open"):(p=document==null?void 0:document.body)==null||p.classList.remove("kong-ui-app-sidebar-open"),O.value=!1},K=()=>{n.mobileOverlayCloseOnClick&&A(!1)},O=e.ref(!1),G=s=>{O.value=!0,r("click",s),setTimeout(()=>{A(!1)},n.mobileCloseDelay)};e.watch(()=>n.open,s=>{A(s)});const{debounce:J}=rt(),z=J(()=>{y.value&&U.value!==(window==null?void 0:window.innerWidth)&&(U.value=window==null?void 0:window.innerWidth,A(!1))},200),U=e.ref(),D=e.ref(!1),Z=e.ref(),C=()=>{D.value||(D.value=!0,clearTimeout(Z.value),Z.value=setTimeout(()=>D.value=!1,1300))},x=e.ref(null),M=e.computed(()=>y.value&&n.mobileEnabled),R=async s=>{var m,p;s?(await e.nextTick(),await new Promise(k=>setTimeout(k,300)),(m=x.value)==null||m.activate()):(p=x.value)==null||p.deactivate()};e.watch(M,async s=>{s?await R(!0):await R(!1)},{immediate:!0});const S=e.ref("0px"),f=()=>{var v;if(!(/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((v=navigator==null?void 0:navigator.userAgentData)==null?void 0:v.platform)))return;const m=document.createElement("div");m.style.visibility="hidden",m.style.width="100px",document.body.appendChild(m);const p=m.offsetWidth;m.style.overflow="scroll";const k=document.createElement("div");k.style.width="100%",m.appendChild(k);const E=k.offsetWidth;m.parentNode&&m.parentNode.removeChild(m),p-E===0&&(S.value="8px")};return e.onMounted(async()=>{U.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",z),window.addEventListener("resize",C),await e.nextTick(),f()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",z),window.removeEventListener("resize",C)}),(s,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[y.value&&o.mobileOverlay&&o.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:K})):e.createCommentVNode("",!0),e.createVNode(e.unref(za),{ref_key:"focusTrap",ref:x,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:e.withCtx(()=>[e.createElementVNode("aside",{class:e.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":y.value,"no-sidebar-header":!u.value,"mobile-header-hidden":o.mobileEnabled&&(!u.value||!o.mobileHeaderVisible),"mobile-disabled":!o.mobileEnabled,"disable-transitions":D.value}]),tabindex:"-1"},[u.value?(e.openBlock(),e.createElementBlock("div",qa,[e.renderSlot(s.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Xa,[c.value?(e.openBlock(),e.createElementBlock("div",Ya,[e.renderSlot(s.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Ja,[_.value.length?(e.openBlock(),e.createElementBlock("ul",Qa,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,p=>(e.openBlock(),e.createBlock(Ue,{key:p.name,item:p,onClick:G},{[`sidebar-icon-${p.key}`]:e.withCtx(()=>[e.renderSlot(s.$slots,`sidebar-icon-${p.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0),_.value.length&&I.value.length?(e.openBlock(),e.createElementBlock("div",en)):e.createCommentVNode("",!0),I.value.length?(e.openBlock(),e.createElementBlock("ul",tn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,p=>(e.openBlock(),e.createBlock(Ue,{key:p.name,item:p,onClick:G},{[`sidebar-icon-${p.key}`]:e.withCtx(()=>[e.renderSlot(s.$slots,`sidebar-icon-${p.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",an,[e.renderSlot(s.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-843a05a4"]]),nn=["aria-label"],ct=H(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(o,{emit:a}){const r=a,n=o,l=e.ref(n.active||!1),u=c=>{c.preventDefault(),l.value=!l.value,r("toggle",l.value)};return e.watch(()=>n.active,c=>{l.value=c}),(c,b)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":l.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:l.value}]),href:"#",role:"button",onClick:e.withModifiers(u,["prevent"])},b[0]||(b[0]=[e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1)]),10,nn))}}),[["__scopeId","data-v-b411bcf5"]]),on="#ffffff",rn="#000933",cn="#000933",sn="#ffffff",ln="0px",dn="4px",un={id:"kong-ui-app-layout-notification"},fn={class:"mobile-logo"},mn={key:0,class:"navbar-logo"},bn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},pn={class:"kong-ui-app-layout-content"},hn={class:"kong-ui-app-layout-content-inner"},st=H(e.defineComponent({__name:"AppLayout",props:{hideDefaultSlot:{type:Boolean,default:!1},navbarHidden:{type:Boolean,default:!1},sidebarHidden:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!1},sidebarTopItems:{type:Array,default:()=>[]},sidebarBottomItems:{type:Array,default:()=>[]},theme:{type:String,default:"light",validator:o=>["light","dark"].includes(o)}},emits:["sidebar-click"],setup(o,{emit:a}){e.useCssVars(C=>({"30c6990a":O.value,40906680:G.value,"169c1fd8":K.value,"75276abc":J.value,af1d4ea2:z.value}));const r=o,n=a,l=e.useSlots(),u=e.reactive({navbarLeft:e.computed(()=>!!l["navbar-left"]),navbarCenter:e.computed(()=>!!l["navbar-center"]),navbarRight:e.computed(()=>!!l["navbar-right"]),navbarLogo:e.computed(()=>!!l["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!l["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!l["sidebar-header"]),sidebarTop:e.computed(()=>!!l["sidebar-top"]),sidebarFooter:e.computed(()=>!!l["sidebar-footer"])}),c=e.computed(()=>r.hideDefaultSlot),b=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),g=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),w=C=>{n("sidebar-click",C)},T=e.ref(!1),N=C=>{T.value=C};e.watchEffect(()=>{T.value=e.toRef(g,"open").value||!1});const _=e.ref(0),I=e.ref(60),y=e.ref(0),A=e.computed(()=>b.hidden?y.value:I.value+y.value),K=e.computed(()=>r.theme==="light"?cn:sn),O=e.computed(()=>r.theme==="light"?on:rn),G=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),J=e.computed(()=>`${A.value}px`),z=e.computed(()=>g.hidden||b.hidden?ln:dn),{debounce:U}=rt(),D=U((C=!1)=>{if(C||_.value!==(window==null?void 0:window.innerWidth)){_.value=window==null?void 0:window.innerWidth;const x=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");x&&(y.value=x.offsetHeight)}},200),Z=e.ref();return e.onMounted(()=>{var x,M;(x=document==null?void 0:document.body)==null||x.classList.add("kong-ui-app-layout-body"),(M=document==null?void 0:document.documentElement)==null||M.classList.add("kong-ui-app-layout-html"),_.value=window==null?void 0:window.innerWidth,D(!0);const C=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");C&&(Z.value=new ResizeObserver(R=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(R)||!R.length))for(const S of R){const f=S.contentRect.height;y.value!==f&&(y.value=f)}})}),Z.value.observe(C)),window.addEventListener("resize",D)}),e.onBeforeUnmount(()=>{Z.value&&Z.value.disconnect(),window.removeEventListener("resize",D)}),(C,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":b.hidden},{"sidebar-hidden":g.hidden}]])},[e.createElementVNode("div",un,[e.renderSlot(C.$slots,"notification",{},void 0,!0)]),b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ze,{key:String(g.hidden),"left-offset":g.hidden?0:void 0,"top-offset":y.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ct,{key:0,active:T.value,onToggle:N},null,8,["active"]))]),_:2},[u.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",fn,[e.renderSlot(C.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,u.navbarLogo?{name:"logo",fn:e.withCtx(()=>[g.hidden?(e.openBlock(),e.createElementBlock("div",mn,[e.renderSlot(C.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,u.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,u.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,u.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(it,{key:1,"bottom-items":g.bottomItems,"header-height":I.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":A.value,open:T.value,"top-items":g.topItems,"top-offset":y.value,onClick:w,onToggle:N},e.createSlots({_:2},[u.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,u.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,u.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...g.topItems||[],...g.bottomItems||[]],M=>({name:`sidebar-icon-${M.key}`,fn:e.withCtx(()=>[e.renderSlot(C.$slots,`sidebar-icon-${M.key}`,{},void 0,!0)])}))]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",bn,[e.createElementVNode("div",pn,[e.createElementVNode("div",hn,[x[0]||(x[0]=e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),e.renderSlot(C.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(C.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-47c01124"]]),gn={class:"kong-ui-app-page-header"},vn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},yn={class:"page-header-title-section"},kn={class:"page-header-title-wrapper"},wn={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},Cn=["title"],Sn={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},En={key:0,class:"page-header-actions","data-testid":"page-header-actions"},Nn={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},Tn=H(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]}},setup(o){const a=o,r=e.useSlots(),n=e.computed(()=>{var u;return!!((u=a.breadcrumbs)!=null&&u.length)}),l=e.computed(()=>Object.keys(r).filter(u=>u.startsWith("icon-")));return(u,c)=>{const b=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",gn,[n.value?(e.openBlock(),e.createElementBlock("div",vn,[e.createVNode(b,{"item-max-width":"150",items:o.breadcrumbs},e.createSlots({_:2},[e.renderList(l.value,g=>({name:g,fn:e.withCtx(()=>[e.renderSlot(u.$slots,g,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",yn,[e.createElementVNode("div",kn,[u.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",wn,[e.renderSlot(u.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("h1",{class:"page-header-title","data-testid":"page-header-title",title:o.title},e.toDisplayString(o.title),9,Cn),u.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Sn,[e.renderSlot(u.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.actions?(e.openBlock(),e.createElementBlock("div",En,[e.renderSlot(u.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.below?(e.openBlock(),e.createElementBlock("div",Nn,[e.renderSlot(u.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),Bn={install:(o,a={})=>{o.component(a.name||"AppLayout",st)}};V.AccountDropdown=xt,V.AppAboutSection=Ut,V.AppError=ea,V.AppLayout=st,V.AppNavbar=ze,V.AppPageHeader=Tn,V.AppSidebar=it,V.SidebarToggle=ct,V.default=Bn,Object.defineProperties(V,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
@@ -18,7 +18,7 @@ declare function __VLS_template(): {
|
|
|
18
18
|
attrs: Partial<{}>;
|
|
19
19
|
};
|
|
20
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
22
|
hideDefaultSlot: {
|
|
23
23
|
type: BooleanConstructor;
|
|
24
24
|
default: boolean;
|
|
@@ -48,7 +48,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
48
48
|
default: string;
|
|
49
49
|
validator: (theme: "light" | "dark") => boolean;
|
|
50
50
|
};
|
|
51
|
-
}
|
|
51
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
52
52
|
"sidebar-click": (...args: any[]) => void;
|
|
53
53
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
54
|
hideDefaultSlot: {
|
|
@@ -80,9 +80,9 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
80
80
|
default: string;
|
|
81
81
|
validator: (theme: "light" | "dark") => boolean;
|
|
82
82
|
};
|
|
83
|
-
}>> & {
|
|
83
|
+
}>> & Readonly<{
|
|
84
84
|
"onSidebar-click"?: ((...args: any[]) => any) | undefined;
|
|
85
|
-
}
|
|
85
|
+
}>, {
|
|
86
86
|
hideDefaultSlot: boolean;
|
|
87
87
|
navbarHidden: boolean;
|
|
88
88
|
sidebarHidden: boolean;
|
|
@@ -90,7 +90,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
90
90
|
sidebarTopItems: SidebarPrimaryItem[];
|
|
91
91
|
sidebarBottomItems: SidebarPrimaryItem[];
|
|
92
92
|
theme: "light" | "dark";
|
|
93
|
-
}, {}>;
|
|
93
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
94
94
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
95
95
|
export default _default;
|
|
96
96
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout.vue"],"names":[],"mappings":"AAwZA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAKnC,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,UAAU,CAAA;AAyMxE,iBAAS,cAAc;+DAmN+D,GAAG;8BAEvD,GAAG;sCACM,GAAG;+BACV,GAAG;+BACH,GAAG;iCACD,GAAG;gCACJ,GAAG;kCACD,GAAG;+BACN,GAAG;kCACA,GAAG;6BACR,GAAG;yBACP,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AA2DD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;cA0BF,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI7B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC;;2BAEvB,OAAO,GAAG,MAAM,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;cAV9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI7B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC;;2BAEvB,OAAO,GAAG,MAAM,KAAG,OAAO;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout.vue"],"names":[],"mappings":"AAwZA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAKnC,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,UAAU,CAAA;AAyMxE,iBAAS,cAAc;+DAmN+D,GAAG;8BAEvD,GAAG;sCACM,GAAG;+BACV,GAAG;+BACH,GAAG;iCACD,GAAG;gCACJ,GAAG;kCACD,GAAG;+BACN,GAAG;kCACA,GAAG;6BACR,GAAG;yBACP,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AA2DD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;cA0BF,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI7B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC;;2BAEvB,OAAO,GAAG,MAAM,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;cAV9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI7B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC;;2BAEvB,OAAO,GAAG,MAAM,KAAG,OAAO;;;;;;;;;;;;4EAG/C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
|
|
|
8
8
|
attrs: Partial<{}>;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
title: {
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
default: string;
|
|
@@ -37,7 +37,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
|
-
}
|
|
40
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
title: {
|
|
42
42
|
type: StringConstructor;
|
|
43
43
|
default: string;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
66
66
|
type: BooleanConstructor;
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
|
-
}
|
|
69
|
+
}>> & Readonly<{}>, {
|
|
70
70
|
title: string;
|
|
71
71
|
description: string;
|
|
72
72
|
created: string;
|
|
@@ -74,7 +74,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
74
74
|
modified: string;
|
|
75
75
|
modifiedLabel: string;
|
|
76
76
|
isLoading: boolean;
|
|
77
|
-
}, {}>;
|
|
77
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
78
78
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
79
79
|
export default _default;
|
|
80
80
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppAboutSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/aboutSection/AppAboutSection.vue"],"names":[],"mappings":"AA8TA,iBAAS,cAAc;;yBA2HM,GAAG;yBACF,GAAG;mCACO,GAAG;;;WAS7B,OAAO,IAA6B;EAEjD;AAsCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AppAboutSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/aboutSection/AppAboutSection.vue"],"names":[],"mappings":"AA8TA,iBAAS,cAAc;;yBA2HM,GAAG;yBACF,GAAG;mCACO,GAAG;;;WAS7B,OAAO,IAA6B;EAEjD;AAsCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAmCnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare function __VLS_template(): {
|
|
|
6
6
|
attrs: Partial<{}>;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppError.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/errors/AppError.vue"],"names":[],"mappings":"AAqGA,iBAAS,cAAc;;yBA6CM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"AppError.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/errors/AppError.vue"],"names":[],"mappings":"AAqGA,iBAAS,cAAc;;yBA6CM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
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
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=BananaSplit.vue.d.ts.map
|
|
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
|
|
|
11
11
|
attrs: Partial<{}>;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
options: {
|
|
16
16
|
type: PropType<DropdownItem[]>;
|
|
17
17
|
required: true;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
25
25
|
required: true;
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
|
-
}
|
|
28
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
options: {
|
|
30
30
|
type: PropType<DropdownItem[]>;
|
|
31
31
|
required: true;
|
|
@@ -39,10 +39,10 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
39
39
|
required: true;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
-
}
|
|
42
|
+
}>> & Readonly<{}>, {
|
|
43
43
|
width: string;
|
|
44
44
|
userInitials: string;
|
|
45
|
-
}, {}>;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
46
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
47
|
export default _default;
|
|
48
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/AccountDropdown.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AA0CrD,iBAAS,cAAc;;yBA4EM,GAAG;;;YACF,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;cAOF,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;;cAAxB,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AccountDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/AccountDropdown.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AA0CrD,iBAAS,cAAc;;yBA4EM,GAAG;;;YACF,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;cAOF,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;;cAAxB,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;;;4EAczC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
|
|
|
11
11
|
attrs: Partial<{}>;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
topOffset: {
|
|
16
16
|
type: NumberConstructor;
|
|
17
17
|
default: number;
|
|
@@ -24,7 +24,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
24
24
|
type: NumberConstructor;
|
|
25
25
|
default: number;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
topOffset: {
|
|
29
29
|
type: NumberConstructor;
|
|
30
30
|
default: number;
|
|
@@ -37,11 +37,11 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
37
37
|
type: NumberConstructor;
|
|
38
38
|
default: number;
|
|
39
39
|
};
|
|
40
|
-
}
|
|
40
|
+
}>> & Readonly<{}>, {
|
|
41
41
|
topOffset: number;
|
|
42
42
|
leftOffset: number;
|
|
43
43
|
zIndex: number;
|
|
44
|
-
}, {}>;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
46
|
export default _default;
|
|
47
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppNavbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/AppNavbar.vue"],"names":[],"mappings":"AAuPA,iBAAS,cAAc;;yCAqEsB,GAAG;+BACb,GAAG;sBACZ,GAAG;sBACH,GAAG;wBACD,GAAG;uBACJ,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AppNavbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/AppNavbar.vue"],"names":[],"mappings":"AAuPA,iBAAS,cAAc;;yCAqEsB,GAAG;+BACb,GAAG;sBACZ,GAAG;sBACH,GAAG;wBACD,GAAG;uBACJ,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAmBnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
|
|
|
11
11
|
attrs: Partial<{}>;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
title: {
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
@@ -20,7 +20,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
20
20
|
type: PropType<BreadcrumbItem[]>;
|
|
21
21
|
default: () => never[];
|
|
22
22
|
};
|
|
23
|
-
}
|
|
23
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
title: {
|
|
25
25
|
type: StringConstructor;
|
|
26
26
|
default: string;
|
|
@@ -29,10 +29,10 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
29
29
|
type: PropType<BreadcrumbItem[]>;
|
|
30
30
|
default: () => never[];
|
|
31
31
|
};
|
|
32
|
-
}
|
|
32
|
+
}>> & Readonly<{}>, {
|
|
33
33
|
title: string;
|
|
34
34
|
breadcrumbs: BreadcrumbItem[];
|
|
35
|
-
}, {}>;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
37
|
export default _default;
|
|
38
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPageHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pageHeader/AppPageHeader.vue"],"names":[],"mappings":"AAyJA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAqCvD,iBAAS,cAAc;6CAsF6D,GAAG;gCAEnD,GAAG;+BACJ,GAAG;yBACR,GAAG;uBACL,GAAG;;;WASjB,OAAO,IAA6B;EAEjD;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;cAWF,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;;;;;;cAA1B,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"AppPageHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pageHeader/AppPageHeader.vue"],"names":[],"mappings":"AAyJA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAqCvD,iBAAS,cAAc;6CAsF6D,GAAG;gCAEnD,GAAG;+BACJ,GAAG;yBACR,GAAG;uBACL,GAAG;;;WASjB,OAAO,IAA6B;EAEjD;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;cAWF,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;;;;;;cAA1B,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;;;4EAI3C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|