fw-webbuilder 1.1.277 → 1.1.279

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/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
  }
@@ -2630,6 +2632,7 @@ declare class WbMenuHorizontal implements OnInit, OnDestroy {
2630
2632
  private route;
2631
2633
  private el;
2632
2634
  private cdr;
2635
+ private modal;
2633
2636
  data: any;
2634
2637
  device: any;
2635
2638
  class: any;
@@ -2647,7 +2650,9 @@ declare class WbMenuHorizontal implements OnInit, OnDestroy {
2647
2650
  scrollbarEle: any;
2648
2651
  activeBlockId: string | null;
2649
2652
  routerSub: any;
2650
- constructor(webBuilderService: webBuilderService, map: ComponentMapService, router: Router, route: ActivatedRoute, el: ElementRef, cdr: ChangeDetectorRef);
2653
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, router: Router, route: ActivatedRoute, el: ElementRef, cdr: ChangeDetectorRef, modal: NzModalService);
2654
+ onDblClick(event: MouseEvent): void;
2655
+ handleEditContent(): void;
2651
2656
  updateLinkPage(): void;
2652
2657
  ngOnInit(): void;
2653
2658
  updateDataClone(): void;
@@ -2697,6 +2702,7 @@ declare class WbMenuMobile implements OnInit, AfterViewInit, OnDestroy {
2697
2702
  private router;
2698
2703
  private route;
2699
2704
  private cdr;
2705
+ private modal;
2700
2706
  data: any;
2701
2707
  device: any;
2702
2708
  class: any;
@@ -2709,7 +2715,9 @@ declare class WbMenuMobile implements OnInit, AfterViewInit, OnDestroy {
2709
2715
  scrollbarEle: any;
2710
2716
  activeBlockId: string | null;
2711
2717
  routerSub: any;
2712
- constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef);
2718
+ constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef, modal: NzModalService);
2719
+ onDblClick(event: MouseEvent): void;
2720
+ handleEditContent(): void;
2713
2721
  updateLinkPage(): void;
2714
2722
  ngOnInit(): void;
2715
2723
  updateDataClone(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.277",
3
+ "version": "1.1.279",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",