fw-webbuilder 1.1.2 → 1.1.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/fw-webbuilder.mjs +1 -1
- package/index.d.ts +2 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -470,7 +470,6 @@ declare class WbDragDrop implements OnInit {
|
|
|
470
470
|
webBuilderService: webBuilderService;
|
|
471
471
|
el: ElementRef;
|
|
472
472
|
private renderer;
|
|
473
|
-
dragPreview: HTMLElement | null;
|
|
474
473
|
/**
|
|
475
474
|
* DOM phần tử cha
|
|
476
475
|
*/
|
|
@@ -504,10 +503,6 @@ declare class WbDragDrop implements OnInit {
|
|
|
504
503
|
* biến này để theo dõi con trỏ chuột để resize top, left
|
|
505
504
|
* */
|
|
506
505
|
currPos: any;
|
|
507
|
-
/**
|
|
508
|
-
* biến là top, left của this.data, cập nhật biến này khi kéo hoặc resize, pointerup mới cập nhật dữ liệu trong this.data
|
|
509
|
-
*/
|
|
510
|
-
currPosClone: any;
|
|
511
506
|
/**
|
|
512
507
|
* biến cờ để biết đã kéo hay resize chưa, tránh click vào là update db luôn
|
|
513
508
|
*/
|
|
@@ -517,6 +512,7 @@ declare class WbDragDrop implements OnInit {
|
|
|
517
512
|
private isDragging;
|
|
518
513
|
private mouseMoveListener;
|
|
519
514
|
private mouseUpListener;
|
|
515
|
+
updateMinHeightSub: any;
|
|
520
516
|
constructor(webBuilderService: webBuilderService, el: ElementRef, renderer: Renderer2);
|
|
521
517
|
ngOnInit(): void;
|
|
522
518
|
ngAfterViewInit(): void;
|
|
@@ -534,10 +530,8 @@ declare class WbDragDrop implements OnInit {
|
|
|
534
530
|
* hàm này cập nhật bottom và right của phần tử resize sử dụng
|
|
535
531
|
*/
|
|
536
532
|
updateInitBottomAndRight(): void;
|
|
537
|
-
createDragPreview(): void;
|
|
538
533
|
onPointerDown(e: any): void;
|
|
539
534
|
private onMouseMove;
|
|
540
|
-
removeDragView(): void;
|
|
541
535
|
private onMouseUp;
|
|
542
536
|
ngOnDestroy(): void;
|
|
543
537
|
private cleanupListeners;
|
|
@@ -546,7 +540,6 @@ declare class WbDragDrop implements OnInit {
|
|
|
546
540
|
getLeftDrag(): 0 | -24;
|
|
547
541
|
handleResizePointerDown(e: any, direction: any): void;
|
|
548
542
|
handleResizePointerMove(e: any): void;
|
|
549
|
-
updatePosition(): void;
|
|
550
543
|
handleResizePointerUp(e: any): void;
|
|
551
544
|
minTop: any;
|
|
552
545
|
onResizeTop(e: any): void;
|
|
@@ -1976,6 +1969,7 @@ declare class WbButton implements OnInit {
|
|
|
1976
1969
|
* */
|
|
1977
1970
|
scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
|
|
1978
1971
|
positionModal(): any;
|
|
1972
|
+
ngAfterViewChecked(): void;
|
|
1979
1973
|
conditionDisplay(): boolean;
|
|
1980
1974
|
onCloseDialog(): void;
|
|
1981
1975
|
handleAddToCart(): void;
|