@mindexec/cli 0.2.415 → 0.2.417
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/_content/MindExecution.Shared/js/mind-map-core.js +36 -1
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-interactions.js +1 -1
- package/wwwroot/_content/MindExecution.Shared/js/renderers/CSS3DRenderer.js +1 -1
- package/wwwroot/index.html +1 -1
- package/wwwroot/service-worker-assets.js +5 -5
- package/wwwroot/service-worker.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
const DEBUG = false;
|
|
6
6
|
const FPS_DEBUG = false;
|
|
7
7
|
const FRAME_PERF_DEBUG = false;
|
|
8
|
-
const MINDMAP_CORE_BUILD_ID = '20260628-
|
|
8
|
+
const MINDMAP_CORE_BUILD_ID = '20260628-pan-force-debug-v851';
|
|
9
9
|
const CanvasPhase = Object.freeze({
|
|
10
10
|
Booting: 'booting',
|
|
11
11
|
BoardFileLoading: 'board-file-loading',
|
|
@@ -6790,6 +6790,16 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
6790
6790
|
shouldUseAnimationCadenceForWebglFrame === true ||
|
|
6791
6791
|
themeAnimatedThisFrame === true
|
|
6792
6792
|
);
|
|
6793
|
+
const webglRenderReason = shouldCaptureFramePerf && shouldRenderWebglFrame
|
|
6794
|
+
? (
|
|
6795
|
+
isBoardLoading === true ? 'board-loading' :
|
|
6796
|
+
shouldUpdate === true ? 'update' :
|
|
6797
|
+
isInteractiveFrame === true ? 'interactive-frame' :
|
|
6798
|
+
shouldUseAnimationCadenceForWebglFrame === true ? 'animation-cadence' :
|
|
6799
|
+
themeAnimatedThisFrame === true ? 'theme-animated' :
|
|
6800
|
+
'unknown'
|
|
6801
|
+
)
|
|
6802
|
+
: '';
|
|
6793
6803
|
const shouldHideBackgroundThemeDuringCameraNavigation = !!(
|
|
6794
6804
|
shouldUseMotionGridThemeSubstitute === true &&
|
|
6795
6805
|
this.currentThemeObject &&
|
|
@@ -6871,6 +6881,27 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
6871
6881
|
lodVisualEpochChangedThisFrame !== true &&
|
|
6872
6882
|
this.isWindowResizing !== true
|
|
6873
6883
|
);
|
|
6884
|
+
const css3dCameraFastPathBlockers = shouldCaptureFramePerf
|
|
6885
|
+
? [
|
|
6886
|
+
!this.cssRenderer ? 'no-css-renderer' : '',
|
|
6887
|
+
this.cssRenderer && typeof this.cssRenderer.renderCamera !== 'function' ? 'no-render-camera' : '',
|
|
6888
|
+
isCss3dEnabled !== true ? 'css3d-disabled' : '',
|
|
6889
|
+
isInLodMode === true ? 'lod-mode' : '',
|
|
6890
|
+
shouldUpdateCss3d !== true ? 'css3d-not-due' : '',
|
|
6891
|
+
(this.isPanning === true || this.isZooming === true || isCameraMoving === true) ? '' : 'not-camera-motion',
|
|
6892
|
+
(isCameraMoving === true || hasFreshImmediateCameraFeedback === true) ? '' : 'no-fresh-camera-motion',
|
|
6893
|
+
isNodeInteracting === true ? 'node-interacting' : '',
|
|
6894
|
+
hasNonCameraNavigationForcedUpdate === true ? 'non-camera-forced-update' : '',
|
|
6895
|
+
hasPendingNearCssWarmup === true ? 'pending-near-css-warmup' : '',
|
|
6896
|
+
hasMotionBlockingOverlayFocus === true ? 'motion-blocking-overlay-focus' : '',
|
|
6897
|
+
hasPendingCss3dParentRepair === true ? 'pending-css3d-parent-repair' : '',
|
|
6898
|
+
this._css3dVisualChangedThisFrame === true ? 'css3d-visual-changed-this-frame' : '',
|
|
6899
|
+
this._css3dVisualChangedSinceLastRender === true ? 'css3d-visual-changed-since-last-render' : '',
|
|
6900
|
+
shouldSyncCss3dTransforms === true ? 'css3d-transform-sync' : '',
|
|
6901
|
+
lodVisualEpochChangedThisFrame === true ? 'lod-visual-epoch-changed' : '',
|
|
6902
|
+
this.isWindowResizing === true ? 'window-resizing' : ''
|
|
6903
|
+
].filter(Boolean)
|
|
6904
|
+
: null;
|
|
6874
6905
|
const shouldRenderCss3dFrame = this.cssRenderer &&
|
|
6875
6906
|
isCss3dEnabled &&
|
|
6876
6907
|
(!isInLodMode || shouldRenderCss3dInLod) &&
|
|
@@ -7115,13 +7146,17 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7115
7146
|
visibilitySkipReason: visibilityCullingSkipReason || this._lastVisibilityCullingSkipReason || '',
|
|
7116
7147
|
incrementalPanVisibility: isIncrementalPanVisibilityFrame === true,
|
|
7117
7148
|
freshImmediateCameraFeedback: hasFreshImmediateCameraFeedback === true,
|
|
7149
|
+
cameraNavigationForceFrames: Number(this._forceUpdateFrames || 0),
|
|
7150
|
+
panLiveRefreshForceFrames: Number(this._panLiveRefreshForceFrames || 0),
|
|
7118
7151
|
shouldSyncCss3dTransforms: shouldSyncCss3dTransforms === true,
|
|
7119
7152
|
shouldRenderCss3d: shouldRenderCss3dFrame === true,
|
|
7120
7153
|
usedCss3dCameraFastPath: canUseCss3dCameraFastPath === true,
|
|
7154
|
+
css3dCameraFastPathBlockers,
|
|
7121
7155
|
immediateCameraFeedback: this._lastImmediateCameraFeedbackStatus || null,
|
|
7122
7156
|
shouldSyncTextOverlays: shouldSyncTextOverlays === true,
|
|
7123
7157
|
usedPassiveOverlayCameraFastPath: usedPassiveOverlayCameraFastPath === true,
|
|
7124
7158
|
passiveOverlaySuppressed: isPassiveOverlaySuppressed === true,
|
|
7159
|
+
webglRenderReason,
|
|
7125
7160
|
webgl: this._lastWebglRenderInfo || null,
|
|
7126
7161
|
sections: sectionTimes
|
|
7127
7162
|
};
|
|
@@ -603,7 +603,7 @@ window.MindMapInteractions = (function () {
|
|
|
603
603
|
if (!module) {
|
|
604
604
|
return;
|
|
605
605
|
}
|
|
606
|
-
wakeCameraNavigationAnimation(module, 'pan-input'
|
|
606
|
+
wakeCameraNavigationAnimation(module, 'pan-input');
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
function applyImmediateCameraNavigationFeedback(module, reason = 'camera-navigation-input') {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
this.setSize = function(width, height){ _width=width; _height=height; _widthHalf=_width/2; _heightHalf=_height/2; domElement.style.width=width+'px'; domElement.style.height=height+'px'; cameraElement.style.width=width+'px'; cameraElement.style.height=height+'px'; };
|
|
41
41
|
function getCameraCSSMatrix(matrix){ var e=matrix.elements; return 'matrix3d('+epsilon(e[0])+','+epsilon(-e[1])+','+epsilon(e[2])+','+epsilon(e[3])+','+epsilon(e[4])+','+epsilon(-e[5])+','+epsilon(e[6])+','+epsilon(e[7])+','+epsilon(e[8])+','+epsilon(-e[9])+','+epsilon(e[10])+','+epsilon(e[11])+','+epsilon(e[12])+','+epsilon(-e[13])+','+epsilon(e[14])+','+epsilon(e[15])+')'; }
|
|
42
42
|
function getObjectCSSMatrix(matrix){ var e=matrix.elements; var m='matrix3d('+epsilon(e[0])+','+epsilon(e[1])+','+epsilon(e[2])+','+epsilon(e[3])+','+epsilon(-e[4])+','+epsilon(-e[5])+','+epsilon(-e[6])+','+epsilon(-e[7])+','+epsilon(e[8])+','+epsilon(e[9])+','+epsilon(e[10])+','+epsilon(e[11])+','+epsilon(e[12])+','+epsilon(e[13])+','+epsilon(e[14])+','+epsilon(e[15])+')'; return m; }
|
|
43
|
-
function renderObject(object, scene, camera, cameraCSSMatrix){ if (object.isCSS3DObject){ var style=getObjectCSSMatrix(object.matrixWorld); var element=object.element; var cached=cache.objects.get(object); if (cached===undefined || cached.style!==style){ element.style.webkitTransform=element.style.transform=style;
|
|
43
|
+
function renderObject(object, scene, camera, cameraCSSMatrix){ if (object.isCSS3DObject){ var style=getObjectCSSMatrix(object.matrixWorld); var display=object.visible ? '' : 'none'; var element=object.element; var cached=cache.objects.get(object); var changed=false; if (cached===undefined || cached.style!==style){ element.style.webkitTransform=element.style.transform=style; changed=true; } if (cached===undefined || cached.display!==display){ element.style.display=display; changed=true; } if (changed){ cache.objects.set(object, { style, display }); } if (element.parentNode !== cameraElement){ cameraElement.appendChild(element); } } for (var i=0,l=object.children.length;i<l;i++){ renderObject(object.children[i], scene, camera, cameraCSSMatrix); } }
|
|
44
44
|
function renderCameraOnly(renderer, camera){ var fov=camera.projectionMatrix.elements[5]*_heightHalf; if (cache.camera.fov!==fov){ renderer.domElement.style.webkitPerspective=renderer.domElement.style.perspective=fov+'px'; cache.camera.fov=fov; } if (camera.parent===null) camera.updateMatrixWorld(); var cameraCSSMatrix='translateZ('+fov+'px)'+getCameraCSSMatrix(camera.matrixWorldInverse); var style=cameraCSSMatrix+'translate('+_widthHalf+'px,'+_heightHalf+'px)'; if (cache.camera.style!==style){ cameraElement.style.webkitTransform=cameraElement.style.transform=style; cache.camera.style=style; } return cameraCSSMatrix; }
|
|
45
45
|
this.renderCamera = function(camera){ renderCameraOnly(this, camera); };
|
|
46
46
|
this.render = function(scene, camera){ if (scene.autoUpdate===true) scene.updateMatrixWorld(); var cameraCSSMatrix=renderCameraOnly(this, camera); renderObject(scene, scene, camera, cameraCSSMatrix); };
|
package/wwwroot/index.html
CHANGED
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
const base = '_content/MindExecution.Shared/js/';
|
|
582
|
-
const scriptVersion = '20260628-
|
|
582
|
+
const scriptVersion = '20260628-pan-force-debug-v851';
|
|
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": "DrzIrf2A",
|
|
3
3
|
"assets": [
|
|
4
4
|
{
|
|
5
5
|
"hash": "sha256-+CSYMcqLNTsq3VnH11jgYyOCCdxvHzL74CBmo4sCmMU=",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"url": "_content/MindExecution.Shared/js/marked.min.js"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
"hash": "sha256-
|
|
81
|
+
"hash": "sha256-b6Nfm684RqCzBPfV+Du61TFP/2We6ODOzNhT+ntXydM=",
|
|
82
82
|
"url": "_content/MindExecution.Shared/js/mind-map-core.js"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -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-67E59SHX1KKYfGw/oN7OuZpYhklWT02DJ4PivVP/BeM=",
|
|
110
110
|
"url": "_content/MindExecution.Shared/js/mind-map-interactions.js"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"url": "_content/MindExecution.Shared/js/plan-master.js"
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
|
-
"hash": "sha256-
|
|
181
|
+
"hash": "sha256-yQfQxPDlaJfN38SmEl42Yx6az8cBxcBhHC/Zm0RFkLg=",
|
|
182
182
|
"url": "_content/MindExecution.Shared/js/renderers/CSS3DRenderer.js"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
"url": "icon-512.png"
|
|
827
827
|
},
|
|
828
828
|
{
|
|
829
|
-
"hash": "sha256-
|
|
829
|
+
"hash": "sha256-NZNBgVWm80TaI5/hyqNq7KPNWVAWa2fH0tSZssi0DK8=",
|
|
830
830
|
"url": "index.html"
|
|
831
831
|
},
|
|
832
832
|
{
|