fw-webbuilder 0.0.7 → 0.0.9
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/fesm2022/fw-webbuilder.mjs +1 -1
- package/index.d.ts +3 -4
- package/package.json +1 -1
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
|
|
|
@@ -188,6 +188,7 @@ declare class webBuilderService {
|
|
|
188
188
|
deleteObject(id: string): any;
|
|
189
189
|
deleteObjectClone(object: any): Promise<any>;
|
|
190
190
|
upLoadImage(file: any, oldPath: string, newPath: string, options?: any): Promise<any>;
|
|
191
|
+
upLoadAdminImage(file: any, oldPath: string, newPath: string, options?: any): Promise<any>;
|
|
191
192
|
addCategory(data: any): Promise<any>;
|
|
192
193
|
updateCategory(id: string, data: any): Promise<any>;
|
|
193
194
|
deleteCategory(id: string): Promise<any>;
|
|
@@ -346,14 +347,12 @@ declare class CommonConfigMapService {
|
|
|
346
347
|
*/
|
|
347
348
|
declare class AuthService {
|
|
348
349
|
private http;
|
|
349
|
-
private toast;
|
|
350
350
|
private webBuilderService;
|
|
351
|
-
private router;
|
|
352
351
|
private apiUrl;
|
|
353
352
|
private urlBE;
|
|
354
353
|
private user;
|
|
355
354
|
private endUser;
|
|
356
|
-
constructor(http: HttpClient,
|
|
355
|
+
constructor(http: HttpClient, webBuilderService: webBuilderService);
|
|
357
356
|
private wrapApiCall;
|
|
358
357
|
handleLogin(email: string, password: string): Promise<any>;
|
|
359
358
|
handleRegister(name: string, email: string, password: string): Promise<any>;
|