fw-webbuilder 1.1.180 → 1.1.181
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 +81 -47
- package/package.json +1 -1
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,
|
|
4
|
+
import { OnInit, ElementRef, Renderer2, SimpleChanges, OnDestroy, ChangeDetectorRef, DoCheck, InjectionToken } from '@angular/core';
|
|
5
5
|
import * as ng_zorro_antd_message from 'ng-zorro-antd/message';
|
|
6
6
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
7
7
|
import { Overlay } from '@angular/cdk/overlay';
|
|
@@ -23,6 +23,10 @@ declare class SocketService {
|
|
|
23
23
|
static ɵprov: i0.ɵɵInjectableDeclaration<SocketService>;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* CÁCH LÀM CLONE
|
|
28
|
+
* đối tượng clone sẽ có thêm field id_clone(lưu _id gốc)
|
|
29
|
+
*/
|
|
26
30
|
declare class webBuilderService {
|
|
27
31
|
private http;
|
|
28
32
|
private socketService;
|
|
@@ -207,20 +211,23 @@ declare class webBuilderService {
|
|
|
207
211
|
flatNodes(nodes: any): any;
|
|
208
212
|
getPages(): Promise<any>;
|
|
209
213
|
addBlock(data: any, code?: any): Promise<any>;
|
|
210
|
-
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @param id
|
|
217
|
+
* @param data
|
|
218
|
+
* @param code
|
|
219
|
+
* @param isSync có cập nhật DOM hay không
|
|
220
|
+
* @returns
|
|
221
|
+
*/
|
|
222
|
+
updateBlock(id: string, data: any, code?: string, isSync?: any): Promise<any>;
|
|
211
223
|
deleteBlock(id: string, code?: any): Promise<any>;
|
|
212
|
-
deleteBlockClone(block: any, code?: string): Promise<any>;
|
|
213
224
|
addObject(data: any, code?: any): Promise<any>;
|
|
214
225
|
updateObject(id: string, data: any, code?: string): Promise<any>;
|
|
215
226
|
/**
|
|
216
|
-
* hàm này xóa tất cả object và nhánh con của nó(lưu ý hàm này ko được xóa objectClone nhớ kiểm tra is_clone trước khi sử dụng)
|
|
217
|
-
* trong nhánh có thể có object clone nên phải check
|
|
218
|
-
* nếu xóa item gốc thì tất cả object_clone từ item gốc phải xóa trên DOM luôn
|
|
219
227
|
* @param id id của object cần xóa
|
|
220
228
|
* @returns
|
|
221
229
|
*/
|
|
222
230
|
deleteObject(id: string, code?: any): Promise<any>;
|
|
223
|
-
deleteObjectClone(object: any, code?: string): Promise<any>;
|
|
224
231
|
uploadFile(file: File, newPath: string, options?: any): Promise<Object>;
|
|
225
232
|
upLoadImage(file: any, oldPath: string, newPath: string, options?: any): Promise<any>;
|
|
226
233
|
upLoadAdminImage(file: any, oldPath: string, newPath: string, options?: any): Promise<any>;
|
|
@@ -303,8 +310,6 @@ declare class webBuilderService {
|
|
|
303
310
|
private updatePage2;
|
|
304
311
|
private deleteObject2;
|
|
305
312
|
private deleteBlock2;
|
|
306
|
-
private deleteBlockClone2;
|
|
307
|
-
private deleteObjectClone2;
|
|
308
313
|
applyFontLinks(fontLinksFromDB: string): void;
|
|
309
314
|
getFontNames(fontLinkTag: string): string[];
|
|
310
315
|
/**
|
|
@@ -312,7 +317,7 @@ declare class webBuilderService {
|
|
|
312
317
|
* @param page _id của page chứa block
|
|
313
318
|
* @param block block có NHÁNH(objects) cần copy
|
|
314
319
|
*/
|
|
315
|
-
handleCopyBlock(page: any, block: any, code: any): Promise<void>;
|
|
320
|
+
handleCopyBlock(page: any, block: any, code: any, isClone: boolean): Promise<void>;
|
|
316
321
|
/**
|
|
317
322
|
* Hàm này dùng để copy object
|
|
318
323
|
* khi copy page thì cần mọi object nằm ở vị trí cũ,
|
|
@@ -321,28 +326,13 @@ declare class webBuilderService {
|
|
|
321
326
|
* @param object object có NHÁNH(objects) cần copy
|
|
322
327
|
* @param change_position
|
|
323
328
|
*/
|
|
324
|
-
handleCopyObject(parent: any, object: any, change_position: boolean | undefined, code: any): Promise<void>;
|
|
329
|
+
handleCopyObject(parent: any, object: any, change_position: boolean | undefined, code: any, isClone: boolean): Promise<void>;
|
|
325
330
|
/**
|
|
326
331
|
* hàm này copy page, page truyền vào phải có nhánh
|
|
327
332
|
* @param page page phải có NHÁNH
|
|
328
333
|
* @returns
|
|
329
334
|
*/
|
|
330
335
|
handleCopyPage(page: any): Promise<any>;
|
|
331
|
-
/**
|
|
332
|
-
* hàm nhân bản block
|
|
333
|
-
* @param page hiện tại
|
|
334
|
-
* @param block block phải có NHÁNH
|
|
335
|
-
* @returns
|
|
336
|
-
*/
|
|
337
|
-
handleCloneBlock(page: any, block: any, codeUpdate: any): Promise<void>;
|
|
338
|
-
/**
|
|
339
|
-
* Nhân bản object: tạo record mới với _id riêng, is_clone trỏ về gốc
|
|
340
|
-
* @param parent đối tượng cha (block hoặc object)
|
|
341
|
-
* @param object đối tượng cần clone
|
|
342
|
-
* @param change_position nếu true thì đặt vị trí top/left = 0
|
|
343
|
-
* @param codeUpdate mã nhóm cho Ctrl+Z
|
|
344
|
-
*/
|
|
345
|
-
handleCloneObject(parent: any, object: any, change_position: boolean | undefined, codeUpdate: any): Promise<void>;
|
|
346
336
|
handleOrder(customer_info: any, note: any, payment_method: any, id_user: any): Promise<any>;
|
|
347
337
|
getOrders_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
|
|
348
338
|
updateOrder(id: string, data: any): Promise<any>;
|
|
@@ -711,8 +701,9 @@ declare class WbBlockBlank implements OnInit {
|
|
|
711
701
|
};
|
|
712
702
|
constructor(webBuilderService: webBuilderService, map: ComponentMapService, modalRef: NzModalRef<WbBlockBlank>);
|
|
713
703
|
ngOnInit(): void;
|
|
714
|
-
|
|
704
|
+
updateDataClone(): void;
|
|
715
705
|
ngOnChanges(changes: SimpleChanges): void;
|
|
706
|
+
updatePoisitionBlockChatBox(is_first: boolean): void;
|
|
716
707
|
ngOnDestroy(): void;
|
|
717
708
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbBlockBlank, [null, null, { optional: true; }]>;
|
|
718
709
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbBlockBlank, "wb-block-blank", 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>;
|
|
@@ -1399,7 +1390,6 @@ declare class WbFrameBanner implements OnInit {
|
|
|
1399
1390
|
config: any;
|
|
1400
1391
|
animation: any;
|
|
1401
1392
|
type: any;
|
|
1402
|
-
isClone: any;
|
|
1403
1393
|
product: any;
|
|
1404
1394
|
currentIndex: number;
|
|
1405
1395
|
private gsap;
|
|
@@ -1416,8 +1406,11 @@ declare class WbFrameBanner implements OnInit {
|
|
|
1416
1406
|
private slideWidth;
|
|
1417
1407
|
private currentProgress;
|
|
1418
1408
|
private PERSPECTIVE_VALUE;
|
|
1409
|
+
dataClone: any;
|
|
1419
1410
|
constructor(webBuilderService: webBuilderService, map: ComponentMapService, element: ElementRef, platformId: Object);
|
|
1420
1411
|
ngOnInit(): void;
|
|
1412
|
+
updateDataClone(): void;
|
|
1413
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1421
1414
|
ngAfterViewInit(): void;
|
|
1422
1415
|
private initSlidesMap;
|
|
1423
1416
|
private setCurrentSlide;
|
|
@@ -1477,7 +1470,7 @@ declare class WbFrameBanner implements OnInit {
|
|
|
1477
1470
|
*/
|
|
1478
1471
|
private animateSlide;
|
|
1479
1472
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBanner, never>;
|
|
1480
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameBanner, "wb-frame-banner", 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; }; "
|
|
1473
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameBanner, "wb-frame-banner", 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>;
|
|
1481
1474
|
}
|
|
1482
1475
|
|
|
1483
1476
|
declare class WbFrameBannerConfig implements OnInit {
|
|
@@ -1506,15 +1499,16 @@ declare class WbFrameCollapse implements OnInit {
|
|
|
1506
1499
|
config: any;
|
|
1507
1500
|
animation: any;
|
|
1508
1501
|
type: any;
|
|
1509
|
-
isClone: any;
|
|
1510
1502
|
product: any;
|
|
1511
1503
|
currentIndex: number;
|
|
1512
1504
|
constructor(webBuilderService: webBuilderService, map: ComponentMapService);
|
|
1513
1505
|
ngOnInit(): void;
|
|
1506
|
+
updateDataClone(): void;
|
|
1507
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1514
1508
|
handleOpenCollapse(obj: any, index: any): void;
|
|
1515
1509
|
handleChooseFrame(obj: any, index: any, node: any): void;
|
|
1516
1510
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameCollapse, never>;
|
|
1517
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameCollapse, "wb-frame-collapse", 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; }; "
|
|
1511
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameCollapse, "wb-frame-collapse", 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>;
|
|
1518
1512
|
}
|
|
1519
1513
|
|
|
1520
1514
|
declare class WbFrameCollapseConfig implements OnInit {
|
|
@@ -1545,7 +1539,6 @@ declare class WbFrameBlank implements OnInit {
|
|
|
1545
1539
|
animation: any;
|
|
1546
1540
|
type: any;
|
|
1547
1541
|
product: any;
|
|
1548
|
-
isClone: any;
|
|
1549
1542
|
/**
|
|
1550
1543
|
* 6 biến này để sticky vật thể
|
|
1551
1544
|
* */
|
|
@@ -1555,13 +1548,16 @@ declare class WbFrameBlank implements OnInit {
|
|
|
1555
1548
|
oldMarginTop: number;
|
|
1556
1549
|
refPosBounding: any;
|
|
1557
1550
|
scrollbarEle: any;
|
|
1551
|
+
dataClone: any;
|
|
1558
1552
|
constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef);
|
|
1559
1553
|
ngOnInit(): void;
|
|
1560
1554
|
ngAfterViewInit(): void;
|
|
1555
|
+
updateDataClone(): void;
|
|
1556
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1561
1557
|
ngOnDestroy(): void;
|
|
1562
1558
|
handleScroll: (e: Event) => void;
|
|
1563
1559
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBlank, never>;
|
|
1564
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameBlank, "wb-frame-blank", 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; };
|
|
1560
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameBlank, "wb-frame-blank", 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>;
|
|
1565
1561
|
}
|
|
1566
1562
|
|
|
1567
1563
|
declare class WbFrameBlankConfig implements OnInit {
|
|
@@ -1590,13 +1586,14 @@ declare class WbFrameTab implements OnInit {
|
|
|
1590
1586
|
animation: any;
|
|
1591
1587
|
type: any;
|
|
1592
1588
|
product: any;
|
|
1593
|
-
isClone: any;
|
|
1594
1589
|
currentTab: number;
|
|
1595
1590
|
constructor(webBuilderService: webBuilderService, map: ComponentMapService);
|
|
1596
1591
|
ngOnInit(): void;
|
|
1592
|
+
updateDataClone(): void;
|
|
1593
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1597
1594
|
onChooseTab(index: number): void;
|
|
1598
1595
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameTab, never>;
|
|
1599
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameTab, "wb-frame-tab", 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; };
|
|
1596
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameTab, "wb-frame-tab", 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>;
|
|
1600
1597
|
}
|
|
1601
1598
|
|
|
1602
1599
|
declare class WbFrameTabConfig implements OnInit {
|
|
@@ -1627,19 +1624,20 @@ declare class WbFrameCart implements OnInit {
|
|
|
1627
1624
|
config: any;
|
|
1628
1625
|
animation: any;
|
|
1629
1626
|
type: any;
|
|
1630
|
-
isClone: any;
|
|
1631
1627
|
product: any;
|
|
1632
1628
|
loading: boolean;
|
|
1633
1629
|
products: never[];
|
|
1634
1630
|
changeGridSub: any;
|
|
1635
1631
|
constructor(webBuilderService: webBuilderService, map: ComponentMapService, cartService: CartService, el: ElementRef, authService: AuthService);
|
|
1636
1632
|
ngOnInit(): void;
|
|
1633
|
+
updateDataClone(): void;
|
|
1637
1634
|
ngOnDestroy(): void;
|
|
1635
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1638
1636
|
getOrderHistory(): void;
|
|
1639
1637
|
calcProducts(): void;
|
|
1640
1638
|
displayItems(): any;
|
|
1641
1639
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameCart, never>;
|
|
1642
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameCart, "wb-frame-cart", 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; }; "
|
|
1640
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameCart, "wb-frame-cart", 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>;
|
|
1643
1641
|
}
|
|
1644
1642
|
|
|
1645
1643
|
declare class WbFrameCartConfig implements OnInit {
|
|
@@ -1669,14 +1667,15 @@ declare class WbFrameProductDetail implements OnInit {
|
|
|
1669
1667
|
config: any;
|
|
1670
1668
|
animation: any;
|
|
1671
1669
|
type: any;
|
|
1672
|
-
isClone: any;
|
|
1673
1670
|
product: any;
|
|
1674
1671
|
loading: boolean;
|
|
1675
1672
|
constructor(webBuilderService: webBuilderService, route: ActivatedRoute, map: ComponentMapService);
|
|
1676
1673
|
ngOnInit(): void;
|
|
1674
|
+
updateDataClone(): void;
|
|
1675
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1677
1676
|
handleGetProduct(): void;
|
|
1678
1677
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductDetail, never>;
|
|
1679
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductDetail, "wb-frame-product-detail", 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; }; "
|
|
1678
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductDetail, "wb-frame-product-detail", 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>;
|
|
1680
1679
|
}
|
|
1681
1680
|
|
|
1682
1681
|
declare class WbFrameProductDetailConfig implements OnInit {
|
|
@@ -1708,7 +1707,6 @@ declare class WbFrameProducts implements OnInit {
|
|
|
1708
1707
|
config: any;
|
|
1709
1708
|
animation: any;
|
|
1710
1709
|
type: any;
|
|
1711
|
-
isClone: any;
|
|
1712
1710
|
product: any;
|
|
1713
1711
|
loading: boolean;
|
|
1714
1712
|
/** ----------------- SLIDE --------------------- */
|
|
@@ -1737,6 +1735,7 @@ declare class WbFrameProducts implements OnInit {
|
|
|
1737
1735
|
autoSlideInterval: any;
|
|
1738
1736
|
constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
|
|
1739
1737
|
ngOnInit(): void;
|
|
1738
|
+
updateDataClone(): void;
|
|
1740
1739
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1741
1740
|
ngOnDestroy(): void;
|
|
1742
1741
|
calcProducts(): void;
|
|
@@ -1749,7 +1748,7 @@ declare class WbFrameProducts implements OnInit {
|
|
|
1749
1748
|
startAutoSlide(): void;
|
|
1750
1749
|
stopAutoSlide(): void;
|
|
1751
1750
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProducts, never>;
|
|
1752
|
-
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; }; "
|
|
1751
|
+
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>;
|
|
1753
1752
|
}
|
|
1754
1753
|
|
|
1755
1754
|
declare class WbFrameProductsConfig implements OnInit {
|
|
@@ -1829,7 +1828,6 @@ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
|
|
|
1829
1828
|
config: any;
|
|
1830
1829
|
animation: any;
|
|
1831
1830
|
type: any;
|
|
1832
|
-
isClone: any;
|
|
1833
1831
|
product: any;
|
|
1834
1832
|
loading: boolean;
|
|
1835
1833
|
products: any;
|
|
@@ -1843,6 +1841,8 @@ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
|
|
|
1843
1841
|
qpSub?: Subscription;
|
|
1844
1842
|
constructor(webBuilderService: webBuilderService, route: ActivatedRoute, router: Router, map: ComponentMapService);
|
|
1845
1843
|
ngOnInit(): void;
|
|
1844
|
+
updateDataClone(): void;
|
|
1845
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1846
1846
|
ngOnDestroy(): void;
|
|
1847
1847
|
handleGetProduct(): void;
|
|
1848
1848
|
calcProducts(): void;
|
|
@@ -1851,7 +1851,7 @@ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
|
|
|
1851
1851
|
updateListPage(): void;
|
|
1852
1852
|
transferFn(value: number): void;
|
|
1853
1853
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsByCategory, never>;
|
|
1854
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductsByCategory, "wb-frame-products-by-category", 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; }; "
|
|
1854
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductsByCategory, "wb-frame-products-by-category", 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>;
|
|
1855
1855
|
}
|
|
1856
1856
|
|
|
1857
1857
|
declare class WbFrameProductsByCategoryConfig implements OnInit {
|
|
@@ -1883,6 +1883,8 @@ declare class WbButtonSetDefaultAddress implements OnInit {
|
|
|
1883
1883
|
product: any;
|
|
1884
1884
|
constructor(webBuilderService: webBuilderService);
|
|
1885
1885
|
ngOnInit(): void;
|
|
1886
|
+
updateDataClone(): void;
|
|
1887
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1886
1888
|
onClick(): void;
|
|
1887
1889
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonSetDefaultAddress, never>;
|
|
1888
1890
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbButtonSetDefaultAddress, "wb-button-set-default-address", 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>;
|
|
@@ -1921,6 +1923,8 @@ declare class WbSelectCountry implements OnInit {
|
|
|
1921
1923
|
countrySelected: any;
|
|
1922
1924
|
constructor(webBuilderService: webBuilderService);
|
|
1923
1925
|
ngOnInit(): void;
|
|
1926
|
+
updateDataClone(): void;
|
|
1927
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1924
1928
|
toggleDropdown(): void;
|
|
1925
1929
|
selectCountry(country: any): void;
|
|
1926
1930
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectCountry, never>;
|
|
@@ -1959,6 +1963,8 @@ declare class WbInput implements OnInit {
|
|
|
1959
1963
|
changeBlockSub: any;
|
|
1960
1964
|
constructor(router: Router, webBuilderService: webBuilderService, authService: AuthService);
|
|
1961
1965
|
ngOnInit(): void;
|
|
1966
|
+
updateDataClone(): void;
|
|
1967
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1962
1968
|
getDetailFreeblock(): void;
|
|
1963
1969
|
ngOnDestroy(): void;
|
|
1964
1970
|
onChangeType(): void;
|
|
@@ -2020,6 +2026,8 @@ declare class WbSelectProvinceDistrictWard implements OnInit {
|
|
|
2020
2026
|
hideShowSub: any;
|
|
2021
2027
|
constructor(webBuilderService: webBuilderService, authService: AuthService);
|
|
2022
2028
|
ngOnInit(): void;
|
|
2029
|
+
updateDataClone(): void;
|
|
2030
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2023
2031
|
ngOnDestroy(): void;
|
|
2024
2032
|
toggleDropdown(idx: number): void;
|
|
2025
2033
|
selectProvince(province: any): void;
|
|
@@ -2061,6 +2069,8 @@ declare class WbBreadcumb implements OnInit {
|
|
|
2061
2069
|
pageName: string;
|
|
2062
2070
|
constructor(route: ActivatedRoute, webBuilderService: webBuilderService);
|
|
2063
2071
|
ngOnInit(): void;
|
|
2072
|
+
updateDataClone(): void;
|
|
2073
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2064
2074
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbBreadcumb, never>;
|
|
2065
2075
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbBreadcumb, "wb-breadcumb", 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>;
|
|
2066
2076
|
}
|
|
@@ -2113,6 +2123,7 @@ declare class WbButton implements OnInit {
|
|
|
2113
2123
|
previousUrl: string;
|
|
2114
2124
|
constructor(router: Router, webBuilderService: webBuilderService, authService: AuthService, functionService: FunctionService, elementRef: ElementRef, modal: NzModalService, modalRef: NzModalRef<WbBlockBlank>, drawerService: DrawerService, cart: CartService, translate: TranslateService);
|
|
2115
2125
|
ngOnInit(): void;
|
|
2126
|
+
updateDataClone(): void;
|
|
2116
2127
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2117
2128
|
ngAfterViewInit(): void;
|
|
2118
2129
|
ngOnDestroy(): void;
|
|
@@ -2182,6 +2193,8 @@ declare class WbImage implements OnInit {
|
|
|
2182
2193
|
resultRef: ElementRef<HTMLDivElement>;
|
|
2183
2194
|
constructor(router: Router, webBuilderService: webBuilderService);
|
|
2184
2195
|
ngOnInit(): void;
|
|
2196
|
+
updateDataClone(): void;
|
|
2197
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2185
2198
|
move(e: MouseEvent | TouchEvent): void;
|
|
2186
2199
|
private getCursorPos;
|
|
2187
2200
|
onClick(e: any): void;
|
|
@@ -2223,6 +2236,8 @@ declare class WbLine implements OnInit {
|
|
|
2223
2236
|
product: any;
|
|
2224
2237
|
constructor(webBuilderService: webBuilderService);
|
|
2225
2238
|
ngOnInit(): void;
|
|
2239
|
+
updateDataClone(): void;
|
|
2240
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2226
2241
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbLine, never>;
|
|
2227
2242
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbLine, "wb-line", 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>;
|
|
2228
2243
|
}
|
|
@@ -2263,6 +2278,8 @@ declare class WbText implements OnInit {
|
|
|
2263
2278
|
private resizeTimeout;
|
|
2264
2279
|
constructor(webBuilderService: webBuilderService, router: Router, authService: AuthService, cart: CartService, translate: TranslateService, el: ElementRef);
|
|
2265
2280
|
ngOnInit(): void;
|
|
2281
|
+
updateDataClone(): void;
|
|
2282
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2266
2283
|
onClick(e: any): void;
|
|
2267
2284
|
ngAfterViewInit(): void;
|
|
2268
2285
|
ngOnDestroy(): void;
|
|
@@ -2308,6 +2325,8 @@ declare class WbTextParagraph implements OnInit {
|
|
|
2308
2325
|
safeContent: SafeHtml;
|
|
2309
2326
|
constructor(webBuilderService: webBuilderService);
|
|
2310
2327
|
ngOnInit(): void;
|
|
2328
|
+
updateDataClone(): void;
|
|
2329
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2311
2330
|
getContent(): any;
|
|
2312
2331
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbTextParagraph, never>;
|
|
2313
2332
|
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>;
|
|
@@ -2342,6 +2361,8 @@ declare class WbVideo implements OnInit {
|
|
|
2342
2361
|
product: any;
|
|
2343
2362
|
constructor(webBuilderService: webBuilderService);
|
|
2344
2363
|
ngOnInit(): void;
|
|
2364
|
+
updateDataClone(): void;
|
|
2365
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2345
2366
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbVideo, never>;
|
|
2346
2367
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbVideo, "wb-video", 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>;
|
|
2347
2368
|
}
|
|
@@ -2386,6 +2407,8 @@ declare class WbMenuHorizontal implements OnInit {
|
|
|
2386
2407
|
scrollbarEle: any;
|
|
2387
2408
|
constructor(webBuilderService: webBuilderService, map: ComponentMapService, router: Router, route: ActivatedRoute, el: ElementRef);
|
|
2388
2409
|
ngOnInit(): void;
|
|
2410
|
+
updateDataClone(): void;
|
|
2411
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2389
2412
|
ngAfterViewInit(): void;
|
|
2390
2413
|
handleChooseItem(e: Event, item: any, depth: number): void;
|
|
2391
2414
|
onClick(item: any): void;
|
|
@@ -2437,6 +2460,8 @@ declare class WbMenuMobile implements OnInit {
|
|
|
2437
2460
|
linkPage: any;
|
|
2438
2461
|
constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute);
|
|
2439
2462
|
ngOnInit(): void;
|
|
2463
|
+
updateDataClone(): void;
|
|
2464
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2440
2465
|
handleChooseItem(e: Event, item: any, depth: number): void;
|
|
2441
2466
|
onClick(item: any): void;
|
|
2442
2467
|
/**
|
|
@@ -2481,6 +2506,8 @@ declare class WbButtonQuantity implements OnInit {
|
|
|
2481
2506
|
product: any;
|
|
2482
2507
|
constructor(webBuilderService: webBuilderService, cart: CartService);
|
|
2483
2508
|
ngOnInit(): void;
|
|
2509
|
+
updateDataClone(): void;
|
|
2510
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2484
2511
|
handleChangeQuantity(quantity: any, quantityValue?: any): void;
|
|
2485
2512
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonQuantity, never>;
|
|
2486
2513
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbButtonQuantity, "wb-button-quantity", 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>;
|
|
@@ -2520,6 +2547,8 @@ declare class WbCheckboxFilter implements OnInit, OnDestroy {
|
|
|
2520
2547
|
private qpSub?;
|
|
2521
2548
|
constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute);
|
|
2522
2549
|
ngOnInit(): void;
|
|
2550
|
+
updateDataClone(): void;
|
|
2551
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2523
2552
|
ngOnDestroy(): void;
|
|
2524
2553
|
private priceToken;
|
|
2525
2554
|
handleChooseItem(item: any, event: Event): void;
|
|
@@ -2560,6 +2589,7 @@ declare class WbProductImageList implements OnInit {
|
|
|
2560
2589
|
changeNumberImgsSub: any;
|
|
2561
2590
|
constructor(webBuilderService: webBuilderService, functionService: FunctionService);
|
|
2562
2591
|
ngOnInit(): void;
|
|
2592
|
+
updateDataClone(): void;
|
|
2563
2593
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2564
2594
|
onChangeImgs(): void;
|
|
2565
2595
|
handleNext(): void;
|
|
@@ -2598,6 +2628,8 @@ declare class WbProductSelectAttribute implements OnInit {
|
|
|
2598
2628
|
product: any;
|
|
2599
2629
|
constructor(webBuilderService: webBuilderService);
|
|
2600
2630
|
ngOnInit(): void;
|
|
2631
|
+
updateDataClone(): void;
|
|
2632
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2601
2633
|
selectAttribute(item: any): void;
|
|
2602
2634
|
activeVariant(item: any): boolean;
|
|
2603
2635
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbProductSelectAttribute, never>;
|
|
@@ -2764,6 +2796,7 @@ declare class WbMapConfig implements OnInit {
|
|
|
2764
2796
|
}
|
|
2765
2797
|
|
|
2766
2798
|
declare class WbGoogleMap implements OnInit {
|
|
2799
|
+
private webBuilderService;
|
|
2767
2800
|
data: any;
|
|
2768
2801
|
device: any;
|
|
2769
2802
|
class: any;
|
|
@@ -2772,8 +2805,10 @@ declare class WbGoogleMap implements OnInit {
|
|
|
2772
2805
|
type: any;
|
|
2773
2806
|
isClone: any;
|
|
2774
2807
|
product: any;
|
|
2775
|
-
constructor();
|
|
2808
|
+
constructor(webBuilderService: webBuilderService);
|
|
2776
2809
|
ngOnInit(): void;
|
|
2810
|
+
updateDataClone(): void;
|
|
2811
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2777
2812
|
getMapCode(): any;
|
|
2778
2813
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbGoogleMap, never>;
|
|
2779
2814
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbGoogleMap, "wb-google-map", 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>;
|
|
@@ -2799,11 +2834,10 @@ declare class WbGoogleMapConfig implements OnInit {
|
|
|
2799
2834
|
declare class WbStyleDirective implements DoCheck {
|
|
2800
2835
|
private el;
|
|
2801
2836
|
private renderer;
|
|
2802
|
-
private differs;
|
|
2803
2837
|
private _wbStyle;
|
|
2804
|
-
private
|
|
2838
|
+
private _appliedKeys;
|
|
2805
2839
|
set wbStyle(value: any);
|
|
2806
|
-
constructor(el: ElementRef, renderer: Renderer2
|
|
2840
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
2807
2841
|
ngDoCheck(): void;
|
|
2808
2842
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbStyleDirective, never>;
|
|
2809
2843
|
static ɵdir: i0.ɵɵDirectiveDeclaration<WbStyleDirective, "[wbStyle]", never, { "wbStyle": { "alias": "wbStyle"; "required": false; }; }, {}, never, never, true, never>;
|