@fileverse-dev/dsheet 4.1.23-stabilise-package-4 → 4.1.23-stabilise-package-5
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/dist/editor/utils/remote-apply-guard.d.ts +10 -13
- package/dist/{executeStringFunction-BsVLVYUB.js → executeStringFunction-BEXVKyb4.js} +534 -531
- package/dist/formula.js +1 -1
- package/dist/{index-YKT7Lz7Z.js → index-B2qRWUrt.js} +7429 -7307
- package/dist/index.es.js +2 -2
- package/dist/sheet-engine/core/modules/formula-dep-text.d.ts +15 -0
- package/dist/sheet-engine/core/modules/formula-dep-text.test.d.ts +1 -0
- package/dist/sheet-engine/core/modules/formula-warmup.d.ts +2 -7
- package/dist/sheet-engine/core/modules/formula.d.ts +6 -0
- package/dist/{use-xlsx-import-impl-8Lojcck9.js → use-xlsx-import-impl-C8P5kg6K.js} +4 -4
- package/dist/{xlsx-defined-names-D3F23p2Z.js → xlsx-defined-names-BPf5_A0O.js} +2 -2
- package/dist/{xlsx-export-impl-DXWvjnk5.js → xlsx-export-impl-GUjuzWHG.js} +4 -4
- package/dist/{xlsx-hyperlink-inline-07QbQDEt.js → xlsx-hyperlink-inline-yhXVMMJ9.js} +2 -2
- package/package.json +1 -1
|
@@ -34,26 +34,23 @@ export type StructuralRemountRefs = RemoteApplyGuardRefs & {
|
|
|
34
34
|
/**
|
|
35
35
|
* Debounced structural remount under the remote-apply guard.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* is
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* in afterUpdateCell and the commit-time write do not check it.) What must not
|
|
43
|
-
* run while a remount is pending is the engine → Yjs echo hooks, which diff
|
|
44
|
-
* the old grid against Yjs: they check `shouldSkipEchoWrite`. Events that
|
|
45
|
-
* land while one is pending only re-arm its timer.
|
|
37
|
+
* Each pending remount owns exactly one begin and one end (B1): the guard is
|
|
38
|
+
* begun when the remount becomes pending (no remount was pending before),
|
|
39
|
+
* held while the timer is pending or deferred by a cell edit (B3), and ended
|
|
40
|
+
* after paint once `run` has finished. Events that land while one is pending
|
|
41
|
+
* only re-arm its timer.
|
|
46
42
|
*
|
|
47
43
|
* While `isEditing()` is true at fire time the timer re-arms (250 ms) and the
|
|
48
|
-
* pending flag
|
|
44
|
+
* pending flag and guard depth are kept; the remount runs once the edit ends.
|
|
45
|
+
* The typed cell itself is still written: the commit-time write and the cell
|
|
46
|
+
* write in afterUpdateCell do not check the guard.
|
|
49
47
|
*/
|
|
50
48
|
export declare function scheduleStructuralRemount(refs: StructuralRemountRefs, run: () => void, delayMs?: number, isEditing?: () => boolean): void;
|
|
51
49
|
/** Re-arm interval while a cell edit blocks the remount. */
|
|
52
50
|
export declare const STRUCTURAL_REMOUNT_EDIT_RETRY_MS = 250;
|
|
53
51
|
/**
|
|
54
|
-
* Drop a pending structural remount (observer teardown)
|
|
55
|
-
*
|
|
56
|
-
* to release here.
|
|
52
|
+
* Drop a pending structural remount (observer teardown) and release the
|
|
53
|
+
* guard begun for it.
|
|
57
54
|
*/
|
|
58
55
|
export declare function cancelStructuralRemount(refs: StructuralRemountRefs): void;
|
|
59
56
|
/**
|