fw-webbuilder 1.1.180 → 1.1.182

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, KeyValueDiffers, InjectionToken } from '@angular/core';
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;
@@ -149,17 +153,12 @@ declare class webBuilderService {
149
153
  private wrapApiCall;
150
154
  addProject(data: any): Promise<any>;
151
155
  copyProject(data: any): Promise<any>;
152
- checkSubDomain(subDomain: any): Promise<any>;
156
+ checkSubDomain(domain: any): Promise<any>;
153
157
  updateProject(id: string, data: any): Promise<any>;
154
158
  deleteProject(id: string): Promise<any>;
155
159
  getProjects_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
156
160
  /**
157
161
  * dùng route khác vì route này không cần đăng nhập
158
- * @param query
159
- * @param sort
160
- * @param page
161
- * @param limit
162
- * @returns
163
162
  */
164
163
  getTemplates_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
165
164
  addTemplate(data: any): Promise<any>;
@@ -207,23 +206,25 @@ declare class webBuilderService {
207
206
  flatNodes(nodes: any): any;
208
207
  getPages(): Promise<any>;
209
208
  addBlock(data: any, code?: any): Promise<any>;
210
- updateBlock(id: string, data: any, code?: string): Promise<any>;
209
+ /**
210
+ *
211
+ * @param id
212
+ * @param data
213
+ * @param code
214
+ * @param isSync có cập nhật DOM hay không
215
+ * @returns
216
+ */
217
+ updateBlock(id: string, data: any, code?: string, isSync?: any): Promise<any>;
211
218
  deleteBlock(id: string, code?: any): Promise<any>;
212
- deleteBlockClone(block: any, code?: string): Promise<any>;
213
219
  addObject(data: any, code?: any): Promise<any>;
214
220
  updateObject(id: string, data: any, code?: string): Promise<any>;
215
221
  /**
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
222
  * @param id id của object cần xóa
220
223
  * @returns
221
224
  */
222
225
  deleteObject(id: string, code?: any): Promise<any>;
223
- deleteObjectClone(object: any, code?: string): Promise<any>;
224
226
  uploadFile(file: File, newPath: string, options?: any): Promise<Object>;
225
227
  upLoadImage(file: any, oldPath: string, newPath: string, options?: any): Promise<any>;
226
- upLoadAdminImage(file: any, oldPath: string, newPath: string, options?: any): Promise<any>;
227
228
  addCategory(data: any): Promise<any>;
228
229
  updateCategory(id: string, data: any): Promise<any>;
229
230
  deleteCategory(id: string): Promise<any>;
@@ -303,8 +304,6 @@ declare class webBuilderService {
303
304
  private updatePage2;
304
305
  private deleteObject2;
305
306
  private deleteBlock2;
306
- private deleteBlockClone2;
307
- private deleteObjectClone2;
308
307
  applyFontLinks(fontLinksFromDB: string): void;
309
308
  getFontNames(fontLinkTag: string): string[];
310
309
  /**
@@ -312,7 +311,7 @@ declare class webBuilderService {
312
311
  * @param page _id của page chứa block
313
312
  * @param block block có NHÁNH(objects) cần copy
314
313
  */
315
- handleCopyBlock(page: any, block: any, code: any): Promise<void>;
314
+ handleCopyBlock(page: any, block: any, code: any, isClone: boolean): Promise<void>;
316
315
  /**
317
316
  * Hàm này dùng để copy object
318
317
  * khi copy page thì cần mọi object nằm ở vị trí cũ,
@@ -321,28 +320,13 @@ declare class webBuilderService {
321
320
  * @param object object có NHÁNH(objects) cần copy
322
321
  * @param change_position
323
322
  */
324
- handleCopyObject(parent: any, object: any, change_position: boolean | undefined, code: any): Promise<void>;
323
+ handleCopyObject(parent: any, object: any, change_position: boolean | undefined, code: any, isClone: boolean): Promise<void>;
325
324
  /**
326
325
  * hàm này copy page, page truyền vào phải có nhánh
327
326
  * @param page page phải có NHÁNH
328
327
  * @returns
329
328
  */
330
329
  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
330
  handleOrder(customer_info: any, note: any, payment_method: any, id_user: any): Promise<any>;
347
331
  getOrders_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
348
332
  updateOrder(id: string, data: any): Promise<any>;
@@ -711,8 +695,9 @@ declare class WbBlockBlank implements OnInit {
711
695
  };
712
696
  constructor(webBuilderService: webBuilderService, map: ComponentMapService, modalRef: NzModalRef<WbBlockBlank>);
713
697
  ngOnInit(): void;
714
- updatePoisitionBlockChatBox(is_first: boolean): void;
698
+ updateDataClone(): void;
715
699
  ngOnChanges(changes: SimpleChanges): void;
700
+ updatePoisitionBlockChatBox(is_first: boolean): void;
716
701
  ngOnDestroy(): void;
717
702
  static ɵfac: i0.ɵɵFactoryDeclaration<WbBlockBlank, [null, null, { optional: true; }]>;
718
703
  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 +1384,6 @@ declare class WbFrameBanner implements OnInit {
1399
1384
  config: any;
1400
1385
  animation: any;
1401
1386
  type: any;
1402
- isClone: any;
1403
1387
  product: any;
1404
1388
  currentIndex: number;
1405
1389
  private gsap;
@@ -1416,8 +1400,11 @@ declare class WbFrameBanner implements OnInit {
1416
1400
  private slideWidth;
1417
1401
  private currentProgress;
1418
1402
  private PERSPECTIVE_VALUE;
1403
+ dataClone: any;
1419
1404
  constructor(webBuilderService: webBuilderService, map: ComponentMapService, element: ElementRef, platformId: Object);
1420
1405
  ngOnInit(): void;
1406
+ updateDataClone(): void;
1407
+ ngOnChanges(changes: SimpleChanges): void;
1421
1408
  ngAfterViewInit(): void;
1422
1409
  private initSlidesMap;
1423
1410
  private setCurrentSlide;
@@ -1477,7 +1464,7 @@ declare class WbFrameBanner implements OnInit {
1477
1464
  */
1478
1465
  private animateSlide;
1479
1466
  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; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
1467
+ 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
1468
  }
1482
1469
 
1483
1470
  declare class WbFrameBannerConfig implements OnInit {
@@ -1506,15 +1493,16 @@ declare class WbFrameCollapse implements OnInit {
1506
1493
  config: any;
1507
1494
  animation: any;
1508
1495
  type: any;
1509
- isClone: any;
1510
1496
  product: any;
1511
1497
  currentIndex: number;
1512
1498
  constructor(webBuilderService: webBuilderService, map: ComponentMapService);
1513
1499
  ngOnInit(): void;
1500
+ updateDataClone(): void;
1501
+ ngOnChanges(changes: SimpleChanges): void;
1514
1502
  handleOpenCollapse(obj: any, index: any): void;
1515
1503
  handleChooseFrame(obj: any, index: any, node: any): void;
1516
1504
  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; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
1505
+ 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
1506
  }
1519
1507
 
1520
1508
  declare class WbFrameCollapseConfig implements OnInit {
@@ -1545,7 +1533,6 @@ declare class WbFrameBlank implements OnInit {
1545
1533
  animation: any;
1546
1534
  type: any;
1547
1535
  product: any;
1548
- isClone: any;
1549
1536
  /**
1550
1537
  * 6 biến này để sticky vật thể
1551
1538
  * */
@@ -1555,13 +1542,16 @@ declare class WbFrameBlank implements OnInit {
1555
1542
  oldMarginTop: number;
1556
1543
  refPosBounding: any;
1557
1544
  scrollbarEle: any;
1545
+ dataClone: any;
1558
1546
  constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef);
1559
1547
  ngOnInit(): void;
1560
1548
  ngAfterViewInit(): void;
1549
+ updateDataClone(): void;
1550
+ ngOnChanges(changes: SimpleChanges): void;
1561
1551
  ngOnDestroy(): void;
1562
1552
  handleScroll: (e: Event) => void;
1563
1553
  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; }; "isClone": { "alias": "isClone"; "required": false; }; }, {}, never, never, true, never>;
1554
+ 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
1555
  }
1566
1556
 
1567
1557
  declare class WbFrameBlankConfig implements OnInit {
@@ -1590,13 +1580,14 @@ declare class WbFrameTab implements OnInit {
1590
1580
  animation: any;
1591
1581
  type: any;
1592
1582
  product: any;
1593
- isClone: any;
1594
1583
  currentTab: number;
1595
1584
  constructor(webBuilderService: webBuilderService, map: ComponentMapService);
1596
1585
  ngOnInit(): void;
1586
+ updateDataClone(): void;
1587
+ ngOnChanges(changes: SimpleChanges): void;
1597
1588
  onChooseTab(index: number): void;
1598
1589
  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; }; "isClone": { "alias": "isClone"; "required": false; }; }, {}, never, never, true, never>;
1590
+ 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
1591
  }
1601
1592
 
1602
1593
  declare class WbFrameTabConfig implements OnInit {
@@ -1627,19 +1618,20 @@ declare class WbFrameCart implements OnInit {
1627
1618
  config: any;
1628
1619
  animation: any;
1629
1620
  type: any;
1630
- isClone: any;
1631
1621
  product: any;
1632
1622
  loading: boolean;
1633
1623
  products: never[];
1634
1624
  changeGridSub: any;
1635
1625
  constructor(webBuilderService: webBuilderService, map: ComponentMapService, cartService: CartService, el: ElementRef, authService: AuthService);
1636
1626
  ngOnInit(): void;
1627
+ updateDataClone(): void;
1637
1628
  ngOnDestroy(): void;
1629
+ ngOnChanges(changes: SimpleChanges): void;
1638
1630
  getOrderHistory(): void;
1639
1631
  calcProducts(): void;
1640
1632
  displayItems(): any;
1641
1633
  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; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
1634
+ 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
1635
  }
1644
1636
 
1645
1637
  declare class WbFrameCartConfig implements OnInit {
@@ -1669,14 +1661,15 @@ declare class WbFrameProductDetail implements OnInit {
1669
1661
  config: any;
1670
1662
  animation: any;
1671
1663
  type: any;
1672
- isClone: any;
1673
1664
  product: any;
1674
1665
  loading: boolean;
1675
1666
  constructor(webBuilderService: webBuilderService, route: ActivatedRoute, map: ComponentMapService);
1676
1667
  ngOnInit(): void;
1668
+ updateDataClone(): void;
1669
+ ngOnChanges(changes: SimpleChanges): void;
1677
1670
  handleGetProduct(): void;
1678
1671
  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; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
1672
+ 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
1673
  }
1681
1674
 
1682
1675
  declare class WbFrameProductDetailConfig implements OnInit {
@@ -1708,7 +1701,6 @@ declare class WbFrameProducts implements OnInit {
1708
1701
  config: any;
1709
1702
  animation: any;
1710
1703
  type: any;
1711
- isClone: any;
1712
1704
  product: any;
1713
1705
  loading: boolean;
1714
1706
  /** ----------------- SLIDE --------------------- */
@@ -1737,6 +1729,7 @@ declare class WbFrameProducts implements OnInit {
1737
1729
  autoSlideInterval: any;
1738
1730
  constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
1739
1731
  ngOnInit(): void;
1732
+ updateDataClone(): void;
1740
1733
  ngOnChanges(changes: SimpleChanges): void;
1741
1734
  ngOnDestroy(): void;
1742
1735
  calcProducts(): void;
@@ -1749,7 +1742,7 @@ declare class WbFrameProducts implements OnInit {
1749
1742
  startAutoSlide(): void;
1750
1743
  stopAutoSlide(): void;
1751
1744
  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; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
1745
+ 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
1746
  }
1754
1747
 
1755
1748
  declare class WbFrameProductsConfig implements OnInit {
@@ -1829,7 +1822,6 @@ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
1829
1822
  config: any;
1830
1823
  animation: any;
1831
1824
  type: any;
1832
- isClone: any;
1833
1825
  product: any;
1834
1826
  loading: boolean;
1835
1827
  products: any;
@@ -1843,6 +1835,8 @@ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
1843
1835
  qpSub?: Subscription;
1844
1836
  constructor(webBuilderService: webBuilderService, route: ActivatedRoute, router: Router, map: ComponentMapService);
1845
1837
  ngOnInit(): void;
1838
+ updateDataClone(): void;
1839
+ ngOnChanges(changes: SimpleChanges): void;
1846
1840
  ngOnDestroy(): void;
1847
1841
  handleGetProduct(): void;
1848
1842
  calcProducts(): void;
@@ -1851,7 +1845,7 @@ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
1851
1845
  updateListPage(): void;
1852
1846
  transferFn(value: number): void;
1853
1847
  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; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
1848
+ 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
1849
  }
1856
1850
 
1857
1851
  declare class WbFrameProductsByCategoryConfig implements OnInit {
@@ -1883,6 +1877,8 @@ declare class WbButtonSetDefaultAddress implements OnInit {
1883
1877
  product: any;
1884
1878
  constructor(webBuilderService: webBuilderService);
1885
1879
  ngOnInit(): void;
1880
+ updateDataClone(): void;
1881
+ ngOnChanges(changes: SimpleChanges): void;
1886
1882
  onClick(): void;
1887
1883
  static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonSetDefaultAddress, never>;
1888
1884
  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 +1917,8 @@ declare class WbSelectCountry implements OnInit {
1921
1917
  countrySelected: any;
1922
1918
  constructor(webBuilderService: webBuilderService);
1923
1919
  ngOnInit(): void;
1920
+ updateDataClone(): void;
1921
+ ngOnChanges(changes: SimpleChanges): void;
1924
1922
  toggleDropdown(): void;
1925
1923
  selectCountry(country: any): void;
1926
1924
  static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectCountry, never>;
@@ -1959,6 +1957,8 @@ declare class WbInput implements OnInit {
1959
1957
  changeBlockSub: any;
1960
1958
  constructor(router: Router, webBuilderService: webBuilderService, authService: AuthService);
1961
1959
  ngOnInit(): void;
1960
+ updateDataClone(): void;
1961
+ ngOnChanges(changes: SimpleChanges): void;
1962
1962
  getDetailFreeblock(): void;
1963
1963
  ngOnDestroy(): void;
1964
1964
  onChangeType(): void;
@@ -2020,6 +2020,8 @@ declare class WbSelectProvinceDistrictWard implements OnInit {
2020
2020
  hideShowSub: any;
2021
2021
  constructor(webBuilderService: webBuilderService, authService: AuthService);
2022
2022
  ngOnInit(): void;
2023
+ updateDataClone(): void;
2024
+ ngOnChanges(changes: SimpleChanges): void;
2023
2025
  ngOnDestroy(): void;
2024
2026
  toggleDropdown(idx: number): void;
2025
2027
  selectProvince(province: any): void;
@@ -2061,6 +2063,8 @@ declare class WbBreadcumb implements OnInit {
2061
2063
  pageName: string;
2062
2064
  constructor(route: ActivatedRoute, webBuilderService: webBuilderService);
2063
2065
  ngOnInit(): void;
2066
+ updateDataClone(): void;
2067
+ ngOnChanges(changes: SimpleChanges): void;
2064
2068
  static ɵfac: i0.ɵɵFactoryDeclaration<WbBreadcumb, never>;
2065
2069
  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
2070
  }
@@ -2113,6 +2117,7 @@ declare class WbButton implements OnInit {
2113
2117
  previousUrl: string;
2114
2118
  constructor(router: Router, webBuilderService: webBuilderService, authService: AuthService, functionService: FunctionService, elementRef: ElementRef, modal: NzModalService, modalRef: NzModalRef<WbBlockBlank>, drawerService: DrawerService, cart: CartService, translate: TranslateService);
2115
2119
  ngOnInit(): void;
2120
+ updateDataClone(): void;
2116
2121
  ngOnChanges(changes: SimpleChanges): void;
2117
2122
  ngAfterViewInit(): void;
2118
2123
  ngOnDestroy(): void;
@@ -2182,6 +2187,8 @@ declare class WbImage implements OnInit {
2182
2187
  resultRef: ElementRef<HTMLDivElement>;
2183
2188
  constructor(router: Router, webBuilderService: webBuilderService);
2184
2189
  ngOnInit(): void;
2190
+ updateDataClone(): void;
2191
+ ngOnChanges(changes: SimpleChanges): void;
2185
2192
  move(e: MouseEvent | TouchEvent): void;
2186
2193
  private getCursorPos;
2187
2194
  onClick(e: any): void;
@@ -2223,6 +2230,8 @@ declare class WbLine implements OnInit {
2223
2230
  product: any;
2224
2231
  constructor(webBuilderService: webBuilderService);
2225
2232
  ngOnInit(): void;
2233
+ updateDataClone(): void;
2234
+ ngOnChanges(changes: SimpleChanges): void;
2226
2235
  static ɵfac: i0.ɵɵFactoryDeclaration<WbLine, never>;
2227
2236
  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
2237
  }
@@ -2263,6 +2272,8 @@ declare class WbText implements OnInit {
2263
2272
  private resizeTimeout;
2264
2273
  constructor(webBuilderService: webBuilderService, router: Router, authService: AuthService, cart: CartService, translate: TranslateService, el: ElementRef);
2265
2274
  ngOnInit(): void;
2275
+ updateDataClone(): void;
2276
+ ngOnChanges(changes: SimpleChanges): void;
2266
2277
  onClick(e: any): void;
2267
2278
  ngAfterViewInit(): void;
2268
2279
  ngOnDestroy(): void;
@@ -2308,6 +2319,8 @@ declare class WbTextParagraph implements OnInit {
2308
2319
  safeContent: SafeHtml;
2309
2320
  constructor(webBuilderService: webBuilderService);
2310
2321
  ngOnInit(): void;
2322
+ updateDataClone(): void;
2323
+ ngOnChanges(changes: SimpleChanges): void;
2311
2324
  getContent(): any;
2312
2325
  static ɵfac: i0.ɵɵFactoryDeclaration<WbTextParagraph, never>;
2313
2326
  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 +2355,8 @@ declare class WbVideo implements OnInit {
2342
2355
  product: any;
2343
2356
  constructor(webBuilderService: webBuilderService);
2344
2357
  ngOnInit(): void;
2358
+ updateDataClone(): void;
2359
+ ngOnChanges(changes: SimpleChanges): void;
2345
2360
  static ɵfac: i0.ɵɵFactoryDeclaration<WbVideo, never>;
2346
2361
  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
2362
  }
@@ -2386,6 +2401,8 @@ declare class WbMenuHorizontal implements OnInit {
2386
2401
  scrollbarEle: any;
2387
2402
  constructor(webBuilderService: webBuilderService, map: ComponentMapService, router: Router, route: ActivatedRoute, el: ElementRef);
2388
2403
  ngOnInit(): void;
2404
+ updateDataClone(): void;
2405
+ ngOnChanges(changes: SimpleChanges): void;
2389
2406
  ngAfterViewInit(): void;
2390
2407
  handleChooseItem(e: Event, item: any, depth: number): void;
2391
2408
  onClick(item: any): void;
@@ -2437,6 +2454,8 @@ declare class WbMenuMobile implements OnInit {
2437
2454
  linkPage: any;
2438
2455
  constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute);
2439
2456
  ngOnInit(): void;
2457
+ updateDataClone(): void;
2458
+ ngOnChanges(changes: SimpleChanges): void;
2440
2459
  handleChooseItem(e: Event, item: any, depth: number): void;
2441
2460
  onClick(item: any): void;
2442
2461
  /**
@@ -2481,6 +2500,8 @@ declare class WbButtonQuantity implements OnInit {
2481
2500
  product: any;
2482
2501
  constructor(webBuilderService: webBuilderService, cart: CartService);
2483
2502
  ngOnInit(): void;
2503
+ updateDataClone(): void;
2504
+ ngOnChanges(changes: SimpleChanges): void;
2484
2505
  handleChangeQuantity(quantity: any, quantityValue?: any): void;
2485
2506
  static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonQuantity, never>;
2486
2507
  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 +2541,8 @@ declare class WbCheckboxFilter implements OnInit, OnDestroy {
2520
2541
  private qpSub?;
2521
2542
  constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute);
2522
2543
  ngOnInit(): void;
2544
+ updateDataClone(): void;
2545
+ ngOnChanges(changes: SimpleChanges): void;
2523
2546
  ngOnDestroy(): void;
2524
2547
  private priceToken;
2525
2548
  handleChooseItem(item: any, event: Event): void;
@@ -2560,6 +2583,7 @@ declare class WbProductImageList implements OnInit {
2560
2583
  changeNumberImgsSub: any;
2561
2584
  constructor(webBuilderService: webBuilderService, functionService: FunctionService);
2562
2585
  ngOnInit(): void;
2586
+ updateDataClone(): void;
2563
2587
  ngOnChanges(changes: SimpleChanges): void;
2564
2588
  onChangeImgs(): void;
2565
2589
  handleNext(): void;
@@ -2598,6 +2622,8 @@ declare class WbProductSelectAttribute implements OnInit {
2598
2622
  product: any;
2599
2623
  constructor(webBuilderService: webBuilderService);
2600
2624
  ngOnInit(): void;
2625
+ updateDataClone(): void;
2626
+ ngOnChanges(changes: SimpleChanges): void;
2601
2627
  selectAttribute(item: any): void;
2602
2628
  activeVariant(item: any): boolean;
2603
2629
  static ɵfac: i0.ɵɵFactoryDeclaration<WbProductSelectAttribute, never>;
@@ -2764,6 +2790,7 @@ declare class WbMapConfig implements OnInit {
2764
2790
  }
2765
2791
 
2766
2792
  declare class WbGoogleMap implements OnInit {
2793
+ private webBuilderService;
2767
2794
  data: any;
2768
2795
  device: any;
2769
2796
  class: any;
@@ -2772,8 +2799,10 @@ declare class WbGoogleMap implements OnInit {
2772
2799
  type: any;
2773
2800
  isClone: any;
2774
2801
  product: any;
2775
- constructor();
2802
+ constructor(webBuilderService: webBuilderService);
2776
2803
  ngOnInit(): void;
2804
+ updateDataClone(): void;
2805
+ ngOnChanges(changes: SimpleChanges): void;
2777
2806
  getMapCode(): any;
2778
2807
  static ɵfac: i0.ɵɵFactoryDeclaration<WbGoogleMap, never>;
2779
2808
  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 +2828,10 @@ declare class WbGoogleMapConfig implements OnInit {
2799
2828
  declare class WbStyleDirective implements DoCheck {
2800
2829
  private el;
2801
2830
  private renderer;
2802
- private differs;
2803
2831
  private _wbStyle;
2804
- private differ;
2832
+ private _appliedKeys;
2805
2833
  set wbStyle(value: any);
2806
- constructor(el: ElementRef, renderer: Renderer2, differs: KeyValueDiffers);
2834
+ constructor(el: ElementRef, renderer: Renderer2);
2807
2835
  ngDoCheck(): void;
2808
2836
  static ɵfac: i0.ɵɵFactoryDeclaration<WbStyleDirective, never>;
2809
2837
  static ɵdir: i0.ɵɵDirectiveDeclaration<WbStyleDirective, "[wbStyle]", never, { "wbStyle": { "alias": "wbStyle"; "required": false; }; }, {}, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.180",
3
+ "version": "1.1.182",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0",