fw-webbuilder 1.1.194 → 1.1.196

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
@@ -11,7 +11,7 @@ import { TranslateService } from '@ngx-translate/core';
11
11
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
12
12
  import { ActivatedRoute, Router } from '@angular/router';
13
13
  import { NzTableQueryParams } from 'ng-zorro-antd/table';
14
- import { SafeHtml } from '@angular/platform-browser';
14
+ import { SafeHtml, SafeUrl, DomSanitizer } from '@angular/platform-browser';
15
15
 
16
16
  declare class SocketService {
17
17
  private apiUrl;
@@ -797,8 +797,7 @@ declare class WbBackgroundImageConfig implements OnInit {
797
797
  ngOnInit(): void;
798
798
  updateClass(): void;
799
799
  openManageImgs(): void;
800
- changeBgImg(): void;
801
- updateClassAndConfig(): void;
800
+ updateConfig(): void;
802
801
  static ɵfac: i0.ɵɵFactoryDeclaration<WbBackgroundImageConfig, never>;
803
802
  static ɵcmp: i0.ɵɵComponentDeclaration<WbBackgroundImageConfig, "wb-background-image-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classBgImage": { "alias": "classBgImage"; "required": false; }; "configBgImage": { "alias": "configBgImage"; "required": false; }; }, {}, never, never, true, never>;
804
803
  }
@@ -1011,6 +1010,7 @@ declare class WbHideShowConfig implements OnInit {
1011
1010
  * configEnableZoom dùng cho object_product_image
1012
1011
  */
1013
1012
  configEnableZoom: any;
1013
+ configRequired: any;
1014
1014
  devices: any;
1015
1015
  cursorOptions: any[];
1016
1016
  dragOptions: any[];
@@ -1028,7 +1028,7 @@ declare class WbHideShowConfig implements OnInit {
1028
1028
  updateHidden(key: string, value: boolean): void;
1029
1029
  onChangedirection(): void;
1030
1030
  static ɵfac: i0.ɵɵFactoryDeclaration<WbHideShowConfig, never>;
1031
- static ɵcmp: i0.ɵɵComponentDeclaration<WbHideShowConfig, "wb-hide-show-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classCursor": { "alias": "classCursor"; "required": false; }; "classOverflowY": { "alias": "classOverflowY"; "required": false; }; "classFlexDirection": { "alias": "classFlexDirection"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; "configTypeDisplay": { "alias": "configTypeDisplay"; "required": false; }; "configEnableZoom": { "alias": "configEnableZoom"; "required": false; }; }, {}, never, never, true, never>;
1031
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbHideShowConfig, "wb-hide-show-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classCursor": { "alias": "classCursor"; "required": false; }; "classOverflowY": { "alias": "classOverflowY"; "required": false; }; "classFlexDirection": { "alias": "classFlexDirection"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; "configTypeDisplay": { "alias": "configTypeDisplay"; "required": false; }; "configEnableZoom": { "alias": "configEnableZoom"; "required": false; }; "configRequired": { "alias": "configRequired"; "required": false; }; }, {}, never, never, true, never>;
1032
1032
  }
1033
1033
 
1034
1034
  declare class WbIconConfig implements OnInit {
@@ -2380,6 +2380,9 @@ declare class WbTextParagraphConfig implements OnInit {
2380
2380
 
2381
2381
  declare class WbVideo implements OnInit {
2382
2382
  webBuilderService: webBuilderService;
2383
+ private modal;
2384
+ private translate;
2385
+ private sanitizer;
2383
2386
  data: any;
2384
2387
  device: any;
2385
2388
  class: any;
@@ -2388,10 +2391,17 @@ declare class WbVideo implements OnInit {
2388
2391
  type: any;
2389
2392
  isClone: any;
2390
2393
  product: any;
2391
- constructor(webBuilderService: webBuilderService);
2394
+ videoUrl: SafeUrl;
2395
+ private currentConfigSignature;
2396
+ private changeUrlSub;
2397
+ constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService, sanitizer: DomSanitizer);
2392
2398
  ngOnInit(): void;
2393
2399
  updateDataClone(): void;
2394
2400
  ngOnChanges(changes: SimpleChanges): void;
2401
+ ngOnDestroy(): void;
2402
+ checkAndUpdateVideo(): void;
2403
+ initVideo(url: string, settings: any): void;
2404
+ openManageImgs(): void;
2395
2405
  static ɵfac: i0.ɵɵFactoryDeclaration<WbVideo, never>;
2396
2406
  static ɵcmp: i0.ɵɵComponentDeclaration<WbVideo, "wb-video", 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>;
2397
2407
  }
@@ -2743,6 +2753,7 @@ declare class ManageImgsComponent implements OnInit {
2743
2753
  sortField: string;
2744
2754
  keySeach: string;
2745
2755
  typeImgs: any;
2756
+ typeVideos: any;
2746
2757
  typeFiles: any;
2747
2758
  constructor(webbuilderService: webBuilderService, msg: NzMessageService, translate: TranslateService, modal: NzModalService, modalRef: NzModalRef<ManageImgsComponent>);
2748
2759
  ngOnInit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.194",
3
+ "version": "1.1.196",
4
4
  "peerDependencies": {
5
5
  "@abacritt/angularx-social-login": "2.4.0",
6
6
  "@angular/common": "^20.3.0",