fw-webbuilder 0.0.4 → 0.0.6

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, ChangeDetectorRef, OnDestroy, InjectionToken } from '@angular/core';
4
+ import { OnInit, ElementRef, Renderer2, SimpleChanges, OnDestroy, ChangeDetectorRef, InjectionToken } from '@angular/core';
5
5
  import { Router, ActivatedRoute } from '@angular/router';
6
6
  import * as ng_zorro_antd_message from 'ng-zorro-antd/message';
7
7
  import { NzMessageService } from 'ng-zorro-antd/message';
@@ -125,6 +125,7 @@ declare class webBuilderService {
125
125
  findItemInTree(tree: any, id: string): any;
126
126
  private wrapApiCall;
127
127
  addProject(data: any): Promise<any>;
128
+ copyProject(data: any): Promise<any>;
128
129
  updateProject(id: string, data: any): Promise<any>;
129
130
  deleteProject(id: string): Promise<any>;
130
131
  getProjects_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
@@ -968,28 +969,20 @@ declare class WbLinkPageConfig implements OnInit {
968
969
  static ɵcmp: i0.ɵɵComponentDeclaration<WbLinkPageConfig, "wb-link-page-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configLinkPage": { "alias": "configLinkPage"; "required": false; }; }, {}, never, never, true, never>;
969
970
  }
970
971
 
971
- declare class WbMenuContent implements OnInit {
972
+ declare class WbMenuContentConfig implements OnInit {
972
973
  webBuilderService: webBuilderService;
973
- modalRef: NzModalRef<WbMenuContent>;
974
974
  private modal;
975
- cdr: ChangeDetectorRef;
976
975
  data: any;
977
976
  device: any;
978
- readonly nzModalData: any;
979
- constructor(webBuilderService: webBuilderService, modalRef: NzModalRef<WbMenuContent>, modal: NzModalService, cdr: ChangeDetectorRef);
977
+ options: any;
978
+ directionOptions: any;
979
+ constructor(webBuilderService: webBuilderService, modal: NzModalService);
980
980
  ngOnInit(): void;
981
- handleAddMenuItem(node?: any): void;
982
- handleChangeIcon(node: any, type: string | 'before' | 'after'): void;
981
+ handleEditContent(): void;
983
982
  updateConfig(): void;
984
- confirmDelete(node: any): void;
985
- findParentNodeById(key: any, nodes: any): any | null;
986
- handleEditMenuItem(node: any): void;
987
- handleOpenMenuMobile(e: any, item: any): void;
988
- drop(event: CdkDragDrop<string[]>): void;
989
- clamp(value: number, max: number): number;
990
- removeIcon(item: any, key: any): void;
991
- static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuContent, never>;
992
- static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuContent, "wb-menu-content", never, {}, {}, never, never, true, never>;
983
+ handleChangeDirection(direction: string): void;
984
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuContentConfig, never>;
985
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuContentConfig, "wb-menu-content-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
993
986
  }
994
987
 
995
988
  declare class WbObjectFitConfig implements OnInit {
@@ -2461,4 +2454,4 @@ declare class SelectLanguageComponent implements OnInit {
2461
2454
 
2462
2455
  declare const WEBBUILDER_API_URL: InjectionToken<string>;
2463
2456
 
2464
- export { AuthService, CartService, CommonConfigMapService, ComponentConfigMapService, ComponentMapService, DrawerService, FunctionService, SelectLanguageComponent, 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, WbFixedConfig, WbFrameBanner, WbFrameBannerConfig, WbFrameBlank, WbFrameBlankConfig, WbFrameCart, WbFrameCartConfig, WbFrameContentConfig, WbFrameProductDetail, WbFrameProductDetailConfig, WbFrameProducts, WbFrameProductsAdmin, WbFrameProductsByCategory, WbFrameProductsByCategoryConfig, WbFrameProductsConfig, WbFrameTab, WbFrameTabConfig, WbFreeblockConfig, WbGridConfig, WbHideShowConfig, WbIconConfig, WbImage, WbImageConfig, WbImageListNumberConfig, WbInput, WbInputConfig, WbLine, WbLineConfig, WbLinkPageConfig, WbMenuContent, 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, WbText, WbTextConfig, WbTextFormatConfig, WbTextParagraph, WbTextParagraphConfig, WbToolTipConfig, WbUploadImageConfig, WbUploadVideoConfig, WbVideo, WbVideoConfig, WbVirtualSelected, WbWidthHeightConfig, webBuilderService };
2457
+ export { AuthService, CartService, CommonConfigMapService, ComponentConfigMapService, ComponentMapService, DrawerService, FunctionService, SelectLanguageComponent, 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, WbFixedConfig, WbFrameBanner, WbFrameBannerConfig, WbFrameBlank, WbFrameBlankConfig, WbFrameCart, WbFrameCartConfig, WbFrameContentConfig, WbFrameProductDetail, WbFrameProductDetailConfig, WbFrameProducts, WbFrameProductsAdmin, WbFrameProductsByCategory, WbFrameProductsByCategoryConfig, WbFrameProductsConfig, WbFrameTab, WbFrameTabConfig, WbFreeblockConfig, WbGridConfig, WbHideShowConfig, WbIconConfig, WbImage, WbImageConfig, WbImageListNumberConfig, WbInput, WbInputConfig, WbLine, WbLineConfig, WbLinkPageConfig, 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, WbText, WbTextConfig, WbTextFormatConfig, WbTextParagraph, WbTextParagraphConfig, WbToolTipConfig, WbUploadImageConfig, WbUploadVideoConfig, WbVideo, WbVideoConfig, WbVirtualSelected, WbWidthHeightConfig, webBuilderService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0"