@mindexec/cli 0.2.339 → 0.2.341
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/codex-runtime.js +255 -31
- package/package.json +1 -1
- package/remote-hub.js +80 -2
- package/scripts/remote-fast-live-rate-smoke.mjs +19 -3
- package/scripts/remote-fast-mdm-browser-smoke.mjs +28 -2
- package/scripts/remote-hub-smoke.mjs +32 -2
- package/server.js +1304 -21
- package/wwwroot/_headers +50 -17
- package/wwwroot/assets/AdminDashboardPage-B2vz2Px9.css +1 -0
- package/wwwroot/assets/AdminDashboardPage-DpUfWSRs.js +1 -0
- package/wwwroot/assets/AppSidebar-CBqvLonm.js +1 -0
- package/wwwroot/assets/AuthPages-Cd5fYgU0.js +1 -0
- package/wwwroot/assets/AuthPages-DFGWKWuB.css +1 -0
- package/wwwroot/assets/CodePage-Bncc352E.css +1 -0
- package/wwwroot/assets/CodePage-D9-cUf4A.js +87 -0
- package/wwwroot/assets/CompanyCorePage-ChBnq1ve.css +1 -0
- package/wwwroot/assets/CompanyCorePage-D0byTW77.js +13 -0
- package/wwwroot/assets/ExecutionModePage-DtMDlqYc.js +18 -0
- package/wwwroot/assets/ExecutionModePage-TLuld9l3.css +1 -0
- package/wwwroot/assets/LaunchLeadCapture-CiRI1shz.css +1 -0
- package/wwwroot/assets/LaunchLeadCapture-CqeoHfvb.js +1 -0
- package/wwwroot/assets/MarketingHome-DPzaYzA_.css +1 -0
- package/wwwroot/assets/MarketingHome-DbWyEAya.js +1 -0
- package/wwwroot/assets/MindCanvas-CME1KpAo.js +48 -0
- package/wwwroot/assets/MindCanvas-DiQlUDJu.css +1 -0
- package/wwwroot/assets/PlanMasterPage-CJ36rep-.css +1 -0
- package/wwwroot/assets/PlanMasterPage-mhlZZK19.js +4 -0
- package/wwwroot/assets/PricingPage-Cg_0i_ZR.css +1 -0
- package/wwwroot/assets/PricingPage-zVu8-CrF.js +1 -0
- package/wwwroot/assets/ToolPages-DIB187pZ.css +1 -0
- package/wwwroot/assets/ToolPages-DTSqKzQd.js +28 -0
- package/wwwroot/assets/YouTubeSearchPage-IPPa_BIH.css +1 -0
- package/wwwroot/assets/YouTubeSearchPage-xGiaLNqk.js +4 -0
- package/wwwroot/assets/app-runtime-xD2Z3NdN.js +1 -0
- package/wwwroot/assets/canvas-runtime-D1gfvqKp.js +44 -0
- package/wwwroot/assets/code-agent-runtime-B5PPZd1t.js +74 -0
- package/wwwroot/assets/executionModeSettings-NJqurj-o.js +1 -0
- package/wwwroot/assets/index-CP_xejf2.css +1 -0
- package/wwwroot/assets/index-CZS-9WFu.js +2 -0
- package/wwwroot/assets/marketingTools-DN_rnHeB.js +4 -0
- package/wwwroot/assets/mindCanvasSearchWorker-BzPMsHOB.js +1 -0
- package/wwwroot/assets/mindexecution-mindcanvas.png +0 -0
- package/wwwroot/assets/mindexecution-prod-home-current.png +0 -0
- package/wwwroot/assets/mindexecution-prod-pricing-current.png +0 -0
- package/wwwroot/assets/pricingCheckoutShell-O-DnwmbU.js +1 -0
- package/wwwroot/assets/runtimeSettingsPersistenceProjection-BoNWmYjU.js +1 -0
- package/wwwroot/assets/storage-CGDupGH4.js +1 -0
- package/wwwroot/assets/supabaseAuthAdapter-C3z334Qw.js +44 -0
- package/wwwroot/assets/toolHandoff-D5e5f7t5.js +4 -0
- package/wwwroot/assets/vendor-icons-oiW_NVNO.js +681 -0
- package/wwwroot/assets/vendor-msgpack-BE8aAsr3.js +1 -0
- package/wwwroot/assets/vendor-react-BXzpOyCS.js +40 -0
- package/wwwroot/favicon.svg +7 -0
- package/wwwroot/index.html +22 -736
- package/wwwroot/manifest.webmanifest +18 -21
- package/wwwroot/robots.txt +1 -1
- package/wwwroot/service-worker.js +5 -31
- package/wwwroot/sitemap.xml +21 -9
- package/wwwroot/MindExecution.Web.styles.css +0 -3
- package/wwwroot/_content/MindExecution.Plugins.Admin/css/admin-dashboard.css +0 -546
- package/wwwroot/_content/MindExecution.Plugins.Directory/MindExecution.Plugins.Directory.u7utcng611.bundle.scp.css +0 -7
- package/wwwroot/_content/MindExecution.Plugins.Directory/background.png +0 -0
- package/wwwroot/_content/MindExecution.Plugins.Directory/directory-manager.js +0 -202
- package/wwwroot/_content/MindExecution.Plugins.Directory/exampleJsInterop.js +0 -6
- package/wwwroot/_content/MindExecution.Plugins.YouTube/css/youtube-search.css +0 -251
- package/wwwroot/_content/MindExecution.Shared/MindExecution.Shared.wsano1j4wp.bundle.scp.css +0 -4
- package/wwwroot/_content/MindExecution.Shared/css/admin-dashboard.css +0 -559
- package/wwwroot/_content/MindExecution.Shared/css/app.css +0 -1
- package/wwwroot/_content/MindExecution.Shared/css/mind-map-overrides.css +0 -3705
- package/wwwroot/_content/MindExecution.Shared/fonts/NotoSansKR-Bold.ttf +0 -0
- package/wwwroot/_content/MindExecution.Shared/fonts/NotoSansKR-Regular.ttf +0 -0
- package/wwwroot/_content/MindExecution.Shared/js/agent-visualization.js +0 -359
- package/wwwroot/_content/MindExecution.Shared/js/background-themes.js +0 -1631
- package/wwwroot/_content/MindExecution.Shared/js/code-master.js +0 -8316
- package/wwwroot/_content/MindExecution.Shared/js/file-system-helper.js +0 -639
- package/wwwroot/_content/MindExecution.Shared/js/helpers/InfiniteGridHelper.js +0 -109
- package/wwwroot/_content/MindExecution.Shared/js/marked.min.js +0 -69
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js +0 -12909
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js.backup +0 -1059
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-css3d-manager.js +0 -24635
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-dev-guards.js +0 -325
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-dnd.js +0 -1491
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-dnd.js.bak +0 -434
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-glow-shader.js +0 -260
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-interactions.js +0 -7829
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-lod-plan-worker.js +0 -160
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-lod-renderer.js +0 -10392
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-logic-workers.js +0 -977
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-menu-manager.js +0 -1531
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-multi-select.js +0 -1716
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-node-search-worker.js +0 -554
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-nodes.js +0 -4578
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-object-manager.js +0 -489
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-object-manager.js.backup +0 -372
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-pipeline.js +0 -2203
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-text-lod-system.js +0 -646
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-text-overlay-v2.js +0 -4735
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-texture-factory.js +0 -2383
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-texture-factory.js.backup +0 -1258
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-visibility-worker.js +0 -890
- package/wwwroot/_content/MindExecution.Shared/js/mindmap-toolbar.js +0 -639
- package/wwwroot/_content/MindExecution.Shared/js/native-drop-handler.js +0 -170
- package/wwwroot/_content/MindExecution.Shared/js/plan-master.js +0 -788
- package/wwwroot/_content/MindExecution.Shared/js/renderers/CSS3DRenderer.js +0 -90
- package/wwwroot/_content/MindExecution.Shared/js/texture-worker-manager.js +0 -188
- package/wwwroot/_content/MindExecution.Shared/js/texture-worker.js +0 -208
- package/wwwroot/_content/MindExecution.Shared/js/three.min.js +0 -6
- package/wwwroot/_content/MindExecution.Shared/js/titlebar-handler.js +0 -191
- package/wwwroot/_content/MindExecution.Shared/js/token-manager.js +0 -37
- package/wwwroot/_content/MindExecution.Shared/js/token-worker.js +0 -28
- package/wwwroot/_content/MindExecution.Shared/js/troika-bundle.js +0 -5626
- package/wwwroot/_content/MindExecution.Shared/js/troika-bundle.js.map +0 -7
- package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/css/all.min.css +0 -9
- package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-brands-400.ttf +0 -0
- package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
- package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-regular-400.ttf +0 -0
- package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
- package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-solid-900.ttf +0 -0
- package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
- package/wwwroot/_content/MindExecution.Shared/models/all-MiniLM-L6-v2-quantized.onnx +0 -0
- package/wwwroot/_content/MindExecution.Shared/models/vocab.txt +0 -30522
- package/wwwroot/_framework/Google.Protobuf.9h59ukbel7.dll +0 -0
- package/wwwroot/_framework/Markdig.d1j7v41cl1.dll +0 -0
- package/wwwroot/_framework/MessagePack.Annotations.l6qv48kgpt.dll +0 -0
- package/wwwroot/_framework/MessagePack.eqoptzx9d5.dll +0 -0
- package/wwwroot/_framework/Microsoft.AspNetCore.Authorization.k7dsih5y5g.dll +0 -0
- package/wwwroot/_framework/Microsoft.AspNetCore.Components.6nyje9sa0g.dll +0 -0
- package/wwwroot/_framework/Microsoft.AspNetCore.Components.Authorization.iycd6unprw.dll +0 -0
- package/wwwroot/_framework/Microsoft.AspNetCore.Components.Web.487u3twia4.dll +0 -0
- package/wwwroot/_framework/Microsoft.AspNetCore.Components.WebAssembly.d0gcnmlxxz.dll +0 -0
- package/wwwroot/_framework/Microsoft.AspNetCore.Metadata.h4yevl9adi.dll +0 -0
- package/wwwroot/_framework/Microsoft.CSharp.8bsm8vx6su.dll +0 -0
- package/wwwroot/_framework/Microsoft.Data.Sqlite.jdlxgv2jtg.dll +0 -0
- package/wwwroot/_framework/Microsoft.EntityFrameworkCore.4gjazp7kjf.dll +0 -0
- package/wwwroot/_framework/Microsoft.EntityFrameworkCore.Abstractions.gocudnvz7b.dll +0 -0
- package/wwwroot/_framework/Microsoft.EntityFrameworkCore.Relational.lt4rsvinuo.dll +0 -0
- package/wwwroot/_framework/Microsoft.EntityFrameworkCore.Sqlite.69luj0fa9r.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Caching.Abstractions.364t4jh3zz.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Caching.Memory.izlxhpzosu.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Configuration.8zq7hh41o7.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Configuration.Abstractions.8if74zs6ea.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Configuration.Json.duvlngw8i0.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.t2hh9kvx0o.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.DependencyInjection.n4tg99oy8l.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.DependencyModel.h0d06ixk3e.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.rl32bkx2sd.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Logging.dlht1xei0t.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Options.qeunebioml.dll +0 -0
- package/wwwroot/_framework/Microsoft.Extensions.Primitives.18cr6vnuuz.dll +0 -0
- package/wwwroot/_framework/Microsoft.IO.RecyclableMemoryStream.r915vovvw4.dll +0 -0
- package/wwwroot/_framework/Microsoft.IdentityModel.Abstractions.1ejljk3erv.dll +0 -0
- package/wwwroot/_framework/Microsoft.IdentityModel.JsonWebTokens.1596zr8gne.dll +0 -0
- package/wwwroot/_framework/Microsoft.IdentityModel.Logging.229uyvpgio.dll +0 -0
- package/wwwroot/_framework/Microsoft.IdentityModel.Tokens.9sibtajc9f.dll +0 -0
- package/wwwroot/_framework/Microsoft.JSInterop.WebAssembly.ryia5gxiad.dll +0 -0
- package/wwwroot/_framework/Microsoft.JSInterop.ew9vz9o332.dll +0 -0
- package/wwwroot/_framework/Microsoft.ML.OnnxRuntime.w9deo1m5ss.dll +0 -0
- package/wwwroot/_framework/Microsoft.ML.Tokenizers.cm2vuv2z61.dll +0 -0
- package/wwwroot/_framework/Microsoft.NET.StringTools.3qbrf4v2ki.dll +0 -0
- package/wwwroot/_framework/MimeMapping.og9ys58ylm.dll +0 -0
- package/wwwroot/_framework/MindExecution.Core.y7ffihhajj.dll +0 -0
- package/wwwroot/_framework/MindExecution.Kernel.l5y3qroa7p.dll +0 -0
- package/wwwroot/_framework/MindExecution.Plugins.Admin.uuf238xa0h.dll +0 -0
- package/wwwroot/_framework/MindExecution.Plugins.Business.nyr3v25v48.dll +0 -0
- package/wwwroot/_framework/MindExecution.Plugins.Concept.l9z9tx9svt.dll +0 -0
- package/wwwroot/_framework/MindExecution.Plugins.Directory.ju87t8h3zs.dll +0 -0
- package/wwwroot/_framework/MindExecution.Plugins.PlanMaster.krn3jgvjpa.dll +0 -0
- package/wwwroot/_framework/MindExecution.Plugins.YouTube.5m53srfud6.dll +0 -0
- package/wwwroot/_framework/MindExecution.Shared.ojp3psugsm.dll +0 -0
- package/wwwroot/_framework/MindExecution.Web.82k6ktlkfg.dll +0 -0
- package/wwwroot/_framework/Newtonsoft.Json.a56zs13vug.dll +0 -0
- package/wwwroot/_framework/SQLitePCLRaw.batteries_v2.rrd1nzawpp.dll +0 -0
- package/wwwroot/_framework/SQLitePCLRaw.core.1dxloztpfz.dll +0 -0
- package/wwwroot/_framework/SQLitePCLRaw.provider.e_sqlite3.oekyzl53i1.dll +0 -0
- package/wwwroot/_framework/Supabase.Core.s1pkj4aj0l.dll +0 -0
- package/wwwroot/_framework/Supabase.Functions.qz4nu782sg.dll +0 -0
- package/wwwroot/_framework/Supabase.Gotrue.twah27pkik.dll +0 -0
- package/wwwroot/_framework/Supabase.Postgrest.gmuuv369ih.dll +0 -0
- package/wwwroot/_framework/Supabase.Realtime.ox3kchdy3w.dll +0 -0
- package/wwwroot/_framework/Supabase.Storage.fnjnepaowr.dll +0 -0
- package/wwwroot/_framework/Supabase.azmaw5pgcz.dll +0 -0
- package/wwwroot/_framework/System.Collections.23yxgetbju.dll +0 -0
- package/wwwroot/_framework/System.Collections.Concurrent.vow3rm1dku.dll +0 -0
- package/wwwroot/_framework/System.Collections.Immutable.ap9596utv5.dll +0 -0
- package/wwwroot/_framework/System.Collections.NonGeneric.npjkaz40oc.dll +0 -0
- package/wwwroot/_framework/System.Collections.Specialized.ugkjbs6p02.dll +0 -0
- package/wwwroot/_framework/System.ComponentModel.Annotations.clwo0z2oyu.dll +0 -0
- package/wwwroot/_framework/System.ComponentModel.Primitives.end4v0xe2c.dll +0 -0
- package/wwwroot/_framework/System.ComponentModel.TypeConverter.tgtp5sm4iv.dll +0 -0
- package/wwwroot/_framework/System.ComponentModel.wupoltkk1t.dll +0 -0
- package/wwwroot/_framework/System.Console.9dik0wogo2.dll +0 -0
- package/wwwroot/_framework/System.Data.Common.4v8jejsiu0.dll +0 -0
- package/wwwroot/_framework/System.Diagnostics.DiagnosticSource.e2q75ondtq.dll +0 -0
- package/wwwroot/_framework/System.Diagnostics.Process.9736yjnxs8.dll +0 -0
- package/wwwroot/_framework/System.Diagnostics.TraceSource.h9al53gbbw.dll +0 -0
- package/wwwroot/_framework/System.Diagnostics.Tracing.h4bcp2fo98.dll +0 -0
- package/wwwroot/_framework/System.Drawing.64oovy8qts.dll +0 -0
- package/wwwroot/_framework/System.Drawing.Primitives.o6jiqpgbgl.dll +0 -0
- package/wwwroot/_framework/System.Formats.Asn1.rylx5ipd40.dll +0 -0
- package/wwwroot/_framework/System.IO.Compression.iceabaupns.dll +0 -0
- package/wwwroot/_framework/System.IO.Pipelines.uw8csd3mlz.dll +0 -0
- package/wwwroot/_framework/System.IdentityModel.Tokens.Jwt.t67es60z5b.dll +0 -0
- package/wwwroot/_framework/System.Linq.Expressions.ty95ava37f.dll +0 -0
- package/wwwroot/_framework/System.Linq.Queryable.hs2195jrwy.dll +0 -0
- package/wwwroot/_framework/System.Linq.hssodjwmlf.dll +0 -0
- package/wwwroot/_framework/System.Memory.1k78n7wdxb.dll +0 -0
- package/wwwroot/_framework/System.Net.Http.3br8rfql4c.dll +0 -0
- package/wwwroot/_framework/System.Net.Http.Json.860wbh17d8.dll +0 -0
- package/wwwroot/_framework/System.Net.NetworkInformation.e3wr00853o.dll +0 -0
- package/wwwroot/_framework/System.Net.Ping.r5cw4mf1a4.dll +0 -0
- package/wwwroot/_framework/System.Net.Primitives.ksxwiwlvhu.dll +0 -0
- package/wwwroot/_framework/System.Net.WebSockets.6rt3n3gl2q.dll +0 -0
- package/wwwroot/_framework/System.Net.WebSockets.Client.z3usrzo7rz.dll +0 -0
- package/wwwroot/_framework/System.Numerics.Tensors.0c7z4mt3on.dll +0 -0
- package/wwwroot/_framework/System.Numerics.Vectors.lbdzx8reja.dll +0 -0
- package/wwwroot/_framework/System.ObjectModel.yct1gdirzf.dll +0 -0
- package/wwwroot/_framework/System.Private.CoreLib.c1dbswx1b2.dll +0 -0
- package/wwwroot/_framework/System.Private.Uri.zp9kmg0z93.dll +0 -0
- package/wwwroot/_framework/System.Private.Xml.Linq.lgv2n0akl4.dll +0 -0
- package/wwwroot/_framework/System.Private.Xml.dpsk8g304y.dll +0 -0
- package/wwwroot/_framework/System.Reactive.t3fuon548l.dll +0 -0
- package/wwwroot/_framework/System.Reflection.Emit.ILGeneration.1tcuz2cmbk.dll +0 -0
- package/wwwroot/_framework/System.Reflection.Emit.Lightweight.ddt2wylovg.dll +0 -0
- package/wwwroot/_framework/System.Reflection.Emit.d8vkadiwhg.dll +0 -0
- package/wwwroot/_framework/System.Reflection.Primitives.cpsl71xd1z.dll +0 -0
- package/wwwroot/_framework/System.Runtime.InteropServices.31vjgsfk1o.dll +0 -0
- package/wwwroot/_framework/System.Runtime.InteropServices.JavaScript.pn2wvizzet.dll +0 -0
- package/wwwroot/_framework/System.Runtime.InteropServices.RuntimeInformation.l5rk496q70.dll +0 -0
- package/wwwroot/_framework/System.Runtime.Intrinsics.0zee9qcqfy.dll +0 -0
- package/wwwroot/_framework/System.Runtime.Loader.xw2jr9wl92.dll +0 -0
- package/wwwroot/_framework/System.Runtime.Numerics.ezj1dfyvbj.dll +0 -0
- package/wwwroot/_framework/System.Runtime.Serialization.Formatters.0y019e9zkr.dll +0 -0
- package/wwwroot/_framework/System.Runtime.Serialization.Primitives.bia5wb62c8.dll +0 -0
- package/wwwroot/_framework/System.Runtime.h9cduidfkh.dll +0 -0
- package/wwwroot/_framework/System.Security.Claims.2r18wim2rl.dll +0 -0
- package/wwwroot/_framework/System.Security.Cryptography.qqgybpoucx.dll +0 -0
- package/wwwroot/_framework/System.Text.Encoding.Extensions.9t3hs6kyll.dll +0 -0
- package/wwwroot/_framework/System.Text.Encodings.Web.wftjfh2crk.dll +0 -0
- package/wwwroot/_framework/System.Text.Json.0v0qgmri0w.dll +0 -0
- package/wwwroot/_framework/System.Text.RegularExpressions.cvkox11l6l.dll +0 -0
- package/wwwroot/_framework/System.Threading.Channels.419493szqu.dll +0 -0
- package/wwwroot/_framework/System.Threading.Thread.xhmys87xh5.dll +0 -0
- package/wwwroot/_framework/System.Threading.b66vzsz9g1.dll +0 -0
- package/wwwroot/_framework/System.Transactions.Local.7zfffdvnwf.dll +0 -0
- package/wwwroot/_framework/System.Web.HttpUtility.9up6xfbtuq.dll +0 -0
- package/wwwroot/_framework/System.Xml.Linq.n5rzv9nbf7.dll +0 -0
- package/wwwroot/_framework/System.Xml.ReaderWriter.ag8pilllob.dll +0 -0
- package/wwwroot/_framework/System.Xml.XDocument.sn51jas17n.dll +0 -0
- package/wwwroot/_framework/System.brmz7yk5qh.dll +0 -0
- package/wwwroot/_framework/Websocket.Client.vapounvmnl.dll +0 -0
- package/wwwroot/_framework/blazor.boot.json +0 -305
- package/wwwroot/_framework/blazor.webassembly.js +0 -1
- package/wwwroot/_framework/dotnet.js +0 -4
- package/wwwroot/_framework/dotnet.native.boem75ye5i.wasm +0 -0
- package/wwwroot/_framework/dotnet.native.qc8g39g30v.js +0 -16
- package/wwwroot/_framework/dotnet.runtime.opaiwunc3t.js +0 -4
- package/wwwroot/_framework/icudt_CJK.tjcz0u77k5.dat +0 -0
- package/wwwroot/_framework/icudt_EFIGS.tptq2av103.dat +0 -0
- package/wwwroot/_framework/icudt_no_CJK.lfu7j35m59.dat +0 -0
- package/wwwroot/_framework/netstandard.yvr3prsx0x.dll +0 -0
- package/wwwroot/appsettings.json +0 -83
- package/wwwroot/icon-192.png +0 -0
- package/wwwroot/icon-512.png +0 -0
- package/wwwroot/js/marketing-tool.js +0 -180
- package/wwwroot/service-worker-assets.js +0 -857
|
@@ -1,489 +0,0 @@
|
|
|
1
|
-
// File: mind-map-object-manager.js
|
|
2
|
-
// [Refactor] Creates and updates WebGL node groups (THREE.Group / THREE.Mesh).
|
|
3
|
-
(function () {
|
|
4
|
-
'use strict';
|
|
5
|
-
// Keep glow purely in CSS layers; avoid spending WebGL budget on halo effects.
|
|
6
|
-
const ENABLE_WEBGL_GLOW = false;
|
|
7
|
-
const MEMO_WEBGL_THEMES = {
|
|
8
|
-
coral: { fill: 0xfff1eb, border: 0xf7b08d, accent: 0xff8052 },
|
|
9
|
-
amber: { fill: 0xfff7df, border: 0xf4d06f, accent: 0xf59e0b },
|
|
10
|
-
sun: { fill: 0xfff9d7, border: 0xe7d668, accent: 0xca8a04 },
|
|
11
|
-
sage: { fill: 0xeef6e7, border: 0xbed79f, accent: 0x65a30d },
|
|
12
|
-
mint: { fill: 0xe8faf4, border: 0x8fd8c1, accent: 0x10b981 },
|
|
13
|
-
sky: { fill: 0xe8f4ff, border: 0x9dc7f7, accent: 0x3b82f6 },
|
|
14
|
-
indigo: { fill: 0xeef0ff, border: 0xbcc2ff, accent: 0x6366f1 },
|
|
15
|
-
violet: { fill: 0xf5ecff, border: 0xd6b8ff, accent: 0x8b5cf6 },
|
|
16
|
-
rose: { fill: 0xffeef2, border: 0xf5b2c2, accent: 0xf43f5e },
|
|
17
|
-
gray: { fill: 0xf3f4f6, border: 0xd1d5db, accent: 0x6b7280 },
|
|
18
|
-
slate: { fill: 0xf3f5f7, border: 0xcbd5e1, accent: 0x64748b }
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
function getNodeMetadata(nodeModel) {
|
|
22
|
-
return nodeModel?.metadata || nodeModel?.Metadata || null;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function isAgentStyledMemoNode(nodeModel) {
|
|
26
|
-
const metadata = getNodeMetadata(nodeModel);
|
|
27
|
-
const semanticType = String(metadata?.SemanticType || metadata?.semanticType || '').trim();
|
|
28
|
-
return semanticType === 'MindCanvasAgent' || semanticType === 'AgentCommand';
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function getMemoWebglTheme(nodeModel) {
|
|
32
|
-
const fallbackKey = 'coral';
|
|
33
|
-
const key = String(getNodeMetadata(nodeModel)?.memoColor || fallbackKey).toLowerCase();
|
|
34
|
-
return MEMO_WEBGL_THEMES[key] || MEMO_WEBGL_THEMES[fallbackKey];
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function createRoundedRectGeometry(width, height, radius) {
|
|
38
|
-
const shape = new THREE.Shape();
|
|
39
|
-
const x = -width / 2;
|
|
40
|
-
const y = -height / 2;
|
|
41
|
-
|
|
42
|
-
// Start at bottom-left, go clockwise
|
|
43
|
-
shape.moveTo(x, y + radius);
|
|
44
|
-
shape.quadraticCurveTo(x, y, x + radius, y);
|
|
45
|
-
|
|
46
|
-
shape.lineTo(x + width - radius, y);
|
|
47
|
-
shape.quadraticCurveTo(x + width, y, x + width, y + radius);
|
|
48
|
-
|
|
49
|
-
shape.lineTo(x + width, y + height - radius);
|
|
50
|
-
shape.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
|
|
51
|
-
|
|
52
|
-
shape.lineTo(x + radius, y + height);
|
|
53
|
-
shape.quadraticCurveTo(x, y + height, x, y + height - radius);
|
|
54
|
-
|
|
55
|
-
shape.lineTo(x, y + radius);
|
|
56
|
-
|
|
57
|
-
const points = shape.getPoints();
|
|
58
|
-
return new THREE.BufferGeometry().setFromPoints(points);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// ▼▼▼ [New] Create FILLED rounded rectangle for scrollbar ▼▼▼
|
|
62
|
-
// Note: This draws DOWNWARD (negative Y) to match node coordinate system
|
|
63
|
-
function createRoundedRectFilledGeometry(width, height, radius) {
|
|
64
|
-
const shape = new THREE.Shape();
|
|
65
|
-
const x = 0;
|
|
66
|
-
const y = 0;
|
|
67
|
-
const r = Math.min(radius, width / 2, height / 2);
|
|
68
|
-
const h = -height; // Draw downward (negative Y direction)
|
|
69
|
-
|
|
70
|
-
// Start at top-left corner, draw clockwise (going down)
|
|
71
|
-
shape.moveTo(x + r, y);
|
|
72
|
-
shape.lineTo(x + width - r, y);
|
|
73
|
-
shape.quadraticCurveTo(x + width, y, x + width, y - r);
|
|
74
|
-
shape.lineTo(x + width, y + h + r);
|
|
75
|
-
shape.quadraticCurveTo(x + width, y + h, x + width - r, y + h);
|
|
76
|
-
shape.lineTo(x + r, y + h);
|
|
77
|
-
shape.quadraticCurveTo(x, y + h, x, y + h + r);
|
|
78
|
-
shape.lineTo(x, y - r);
|
|
79
|
-
shape.quadraticCurveTo(x, y, x + r, y);
|
|
80
|
-
|
|
81
|
-
return new THREE.ShapeGeometry(shape);
|
|
82
|
-
}
|
|
83
|
-
// ▲▲▲ [New] ▲▲▲
|
|
84
|
-
|
|
85
|
-
const IMAGE_SELECTION_GLOW_PAD = 18;
|
|
86
|
-
const IMAGE_SELECTION_GLOW_COLOR = 0x1e3a8a;
|
|
87
|
-
const IMAGE_SELECTION_GLOW_OPACITY = 0.18;
|
|
88
|
-
|
|
89
|
-
function syncImageSelectionGlow(group, width, height, baseRenderOrder, isSelected) {
|
|
90
|
-
if (!group) return null;
|
|
91
|
-
|
|
92
|
-
let outline = group.getObjectByName('outline');
|
|
93
|
-
if (!outline) {
|
|
94
|
-
outline = new THREE.Mesh(
|
|
95
|
-
createRoundedRectFilledGeometry(
|
|
96
|
-
width + IMAGE_SELECTION_GLOW_PAD,
|
|
97
|
-
height + IMAGE_SELECTION_GLOW_PAD,
|
|
98
|
-
20 + (IMAGE_SELECTION_GLOW_PAD * 0.5)
|
|
99
|
-
),
|
|
100
|
-
new THREE.MeshBasicMaterial({
|
|
101
|
-
color: IMAGE_SELECTION_GLOW_COLOR,
|
|
102
|
-
transparent: true,
|
|
103
|
-
opacity: 0,
|
|
104
|
-
depthWrite: false,
|
|
105
|
-
depthTest: false
|
|
106
|
-
})
|
|
107
|
-
);
|
|
108
|
-
outline.name = 'outline';
|
|
109
|
-
outline.userData = { ...(outline.userData || {}), isImageSelectionGlow: true };
|
|
110
|
-
group.add(outline);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
if (outline.geometry) {
|
|
114
|
-
outline.geometry.dispose?.();
|
|
115
|
-
}
|
|
116
|
-
outline.geometry = createRoundedRectFilledGeometry(
|
|
117
|
-
width + IMAGE_SELECTION_GLOW_PAD,
|
|
118
|
-
height + IMAGE_SELECTION_GLOW_PAD,
|
|
119
|
-
20 + (IMAGE_SELECTION_GLOW_PAD * 0.5)
|
|
120
|
-
);
|
|
121
|
-
outline.position.set(-(IMAGE_SELECTION_GLOW_PAD / 2), IMAGE_SELECTION_GLOW_PAD / 2, 0);
|
|
122
|
-
outline.renderOrder = baseRenderOrder - 1;
|
|
123
|
-
outline.visible = !!isSelected;
|
|
124
|
-
|
|
125
|
-
if (outline.material) {
|
|
126
|
-
outline.material.color.setHex(IMAGE_SELECTION_GLOW_COLOR);
|
|
127
|
-
outline.material.opacity = isSelected ? IMAGE_SELECTION_GLOW_OPACITY : 0;
|
|
128
|
-
outline.material.transparent = true;
|
|
129
|
-
outline.material.depthWrite = false;
|
|
130
|
-
outline.material.depthTest = false;
|
|
131
|
-
outline.material.needsUpdate = true;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
return outline;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// ▲▲▲ [Change] ▲▲▲
|
|
138
|
-
|
|
139
|
-
async function createOrUpdateCanvasTextureNode(module, nodeModel, existingGroup = null, zPos = 0, textures, width, height) {
|
|
140
|
-
// ▼▼▼ [Changed] Identify nodes handled by CSS3D (Text, Note, Code) ▼▼▼
|
|
141
|
-
// These nodes render as simple background meshes in WebGL (Mesh), content is in DOM.
|
|
142
|
-
const isCss3dNode = ['text', 'note', 'memo', 'code', 'markdown'].includes(nodeModel.contentType);
|
|
143
|
-
// ▲▲▲ [Changed] ▲▲▲
|
|
144
|
-
|
|
145
|
-
// For non-CSS3D nodes, validate textures
|
|
146
|
-
if (!isCss3dNode && (!textures || !textures.default || !textures.selected)) {
|
|
147
|
-
console.error(`[MindMapObjectManager] Cannot create node ${nodeModel.id}: Invalid textures object provided.`);
|
|
148
|
-
return null;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
const TAIL_HEIGHT = 12;
|
|
152
|
-
const HANDLE_SIZE = 16; // Changed from 36 to 16 to match CSS handles and prevent ghost touches
|
|
153
|
-
const CORNER_RADIUS = 20;
|
|
154
|
-
const DEFAULT_OUTLINE_COLOR = 0x374151;
|
|
155
|
-
const SELECTED_OUTLINE_COLOR = 0x7b7ff2;
|
|
156
|
-
const memoTheme = String(nodeModel?.contentType ?? '').toLowerCase() === 'memo' ? getMemoWebglTheme(nodeModel) : null;
|
|
157
|
-
const defaultBorderHex = memoTheme ? memoTheme.border : DEFAULT_OUTLINE_COLOR;
|
|
158
|
-
const bodyFillHex = memoTheme ? memoTheme.fill : 0xfefefe;
|
|
159
|
-
const isSelected = module.multiSelectedNodeIds.has(nodeModel.id);
|
|
160
|
-
const selectedBorderHex = isCss3dNode
|
|
161
|
-
? SELECTED_OUTLINE_COLOR
|
|
162
|
-
: (memoTheme ? memoTheme.accent : SELECTED_OUTLINE_COLOR);
|
|
163
|
-
const outlineColor = isSelected ? selectedBorderHex : defaultBorderHex;
|
|
164
|
-
const OUTLINE_SHRINK = 2;
|
|
165
|
-
const OUTLINE_RADIUS = Math.max(1, CORNER_RADIUS - 1);
|
|
166
|
-
|
|
167
|
-
if (existingGroup) {
|
|
168
|
-
const active = isSelected ? (textures?.selected || {}) : (textures?.default || {});
|
|
169
|
-
const bodyMesh = existingGroup.getObjectByName('body');
|
|
170
|
-
const tailMesh = existingGroup.getObjectByName('tail');
|
|
171
|
-
const glowMesh = existingGroup.getObjectByName('glow');
|
|
172
|
-
let outline = existingGroup.getObjectByName('outline');
|
|
173
|
-
let baseRenderOrder = existingGroup.userData?.baseRenderOrder;
|
|
174
|
-
if (baseRenderOrder === undefined) {
|
|
175
|
-
baseRenderOrder = bodyMesh?.renderOrder ?? module.nodeZCounter++;
|
|
176
|
-
existingGroup.userData = {
|
|
177
|
-
...(existingGroup.userData || {}),
|
|
178
|
-
baseRenderOrder
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
if (bodyMesh) {
|
|
183
|
-
const gp = bodyMesh.geometry && bodyMesh.geometry.parameters;
|
|
184
|
-
if (!gp || gp.width !== width || gp.height !== height) {
|
|
185
|
-
bodyMesh.geometry.dispose();
|
|
186
|
-
bodyMesh.geometry = new THREE.PlaneGeometry(width, height);
|
|
187
|
-
|
|
188
|
-
if (outline) {
|
|
189
|
-
outline.geometry.dispose();
|
|
190
|
-
outline.geometry = createRoundedRectGeometry(
|
|
191
|
-
width - OUTLINE_SHRINK,
|
|
192
|
-
height - OUTLINE_SHRINK,
|
|
193
|
-
OUTLINE_RADIUS
|
|
194
|
-
);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
bodyMesh.position.set(width / 2, -height / 2, 0);
|
|
198
|
-
if (nodeModel.contentType === 'image') {
|
|
199
|
-
syncImageSelectionGlow(existingGroup, width, height, baseRenderOrder, isSelected);
|
|
200
|
-
window.MindMapNodes?.syncImageMidLodDecorations?.(existingGroup, width, height, baseRenderOrder, isSelected);
|
|
201
|
-
} else if (outline) {
|
|
202
|
-
outline.position.copy(bodyMesh.position);
|
|
203
|
-
outline.position.z = 0; // [Fix] Z=0 for parallax elimination
|
|
204
|
-
outline.visible = false;
|
|
205
|
-
if (outline.material) {
|
|
206
|
-
outline.material.color.setHex(isSelected ? selectedBorderHex : defaultBorderHex);
|
|
207
|
-
outline.material.opacity = isSelected ? 1.0 : 0.5;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
if (bodyMesh.material?.uniforms) {
|
|
212
|
-
if (bodyMesh.material.uniforms.bgColor) {
|
|
213
|
-
bodyMesh.material.uniforms.bgColor.value.setHex(bodyFillHex);
|
|
214
|
-
}
|
|
215
|
-
if (bodyMesh.material.uniforms.borderColor) {
|
|
216
|
-
bodyMesh.material.uniforms.borderColor.value.setHex(isSelected ? selectedBorderHex : defaultBorderHex);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
if (tailMesh) {
|
|
221
|
-
tailMesh.position.set(width / 2, -height - (TAIL_HEIGHT / 2), 0);
|
|
222
|
-
if (active?.tail && tailMesh.material) {
|
|
223
|
-
tailMesh.material.map = active.tail;
|
|
224
|
-
tailMesh.material.needsUpdate = true;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
// Update resize handles (omitted for brevity, handled by existing code flow if not changed)
|
|
228
|
-
if (nodeModel.contentType !== 'pdf') {
|
|
229
|
-
const edgeWidthLength = Math.max(10, width - HANDLE_SIZE * 2);
|
|
230
|
-
const edgeHeightLength = Math.max(10, height - HANDLE_SIZE * 2);
|
|
231
|
-
const handleConfigs = {
|
|
232
|
-
// ▼▼▼ [Fix] Z값을 0으로 통일하여 시차(Parallax) 완전 제거 ▼▼▼
|
|
233
|
-
'resizeHandle_TL': { x: HANDLE_SIZE / 2, y: -HANDLE_SIZE / 2, w: HANDLE_SIZE, h: HANDLE_SIZE, z: 0 },
|
|
234
|
-
'resizeHandle_TR': { x: width - HANDLE_SIZE / 2, y: -HANDLE_SIZE / 2, w: HANDLE_SIZE, h: HANDLE_SIZE, z: 0 },
|
|
235
|
-
'resizeHandle_BL': { x: HANDLE_SIZE / 2, y: -height + HANDLE_SIZE / 2, w: HANDLE_SIZE, h: HANDLE_SIZE, z: 0 },
|
|
236
|
-
'resizeHandle_BR': { x: width - HANDLE_SIZE / 2, y: -height + HANDLE_SIZE / 2, w: HANDLE_SIZE, h: HANDLE_SIZE, z: 0 }
|
|
237
|
-
// ▲▲▲ [Fix] ▲▲▲
|
|
238
|
-
};
|
|
239
|
-
if (nodeModel.contentType !== 'image') {
|
|
240
|
-
Object.assign(handleConfigs, {
|
|
241
|
-
'resizeHandle_T': { x: width / 2, y: -HANDLE_SIZE / 2, w: edgeWidthLength, h: HANDLE_SIZE, z: 0 },
|
|
242
|
-
'resizeHandle_B': { x: width / 2, y: -height + HANDLE_SIZE / 2, w: edgeWidthLength, h: HANDLE_SIZE, z: 0 },
|
|
243
|
-
'resizeHandle_L': { x: HANDLE_SIZE / 2, y: -height / 2, w: HANDLE_SIZE, h: edgeHeightLength, z: 0 },
|
|
244
|
-
'resizeHandle_R': { x: width - HANDLE_SIZE / 2, y: -height / 2, w: HANDLE_SIZE, h: edgeHeightLength, z: 0 }
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
Object.entries(handleConfigs).forEach(([name, cfg]) => {
|
|
248
|
-
const handle = existingGroup.getObjectByName(name);
|
|
249
|
-
if (handle) {
|
|
250
|
-
handle.position.set(cfg.x, cfg.y, cfg.z);
|
|
251
|
-
const gp = handle.geometry?.parameters;
|
|
252
|
-
if (gp && (gp.width !== cfg.w || gp.height !== cfg.h)) {
|
|
253
|
-
handle.geometry.dispose();
|
|
254
|
-
handle.geometry = new THREE.PlaneGeometry(cfg.w, cfg.h);
|
|
255
|
-
}
|
|
256
|
-
if (nodeModel.contentType === 'image' && handle.material) {
|
|
257
|
-
handle.material.opacity = 0.0;
|
|
258
|
-
handle.material.colorWrite = false;
|
|
259
|
-
handle.material.needsUpdate = true;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
});
|
|
263
|
-
if (nodeModel.contentType === 'image') {
|
|
264
|
-
['resizeHandle_T', 'resizeHandle_B', 'resizeHandle_L', 'resizeHandle_R'].forEach(name => {
|
|
265
|
-
const handle = existingGroup.getObjectByName(name);
|
|
266
|
-
if (handle) {
|
|
267
|
-
handle.visible = false;
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
// ▼▼▼ [Changed] CSS3D nodes: keep simplified material (or shader), skip texture update ▼▼▼
|
|
274
|
-
if (!isCss3dNode) {
|
|
275
|
-
const active = isSelected ? textures.selected : textures.default;
|
|
276
|
-
if (bodyMesh && bodyMesh.material) { bodyMesh.material.map = active.body; bodyMesh.material.needsUpdate = true; }
|
|
277
|
-
if (tailMesh && tailMesh.material) { tailMesh.material.map = active.tail; tailMesh.material.needsUpdate = true; }
|
|
278
|
-
}
|
|
279
|
-
// ▲▲▲ [Changed] ▲▲▲
|
|
280
|
-
|
|
281
|
-
if (!ENABLE_WEBGL_GLOW && glowMesh) {
|
|
282
|
-
existingGroup.remove(glowMesh);
|
|
283
|
-
try { glowMesh.geometry?.dispose?.(); } catch { }
|
|
284
|
-
try { glowMesh.material?.dispose?.(); } catch { }
|
|
285
|
-
} else if (ENABLE_WEBGL_GLOW && window.MindMapGlowShader) {
|
|
286
|
-
const contentType = nodeModel.contentType || 'text';
|
|
287
|
-
if (!glowMesh) {
|
|
288
|
-
const glow = window.MindMapGlowShader.createSDFGlowMesh(width, height, isSelected, contentType);
|
|
289
|
-
glow.position.set(width / 2, -height / 2, 0.0);
|
|
290
|
-
glow.renderOrder = baseRenderOrder - 5;
|
|
291
|
-
const cameraZ = module.camera?.position?.z ?? Infinity;
|
|
292
|
-
const threshold = 4000;
|
|
293
|
-
glow.visible = cameraZ < threshold;
|
|
294
|
-
existingGroup.add(glow);
|
|
295
|
-
} else {
|
|
296
|
-
window.MindMapGlowShader.updateGlowSize(glowMesh, width, height, contentType);
|
|
297
|
-
window.MindMapGlowShader.updateGlowSelection(glowMesh, isSelected);
|
|
298
|
-
glowMesh.position.set(width / 2, -height / 2, 0.0);
|
|
299
|
-
glowMesh.renderOrder = baseRenderOrder - 5;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
existingGroup.userData.worldWidth = width;
|
|
304
|
-
existingGroup.userData.worldHeight = height;
|
|
305
|
-
existingGroup.userData.baseRenderOrder = baseRenderOrder;
|
|
306
|
-
|
|
307
|
-
return existingGroup;
|
|
308
|
-
|
|
309
|
-
} else {
|
|
310
|
-
// --- Create new group ---
|
|
311
|
-
const group = new THREE.Group();
|
|
312
|
-
const baseRenderOrder = module.nodeZCounter++;
|
|
313
|
-
const active = isSelected ? (textures?.selected || {}) : (textures?.default || {});
|
|
314
|
-
|
|
315
|
-
// SDF Glow (disabled by default; use CSS selected states instead)
|
|
316
|
-
if (ENABLE_WEBGL_GLOW && window.MindMapGlowShader) {
|
|
317
|
-
const contentType = nodeModel.contentType || 'text';
|
|
318
|
-
const glowMesh = window.MindMapGlowShader.createSDFGlowMesh(width, height, isSelected, contentType);
|
|
319
|
-
glowMesh.position.set(width / 2, -height / 2, 0.0);
|
|
320
|
-
glowMesh.renderOrder = baseRenderOrder - 5;
|
|
321
|
-
const cameraZ = module.camera?.position?.z ?? Infinity;
|
|
322
|
-
const threshold = 4000;
|
|
323
|
-
glowMesh.visible = cameraZ < threshold;
|
|
324
|
-
group.add(glowMesh);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
// Body
|
|
328
|
-
const bodyGeometry = new THREE.PlaneGeometry(width, height);
|
|
329
|
-
let bodyMaterial;
|
|
330
|
-
|
|
331
|
-
if (isCss3dNode) {
|
|
332
|
-
// ▼▼▼ [Optimized] CSS3D nodes: use SDF shader for border (no texture = saves memory) ▼▼▼
|
|
333
|
-
// This replaces the textured material for text/note/code
|
|
334
|
-
bodyMaterial = new THREE.ShaderMaterial({
|
|
335
|
-
transparent: false, // ★ 불투명하게 변경 - 그리드가 비치지 않도록
|
|
336
|
-
depthWrite: true,
|
|
337
|
-
depthTest: true,
|
|
338
|
-
uniforms: {
|
|
339
|
-
bgColor: { value: new THREE.Color(bodyFillHex) },
|
|
340
|
-
borderColor: { value: new THREE.Color(isSelected ? selectedBorderHex : defaultBorderHex) },
|
|
341
|
-
borderWidth: { value: 3.0 },
|
|
342
|
-
meshSize: { value: new THREE.Vector2(width, height) }
|
|
343
|
-
},
|
|
344
|
-
vertexShader: `
|
|
345
|
-
varying vec2 vUv;
|
|
346
|
-
void main() {
|
|
347
|
-
vUv = uv;
|
|
348
|
-
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
349
|
-
}
|
|
350
|
-
`,
|
|
351
|
-
fragmentShader: `
|
|
352
|
-
precision highp float;
|
|
353
|
-
varying vec2 vUv;
|
|
354
|
-
uniform vec3 bgColor;
|
|
355
|
-
uniform vec3 borderColor;
|
|
356
|
-
uniform float borderWidth;
|
|
357
|
-
uniform vec2 meshSize;
|
|
358
|
-
|
|
359
|
-
void main() {
|
|
360
|
-
vec2 pixelCoord = vUv * meshSize;
|
|
361
|
-
bool inBorder = pixelCoord.x < borderWidth ||
|
|
362
|
-
pixelCoord.x > meshSize.x - borderWidth ||
|
|
363
|
-
pixelCoord.y < borderWidth ||
|
|
364
|
-
pixelCoord.y > meshSize.y - borderWidth;
|
|
365
|
-
vec3 finalColor = inBorder ? borderColor : bgColor;
|
|
366
|
-
gl_FragColor = vec4(finalColor, 1.0); // ★ 항상 불투명
|
|
367
|
-
}
|
|
368
|
-
`
|
|
369
|
-
});
|
|
370
|
-
// ▲▲▲ [Optimized] ▲▲▲
|
|
371
|
-
} else {
|
|
372
|
-
// Standard mode (Image nodes): use individual texture
|
|
373
|
-
// ★ [Fix] Image nodes: use fallback color if texture is missing (0xaaaaaa), otherwise white
|
|
374
|
-
const isImage = nodeModel.contentType === 'image';
|
|
375
|
-
const hasTexture = !!active.body;
|
|
376
|
-
|
|
377
|
-
bodyMaterial = new THREE.MeshBasicMaterial({
|
|
378
|
-
map: active.body,
|
|
379
|
-
transparent: false, // ★ 불투명하게 변경 - 그리드가 비치지 않도록
|
|
380
|
-
depthWrite: true,
|
|
381
|
-
depthTest: true,
|
|
382
|
-
color: 0xffffff
|
|
383
|
-
// [Fix] polygonOffset 제거 - Z=0 평면에서 renderOrder로만 제어
|
|
384
|
-
});
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
const bodyMesh = new THREE.Mesh(bodyGeometry, bodyMaterial);
|
|
388
|
-
bodyMesh.renderOrder = baseRenderOrder;
|
|
389
|
-
bodyMesh.name = 'body';
|
|
390
|
-
bodyMesh.position.set(width / 2, -height / 2, 0.0); // ★ z=0.0: 그리드(z=0)와 밀착
|
|
391
|
-
bodyMesh.userData.nodeId = nodeModel.id;
|
|
392
|
-
group.add(bodyMesh);
|
|
393
|
-
|
|
394
|
-
if (nodeModel.contentType === 'image') {
|
|
395
|
-
syncImageSelectionGlow(group, width, height, baseRenderOrder, isSelected);
|
|
396
|
-
window.MindMapNodes?.syncImageMidLodDecorations?.(group, width, height, baseRenderOrder, isSelected);
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
// Tail
|
|
400
|
-
const tailGeometry = new THREE.PlaneGeometry(TAIL_HEIGHT * 2, TAIL_HEIGHT);
|
|
401
|
-
let tailMaterial;
|
|
402
|
-
if (isCss3dNode && !active?.tail) {
|
|
403
|
-
tailMaterial = new THREE.MeshBasicMaterial({ color: 0xfefefe, transparent: true, opacity: 0.9, depthWrite: false, depthTest: false });
|
|
404
|
-
} else {
|
|
405
|
-
tailMaterial = new THREE.MeshBasicMaterial({ map: active?.tail, transparent: true, depthWrite: false, depthTest: false });
|
|
406
|
-
}
|
|
407
|
-
const tailMesh = new THREE.Mesh(tailGeometry, tailMaterial);
|
|
408
|
-
tailMesh.renderOrder = baseRenderOrder;
|
|
409
|
-
tailMesh.name = 'tail';
|
|
410
|
-
tailMesh.position.set(width / 2, -height - (TAIL_HEIGHT / 2), 0.0); // ★ z=0.0
|
|
411
|
-
tailMesh.userData = { nodeId: nodeModel.id, isTailHandle: true };
|
|
412
|
-
group.add(tailMesh);
|
|
413
|
-
|
|
414
|
-
// ▼▼▼ [Removed] Scrollbar creation for CSS3D nodes (DOM handles it) ▼▼▼
|
|
415
|
-
// (Original code had special logic for code nodes, now removed/skipped)
|
|
416
|
-
// ▲▲▲ [Removed] ▲▲▲
|
|
417
|
-
|
|
418
|
-
// ▼▼▼ [Changed] Add eight resize handles (4 corners + 4 edges spanning full length) ▼▼▼
|
|
419
|
-
if (nodeModel.contentType !== 'pdf') {
|
|
420
|
-
// Edge handles span from corner to corner (minus corner handle size)
|
|
421
|
-
const edgeWidthLength = Math.max(10, width - HANDLE_SIZE * 2); // horizontal edge length
|
|
422
|
-
const edgeHeightLength = Math.max(10, height - HANDLE_SIZE * 2); // vertical edge length
|
|
423
|
-
|
|
424
|
-
const handles = [];
|
|
425
|
-
|
|
426
|
-
// Add edges only if NOT an image node
|
|
427
|
-
if (nodeModel.contentType !== 'image') {
|
|
428
|
-
handles.push(
|
|
429
|
-
{ name: 'resizeHandle_T', corner: 'T', x: width / 2, y: -HANDLE_SIZE / 2, w: edgeWidthLength, h: HANDLE_SIZE, order: 0 },
|
|
430
|
-
{ name: 'resizeHandle_B', corner: 'B', x: width / 2, y: -height + HANDLE_SIZE / 2, w: edgeWidthLength, h: HANDLE_SIZE, order: 0 },
|
|
431
|
-
{ name: 'resizeHandle_L', corner: 'L', x: HANDLE_SIZE / 2, y: -height / 2, w: HANDLE_SIZE, h: edgeHeightLength, order: 0 },
|
|
432
|
-
{ name: 'resizeHandle_R', corner: 'R', x: width - HANDLE_SIZE / 2, y: -height / 2, w: HANDLE_SIZE, h: edgeHeightLength, order: 0 }
|
|
433
|
-
);
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
// Corners always present
|
|
437
|
-
handles.push(
|
|
438
|
-
{ name: 'resizeHandle_TL', corner: 'TL', x: HANDLE_SIZE / 2, y: -HANDLE_SIZE / 2, w: HANDLE_SIZE, h: HANDLE_SIZE, order: 1 },
|
|
439
|
-
{ name: 'resizeHandle_TR', corner: 'TR', x: width - HANDLE_SIZE / 2, y: -HANDLE_SIZE / 2, w: HANDLE_SIZE, h: HANDLE_SIZE, order: 1 },
|
|
440
|
-
{ name: 'resizeHandle_BL', corner: 'BL', x: HANDLE_SIZE / 2, y: -height + HANDLE_SIZE / 2, w: HANDLE_SIZE, h: HANDLE_SIZE, order: 1 },
|
|
441
|
-
{ name: 'resizeHandle_BR', corner: 'BR', x: width - HANDLE_SIZE / 2, y: -height + HANDLE_SIZE / 2, w: HANDLE_SIZE, h: HANDLE_SIZE, order: 1 }
|
|
442
|
-
);
|
|
443
|
-
|
|
444
|
-
handles.forEach(c => {
|
|
445
|
-
const handleGeom = new THREE.PlaneGeometry(c.w, c.h);
|
|
446
|
-
// Use opacity 0.01 instead of 0.0 to ensure Raycaster hits it (some implementations optimize out 0.0)
|
|
447
|
-
const handleMat = new THREE.MeshBasicMaterial({ color: 0xff0000, transparent: true, opacity: 0.01, depthWrite: false, depthTest: false });
|
|
448
|
-
const handleMesh = new THREE.Mesh(handleGeom, handleMat);
|
|
449
|
-
handleMesh.name = c.name;
|
|
450
|
-
handleMesh.userData = { nodeId: nodeModel.id, isResizeHandle: true, corner: c.corner };
|
|
451
|
-
handleMesh.renderOrder = baseRenderOrder + 10 + c.order; // Boost renderOrder significantly
|
|
452
|
-
// ▼▼▼ [Fix] Z값을 0으로 설정 (그리드와 평탄화하여 시차 제거) ▼▼▼
|
|
453
|
-
handleMesh.position.set(c.x, c.y, 0);
|
|
454
|
-
// ▲▲▲ [Fix] ▲▲▲
|
|
455
|
-
group.add(handleMesh);
|
|
456
|
-
});
|
|
457
|
-
}
|
|
458
|
-
// ▲▲▲ [Changed] ▲▲▲
|
|
459
|
-
|
|
460
|
-
group.position.set(nodeModel.positionX, nodeModel.positionY, zPos);
|
|
461
|
-
group.userData = { worldWidth: width, worldHeight: height, nodeId: nodeModel.id, baseRenderOrder };
|
|
462
|
-
return group;
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
function createDeferredNodeShell(nodeModel, width, height, zPos = 0, baseRenderOrder = 0) {
|
|
467
|
-
const group = new THREE.Group();
|
|
468
|
-
group.position.set(nodeModel.positionX || 0, nodeModel.positionY || 0, zPos);
|
|
469
|
-
group.visible = false;
|
|
470
|
-
group.userData = {
|
|
471
|
-
worldWidth: width,
|
|
472
|
-
worldHeight: height,
|
|
473
|
-
nodeId: nodeModel.id,
|
|
474
|
-
baseRenderOrder,
|
|
475
|
-
isDeferredShell: true,
|
|
476
|
-
spatialGridKeys: new Set()
|
|
477
|
-
};
|
|
478
|
-
return group;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
// Expose MindMapObjectManager globally
|
|
482
|
-
window.MindMapObjectManager = {
|
|
483
|
-
createOrUpdateCanvasTextureNode: createOrUpdateCanvasTextureNode,
|
|
484
|
-
createDeferredNodeShell: createDeferredNodeShell,
|
|
485
|
-
createRoundedRectFilledGeometry: createRoundedRectFilledGeometry // For scrollbar resize in pipeline
|
|
486
|
-
};
|
|
487
|
-
|
|
488
|
-
console.log('✅ mind-map-object-manager.js loaded (Rounded Outline)');
|
|
489
|
-
})();
|