fw-webbuilder 1.1.254 → 1.1.256

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
@@ -350,8 +350,6 @@ declare class webBuilderService {
350
350
  private updatePage2;
351
351
  private deleteObject2;
352
352
  private deleteBlock2;
353
- applyFontLinks(fontLinksFromDB: string): void;
354
- getFontNames(fontLinkTag: string): string[];
355
353
  /**
356
354
  * hàm này dùng để copy block
357
355
  * @param page _id của page chứa block
@@ -427,6 +425,14 @@ declare class webBuilderService {
427
425
  pasteFormatStyle(item: any): void;
428
426
  exportProjectBackup(type: 'template' | 'content'): Promise<any>;
429
427
  importProjectBackup(file: File): Promise<any>;
428
+ /**
429
+ * Tải và áp dụng các thẻ <link> font vào <head> của trang
430
+ */
431
+ applyFontLinks(fontHtml: string): void;
432
+ /**
433
+ * Trích xuất tên các Font từ chuỗi HTML link của Google Fonts
434
+ */
435
+ getFontNames(fontHtml: string): string[];
430
436
  static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
431
437
  static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
432
438
  }
@@ -1648,6 +1654,8 @@ declare class WbFrameBlankConfig implements OnInit {
1648
1654
  declare class WbFrameTab implements OnInit {
1649
1655
  webBuilderService: webBuilderService;
1650
1656
  map: ComponentMapService;
1657
+ private router;
1658
+ private route;
1651
1659
  data: any;
1652
1660
  device: any;
1653
1661
  class: any;
@@ -1656,7 +1664,7 @@ declare class WbFrameTab implements OnInit {
1656
1664
  type: any;
1657
1665
  product: any;
1658
1666
  currentTab: number;
1659
- constructor(webBuilderService: webBuilderService, map: ComponentMapService);
1667
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, router: Router, route: ActivatedRoute);
1660
1668
  ngOnInit(): void;
1661
1669
  updateDataClone(): void;
1662
1670
  ngOnChanges(changes: SimpleChanges): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.254",
3
+ "version": "1.1.256",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",