fw-webbuilder 1.1.235 → 1.1.237

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
@@ -249,6 +249,7 @@ declare class webBuilderService {
249
249
  updateNews(id: string, data: any): Promise<any>;
250
250
  deleteNews(id: string): Promise<any>;
251
251
  getNews_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
252
+ getNewss_byCategoryLink(link_category: string, query: any, sort: any, page?: number, limit?: number): Promise<any>;
252
253
  addNewField(data: any): Promise<any>;
253
254
  updateNewField(id: string, data: any): Promise<any>;
254
255
  deleteNewField(id: string): Promise<any>;
@@ -1757,6 +1758,7 @@ declare class WbFrameProducts implements OnInit, DoCheck, OnDestroy {
1757
1758
  authService: AuthService;
1758
1759
  map: ComponentMapService;
1759
1760
  private route;
1761
+ private router;
1760
1762
  data: any;
1761
1763
  device: any;
1762
1764
  class: any;
@@ -1780,6 +1782,12 @@ declare class WbFrameProducts implements OnInit, DoCheck, OnDestroy {
1780
1782
  currentMouseX: number;
1781
1783
  currentIndex: number;
1782
1784
  /** ----------------- SLIDE --------------------- */
1785
+ /** ------------------------Pagination------------------------ */
1786
+ pageCurrent: number;
1787
+ totalPages: number;
1788
+ limit: number;
1789
+ pageShowChoose: any;
1790
+ pageGoto: number;
1783
1791
  products: any;
1784
1792
  /**
1785
1793
  * products2D: Dùng để nhóm sản phẩm theo hàng và cột
@@ -1789,9 +1797,10 @@ declare class WbFrameProducts implements OnInit, DoCheck, OnDestroy {
1789
1797
  products2D: any;
1790
1798
  oldCols: number;
1791
1799
  oldRows: number;
1800
+ oldLayout: string;
1792
1801
  autoSlideInterval: any;
1793
1802
  routeSub: any;
1794
- constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService, route: ActivatedRoute);
1803
+ constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService, route: ActivatedRoute, router: Router);
1795
1804
  ngOnInit(): void;
1796
1805
  updateDataClone(): void;
1797
1806
  ngOnChanges(changes: SimpleChanges): void;
@@ -1806,6 +1815,13 @@ declare class WbFrameProducts implements OnInit, DoCheck, OnDestroy {
1806
1815
  handlePrev(): void;
1807
1816
  startAutoSlide(): void;
1808
1817
  stopAutoSlide(): void;
1818
+ /** ------------------------Pagination Methods------------------------ */
1819
+ gotoPreviousPage(): void;
1820
+ gotoNextPage(): void;
1821
+ updateListPage(): void;
1822
+ transferFn(value: number): void;
1823
+ calcProducts2D(): void;
1824
+ getGridTemplateRows(): string;
1809
1825
  static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProducts, never>;
1810
1826
  static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProducts, "wb-frame-products", 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; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
1811
1827
  }
@@ -2426,11 +2442,11 @@ declare class WbTextParagraph implements OnInit {
2426
2442
  private resizeTimeout;
2427
2443
  constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService, el: ElementRef);
2428
2444
  ngOnInit(): void;
2445
+ updateDataClone(): void;
2429
2446
  firstTimeRender: boolean;
2430
2447
  ngAfterViewInit(): void;
2431
- ngOnDestroy(): void;
2432
- updateDataClone(): void;
2433
2448
  ngOnChanges(changes: SimpleChanges): void;
2449
+ ngOnDestroy(): void;
2434
2450
  getContent(): any;
2435
2451
  handleChangeContent(): void;
2436
2452
  updateConfig(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.235",
3
+ "version": "1.1.237",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",