fw-webbuilder 1.1.192 → 1.1.194

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,6 +2,7 @@ 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, DoCheck, InjectionToken } from '@angular/core';
5
+ import { SocialAuthService } from '@abacritt/angularx-social-login';
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';
@@ -372,6 +373,7 @@ declare class webBuilderService {
372
373
  TIMEOUT_MINUTES: number;
373
374
  pollJobUntilComplete(jobId: string): Observable<any>;
374
375
  generateAndWait(requestUrl: string): Observable<any>;
376
+ getProjectsByIdUser(query: any, sort: any, page: any, limit: any): Promise<any>;
375
377
  static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
376
378
  static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
377
379
  }
@@ -420,14 +422,16 @@ declare class CommonConfigMapService {
420
422
  declare class AuthService {
421
423
  private http;
422
424
  private webBuilderService;
425
+ private socialAuthService;
423
426
  private apiUrl;
424
427
  private urlBE;
425
428
  private user;
426
429
  private endUser;
427
- constructor(http: HttpClient, webBuilderService: webBuilderService);
430
+ constructor(http: HttpClient, webBuilderService: webBuilderService, socialAuthService: SocialAuthService);
428
431
  private wrapApiCall;
429
432
  handleLogin(email: string, password: string): Promise<any>;
430
433
  handleRegister(name: string, email: string, password: string): Promise<any>;
434
+ handleGoogleLogin(idToken: string): Promise<any>;
431
435
  handleLogout(): Promise<any>;
432
436
  checkAuthUser(): Observable<boolean>;
433
437
  isAuthenticated(): Observable<boolean>;
@@ -2193,6 +2197,8 @@ declare class WbButtonConfig implements OnInit {
2193
2197
  declare class WbImage implements OnInit {
2194
2198
  private router;
2195
2199
  webBuilderService: webBuilderService;
2200
+ private translate;
2201
+ private modal;
2196
2202
  data: any;
2197
2203
  device: any;
2198
2204
  class: any;
@@ -2205,7 +2211,7 @@ declare class WbImage implements OnInit {
2205
2211
  mainImgRef: ElementRef<HTMLImageElement>;
2206
2212
  lensRef: ElementRef<HTMLDivElement>;
2207
2213
  resultRef: ElementRef<HTMLDivElement>;
2208
- constructor(router: Router, webBuilderService: webBuilderService);
2214
+ constructor(router: Router, webBuilderService: webBuilderService, translate: TranslateService, modal: NzModalService);
2209
2215
  ngOnInit(): void;
2210
2216
  updateDataClone(): void;
2211
2217
  ngOnChanges(changes: SimpleChanges): void;
@@ -2218,6 +2224,7 @@ declare class WbImage implements OnInit {
2218
2224
  scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
2219
2225
  getSrc(): any;
2220
2226
  conditionDisplay(): any;
2227
+ openManageImgs(): void;
2221
2228
  static ɵfac: i0.ɵɵFactoryDeclaration<WbImage, never>;
2222
2229
  static ɵcmp: i0.ɵɵComponentDeclaration<WbImage, "wb-image", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "class": { "alias": "class"; "required": false; }; "config": { "alias": "config"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "type": { "alias": "type"; "required": false; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
2223
2230
  }
@@ -2735,20 +2742,45 @@ declare class ManageImgsComponent implements OnInit {
2735
2742
  }[];
2736
2743
  sortField: string;
2737
2744
  keySeach: string;
2745
+ typeImgs: any;
2746
+ typeFiles: any;
2738
2747
  constructor(webbuilderService: webBuilderService, msg: NzMessageService, translate: TranslateService, modal: NzModalService, modalRef: NzModalRef<ManageImgsComponent>);
2739
2748
  ngOnInit(): void;
2740
2749
  getFiles(): void;
2741
2750
  copyPath(item: any): void;
2751
+ isDragging: boolean;
2752
+ onDragOver(event: DragEvent): void;
2753
+ onDragLeave(event: DragEvent): void;
2754
+ onDrop(event: DragEvent): void;
2742
2755
  onFilesChange(e: any): void;
2756
+ handleUploadFiles(selectedFiles: FileList | File[], fileInputTarget?: any): void;
2743
2757
  onDelete(item: any): void;
2744
2758
  onChangePath(item: any): void;
2745
2759
  onSelectFile(item: any, event: MouseEvent): void;
2746
2760
  deleteMany(): void;
2747
2761
  handleRename(e: any, item: any): void;
2748
2762
  onBackgroundClick(): void;
2763
+ isSelectingBox: boolean;
2764
+ hasDragged: boolean;
2765
+ startX: number;
2766
+ startY: number;
2767
+ currentX: number;
2768
+ currentY: number;
2769
+ selectionBox: {
2770
+ left: number;
2771
+ top: number;
2772
+ width: number;
2773
+ height: number;
2774
+ };
2775
+ initialSelectionState: boolean[];
2776
+ onMouseDown(event: MouseEvent): void;
2777
+ onMouseMove(event: MouseEvent): void;
2778
+ onMouseUp(event: MouseEvent): void;
2779
+ updateSelectionBox(): void;
2780
+ checkIntersections(): void;
2749
2781
  openPreview(item: any): void;
2750
2782
  openDetail(item: any): void;
2751
- triggerRename(element: HTMLElement, item: any): void;
2783
+ triggerRename(e: Event, element: HTMLElement, item: any): void;
2752
2784
  selectAllText(element: HTMLElement): void;
2753
2785
  onCreateFolder(): void;
2754
2786
  canDeleteMultiple(): any;
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.192",
3
+ "version": "1.1.194",
4
4
  "peerDependencies": {
5
+ "@abacritt/angularx-social-login": "2.4.0",
5
6
  "@angular/common": "^20.3.0",
6
7
  "@angular/core": "^20.3.0",
7
8
  "socket.io-client": "^4.8.1",