@mindexec/cli 0.2.377 → 0.2.379
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/package.json +1 -1
- package/wwwroot/assets/{AdminDashboardPage-D2GhogSX.js → AdminDashboardPage-CptFPV__.js} +1 -1
- package/wwwroot/assets/AppSidebar-6q9MElKP.js +2 -0
- package/wwwroot/assets/AuthPages-BtLsYX_F.js +1 -0
- package/wwwroot/assets/{CodePage-D0CxncU0.js → CodePage-CtcukAw7.js} +1 -1
- package/wwwroot/assets/{CompanyCorePage-C8AAF9MJ.js → CompanyCorePage-CVw3X796.js} +1 -1
- package/wwwroot/assets/{ExecutionModePage-DM4G1xkT.js → ExecutionModePage-BxZvRmyD.js} +5 -5
- package/wwwroot/assets/{LaunchLeadCapture-Btre_FaA.js → LaunchLeadCapture-Bx9LM0IX.js} +1 -1
- package/wwwroot/assets/{MarketingHome-BJI2zEYK.js → MarketingHome-BsyerRpe.js} +1 -1
- package/wwwroot/assets/MindCanvas-wBB9fMPS.js +49 -0
- package/wwwroot/assets/{PlanMasterPage-axrFePG0.js → PlanMasterPage-juSUgUYZ.js} +4 -4
- package/wwwroot/assets/PricingPage-7NW6HJxV.js +1 -0
- package/wwwroot/assets/{ToolPages-CTVDo24Z.js → ToolPages-n6d8tLbT.js} +9 -9
- package/wwwroot/assets/{YouTubeSearchPage-BWA45eoM.js → YouTubeSearchPage-52qOcKbo.js} +2 -2
- package/wwwroot/assets/canvas-runtime-D3amtMwe.js +44 -0
- package/wwwroot/assets/{index-BK3iJDs0.js → index-De6zm3_M.js} +2 -2
- package/wwwroot/assets/{storage-BPqBi6qs.js → storage-RP5Dyxmq.js} +1 -1
- package/wwwroot/assets/supabaseAuthAdapter-CuJuASQT.js +44 -0
- package/wwwroot/assets/{vendor-icons-678PAT8P.js → vendor-icons-DE3gIReG.js} +22 -32
- package/wwwroot/index.html +2 -2
- package/wwwroot/assets/AppSidebar-W4jPDFbW.js +0 -2
- package/wwwroot/assets/AuthPages-Dt2IexfF.js +0 -1
- package/wwwroot/assets/MindCanvas-7sJDBOtx.js +0 -48
- package/wwwroot/assets/PricingPage-DPETQvcF.js +0 -1
- package/wwwroot/assets/canvas-runtime-CddXXjp9.js +0 -44
- package/wwwroot/assets/supabaseAuthAdapter-bSjZe3In.js +0 -44
|
@@ -38,12 +38,12 @@ import{r as c}from"./vendor-react-BXzpOyCS.js";/**
|
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/const
|
|
41
|
+
*/const w=a("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
|
|
42
42
|
* @license lucide-react v0.468.0 - ISC
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the ISC license.
|
|
45
45
|
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/const
|
|
46
|
+
*/const f=a("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);/**
|
|
47
47
|
* @license lucide-react v0.468.0 - ISC
|
|
48
48
|
*
|
|
49
49
|
* This source code is licensed under the ISC license.
|
|
@@ -133,32 +133,32 @@ import{r as c}from"./vendor-react-BXzpOyCS.js";/**
|
|
|
133
133
|
*
|
|
134
134
|
* This source code is licensed under the ISC license.
|
|
135
135
|
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
-
*/const
|
|
136
|
+
*/const I=a("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);/**
|
|
137
137
|
* @license lucide-react v0.468.0 - ISC
|
|
138
138
|
*
|
|
139
139
|
* This source code is licensed under the ISC license.
|
|
140
140
|
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
-
*/const
|
|
141
|
+
*/const O=a("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);/**
|
|
142
142
|
* @license lucide-react v0.468.0 - ISC
|
|
143
143
|
*
|
|
144
144
|
* This source code is licensed under the ISC license.
|
|
145
145
|
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
-
*/const
|
|
146
|
+
*/const E=a("CircleStop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);/**
|
|
147
147
|
* @license lucide-react v0.468.0 - ISC
|
|
148
148
|
*
|
|
149
149
|
* This source code is licensed under the ISC license.
|
|
150
150
|
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
-
*/const
|
|
151
|
+
*/const D=a("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
152
152
|
* @license lucide-react v0.468.0 - ISC
|
|
153
153
|
*
|
|
154
154
|
* This source code is licensed under the ISC license.
|
|
155
155
|
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
-
*/const
|
|
156
|
+
*/const N=a("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
|
|
157
157
|
* @license lucide-react v0.468.0 - ISC
|
|
158
158
|
*
|
|
159
159
|
* This source code is licensed under the ISC license.
|
|
160
160
|
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
-
*/const
|
|
161
|
+
*/const W=a("Clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);/**
|
|
162
162
|
* @license lucide-react v0.468.0 - ISC
|
|
163
163
|
*
|
|
164
164
|
* This source code is licensed under the ISC license.
|
|
@@ -308,12 +308,12 @@ import{r as c}from"./vendor-react-BXzpOyCS.js";/**
|
|
|
308
308
|
*
|
|
309
309
|
* This source code is licensed under the ISC license.
|
|
310
310
|
* See the LICENSE file in the root directory of this source tree.
|
|
311
|
-
*/const
|
|
311
|
+
*/const w1=a("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
|
|
312
312
|
* @license lucide-react v0.468.0 - ISC
|
|
313
313
|
*
|
|
314
314
|
* This source code is licensed under the ISC license.
|
|
315
315
|
* See the LICENSE file in the root directory of this source tree.
|
|
316
|
-
*/const
|
|
316
|
+
*/const f1=a("IdCard",[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]]);/**
|
|
317
317
|
* @license lucide-react v0.468.0 - ISC
|
|
318
318
|
*
|
|
319
319
|
* This source code is licensed under the ISC license.
|
|
@@ -403,32 +403,32 @@ import{r as c}from"./vendor-react-BXzpOyCS.js";/**
|
|
|
403
403
|
*
|
|
404
404
|
* This source code is licensed under the ISC license.
|
|
405
405
|
* See the LICENSE file in the root directory of this source tree.
|
|
406
|
-
*/const
|
|
406
|
+
*/const I1=a("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
|
|
407
407
|
* @license lucide-react v0.468.0 - ISC
|
|
408
408
|
*
|
|
409
409
|
* This source code is licensed under the ISC license.
|
|
410
410
|
* See the LICENSE file in the root directory of this source tree.
|
|
411
|
-
*/const
|
|
411
|
+
*/const O1=a("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
|
|
412
412
|
* @license lucide-react v0.468.0 - ISC
|
|
413
413
|
*
|
|
414
414
|
* This source code is licensed under the ISC license.
|
|
415
415
|
* See the LICENSE file in the root directory of this source tree.
|
|
416
|
-
*/const
|
|
416
|
+
*/const E1=a("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
|
|
417
417
|
* @license lucide-react v0.468.0 - ISC
|
|
418
418
|
*
|
|
419
419
|
* This source code is licensed under the ISC license.
|
|
420
420
|
* See the LICENSE file in the root directory of this source tree.
|
|
421
|
-
*/const
|
|
421
|
+
*/const D1=a("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
|
|
422
422
|
* @license lucide-react v0.468.0 - ISC
|
|
423
423
|
*
|
|
424
424
|
* This source code is licensed under the ISC license.
|
|
425
425
|
* See the LICENSE file in the root directory of this source tree.
|
|
426
|
-
*/const
|
|
426
|
+
*/const N1=a("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
|
|
427
427
|
* @license lucide-react v0.468.0 - ISC
|
|
428
428
|
*
|
|
429
429
|
* This source code is licensed under the ISC license.
|
|
430
430
|
* See the LICENSE file in the root directory of this source tree.
|
|
431
|
-
*/const
|
|
431
|
+
*/const W1=a("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
|
|
432
432
|
* @license lucide-react v0.468.0 - ISC
|
|
433
433
|
*
|
|
434
434
|
* This source code is licensed under the ISC license.
|
|
@@ -578,12 +578,12 @@ import{r as c}from"./vendor-react-BXzpOyCS.js";/**
|
|
|
578
578
|
*
|
|
579
579
|
* This source code is licensed under the ISC license.
|
|
580
580
|
* See the LICENSE file in the root directory of this source tree.
|
|
581
|
-
*/const
|
|
581
|
+
*/const w2=a("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|
582
582
|
* @license lucide-react v0.468.0 - ISC
|
|
583
583
|
*
|
|
584
584
|
* This source code is licensed under the ISC license.
|
|
585
585
|
* See the LICENSE file in the root directory of this source tree.
|
|
586
|
-
*/const
|
|
586
|
+
*/const f2=a("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
587
587
|
* @license lucide-react v0.468.0 - ISC
|
|
588
588
|
*
|
|
589
589
|
* This source code is licensed under the ISC license.
|
|
@@ -663,29 +663,19 @@ import{r as c}from"./vendor-react-BXzpOyCS.js";/**
|
|
|
663
663
|
*
|
|
664
664
|
* This source code is licensed under the ISC license.
|
|
665
665
|
* See the LICENSE file in the root directory of this source tree.
|
|
666
|
-
*/const U2=a("
|
|
666
|
+
*/const U2=a("WrapText",[["line",{x1:"3",x2:"21",y1:"6",y2:"6",key:"4m8b97"}],["path",{d:"M3 12h15a3 3 0 1 1 0 6h-4",key:"1cl7v7"}],["polyline",{points:"16 16 14 18 16 20",key:"1jznyi"}],["line",{x1:"3",x2:"10",y1:"18",y2:"18",key:"1h33wv"}]]);/**
|
|
667
667
|
* @license lucide-react v0.468.0 - ISC
|
|
668
668
|
*
|
|
669
669
|
* This source code is licensed under the ISC license.
|
|
670
670
|
* See the LICENSE file in the root directory of this source tree.
|
|
671
|
-
*/const Z2=a("
|
|
671
|
+
*/const Z2=a("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
|
|
672
672
|
* @license lucide-react v0.468.0 - ISC
|
|
673
673
|
*
|
|
674
674
|
* This source code is licensed under the ISC license.
|
|
675
675
|
* See the LICENSE file in the root directory of this source tree.
|
|
676
|
-
*/const
|
|
676
|
+
*/const I2=a("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
|
|
677
677
|
* @license lucide-react v0.468.0 - ISC
|
|
678
678
|
*
|
|
679
679
|
* This source code is licensed under the ISC license.
|
|
680
680
|
* See the LICENSE file in the root directory of this source tree.
|
|
681
|
-
*/const
|
|
682
|
-
* @license lucide-react v0.468.0 - ISC
|
|
683
|
-
*
|
|
684
|
-
* This source code is licensed under the ISC license.
|
|
685
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
686
|
-
*/const W2=a("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
|
|
687
|
-
* @license lucide-react v0.468.0 - ISC
|
|
688
|
-
*
|
|
689
|
-
* This source code is licensed under the ISC license.
|
|
690
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
691
|
-
*/const E2=a("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);export{h1 as $,P1 as A,q as B,a1 as C,U2 as D,K as E,r1 as F,x1 as G,u1 as H,z1 as I,V2 as J,q1 as K,j1 as L,D1 as M,F as N,b1 as O,e2 as P,z as Q,d2 as R,u2 as S,j2 as T,P2 as U,R2 as V,Z2 as W,W2 as X,M1 as Y,s1 as Z,z2 as _,m2 as a,A2 as a$,B2 as a0,H as a1,J1 as a2,O2 as a3,Q as a4,K1 as a5,I1 as a6,E1 as a7,a2 as a8,L as a9,i2 as aA,p1 as aB,n2 as aC,Z as aD,v1 as aE,Z1 as aF,f1 as aG,b as aH,G1 as aI,r2 as aJ,W1 as aK,I as aL,W as aM,O as aN,l1 as aO,G as aP,k2 as aQ,U as aR,e1 as aS,O1 as aT,B1 as aU,k1 as aV,$1 as aW,A1 as aX,C2 as aY,S1 as aZ,u as a_,D as aa,Q1 as ab,c1 as ac,v2 as ad,q2 as ae,v as af,g as ag,X1 as ah,E as ai,j as aj,M2 as ak,y1 as al,L1 as am,o2 as an,V1 as ao,$ as ap,_1 as aq,T as ar,i1 as as,X as at,F2 as au,f as av,b2 as aw,L2 as ax,c2 as ay,H2 as az,C1 as b,E2 as b0,w2 as b1,A as b2,w1 as b3,T2 as b4,p2 as b5,l2 as b6,t1 as b7,d1 as b8,m1 as b9,C as ba,U1 as bb,F1 as bc,Y1 as bd,I2 as be,S2 as bf,g2 as c,t2 as d,h2 as e,x2 as f,f2 as g,y2 as h,_ as i,T1 as j,R1 as k,N1 as l,H1 as m,R as n,B as o,n1 as p,o1 as q,w as r,P as s,S as t,N as u,J as v,Y as w,V as x,g1 as y,s2 as z};
|
|
681
|
+
*/const O2=a("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);export{Q as $,b1 as A,q as B,a1 as C,V2 as D,z as E,r1 as F,x1 as G,u1 as H,z1 as I,M1 as J,q1 as K,j1 as L,N1 as M,s1 as N,z2 as O,e2 as P,h1 as Q,d2 as R,u2 as S,j2 as T,P2 as U,R2 as V,B2 as W,I2 as X,H as Y,J1 as Z,U2 as _,m2 as a,f2 as a$,K1 as a0,O1 as a1,D1 as a2,a2 as a3,L as a4,N as a5,Q1 as a6,c1 as a7,v2 as a8,q2 as a9,n2 as aA,Z as aB,v1 as aC,Z1 as aD,w1 as aE,b as aF,G1 as aG,r2 as aH,E1 as aI,O as aJ,E as aK,I as aL,l1 as aM,G as aN,k2 as aO,U as aP,e1 as aQ,I1 as aR,B1 as aS,k1 as aT,$1 as aU,A1 as aV,C2 as aW,S1 as aX,u as aY,A2 as aZ,O2 as a_,v as aa,g as ab,X1 as ac,F as ad,D as ae,j as af,M2 as ag,y1 as ah,L1 as ai,o2 as aj,V1 as ak,$ as al,_1 as am,P1 as an,T as ao,i1 as ap,X as aq,K as ar,F2 as as,w as at,b2 as au,L2 as av,c2 as aw,H2 as ax,i2 as ay,p1 as az,C1 as b,A as b0,f1 as b1,T2 as b2,p2 as b3,l2 as b4,t1 as b5,d1 as b6,m1 as b7,C as b8,U1 as b9,F1 as ba,Y1 as bb,Z2 as bc,S2 as bd,g2 as c,t2 as d,h2 as e,x2 as f,w2 as g,y2 as h,_ as i,T1 as j,R1 as k,W1 as l,H1 as m,R as n,B as o,n1 as p,o1 as q,f as r,P as s,S as t,W as u,J as v,Y as w,V as x,g1 as y,s2 as z};
|
package/wwwroot/index.html
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
name="description"
|
|
8
8
|
content="MindExec React is a fast AI execution canvas for solo builders, notes, assets, and task graphs."
|
|
9
9
|
/>
|
|
10
|
-
<meta name="build-version" content="ai-
|
|
10
|
+
<meta name="build-version" content="ai-flow-language-status-hidden-2026-06-27" />
|
|
11
11
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
12
12
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
13
13
|
<title>MindExec React</title>
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-De6zm3_M.js"></script>
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/assets/vendor-react-BXzpOyCS.js">
|
|
16
16
|
<link rel="modulepreload" crossorigin href="/assets/app-runtime-xD2Z3NdN.js">
|
|
17
17
|
<link rel="stylesheet" crossorigin href="/assets/index-yNpEK-gp.css">
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/supabaseAuthAdapter-bSjZe3In.js","assets/productionAdapterConfig-C5jfk6oG.js","assets/canvas-runtime-CddXXjp9.js","assets/vendor-react-BXzpOyCS.js","assets/app-runtime-xD2Z3NdN.js","assets/vendor-icons-678PAT8P.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{g as E,A as N,a as m,_ as P,s as F,c as H}from"./index-BK3iJDs0.js";import{r as o,j as e,a as q}from"./vendor-react-BXzpOyCS.js";import{r as U}from"./productionAdapterConfig-C5jfk6oG.js";import{R as p}from"./app-runtime-xD2Z3NdN.js";import{b4 as V,aS as M,bb as Y,bc as f,as as K,aG as W,bd as J,a8 as Q,be as X,b0 as Z,ba as ee,b2 as ne,bf as se}from"./vendor-icons-678PAT8P.js";const ae=[{id:"/",label:"Home",description:"MindExec product surface",icon:W},{id:"/mindcanvas",label:"MindCanvas",description:"AI execution canvas",icon:J},{id:"/planmaster",label:"PlanMaster",description:"Execution planning board",icon:Q},{id:"/tools",label:"Tools",description:"Free browser utilities",icon:X},{id:"/youtube",label:"YouTube",description:"Video capture to canvas",icon:Z},{id:"/code",label:"Code",description:"CodeGraph workspace preview",icon:ee},{id:"/pricing",label:"Pricing",description:"USD paid path",icon:M},{id:"/company-core",label:"Company Core",description:"Business operating view",icon:ne},{id:"/login",label:"Login",description:"Google sign-in shell",icon:f}];function L(a){return typeof a=="number"?`${a.toLocaleString()}P`:"Pending"}function te(a){var d;const c=(a||"").trim();return c?(d=c[0])==null?void 0:d.toUpperCase():"M"}function ie(a){return a==="supabase-provider-session"?"Supabase OAuth":a==="supabase-callback-shell"?"OAuth callback shell":a==="manual-google-shell"?"Local Google shell":"Local shell"}function oe(a){return a?a.source==="manual-google-shell"?{availablePoints:0,reservedPoints:0,mode:"Local/BYOK",description:"Local shell, BYOK, and offline work stay outside managed cloud credits."}:{availablePoints:null,reservedPoints:null,mode:"Cloud wallet",description:"Credit wallet sync is reserved for the hosted paid adapter."}:{availablePoints:null,reservedPoints:null,mode:"Sign in required",description:"Sign in to sync managed AI credits for hosted workflows."}}function pe({route:a,navigate:c,canvasActions:d=[]}){const O=d.length>0,[s,g]=o.useState(()=>E()),[l,u]=o.useState(!1),[h,x]=o.useState(!1),j=o.useRef(null),w=o.useRef(null),b=o.useMemo(()=>oe(s),[s]);o.useEffect(()=>{const n=()=>g(E());return window.addEventListener(N,n),window.addEventListener("storage",n),()=>{window.removeEventListener(N,n),window.removeEventListener("storage",n)}},[]),o.useEffect(()=>{if((s==null?void 0:s.source)==="supabase-provider-session"||!U(m()).auth.canAttempt)return;let t=!1;return(async()=>{try{const{loadSupabaseAuthSession:r,syncSupabaseAuthSessionToLocalBridge:v}=await P(async()=>{const{loadSupabaseAuthSession:D,syncSupabaseAuthSessionToLocalBridge:G}=await import("./supabaseAuthAdapter-bSjZe3In.js");return{loadSupabaseAuthSession:D,syncSupabaseAuthSessionToLocalBridge:G}},__vite__mapDeps([0,1,2,3,4,5])),C=await r(m());if(t||!C.session)return;const z=F({...C.session,source:"supabase-provider-session"});g(z),await v(m(),"sidebar-provider-session-restore")}catch(r){p.emit("auth.accountMenu.providerRestore.warning",{message:r instanceof Error?r.message:String(r)})}})(),()=>{t=!0}},[s==null?void 0:s.source]),o.useEffect(()=>{if(!l)return;const n=i=>{var r,v;i.target instanceof Node&&((r=j.current)!=null&&r.contains(i.target)||(v=w.current)!=null&&v.contains(i.target)||u(!1))},t=i=>{i.key==="Escape"&&u(!1)};return window.addEventListener("pointerdown",n,!0),window.addEventListener("keydown",t),()=>{window.removeEventListener("pointerdown",n,!0),window.removeEventListener("keydown",t)}},[l]);const k=s?se:f,A=s?`Account: signed in as ${s.email}`:"Account: sign in with Google",_=a==="/login"||!!s,I=(s==null?void 0:s.email)??"Sign in required",R=s?ie(s.source):"Not connected",S=n=>{u(!1),c(n)},T=()=>{u(n=>{const t=!n;return p.emit("auth.accountMenu.toggled",{open:t,signedIn:!!s,source:(s==null?void 0:s.source)??"none"}),t})},B=s?e.jsxs("div",{className:"account-popover-credit","data-testid":"sidebar-account-credits",children:[e.jsxs("div",{className:"account-popover-credit-title",children:[e.jsx(V,{size:15}),e.jsx("span",{children:"AI Credits"})]}),e.jsx("strong",{"data-testid":"sidebar-account-credit-available",children:L(b.availablePoints)}),e.jsx("p",{children:b.description}),e.jsxs("div",{className:"account-popover-credit-grid",children:[e.jsxs("div",{children:[e.jsx("span",{children:"Reserved"}),e.jsx("b",{"data-testid":"sidebar-account-credit-reserved",children:L(b.reservedPoints)})]}),e.jsxs("div",{children:[e.jsx("span",{children:"Mode"}),e.jsx("b",{children:b.mode})]})]})]}):null,$=async()=>{if(!h){x(!0),p.emit("auth.accountMenu.signOut.requested",{source:(s==null?void 0:s.source)??"none"});try{const{signOutSupabaseAuthSession:n}=await P(async()=>{const{signOutSupabaseAuthSession:t}=await import("./supabaseAuthAdapter-bSjZe3In.js");return{signOutSupabaseAuthSession:t}},__vite__mapDeps([0,1,2,3,4,5]));await n(m(),"sidebar-account-menu")}catch(n){p.emit("auth.accountMenu.signOut.warning",{message:n instanceof Error?n.message:String(n)})}H(),g(null),u(!1),x(!1),p.emit("auth.accountMenu.signOut.completed"),c("/")}},y=l?e.jsxs("div",{className:"sidebar-account-popover",role:"dialog","aria-label":"Account","data-testid":"sidebar-account-menu",ref:w,children:[e.jsxs("div",{className:"account-popover-head",children:[e.jsx("div",{className:"account-popover-avatar","aria-hidden":"true",children:te(s==null?void 0:s.email)}),e.jsxs("div",{className:"account-popover-title",children:[e.jsx("span",{children:"Account"}),e.jsx("strong",{"data-testid":"sidebar-account-email",children:I}),e.jsx("small",{children:R})]})]}),B,e.jsxs("div",{className:"account-popover-actions",children:[e.jsxs("button",{className:"account-popover-action",type:"button","data-testid":"sidebar-account-pricing",onClick:()=>S("/pricing"),children:[e.jsx(M,{size:16}),e.jsx("span",{children:"Credit plans"})]}),s?e.jsxs("button",{className:"account-popover-action account-popover-action--danger",type:"button","data-testid":"sidebar-account-sign-out",disabled:h,onClick:$,children:[e.jsx(Y,{size:16}),e.jsx("span",{children:h?"Signing out ...":"Sign out"})]}):e.jsxs("button",{className:"account-popover-action account-popover-action--primary",type:"button","data-testid":"sidebar-account-sign-in",onClick:()=>S("/login"),children:[e.jsx(f,{size:16}),e.jsx("span",{children:"Continue with Google"})]})]})]}):null;return e.jsxs("aside",{className:"app-sidebar","aria-label":"MindExec navigation",children:[e.jsx("button",{className:"sidebar-brand",type:"button",title:"Open MindCanvas","aria-label":"Open MindCanvas",onClick:()=>c("/mindcanvas"),children:e.jsx(K,{size:22})}),e.jsx("div",{className:"sidebar-divider"}),e.jsx("nav",{className:"sidebar-nav",children:ae.slice(1,8).map(n=>{const t=n.icon,i=n.id===a||n.id==="/mindcanvas"&&a==="/mindmap"||n.id==="/planmaster"&&a==="/planagent"||n.id==="/tools"&&a.startsWith("/tools/")||n.id==="/"&&a==="/";return e.jsx("button",{type:"button",className:`sidebar-icon ${i?"is-active":""}`,title:`${n.label}: ${n.description}`,"aria-label":n.label,"aria-current":i?"page":void 0,onClick:()=>c(n.id),children:e.jsx(t,{size:21})},n.id)})}),e.jsx("div",{className:"sidebar-spacer"}),O&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"sidebar-divider sidebar-divider--context"}),e.jsx("nav",{className:"sidebar-nav sidebar-nav--context","aria-label":"MindCanvas quick actions",children:d.map(n=>{const t=n.icon;return e.jsx("button",{type:"button",className:`sidebar-icon sidebar-icon--context ${n.active?"is-active":""}`,title:`${n.label}: ${n.description}`,"aria-label":n.label,"aria-pressed":n.active?"true":void 0,"data-testid":n.testId,onClick:n.onClick,children:e.jsx(t,{size:20})},n.id)})})]}),e.jsxs("div",{className:"sidebar-account-wrap",ref:j,children:[e.jsx("button",{className:`sidebar-icon ${_?"is-active":""}`,type:"button",title:A,"aria-label":A,"aria-haspopup":"dialog","aria-expanded":l,"data-testid":"sidebar-account","data-auth-session-active":s?"true":"false","data-auth-session-source":(s==null?void 0:s.source)??"none",onClick:T,children:e.jsx(k,{size:20})}),l&&(typeof document<"u"?q.createPortal(y,document.body):y)]})]})}export{pe as AppSidebar};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,j as e}from"./vendor-react-BXzpOyCS.js";import{g as C,a as w,s as q,b as K,p as U,c as R,d as G}from"./index-BK3iJDs0.js";import{p as L,P as F}from"./pricingCheckoutShell-O-DnwmbU.js";import{r as O}from"./productionAdapterConfig-C5jfk6oG.js";import{R as b}from"./app-runtime-xD2Z3NdN.js";import{syncSupabaseAuthSessionToLocalBridge as T,loadSupabaseAuthSession as _,buildSupabaseAuthRedirectUrl as I,startSupabaseGoogleOAuth as D,signOutSupabaseAuthSession as H,requestSupabasePasswordReset as Y,updateSupabasePassword as V}from"./supabaseAuthAdapter-bSjZe3In.js";import{X as W,ao as X,ag as J,aT as z,N as $,f as Q,aU as k,K as M,aV as Z,ac as ee}from"./vendor-icons-678PAT8P.js";import"./canvas-runtime-CddXXjp9.js";function te(o){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(o.trim())}function S(){return O(w())}function N(o,a,c=!1){return o.source==="supabase-provider-session"?a?`Google sign-in is active for ${o.email}. Return to pricing to continue checkout.`:`Google sign-in is active for ${o.email}.`:c?a?"A local auth shell exists, but secure Google sign-in is required before checkout can continue.":"A local auth shell exists, but secure Google sign-in is required before MindCanvas can sync remote services.":a?"A local Google auth shell is active. Return to pricing to continue checkout.":"A local Google auth shell is already active for this browser."}function B(o,a){return a?`Local Google auth shell ready for ${o}. Return to pricing to continue the gated checkout.`:`Local Google auth shell ready for ${o}. Secure Supabase OAuth can replace this adapter later.`}function le({navigate:o}){const[a,c]=r.useState(!1),[t,d]=r.useState(()=>C()),[i]=r.useState(()=>L()),l=r.useMemo(()=>S(),[]),[x,u]=r.useState(()=>{const s=C(),n=L();return s?N(s,!!n,S().auth.canAttempt):n?"Sign in to continue MindCanvas Pro checkout. Payment remains gated until the secure adapter is connected.":"Use your Google account to sync cloud projects. No password to create or remember."});r.useEffect(()=>{if((t==null?void 0:t.source)==="supabase-provider-session"||!l.auth.canAttempt)return;let s=!1;return(async()=>{try{const p=await _(w());if(s||!p.session)return;const E=q({...p.session,source:"supabase-provider-session"});d(E),u(N(E,!!i,l.auth.canAttempt))}catch(p){b.emit("auth.supabase.sessionRestore.uiFailed",{message:p instanceof Error?p.message:String(p)})}})(),()=>{s=!0}},[i,l.auth.canAttempt,t==null?void 0:t.source]),r.useEffect(()=>{(t==null?void 0:t.source)!=="supabase-provider-session"||!l.auth.canAttempt||T(w(),"login-existing-session")},[l.auth.canAttempt,t==null?void 0:t.email,t==null?void 0:t.source]);const m=()=>{const s=C();if(s)return d(s),u(N(s,!!i,l.auth.canAttempt)),s;const n=G();return d(n),u(B(n.email,!!i)),n},g=async()=>{const s=m();s.source==="supabase-provider-session"&&await T(w(),"login-continue");const n={hasCheckoutIntent:!!i,signedIn:!!s,sessionSource:s.source};i?b.emit("auth.returnToPricing",n):b.emit("auth.continueMindCanvas",n),o(i?"/pricing":"/mindcanvas")},f=()=>{const s=G();d(s),u(B(s.email,!!i)),c(!1),window.setTimeout(()=>{g()},240)},h=async()=>{c(!0);const s=await U();if(O(s).auth.canAttempt)try{const p=I("/login",i?"/pricing":"/mindcanvas");u("Opening secure Google sign-in..."),(t==null?void 0:t.source)!=="supabase-provider-session"&&(R(),d(null)),await D(s,p);return}catch(p){u(`Secure Google sign-in failed: ${p instanceof Error?p.message:String(p)}`),c(!1);return}window.setTimeout(()=>{f()},550)},j=!!(t&&(!l.auth.canAttempt||t.source==="supabase-provider-session")),y=j?i?"Continue checkout":"Continue to MindCanvas":a?"Opening Google...":"Continue with Google",v=j?g:h,A=async()=>{c(!0),u("Signing out...");let s="";try{await H(w(),"login-sign-out")}catch(n){s=n instanceof Error?n.message:String(n),b.emit("auth.signOut.uiFailed",{message:s})}R(),d(null),u(s?`Signed out locally. Provider sign-out warning: ${s}`:i?"Signed out. Choose another Google account to continue checkout.":"Signed out. Choose another Google account to continue."),c(!1)};return e.jsxs(P,{page:"login",children:[e.jsx("button",{className:"auth-close",type:"button",title:"Close",onClick:()=>o("/mindcanvas"),"data-testid":"auth-close",children:e.jsx(W,{size:16})}),e.jsxs("div",{className:"auth-logo",children:[e.jsx(X,{size:24}),e.jsx("strong",{children:"MindExec"})]}),e.jsx("h1",{children:"Sign in with Google"}),e.jsx("p",{"data-testid":"auth-message",children:x}),e.jsxs("button",{className:"google-button",type:"button",disabled:a,onClick:v,"data-testid":"auth-google-shell",children:[e.jsx("span",{className:"google-g",children:"G"}),y]}),e.jsxs("div",{className:"auth-action-strip",children:[t&&i&&e.jsx("button",{type:"button",onClick:()=>void g(),"data-testid":"auth-return-pricing",children:"Return to pricing"}),t&&e.jsx("button",{type:"button",disabled:a,onClick:()=>void A(),"data-testid":"auth-sign-out",children:"Sign out"}),e.jsx("button",{type:"button",onClick:()=>o("/forgot-password"),"data-testid":"auth-forgot-password",children:"Forgot password"}),e.jsx("button",{type:"button",onClick:()=>o("/pricing"),"data-testid":"auth-view-pricing",children:"View pricing"})]}),e.jsx("p",{className:"auth-note",children:l.auth.canAttempt?"Secure Supabase OAuth is connected for this browser build.":"The React port keeps this as a local auth shell until the secure Supabase OAuth adapter is connected."})]})}function de({navigate:o}){const[a,c]=r.useState(""),[t,d]=r.useState(!1),[i,l]=r.useState(""),[x,u]=r.useState(!1),m=r.useMemo(()=>S(),[]),g=async f=>{if(f.preventDefault(),!te(a)){l("Enter a valid email address.");return}if(d(!0),l(""),m.passwordReset.canAttempt){try{const h=I("/reset-password","/login");await Y(w(),a,h),u(!0),d(!1),b.emit("auth.reset.requested",{emailDomain:a.split("@")[1]||"",provider:"supabase"})}catch(h){l(h instanceof Error?h.message:String(h)),d(!1)}return}window.setTimeout(()=>{u(!0),d(!1),b.emit("auth.reset.requested",{emailDomain:a.split("@")[1]||""})},450)};return e.jsxs(P,{page:"forgot-password",children:[e.jsxs("button",{className:"auth-back",type:"button",onClick:()=>o("/login"),"data-testid":"forgot-back-login",children:[e.jsx(J,{size:16}),"Sign in"]}),e.jsx("div",{className:"auth-mark auth-mark--amber",children:e.jsx(z,{size:28})}),e.jsx("h1",{children:"Forgot password?"}),e.jsx("p",{children:"No worries. Enter your email and the React auth shell will walk through the reset flow."}),i&&e.jsx("div",{className:"auth-inline-error","data-testid":"forgot-error",children:i}),x?e.jsxs("div",{className:"auth-success-panel","data-testid":"forgot-success",children:[e.jsx($,{size:32}),e.jsx("strong",{children:"Check your email"}),e.jsxs("span",{children:["Reset instructions were prepared for ",a,"."]}),e.jsx("button",{className:"btn btn-primary",type:"button",onClick:()=>o("/reset-password"),"data-testid":"forgot-continue-reset",children:"Continue to reset"})]}):e.jsxs("form",{className:"auth-form",onSubmit:g,"data-testid":"forgot-password-form",children:[e.jsxs("label",{children:[e.jsx("span",{children:"Email Address"}),e.jsxs("div",{className:"auth-input-wrap",children:[e.jsx(z,{size:18}),e.jsx("input",{value:a,onChange:f=>c(f.target.value),type:"email",placeholder:"you@example.com","data-testid":"forgot-email"})]})]}),e.jsxs("button",{className:"btn btn-primary auth-submit",type:"submit",disabled:t,"data-testid":"forgot-submit",children:[e.jsx(Q,{size:16}),t?"Sending...":"Send Reset Link"]})]})]})}function he({navigate:o}){const[a,c]=r.useState(""),[t,d]=r.useState(""),[i,l]=r.useState(!1),[x,u]=r.useState(!1),[m,g]=r.useState(!1),[f,h]=r.useState(""),j=r.useMemo(()=>S(),[]),y=r.useMemo(()=>a.length>=6&&a===t,[t,a]),v=t.length>0&&t!==a,A=async s=>{if(s.preventDefault(),a.length<6){h("Password must be at least 6 characters.");return}if(a!==t){h("Passwords do not match.");return}if(u(!0),h(""),j.passwordReset.canAttempt){try{await V(w(),a),g(!0),u(!1),b.emit("auth.password.updated",{provider:"supabase"})}catch(n){h(n instanceof Error?n.message:String(n)),u(!1)}return}window.setTimeout(()=>{g(!0),u(!1),b.emit("auth.password.updated",{localShell:!0})},520)};return e.jsxs(P,{page:"reset-password",children:[e.jsx("div",{className:`auth-mark ${m?"auth-mark--success":""}`,children:m?e.jsx($,{size:30}):e.jsx(k,{size:30})}),e.jsx("h1",{children:m?"Password reset!":"Reset password"}),e.jsx("p",{"data-testid":"reset-message",children:m?"Your local auth shell accepted the new password state.":"Enter a new password and confirm it below."}),f&&e.jsx("div",{className:"auth-inline-error","data-testid":"reset-error",children:f}),m?e.jsxs("button",{className:"btn btn-primary auth-submit",type:"button",onClick:()=>o("/login"),"data-testid":"reset-login",children:[e.jsx(M,{size:16}),"Sign In"]}):e.jsxs("form",{className:"auth-form",onSubmit:A,"data-testid":"reset-password-form",children:[e.jsxs("label",{children:[e.jsx("span",{children:"New Password"}),e.jsxs("div",{className:"auth-input-wrap",children:[e.jsx(k,{size:18}),e.jsx("input",{value:a,onChange:s=>c(s.target.value),type:i?"text":"password",placeholder:"Enter new password","data-testid":"reset-password-input"}),e.jsx("button",{type:"button",className:"auth-icon-button",title:"Toggle password visibility",onClick:()=>l(s=>!s),"data-testid":"reset-toggle-visibility",children:i?e.jsx(Z,{size:17}):e.jsx(ee,{size:17})})]}),e.jsx("span",{className:`auth-requirement ${a.length>=6?"is-met":""}`,children:"At least 6 characters"})]}),e.jsxs("label",{children:[e.jsx("span",{children:"Confirm Password"}),e.jsxs("div",{className:"auth-input-wrap",children:[e.jsx(k,{size:18}),e.jsx("input",{value:t,onChange:s=>d(s.target.value),type:"password",placeholder:"Confirm new password","data-testid":"reset-confirm-input"})]}),t&&e.jsx("span",{className:`auth-requirement ${v?"is-error":"is-met"}`,children:v?"Passwords do not match":"Passwords match"})]}),e.jsxs("button",{className:"btn btn-primary auth-submit",type:"submit",disabled:!y||x,"data-testid":"reset-submit",children:[e.jsx(M,{size:16}),x?"Updating...":"Update Password"]})]})]})}function P({children:o,page:a}){const c=S();return e.jsxs("div",{className:"auth-page","data-testid":"auth-shell","data-auth-page":a,"data-auth-storage-key":K,"data-pricing-checkout-intent-key":F,"data-production-adapter-state":c.overallState,"data-auth-provider-mode":c.auth.mode,"data-auth-provider-ready":c.auth.canAttempt?"true":"false","data-client-secret-blocked":c.forbiddenClientSecretKeys.length>0?"true":"false",children:[e.jsx("div",{className:"auth-scrim"}),e.jsx("section",{className:"auth-card",children:o})]})}export{de as ForgotPasswordPage,le as LoginPage,he as ResetPasswordPage};
|