fw-webbuilder 0.0.6 → 0.0.8

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,12 +2,12 @@ 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 { Router, ActivatedRoute } from '@angular/router';
6
5
  import * as ng_zorro_antd_message from 'ng-zorro-antd/message';
7
6
  import { NzMessageService } from 'ng-zorro-antd/message';
8
7
  import { Overlay } from '@angular/cdk/overlay';
9
8
  import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
10
9
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
10
+ import { ActivatedRoute, Router } from '@angular/router';
11
11
  import { NzTableQueryParams } from 'ng-zorro-antd/table';
12
12
  import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
13
13
 
@@ -295,6 +295,10 @@ declare class webBuilderService {
295
295
  * @returns {string} ID đối tượng 24 ký tự hex
296
296
  */
297
297
  generateObjectId(): string;
298
+ addAdminCategory(data: any): Promise<any>;
299
+ updateAdminCategory(id: string, data: any): Promise<any>;
300
+ deleteAdminCategory(id: string): Promise<any>;
301
+ getAdminCategories_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
298
302
  static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
299
303
  static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
300
304
  }
@@ -342,14 +346,12 @@ declare class CommonConfigMapService {
342
346
  */
343
347
  declare class AuthService {
344
348
  private http;
345
- private toast;
346
349
  private webBuilderService;
347
- private router;
348
350
  private apiUrl;
349
351
  private urlBE;
350
352
  private user;
351
353
  private endUser;
352
- constructor(http: HttpClient, toast: NzMessageService, webBuilderService: webBuilderService, router: Router);
354
+ constructor(http: HttpClient, webBuilderService: webBuilderService);
353
355
  private wrapApiCall;
354
356
  handleLogin(email: string, password: string): Promise<any>;
355
357
  handleRegister(name: string, email: string, password: string): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0"