slate-angular 20.2.0-next.2 → 20.2.0-next.4
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/fesm2022/slate-angular.mjs +102 -80
- package/fesm2022/slate-angular.mjs.map +1 -1
- package/index.d.ts +8 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -413,6 +413,7 @@ declare class SlateEditable implements OnInit, OnChanges, OnDestroy, AfterViewCh
|
|
|
413
413
|
composePlaceholderDecorate(editor: Editor): SlatePlaceholder[];
|
|
414
414
|
generateDecorations(): slate.BaseRange[];
|
|
415
415
|
private shouldUseVirtual;
|
|
416
|
+
private businessHeight;
|
|
416
417
|
virtualScrollInitialized: boolean;
|
|
417
418
|
virtualTopHeightElement: HTMLElement;
|
|
418
419
|
virtualBottomHeightElement: HTMLElement;
|
|
@@ -427,7 +428,7 @@ declare class SlateEditable implements OnInit, OnChanges, OnDestroy, AfterViewCh
|
|
|
427
428
|
private getBufferBelowHeight;
|
|
428
429
|
private scheduleMeasureVisibleHeights;
|
|
429
430
|
private measureVisibleHeights;
|
|
430
|
-
private
|
|
431
|
+
private remeasureHeightByIndics;
|
|
431
432
|
private addEventListener;
|
|
432
433
|
private toSlateSelection;
|
|
433
434
|
private onDOMBeforeInput;
|
|
@@ -581,7 +582,9 @@ declare class BaseElementComponent<T extends Element$1 = Element$1, K extends An
|
|
|
581
582
|
onContextChange(): void;
|
|
582
583
|
updateChildrenView(): void;
|
|
583
584
|
getChildrenContext(): SlateChildrenContext;
|
|
584
|
-
|
|
585
|
+
stableHeight: null | number;
|
|
586
|
+
isStableHeight(): boolean;
|
|
587
|
+
getRealHeight(): number | Promise<number>;
|
|
585
588
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseElementComponent<any, any>, never>;
|
|
586
589
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseElementComponent<any, any>, never, never, {}, {}, never, never, true, never>;
|
|
587
590
|
}
|
|
@@ -641,7 +644,9 @@ declare abstract class BaseElementFlavour<T extends Element$1 = Element$1, K ext
|
|
|
641
644
|
onContextChange(): void;
|
|
642
645
|
updateChildrenView(): void;
|
|
643
646
|
getChildrenContext(): SlateChildrenContext;
|
|
644
|
-
|
|
647
|
+
stableHeight: null | number;
|
|
648
|
+
isStableHeight(): boolean;
|
|
649
|
+
getRealHeight(): number | Promise<number>;
|
|
645
650
|
abstract render(): void;
|
|
646
651
|
abstract rerender(): void;
|
|
647
652
|
}
|
package/package.json
CHANGED