@mindexec/cli 0.2.426 → 0.2.427
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
|
@@ -4777,6 +4777,7 @@ window.MindMapInteractions = (function () {
|
|
|
4777
4777
|
|
|
4778
4778
|
if (!actualDragObject) return;
|
|
4779
4779
|
setBrowserSelectionLock(true, 'node-drag');
|
|
4780
|
+
module.draggedNodeId = nodeId;
|
|
4780
4781
|
|
|
4781
4782
|
// ▼▼▼ [Added] Reliably store dragged ID for Up handler ▼▼▼
|
|
4782
4783
|
module.draggedNodeId = nodeId;
|
|
@@ -5086,7 +5087,8 @@ window.MindMapInteractions = (function () {
|
|
|
5086
5087
|
}
|
|
5087
5088
|
|
|
5088
5089
|
async function onMouseUp(module, e) {
|
|
5089
|
-
const handlers = getBoundHandlers(module);
|
|
5090
|
+
const handlers = getBoundHandlers(module);
|
|
5091
|
+
let postMouseUpActivation = null;
|
|
5090
5092
|
|
|
5091
5093
|
// 0) Multi-select resize end (centralized)
|
|
5092
5094
|
if (window.MindMapMultiSelect?.isResizing?.()) {
|
|
@@ -5263,7 +5265,8 @@ window.MindMapInteractions = (function () {
|
|
|
5263
5265
|
} else if (consumePendingSelectedActivation(module, clickedNodeId)) {
|
|
5264
5266
|
finalizeSingleSelection(module, clickedNodeId, { notifyBlazor: false, bringToFront: true, showMenu: true });
|
|
5265
5267
|
} else {
|
|
5266
|
-
|
|
5268
|
+
const activationTarget = e.target;
|
|
5269
|
+
postMouseUpActivation = () => handleSelectedNodeActivation(module, clickedNodeId, nodeEntry, { isLink, target: activationTarget });
|
|
5267
5270
|
}
|
|
5268
5271
|
} else {
|
|
5269
5272
|
schedulePrimaryClickAction(module, () => {
|
|
@@ -5384,7 +5387,8 @@ window.MindMapInteractions = (function () {
|
|
|
5384
5387
|
} else if (consumePendingSelectedActivation(module, clickedNodeId)) {
|
|
5385
5388
|
finalizeSingleSelection(module, clickedNodeId, { notifyBlazor: false, bringToFront: true, showMenu: true });
|
|
5386
5389
|
} else {
|
|
5387
|
-
|
|
5390
|
+
const activationTarget = e.target;
|
|
5391
|
+
postMouseUpActivation = () => handleSelectedNodeActivation(module, clickedNodeId, nodeEntry, { target: activationTarget });
|
|
5388
5392
|
}
|
|
5389
5393
|
} else {
|
|
5390
5394
|
schedulePrimaryClickAction(module, () => {
|
|
@@ -5453,6 +5457,7 @@ window.MindMapInteractions = (function () {
|
|
|
5453
5457
|
module._deferredBackgroundPrimaryClick = false;
|
|
5454
5458
|
module._deferredBackgroundClearOnDrag = false;
|
|
5455
5459
|
module.draggedNodeObject = null;
|
|
5460
|
+
module.draggedNodeId = null;
|
|
5456
5461
|
module.wasDragged = false;
|
|
5457
5462
|
module.isShiftClick = false;
|
|
5458
5463
|
module.multiDragInitialPositions.clear();
|
|
@@ -5494,11 +5499,18 @@ window.MindMapInteractions = (function () {
|
|
|
5494
5499
|
// ▲▲▲ [UndoRedo] ▲▲▲
|
|
5495
5500
|
// ▲▲▲ [Perf] ▲▲▲
|
|
5496
5501
|
|
|
5497
|
-
// Key point: consistently remove listeners
|
|
5498
|
-
window.removeEventListener('mousemove', handlers.boundOnMouseMove, { passive: false });
|
|
5499
|
-
window.removeEventListener('mouseup', handlers.boundOnMouseUp);
|
|
5500
|
-
// --- end listener cleanup ---
|
|
5501
|
-
|
|
5502
|
+
// Key point: consistently remove listeners
|
|
5503
|
+
window.removeEventListener('mousemove', handlers.boundOnMouseMove, { passive: false });
|
|
5504
|
+
window.removeEventListener('mouseup', handlers.boundOnMouseUp);
|
|
5505
|
+
// --- end listener cleanup ---
|
|
5506
|
+
if (typeof postMouseUpActivation === 'function') {
|
|
5507
|
+
try {
|
|
5508
|
+
postMouseUpActivation();
|
|
5509
|
+
} catch (error) {
|
|
5510
|
+
console.error('[MindMapInteractions] Post-cleanup selected node activation failed:', error);
|
|
5511
|
+
}
|
|
5512
|
+
}
|
|
5513
|
+
}
|
|
5502
5514
|
|
|
5503
5515
|
function updatePhysicalWheelModifierKeyState(module, e, isDown) {
|
|
5504
5516
|
if (!module || !e) {
|
package/wwwroot/index.html
CHANGED
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
const base = '_content/MindExecution.Shared/js/';
|
|
582
|
-
const scriptVersion = '20260629-note-click-edit-
|
|
582
|
+
const scriptVersion = '20260629-note-click-edit-postcleanup-v860';
|
|
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": "
|
|
2
|
+
"version": "6gH3mh9o",
|
|
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-
|
|
109
|
+
"hash": "sha256-55qzyS84+lNr+D8yF0HyTAbQEpeEOXW36tDCfn5UuUc=",
|
|
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-
|
|
829
|
+
"hash": "sha256-doMCH63vbKHtRVaAOBnZZ2/vgx0CS+hfAJ0NaAX/kQU=",
|
|
830
830
|
"url": "index.html"
|
|
831
831
|
},
|
|
832
832
|
{
|