fw-webbuilder 1.1.220 → 1.1.222

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
@@ -9,7 +9,7 @@ import { Overlay } from '@angular/cdk/overlay';
9
9
  import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
10
10
  import { TranslateService } from '@ngx-translate/core';
11
11
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
12
- import { ActivatedRoute, Router } from '@angular/router';
12
+ import { Router, ActivatedRoute } from '@angular/router';
13
13
  import { Title, Meta, SafeHtml, SafeUrl, DomSanitizer } from '@angular/platform-browser';
14
14
  import { NzTableQueryParams } from 'ng-zorro-antd/table';
15
15
 
@@ -1565,6 +1565,7 @@ declare class WbFrameBlank implements OnInit {
1565
1565
  webBuilderService: webBuilderService;
1566
1566
  map: ComponentMapService;
1567
1567
  el: ElementRef;
1568
+ private router;
1568
1569
  data: any;
1569
1570
  device: any;
1570
1571
  class: any;
@@ -1578,19 +1579,27 @@ declare class WbFrameBlank implements OnInit {
1578
1579
  rectTop: number;
1579
1580
  height: number;
1580
1581
  bottomParent: number;
1581
- oldMarginTop: number;
1582
+ oldMarginTop: any;
1583
+ oldMarginLeft: any;
1582
1584
  refPosBounding: any;
1583
1585
  scrollbarEle: any;
1584
1586
  dataClone: any;
1587
+ placeholderEle: HTMLDivElement | null;
1585
1588
  animationSub: any;
1586
- constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef);
1589
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef, router: Router);
1587
1590
  ngOnInit(): void;
1588
1591
  ngAfterViewInit(): void;
1589
- updateAnimation(): void;
1590
1592
  updateDataClone(): void;
1593
+ updateAnimation(): void;
1591
1594
  ngOnChanges(changes: SimpleChanges): void;
1592
1595
  ngOnDestroy(): void;
1593
1596
  handleScroll: (e: Event) => void;
1597
+ onClick(e: any): void;
1598
+ navigate(): void;
1599
+ /**
1600
+ * Hàm chờ khối xuất hiện và cuộn đến chuẩn xác
1601
+ * */
1602
+ scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
1594
1603
  static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBlank, never>;
1595
1604
  static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameBlank, "wb-frame-blank", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "class": { "alias": "class"; "required": false; }; "config": { "alias": "config"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "type": { "alias": "type"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
1596
1605
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.220",
3
+ "version": "1.1.222",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",