planche 0.8.4 → 0.8.6
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/app/assets/{Brk9GcZh.js → 2rC1LDx2.js} +1 -1
- package/app/assets/{BQ74FNAM.js → B-yXhF3b.js} +1 -1
- package/app/assets/{2sxOfzyn.js → B1lNzsWx.js} +5 -5
- package/app/assets/{8OZbP3hw.js → B1mA7CRG.js} +1 -1
- package/app/assets/{Clm7zeUD.js → B3UjY7jq.js} +1 -1
- package/app/assets/{BrwCR6-9.js → B4JrGAXR.js} +1 -1
- package/app/assets/{DkdStXtl.js → BGIwW6nZ.js} +1 -1
- package/app/assets/{BmSO6bVX.js → BM_rLXLv.js} +1 -1
- package/app/assets/{D2AdQhHv.js → BP4mxS6-.js} +1 -1
- package/app/assets/{B_0rFJQl.js → BV9jV2YU.js} +1 -1
- package/app/assets/{BCZ2DwDi.js → BgDlbKXF.js} +1 -1
- package/app/assets/{MdnUPkBs.js → BluggY4N.js} +1 -1
- package/app/assets/{Bfuq7Ecs.js → Bm1X7uTX.js} +1 -1
- package/app/assets/{DCkfyKy4.js → BuiqFOkR.js} +1 -1
- package/app/assets/{oSIomP-s.js → Bxa5htLS.js} +1 -1
- package/app/assets/{OQSC6nip.js → CAHFhps_.js} +1 -1
- package/app/assets/{q4qvsmm4.js → CB6XKkDn.js} +1 -1
- package/app/assets/{DURNOOys.js → CFQ-2DAt.js} +1 -1
- package/app/assets/{aL0ab6hA.js → CPgI8it1.js} +1 -1
- package/app/assets/{3tVT9YMh.js → CQieSTGh.js} +1 -1
- package/app/assets/{g4S828aR.js → Cd_45PFU.js} +1 -1
- package/app/assets/{Bfw0mW2q.js → Cl5bGhXD.js} +1 -1
- package/app/assets/{D98JmiqU.js → CnOZTyPx.js} +2 -2
- package/app/assets/D3Eb1tV7.css +2 -0
- package/app/assets/{BxOkJTYb.js → DKjjOKsl.js} +1 -1
- package/app/assets/{nij0MMY5.js → DsAlsNTl.js} +1 -1
- package/app/assets/{B4qi_yRV.js → DtU_PUOl.js} +1 -1
- package/app/assets/{B2VNJYl8.js → DyJPwVZe.js} +1 -1
- package/app/assets/{B6gKGoJk.js → NYrZ_KG4.js} +1 -1
- package/app/assets/{7D95fvkQ.js → XlrBcEaO.js} +1 -1
- package/app/assets/{C-MJZp-k.js → YjhzJVQZ.js} +1 -1
- package/app/assets/{vIgrQ7V1.js → bDuhhOB6.js} +1 -1
- package/app/assets/{1qhRpHKv.js → mSiUHQYe.js} +1 -1
- package/app/assets/{C3uDTQB5.js → ohBkXlZt.js} +1 -1
- package/app/assets/{f1Yh3VFu.js → pp1UmAJW.js} +1 -1
- package/app/assets/{CCBE6CSG.js → vKCvRvxP.js} +1 -1
- package/app/index.html +3 -3
- package/package.json +1 -1
- package/app/assets/ZV96pIZb.css +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./XzPc-eVf.js";import{l as t,m as n,t as r}from"./CKOS5Y-e.js";import{G as i,t as a}from"./
|
|
1
|
+
import{n as e}from"./XzPc-eVf.js";import{l as t,m as n,t as r}from"./CKOS5Y-e.js";import{G as i,t as a}from"./B1lNzsWx.js";import{a as o,i as s,n as c,o as l,r as u,t as d}from"./DxuXBECK.js";var f=t(),p=`https://planche.dev`,m=`/third-party-notices.txt`;function h(){let t=e(e=>e.activeDialog),h=e(e=>e.closeDialog),{t:g}=n();return(0,f.jsx)(d,{open:t===`about`,onOpenChange:e=>{e||h()},children:(0,f.jsxs)(c,{className:`sm:max-w-[440px]`,children:[(0,f.jsx)(o,{children:(0,f.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,f.jsx)(a,{size:44,className:`shrink-0`}),(0,f.jsxs)(`div`,{className:`grid gap-1`,children:[(0,f.jsx)(l,{children:g(`about.title`)}),(0,f.jsx)(u,{children:g(`about.tagline`)})]})]})}),(0,f.jsxs)(`div`,{className:`grid gap-3 text-sm`,children:[(0,f.jsxs)(`dl`,{className:`grid grid-cols-[auto_1fr] gap-x-4 gap-y-1`,children:[(0,f.jsx)(`dt`,{className:`text-muted-foreground`,children:g(`about.version`)}),(0,f.jsx)(`dd`,{children:`0.1.1`}),(0,f.jsx)(`dt`,{className:`text-muted-foreground`,children:g(`about.website`)}),(0,f.jsx)(`dd`,{children:(0,f.jsx)(`a`,{href:p,target:`_blank`,rel:`noreferrer`,className:`underline underline-offset-2`,children:p})}),(0,f.jsx)(`dt`,{className:`text-muted-foreground`,children:g(`about.licenses`)}),(0,f.jsx)(`dd`,{children:(0,f.jsx)(`a`,{href:m,target:`_blank`,rel:`noreferrer`,className:`underline underline-offset-2`,children:g(`about.licensesLink`)})}),(0,f.jsx)(`dt`,{className:`text-muted-foreground`,children:g(`about.legal`)}),(0,f.jsxs)(`dd`,{className:`flex gap-3`,children:[(0,f.jsx)(`a`,{href:i.terms,target:`_blank`,rel:`noreferrer`,className:`underline underline-offset-2`,children:g(`about.terms`)}),(0,f.jsx)(`a`,{href:i.privacy,target:`_blank`,rel:`noreferrer`,className:`underline underline-offset-2`,children:g(`about.privacy`)}),(0,f.jsx)(`a`,{href:i.refund,target:`_blank`,rel:`noreferrer`,className:`underline underline-offset-2`,children:g(`about.refund`)})]})]}),(0,f.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`© 2026 Juwon Jeong. `,g(`about.rights`)]}),(0,f.jsx)(`p`,{className:`rounded-md border bg-muted/40 p-3 text-xs text-muted-foreground`,children:g(`about.disclaimer`)}),(0,f.jsxs)(`div`,{className:`rounded-md border border-amber-500/40 bg-amber-500/5 p-3 text-xs text-muted-foreground`,children:[(0,f.jsx)(`p`,{className:`mb-1 font-medium text-amber-600 dark:text-amber-400`,children:g(`pro.noticeTitle`)}),(0,f.jsx)(`p`,{children:g(`pro.notice`)})]})]}),(0,f.jsx)(s,{children:(0,f.jsx)(r,{onClick:h,children:g(`settings.done`)})})]})})}export{h as AboutDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./hePW80VL.js";import{h as t,n}from"./XzPc-eVf.js";import{l as r,m as i,t as a}from"./CKOS5Y-e.js";import{a as o,i as s,n as c,r as l,t as u}from"./
|
|
1
|
+
import{r as e}from"./hePW80VL.js";import{h as t,n}from"./XzPc-eVf.js";import{l as r,m as i,t as a}from"./CKOS5Y-e.js";import{a as o,i as s,n as c,r as l,t as u}from"./BGIwW6nZ.js";import{t as d}from"./DTxGpkJp.js";import{c as f,l as p}from"./B1lNzsWx.js";import{a as m,i as h,n as g,o as _,t as v}from"./DxuXBECK.js";import{n as y}from"./rcI4Fmt0.js";var b=e(t(),1),x=r();function S(){let{t:e}=i(),{activeDialog:t,closeDialog:r,setFooterMessage:S}=n(),C=d(e=>e.activeConnectionId)??``,w=y(e=>e.addUser),[T,E]=(0,b.useState)(``),[D,O]=(0,b.useState)(`%`),[k,A]=(0,b.useState)(``),[j,M]=(0,b.useState)(``),[N,P]=(0,b.useState)(`caching_sha2_password`),F=t===`user-add`;function I(e){e||(L(),r())}function L(){E(``),O(`%`),A(``),M(``),P(`caching_sha2_password`)}function R(){if(!T.trim()){S(e(`user.add.usernameRequired`));return}if(k!==j){S(e(`user.add.passwordMismatch`));return}w(C,{user:T.trim(),host:D.trim()||`%`,privileges:[],maxQuestions:0,maxUpdates:0,maxConnections:0,maxUserConnections:0,plugin:N,authenticationString:``,passwordExpired:!1,accountLocked:!1}),S(e(`user.add.added`,{user:T,host:D})),L(),r()}return(0,x.jsx)(v,{open:F,onOpenChange:I,children:(0,x.jsxs)(g,{className:`sm:max-w-[450px]`,children:[(0,x.jsx)(m,{children:(0,x.jsx)(_,{children:e(`user.add.title`)})}),(0,x.jsxs)(`div`,{className:`space-y-4 py-2`,children:[(0,x.jsxs)(`div`,{className:`space-y-2`,children:[(0,x.jsx)(f,{htmlFor:`user-add-username`,children:e(`user.add.username`)}),(0,x.jsx)(p,{id:`user-add-username`,value:T,onChange:e=>E(e.target.value),placeholder:e(`user.add.usernamePlaceholder`)})]}),(0,x.jsxs)(`div`,{className:`space-y-2`,children:[(0,x.jsx)(f,{htmlFor:`user-add-host`,children:e(`user.add.host`)}),(0,x.jsx)(p,{id:`user-add-host`,value:D,onChange:e=>O(e.target.value),placeholder:`%`})]}),(0,x.jsxs)(`div`,{className:`space-y-2`,children:[(0,x.jsx)(f,{htmlFor:`user-add-password`,children:e(`user.add.password`)}),(0,x.jsx)(p,{id:`user-add-password`,type:`password`,value:k,onChange:e=>A(e.target.value),placeholder:e(`user.add.passwordPlaceholder`)})]}),(0,x.jsxs)(`div`,{className:`space-y-2`,children:[(0,x.jsx)(f,{htmlFor:`user-add-confirm-password`,children:e(`user.add.confirmPassword`)}),(0,x.jsx)(p,{id:`user-add-confirm-password`,type:`password`,value:j,onChange:e=>M(e.target.value),placeholder:e(`user.add.confirmPasswordPlaceholder`)})]}),(0,x.jsxs)(`div`,{className:`space-y-2`,children:[(0,x.jsx)(f,{children:e(`user.add.plugin`)}),(0,x.jsxs)(u,{value:N,onValueChange:P,children:[(0,x.jsx)(s,{className:`w-full`,children:(0,x.jsx)(o,{})}),(0,x.jsxs)(c,{children:[(0,x.jsx)(l,{value:`mysql_native_password`,children:`mysql_native_password`}),(0,x.jsx)(l,{value:`caching_sha2_password`,children:`caching_sha2_password`})]})]})]})]}),(0,x.jsxs)(h,{children:[(0,x.jsx)(a,{variant:`outline`,onClick:()=>I(!1),children:e(`user.add.cancel`)}),(0,x.jsx)(a,{onClick:R,children:e(`user.add.add`)})]})]})})}export{S as UserAddDialog};
|