fw-webbuilder 1.1.232 → 1.1.235

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
@@ -369,6 +369,7 @@ declare class webBuilderService {
369
369
  private getVisitorId;
370
370
  addAdminUser(data: any): Promise<any>;
371
371
  changeTemplate(db: string, id_template: string): Promise<Object>;
372
+ getDetailNews_byLink(link: string): Promise<any>;
372
373
  static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
373
374
  static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
374
375
  }
@@ -874,6 +875,15 @@ declare class WbCkeditorConfig implements OnInit {
874
875
  configContent: string;
875
876
  configMaxLine: string;
876
877
  classMaxLine: string;
878
+ configReadMore: string;
879
+ classReadMoreContent: string;
880
+ classBgReadMore: string;
881
+ classReadMoreIcon: string;
882
+ classAlignFlex: string;
883
+ classWidthHeight: string;
884
+ classIconPosition: string;
885
+ classMargin: string;
886
+ justifyOptions: any;
877
887
  constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService);
878
888
  ngOnInit(): void;
879
889
  handleChangeContent(): void;
@@ -881,8 +891,10 @@ declare class WbCkeditorConfig implements OnInit {
881
891
  onChangeUseMaxLine(): void;
882
892
  onChangeMaxLine(): void;
883
893
  updateClassAndConfig(): void;
894
+ updateClass(): void;
895
+ handleChangeIcon(configIcon: any): void;
884
896
  static ɵfac: i0.ɵɵFactoryDeclaration<WbCkeditorConfig, never>;
885
- static ɵcmp: i0.ɵɵComponentDeclaration<WbCkeditorConfig, "wb-ckeditor-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configContent": { "alias": "configContent"; "required": false; }; "configMaxLine": { "alias": "configMaxLine"; "required": false; }; "classMaxLine": { "alias": "classMaxLine"; "required": false; }; }, {}, never, never, true, never>;
897
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbCkeditorConfig, "wb-ckeditor-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configContent": { "alias": "configContent"; "required": false; }; "configMaxLine": { "alias": "configMaxLine"; "required": false; }; "classMaxLine": { "alias": "classMaxLine"; "required": false; }; "configReadMore": { "alias": "configReadMore"; "required": false; }; "classReadMoreContent": { "alias": "classReadMoreContent"; "required": false; }; "classBgReadMore": { "alias": "classBgReadMore"; "required": false; }; "classReadMoreIcon": { "alias": "classReadMoreIcon"; "required": false; }; "classAlignFlex": { "alias": "classAlignFlex"; "required": false; }; "classWidthHeight": { "alias": "classWidthHeight"; "required": false; }; "classIconPosition": { "alias": "classIconPosition"; "required": false; }; "classMargin": { "alias": "classMargin"; "required": false; }; }, {}, never, never, true, never>;
886
898
  }
887
899
 
888
900
  declare class WbDialogConfig implements OnInit {
@@ -1738,12 +1750,13 @@ declare class WbFrameProductDetailConfig implements OnInit {
1738
1750
  static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductDetailConfig, "wb-frame-product-detail-config", 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; }; }, {}, never, never, true, never>;
1739
1751
  }
1740
1752
 
1741
- declare class WbFrameProducts implements OnInit, DoCheck {
1753
+ declare class WbFrameProducts implements OnInit, DoCheck, OnDestroy {
1742
1754
  webBuilderService: webBuilderService;
1743
1755
  functionService: FunctionService;
1744
1756
  elementRef: ElementRef;
1745
1757
  authService: AuthService;
1746
1758
  map: ComponentMapService;
1759
+ private route;
1747
1760
  data: any;
1748
1761
  device: any;
1749
1762
  class: any;
@@ -1777,7 +1790,8 @@ declare class WbFrameProducts implements OnInit, DoCheck {
1777
1790
  oldCols: number;
1778
1791
  oldRows: number;
1779
1792
  autoSlideInterval: any;
1780
- constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
1793
+ routeSub: any;
1794
+ constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService, route: ActivatedRoute);
1781
1795
  ngOnInit(): void;
1782
1796
  updateDataClone(): void;
1783
1797
  ngOnChanges(changes: SimpleChanges): void;
@@ -2329,6 +2343,7 @@ declare class WbLineConfig implements OnInit {
2329
2343
  declare class WbText implements OnInit {
2330
2344
  webBuilderService: webBuilderService;
2331
2345
  private router;
2346
+ private route;
2332
2347
  private authService;
2333
2348
  private cart;
2334
2349
  private translate;
@@ -2347,7 +2362,9 @@ declare class WbText implements OnInit {
2347
2362
  editedContent: string;
2348
2363
  editingHeight: string;
2349
2364
  animationSub: any;
2350
- constructor(webBuilderService: webBuilderService, router: Router, authService: AuthService, cart: CartService, translate: TranslateService, el: ElementRef);
2365
+ routeSub: any;
2366
+ currentTag: string;
2367
+ constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute, authService: AuthService, cart: CartService, translate: TranslateService, el: ElementRef);
2351
2368
  ngOnInit(): void;
2352
2369
  updateAnimation(): void;
2353
2370
  updateDataClone(): void;
@@ -2404,6 +2421,7 @@ declare class WbTextParagraph implements OnInit {
2404
2421
  isClone: any;
2405
2422
  product: any;
2406
2423
  safeContent: SafeHtml;
2424
+ isExpanded: boolean;
2407
2425
  private resizeObserver;
2408
2426
  private resizeTimeout;
2409
2427
  constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService, el: ElementRef);
@@ -2416,6 +2434,8 @@ declare class WbTextParagraph implements OnInit {
2416
2434
  getContent(): any;
2417
2435
  handleChangeContent(): void;
2418
2436
  updateConfig(): void;
2437
+ getReadMoreText(): string;
2438
+ toggleExpanded(): void;
2419
2439
  static ɵfac: i0.ɵɵFactoryDeclaration<WbTextParagraph, never>;
2420
2440
  static ɵcmp: i0.ɵɵComponentDeclaration<WbTextParagraph, "wb-text-paragraph", 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>;
2421
2441
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.232",
3
+ "version": "1.1.235",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",