fw-webbuilder 1.1.276 → 1.1.278
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/fw-webbuilder.mjs +1 -1
- package/index.d.ts +9 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -215,6 +215,7 @@ declare class webBuilderService {
|
|
|
215
215
|
flatNodes(nodes: any): any;
|
|
216
216
|
getPages(): Promise<any>;
|
|
217
217
|
addBlock(data: any, code?: any): Promise<any>;
|
|
218
|
+
addBlankBlockAtPosition(targetBlockId: string, position: 'above' | 'below'): Promise<any>;
|
|
218
219
|
/**
|
|
219
220
|
* các hàm raw không xử lý dữ liệu đầu vào trước khi gửi đi
|
|
220
221
|
*/
|
|
@@ -786,6 +787,7 @@ declare class WbDragDrop implements OnInit {
|
|
|
786
787
|
updatePositionAndClass(codeUpdate: any): void;
|
|
787
788
|
conditionShowActive(): any;
|
|
788
789
|
conditionShowResize(): any;
|
|
790
|
+
onAddBlock(position: 'above' | 'below', event?: MouseEvent): void;
|
|
789
791
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbDragDrop, never>;
|
|
790
792
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbDragDrop, "[wbdragdrop]", never, { "boundaryEle": { "alias": "boundaryEle"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "top": { "alias": "top"; "required": false; }; "left": { "alias": "left"; "required": false; }; "position": { "alias": "position"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
791
793
|
}
|
|
@@ -3097,8 +3099,9 @@ declare class WbMapConfig implements OnInit {
|
|
|
3097
3099
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbMapConfig, "wb-map-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configIframeCode": { "alias": "configIframeCode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3098
3100
|
}
|
|
3099
3101
|
|
|
3100
|
-
declare class WbGoogleMap implements OnInit {
|
|
3102
|
+
declare class WbGoogleMap implements OnInit, OnDestroy {
|
|
3101
3103
|
private webBuilderService;
|
|
3104
|
+
private el;
|
|
3102
3105
|
data: any;
|
|
3103
3106
|
device: any;
|
|
3104
3107
|
class: any;
|
|
@@ -3107,8 +3110,12 @@ declare class WbGoogleMap implements OnInit {
|
|
|
3107
3110
|
type: any;
|
|
3108
3111
|
isClone: any;
|
|
3109
3112
|
product: any;
|
|
3110
|
-
|
|
3113
|
+
isIntersected: boolean;
|
|
3114
|
+
private observer;
|
|
3115
|
+
constructor(webBuilderService: webBuilderService, el: ElementRef);
|
|
3111
3116
|
ngOnInit(): void;
|
|
3117
|
+
ngOnDestroy(): void;
|
|
3118
|
+
setupIntersectionObserver(): void;
|
|
3112
3119
|
updateDataClone(): void;
|
|
3113
3120
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3114
3121
|
getMapCode(): any;
|