nuxt-ai-ready 1.3.0 → 1.3.1
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/devtools/200.html +1 -1
- package/dist/devtools/404.html +1 -1
- package/dist/devtools/_nuxt/{CUIIuZnV.js → CG4YVUJc.js} +1 -1
- package/dist/devtools/_nuxt/{BJvOQeGa.js → CPVPS-Dp.js} +1 -1
- package/dist/devtools/_nuxt/{HY0PaRNK.js → CW4u22fk.js} +1 -1
- package/dist/devtools/_nuxt/{BnE_ySps.js → D1cMhZtf.js} +1 -1
- package/dist/devtools/_nuxt/{Nz1-S7oK.js → DGjxyRbU.js} +1 -1
- package/dist/devtools/_nuxt/{DevtoolsPanel.Cxop9qdH.css → DevtoolsPanel.CkdsJGul.css} +1 -1
- package/dist/devtools/_nuxt/{DeQwb5tt.js → DsIImnSh.js} +1 -1
- package/dist/devtools/_nuxt/builds/latest.json +1 -1
- package/dist/devtools/_nuxt/builds/meta/d2222de3-cbf0-4d17-ab07-45187dcdee7f.json +1 -0
- package/dist/devtools/_nuxt/entry.BbygA2Ya.css +1 -0
- package/dist/devtools/_nuxt/index.e05QIQpk.css +1 -0
- package/dist/devtools/_nuxt/nscivqEG.js +31 -0
- package/dist/devtools/debug/index.html +1 -1
- package/dist/devtools/docs/index.html +1 -1
- package/dist/devtools/index.html +1 -1
- package/dist/devtools/llms-txt/index.html +1 -1
- package/dist/devtools/pages/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/server/utils.js +4 -0
- package/package.json +23 -19
- package/dist/devtools/_nuxt/B3Ds4CMX.js +0 -31
- package/dist/devtools/_nuxt/builds/meta/cfed7300-fd87-4d26-98a1-6e1d8a608160.json +0 -1
- package/dist/devtools/_nuxt/entry.BLpi4vfB.css +0 -1
- package/dist/devtools/_nuxt/index.rMesxbQE.css +0 -1
package/dist/devtools/200.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-ai-ready/_nuxt/entry.
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-ai-ready/_nuxt/entry.BbygA2Ya.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-ai-ready/_nuxt/nscivqEG.js"><script type="module" src="/__nuxt-ai-ready/_nuxt/nscivqEG.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-ai-ready",buildId:"d2222de3-cbf0-4d17-ab07-45187dcdee7f",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1778235107677,false]</script></body></html>
|
package/dist/devtools/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-ai-ready/_nuxt/entry.
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-ai-ready/_nuxt/entry.BbygA2Ya.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-ai-ready/_nuxt/nscivqEG.js"><script type="module" src="/__nuxt-ai-ready/_nuxt/nscivqEG.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-ai-ready",buildId:"d2222de3-cbf0-4d17-ab07-45187dcdee7f",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1778235107677,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s,o as t,c as n,b as l,g as r,h as a}from"./
|
|
1
|
+
import{d as s,o as t,c as n,b as l,g as r,h as a}from"./nscivqEG.js";const _={class:"h-full max-h-full overflow-hidden"},u=["src","title"],i=s({__name:"DevtoolsDocs",props:{url:{}},setup(e){return(c,o)=>(t(),n("div",_,[l("iframe",{src:e.url,title:`Documentation - ${e.url}`,class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,8,u)]))}}),m=Object.assign(i,{__name:"DevtoolsDocs"}),d={};function f(e,c){const o=m;return t(),a(o,{url:"https://nuxtseo.com/ai-ready"})}const p=r(d,[["render",f]]);export{p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as f}from"./
|
|
1
|
+
import{_ as f}from"./DsIImnSh.js";import{d as m,i as g,G as h,o as s,c as a,a as e,w as i,b as p,t as _,e as x,_ as b,f as t}from"./nscivqEG.js";const w={class:"space-y-4"},y={key:0,class:"relative"},k={class:"text-xs font-mono whitespace-pre-wrap p-4 rounded-lg bg-[var(--color-surface-sunken)] text-[var(--color-text)] overflow-auto max-h-[400px]"},C={key:0,class:"relative"},J={class:"text-xs font-mono whitespace-pre-wrap p-4 rounded-lg bg-[var(--color-surface-sunken)] text-[var(--color-text)] overflow-auto max-h-[400px]"},N={key:0,class:"relative"},D={class:"text-xs font-mono whitespace-pre-wrap p-4 rounded-lg bg-[var(--color-surface-sunken)] text-[var(--color-text)] overflow-auto max-h-[600px]"},V=m({__name:"debug",setup(S){const o=g(h),v=t(()=>o?.value?.config),d=t(()=>o?.value?.llmsTxt),n=t(()=>v.value?JSON.stringify(v.value,null,2):""),l=t(()=>d.value?JSON.stringify(d.value,null,2):""),r=t(()=>o?.value?JSON.stringify(o.value,null,2):"");return(B,z)=>{const c=f,u=b;return s(),a("div",w,[e(u,{text:"Module Config",icon:"carbon:settings",open:!0},{default:i(()=>[n.value?(s(),a("div",y,[e(c,{text:n.value,class:"absolute top-2 right-2 z-10"},null,8,["text"]),p("pre",k,_(n.value),1)])):x("",!0)]),_:1}),e(u,{text:"llms.txt Config",icon:"carbon:document",open:!0},{default:i(()=>[l.value?(s(),a("div",C,[e(c,{text:l.value,class:"absolute top-2 right-2 z-10"},null,8,["text"]),p("pre",J,_(l.value),1)])):x("",!0)]),_:1}),e(u,{text:"Full Response",icon:"carbon:code",open:!1},{default:i(()=>[r.value?(s(),a("div",N,[e(c,{text:r.value,class:"absolute top-2 right-2 z-10"},null,8,["text"]),p("pre",D,_(r.value),1)])):x("",!0)]),_:1})])}}});export{V as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as m,o as s,c as a,b as n,a as
|
|
1
|
+
import{d as m,o as s,c as a,b as n,a as f,s as u,n as v,t as d,C as l,z as $,e as o,g as p,h as r,D as h}from"./nscivqEG.js";const y={class:"devtools-empty"},b={class:"devtools-empty-title"},k={key:0,class:"devtools-empty-description"},g={key:1,class:"devtools-empty-actions"},B=m({__name:"DevtoolsEmptyState",props:{icon:{default:"carbon:search"},title:{},description:{},variant:{default:"default"}},setup(e){return(t,c)=>{const i=u;return s(),a("div",y,[n("div",{class:v(["devtools-empty-icon",`devtools-empty-icon-${e.variant}`])},[f(i,{name:e.icon,class:"w-8 h-8","aria-hidden":"true"},null,8,["name"])],2),n("h2",b,d(e.title),1),e.description||t.$slots.description?(s(),a("p",k,[l(t.$slots,"description",{},()=>[$(d(e.description),1)],!0)])):o("",!0),t.$slots.default?(s(),a("div",g,[l(t.$slots,"default",{},void 0,!0)])):o("",!0)])}}}),j=Object.assign(p(B,[["__scopeId","data-v-bf23f643"]]),{__name:"DevtoolsEmptyState"}),C={class:"devtools-panel"},D={key:0,class:"devtools-panel-header"},I={class:"flex items-center gap-2"},N={class:"devtools-panel-title"},S={key:0,class:"devtools-panel-actions"},V=m({__name:"DevtoolsPanel",props:{title:{},closable:{type:Boolean,default:!1},icon:{},padding:{type:Boolean,default:!0}},emits:["close"],setup(e){return(t,c)=>{const i=u,_=h;return s(),a("div",C,[e.title||t.$slots.header?(s(),a("div",D,[l(t.$slots,"header",{},()=>[n("div",I,[e.icon?(s(),r(i,{key:0,name:e.icon,class:"text-sm text-[var(--color-text-muted)]"},null,8,["name"])):o("",!0),n("span",N,d(e.title),1)])],!0),e.closable||t.$slots.actions?(s(),a("div",S,[l(t.$slots,"actions",{},void 0,!0),e.closable?(s(),r(_,{key:0,icon:"carbon:close","aria-label":"Close panel",onClick:c[0]||(c[0]=E=>t.$emit("close"))})):o("",!0)])):o("",!0)])):o("",!0),n("div",{class:v(["devtools-panel-content",e.padding?"p-3":""])},[l(t.$slots,"default",{},void 0,!0)],2)])}}}),z=Object.assign(p(V,[["__scopeId","data-v-99badccb"]]),{__name:"DevtoolsPanel"});export{j as _,z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as L,o as e,c as t,n as S,h as m,s as B,e as i,b as s,t as l,g as A,i as E,G as I,u as U,j as y,l as p,m as z,w as $,x as F,y as q,a as c,z as k,F as N,A as G,B as O,k as R,q as K,f as g,v as P}from"./
|
|
1
|
+
import{d as L,o as e,c as t,n as S,h as m,s as B,e as i,b as s,t as l,g as A,i as E,G as I,u as U,j as y,l as p,m as z,w as $,x as F,y as q,a as c,z as k,F as N,A as G,B as O,k as R,q as K,f as g,v as P}from"./nscivqEG.js";import{_ as H,a as J}from"./CW4u22fk.js";import{_ as Q}from"./DsIImnSh.js";const W={class:"devtools-metric-value"},X={key:1,class:"devtools-metric-label"},Y=L({__name:"DevtoolsMetric",props:{label:{},value:{},icon:{},variant:{default:"default"}},setup(u){return(_,w)=>{const n=B;return e(),t("div",{class:S(["devtools-metric",`devtools-metric-${u.variant}`])},[u.icon?(e(),m(n,{key:0,name:u.icon,class:"devtools-metric-icon","aria-hidden":"true"},null,8,["name"])):i("",!0),s("span",W,l(u.value),1),u.label?(e(),t("span",X,l(u.label),1)):i("",!0)],2)}}}),Z=Object.assign(A(Y,[["__scopeId","data-v-6a0e66d6"]]),{__name:"DevtoolsMetric"}),ee={class:"space-y-4"},te={class:"mt-4 space-y-2"},oe={key:0,class:"grid grid-cols-2 sm:grid-cols-4 gap-3"},ae={class:"flex items-center gap-2"},se={class:"relative flex-1"},ne={class:"text-xs text-[var(--color-text-muted)] shrink-0"},re={key:1,class:"space-y-1"},le=["onClick"],ce={class:"flex items-start justify-between gap-2"},ie={class:"min-w-0"},ue={class:"text-xs font-mono text-[var(--seo-green)] truncate"},de={key:0,class:"text-sm font-medium text-[var(--color-text)] truncate mt-0.5"},ve={key:1,class:"text-xs text-[var(--color-text-muted)] line-clamp-2 mt-0.5"},pe={key:0,class:"text-[10px] text-[var(--color-text-subtle)] shrink-0"},me={key:0,class:"py-4"},_e={key:1,class:"relative"},xe={class:"text-xs font-mono whitespace-pre-wrap p-4 rounded-lg bg-[var(--color-surface-sunken)] text-[var(--color-text)] overflow-auto max-h-[500px]"},he={key:2,class:"text-xs text-[var(--color-text-muted)] p-4"},ke=L({__name:"index",setup(u){const _=E(I),w=g(()=>_?.value?.isDev??!0),n=g(()=>_?.value?.stats),D=g(()=>_?.value?.pages||[]),d=P(""),r=P(null),x=g(()=>{if(!d.value)return D.value;const v=d.value.toLowerCase();return D.value.filter(a=>a.route.toLowerCase().includes(v)||a.title?.toLowerCase().includes(v)||a.description?.toLowerCase().includes(v))}),{data:b,status:T}=U("page-markdown",async()=>{if(!y.value||!r.value)return null;try{const v=r.value==="/"?"/index.md":`${r.value}.md`;return await y.value(v,{responseType:"text"})}catch{return null}},{watch:[r,y]});return(v,a)=>{const C=B,f=H,h=Z,M=K,V=Q,j=J;return e(),t("div",ee,[w.value&&!p(z)?(e(),m(f,{key:0,icon:"carbon:list",title:"No pages in development",description:"Pages are indexed during prerendering or via runtime sync. The database is empty in dev mode."},{default:$(()=>[s("div",te,[p(F)?(e(),t("button",{key:0,type:"button",class:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-md bg-[var(--seo-green)] text-white hover:opacity-90 transition-opacity cursor-pointer",onClick:a[0]||(a[0]=o=>q.value="production")},[c(C,{name:"carbon:cloud",class:"w-3.5 h-3.5"}),a[2]||(a[2]=k(" Switch to Production ",-1))])):i("",!0),a[3]||(a[3]=s("p",{class:"text-xs text-[var(--color-text-muted)]"},[k(" Or run "),s("code",{class:"px-1 py-0.5 rounded bg-[var(--color-surface-elevated)]"},"nuxi generate"),k(" to populate page data. ")],-1))])]),_:1})):(e(),t(N,{key:1},[n.value?(e(),t("div",oe,[c(h,{label:"Total Pages",value:n.value.total,icon:"carbon:document-multiple"},null,8,["value"]),c(h,{label:"Indexed",value:n.value.indexed,icon:"carbon:checkmark-filled",variant:"success"},null,8,["value"]),c(h,{label:"Pending",value:n.value.pending,icon:"carbon:time",variant:n.value.pending>0?"warning":"default"},null,8,["value","variant"]),c(h,{label:"Errors",value:n.value.errors,icon:"carbon:warning-alt",variant:n.value.errors>0?"danger":"default"},null,8,["value","variant"])])):i("",!0),s("div",ae,[s("div",se,[c(C,{name:"carbon:search",class:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-[var(--color-text-muted)]"}),G(s("input",{"onUpdate:modelValue":a[1]||(a[1]=o=>d.value=o),type:"text",placeholder:"Search pages...",class:"w-full pl-9 pr-3 py-2 text-sm rounded-lg bg-[var(--color-surface-sunken)] border border-[var(--color-border)] text-[var(--color-text)] placeholder:text-[var(--color-text-muted)] outline-none focus:border-[var(--seo-green)] transition-colors"},null,512),[[O,d.value]])]),s("span",ne,l(x.value.length)+" page"+l(x.value.length===1?"":"s"),1)]),x.value.length?(e(),t("div",re,[(e(!0),t(N,null,R(x.value,o=>(e(),t("button",{key:o.route,type:"button",class:S(["w-full text-left p-3 rounded-lg border transition-all cursor-pointer",r.value===o.route?"bg-[var(--color-surface-elevated)] border-[var(--seo-green)]":"bg-[var(--color-surface)] border-[var(--color-border)] hover:bg-[var(--color-surface-elevated)]"]),onClick:ge=>r.value=r.value===o.route?null:o.route},[s("div",ce,[s("div",ie,[s("div",ue,l(o.route),1),o.title?(e(),t("div",de,l(o.title),1)):i("",!0),o.description?(e(),t("div",ve,l(o.description),1)):i("",!0)]),o.updatedAt?(e(),t("div",pe,l(new Date(o.updatedAt).toLocaleDateString()),1)):i("",!0)])],10,le))),128))])):d.value?(e(),m(f,{key:2,icon:"carbon:search",title:"No matching pages",description:`No pages match "${d.value}"`},null,8,["description"])):(e(),m(f,{key:3,icon:"carbon:list",title:"No pages indexed",description:"The production site has no indexed pages yet. Ensure prerendering has run."})),r.value?(e(),m(j,{key:4,title:`${r.value}.md`,icon:"carbon:document"},{default:$(()=>[p(T)==="pending"?(e(),t("div",me,[c(M)])):p(b)?(e(),t("div",_e,[c(V,{text:p(b),class:"absolute top-2 right-2 z-10"},null,8,["text"]),s("pre",xe,l(p(b)),1)])):(e(),t("p",he," Could not load markdown for this route. "))]),_:1},8,["title"])):i("",!0)],64))])}}});export{ke as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as E,i as G,G as L,u as C,j as u,r as T,o as t,c as e,b as n,F as _,k as h,n as q,t as i,l as S,m as I,h as A,w as y,p as K,e as g,a as m,q as M,s as R,_ as U,f as v,v as H}from"./
|
|
1
|
+
import{d as E,i as G,G as L,u as C,j as u,r as T,o as t,c as e,b as n,F as _,k as h,n as q,t as i,l as S,m as I,h as A,w as y,p as K,e as g,a as m,q as M,s as R,_ as U,f as v,v as H}from"./nscivqEG.js";import{_ as J}from"./DsIImnSh.js";import{_ as O,a as Q}from"./CW4u22fk.js";const W={class:"space-y-4"},X={class:"flex items-center gap-2"},Y=["onClick"],Z={key:0,class:"py-8 text-center"},tt={key:0,class:"relative"},et={class:"text-xs font-mono whitespace-pre-wrap p-4 rounded-lg bg-[var(--color-surface-sunken)] text-[var(--color-text)] overflow-auto max-h-[600px]"},ot={key:1,class:"relative"},st={class:"text-xs font-mono whitespace-pre-wrap p-4 rounded-lg bg-[var(--color-surface-sunken)] text-[var(--color-text-muted)] overflow-auto max-h-[600px]"},nt={key:0,class:"space-y-3"},lt={class:"text-sm font-semibold text-[var(--color-text)] mb-1"},at={key:0,class:"space-y-1 mt-2"},rt={class:"font-medium text-[var(--color-text)]"},ct={key:0,class:"text-[var(--color-text-muted)]"},it={class:"font-mono text-[var(--color-text-subtle)]"},ut={key:1,class:"text-xs text-[var(--color-text-muted)]"},vt=E({__name:"llms-txt",setup(dt){const k=G(L),b=v(()=>k?.value?.isDev??!0),x=v(()=>k?.value?.llmsTxt),r=H("llms-txt"),{data:$}=C("llms-txt-content",async()=>{if(!u.value)return null;try{return await u.value("/llms.txt",{responseType:"text"})}catch{return null}},{watch:[u,T]}),{data:N,status:B}=C("llms-full-content",async()=>{if(!u.value||r.value!=="llms-full")return null;try{return await u.value("/llms-full.txt",{responseType:"text"})}catch{return null}},{watch:[u,T,r]}),f=v(()=>r.value==="llms-full"?N.value:$.value),w=v(()=>{const c=x.value;if(!c)return"";const l=["# {Site Name}","","> {Site Description}",""];for(const o of c.sections||[]){if(l.push(`## ${o.title}`),o.description){const s=Array.isArray(o.description)?o.description:[o.description];for(const d of s)l.push("",d)}for(const s of o.links||[]){const d=s.description?`: ${s.description}`:"";l.push(`- [${s.title}](${s.href})${d}`)}l.push("")}if(c.notes){const o=Array.isArray(c.notes)?c.notes:[c.notes];for(const s of o)l.push(s)}return l.join(`
|
|
2
2
|
`)});return(c,l)=>{const o=K,s=M,d=J,F=O,P=Q,j=R,V=U;return t(),e("div",W,[n("div",X,[(t(),e(_,null,h([{key:"llms-txt",label:"llms.txt"},{key:"llms-full",label:"llms-full.txt"}],a=>n("button",{key:a.key,type:"button",class:q(["px-3 py-1.5 text-xs font-medium rounded-md transition-all cursor-pointer",r.value===a.key?"bg-[var(--seo-green)] text-white":"bg-[var(--color-surface-elevated)] text-[var(--color-text-muted)] hover:text-[var(--color-text)]"]),onClick:D=>r.value=a.key},i(a.label),11,Y)),64))]),b.value&&!S(I)?(t(),A(o,{key:0,variant:"info"},{default:y(()=>[...l[0]||(l[0]=[n("p",{class:"font-medium mb-1"}," Template Preview ",-1),n("p",{class:"text-sm opacity-80"}," This shows the llms.txt structure from your config. Actual content with page data is generated during prerendering. Switch to production mode to see live content. ",-1)])]),_:1})):g("",!0),m(P,{title:r.value==="llms-txt"?"llms.txt":"llms-full.txt"},{default:y(()=>[r.value==="llms-full"&&S(B)==="pending"?(t(),e("div",Z,[m(s)])):(t(),e(_,{key:1},[f.value?(t(),e("div",tt,[m(d,{text:f.value,class:"absolute top-2 right-2 z-10"},null,8,["text"]),n("pre",et,i(f.value),1)])):b.value&&w.value?(t(),e("div",ot,[n("pre",st,i(w.value),1)])):(t(),A(F,{key:2,icon:"carbon:document",title:"No content available",description:"llms.txt content is generated during prerendering. Run `nuxi generate` or switch to production mode."}))],64))]),_:1},8,["title"]),m(V,{text:"Configured Sections",icon:"carbon:list-boxes"},{default:y(()=>[x.value?.sections?.length?(t(),e("div",nt,[(t(!0),e(_,null,h(x.value.sections,(a,D)=>(t(),e("div",{key:D,class:"p-3 rounded-lg bg-[var(--color-surface-elevated)] border border-[var(--color-border)]"},[n("h4",lt,i(a.title),1),a.links?.length?(t(),e("div",at,[(t(!0),e(_,null,h(a.links,(p,z)=>(t(),e("div",{key:z,class:"flex items-start gap-2 text-xs"},[m(j,{name:"carbon:link",class:"w-3 h-3 mt-0.5 text-[var(--color-text-muted)]"}),n("div",null,[n("span",rt,i(p.title),1),p.description?(t(),e("span",ct,", "+i(p.description),1)):g("",!0),n("div",it,i(p.href),1)])]))),128))])):g("",!0)]))),128))])):(t(),e("p",ut," No custom sections configured. "))]),_:1})])}}});export{vt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.devtools-empty[data-v-
|
|
1
|
+
.devtools-empty[data-v-bf23f643]{align-items:center;display:flex;flex-direction:column;margin:0 auto;max-width:32rem;text-align:center}.devtools-empty-icon[data-v-bf23f643]{align-items:center;border-radius:var(--radius-lg);display:inline-flex;height:4rem;justify-content:center;margin-bottom:1.5rem;width:4rem}.devtools-empty-icon-default[data-v-bf23f643]{background:#11ad321f;color:var(--seo-green)}.dark .devtools-empty-icon-default[data-v-bf23f643]{background:#11ad3226}.devtools-empty-icon-error[data-v-bf23f643]{background:#cc272e1f;color:#cc272e}.dark .devtools-empty-icon-error[data-v-bf23f643]{background:#cc272e26;color:#ff847d}.devtools-empty-title[data-v-bf23f643]{color:var(--color-text);font-size:1.125rem;font-weight:600;margin-bottom:.75rem}@media(min-width:640px){.devtools-empty-title[data-v-bf23f643]{font-size:1.25rem}}.devtools-empty-description[data-v-bf23f643]{color:var(--color-text-muted);font-size:.875rem;line-height:1.5;margin-bottom:1.25rem}@media(min-width:640px){.devtools-empty-description[data-v-bf23f643]{font-size:1rem}}.devtools-empty-actions[data-v-bf23f643]{align-items:center;display:flex;flex-direction:column;gap:.75rem}.devtools-panel[data-v-99badccb]{background:var(--color-surface-elevated);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:0 8px 32px #0000001f;display:flex;flex-direction:column;overflow:hidden}.dark .devtools-panel[data-v-99badccb]{box-shadow:0 8px 32px #0006}.devtools-panel-header[data-v-99badccb]{align-items:center;background:var(--color-surface-sunken);border-bottom:1px solid var(--color-border);display:flex;justify-content:space-between;padding:.625rem .75rem}.devtools-panel-title[data-v-99badccb]{color:var(--color-text);font-size:.875rem;font-weight:500}.devtools-panel-actions[data-v-99badccb]{align-items:center;display:flex;gap:.25rem}.devtools-panel-content[data-v-99badccb]{flex:1;overflow:auto}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as p,d as r,o as i,h as l,w as _,a as u,D as m,l as e,n as C,H as d}from"./
|
|
1
|
+
import{E as p,d as r,o as i,h as l,w as _,a as u,D as m,l as e,n as C,H as d}from"./nscivqEG.js";function x(t=2e3){const{copy:n,copied:o}=p({legacy:!0,copiedDuring:t});return{copy:n,copied:o}}const y=r({__name:"DevtoolsCopyButton",props:{text:{}},setup(t){const{copy:n,copied:o}=x();return(f,a)=>{const s=m,c=d;return i(),l(c,{text:e(o)?"Copied!":"Copy"},{default:_(()=>[u(s,{icon:e(o)?"carbon:checkmark":"carbon:copy","aria-label":e(o)?"Copied":"Copy to clipboard",class:C(e(o)?"text-[var(--seo-green)]":""),onClick:a[0]||(a[0]=b=>e(n)(t.text))},null,8,["icon","aria-label","class"])]),_:1},8,["text"])}}}),B=Object.assign(y,{__name:"DevtoolsCopyButton"});export{B as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"d2222de3-cbf0-4d17-ab07-45187dcdee7f","timestamp":1778235099401}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"d2222de3-cbf0-4d17-ab07-45187dcdee7f","timestamp":1778235099401,"prerendered":[]}
|