@cuby-ui/core 0.0.596 → 0.0.597
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.
|
@@ -8,22 +8,24 @@ export declare class CuiEditorComponent implements OnDestroy {
|
|
|
8
8
|
private readonly editorService;
|
|
9
9
|
private readonly jTextService;
|
|
10
10
|
private readonly POOLING_DELAY;
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly SCROLL_THROTTLE_TIME;
|
|
11
|
+
private readonly RETRY_DELAY;
|
|
13
12
|
private readonly emptyQueue;
|
|
14
13
|
private initChain;
|
|
15
|
-
private
|
|
16
|
-
private
|
|
14
|
+
private lazyLoadObserver;
|
|
15
|
+
private lazyLoadSubscription;
|
|
17
16
|
private isSkipCombinedBlockOnChange;
|
|
18
17
|
private isFirst;
|
|
19
18
|
private isChanging;
|
|
20
19
|
private isSkip;
|
|
21
20
|
private isRequested;
|
|
22
21
|
private isDestroyed;
|
|
22
|
+
private isPreloadFinished;
|
|
23
|
+
private hasEndLeftZone;
|
|
23
24
|
private blockIdsMap;
|
|
24
25
|
private combinedBlocks;
|
|
25
26
|
private index;
|
|
26
27
|
private page;
|
|
28
|
+
private lazyLoadVersion;
|
|
27
29
|
private addedBlocks;
|
|
28
30
|
private updatedBlocks;
|
|
29
31
|
private removedBlocksIds;
|
|
@@ -32,6 +34,7 @@ export declare class CuiEditorComponent implements OnDestroy {
|
|
|
32
34
|
protected readonly editorId: string;
|
|
33
35
|
private readonly isReadonly;
|
|
34
36
|
private readonly requestOptions;
|
|
37
|
+
private readonly editorEndRef;
|
|
35
38
|
protected readonly editorRef: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
36
39
|
readonly editorApiId: import("@angular/core").InputSignal<string>;
|
|
37
40
|
readonly config: import("@angular/core").InputSignal<CuiEditorConfig>;
|
|
@@ -41,17 +44,24 @@ export declare class CuiEditorComponent implements OnDestroy {
|
|
|
41
44
|
editorElement: HTMLElement;
|
|
42
45
|
constructor();
|
|
43
46
|
ngOnDestroy(): void;
|
|
44
|
-
private
|
|
47
|
+
private loadPage;
|
|
48
|
+
private finishPageLoad;
|
|
49
|
+
private retryPageLoad;
|
|
50
|
+
private scheduleNextPage;
|
|
51
|
+
private continueLazyLoad;
|
|
52
|
+
private finishPreload;
|
|
45
53
|
private onEditorChange;
|
|
46
54
|
private onAddedCombinedBlock;
|
|
47
55
|
private onUpdatedCombinedBlock;
|
|
48
56
|
private onRemovedCombinedBlock;
|
|
49
|
-
private
|
|
57
|
+
private onEditorEndMove;
|
|
50
58
|
private initEditorEffect;
|
|
51
59
|
private initEditorChanges;
|
|
52
|
-
private
|
|
60
|
+
private recalculateAllBlocksAfterRemoval;
|
|
61
|
+
private observeEditorEnd;
|
|
62
|
+
private createLazyLoadObserver;
|
|
63
|
+
private getViewportElement;
|
|
53
64
|
private initEditorEvents;
|
|
54
|
-
private startPooling;
|
|
55
65
|
private teardownEditor;
|
|
56
66
|
private enqueueInit;
|
|
57
67
|
private runEditorInit;
|
|
@@ -75,6 +85,7 @@ export declare class CuiEditorComponent implements OnDestroy {
|
|
|
75
85
|
private setFocus;
|
|
76
86
|
private checkIsEmpty;
|
|
77
87
|
private resetData;
|
|
88
|
+
private resetLazyLoad;
|
|
78
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<CuiEditorComponent, never>;
|
|
79
90
|
static ɵcmp: i0.ɵɵComponentDeclaration<CuiEditorComponent, "cui-editor", never, { "editorApiId": { "alias": "editorApiId"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "requestSize": { "alias": "requestSize"; "required": false; "isSignal": true; }; }, { "editorEmpty": "editorEmpty"; }, never, never, true, never>;
|
|
80
91
|
}
|