fw-webbuilder 1.1.213 → 1.1.215

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, OnDestroy, ChangeDetectorRef, DoCheck, InjectionToken } from '@angular/core';
4
+ import { OnInit, ElementRef, Renderer2, SimpleChanges, DoCheck, OnDestroy, ChangeDetectorRef, 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';
@@ -663,7 +663,6 @@ declare class WbDragDrop implements OnInit {
663
663
  updatePositionDB(): void;
664
664
  updateClassAndConfig(codeUpdate: any): void;
665
665
  updatePositionAndClass(codeUpdate: any): void;
666
- updateHeight(): void;
667
666
  conditionShowActive(): any;
668
667
  conditionShowResize(): any;
669
668
  static ɵfac: i0.ɵɵFactoryDeclaration<WbDragDrop, never>;
@@ -874,15 +873,21 @@ declare class WbCheckboxConfig implements OnInit {
874
873
  declare class WbCkeditorConfig implements OnInit {
875
874
  webBuilderService: webBuilderService;
876
875
  private modal;
876
+ private translate;
877
877
  data: any;
878
878
  device: any;
879
879
  configContent: string;
880
- constructor(webBuilderService: webBuilderService, modal: NzModalService);
880
+ configMaxLine: string;
881
+ classMaxLine: string;
882
+ constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService);
881
883
  ngOnInit(): void;
882
884
  handleChangeContent(): void;
883
885
  updateConfig(): void;
886
+ onChangeUseMaxLine(): void;
887
+ onChangeMaxLine(): void;
888
+ updateClassAndConfig(): void;
884
889
  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; }; }, {}, never, never, true, never>;
890
+ 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>;
886
891
  }
887
892
 
888
893
  declare class WbDialogConfig implements OnInit {
@@ -1286,13 +1291,20 @@ declare class WbSlideConfig implements OnInit {
1286
1291
  configIconRight: string;
1287
1292
  classBgIconRight: string;
1288
1293
  classIconRight: string;
1294
+ classOverflow: any;
1289
1295
  loopMethodOptions: any[];
1296
+ layouts: any;
1297
+ overflowOptions: {
1298
+ label: string;
1299
+ value: string;
1300
+ }[];
1290
1301
  constructor(webBuilderService: webBuilderService, modal: NzModalService);
1291
1302
  ngOnInit(): void;
1292
1303
  updateClass(): void;
1293
1304
  updateConfig(): void;
1305
+ onChangeLayout(item: any): void;
1294
1306
  static ɵfac: i0.ɵɵFactoryDeclaration<WbSlideConfig, never>;
1295
- static ɵcmp: i0.ɵɵComponentDeclaration<WbSlideConfig, "wb-slide-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configSlide": { "alias": "configSlide"; "required": false; }; "configIconLeft": { "alias": "configIconLeft"; "required": false; }; "classBgIconLeft": { "alias": "classBgIconLeft"; "required": false; }; "classIconLeft": { "alias": "classIconLeft"; "required": false; }; "configIconRight": { "alias": "configIconRight"; "required": false; }; "classBgIconRight": { "alias": "classBgIconRight"; "required": false; }; "classIconRight": { "alias": "classIconRight"; "required": false; }; }, {}, never, never, true, never>;
1307
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbSlideConfig, "wb-slide-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configSlide": { "alias": "configSlide"; "required": false; }; "configIconLeft": { "alias": "configIconLeft"; "required": false; }; "classBgIconLeft": { "alias": "classBgIconLeft"; "required": false; }; "classIconLeft": { "alias": "classIconLeft"; "required": false; }; "configIconRight": { "alias": "configIconRight"; "required": false; }; "classBgIconRight": { "alias": "classBgIconRight"; "required": false; }; "classIconRight": { "alias": "classIconRight"; "required": false; }; "classOverflow": { "alias": "classOverflow"; "required": false; }; }, {}, never, never, true, never>;
1296
1308
  }
1297
1309
 
1298
1310
  declare class WbStickyConfig implements OnInit {
@@ -1332,6 +1344,7 @@ declare class WbTextFormatConfig implements OnInit {
1332
1344
  configMaxLine: string;
1333
1345
  placeholder: boolean;
1334
1346
  configFormatDate: string;
1347
+ classWidthFitContent: string;
1335
1348
  dateFormatOptions: any;
1336
1349
  textAlignOptions: any[];
1337
1350
  justifyOptions: any;
@@ -1345,7 +1358,7 @@ declare class WbTextFormatConfig implements OnInit {
1345
1358
  updateClass(): void;
1346
1359
  updateConfig(): void;
1347
1360
  static ɵfac: i0.ɵɵFactoryDeclaration<WbTextFormatConfig, never>;
1348
- static ɵcmp: i0.ɵɵComponentDeclaration<WbTextFormatConfig, "wb-text-format-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classContent": { "alias": "classContent"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; "classCursor": { "alias": "classCursor"; "required": false; }; "classFontWeight": { "alias": "classFontWeight"; "required": false; }; "classAlign": { "alias": "classAlign"; "required": false; }; "classLineHeight": { "alias": "classLineHeight"; "required": false; }; "classLetterSpacing": { "alias": "classLetterSpacing"; "required": false; }; "classAlignFlex": { "alias": "classAlignFlex"; "required": false; }; "classMargin": { "alias": "classMargin"; "required": false; }; "classMaxLine": { "alias": "classMaxLine"; "required": false; }; "classPadding": { "alias": "classPadding"; "required": false; }; "classMinWidth": { "alias": "classMinWidth"; "required": false; }; "classMinHeight": { "alias": "classMinHeight"; "required": false; }; "configContent": { "alias": "configContent"; "required": false; }; "configNotFound": { "alias": "configNotFound"; "required": false; }; "configHref": { "alias": "configHref"; "required": false; }; "configTag": { "alias": "configTag"; "required": false; }; "configMaxLine": { "alias": "configMaxLine"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "configFormatDate": { "alias": "configFormatDate"; "required": false; }; }, {}, never, never, true, never>;
1361
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbTextFormatConfig, "wb-text-format-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classContent": { "alias": "classContent"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; "classCursor": { "alias": "classCursor"; "required": false; }; "classFontWeight": { "alias": "classFontWeight"; "required": false; }; "classAlign": { "alias": "classAlign"; "required": false; }; "classLineHeight": { "alias": "classLineHeight"; "required": false; }; "classLetterSpacing": { "alias": "classLetterSpacing"; "required": false; }; "classAlignFlex": { "alias": "classAlignFlex"; "required": false; }; "classMargin": { "alias": "classMargin"; "required": false; }; "classMaxLine": { "alias": "classMaxLine"; "required": false; }; "classPadding": { "alias": "classPadding"; "required": false; }; "classMinWidth": { "alias": "classMinWidth"; "required": false; }; "classMinHeight": { "alias": "classMinHeight"; "required": false; }; "configContent": { "alias": "configContent"; "required": false; }; "configNotFound": { "alias": "configNotFound"; "required": false; }; "configHref": { "alias": "configHref"; "required": false; }; "configTag": { "alias": "configTag"; "required": false; }; "configMaxLine": { "alias": "configMaxLine"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "configFormatDate": { "alias": "configFormatDate"; "required": false; }; "classWidthFitContent": { "alias": "classWidthFitContent"; "required": false; }; }, {}, never, never, true, never>;
1349
1362
  }
1350
1363
 
1351
1364
  declare class WbToolTipConfig implements OnInit {
@@ -1565,9 +1578,11 @@ declare class WbFrameBlank implements OnInit {
1565
1578
  refPosBounding: any;
1566
1579
  scrollbarEle: any;
1567
1580
  dataClone: any;
1581
+ animationSub: any;
1568
1582
  constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef);
1569
1583
  ngOnInit(): void;
1570
1584
  ngAfterViewInit(): void;
1585
+ updateAnimation(): void;
1571
1586
  updateDataClone(): void;
1572
1587
  ngOnChanges(changes: SimpleChanges): void;
1573
1588
  ngOnDestroy(): void;
@@ -1628,7 +1643,7 @@ declare class WbFrameTabConfig implements OnInit {
1628
1643
  static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameTabConfig, "wb-frame-tab-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>;
1629
1644
  }
1630
1645
 
1631
- declare class WbFrameCart implements OnInit {
1646
+ declare class WbFrameCart implements OnInit, DoCheck {
1632
1647
  webBuilderService: webBuilderService;
1633
1648
  map: ComponentMapService;
1634
1649
  cartService: CartService;
@@ -1643,10 +1658,12 @@ declare class WbFrameCart implements OnInit {
1643
1658
  product: any;
1644
1659
  loading: boolean;
1645
1660
  products: never[];
1646
- changeGridSub: any;
1661
+ oldCols: number;
1662
+ oldRows: number;
1647
1663
  constructor(webBuilderService: webBuilderService, map: ComponentMapService, cartService: CartService, el: ElementRef, authService: AuthService);
1648
1664
  ngOnInit(): void;
1649
1665
  updateDataClone(): void;
1666
+ ngDoCheck(): void;
1650
1667
  ngOnDestroy(): void;
1651
1668
  ngOnChanges(changes: SimpleChanges): void;
1652
1669
  getOrderHistory(): void;
@@ -1714,7 +1731,7 @@ declare class WbFrameProductDetailConfig implements OnInit {
1714
1731
  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>;
1715
1732
  }
1716
1733
 
1717
- declare class WbFrameProducts implements OnInit {
1734
+ declare class WbFrameProducts implements OnInit, DoCheck {
1718
1735
  webBuilderService: webBuilderService;
1719
1736
  functionService: FunctionService;
1720
1737
  elementRef: ElementRef;
@@ -1750,13 +1767,15 @@ declare class WbFrameProducts implements OnInit {
1750
1767
  * để vuốt(slide) theo nhóm
1751
1768
  */
1752
1769
  products2D: any;
1753
- changeGridSub: any;
1770
+ oldCols: number;
1771
+ oldRows: number;
1754
1772
  autoSlideInterval: any;
1755
1773
  constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
1756
1774
  ngOnInit(): void;
1757
1775
  updateDataClone(): void;
1758
1776
  ngOnChanges(changes: SimpleChanges): void;
1759
1777
  ngOnDestroy(): void;
1778
+ ngDoCheck(): void;
1760
1779
  calcProducts(): void;
1761
1780
  onMouseDown(event: any, type: 'mouse' | 'touch'): void;
1762
1781
  onMouseMove(event: any, type: 'mouse' | 'touch'): void;
@@ -1836,7 +1855,7 @@ declare class WbFrameProductsAdmin implements OnInit {
1836
1855
  static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductsAdmin, "wb-frame-products-admin", never, {}, {}, never, never, true, never>;
1837
1856
  }
1838
1857
 
1839
- declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
1858
+ declare class WbFrameProductsByCategory implements OnInit, OnDestroy, DoCheck {
1840
1859
  webBuilderService: webBuilderService;
1841
1860
  private route;
1842
1861
  private router;
@@ -1856,13 +1875,15 @@ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
1856
1875
  limit: number;
1857
1876
  pageShowChoose: any;
1858
1877
  pageGoto: number;
1859
- changeGridSub: any;
1878
+ oldCols: number;
1879
+ oldRows: number;
1860
1880
  qpSub?: Subscription;
1861
1881
  constructor(webBuilderService: webBuilderService, route: ActivatedRoute, router: Router, map: ComponentMapService);
1862
1882
  ngOnInit(): void;
1863
1883
  updateDataClone(): void;
1864
1884
  ngOnChanges(changes: SimpleChanges): void;
1865
1885
  ngOnDestroy(): void;
1886
+ ngDoCheck(): void;
1866
1887
  handleGetProduct(): void;
1867
1888
  calcProducts(): void;
1868
1889
  gotoPreviousPage(): void;
@@ -2314,8 +2335,10 @@ declare class WbText implements OnInit {
2314
2335
  isEditingContent: boolean;
2315
2336
  editedContent: string;
2316
2337
  editingHeight: string;
2338
+ animationSub: any;
2317
2339
  constructor(webBuilderService: webBuilderService, router: Router, authService: AuthService, cart: CartService, translate: TranslateService, el: ElementRef);
2318
2340
  ngOnInit(): void;
2341
+ updateAnimation(): void;
2319
2342
  updateDataClone(): void;
2320
2343
  ngOnChanges(changes: SimpleChanges): void;
2321
2344
  onClick(e: any): void;
@@ -2358,6 +2381,9 @@ declare class WbTextConfig implements OnInit {
2358
2381
 
2359
2382
  declare class WbTextParagraph implements OnInit {
2360
2383
  webBuilderService: webBuilderService;
2384
+ private modal;
2385
+ private translate;
2386
+ private el;
2361
2387
  data: any;
2362
2388
  device: any;
2363
2389
  class: any;
@@ -2367,11 +2393,18 @@ declare class WbTextParagraph implements OnInit {
2367
2393
  isClone: any;
2368
2394
  product: any;
2369
2395
  safeContent: SafeHtml;
2370
- constructor(webBuilderService: webBuilderService);
2396
+ private resizeObserver;
2397
+ private resizeTimeout;
2398
+ constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService, el: ElementRef);
2371
2399
  ngOnInit(): void;
2400
+ firstTimeRender: boolean;
2401
+ ngAfterViewInit(): void;
2402
+ ngOnDestroy(): void;
2372
2403
  updateDataClone(): void;
2373
2404
  ngOnChanges(changes: SimpleChanges): void;
2374
2405
  getContent(): any;
2406
+ handleChangeContent(): void;
2407
+ updateConfig(): void;
2375
2408
  static ɵfac: i0.ɵɵFactoryDeclaration<WbTextParagraph, never>;
2376
2409
  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>;
2377
2410
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.213",
3
+ "version": "1.1.215",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",