@kimuson/claude-code-viewer 0.7.3 → 0.7.5
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/README.md +9 -0
- package/dist/main.js +104087 -9930
- package/dist/static/assets/AuthProvider-a1wlLm40.js +22 -0
- package/dist/static/assets/ProtectedRoute-Bd-6jyxE.js +1 -0
- package/dist/static/assets/card-D9aMzhGi.js +1 -0
- package/dist/static/assets/createLucideIcon-Dr4vJxG7.js +1 -0
- package/dist/static/assets/dist-BSr9MeK6.js +109 -0
- package/dist/static/assets/{dist-CG2L4mx5.js → dist-DsKpSV8b.js} +1 -1
- package/dist/static/assets/{eye-SsvAY8oF.js → eye-93IqRP6X.js} +1 -1
- package/dist/static/assets/index-B-si4iv9.js +20 -0
- package/dist/static/assets/{index-DNPVlDui.css → index-CRjH32Aw.css} +2 -2
- package/dist/static/assets/{input-B_6IT1CP.js → input-M1VOtQpS.js} +1 -1
- package/dist/static/assets/label-CV_Y-Hm3.js +1 -0
- package/dist/static/assets/{login-CKSjZM5v.js → login-B5ql67Sw.js} +1 -1
- package/dist/static/assets/{markdown-parser-vendor-D9j1a-bm.js → markdown-parser-vendor-BdkS_k_8.js} +7 -7
- package/dist/static/assets/{projects-DH0K12HM.js → projects-CzabZWrQ.js} +1 -1
- package/dist/static/assets/{refractor-vendor-B-OUwWR7.js → refractor-vendor-BfdmH2uT.js} +1 -1
- package/dist/static/assets/rolldown-runtime-S-ySWqyJ.js +1 -0
- package/dist/static/assets/routes-DCVxLOkG.js +1 -0
- package/dist/static/assets/session-Bh26l_lo.js +13 -0
- package/dist/static/assets/session-BxPcWj4u.js +1 -0
- package/dist/static/assets/{syntax-highlighter-vendor-CwGXx8v4.js → syntax-highlighter-vendor-BmNdBw1C.js} +4 -4
- package/dist/static/assets/workbox-window.prod.es5-8x20nBgX.js +2 -0
- package/dist/static/assets/{xterm-vendor-DRG2K165.js → xterm-vendor-D6WsVDeV.js} +3 -3
- package/dist/static/index.html +10 -10
- package/dist/static/sw.js +1 -1
- package/package.json +3 -130
- package/dist/main.js.map +0 -7
- package/dist/static/assets/AuthProvider-Ds-c4CWc.js +0 -22
- package/dist/static/assets/ProtectedRoute-BTfjJdM-.js +0 -1
- package/dist/static/assets/card-DGrqtTaC.js +0 -1
- package/dist/static/assets/createLucideIcon-BL_meogc.js +0 -1
- package/dist/static/assets/dist-Cartj9I0.js +0 -84
- package/dist/static/assets/index-Bmg7UpkS.js +0 -20
- package/dist/static/assets/label-Cw6sZ5kQ.js +0 -1
- package/dist/static/assets/rolldown-runtime-Dw2cE7zH.js +0 -1
- package/dist/static/assets/routes-CzLZwWu9.js +0 -1
- package/dist/static/assets/session-DItKrSkz.js +0 -12
- package/dist/static/assets/session-DdZMHc5j.js +0 -1
- package/dist/static/assets/workbox-window.prod.es5-DaBTyiAs.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e}from"./markdown-parser-vendor-
|
|
1
|
+
import{d as e}from"./markdown-parser-vendor-BdkS_k_8.js";import{s as t}from"./card-D9aMzhGi.js";var n=e(),r=({className:e,type:r,...i})=>(0,n.jsx)(`input`,{type:r,"data-slot":`input`,className:t(`file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,`focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]`,`aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,e),...i});export{r as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{d as t,f as n}from"./markdown-parser-vendor-BdkS_k_8.js";import{s as r}from"./card-D9aMzhGi.js";var i=e(n(),1),a=t(),o=i.forwardRef(({className:e,children:t,...n},i)=>(0,a.jsx)(`label`,{ref:i,className:r(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`,e),...n,children:t}));o.displayName=`Label`;export{o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{d as t,f as n}from"./markdown-parser-vendor-BdkS_k_8.js";import{at as r,n as i,ot as a}from"./AuthProvider-a1wlLm40.js";import{t as o}from"./createLucideIcon-Dr4vJxG7.js";import{t as s}from"./eye-93IqRP6X.js";import{a as c,i as l,n as u,o as d,r as f,t as p}from"./card-D9aMzhGi.js";import{t as m}from"./input-M1VOtQpS.js";import{t as h}from"./label-CV_Y-Hm3.js";var g=o(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),_=o(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]),v=e(n()),y=t(),b=()=>{let[e,t]=(0,v.useState)(``),[n,o]=(0,v.useState)(!1),[b,x]=(0,v.useState)(``),[S,C]=(0,v.useState)(!1),{authEnabled:w,isAuthenticated:T,login:E}=i(),D=a();return(0,v.useEffect)(()=>{w?T&&D({to:`/projects`}):D({to:`/projects`})},[w,T,D]),(0,y.jsxs)(`div`,{className:`min-h-screen flex items-center justify-center bg-gradient-to-br from-background via-background to-muted/30 p-4`,children:[(0,y.jsxs)(`div`,{className:`fixed inset-0 overflow-hidden pointer-events-none`,children:[(0,y.jsx)(`div`,{className:`absolute -top-40 -right-40 w-80 h-80 bg-primary/5 rounded-full blur-3xl`}),(0,y.jsx)(`div`,{className:`absolute -bottom-40 -left-40 w-80 h-80 bg-primary/5 rounded-full blur-3xl`}),(0,y.jsx)(`div`,{className:`absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[500px] h-[500px] bg-gradient-to-r from-primary/3 to-transparent rounded-full blur-3xl`})]}),(0,y.jsxs)(p,{className:`w-full max-w-md relative backdrop-blur-sm bg-card/95 border-border/50 shadow-xl animate-in fade-in-0 zoom-in-95 duration-300`,children:[(0,y.jsxs)(l,{className:`space-y-4 text-center pb-2`,children:[(0,y.jsx)(`div`,{className:`mx-auto w-16 h-16 rounded-2xl bg-gradient-to-br from-primary/20 to-primary/5 flex items-center justify-center border border-primary/10 shadow-inner`,children:(0,y.jsx)(_,{className:`w-8 h-8 text-primary`})}),(0,y.jsxs)(`div`,{className:`space-y-2`,children:[(0,y.jsx)(c,{className:`text-2xl font-bold tracking-tight`,children:`Claude Code Viewer`}),(0,y.jsx)(f,{className:`text-muted-foreground`,children:`Enter your password to continue`})]})]}),(0,y.jsx)(u,{className:`pt-4`,children:(0,y.jsxs)(`form`,{onSubmit:t=>{t.preventDefault(),x(``),C(!0),(async()=>{try{await E(e)}catch(e){x(e instanceof Error?e.message:`Invalid password. Please try again.`)}finally{C(!1)}})()},className:`space-y-6`,children:[(0,y.jsxs)(`div`,{className:`space-y-2`,children:[(0,y.jsx)(h,{htmlFor:`password`,className:`text-sm font-medium`,children:`Password`}),(0,y.jsxs)(`div`,{className:`relative`,children:[(0,y.jsx)(m,{id:`password`,type:n?`text`:`password`,value:e,onChange:e=>t(e.target.value),placeholder:`Enter your password`,className:`pr-10 h-11 text-base`,autoFocus:!0,disabled:S}),(0,y.jsx)(`button`,{type:`button`,onClick:()=>o(!n),className:`absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors`,tabIndex:-1,children:n?(0,y.jsx)(g,{className:`h-4 w-4`}):(0,y.jsx)(s,{className:`h-4 w-4`})})]})]}),b!==``&&(0,y.jsx)(`div`,{className:`text-sm text-destructive bg-destructive/10 border border-destructive/20 rounded-lg px-4 py-3 animate-in slide-in-from-top-1 duration-200`,children:b}),(0,y.jsx)(d,{type:`submit`,className:`w-full h-11 text-base font-medium`,disabled:e===``||S,children:S?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(r,{className:`mr-2 h-4 w-4 animate-spin`}),`Signing in...`]}):`Sign in`})]})})]})]})};export{b as component};
|