@kong-ui-public/app-layout 4.2.35 → 4.2.36-pr.1599.ffad86d9.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 +1066 -1068
- package/dist/app-layout.umd.js +5 -5
- package/dist/types/components/AppLayout.vue.d.ts +5 -5
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts +4 -4
- package/dist/types/components/errors/AppError.vue.d.ts +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/AppNavbar.vue.d.ts +4 -4
- package/dist/types/components/pageHeader/AppPageHeader.vue.d.ts +4 -4
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts +5 -5
- 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/SidebarToggle.vue.d.ts +5 -5
- package/dist/types/composables/useDebounce.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/app-layout.umd.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function(L,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(L=typeof globalThis<"u"?globalThis:L||self,e(L["kong-ui-public-app-layout"]={},L.Vue))})(this,function(L,e){"use strict";const xt=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"),s=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(s,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:d})=>[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=>d(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"])}}}),K=(n,a)=>{const r=n.__vccOpts||n;for(const[o,s]of a)r[o]=s;return r},Ft=K(xt,[["__scopeId","data-v-b33191a2"]]),Dt={class:"about-section-title","data-testid":"about-section-title"},Vt={class:"about-section-header-end"},Rt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Lt={key:1,class:"about-section-timestamps-arrow"},Mt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Pt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},jt={key:0,"data-testid":"about-section-loading-skeleton"},Zt={key:1},Kt={key:0,class:"about-section-description","data-testid":"about-section-description"},Ht={key:1,class:"about-section-content","data-testid":"about-section-content"},zt={key:2,"data-testid":"about-divider-section-separator"},Ut={key:3,class:"about-divider-section","data-testid":"about-divider-section"},Wt=K(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,s)=>{const d=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",jt,[e.createVNode(d,{height:"2",width:"100"}),e.createVNode(d,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",Zt,[n.description?(e.openBlock(),e.createElementBlock("p",Kt,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",Ht,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",zt)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Ut,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Dt,e.toDisplayString(n.title),1)]),key:"0"}:void 0,o.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Vt,[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",Rt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&r.value?(e.openBlock(),e.createElementBlock("span",Lt,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Mt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",Pt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-521dcc27"]]),Gt={},qt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},Xt=[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 Yt(n,a){return e.openBlock(),e.createElementBlock("svg",qt,Xt)}const Jt=K(Gt,[["render",Yt]]),ze=n=>(e.pushScopeId("data-v-5cbccc66"),n=n(),e.popScopeId(),n),Qt={class:"kong-ui-app-error"},ea={class:"banana-icon"},ta={class:"kong-ui-app-error-content"},aa=ze(()=>e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),na=ze(()=>e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1)),oa=K(e.defineComponent({__name:"AppError",setup(n){return(a,r)=>(e.openBlock(),e.createElementBlock("section",Qt,[e.createElementVNode("div",ea,[e.createVNode(Jt)]),e.createElementVNode("div",ta,[e.renderSlot(a.$slots,"default",{},()=>[aa,na],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ra={class:"kong-ui-app-navbar"},ia={class:"header-content"},ca={class:"mobile-header-left"},sa={key:0,class:"app-navbar-logo"},la={class:"navbar-content"},da={class:"navbar-content-left"},ua={class:"navbar-content-center"},fa={class:"navbar-content-right"},Ue=K(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:d.value.top,"05b18f8e":d.value.zIndex,"543b3ff0":d.value.left,"247c8fd0":s.marginRight,"278e63f0":s.width}));const a=n,r=e.useSlots(),o=e.computed(()=>!!r.logo),s=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?(s.marginRight="32px",s.width="calc(240px - 32px)"):(s.marginRight="0",s.width="0")});const d=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",ra,[e.createElementVNode("div",ia,[e.createElementVNode("div",ca,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",sa,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",la,[e.createElementVNode("div",da,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",ua,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",fa,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),ma=["title"],$e=99,pa=K(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>$e?`${$e}+`:a.count.toString():"");return(o,s)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>$e?String(n.count):void 0},e.toDisplayString(r.value),9,ma)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),ba=["data-testid"],ha=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],ga={key:0,class:"sidebar-item-icon"},va={class:"sidebar-item-name-container"},ya={class:"sidebar-item-name has-tooltip"},ka={key:2,class:"sidebar-item-label truncate-text truncate-18"},wa=["id"],We=K(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,s=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),d=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 A;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(s.value?"div":"router-link"),{custom:s.value?void 0:!0,to:!s.value&&!d.value?n.item.to:void 0},{default:e.withCtx(k=>{var x,Z;return[e.createElementVNode("a",{"aria-controls":(x=n.item.items)!=null&&x.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-current":n.item.active?"page":void 0,"aria-expanded":(Z=n.item.items)!=null&&Z.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":d.value,"router-link":!s.value}]),href:s.value?String(n.item.to||"#"):k==null?void 0:k.href,target:d.value?"_blank":void 0,onClick:$=>g($,n.item,k==null?void 0:k.navigate),onKeypress:e.withKeys($=>g($,n.item,k==null?void 0:k.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",ga,[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",va,[(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",ya,[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",ka,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(pa,{key:1,count:n.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,ha)]}),_:3},8,["custom","to"])),(A=n.item.items)!=null&&A.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,k=>(e.openBlock(),e.createBlock(B,{key:k.name,item:k,"subnav-item":!0,onClick:x=>p(k)},null,8,["item","onClick"]))),128))],8,wa)):e.createCommentVNode("",!0)],10,ba)}}}),[["__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
|
|
5
|
-
* focus-trap 7.
|
|
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
|
+
* focus-trap 7.6.0
|
|
6
6
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function tt(n,a){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),r.push.apply(r,o)}return r}function at(n){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?tt(Object(r),!0).forEach(function(o){Ma(n,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))})}return n}function Ma(n,a,r){return a=ja(a),a in n?Object.defineProperty(n,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[a]=r,n}function Pa(n,a){if(typeof n!="object"||n===null)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 ja(n){var a=Pa(n,"string");return typeof a=="symbol"?a:String(a)}var nt={activateTrap:function(a,r){if(a.length>0){var o=a[a.length-1];o!==r&&o.pause()}var s=a.indexOf(r);s===-1||a.splice(s,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()}},Za=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},Ka=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},de=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},Ha=function(a){return de(a)&&!a.shiftKey},za=function(a){return de(a)&&a.shiftKey},ot=function(a){return setTimeout(a,0)},rt=function(a,r){var o=-1;return a.every(function(s,d){return r(s)?(o=d,!1):!0}),o},ue=function(a){for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];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},Ua=[],Wa=function(a,r){var o=(r==null?void 0:r.document)||document,s=(r==null?void 0:r.trapStack)||Ua,d=at({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ha,isKeyBackward:za},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},p,g=function(f,u,m){return f&&f[u]!==void 0?f[u]:d[m||u]},w=function(f,u){var m=typeof(u==null?void 0:u.composedPath)=="function"?u.composedPath():void 0;return c.containerGroups.findIndex(function(y){var b=y.container,C=y.tabbableNodes;return b.contains(f)||(m==null?void 0:m.includes(b))||C.find(function(T){return T===f})})},N=function(f){var u=d[f];if(typeof u=="function"){for(var m=arguments.length,y=new Array(m>1?m-1:0),b=1;b<m;b++)y[b-1]=arguments[b];u=u.apply(void 0,y)}if(u===!0&&(u=void 0),!u){if(u===void 0||u===!1)return u;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var C=u;if(typeof u=="string"&&(C=o.querySelector(u),!C))throw new Error("`".concat(f,"` as selector refers to no known node"));return C},E=function(){var f=N("initialFocus");if(f===!1)return!1;if(f===void 0||!Ae(f,d.tabbableOptions))if(w(o.activeElement)>=0)f=o.activeElement;else{var u=c.tabbableGroups[0],m=u&&u.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 u=Va(f,d.tabbableOptions),m=Ra(f,d.tabbableOptions),y=u.length>0?u[0]:void 0,b=u.length>0?u[u.length-1]:void 0,C=m.find(function(v){return re(v)}),T=m.slice().reverse().find(function(v){return re(v)}),I=!!u.find(function(v){return ee(v)>0});return{container:f,tabbableNodes:u,focusableNodes:m,posTabIndexesFound:I,firstTabbableNode:y,lastTabbableNode:b,firstDomTabbableNode:C,lastDomTabbableNode:T,nextTabbableNode:function(W){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=u.indexOf(W);return O<0?te?m.slice(m.indexOf(W)+1).find(function(Y){return re(Y)}):m.slice(0,m.indexOf(W)).reverse().find(function(Y){return re(Y)}):u[O+(te?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.")},A=function S(f){var u=f.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?S(u.shadowRoot):u},k=function S(f){if(f!==!1&&f!==A(document)){if(!f||!f.focus){S(E());return}f.focus({preventScroll:!!d.preventScroll}),c.mostRecentlyFocusedNode=f,Za(f)&&f.select()}},x=function(f){var u=N("setReturnFocus",f);return u||(u===!1?!1:f)},Z=function(f){var u=f.target,m=f.event,y=f.isBackward,b=y===void 0?!1:y;u=u||we(m),B();var C=null;if(c.tabbableGroups.length>0){var T=w(u,m),I=T>=0?c.containerGroups[T]:void 0;if(T<0)b?C=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:C=c.tabbableGroups[0].firstTabbableNode;else if(b){var v=rt(c.tabbableGroups,function(me){var pe=me.firstTabbableNode;return u===pe});if(v<0&&(I.container===u||Ae(u,d.tabbableOptions)&&!re(u,d.tabbableOptions)&&!I.nextTabbableNode(u,!1))&&(v=T),v>=0){var W=v===0?c.tabbableGroups.length-1:v-1,te=c.tabbableGroups[W];C=ee(u)>=0?te.lastTabbableNode:te.lastDomTabbableNode}else de(m)||(C=I.nextTabbableNode(u,!1))}else{var O=rt(c.tabbableGroups,function(me){var pe=me.lastTabbableNode;return u===pe});if(O<0&&(I.container===u||Ae(u,d.tabbableOptions)&&!re(u,d.tabbableOptions)&&!I.nextTabbableNode(u))&&(O=T),O>=0){var Y=O===c.tabbableGroups.length-1?0:O+1,fe=c.tabbableGroups[Y];C=ee(u)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else de(m)||(C=I.nextTabbableNode(u))}}else C=N("fallbackFocus");return C},$=function(f){var u=we(f);if(!(w(u,f)>=0)){if(ue(d.clickOutsideDeactivates,f)){p.deactivate({returnFocus:d.returnFocusOnDeactivate});return}ue(d.allowOutsideClick,f)||f.preventDefault()}},U=function(f){var u=we(f),m=w(u,f)>=0;if(m||u instanceof Document)m&&(c.mostRecentlyFocusedNode=u);else{f.stopImmediatePropagation();var y,b=!0;if(c.mostRecentlyFocusedNode)if(ee(c.mostRecentlyFocusedNode)>0){var C=w(c.mostRecentlyFocusedNode),T=c.containerGroups[C].tabbableNodes;if(T.length>0){var I=T.findIndex(function(v){return v===c.mostRecentlyFocusedNode});I>=0&&(d.isKeyForward(c.recentNavEvent)?I+1<T.length&&(y=T[I+1],b=!1):I-1>=0&&(y=T[I-1],b=!1))}}else c.containerGroups.some(function(v){return v.tabbableNodes.some(function(W){return ee(W)>0})})||(b=!1);else b=!1;b&&(y=Z({target:c.mostRecentlyFocusedNode,isBackward:d.isKeyBackward(c.recentNavEvent)})),k(y||c.mostRecentlyFocusedNode||E())}c.recentNavEvent=void 0},X=function(f){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=f;var m=Z({event:f,isBackward:u});m&&(de(f)&&f.preventDefault(),k(m))},H=function(f){if(Ka(f)&&ue(d.escapeDeactivates,f)!==!1){f.preventDefault(),p.deactivate();return}(d.isKeyForward(f)||d.isKeyBackward(f))&&X(f,d.isKeyBackward(f))},z=function(f){var u=we(f);w(u,f)>=0||ue(d.clickOutsideDeactivates,f)||ue(d.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},V=function(){if(c.active)return nt.activateTrap(s,p),c.delayInitialFocusTimer=d.delayInitialFocus?ot(function(){k(E())}):k(E()),o.addEventListener("focusin",U,!0),o.addEventListener("mousedown",$,{capture:!0,passive:!1}),o.addEventListener("touchstart",$,{capture:!0,passive:!1}),o.addEventListener("click",z,{capture:!0,passive:!1}),o.addEventListener("keydown",H,{capture:!0,passive:!1}),p},j=function(){if(c.active)return o.removeEventListener("focusin",U,!0),o.removeEventListener("mousedown",$,!0),o.removeEventListener("touchstart",$,!0),o.removeEventListener("click",z,!0),o.removeEventListener("keydown",H,!0),p},_=function(f){var u=f.some(function(m){var y=Array.from(m.removedNodes);return y.some(function(b){return b===c.mostRecentlyFocusedNode})});u&&k(E())},F=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(_):void 0,R=function(){F&&(F.disconnect(),c.active&&!c.paused&&c.containers.map(function(f){F.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 u=g(f,"onActivate"),m=g(f,"onPostActivate"),y=g(f,"checkCanFocusTrap");y||B(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=o.activeElement,u==null||u();var b=function(){y&&B(),V(),R(),m==null||m()};return y?(y(c.containers.concat()).then(b,b),this):(b(),this)},deactivate:function(f){if(!c.active)return this;var u=at({onDeactivate:d.onDeactivate,onPostDeactivate:d.onPostDeactivate,checkCanReturnFocus:d.checkCanReturnFocus},f);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,j(),c.active=!1,c.paused=!1,R(),nt.deactivateTrap(s,p);var m=g(u,"onDeactivate"),y=g(u,"onPostDeactivate"),b=g(u,"checkCanReturnFocus"),C=g(u,"returnFocus","returnFocusOnDeactivate");m==null||m();var T=function(){ot(function(){C&&k(x(c.nodeFocusedBeforeActivation)),y==null||y()})};return C&&b?(b(x(c.nodeFocusedBeforeActivation)).then(T,T),this):(T(),this)},pause:function(f){if(c.paused||!c.active)return this;var u=g(f,"onPause"),m=g(f,"onPostPause");return c.paused=!0,u==null||u(),j(),R(),m==null||m(),this},unpause:function(f){if(!c.paused||!c.active)return this;var u=g(f,"onUnpause"),m=g(f,"onPostUnpause");return c.paused=!1,u==null||u(),B(),V(),R(),m==null||m(),this},updateContainerElements:function(f){var u=[].concat(f).filter(Boolean);return c.containers=u.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 Ga={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},qa=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},Ga),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:a,emit:r}){let o;const s=e.ref(null),d=e.computed(()=>{const p=s.value;return p&&(p instanceof HTMLElement?p:p.$el)});function c(){return o||(o=Wa(d.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&&d.value?c().activate():o&&(o.deactivate(),(!d.value||d.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:s})}}}});function it(){return{debounce:(a,r)=>{let o;return(...s)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{a(...s)},r)}}}}var Se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xa(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__",s=9007199254740991,d="[object Arguments]",c="[object Array]",p="[object Boolean]",g="[object Date]",w="[object Error]",N="[object Function]",E="[object GeneratorFunction]",B="[object Map]",A="[object Number]",k="[object Object]",x="[object Promise]",Z="[object RegExp]",$="[object Set]",U="[object String]",X="[object Symbol]",H="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",j="[object Float32Array]",_="[object Float64Array]",F="[object Int8Array]",R="[object Int16Array]",S="[object Int32Array]",f="[object Uint8Array]",u="[object Uint8ClampedArray]",m="[object Uint16Array]",y="[object Uint32Array]",b=/[\\^$.*+?()[\]{}|]/g,C=/\w*$/,T=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,v={};v[d]=v[c]=v[z]=v[V]=v[p]=v[g]=v[j]=v[_]=v[F]=v[R]=v[S]=v[B]=v[A]=v[k]=v[Z]=v[$]=v[U]=v[X]=v[f]=v[u]=v[m]=v[y]=!0,v[w]=v[N]=v[H]=!1;var W=typeof Se=="object"&&Se&&Se.Object===Object&&Se,te=typeof self=="object"&&self&&self.Object===Object&&self,O=W||te||Function("return this")(),Y=a&&!a.nodeType&&a,fe=Y&&!0&&n&&!n.nodeType&&n,me=fe&&fe.exports===Y;function pe(t,i){return t.set(i[0],i[1]),t}function Dn(t,i){return t.add(i),t}function Vn(t,i){for(var l=-1,h=t?t.length:0;++l<h&&i(t[l],l,t)!==!1;);return t}function Rn(t,i){for(var l=-1,h=i.length,D=t.length;++l<h;)t[D+l]=i[l];return t}function dt(t,i,l,h){for(var D=-1,M=t?t.length:0;++D<M;)l=i(l,t[D],D,t);return l}function Ln(t,i){for(var l=-1,h=Array(t);++l<t;)h[l]=i(l);return h}function Mn(t,i){return t==null?void 0:t[i]}function ut(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function ft(t){var i=-1,l=Array(t.size);return t.forEach(function(h,D){l[++i]=[D,h]}),l}function Fe(t,i){return function(l){return t(i(l))}}function mt(t){var i=-1,l=Array(t.size);return t.forEach(function(h){l[++i]=h}),l}var Pn=Array.prototype,jn=Function.prototype,_e=Object.prototype,De=O["__core-js_shared__"],pt=function(){var t=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),bt=jn.toString,J=_e.hasOwnProperty,Ee=_e.toString,Zn=RegExp("^"+bt.call(J).replace(b,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ht=me?O.Buffer:void 0,gt=O.Symbol,vt=O.Uint8Array,Kn=Fe(Object.getPrototypeOf,Object),Hn=Object.create,zn=_e.propertyIsEnumerable,Un=Pn.splice,yt=Object.getOwnPropertySymbols,Wn=ht?ht.isBuffer:void 0,Gn=Fe(Object.keys,Object),Ve=se(O,"DataView"),be=se(O,"Map"),Re=se(O,"Promise"),Le=se(O,"Set"),Me=se(O,"WeakMap"),he=se(Object,"create"),qn=oe(Ve),Xn=oe(be),Yn=oe(Re),Jn=oe(Le),Qn=oe(Me),kt=gt?gt.prototype:void 0,wt=kt?kt.valueOf:void 0;function ae(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){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 l=i[t];return l===o?void 0:l}return J.call(i,t)?i[t]:void 0}function no(t){var i=this.__data__;return he?i[t]!==void 0:J.call(i,t)}function oo(t,i){var l=this.__data__;return l[t]=he&&i===void 0?o:i,this}ae.prototype.clear=eo,ae.prototype.delete=to,ae.prototype.get=ao,ae.prototype.has=no,ae.prototype.set=oo;function G(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var h=t[i];this.set(h[0],h[1])}}function ro(){this.__data__=[]}function io(t){var i=this.__data__,l=Ne(i,t);if(l<0)return!1;var h=i.length-1;return l==h?i.pop():Un.call(i,l,1),!0}function co(t){var i=this.__data__,l=Ne(i,t);return l<0?void 0:i[l][1]}function so(t){return Ne(this.__data__,t)>-1}function lo(t,i){var l=this.__data__,h=Ne(l,t);return h<0?l.push([t,i]):l[h][1]=i,this}G.prototype.clear=ro,G.prototype.delete=io,G.prototype.get=co,G.prototype.has=so,G.prototype.set=lo;function ie(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var h=t[i];this.set(h[0],h[1])}}function uo(){this.__data__={hash:new ae,map:new(be||G),string:new ae}}function fo(t){return Te(this,t).delete(t)}function mo(t){return Te(this,t).get(t)}function po(t){return Te(this,t).has(t)}function bo(t,i){return Te(this,t).set(t,i),this}ie.prototype.clear=uo,ie.prototype.delete=fo,ie.prototype.get=mo,ie.prototype.has=po,ie.prototype.set=bo;function ce(t){this.__data__=new G(t)}function ho(){this.__data__=new G}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 l=this.__data__;if(l instanceof G){var h=l.__data__;if(!be||h.length<r-1)return h.push([t,i]),this;l=this.__data__=new ie(h)}return l.set(t,i),this}ce.prototype.clear=ho,ce.prototype.delete=go,ce.prototype.get=vo,ce.prototype.has=yo,ce.prototype.set=ko;function wo(t,i){var l=Ze(t)||zo(t)?Ln(t.length,String):[],h=l.length,D=!!h;for(var M in t)J.call(t,M)&&!(D&&(M=="length"||jo(M,h)))&&l.push(M);return l}function St(t,i,l){var h=t[i];(!(J.call(t,i)&&Nt(h,l))||l===void 0&&!(i in t))&&(t[i]=l)}function Ne(t,i){for(var l=t.length;l--;)if(Nt(t[l][0],i))return l;return-1}function So(t,i){return t&&Ct(i,Ke(i),t)}function Pe(t,i,l,h,D,M,q){var P;if(h&&(P=M?h(t,D,M,q):h(t)),P!==void 0)return P;if(!Be(t))return t;var It=Ze(t);if(It){if(P=Lo(t),!i)return Do(t,P)}else{var le=ne(t),$t=le==N||le==E;if(Wo(t))return Bo(t,i);if(le==k||le==d||$t&&!M){if(ut(t))return M?t:{};if(P=Mo($t?{}:t),!i)return Vo(t,So(P,t))}else{if(!v[le])return M?t:{};P=Po(t,le,Pe,i)}}q||(q=new ce);var Ot=q.get(t);if(Ot)return Ot;if(q.set(t,P),!It)var At=l?Ro(t):Ke(t);return Vn(At||t,function(He,Ie){At&&(Ie=He,He=t[Ie]),St(P,Ie,Pe(He,i,l,h,Ie,t,q))}),P}function Co(t){return Be(t)?Hn(t):{}}function _o(t,i,l){var h=i(t);return Ze(t)?h:Rn(h,l(t))}function Eo(t){return Ee.call(t)}function No(t){if(!Be(t)||Ko(t))return!1;var i=Bt(t)||ut(t)?Zn:T;return i.test(oe(t))}function To(t){if(!Et(t))return Gn(t);var i=[];for(var l in Object(t))J.call(t,l)&&l!="constructor"&&i.push(l);return i}function Bo(t,i){if(i)return t.slice();var l=new t.constructor(t.length);return t.copy(l),l}function je(t){var i=new t.constructor(t.byteLength);return new vt(i).set(new vt(t)),i}function Io(t,i){var l=i?je(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.byteLength)}function $o(t,i,l){var h=i?l(ft(t),!0):ft(t);return dt(h,pe,new t.constructor)}function Oo(t){var i=new t.constructor(t.source,C.exec(t));return i.lastIndex=t.lastIndex,i}function Ao(t,i,l){var h=i?l(mt(t),!0):mt(t);return dt(h,Dn,new t.constructor)}function xo(t){return wt?Object(wt.call(t)):{}}function Fo(t,i){var l=i?je(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.length)}function Do(t,i){var l=-1,h=t.length;for(i||(i=Array(h));++l<h;)i[l]=t[l];return i}function Ct(t,i,l,h){l||(l={});for(var D=-1,M=i.length;++D<M;){var q=i[D],P=void 0;St(l,q,P===void 0?t[q]:P)}return l}function Vo(t,i){return Ct(t,_t(t),i)}function Ro(t){return _o(t,Ke,_t)}function Te(t,i){var l=t.__data__;return Zo(i)?l[typeof i=="string"?"string":"hash"]:l.map}function se(t,i){var l=Mn(t,i);return No(l)?l:void 0}var _t=yt?Fe(yt,Object):Xo,ne=Eo;(Ve&&ne(new Ve(new ArrayBuffer(1)))!=V||be&&ne(new be)!=B||Re&&ne(Re.resolve())!=x||Le&&ne(new Le)!=$||Me&&ne(new Me)!=H)&&(ne=function(t){var i=Ee.call(t),l=i==k?t.constructor:void 0,h=l?oe(l):void 0;if(h)switch(h){case qn:return V;case Xn:return B;case Yn:return x;case Jn:return $;case Qn:return H}return i});function Lo(t){var i=t.length,l=t.constructor(i);return i&&typeof t[0]=="string"&&J.call(t,"index")&&(l.index=t.index,l.input=t.input),l}function Mo(t){return typeof t.constructor=="function"&&!Et(t)?Co(Kn(t)):{}}function Po(t,i,l,h){var D=t.constructor;switch(i){case z:return je(t);case p:case g:return new D(+t);case V:return Io(t,h);case j:case _:case F:case R:case S:case f:case u:case m:case y:return Fo(t,h);case B:return $o(t,h,l);case A:case U:return new D(t);case Z:return Oo(t);case $:return Ao(t,h,l);case X:return xo(t)}}function jo(t,i){return i=i??s,!!i&&(typeof t=="number"||I.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!!pt&&pt in t}function Et(t){var i=t&&t.constructor,l=typeof i=="function"&&i.prototype||_e;return t===l}function oe(t){if(t!=null){try{return bt.call(t)}catch{}try{return t+""}catch{}}return""}function Ho(t){return Pe(t,!0,!0)}function Nt(t,i){return t===i||t!==t&&i!==i}function zo(t){return Uo(t)&&J.call(t,"callee")&&(!zn.call(t,"callee")||Ee.call(t)==d)}var Ze=Array.isArray;function Tt(t){return t!=null&&Go(t.length)&&!Bt(t)}function Uo(t){return qo(t)&&Tt(t)}var Wo=Wn||Yo;function Bt(t){var i=Be(t)?Ee.call(t):"";return i==N||i==E}function Go(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=s}function Be(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function qo(t){return!!t&&typeof t=="object"}function Ke(t){return Tt(t)?wo(t):To(t)}function Xo(){return[]}function Yo(){return!1}n.exports=Ho}(Ce,Ce.exports);var Ya=Ce.exports;const Ja=Xa(Ya),Qa={key:0,class:"sidebar-header"},en={class:"sidebar-content-container"},tn={key:0,class:"sidebar-top"},an={"aria-label":"Main menu"},nn={key:0,class:"level-primary top-items"},on={key:1,class:"sidebar-level-divider",role:"separator"},rn={key:2,class:"level-primary bottom-items"},cn={class:"sidebar-footer"},ct=K(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(m=>({"5decedf8":p.value.mobileHeight,"621c03b8":p.value.mobileTop,"1a4a2eb0":n.zIndex,c3efec14:p.value.height,f812da34:p.value.top,"98cbd98c":w.value.marginTop,"3b672422":f.value,"3b821012":g.value.display,"4c860169":g.value.minHeight,"98cd1a16":N.value.top,"362eded8":N.value.zIndex}));const r=a,o=n,s=e.useSlots(),d=e.computed(()=>!!s.header),c=e.computed(()=>!!s.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:d.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=m=>Ja(m).map(b=>{var C,T,I;if(b){(!b.key||!((C=b.key)!=null&&C.trim()))&&(b.key=String(b.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!b.testId||!((T=b.testId)!=null&&T.trim()))&&(b.testId=String(b.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const v of b.items||[])v.parentKey=b.key,(!v.testId||!((I=v.testId)!=null&&I.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return b}),B=e.computed(()=>o.topItems.length?E(o.topItems):[]),A=e.computed(()=>o.bottomItems.length?E(o.bottomItems):[]),k=e.ref(o.open),x=m=>{var y,b;k.value!==m&&(k.value=m,r("toggle",m)),m?(y=document==null?void 0:document.body)==null||y.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},Z=()=>{o.mobileOverlayCloseOnClick&&x(!1)},$=e.ref(!1),U=m=>{$.value=!0,r("click",m),setTimeout(()=>{x(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,m=>{x(m)});const{debounce:X}=it(),H=X(()=>{k.value&&z.value!==(window==null?void 0:window.innerWidth)&&(z.value=window==null?void 0:window.innerWidth,x(!1))},200),z=e.ref(),V=e.ref(!1),j=e.ref(),_=()=>{V.value||(V.value=!0,clearTimeout(j.value),j.value=setTimeout(()=>V.value=!1,1300))},F=e.ref(null),R=e.computed(()=>k.value&&o.mobileEnabled),S=async m=>{var y,b;m?(await e.nextTick(),await new Promise(C=>setTimeout(C,300)),(y=F.value)==null||y.activate()):(b=F.value)==null||b.deactivate()};e.watch(R,async m=>{m?await S(!0):await S(!1)},{immediate:!0});const f=e.ref("0px"),u=()=>{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 y=document.createElement("div");y.style.visibility="hidden",y.style.width="100px",document.body.appendChild(y);const b=y.offsetWidth;y.style.overflow="scroll";const C=document.createElement("div");C.style.width="100%",y.appendChild(C);const T=C.offsetWidth;y.parentNode&&y.parentNode.removeChild(y),b-T===0&&(f.value="8px")};return e.onMounted(async()=>{z.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",H),window.addEventListener("resize",_),await e.nextTick(),u()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",H),window.removeEventListener("resize",_)}),(m,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[k.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:Z})):e.createCommentVNode("",!0),e.createVNode(e.unref(qa),{ref_key:"focusTrap",ref:F,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":k.value,"no-sidebar-header":!d.value,"mobile-header-hidden":n.mobileEnabled&&(!d.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":V.value}]),tabindex:"-1"},[d.value?(e.openBlock(),e.createElementBlock("div",Qa,[e.renderSlot(m.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",en,[c.value?(e.openBlock(),e.createElementBlock("div",tn,[e.renderSlot(m.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",an,[B.value.length?(e.openBlock(),e.createElementBlock("ul",nn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,b=>(e.openBlock(),e.createBlock(We,{key:b.name,item:b,onClick:U},{[`sidebar-icon-${b.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${b.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0),B.value.length&&A.value.length?(e.openBlock(),e.createElementBlock("div",on)):e.createCommentVNode("",!0),A.value.length?(e.openBlock(),e.createElementBlock("ul",rn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,b=>(e.openBlock(),e.createBlock(We,{key:b.name,item:b,onClick:U},{[`sidebar-icon-${b.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${b.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",cn,[e.renderSlot(m.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-843a05a4"]]),xe=n=>(e.pushScopeId("data-v-b411bcf5"),n=n(),e.popScopeId(),n),sn=["aria-label"],ln=[xe(()=>e.createElementVNode("span",{class:"line"},null,-1)),xe(()=>e.createElementVNode("span",{class:"line"},null,-1)),xe(()=>e.createElementVNode("span",{class:"line"},null,-1))],st=K(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:a}){const r=a,o=n,s=e.ref(o.active||!1),d=c=>{c.preventDefault(),s.value=!s.value,r("toggle",s.value)};return e.watch(()=>o.active,c=>{s.value=c}),(c,p)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":s.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:s.value}]),href:"#",role:"button",onClick:e.withModifiers(d,["prevent"])},ln,10,sn))}}),[["__scopeId","data-v-b411bcf5"]]),dn="#ffffff",un="#000933",fn="#000933",mn="#ffffff",pn="0px",bn="4px",hn=n=>(e.pushScopeId("data-v-47c01124"),n=n(),e.popScopeId(),n),gn={id:"kong-ui-app-layout-notification"},vn={class:"mobile-logo"},yn={key:0,class:"navbar-logo"},kn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},wn={class:"kong-ui-app-layout-content"},Sn={class:"kong-ui-app-layout-content-inner"},Cn=hn(()=>e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),lt=K(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(_=>({"30c6990a":$.value,40906680:U.value,"169c1fd8":Z.value,"75276abc":X.value,af1d4ea2:H.value}));const r=n,o=a,s=e.useSlots(),d=e.reactive({navbarLeft:e.computed(()=>!!s["navbar-left"]),navbarCenter:e.computed(()=>!!s["navbar-center"]),navbarRight:e.computed(()=>!!s["navbar-right"]),navbarLogo:e.computed(()=>!!s["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!s["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!s["sidebar-header"]),sidebarTop:e.computed(()=>!!s["sidebar-top"]),sidebarFooter:e.computed(()=>!!s["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=_=>{o("sidebar-click",_)},N=e.ref(!1),E=_=>{N.value=_};e.watchEffect(()=>{N.value=e.toRef(g,"open").value||!1});const B=e.ref(0),A=e.ref(60),k=e.ref(0),x=e.computed(()=>p.hidden?k.value:A.value+k.value),Z=e.computed(()=>r.theme==="light"?fn:mn),$=e.computed(()=>r.theme==="light"?dn:un),U=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),X=e.computed(()=>`${x.value}px`),H=e.computed(()=>g.hidden||p.hidden?pn:bn),{debounce:z}=it(),V=z((_=!1)=>{if(_||B.value!==(window==null?void 0:window.innerWidth)){B.value=window==null?void 0:window.innerWidth;const F=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");F&&(k.value=F.offsetHeight)}},200),j=e.ref();return e.onMounted(()=>{var F,R;(F=document==null?void 0:document.body)==null||F.classList.add("kong-ui-app-layout-body"),(R=document==null?void 0:document.documentElement)==null||R.classList.add("kong-ui-app-layout-html"),B.value=window==null?void 0:window.innerWidth,V(!0);const _=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");_&&(j.value=new ResizeObserver(S=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(S)||!S.length))for(const f of S){const u=f.contentRect.height;k.value!==u&&(k.value=u)}})}),j.value.observe(_)),window.addEventListener("resize",V)}),e.onBeforeUnmount(()=>{j.value&&j.value.disconnect(),window.removeEventListener("resize",V)}),(_,F)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":p.hidden},{"sidebar-hidden":g.hidden}]])},[e.createElementVNode("div",gn,[e.renderSlot(_.$slots,"notification",{},void 0,!0)]),p.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ue,{key:String(g.hidden),"left-offset":g.hidden?0:void 0,"top-offset":k.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(st,{key:0,active:N.value,onToggle:E},null,8,["active"]))]),_:2},[d.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",vn,[e.renderSlot(_.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,d.navbarLogo?{name:"logo",fn:e.withCtx(()=>[g.hidden?(e.openBlock(),e.createElementBlock("div",yn,[e.renderSlot(_.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,d.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,d.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,d.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ct,{key:1,"bottom-items":g.bottomItems,"header-height":A.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":x.value,open:N.value,"top-items":g.topItems,"top-offset":k.value,onClick:w,onToggle:E},e.createSlots({_:2},[d.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,d.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,d.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...g.topItems||[],...g.bottomItems||[]],R=>({name:`sidebar-icon-${R.key}`,fn:e.withCtx(()=>[e.renderSlot(_.$slots,`sidebar-icon-${R.key}`,{},void 0,!0)])}))]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",kn,[e.createElementVNode("div",wn,[e.createElementVNode("div",Sn,[Cn,e.renderSlot(_.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(_.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-47c01124"]]),_n={class:"kong-ui-app-page-header"},En={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},Nn={class:"page-header-title-section"},Tn={class:"page-header-title-wrapper"},Bn={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},In=["title"],$n={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},On={key:0,class:"page-header-actions","data-testid":"page-header-actions"},An={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},xn=K(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 d;return!!((d=a.breadcrumbs)!=null&&d.length)}),s=e.computed(()=>Object.keys(r).filter(d=>d.startsWith("icon-")));return(d,c)=>{const p=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",_n,[o.value?(e.openBlock(),e.createElementBlock("div",En,[e.createVNode(p,{"item-max-width":"150",items:n.breadcrumbs},e.createSlots({_:2},[e.renderList(s.value,g=>({name:g,fn:e.withCtx(()=>[e.renderSlot(d.$slots,g,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",Nn,[e.createElementVNode("div",Tn,[d.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",Bn,[e.renderSlot(d.$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,In),d.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",$n,[e.renderSlot(d.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),d.$slots.actions?(e.openBlock(),e.createElementBlock("div",On,[e.renderSlot(d.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),d.$slots.below?(e.openBlock(),e.createElementBlock("div",An,[e.renderSlot(d.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),Fn={install:(n,a={})=>{n.component(a.name||"AppLayout",lt)}};L.AccountDropdown=Ft,L.AppAboutSection=Wt,L.AppError=oa,L.AppLayout=lt,L.AppNavbar=Ue,L.AppPageHeader=xn,L.AppSidebar=ct,L.SidebarToggle=st,L.default=Fn,Object.defineProperties(L,{__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"}})});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { SidebarPrimaryItem } from '../types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
hideDefaultSlot: {
|
|
5
5
|
type: BooleanConstructor;
|
|
6
6
|
default: boolean;
|
|
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
default: string;
|
|
31
31
|
validator: (theme: "light" | "dark") => boolean;
|
|
32
32
|
};
|
|
33
|
-
}
|
|
33
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
34
|
"sidebar-click": (...args: any[]) => void;
|
|
35
35
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
hideDefaultSlot: {
|
|
@@ -62,9 +62,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
62
|
default: string;
|
|
63
63
|
validator: (theme: "light" | "dark") => boolean;
|
|
64
64
|
};
|
|
65
|
-
}>> & {
|
|
65
|
+
}>> & Readonly<{
|
|
66
66
|
"onSidebar-click"?: ((...args: any[]) => any) | undefined;
|
|
67
|
-
}
|
|
67
|
+
}>, {
|
|
68
68
|
hideDefaultSlot: boolean;
|
|
69
69
|
navbarHidden: boolean;
|
|
70
70
|
sidebarHidden: boolean;
|
|
@@ -72,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
72
72
|
sidebarTopItems: SidebarPrimaryItem[];
|
|
73
73
|
sidebarBottomItems: SidebarPrimaryItem[];
|
|
74
74
|
theme: "light" | "dark";
|
|
75
|
-
}, {}>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
|
|
75
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
|
|
76
76
|
notification?(_: {}): any;
|
|
77
77
|
"navbar-mobile-logo"?(_: {}): any;
|
|
78
78
|
"navbar-logo"?(_: {}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
title: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
-
}
|
|
30
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
title: {
|
|
32
32
|
type: StringConstructor;
|
|
33
33
|
default: string;
|
|
@@ -56,7 +56,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
|
-
}
|
|
59
|
+
}>> & Readonly<{}>, {
|
|
60
60
|
title: string;
|
|
61
61
|
description: string;
|
|
62
62
|
created: string;
|
|
@@ -64,7 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
64
|
modified: string;
|
|
65
65
|
modifiedLabel: string;
|
|
66
66
|
isLoading: boolean;
|
|
67
|
-
}, {}>, {
|
|
67
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
68
68
|
actions?(_: {}): any;
|
|
69
69
|
default?(_: {}): any;
|
|
70
70
|
"divider-section"?(_: {}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
}>;
|
|
4
4
|
export default _default;
|
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { DropdownItem } from '@kong/kongponents';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
options: {
|
|
5
5
|
type: PropType<DropdownItem[]>;
|
|
6
6
|
required: true;
|
|
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
14
|
required: true;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
|
-
}
|
|
17
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
options: {
|
|
19
19
|
type: PropType<DropdownItem[]>;
|
|
20
20
|
required: true;
|
|
@@ -28,10 +28,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
28
|
required: true;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
|
-
}
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
32
|
width: string;
|
|
33
33
|
userInitials: string;
|
|
34
|
-
}, {}>, {
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
35
35
|
default?(_: {
|
|
36
36
|
option: DropdownItem;
|
|
37
37
|
}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
topOffset: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
11
11
|
type: NumberConstructor;
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
topOffset: {
|
|
16
16
|
type: NumberConstructor;
|
|
17
17
|
default: number;
|
|
@@ -24,11 +24,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
24
24
|
type: NumberConstructor;
|
|
25
25
|
default: number;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
28
|
topOffset: number;
|
|
29
29
|
leftOffset: number;
|
|
30
30
|
zIndex: number;
|
|
31
|
-
}, {}>, {
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
32
32
|
"mobile-sidebar-toggle"?(_: {}): any;
|
|
33
33
|
"mobile-logo"?(_: {}): any;
|
|
34
34
|
logo?(_: {}): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { BreadcrumbItem } from '@kong/kongponents';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
title: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
type: PropType<BreadcrumbItem[]>;
|
|
10
10
|
default: () => never[];
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
title: {
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
default: string;
|
|
@@ -18,10 +18,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
type: PropType<BreadcrumbItem[]>;
|
|
19
19
|
default: () => never[];
|
|
20
20
|
};
|
|
21
|
-
}
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
22
|
title: string;
|
|
23
23
|
breadcrumbs: BreadcrumbItem[];
|
|
24
|
-
}, {}>, Partial<Record<string, (_: {}) => any>> & {
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<string, (_: {}) => any>> & {
|
|
25
25
|
"title-before"?(_: {}): any;
|
|
26
26
|
"title-after"?(_: {}): any;
|
|
27
27
|
actions?(_: {}): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { SidebarPrimaryItem } from '../../types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
topItems: {
|
|
5
5
|
type: PropType<SidebarPrimaryItem[]>;
|
|
6
6
|
default: () => never[];
|
|
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
type: BooleanConstructor;
|
|
54
54
|
default: boolean;
|
|
55
55
|
};
|
|
56
|
-
}
|
|
56
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
57
|
click: (...args: any[]) => void;
|
|
58
58
|
toggle: (...args: any[]) => void;
|
|
59
59
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -109,10 +109,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
109
109
|
type: BooleanConstructor;
|
|
110
110
|
default: boolean;
|
|
111
111
|
};
|
|
112
|
-
}>> & {
|
|
112
|
+
}>> & Readonly<{
|
|
113
113
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
114
114
|
onToggle?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
}
|
|
115
|
+
}>, {
|
|
116
116
|
topOffset: number;
|
|
117
117
|
zIndex: number;
|
|
118
118
|
topItems: SidebarPrimaryItem[];
|
|
@@ -126,7 +126,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
126
126
|
mobileOverlay: boolean;
|
|
127
127
|
mobileOverlayZIndex: number;
|
|
128
128
|
mobileOverlayCloseOnClick: boolean;
|
|
129
|
-
}, {}>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
|
|
129
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
|
|
130
130
|
header?(_: {}): any;
|
|
131
131
|
top?(_: {}): any;
|
|
132
132
|
footer?(_: {}): any;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
count: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
default: undefined;
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
count: {
|
|
9
9
|
type: NumberConstructor;
|
|
10
10
|
required: true;
|
|
11
11
|
default: undefined;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
14
|
count: number;
|
|
15
|
-
}, {}>;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
export default _default;
|
|
17
17
|
//# sourceMappingURL=ItemBadge.vue.d.ts.map
|