@mindexec/cli 0.2.423 → 0.2.425

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindexec/cli",
3
- "version": "0.2.423",
3
+ "version": "0.2.425",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
@@ -5256,6 +5256,18 @@ window.MindMapInteractions = (function () {
5256
5256
  const isMultiSelecting = module.isShiftClick;
5257
5257
  // Check if link was clicked (to prevent edit on link click)
5258
5258
  const isLink = e.target && (e.target.tagName === 'A' || e.target.closest?.('a'));
5259
+
5260
+ if (isAlreadySelected && !isMultiSelecting && isInlineEditableNode(nodeEntry)) {
5261
+ if (module.selectionChangedInThisClick) {
5262
+ module.selectionChangedInThisClick = false;
5263
+ } else if (consumePendingSelectedActivation(module, clickedNodeId)) {
5264
+ finalizeSingleSelection(module, clickedNodeId, { notifyBlazor: false, bringToFront: true, showMenu: true });
5265
+ } else {
5266
+ handleSelectedNodeActivation(module, clickedNodeId, nodeEntry, { isLink, target: e.target });
5267
+ }
5268
+ return;
5269
+ }
5270
+
5259
5271
  schedulePrimaryClickAction(module, () => {
5260
5272
  if (module.selectedNodeIdJs && module.selectedNodeIdJs !== clickedNodeId) {
5261
5273
  switchPreviousSelectedNoteToWebGL(module, false);
@@ -5365,6 +5377,19 @@ window.MindMapInteractions = (function () {
5365
5377
 
5366
5378
  const isAlreadySelected = module.selectedNodeIdJs === clickedNodeId;
5367
5379
  const isMultiSelecting = module.isShiftClick;
5380
+
5381
+ if (isAlreadySelected && !isMultiSelecting && isInlineEditableNode(nodeEntry)) {
5382
+ if (module.selectionChangedInThisClick) {
5383
+ module.selectionChangedInThisClick = false;
5384
+ finalizeSingleSelection(module, clickedNodeId, { notifyBlazor: false, bringToFront: true, showMenu: true });
5385
+ } else if (consumePendingSelectedActivation(module, clickedNodeId)) {
5386
+ finalizeSingleSelection(module, clickedNodeId, { notifyBlazor: false, bringToFront: true, showMenu: true });
5387
+ } else {
5388
+ handleSelectedNodeActivation(module, clickedNodeId, nodeEntry, { target: e.target });
5389
+ }
5390
+ return;
5391
+ }
5392
+
5368
5393
  schedulePrimaryClickAction(module, () => {
5369
5394
  if (module.selectedNodeIdJs && module.selectedNodeIdJs !== clickedNodeId) {
5370
5395
  switchPreviousSelectedNoteToWebGL(module, false);
@@ -579,7 +579,7 @@
579
579
  }
580
580
 
581
581
  const base = '_content/MindExecution.Shared/js/';
582
- const scriptVersion = '20260629-mdm-shadow-v856';
582
+ const scriptVersion = '20260629-note-click-edit-v858';
583
583
  const scriptUrl = (script) => `${base}${script}?v=${scriptVersion}`;
584
584
  console.log(`[Script Loader] Shared JS version: ${scriptVersion}`);
585
585
  const criticalScripts = [
@@ -1,5 +1,5 @@
1
1
  self.assetsManifest = {
2
- "version": "fA2W79ZH",
2
+ "version": "w2wZAHV3",
3
3
  "assets": [
4
4
  {
5
5
  "hash": "sha256-+CSYMcqLNTsq3VnH11jgYyOCCdxvHzL74CBmo4sCmMU=",
@@ -106,7 +106,7 @@
106
106
  "url": "_content/MindExecution.Shared/js/mind-map-glow-shader.js"
107
107
  },
108
108
  {
109
- "hash": "sha256-cI3+GC8kPJOqszjmSBOS+rFPyXPheKohJfZZaDcOWV8=",
109
+ "hash": "sha256-Ajke4gugGGu90uiK0yP328MSM5rXvxzZnjUunlZ2QcQ=",
110
110
  "url": "_content/MindExecution.Shared/js/mind-map-interactions.js"
111
111
  },
112
112
  {
@@ -826,7 +826,7 @@
826
826
  "url": "icon-512.png"
827
827
  },
828
828
  {
829
- "hash": "sha256-0Gf0h8/sXPcC9sq1+w9IbEs2NZdf16v+cuObSCOWns8=",
829
+ "hash": "sha256-mL3Wc0hu+QH1SUN/WpGi621yyFP80kJdddGyPrwbVA0=",
830
830
  "url": "index.html"
831
831
  },
832
832
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: fA2W79ZH */
1
+ /* Manifest version: w2wZAHV3 */
2
2
  // Hosted deployments should prefer the network over stale offline caches.
3
3
  // This service worker immediately clears old Blazor offline caches and unregisters itself.
4
4