@mindexec/cli 0.2.436 → 0.2.437
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 +28 -16
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-css3d-manager.js +2 -2
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-lod-renderer.js +153 -233
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-logic-workers.js +26 -5
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-normal-boundary-optimizer.js +624 -0
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-render-plan.js +40 -23
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-visibility-worker.js +10 -5
- package/wwwroot/_content/MindExecution.Shared/js/renderers/CSS3DRenderer.js +10 -1
- package/wwwroot/_framework/{MindExecution.Plugins.Concept.7uhld08zkc.dll → MindExecution.Plugins.Concept.vbnlpkxcoo.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.PlanMaster.y1sj1ifw0z.dll → MindExecution.Plugins.PlanMaster.k3xu6iqktj.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.YouTube.ij0uk05x1o.dll → MindExecution.Plugins.YouTube.dqlboez3y6.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Shared.1h72etbxec.dll → MindExecution.Shared.6xss0iwsn1.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Web.18xe2efznc.dll → MindExecution.Web.22pax8j6l6.dll} +0 -0
- package/wwwroot/_framework/blazor.boot.json +11 -11
- package/wwwroot/index.html +3 -2
- package/wwwroot/service-worker-assets.js +24 -20
- package/wwwroot/service-worker.js +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function () {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
const LOGIC_WORKER_BRIDGE_BUILD_ID = '
|
|
4
|
+
const LOGIC_WORKER_BRIDGE_BUILD_ID = '20260713-worker-visibility-sequence-v007';
|
|
5
5
|
const VISIBILITY_WORKER_URL = `_content/MindExecution.Shared/js/mind-map-visibility-worker.js?v=${LOGIC_WORKER_BRIDGE_BUILD_ID}`;
|
|
6
6
|
const LOD_PLAN_WORKER_URL = `_content/MindExecution.Shared/js/mind-map-lod-plan-worker.js?v=${LOGIC_WORKER_BRIDGE_BUILD_ID}`;
|
|
7
7
|
const NODE_SEARCH_WORKER_URL = `_content/MindExecution.Shared/js/mind-map-node-search-worker.js?v=${LOGIC_WORKER_BRIDGE_BUILD_ID}`;
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
this._latestSearchRequestSeq = 0;
|
|
188
188
|
this._pendingLodPlanKey = '';
|
|
189
189
|
this._visibilityQueryPending = false;
|
|
190
|
+
this._inFlightVisibilityRequestSeq = 0;
|
|
190
191
|
this._deferredVisibilityPayload = null;
|
|
191
192
|
this._hitTestQueryPending = false;
|
|
192
193
|
this._deferredHitTestPayload = null;
|
|
@@ -241,6 +242,9 @@
|
|
|
241
242
|
if (kind === 'visibility') {
|
|
242
243
|
this._visibilityDisabled = true;
|
|
243
244
|
this._visibilityReady = false;
|
|
245
|
+
this._visibilityQueryPending = false;
|
|
246
|
+
this._inFlightVisibilityRequestSeq = 0;
|
|
247
|
+
this._deferredVisibilityPayload = null;
|
|
244
248
|
this._clearHitTestCache(this.module);
|
|
245
249
|
this._hitTestQueryPending = false;
|
|
246
250
|
this._deferredHitTestPayload = null;
|
|
@@ -346,14 +350,15 @@
|
|
|
346
350
|
return;
|
|
347
351
|
}
|
|
348
352
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
353
|
+
const resultSeq = Math.max(0, Math.floor(Number(data.seq || 0)));
|
|
354
|
+
const inFlightSeq = Math.max(0, Math.floor(Number(this._inFlightVisibilityRequestSeq || 0)));
|
|
355
|
+
if (resultSeq <= 0 || resultSeq !== inFlightSeq) {
|
|
352
356
|
return;
|
|
353
357
|
}
|
|
354
358
|
|
|
355
359
|
module._applyWorkerVisibilityResult?.(data);
|
|
356
360
|
this._visibilityQueryPending = false;
|
|
361
|
+
this._inFlightVisibilityRequestSeq = 0;
|
|
357
362
|
this._flushDeferredVisibilityRequest();
|
|
358
363
|
}
|
|
359
364
|
|
|
@@ -510,6 +515,9 @@
|
|
|
510
515
|
this._visibilityReady = false;
|
|
511
516
|
this._lodPlanReady = false;
|
|
512
517
|
this._searchReady = false;
|
|
518
|
+
this._visibilityQueryPending = false;
|
|
519
|
+
this._inFlightVisibilityRequestSeq = 0;
|
|
520
|
+
this._deferredVisibilityPayload = null;
|
|
513
521
|
this._hitTestQueryPending = false;
|
|
514
522
|
this._deferredHitTestPayload = null;
|
|
515
523
|
this._resolvePendingSelectionQueries(null);
|
|
@@ -526,6 +534,7 @@
|
|
|
526
534
|
this._latestSearchRequestSeq = 0;
|
|
527
535
|
this._pendingLodPlanKey = '';
|
|
528
536
|
this._visibilityQueryPending = false;
|
|
537
|
+
this._inFlightVisibilityRequestSeq = 0;
|
|
529
538
|
this._deferredVisibilityPayload = null;
|
|
530
539
|
this._hitTestQueryPending = false;
|
|
531
540
|
this._deferredHitTestPayload = null;
|
|
@@ -707,7 +716,15 @@
|
|
|
707
716
|
: Date.now();
|
|
708
717
|
const isCtrlWheelVerticalScrolling =
|
|
709
718
|
(now - Number(activeModule._ctrlWheelScrollInputTime || 0)) <= CTRL_WHEEL_SCROLL_ACTIVE_WINDOW_MS;
|
|
710
|
-
|
|
719
|
+
let seq = 0;
|
|
720
|
+
if (this._visibilityQueryPending === true) {
|
|
721
|
+
seq = Math.max(0, Math.floor(Number(this._deferredVisibilityPayload?.seq || 0)));
|
|
722
|
+
if (seq <= 0) {
|
|
723
|
+
seq = ++this._latestVisibilityRequestSeq;
|
|
724
|
+
}
|
|
725
|
+
} else {
|
|
726
|
+
seq = ++this._latestVisibilityRequestSeq;
|
|
727
|
+
}
|
|
711
728
|
|
|
712
729
|
const payload = {
|
|
713
730
|
type: 'VISIBILITY_QUERY',
|
|
@@ -745,6 +762,7 @@
|
|
|
745
762
|
|
|
746
763
|
const posted = this._post(this._visibilityWorker, this._stampVisibilityPayloadForPost(payload));
|
|
747
764
|
this._visibilityQueryPending = posted;
|
|
765
|
+
this._inFlightVisibilityRequestSeq = posted ? seq : 0;
|
|
748
766
|
return posted;
|
|
749
767
|
}
|
|
750
768
|
|
|
@@ -757,6 +775,9 @@
|
|
|
757
775
|
this._deferredVisibilityPayload = null;
|
|
758
776
|
const posted = this._post(this._visibilityWorker, this._stampVisibilityPayloadForPost(payload));
|
|
759
777
|
this._visibilityQueryPending = posted;
|
|
778
|
+
this._inFlightVisibilityRequestSeq = posted
|
|
779
|
+
? Math.max(0, Math.floor(Number(payload.seq || 0)))
|
|
780
|
+
: 0;
|
|
760
781
|
}
|
|
761
782
|
|
|
762
783
|
_describeHitTestQuery(module = this.module, options = {}) {
|