PageSourceSearch

https://heaper.de/_nuxt/C3jxhUoc.js

js heaper.de collected 2026-10-06 16:45:47 UTC 10,934 bytes, 1 lines download raw bytes

1import{_ as W}from"./mMfswS5G.js";import{C as q,q as y,I as L,o as a,c as i,a as s,b as _,w as d,e as f,f as C,F as v,h as k,n as l,P as u,d as g,t as m,l as c,T as M,a8 as R,a6 as z,r as S,k as E}from"./BdeZc9jo.js";import{u as N}from"./CIvDnaKc.js";import{u as G,q as O}from"./CycVYpHW.js";import{_ as Q}from"./DlAUqK2U.js";import"./Cgdcws3V.js";import"./z4tTQfuP.js";const U={class:"docs-layout min-h-screen"},Y={class:"top-nav border-b border-neutral-800 sticky top-0 backdrop-blur-xl z-50",style:{background:"rgba(10, 10, 10, 0.85)"}},J={class:"max-w-screen-xl mx-auto px-6 py-3 flex items-center justify-between"},K={class:"flex items-center gap-4"},X={class:"flex items-center gap-4"},Z={key:0,class:"fixed inset-0 z-[100] lg:hidden"},tt={class:"flex items-center justify-between px-5 py-4 border-b border-neutral-800"},et={class:"p-4 space-y-1"},st=["onClick","aria-label"],ot={key:1,class:"space-y-0.5"},at={class:"max-w-screen-xl mx-auto px-6 relative z-10"},rt={class:"grid grid-cols-1 lg:grid-cols-12"},it={class:"hidden lg:block lg:col-span-3 border-r border-neutral-800 pr-8 py-8"},lt={class:"space-y-1"},nt=["onClick","aria-label"],dt={key:1,class:"space-y-0.5"},pt={class:"py-8 lg:col-span-9 lg:pl-12"},ut={__name:"docs",async setup(ct){let x,T;const p=S(!1),$=q(),A=S(null),V=S(null),w=N("docs-sidebar-scroll",()=>({desktop:0,mobile:0}));y(A,o=>{o&&(o.scrollTop=w.value.desktop)},{flush:"post"}),y(V,o=>{o&&(o.scrollTop=w.value.mobile)},{flush:"post"});const{data:F}=([x,T]=L(()=>G("docs-sidebar-source",()=>O("/docs/").only(["title","_path","order","published"]).where({published:{$ne:!1}}).sort({order:1}).find())),x=await x,T(),x),B=["/docs/self-hosting","/docs/views","/docs/changelog","/docs/api"],I=[{title:"Getting Started",_path:"/docs/getting-started"},{title:"Core Concepts",_path:"/docs/core-concepts"},{title:"What is a CRDT?",_path:"/docs/crdt"},{title:"Interface Overview",_path:"/docs/interface-overview"},{title:"Global Search",_path:"/docs/global-search"},{title:"Filters",_path:"/docs/filters"},{title:"Sorting",_path:"/docs/sorting"},{title:"Tagging & Selection",_path:"/docs/tagging-and-selection"},{title:"Properties",_path:"/docs/properties"},{title:"Quick View",_path:"/docs/quick-view"},{title:"Block Actions",_path:"/docs/block-actions"},{title:"Deleting Blocks & Trash",_path:"/docs/deleting-blocks"},{title:"Self-Hosting",_path:"/docs/self-hosting"},{title:"Managing Heaps",_path:"/docs/managing-heaps"},{title:"File Scanning & Importing",_path:"/docs/file-scanning"},{title:"Storage Management",_path:"/docs/storage-management"},{title:"Daily Notes & Calendar",_path:"/docs/daily-notes"},{title:"API",_path:"/docs/api"},{title:"Views",_path:"/docs/views"},{title:"Authentication & User Management",_path:"/docs/authentication"},{title:"Delete Your Heaper Cloud Account",_path:"/docs/delete-account"},{title:"Licenses & Privacy",_path:"/docs/licenses-privacy"},{title:"FAQ",_path:"/docs/faq"},{title:"Changelog",_path:"/docs/changelog"}],j={"/docs/self-hosting":[{title:"All-in-One Setup",_path:"/docs/self-hosting/all-in-one",order:1},{title:"Separate Containers Setup",_path:"/docs/self-hosting/separate-containers",order:2},{title:"Updating Heaper",_path:"/docs/self-hosting/updating",order:3},{title:"Remote Access with Tailscale",_path:"/docs/self-hosting/remote-access-tailscale",order:4}],"/docs/api":[{title:"Server API",_path:"/docs/api/server",order:1},{title:"Client HTTP API",_path:"/docs/api/client-http",order:2},{title:"CLI",_path:"/docs/api/cli",order:3},{title:"Agent and MCP Access",_path:"/docs/api/agents-mcp",order:4},{title:"CLI Reference",_path:"/docs/api/cli-reference",order:5}],"/docs/views":[{title:"Grid View",_path:"/docs/views/grid",order:1},{title:"Table View",_path:"/docs/views/table",order:2},{title:"List View",_path:"/docs/views/list",order:3},{title:"Tasks View",_path:"/docs/views/tasks",order:4},{title:"Board View",_path:"/docs/views/kanban-board",order:5},{title:"Calendar View",_path:"/docs/views/calendar",order:6},{title:"Graph View",_path:"/docs/views/graph",order:7}]},b=N("docs-sidebar-expanded",()=>({"/docs/views":!0}));function D(o){b.value[o]=!b.value[o]}function h(o){return!!b.value[o]}y(()=>$.path,o=>{p.value=!1;for(const e of B)o.startsWith(e)&&(b.value[e]=!0)},{immediate:!0});const H=["/docs/changelog"],P=E(()=>{const o=F.value||[];return I.map(e=>{if(!B.includes(e._path))return e;const n=(j[e._path]||o.filter(t=>t._path.startsWith(e._path+"/"))).sort((t,r)=>
1H.includes(e._path)?(r.title||"").localeCompare(t.title||"",void 0,{numeric:!0}):(t.order??99)-(r.order??99));return{...e,children:n}})});return(o,e)=>{const n=W;return a(),i("div",U,[s("div",Y,[s("div",J,[s("div",K,[s("button",{class:"lg:hidden p-1.5 rounded-md text-neutral-400 hover:text-white hover:bg-neutral-800 transition-colors",onClick:e[0]||(e[0]=t=>p.value=!0),"aria-label":"Open navigation"},[...e[8]||(e[8]=[s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[s("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),s("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),s("line",{x1:"3",y1:"18",x2:"21",y2:"18"})],-1)])]),_(n,{to:"/",class:"flex items-center hover:opacity-80 transition-opacity gap-3"},{default:d(()=>[...e[9]||(e[9]=[s("div",{class:"text-xl font-bold text-white"},"heaper",-1),s("div",{class:"text-xs px-2 py-1 rounded bg-neutral-800 text-neutral-400 font-medium border border-neutral-700"},"Docs",-1)])]),_:1})]),s("div",X,[_(n,{to:"/download",class:"hidden md:flex items-center gap-2 px-3 py-2 rounded text-sm bg-primary text-white font-medium hover:opacity-90 transition-opacity"},{default:d(()=>[...e[10]||(e[10]=[s("span",null,"Download Heaper",-1)])]),_:1})])])]),(a(),f(R,{to:"body"},[_(M,{name:"mobile-nav"},{default:d(()=>[p.value?(a(),i("div",Z,[s("div",{class:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:e[1]||(e[1]=t=>p.value=!1)}),s("nav",{ref_key:"mobileNavigation",ref:V,class:"absolute top-0 left-0 bottom-0 w-72 bg-neutral-900 border-r border-neutral-800 overflow-y-auto",onScrollPassive:e[6]||(e[6]=t=>C(w).mobile=t.currentTarget.scrollTop)},[s("div",tt,[e[12]||(e[12]=s("span",{class:"text-sm font-semibold text-neutral-400 uppercase tracking-wider"},"Documentation",-1)),s("button",{class:"p-1.5 rounded-md text-neutral-400 hover:text-white hover:bg-neutral-800 transition-colors",onClick:e[2]||(e[2]=t=>p.value=!1),"aria-label":"Close navigation"},[...e[11]||(e[11]=[s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[s("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),s("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])]),s("div",et,[(a(!0),i(v,null,k(P.value,t=>(a(),i(v,{key:t._path},[t.children?(a(),i("div",{key:0,class:l(["flex items-center rounded-md hover:bg-neutral-800 transition-all",{"bg-neutral-800":(o._.provides[u]||o.$route).path===t._path}])},[_(n,{to:t._path,class:l(["flex-1 px-3 py-2.5 text-sm text-neutral-400 hover:text-white transition-colors",{"text-white font-medium":(o._.provides[u]||o.$route).path.startsWith(t._path)}]),onClick:e[3]||(e[3]=r=>p.value=!1)},{default:d(()=>[g(m(t.title),1)]),_:2},1032,["to","class"]),s("button",{class:"p-2.5 text-neutral-500 hover:text-white transition-colors",onClick:r=>D(t._path),"aria-label":h(t._path)?"Collapse":"Expand"},[(a(),i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:l(["transition-transform",{"rotate-90":h(t._path)}])},[...e[13]||(e[13]=[s("polyline",{points:"9 18 15 12 9 6"},null,-1)])],2))],8,st)],2)):c("",!0),t.children&&h(t._path)?(a(),i("div",ot,[(a(!0),i(v,null,k(t.children,r=>(a(),f(n,{key:r._path,to:r._path,class:l(["block pl-6 px-3 py-2 rounded-md text-sm text-neutral-500 hover:text-white hover:bg-neutral-800 transition-all",{"text-white bg-neutral-800 font-medium":(o._.provides[u]||o.$route).path===r._path}]),onClick:e[4]||(e[4]=ht=>p.value=!1)},{default:d(()=>[g(m(r.title),1)]),_:2},1032,["to","class"]))),128))])):c("",!0),t.children?c("",!0):(a(),f(n,{key:2,to:t._path,class:l(["block px-3 py-2.5 rounded-md text-sm text-neutral-400 hover:text-white hover:bg-neutral-800 transition-all",{"text-white bg-neutral-800 font-medium":(o._.provides[u]||o.$route).path===t._path}]),onClick:e[5]||(e[5]=r=>p.value=!1)},{default:d(()=>
1[g(m(t.title),1)]),_:2},1032,["to","class"]))],64))),128))])],544)])):c("",!0)]),_:1})])),s("div",at,[s("div",rt,[s("aside",it,[s("nav",{ref_key:"desktopNavigation",ref:A,class:"docs-sidebar-nav sticky top-20 pr-2",onScrollPassive:e[7]||(e[7]=t=>C(w).desktop=t.currentTarget.scrollTop)},[e[15]||(e[15]=s("div",{class:"text-neutral-500 text-xs font-semibold uppercase tracking-wider mb-3 px-2"},"Documentation",-1)),s("div",lt,[(a(!0),i(v,null,k(P.value,t=>(a(),i(v,{key:t._path},[t.children?(a(),i("div",{key:0,class:l(["flex items-center rounded-md hover:bg-neutral-800 transition-all",{"bg-neutral-800":(o._.provides[u]||o.$route).path===t._path}])},[_(n,{to:t._path,class:l(["flex-1 px-2 py-2 text-sm text-neutral-400 hover:text-white transition-colors",{"text-white font-medium":(o._.provides[u]||o.$route).path.startsWith(t._path)}])},{default:d(()=>[g(m(t.title),1)]),_:2},1032,["to","class"]),s("button",{class:"p-2 text-neutral-500 hover:text-white transition-colors",onClick:r=>D(t._path),"aria-label":h(t._path)?"Collapse":"Expand"},[(a(),i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:l(["transition-transform",{"rotate-90":h(t._path)}])},[...e[14]||(e[14]=[s("polyline",{points:"9 18 15 12 9 6"},null,-1)])],2))],8,nt)],2)):c("",!0),t.children&&h(t._path)?(a(),i("div",dt,[(a(!0),i(v,null,k(t.children,r=>(a(),f(n,{key:r._path,to:r._path,class:l(["block pl-5 px-2 py-1.5 rounded-md text-sm text-neutral-500 hover:text-white hover:bg-neutral-800 transition-all",{"text-white bg-neutral-800 font-medium":(o._.provides[u]||o.$route).path===r._path}])},{default:d(()=>[g(m(r.title),1)]),_:2},1032,["to","class"]))),128))])):c("",!0),t.children?c("",!0):(a(),f(n,{key:2,to:t._path,class:l(["block px-2 py-2 rounded-md text-sm text-neutral-400 hover:text-white hover:bg-neutral-800 transition-all",{"text-white bg-neutral-800 font-medium":(o._.provides[u]||o.$route).path===t._path}])},{default:d(()=>[g(m(t.title),1)]),_:2},1032,["to","class"]))],64))),128))])],544)]),s("main",pt,[s("article",{class:l(["prose prose-invert prose-lg max-w-3xl",{"docs-article--wide":C($).path.startsWith("/docs/changelog")}])},[z(o.$slots,"default",{},void 0,!0)],2)])])])])}}},bt=Q(ut,[["__scopeId","data-v-7fe885b6"]]);export{bt as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.