fw-webbuilder 1.1.221 → 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;
@@ -1585,7 +1586,7 @@ declare class WbFrameBlank implements OnInit {
1585
1586
  dataClone: any;
1586
1587
  placeholderEle: HTMLDivElement | null;
1587
1588
  animationSub: any;
1588
- constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef);
1589
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef, router: Router);
1589
1590
  ngOnInit(): void;
1590
1591
  ngAfterViewInit(): void;
1591
1592
  updateDataClone(): void;
@@ -1593,6 +1594,12 @@ declare class WbFrameBlank implements OnInit {
1593
1594
  ngOnChanges(changes: SimpleChanges): void;
1594
1595
  ngOnDestroy(): void;
1595
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;
1596
1603
  static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBlank, never>;
1597
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>;
1598
1605
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.221",
3
+ "version": "1.1.222",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",