@foblex/flow 19.1.1 → 19.1.3
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/AI.md +23 -0
- package/fesm2022/foblex-flow.mjs +28 -10
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/index.d.ts +6 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9549,6 +9549,8 @@ declare class FFlowStateController {
|
|
|
9549
9549
|
*/
|
|
9550
9550
|
private _onCanvasChange;
|
|
9551
9551
|
private _flushCanvasChange;
|
|
9552
|
+
private _scheduleCanvasChangeFlush;
|
|
9553
|
+
private _isSameCanvasTransform;
|
|
9552
9554
|
/**
|
|
9553
9555
|
* Subscribes to every node's and group's `sizeChange` (a per-directive
|
|
9554
9556
|
* output, not a draggable event) so a resize — most often a group
|
|
@@ -9619,9 +9621,10 @@ interface IFFlowStateConfig {
|
|
|
9619
9621
|
*/
|
|
9620
9622
|
canvasTransformInHistory?: boolean;
|
|
9621
9623
|
/**
|
|
9622
|
-
* Debounce (ms) for recording canvas pan/zoom into history. Default `
|
|
9623
|
-
* zoom or pan fires a burst of `fCanvasChange` events;
|
|
9624
|
-
* collapses the burst into a single undoable step once
|
|
9624
|
+
* Debounce (ms) for recording canvas pan/zoom into history. Default `350`.
|
|
9625
|
+
* A zoom or pan fires a burst of `fCanvasChange` events; the debounce
|
|
9626
|
+
* collapses the burst into a single undoable step once the live canvas has
|
|
9627
|
+
* settled. Set `0` to record every emitted change immediately. A drag pan
|
|
9625
9628
|
* still folds into one step regardless (captured at drag end).
|
|
9626
9629
|
*/
|
|
9627
9630
|
canvasTransformDebounce?: number;
|
package/package.json
CHANGED