fw-webbuilder 1.1.277 → 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 +2 -0
- 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
|
}
|