fw-webbuilder 1.1.233 → 1.1.236
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/fesm2022/fw-webbuilder.mjs +1 -1
- package/index.d.ts +27 -5
- package/package.json +1 -1
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>;
|
|
@@ -369,6 +370,7 @@ declare class webBuilderService {
|
|
|
369
370
|
private getVisitorId;
|
|
370
371
|
addAdminUser(data: any): Promise<any>;
|
|
371
372
|
changeTemplate(db: string, id_template: string): Promise<Object>;
|
|
373
|
+
getDetailNews_byLink(link: string): Promise<any>;
|
|
372
374
|
static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
|
|
373
375
|
static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
|
|
374
376
|
}
|
|
@@ -1749,12 +1751,14 @@ declare class WbFrameProductDetailConfig implements OnInit {
|
|
|
1749
1751
|
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>;
|
|
1750
1752
|
}
|
|
1751
1753
|
|
|
1752
|
-
declare class WbFrameProducts implements OnInit, DoCheck {
|
|
1754
|
+
declare class WbFrameProducts implements OnInit, DoCheck, OnDestroy {
|
|
1753
1755
|
webBuilderService: webBuilderService;
|
|
1754
1756
|
functionService: FunctionService;
|
|
1755
1757
|
elementRef: ElementRef;
|
|
1756
1758
|
authService: AuthService;
|
|
1757
1759
|
map: ComponentMapService;
|
|
1760
|
+
private route;
|
|
1761
|
+
private router;
|
|
1758
1762
|
data: any;
|
|
1759
1763
|
device: any;
|
|
1760
1764
|
class: any;
|
|
@@ -1778,6 +1782,12 @@ declare class WbFrameProducts implements OnInit, DoCheck {
|
|
|
1778
1782
|
currentMouseX: number;
|
|
1779
1783
|
currentIndex: number;
|
|
1780
1784
|
/** ----------------- SLIDE --------------------- */
|
|
1785
|
+
/** ------------------------Pagination------------------------ */
|
|
1786
|
+
pageCurrent: number;
|
|
1787
|
+
totalPages: number;
|
|
1788
|
+
limit: number;
|
|
1789
|
+
pageShowChoose: any;
|
|
1790
|
+
pageGoto: number;
|
|
1781
1791
|
products: any;
|
|
1782
1792
|
/**
|
|
1783
1793
|
* products2D: Dùng để nhóm sản phẩm theo hàng và cột
|
|
@@ -1787,8 +1797,10 @@ declare class WbFrameProducts implements OnInit, DoCheck {
|
|
|
1787
1797
|
products2D: any;
|
|
1788
1798
|
oldCols: number;
|
|
1789
1799
|
oldRows: number;
|
|
1800
|
+
oldLayout: string;
|
|
1790
1801
|
autoSlideInterval: any;
|
|
1791
|
-
|
|
1802
|
+
routeSub: any;
|
|
1803
|
+
constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService, route: ActivatedRoute, router: Router);
|
|
1792
1804
|
ngOnInit(): void;
|
|
1793
1805
|
updateDataClone(): void;
|
|
1794
1806
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1803,6 +1815,13 @@ declare class WbFrameProducts implements OnInit, DoCheck {
|
|
|
1803
1815
|
handlePrev(): void;
|
|
1804
1816
|
startAutoSlide(): void;
|
|
1805
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;
|
|
1806
1825
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProducts, never>;
|
|
1807
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>;
|
|
1808
1827
|
}
|
|
@@ -2340,6 +2359,7 @@ declare class WbLineConfig implements OnInit {
|
|
|
2340
2359
|
declare class WbText implements OnInit {
|
|
2341
2360
|
webBuilderService: webBuilderService;
|
|
2342
2361
|
private router;
|
|
2362
|
+
private route;
|
|
2343
2363
|
private authService;
|
|
2344
2364
|
private cart;
|
|
2345
2365
|
private translate;
|
|
@@ -2358,7 +2378,9 @@ declare class WbText implements OnInit {
|
|
|
2358
2378
|
editedContent: string;
|
|
2359
2379
|
editingHeight: string;
|
|
2360
2380
|
animationSub: any;
|
|
2361
|
-
|
|
2381
|
+
routeSub: any;
|
|
2382
|
+
currentTag: string;
|
|
2383
|
+
constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute, authService: AuthService, cart: CartService, translate: TranslateService, el: ElementRef);
|
|
2362
2384
|
ngOnInit(): void;
|
|
2363
2385
|
updateAnimation(): void;
|
|
2364
2386
|
updateDataClone(): void;
|
|
@@ -2420,11 +2442,11 @@ declare class WbTextParagraph implements OnInit {
|
|
|
2420
2442
|
private resizeTimeout;
|
|
2421
2443
|
constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService, el: ElementRef);
|
|
2422
2444
|
ngOnInit(): void;
|
|
2445
|
+
updateDataClone(): void;
|
|
2423
2446
|
firstTimeRender: boolean;
|
|
2424
2447
|
ngAfterViewInit(): void;
|
|
2425
|
-
ngOnDestroy(): void;
|
|
2426
|
-
updateDataClone(): void;
|
|
2427
2448
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2449
|
+
ngOnDestroy(): void;
|
|
2428
2450
|
getContent(): any;
|
|
2429
2451
|
handleChangeContent(): void;
|
|
2430
2452
|
updateConfig(): void;
|