fw-webbuilder 1.1.247 → 1.1.249

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
@@ -383,6 +383,8 @@ declare class webBuilderService {
383
383
  private getVisitorId;
384
384
  changeTemplate(db: string, id_template: string): Promise<Object>;
385
385
  pasteFormatStyle(item: any): void;
386
+ exportProjectBackup(type: 'template' | 'content'): Promise<any>;
387
+ importProjectBackup(file: File): Promise<any>;
386
388
  static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
387
389
  static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
388
390
  }
@@ -775,44 +777,6 @@ declare class WbBackgroundColorConfig implements OnInit {
775
777
  static ɵcmp: i0.ɵɵComponentDeclaration<WbBackgroundColorConfig, "wb-background-color-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classBgColor": { "alias": "classBgColor"; "required": false; }; "configBgColor": { "alias": "configBgColor"; "required": false; }; }, {}, never, never, true, never>;
776
778
  }
777
779
 
778
- declare class WbBackgroundImageConfig implements OnInit {
779
- webBuilderService: webBuilderService;
780
- msg: NzMessageService;
781
- private modal;
782
- private translate;
783
- data: any;
784
- device: any;
785
- classBgImage: any;
786
- configBgImage: any;
787
- optionsUpload: {
788
- label: string;
789
- value: string;
790
- }[];
791
- bgSizeConfigOptions: {
792
- label: string;
793
- value: string;
794
- }[];
795
- bgAttachmentConfigOptions: {
796
- label: string;
797
- value: string;
798
- }[];
799
- bgRepeatConfigOptions: {
800
- label: string;
801
- value: string;
802
- }[];
803
- bgPositionConfigOptions: {
804
- label: string;
805
- value: string;
806
- }[];
807
- constructor(webBuilderService: webBuilderService, msg: NzMessageService, modal: NzModalService, translate: TranslateService);
808
- ngOnInit(): void;
809
- updateClass(): void;
810
- openManageImgs(): void;
811
- updateConfig(): void;
812
- static ɵfac: i0.ɵɵFactoryDeclaration<WbBackgroundImageConfig, never>;
813
- 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>;
814
- }
815
-
816
780
  declare class WbBannerAnimationConfig implements OnInit {
817
781
  webBuilderService: webBuilderService;
818
782
  data: any;
@@ -841,14 +805,10 @@ declare class WbBorderConfig implements OnInit {
841
805
  label: string;
842
806
  value: string;
843
807
  }[];
844
- newColor: string;
845
808
  constructor(webBuilderService: webBuilderService);
846
809
  ngOnInit(): void;
847
810
  updateClass(): void;
848
- onChooseBgType(type: string): void;
849
- updateBgGradient(): void;
850
811
  updateClassAndConfig(): void;
851
- addGradientColor(open: boolean): void;
852
812
  static ɵfac: i0.ɵɵFactoryDeclaration<WbBorderConfig, never>;
853
813
  static ɵcmp: i0.ɵɵComponentDeclaration<WbBorderConfig, "wb-border-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classBorder": { "alias": "classBorder"; "required": false; }; "classOutline": { "alias": "classOutline"; "required": false; }; "configBorderColor": { "alias": "configBorderColor"; "required": false; }; }, {}, never, never, true, never>;
854
814
  }
@@ -1020,6 +980,7 @@ declare class WbGridConfig implements OnInit {
1020
980
  classGrid: string;
1021
981
  constructor(webBuilderService: webBuilderService);
1022
982
  ngOnInit(): void;
983
+ private notifyGridChange;
1023
984
  updateClassAndConfig(): void;
1024
985
  onChangeGrid(): void;
1025
986
  static ɵfac: i0.ɵɵFactoryDeclaration<WbGridConfig, never>;
@@ -1805,12 +1766,17 @@ declare class WbFrameProducts implements OnInit, OnDestroy {
1805
1766
  */
1806
1767
  products2D: any;
1807
1768
  changeGridSub: any;
1769
+ private lastGridSignature;
1808
1770
  autoSlideInterval: any;
1809
1771
  constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
1810
1772
  ngOnInit(): void;
1811
1773
  updateDataClone(): void;
1812
1774
  ngOnChanges(changes: SimpleChanges): void;
1775
+ ngDoCheck(): void;
1813
1776
  ngOnDestroy(): void;
1777
+ private getGridConfig;
1778
+ private getGridSignature;
1779
+ private rebuildGridLayout;
1814
1780
  calcProducts(): void;
1815
1781
  onMouseDown(event: any, type: 'mouse' | 'touch'): void;
1816
1782
  onMouseMove(event: any, type: 'mouse' | 'touch'): void;
@@ -3021,4 +2987,4 @@ declare class WbStyleDirective implements DoCheck {
3021
2987
 
3022
2988
  declare const WEBBUILDER_API_URL: InjectionToken<string>;
3023
2989
 
3024
- export { AuthService, COUNTRY_CODES, CartService, CommonConfigMapService, ComponentConfigMapService, ComponentMapService, DEVICES, DrawerService, FONTS, FunctionService, LIST_LANGUAGES, MAIN_SECTOR, ManageImgsComponent, PAYMENT_METHODS, SelectLanguageComponent, TOOLS, TOOLS_BLOCK, TOOLS_OBJECT, WEBBUILDER_API_URL, WbAnimationConfig, WbBackgroundColorConfig, WbBackgroundImageConfig, WbBannerAnimationConfig, WbBlockBlank, WbBlockBlankConfig, WbBorderConfig, WbBorderRadiusConfig, WbBreadcumb, WbBreadcumbConfig, WbButton, WbButtonConfig, WbButtonQuantity, WbButtonQuantityConfig, WbButtonSetDefaultAddress, WbButtonSetDefaultAddressConfig, WbCheckboxConfig, WbCheckboxFilter, WbCheckboxFilterConfig, WbCkeditorConfig, WbDialogConfig, WbDragDrop, WbFilterConfig, WbFilterImageConfig, WbFixedConfig, WbFrameBanner, WbFrameBannerConfig, WbFrameBlank, WbFrameBlankConfig, WbFrameCart, WbFrameCartConfig, WbFrameCollapse, WbFrameCollapseConfig, WbFrameContentConfig, WbFrameProductDetail, WbFrameProductDetailConfig, WbFrameProducts, WbFrameProductsAdmin, WbFrameProductsByCategory, WbFrameProductsByCategoryConfig, WbFrameProductsConfig, WbFrameTab, WbFrameTabConfig, WbFreeblockConfig, WbGoogleMap, WbGoogleMapConfig, WbGridConfig, WbHideShowConfig, WbIconConfig, WbImage, WbImageConfig, WbImageListNumberConfig, WbInput, WbInputConfig, WbLine, WbLineConfig, WbLinkPageConfig, WbMapConfig, WbMaskImageConfig, WbMenuContentConfig, WbMenuHorizontal, WbMenuHorizontalConfig, WbMenuMobile, WbMenuMobileConfig, WbObjectFitConfig, WbOrdinalConfig, WbPaddingConfig, WbPageConfig, WbPaginationConfig, WbPositionConfig, WbPositionInConfig, WbPositionOutConfig, WbProductImageList, WbProductImageListConfig, WbProductSelectAttribute, WbProductSelectAttributeConfig, WbRotateConfig, WbScrollbarConfig, WbSelectCountry, WbSelectCountryConfig, WbSelectProvinceDistrictWard, WbSelectProvinceDistrictWardConfig, WbShadowConfig, WbSlideConfig, WbStickyConfig, WbStyleDirective, WbText, WbTextConfig, WbTextFormatConfig, WbTextParagraph, WbTextParagraphConfig, WbToolTipConfig, WbUploadImageConfig, WbVideo, WbVideoConfig, WbVirtualSelected, WbWidthHeightConfig, webBuilderService };
2990
+ export { AuthService, COUNTRY_CODES, CartService, CommonConfigMapService, ComponentConfigMapService, ComponentMapService, DEVICES, DrawerService, FONTS, FunctionService, LIST_LANGUAGES, MAIN_SECTOR, ManageImgsComponent, PAYMENT_METHODS, SelectLanguageComponent, TOOLS, TOOLS_BLOCK, TOOLS_OBJECT, WEBBUILDER_API_URL, WbAnimationConfig, WbBackgroundColorConfig, WbBannerAnimationConfig, WbBlockBlank, WbBlockBlankConfig, WbBorderConfig, WbBorderRadiusConfig, WbBreadcumb, WbBreadcumbConfig, WbButton, WbButtonConfig, WbButtonQuantity, WbButtonQuantityConfig, WbButtonSetDefaultAddress, WbButtonSetDefaultAddressConfig, WbCheckboxConfig, WbCheckboxFilter, WbCheckboxFilterConfig, WbCkeditorConfig, WbDialogConfig, WbDragDrop, WbFilterConfig, WbFilterImageConfig, WbFixedConfig, WbFrameBanner, WbFrameBannerConfig, WbFrameBlank, WbFrameBlankConfig, WbFrameCart, WbFrameCartConfig, WbFrameCollapse, WbFrameCollapseConfig, WbFrameContentConfig, WbFrameProductDetail, WbFrameProductDetailConfig, WbFrameProducts, WbFrameProductsAdmin, WbFrameProductsByCategory, WbFrameProductsByCategoryConfig, WbFrameProductsConfig, WbFrameTab, WbFrameTabConfig, WbFreeblockConfig, WbGoogleMap, WbGoogleMapConfig, WbGridConfig, WbHideShowConfig, WbIconConfig, WbImage, WbImageConfig, WbImageListNumberConfig, WbInput, WbInputConfig, WbLine, WbLineConfig, WbLinkPageConfig, WbMapConfig, WbMaskImageConfig, WbMenuContentConfig, WbMenuHorizontal, WbMenuHorizontalConfig, WbMenuMobile, WbMenuMobileConfig, WbObjectFitConfig, WbOrdinalConfig, WbPaddingConfig, WbPageConfig, WbPaginationConfig, WbPositionConfig, WbPositionInConfig, WbPositionOutConfig, WbProductImageList, WbProductImageListConfig, WbProductSelectAttribute, WbProductSelectAttributeConfig, WbRotateConfig, WbScrollbarConfig, WbSelectCountry, WbSelectCountryConfig, WbSelectProvinceDistrictWard, WbSelectProvinceDistrictWardConfig, WbShadowConfig, WbSlideConfig, WbStickyConfig, WbStyleDirective, WbText, WbTextConfig, WbTextFormatConfig, WbTextParagraph, WbTextParagraphConfig, WbToolTipConfig, WbUploadImageConfig, WbVideo, WbVideoConfig, WbVirtualSelected, WbWidthHeightConfig, webBuilderService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.247",
3
+ "version": "1.1.249",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",