fw-webbuilder 1.1.256 → 1.1.258

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
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Subject, Observable, Subscription } from 'rxjs';
3
3
  import * as i0 from '@angular/core';
4
- import { OnInit, ElementRef, Renderer2, SimpleChanges, DoCheck, OnDestroy, ChangeDetectorRef, AfterViewInit, InjectionToken } from '@angular/core';
4
+ import { OnInit, ElementRef, Renderer2, SimpleChanges, OnDestroy, DoCheck, ChangeDetectorRef, AfterViewInit, InjectionToken } from '@angular/core';
5
5
  import { SocialAuthService } from '@abacritt/angularx-social-login';
6
6
  import * as ng_zorro_antd_message from 'ng-zorro-antd/message';
7
7
  import { NzMessageService } from 'ng-zorro-antd/message';
@@ -176,6 +176,9 @@ declare class webBuilderService {
176
176
  */
177
177
  getHeaderFooter(): void;
178
178
  connectProject(_id: string): Promise<void>;
179
+ get themeStyles(): Record<string, string>;
180
+ ensureThemeFontsInFontsList(): void;
181
+ applyThemeVariablesToRoot(): void;
179
182
  setProjectWorking(data: any): Promise<void>;
180
183
  /**
181
184
  * Lấy chi tiết trang có tất cả nhánh
@@ -701,7 +704,14 @@ declare class WbDragDrop implements OnInit {
701
704
  */
702
705
  updateInitBottomAndRight(): void;
703
706
  onPointerDown(e: any): void;
707
+ private vGuideEle;
708
+ private hGuideEle;
709
+ private gapEles;
704
710
  private onMouseMove;
711
+ private createOrUpdateGuideLines;
712
+ private updateGapBadges;
713
+ private clearGapBadges;
714
+ private removeGuideLines;
705
715
  private onMouseUp;
706
716
  ngOnDestroy(): void;
707
717
  private cleanupListeners;
@@ -726,9 +736,10 @@ declare class WbDragDrop implements OnInit {
726
736
  static ɵcmp: i0.ɵɵComponentDeclaration<WbDragDrop, "[wbdragdrop]", never, { "boundaryEle": { "alias": "boundaryEle"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "top": { "alias": "top"; "required": false; }; "left": { "alias": "left"; "required": false; }; "position": { "alias": "position"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
727
737
  }
728
738
 
729
- declare class WbVirtualSelected implements OnInit {
739
+ declare class WbVirtualSelected implements OnInit, OnDestroy {
730
740
  webBuilderService: webBuilderService;
731
741
  el: ElementRef;
742
+ private renderer;
732
743
  boundaryEle: any;
733
744
  isDragging: boolean;
734
745
  parentEleRect: any;
@@ -740,11 +751,19 @@ declare class WbVirtualSelected implements OnInit {
740
751
  idParent: string;
741
752
  changed: boolean;
742
753
  keyPosition: any;
743
- constructor(webBuilderService: webBuilderService, el: ElementRef);
754
+ private vGuideEle;
755
+ private hGuideEle;
756
+ private gapEles;
757
+ constructor(webBuilderService: webBuilderService, el: ElementRef, renderer: Renderer2);
744
758
  ngOnInit(): void;
745
759
  onHostMouseDown(e: any): void;
746
760
  onPointerMove(event: any): void;
761
+ private createOrUpdateGuideLines;
762
+ private updateGapBadges;
763
+ private clearGapBadges;
764
+ private removeGuideLines;
747
765
  onPointerUp(e: any): void;
766
+ ngOnDestroy(): void;
748
767
  static ɵfac: i0.ɵɵFactoryDeclaration<WbVirtualSelected, never>;
749
768
  static ɵcmp: i0.ɵɵComponentDeclaration<WbVirtualSelected, "[wbVirtualSelected]", never, { "boundaryEle": { "alias": "boundaryEle"; "required": false; }; }, {}, never, never, true, never>;
750
769
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.256",
3
+ "version": "1.1.258",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",