fw-webbuilder 1.1.18 → 1.1.19

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
@@ -2,13 +2,13 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Subject, Observable, Subscription } from 'rxjs';
3
3
  import * as i0 from '@angular/core';
4
4
  import { OnInit, ElementRef, Renderer2, SimpleChanges, OnDestroy, ChangeDetectorRef, InjectionToken } from '@angular/core';
5
+ import { ActivatedRoute, Router } from '@angular/router';
5
6
  import * as ng_zorro_antd_message from 'ng-zorro-antd/message';
6
7
  import { NzMessageService } from 'ng-zorro-antd/message';
7
8
  import { Overlay } from '@angular/cdk/overlay';
8
9
  import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
9
10
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
10
11
  import { TranslateService } from '@ngx-translate/core';
11
- import { ActivatedRoute, Router } from '@angular/router';
12
12
  import { NzTableQueryParams } from 'ng-zorro-antd/table';
13
13
  import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
14
14
 
@@ -26,6 +26,7 @@ declare class SocketService {
26
26
  declare class webBuilderService {
27
27
  private http;
28
28
  private socketService;
29
+ private route;
29
30
  private apiUrl;
30
31
  private urlBE;
31
32
  group: any;
@@ -107,7 +108,7 @@ declare class webBuilderService {
107
108
  * Biến để kiểm soát việc có cho phép copy hay không
108
109
  */
109
110
  allowCopy: boolean;
110
- constructor(http: HttpClient, socketService: SocketService);
111
+ constructor(http: HttpClient, socketService: SocketService, route: ActivatedRoute);
111
112
  realTimeUpdate(): void;
112
113
  closeConnection(): void;
113
114
  onNotifyChange(callback: (data: any) => void): any;
@@ -307,7 +308,7 @@ declare class webBuilderService {
307
308
  deleteAdminCategory(id: string): Promise<any>;
308
309
  getAdminCategories_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
309
310
  onPublish(): Promise<Object>;
310
- initProject(): Promise<[Object, Object]>;
311
+ initProject(): Promise<void>;
311
312
  static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
312
313
  static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
313
314
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0",