PageSourceSearch

https://hiiihe-ispace1.hf.space/assets/NavigationHomePage-CJI5XtP2.js

js hiiihe-ispace1.hf.space collected 2026-10-03 16:56:04 UTC 3,728 bytes, 1 lines download raw bytes

1import{c as x}from"./index-DX0rhWxn.js";import{d as v,f as n,z as i,L as e,H as s,F as f,A as y,l as g,c as l}from"./vendor-vue-DGd8mKWO.js";import"./vendor-monaco-iaZ6B9cc.js";const b={class:"grid gap-6"},k={class:"card"},w={class:"card-header"},A={class:"flex flex-wrap items-center gap-2"},C={class:"badge badge-secondary"},I={class:"text-xs text-muted-foreground"},O={class:"card-content"},D={class:"text-3xl font-semibold tracking-tight sm:text-4xl"},H={class:"mt-4 text-sm leading-7 text-muted-foreground max-w-2xl"},N={class:"card"},E={class:"card-header"},F={class:"flex items-center justify-between gap-3"},j={class:"text-xs uppercase tracking-wider text-muted-foreground"},z={class:"mt-2 text-xl font-semibold"},B={class:"card-content"},P={class:"grid gap-4 sm:grid-cols-2 lg:grid-cols-2"},V=["onClick"],L={class:"flex items-center justify-between gap-3 mb-4"},R={class:"inline-flex h-12 w-12 items-center justify-center rounded-lg bg-secondary text-slate-900 dark:bg-white/10 dark:text-white"},S={class:"rounded-full bg-secondary px-3 py-1 text-xs font-medium text-muted-foreground"},$={class:"text-base font-semibold mb-1"},K={class:"text-xs text-muted-foreground mb-2"},M={class:"text-xl font-semibold"},G=v({__name:"NavigationHomePage",props:{locale:{},modules:{}},emits:["open-app","open-resource-tab"],setup(d,{emit:_}){const u=d,c=_,m=l(()=>u.locale==="zh"),p=l(()=>[{app_key:"chat",title:t("AI 总控对话","AI Chat"),icon:"chat",status:"active",primary_metric:{label:t("默认入口","Default"),value:"Chat"},route_name:"chat",external_url:void 0},{app_key:"cloud_notes",title:t("云笔记","Cloud Notes"),icon:"notes",status:"active",primary_metric:{label:t("文档管理","Documents"),value:t("进入","Enter")},route_name:"cloudNotes",external_url:void 0},{app_key:"investment_os",title:t("投资平台","Investment Platform"),icon:"investmentOs",status:"active",primary_metric:{label:t("双指数执行","Two-index workflow"),value:t("进入","Enter")},route_name:"investmentOs",external_url:void 0},{app_key:"resource_ops",title:t("资源运营域","Resource Ops"),icon:"resourceOps",status:"active",primary_metric:{label:t("账号 / 系统","Accounts / Systems"),value:t("查看","View")},route_name:"resourceOps",external_url:void 0},{app_key:"hf_space_deploy",title:t("HF部署","HF Deploy"),icon:"deployment",status:"active",primary_metric:{label:t("挂载路径","Mount Path"),value:"/hf-space-deploy"},route_name:void 0,external_url:void 0}]);function t(a,r){return m.value?a:r}function h(a){a.route_name?c("open-app",a.route_name):a.app_key==="hf_space_deploy"&&c("open-resource-tab","hfDeploy")}return(a,r)=>(n(),i("section",b,[e("div",k,[e("div",w,[e("div",A,[e("span",C,s(t("AI 总控首页","AI Control Home")),1),e("span",I,s(t("图标优先","Icon-first")),1)])]),e("div",O,[e("h2",D,s(t("先看状态,再进入应用","Read the signals, then enter the apps")),1),e("p",H,s(t("首页只保留总控信号、应用入口和下一步探索,不再堆很多说明。","Keep the home page focused on signals, app entry points, and what to explore next.")),1)])]),e("div",N,[e("div",E,[e("div",F,[e("div",null,[e("p",j,s(t("快捷入口","Quick Entry")),1),e("h3",z,s(t("正式应用","Apps")),1)])])]),e("div",B,[e("div",P,[(n(!0),i(f,null,y(p.value,o=>(n(),i("button",{key:o.app_key,class:"card p-5 text-left transition-all hover:-translate-y-0.5 hover:shadow-md disabled:cursor-not-allowed disabled:opacity-60 cursor-pointer",onClick:Q=>h(o)},[e("div",L,[e("div",R,[g(x,{name:o.icon,size:22},null,8,["name"])]),e("span",S,s(o.status),1)]),e("div",$,s(o.title),1),e("div",K,s(o.primary_metric.label),1),e("div",M,s(o.primary_metric.value),1)],8,V))),128))])])])]))}});export{G 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.