fw-webbuilder 1.1.225 → 1.1.227

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
@@ -13,24 +13,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
 
16
- declare class SocketService {
17
- private apiUrl;
18
- private socket;
19
- connect(): void;
20
- sendMessage(event: string, data: any): void;
21
- onMessage(event: string, callback: (data: any) => void): void;
22
- disconnect(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<SocketService, never>;
24
- static ɵprov: i0.ɵɵInjectableDeclaration<SocketService>;
25
- }
26
-
27
16
  /**
28
17
  * CÁCH LÀM CLONE
29
18
  * đối tượng clone sẽ có thêm field id_clone(lưu _id gốc)
30
19
  */
31
20
  declare class webBuilderService {
32
21
  private http;
33
- private socketService;
34
22
  private apiUrl;
35
23
  private urlBE;
36
24
  group: any;
@@ -124,7 +112,7 @@ declare class webBuilderService {
124
112
  ctrlY: any;
125
113
  productDetail: any;
126
114
  categoryDetail: any;
127
- constructor(http: HttpClient, socketService: SocketService);
115
+ constructor(http: HttpClient);
128
116
  closeConnection(): void;
129
117
  onNotifyChange(callback: (data: any) => void): any;
130
118
  notifyChange(data: any): void;
@@ -2511,7 +2499,9 @@ declare class WbMenuHorizontal implements OnInit, OnDestroy {
2511
2499
  dialogStyle: any;
2512
2500
  scrollbarEle: any;
2513
2501
  activeBlockId: string | null;
2502
+ routerSub: any;
2514
2503
  constructor(webBuilderService: webBuilderService, map: ComponentMapService, router: Router, route: ActivatedRoute, el: ElementRef, cdr: ChangeDetectorRef);
2504
+ updateLinkPage(): void;
2515
2505
  ngOnInit(): void;
2516
2506
  updateDataClone(): void;
2517
2507
  ngOnChanges(changes: SimpleChanges): void;
@@ -2570,7 +2560,9 @@ declare class WbMenuMobile implements OnInit, AfterViewInit, OnDestroy {
2570
2560
  linkPage: any;
2571
2561
  scrollbarEle: any;
2572
2562
  activeBlockId: string | null;
2563
+ routerSub: any;
2573
2564
  constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef);
2565
+ updateLinkPage(): void;
2574
2566
  ngOnInit(): void;
2575
2567
  updateDataClone(): void;
2576
2568
  ngOnChanges(changes: SimpleChanges): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.225",
3
+ "version": "1.1.227",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",