fw-webbuilder 0.0.2 → 0.0.4

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,15 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { Subject } from 'rxjs';
2
+ import { Subject, Observable, Subscription } from 'rxjs';
3
3
  import * as i0 from '@angular/core';
4
- import { OnInit, ElementRef, Renderer2, SimpleChanges, InjectionToken } from '@angular/core';
4
+ import { OnInit, ElementRef, Renderer2, SimpleChanges, ChangeDetectorRef, OnDestroy, InjectionToken } from '@angular/core';
5
+ import { Router, ActivatedRoute } from '@angular/router';
6
+ import * as ng_zorro_antd_message from 'ng-zorro-antd/message';
7
+ import { NzMessageService } from 'ng-zorro-antd/message';
8
+ import { Overlay } from '@angular/cdk/overlay';
9
+ import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
10
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
11
+ import { NzTableQueryParams } from 'ng-zorro-antd/table';
12
+ import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
5
13
 
6
14
  declare class SocketService {
7
15
  private apiUrl;
@@ -290,6 +298,165 @@ declare class webBuilderService {
290
298
  static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
291
299
  }
292
300
 
301
+ declare class ComponentMapService {
302
+ constructor();
303
+ render(value: any): any;
304
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComponentMapService, never>;
305
+ static ɵprov: i0.ɵɵInjectableDeclaration<ComponentMapService>;
306
+ }
307
+
308
+ declare class ComponentConfigMapService {
309
+ constructor();
310
+ render(value: any): any;
311
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComponentConfigMapService, never>;
312
+ static ɵprov: i0.ɵɵInjectableDeclaration<ComponentConfigMapService>;
313
+ }
314
+
315
+ declare class CommonConfigMapService {
316
+ constructor();
317
+ render(value: any): any;
318
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonConfigMapService, never>;
319
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonConfigMapService>;
320
+ }
321
+
322
+ /**
323
+ * endUser = {
324
+ * email: string,
325
+ * name: string,
326
+ * phone: string,
327
+ * country: string,
328
+ * addresses: [
329
+ * {
330
+ * _id: string
331
+ * address: string,
332
+ * is_default: boolean
333
+ * name: string
334
+ * phone: string
335
+ * city: string
336
+ * district: string
337
+ * ward: string
338
+ * }
339
+ * ],
340
+ * }
341
+ */
342
+ declare class AuthService {
343
+ private http;
344
+ private toast;
345
+ private webBuilderService;
346
+ private router;
347
+ private apiUrl;
348
+ private urlBE;
349
+ private user;
350
+ private endUser;
351
+ constructor(http: HttpClient, toast: NzMessageService, webBuilderService: webBuilderService, router: Router);
352
+ private wrapApiCall;
353
+ handleLogin(email: string, password: string): Promise<any>;
354
+ handleRegister(name: string, email: string, password: string): Promise<any>;
355
+ handleLogout(): Promise<any>;
356
+ checkAuthUser(): Observable<boolean>;
357
+ isAuthenticated(): Observable<boolean>;
358
+ handleRegisterEndUser(name: string, email: string, phone: string, password: string): Promise<any>;
359
+ handleLoginEndUser(email: string, password: string): Promise<any>;
360
+ handleLogoutEndUser(): Promise<any>;
361
+ checkAuthEndUser(): boolean;
362
+ fetchEndUser(): Promise<any>;
363
+ getEndUser(): any;
364
+ getUser(): any;
365
+ sendActivationEmail(token: any): Promise<Object>;
366
+ forgotPassword(email: string): Promise<Object>;
367
+ resetPassword(token: string, newPassword: string): Promise<Object>;
368
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
369
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
370
+ }
371
+
372
+ declare class CartService {
373
+ private webbuilderService;
374
+ private cartState;
375
+ cart: i0.Signal<any>;
376
+ loadInitialCart(): void;
377
+ /**
378
+ * chỉ cần truyền item, hàm tự tính số lượng
379
+ * @param itemToAdd
380
+ */
381
+ addItem(product: any): Promise<void>;
382
+ removeItem(id_variation: string): void;
383
+ updateItemQuantity(id_variation: string, quantity: number): void;
384
+ static ɵfac: i0.ɵɵFactoryDeclaration<CartService, never>;
385
+ static ɵprov: i0.ɵɵInjectableDeclaration<CartService>;
386
+ }
387
+
388
+ declare class FunctionService {
389
+ private webBuilderService;
390
+ private toast;
391
+ constructor(webBuilderService: webBuilderService, toast: NzMessageService);
392
+ /**
393
+ * hàm chuyển tên thành slug
394
+ * vd: "Giới thieu" => "gioi-thieu"
395
+ * @param name tên cần format
396
+ */
397
+ convertNameToSlug(name: string): string;
398
+ removeVietnamese(str: string): string;
399
+ /**
400
+ *
401
+ * @param object đối tượng cần thêm
402
+ */
403
+ addObject(object: any): Promise<void>;
404
+ /**
405
+ * hàm để tính toán lại kích thước của khung để add ra cho đẹp
406
+ * @param frame đối tượng cần thêm
407
+ */
408
+ addFrame(frame: any): void;
409
+ /**
410
+ * hàm để tính toán lại kích thước của khối để add ra cho đẹp
411
+ * @param block đối tượng cần thêm
412
+ */
413
+ addBlock(block: any): void;
414
+ /**
415
+ * hàm tạo thông báo
416
+ * @param type loại thông báok
417
+ * @param message
418
+ * @returns
419
+ */
420
+ createMessage(type: string | 'error' | 'warn' | 'success' | 'info', message: string): ng_zorro_antd_message.NzMessageRef;
421
+ /**
422
+ * Hàm sắp xếp mảng các đối tượng theo trường tiếng Việt
423
+ * @param data_filter
424
+ * @param field
425
+ * @param lang
426
+ * @param order
427
+ * @returns
428
+ */
429
+ sortVietnameseString(data_filter: any[], field: string, lang?: string, order?: number): any[];
430
+ /**
431
+ * Hàm tạo ID đối tượng theo định dạng ObjectId của MongoDB
432
+ * @returns {string} ID đối tượng 24 ký tự hex
433
+ */
434
+ generateObjectId(): string;
435
+ /**
436
+ * Tạo màu hex ngẫu nhiên
437
+ * @returns {string} Màu hex ngẫu nhiên
438
+ */
439
+ randomColor(): string;
440
+ handleNextPrevFrame(_this: any, direction: 'next' | 'prev', classTransition: string): void;
441
+ handleNextPrevCol(_this: any, direction: 'next' | 'prev', classTransition: string): void;
442
+ onMouseDown(_this: any, event: any, type: 'mouse' | 'touch', classTransition: string): void;
443
+ onMouseMove(_this: any, event: any, type: 'mouse' | 'touch'): void;
444
+ onMouseUp(_this: any, event: any, type: 'mouse' | 'touch', classTransition: string): void;
445
+ onMouseLeave(_this: any, event: any): void;
446
+ static ɵfac: i0.ɵɵFactoryDeclaration<FunctionService, never>;
447
+ static ɵprov: i0.ɵɵInjectableDeclaration<FunctionService>;
448
+ }
449
+
450
+ declare class DrawerService {
451
+ private overlay;
452
+ private overlayRef?;
453
+ constructor(overlay: Overlay);
454
+ open(config: any): void;
455
+ close(): void;
456
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerService, never>;
457
+ static ɵprov: i0.ɵɵInjectableDeclaration<DrawerService>;
458
+ }
459
+
293
460
  type DragMode = 'absolute' | 'margin';
294
461
  declare class WbDragDrop implements OnInit {
295
462
  webBuilderService: webBuilderService;
@@ -406,6 +573,1892 @@ declare class WbVirtualSelected implements OnInit {
406
573
  static ɵcmp: i0.ɵɵComponentDeclaration<WbVirtualSelected, "[wbVirtualSelected]", never, { "boundaryEle": { "alias": "boundaryEle"; "required": false; }; }, {}, never, never, true, never>;
407
574
  }
408
575
 
576
+ declare class WbBlockBlank implements OnInit {
577
+ webBuilderService: webBuilderService;
578
+ map: ComponentMapService;
579
+ modalRef: NzModalRef<WbBlockBlank>;
580
+ data: any;
581
+ device: any;
582
+ class: any;
583
+ config: any;
584
+ animation: any;
585
+ type: any;
586
+ product: any;
587
+ readonly nzModalData: any;
588
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, modalRef: NzModalRef<WbBlockBlank>);
589
+ ngOnInit(): void;
590
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBlockBlank, [null, null, { optional: true; }]>;
591
+ 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>;
592
+ }
593
+
594
+ declare class WbBlockBlankConfig implements OnInit {
595
+ map: CommonConfigMapService;
596
+ data: any;
597
+ device: any;
598
+ class: any;
599
+ config: any;
600
+ animation: any;
601
+ type: any;
602
+ tabs: any[];
603
+ constructor(map: CommonConfigMapService);
604
+ ngOnInit(): void;
605
+ ngOnChanges(changes: SimpleChanges): void;
606
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBlockBlankConfig, never>;
607
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbBlockBlankConfig, "wb-block-blank-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>;
608
+ }
609
+
610
+ declare class WbAnimationConfig implements OnInit {
611
+ private modal;
612
+ data: any;
613
+ device: any;
614
+ constructor(modal: NzModalService);
615
+ ngOnInit(): void;
616
+ handleChangeAnimation(): void;
617
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbAnimationConfig, never>;
618
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbAnimationConfig, "wb-animation-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
619
+ }
620
+
621
+ declare class WbBackgroundColorConfig implements OnInit {
622
+ webBuilderService: webBuilderService;
623
+ data: any;
624
+ device: any;
625
+ classBgColor: any;
626
+ configBgColor: any;
627
+ newColor: string;
628
+ isType: boolean;
629
+ constructor(webBuilderService: webBuilderService);
630
+ ngOnInit(): void;
631
+ onChooseBgType(type: string): void;
632
+ updateClassAndConfig(): void;
633
+ updateClass(): void;
634
+ updateBgGradient(): void;
635
+ addGradientColor(open: boolean): void;
636
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBackgroundColorConfig, never>;
637
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbBackgroundColorConfig, "wb-background-color-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classBgColor": { "alias": "classBgColor"; "required": false; }; "configBgColor": { "alias": "configBgColor"; "required": false; }; }, {}, never, never, true, never>;
638
+ }
639
+
640
+ declare class WbBackgroundImageConfig implements OnInit {
641
+ webBuilderService: webBuilderService;
642
+ msg: NzMessageService;
643
+ data: any;
644
+ device: any;
645
+ classBgImage: any;
646
+ optionsUpload: {
647
+ label: string;
648
+ value: string;
649
+ }[];
650
+ bgSizeConfigOptions: {
651
+ label: string;
652
+ value: string;
653
+ }[];
654
+ bgAttachmentConfigOptions: {
655
+ label: string;
656
+ value: string;
657
+ }[];
658
+ bgRepeatConfigOptions: {
659
+ label: string;
660
+ value: string;
661
+ }[];
662
+ bgPositionConfigOptions: {
663
+ label: string;
664
+ value: string;
665
+ }[];
666
+ urlImage: string;
667
+ bgPostion: string;
668
+ bgPositionCustom: string;
669
+ constructor(webBuilderService: webBuilderService, msg: NzMessageService);
670
+ ngOnInit(): void;
671
+ transform(value: any): string;
672
+ updateClass(): void;
673
+ onFileSelected(event: any): void;
674
+ handleChangeUrlImg(value: string): void;
675
+ onChangeBgPosition(): void;
676
+ updateConfigProject(): void;
677
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBackgroundImageConfig, never>;
678
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbBackgroundImageConfig, "wb-background-image-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classBgImage": { "alias": "classBgImage"; "required": false; }; }, {}, never, never, true, never>;
679
+ }
680
+
681
+ declare class WbBannerAnimationConfig implements OnInit {
682
+ webBuilderService: webBuilderService;
683
+ data: any;
684
+ device: any;
685
+ configAnimation: any;
686
+ animationOptions: any;
687
+ constructor(webBuilderService: webBuilderService);
688
+ ngOnInit(): void;
689
+ updateConfig(): void;
690
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBannerAnimationConfig, never>;
691
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbBannerAnimationConfig, "wb-banner-animation-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configAnimation": { "alias": "configAnimation"; "required": false; }; }, {}, never, never, true, never>;
692
+ }
693
+
694
+ declare class WbBorderConfig implements OnInit {
695
+ webBuilderService: webBuilderService;
696
+ data: any;
697
+ device: any;
698
+ classBorder: string;
699
+ classOutline: string;
700
+ configBorderColor: string;
701
+ borderOptions: {
702
+ label: string;
703
+ value: string;
704
+ }[];
705
+ outlineOptions: {
706
+ label: string;
707
+ value: string;
708
+ }[];
709
+ newColor: string;
710
+ constructor(webBuilderService: webBuilderService);
711
+ ngOnInit(): void;
712
+ updateClass(): void;
713
+ onChooseBgType(type: string): void;
714
+ updateBgGradient(): void;
715
+ updateClassAndConfig(): void;
716
+ addGradientColor(open: boolean): void;
717
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBorderConfig, never>;
718
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbBorderConfig, "wb-border-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classBorder": { "alias": "classBorder"; "required": false; }; "classOutline": { "alias": "classOutline"; "required": false; }; "configBorderColor": { "alias": "configBorderColor"; "required": false; }; }, {}, never, never, true, never>;
719
+ }
720
+
721
+ declare class WbBorderRadiusConfig implements OnInit {
722
+ webBuilderService: webBuilderService;
723
+ data: any;
724
+ device: any;
725
+ classBorderRadius: string;
726
+ isFirstChildLastChild: boolean;
727
+ constructor(webBuilderService: webBuilderService);
728
+ ngOnInit(): void;
729
+ updateClass(): void;
730
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBorderRadiusConfig, never>;
731
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbBorderRadiusConfig, "wb-border-radius-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classBorderRadius": { "alias": "classBorderRadius"; "required": false; }; "isFirstChildLastChild": { "alias": "isFirstChildLastChild"; "required": false; }; }, {}, never, never, true, never>;
732
+ }
733
+
734
+ declare class WbCheckboxConfig implements OnInit {
735
+ webBuilderService: webBuilderService;
736
+ data: any;
737
+ device: any;
738
+ classInput: any;
739
+ classGap: any;
740
+ constructor(webBuilderService: webBuilderService);
741
+ ngOnInit(): void;
742
+ updateClass(): void;
743
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbCheckboxConfig, never>;
744
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbCheckboxConfig, "wb-checkbox-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classInput": { "alias": "classInput"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; }, {}, never, never, false, never>;
745
+ }
746
+
747
+ declare class WbCkeditorConfig implements OnInit {
748
+ webBuilderService: webBuilderService;
749
+ private modal;
750
+ data: any;
751
+ device: any;
752
+ configContent: string;
753
+ constructor(webBuilderService: webBuilderService, modal: NzModalService);
754
+ ngOnInit(): void;
755
+ handleChangeContent(): void;
756
+ updateConfig(): void;
757
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbCkeditorConfig, never>;
758
+ 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>;
759
+ }
760
+
761
+ declare class WbDialogConfig implements OnInit {
762
+ webBuilderService: webBuilderService;
763
+ data: any;
764
+ device: any;
765
+ configDialog: string;
766
+ triggerOptions: any[];
767
+ dialogOptions: any[];
768
+ drawerPositionOptions: any[];
769
+ alignDialogOptions: any[];
770
+ topPositionOptions: any[];
771
+ isOpen: boolean;
772
+ deviceEleRect: any;
773
+ constructor(webBuilderService: webBuilderService);
774
+ ngOnInit(): void;
775
+ get filteredFreeblocks(): any;
776
+ updateConfig(): void;
777
+ updateClass(): void;
778
+ onSetPosition(): void;
779
+ openDrawer(): void;
780
+ onChangeBlock(): void;
781
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbDialogConfig, never>;
782
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbDialogConfig, "wb-dialog-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configDialog": { "alias": "configDialog"; "required": false; }; }, {}, never, never, true, never>;
783
+ }
784
+
785
+ declare class WbFilterConfig implements OnInit {
786
+ webBuilderService: webBuilderService;
787
+ data: any;
788
+ device: any;
789
+ configDataList: any;
790
+ configField: any;
791
+ classFlexDirection: any;
792
+ dataChoosing: any;
793
+ fieldOptions: {
794
+ label: string;
795
+ value: string;
796
+ }[];
797
+ directionOptions: any;
798
+ constructor(webBuilderService: webBuilderService);
799
+ ngOnInit(): void;
800
+ getNewFields(): void;
801
+ confirm1(event: Event, item: any): void;
802
+ handleAdd(): void;
803
+ drop(event: any): void;
804
+ updateConfig(): void;
805
+ updateClass(): void;
806
+ handleRemove(item: any): void;
807
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFilterConfig, never>;
808
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFilterConfig, "wb-filter-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configDataList": { "alias": "configDataList"; "required": false; }; "configField": { "alias": "configField"; "required": false; }; "classFlexDirection": { "alias": "classFlexDirection"; "required": false; }; }, {}, never, never, true, never>;
809
+ }
810
+
811
+ declare class WbFixedConfig implements OnInit {
812
+ webBuilderService: webBuilderService;
813
+ data: any;
814
+ device: any;
815
+ classFixed: any;
816
+ configFixed: any;
817
+ positionOptions: {
818
+ label: string;
819
+ value: string;
820
+ }[];
821
+ constructor(webBuilderService: webBuilderService);
822
+ ngOnInit(): void;
823
+ updateClass(): void;
824
+ updateConfig(): void;
825
+ onChangePosition(): void;
826
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFixedConfig, never>;
827
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFixedConfig, "wb-fixed-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classFixed": { "alias": "classFixed"; "required": false; }; "configFixed": { "alias": "configFixed"; "required": false; }; }, {}, never, never, true, never>;
828
+ }
829
+
830
+ declare class WbFrameContentConfig implements OnInit {
831
+ private modal;
832
+ data: any;
833
+ device: any;
834
+ constructor(modal: NzModalService);
835
+ ngOnInit(): void;
836
+ handleEditContent(): void;
837
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameContentConfig, never>;
838
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameContentConfig, "wb-frame-content-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
839
+ }
840
+
841
+ declare class WbFreeblockConfig implements OnInit {
842
+ private webBuilderService;
843
+ data: any;
844
+ device: any;
845
+ configHeader: string;
846
+ configFooter: string;
847
+ configChatBoxs: string;
848
+ lengthFreeBlocks: number;
849
+ constructor(webBuilderService: webBuilderService);
850
+ ngOnInit(): void;
851
+ onChangeFreeBlock(type: "header" | "footer" | "chatboxs" | undefined, value: any): void;
852
+ updateConfig(): void;
853
+ get headerOptions(): any;
854
+ get footerOptions(): any;
855
+ get chatboxOptions(): any;
856
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFreeblockConfig, never>;
857
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFreeblockConfig, "wb-freeblock-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configHeader": { "alias": "configHeader"; "required": false; }; "configFooter": { "alias": "configFooter"; "required": false; }; "configChatBoxs": { "alias": "configChatBoxs"; "required": false; }; "lengthFreeBlocks": { "alias": "lengthFreeBlocks"; "required": false; }; }, {}, never, never, true, never>;
858
+ }
859
+
860
+ declare class WbGridConfig implements OnInit {
861
+ webBuilderService: webBuilderService;
862
+ data: any;
863
+ device: any;
864
+ configGrid: string;
865
+ classGrid: string;
866
+ constructor(webBuilderService: webBuilderService);
867
+ ngOnInit(): void;
868
+ updateClassAndConfig(): void;
869
+ onChangeGrid(): void;
870
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbGridConfig, never>;
871
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbGridConfig, "wb-grid-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configGrid": { "alias": "configGrid"; "required": false; }; "classGrid": { "alias": "classGrid"; "required": false; }; }, {}, never, never, true, never>;
872
+ }
873
+
874
+ declare class WbHideShowConfig implements OnInit {
875
+ webBuilderService: webBuilderService;
876
+ data: any;
877
+ device: any;
878
+ classCursor: any;
879
+ classOverflowY: any;
880
+ classFlexDirection: any;
881
+ classGap: any;
882
+ configDragMode: any;
883
+ configTypeDisplay: any;
884
+ /**
885
+ * configEnableZoom dùng cho object_product_image
886
+ */
887
+ configEnableZoom: any;
888
+ devices: any;
889
+ cursorOptions: any[];
890
+ dragOptions: any[];
891
+ flexDirectionOptions: any[];
892
+ displayTypeOptions: any[];
893
+ overflowOptions: {
894
+ label: string;
895
+ value: string;
896
+ }[];
897
+ constructor(webBuilderService: webBuilderService);
898
+ ngOnInit(): void;
899
+ ngOnChanges(changes: SimpleChanges): void;
900
+ updateClass(): void;
901
+ updateConfig(): void;
902
+ updateHidden(key: string, value: boolean): void;
903
+ onChangedirection(): void;
904
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbHideShowConfig, never>;
905
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbHideShowConfig, "wb-hide-show-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classCursor": { "alias": "classCursor"; "required": false; }; "classOverflowY": { "alias": "classOverflowY"; "required": false; }; "classFlexDirection": { "alias": "classFlexDirection"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; "configDragMode": { "alias": "configDragMode"; "required": false; }; "configTypeDisplay": { "alias": "configTypeDisplay"; "required": false; }; "configEnableZoom": { "alias": "configEnableZoom"; "required": false; }; }, {}, never, never, true, never>;
906
+ }
907
+
908
+ declare class WbIconConfig implements OnInit {
909
+ private webBuilderService;
910
+ private modal;
911
+ data: any;
912
+ device: any;
913
+ configIcon: string;
914
+ classIconPosition: string;
915
+ classFlexDirection: string;
916
+ classIcon: string;
917
+ classBgIcon: string;
918
+ classMarginIcon: string;
919
+ classWidthButtonIcon: string;
920
+ classHeightButtonIcon: string;
921
+ constructor(webBuilderService: webBuilderService, modal: NzModalService);
922
+ ngOnInit(): void;
923
+ handleChangeIcon(): void;
924
+ updateConfig(): void;
925
+ updateClass(): void;
926
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbIconConfig, never>;
927
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbIconConfig, "wb-icon-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configIcon": { "alias": "configIcon"; "required": false; }; "classIconPosition": { "alias": "classIconPosition"; "required": false; }; "classFlexDirection": { "alias": "classFlexDirection"; "required": false; }; "classIcon": { "alias": "classIcon"; "required": false; }; "classBgIcon": { "alias": "classBgIcon"; "required": false; }; "classMarginIcon": { "alias": "classMarginIcon"; "required": false; }; "classWidthButtonIcon": { "alias": "classWidthButtonIcon"; "required": false; }; "classHeightButtonIcon": { "alias": "classHeightButtonIcon"; "required": false; }; }, {}, never, never, true, never>;
928
+ }
929
+
930
+ declare class WbImageListNumberConfig implements OnInit {
931
+ webBuilderService: webBuilderService;
932
+ data: any;
933
+ device: any;
934
+ configNumber: any;
935
+ classGrid: any;
936
+ positionImages: {
937
+ label: string;
938
+ value: string;
939
+ }[];
940
+ constructor(webBuilderService: webBuilderService);
941
+ ngOnInit(): void;
942
+ updateClassAndConfig(): void;
943
+ onChangeNumber(): void;
944
+ updateClass(): void;
945
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbImageListNumberConfig, never>;
946
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbImageListNumberConfig, "wb-image-list-number-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configNumber": { "alias": "configNumber"; "required": false; }; "classGrid": { "alias": "classGrid"; "required": false; }; }, {}, never, never, true, never>;
947
+ }
948
+
949
+ declare class WbLinkPageConfig implements OnInit {
950
+ webBuilderService: webBuilderService;
951
+ data: any;
952
+ device: any;
953
+ configLinkPage: any;
954
+ options: any;
955
+ pages: any;
956
+ clickActionOptions: {
957
+ label: string;
958
+ value: string;
959
+ }[];
960
+ blocks: any;
961
+ constructor(webBuilderService: webBuilderService);
962
+ ngOnInit(): void;
963
+ getPages(): void;
964
+ getBlocks(): void;
965
+ updateClass(): void;
966
+ updateConfig(): void;
967
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbLinkPageConfig, never>;
968
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbLinkPageConfig, "wb-link-page-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configLinkPage": { "alias": "configLinkPage"; "required": false; }; }, {}, never, never, true, never>;
969
+ }
970
+
971
+ declare class WbMenuContent implements OnInit {
972
+ webBuilderService: webBuilderService;
973
+ modalRef: NzModalRef<WbMenuContent>;
974
+ private modal;
975
+ cdr: ChangeDetectorRef;
976
+ data: any;
977
+ device: any;
978
+ readonly nzModalData: any;
979
+ constructor(webBuilderService: webBuilderService, modalRef: NzModalRef<WbMenuContent>, modal: NzModalService, cdr: ChangeDetectorRef);
980
+ ngOnInit(): void;
981
+ handleAddMenuItem(node?: any): void;
982
+ handleChangeIcon(node: any, type: string | 'before' | 'after'): void;
983
+ updateConfig(): void;
984
+ confirmDelete(node: any): void;
985
+ findParentNodeById(key: any, nodes: any): any | null;
986
+ handleEditMenuItem(node: any): void;
987
+ handleOpenMenuMobile(e: any, item: any): void;
988
+ drop(event: CdkDragDrop<string[]>): void;
989
+ clamp(value: number, max: number): number;
990
+ removeIcon(item: any, key: any): void;
991
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuContent, never>;
992
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuContent, "wb-menu-content", never, {}, {}, never, never, true, never>;
993
+ }
994
+
995
+ declare class WbObjectFitConfig implements OnInit {
996
+ webBuilderService: webBuilderService;
997
+ data: any;
998
+ device: any;
999
+ classObjectFit: any;
1000
+ constructor(webBuilderService: webBuilderService);
1001
+ ngOnInit(): void;
1002
+ onChoose(value: any): void;
1003
+ updateClass(): void;
1004
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbObjectFitConfig, never>;
1005
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbObjectFitConfig, "wb-object-fit-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classObjectFit": { "alias": "classObjectFit"; "required": false; }; }, {}, never, never, true, never>;
1006
+ }
1007
+
1008
+ declare class WbOrdinalConfig implements OnInit {
1009
+ webBuilderService: webBuilderService;
1010
+ data: any;
1011
+ device: any;
1012
+ classGap: any;
1013
+ classJustifyContent: any;
1014
+ configPositionTab: any;
1015
+ positions: {
1016
+ label: string;
1017
+ value: string;
1018
+ }[];
1019
+ justifyOptions: any;
1020
+ constructor(webBuilderService: webBuilderService);
1021
+ ngOnInit(): void;
1022
+ drop(event: CdkDragDrop<string[]>): void;
1023
+ updateClass(): void;
1024
+ updateObjectChoosingConfig(object: any, field: string): void;
1025
+ handleAdd(): void;
1026
+ onChangePositionTab(pos: any): void;
1027
+ updateClassAndConfig(): void;
1028
+ handleRemove(obj: any): void;
1029
+ randomColor(): string;
1030
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbOrdinalConfig, never>;
1031
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbOrdinalConfig, "wb-ordinal-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; "classJustifyContent": { "alias": "classJustifyContent"; "required": false; }; "configPositionTab": { "alias": "configPositionTab"; "required": false; }; }, {}, never, never, true, never>;
1032
+ }
1033
+
1034
+ declare class WbPaddingConfig implements OnInit {
1035
+ private webBuilderService;
1036
+ data: any;
1037
+ device: any;
1038
+ classPadding: any;
1039
+ constructor(webBuilderService: webBuilderService);
1040
+ ngOnInit(): void;
1041
+ updateClass(): void;
1042
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPaddingConfig, never>;
1043
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPaddingConfig, "wb-padding-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classPadding": { "alias": "classPadding"; "required": false; }; }, {}, never, never, true, never>;
1044
+ }
1045
+
1046
+ declare class WbPaginationConfig implements OnInit {
1047
+ private webBuilderService;
1048
+ data: any;
1049
+ device: any;
1050
+ classNotChoose: any;
1051
+ classChoose: any;
1052
+ classGap: any;
1053
+ classAlign: any;
1054
+ borderOptions: any;
1055
+ alignOptions: any[];
1056
+ constructor(webBuilderService: webBuilderService);
1057
+ ngOnInit(): void;
1058
+ updateClass(): void;
1059
+ updateConfig(): void;
1060
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPaginationConfig, never>;
1061
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPaginationConfig, "wb-pagination-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classNotChoose": { "alias": "classNotChoose"; "required": false; }; "classChoose": { "alias": "classChoose"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; "classAlign": { "alias": "classAlign"; "required": false; }; }, {}, never, never, true, never>;
1062
+ }
1063
+
1064
+ declare class WbPositionConfig implements OnInit {
1065
+ webBuilderService: webBuilderService;
1066
+ data: any;
1067
+ device: any;
1068
+ idParent: string | null;
1069
+ constructor(webBuilderService: webBuilderService);
1070
+ ngOnInit(): void;
1071
+ ngOnChanges(changes: SimpleChanges): void;
1072
+ updatePosition(): void;
1073
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPositionConfig, never>;
1074
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPositionConfig, "wb-position-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
1075
+ }
1076
+
1077
+ declare class WbPositionInConfig implements OnInit {
1078
+ webBuilderService: webBuilderService;
1079
+ data: any;
1080
+ device: any;
1081
+ idParent: any;
1082
+ constructor(webBuilderService: webBuilderService);
1083
+ ngOnInit(): void;
1084
+ onChoosePosition(position: string): void;
1085
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPositionInConfig, never>;
1086
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPositionInConfig, "wb-position-in-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
1087
+ }
1088
+
1089
+ declare class WbPositionOutConfig implements OnInit {
1090
+ webBuilderService: webBuilderService;
1091
+ data: any;
1092
+ device: any;
1093
+ idParent: any;
1094
+ constructor(webBuilderService: webBuilderService);
1095
+ ngOnInit(): void;
1096
+ ngOnChanges(changes: SimpleChanges): void;
1097
+ onChoosePosition(position: string): void;
1098
+ updatePosition(): void;
1099
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPositionOutConfig, never>;
1100
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPositionOutConfig, "wb-position-out-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
1101
+ }
1102
+
1103
+ declare class WbRotateConfig implements OnInit {
1104
+ webBuilderService: webBuilderService;
1105
+ data: any;
1106
+ device: any;
1107
+ classRotate: any;
1108
+ constructor(webBuilderService: webBuilderService);
1109
+ ngOnInit(): void;
1110
+ updateClass(): void;
1111
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbRotateConfig, never>;
1112
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbRotateConfig, "wb-rotate-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classRotate": { "alias": "classRotate"; "required": false; }; }, {}, never, never, true, never>;
1113
+ }
1114
+
1115
+ declare class WbScrollbarConfig implements OnInit {
1116
+ webBuilderService: webBuilderService;
1117
+ data: any;
1118
+ device: any;
1119
+ classScrollbar: any;
1120
+ constructor(webBuilderService: webBuilderService);
1121
+ ngOnInit(): void;
1122
+ updateClass(): void;
1123
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbScrollbarConfig, never>;
1124
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbScrollbarConfig, "wb-scrollbar-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classScrollbar": { "alias": "classScrollbar"; "required": false; }; }, {}, never, never, true, never>;
1125
+ }
1126
+
1127
+ declare class WbShadowConfig implements OnInit {
1128
+ webBuilderService: webBuilderService;
1129
+ data: any;
1130
+ device: any;
1131
+ classShadow: string;
1132
+ configShadow: string;
1133
+ shadowOptions: any;
1134
+ constructor(webBuilderService: webBuilderService);
1135
+ ngOnInit(): void;
1136
+ onChangeShadow(): void;
1137
+ updateClass(): void;
1138
+ updateConfig(): void;
1139
+ updateClassAndConfig(): void;
1140
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbShadowConfig, never>;
1141
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbShadowConfig, "wb-shadow-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classShadow": { "alias": "classShadow"; "required": false; }; "configShadow": { "alias": "configShadow"; "required": false; }; }, {}, never, never, true, never>;
1142
+ }
1143
+
1144
+ declare class WbSlideConfig implements OnInit {
1145
+ webBuilderService: webBuilderService;
1146
+ private modal;
1147
+ data: any;
1148
+ device: any;
1149
+ configSlide: string;
1150
+ configIconLeft: string;
1151
+ classBgIconLeft: string;
1152
+ classIconLeft: string;
1153
+ configIconRight: string;
1154
+ classBgIconRight: string;
1155
+ classIconRight: string;
1156
+ slideMethodOptions: any[];
1157
+ loopMethodOptions: any[];
1158
+ constructor(webBuilderService: webBuilderService, modal: NzModalService);
1159
+ ngOnInit(): void;
1160
+ updateClass(): void;
1161
+ updateConfig(): void;
1162
+ handleChangeIcon(position: 'left' | 'right'): void;
1163
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSlideConfig, never>;
1164
+ 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>;
1165
+ }
1166
+
1167
+ declare class WbStickyConfig implements OnInit {
1168
+ webBuilderService: webBuilderService;
1169
+ data: any;
1170
+ device: any;
1171
+ configSticky: any;
1172
+ stickyOptions: any;
1173
+ constructor(webBuilderService: webBuilderService);
1174
+ ngOnInit(): void;
1175
+ updateConfig(): void;
1176
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbStickyConfig, never>;
1177
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbStickyConfig, "wb-sticky-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configSticky": { "alias": "configSticky"; "required": false; }; }, {}, never, never, true, never>;
1178
+ }
1179
+
1180
+ declare class WbTextFormatConfig implements OnInit {
1181
+ webBuilderService: webBuilderService;
1182
+ data: any;
1183
+ device: any;
1184
+ classContent: string;
1185
+ classGap: any;
1186
+ classCursor: string;
1187
+ classFontWeight: string;
1188
+ classAlign: string;
1189
+ classLineHeight: string;
1190
+ classLetterSpacing: string;
1191
+ classAlignFlex: string;
1192
+ classMargin: string;
1193
+ classMaxLine: string;
1194
+ classPadding: string;
1195
+ classMinWidth: string;
1196
+ classMinHeight: string;
1197
+ configContent: string;
1198
+ configNotFound: string;
1199
+ configHref: string;
1200
+ configTag: string;
1201
+ configMaxLine: string;
1202
+ placeholder: boolean;
1203
+ configFormatDate: string;
1204
+ dateFormatOptions: any;
1205
+ fonts: any[];
1206
+ textAlignOptions: any[];
1207
+ justifyOptions: any;
1208
+ tagOptions: any[];
1209
+ constructor(webBuilderService: webBuilderService);
1210
+ ngOnInit(): void;
1211
+ onChangeTag(): void;
1212
+ onChangeUseMaxLine(): void;
1213
+ onChangeMaxLine(): void;
1214
+ updateClassAndConfig(): void;
1215
+ updateClass(): void;
1216
+ updateConfig(): void;
1217
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbTextFormatConfig, never>;
1218
+ 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>;
1219
+ }
1220
+
1221
+ declare class WbToolTipConfig implements OnInit {
1222
+ webBuilderService: webBuilderService;
1223
+ data: any;
1224
+ device: any;
1225
+ configTooltip: any;
1226
+ positionOptions: any;
1227
+ constructor(webBuilderService: webBuilderService);
1228
+ ngOnInit(): void;
1229
+ ngOnChanges(changes: SimpleChanges): void;
1230
+ updateConfig(): void;
1231
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbToolTipConfig, never>;
1232
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbToolTipConfig, "wb-tool-tip-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configTooltip": { "alias": "configTooltip"; "required": false; }; }, {}, never, never, true, never>;
1233
+ }
1234
+
1235
+ declare class WbUploadImageConfig implements OnInit {
1236
+ webBuilderService: webBuilderService;
1237
+ msg: NzMessageService;
1238
+ data: any;
1239
+ device: any;
1240
+ configImg: string;
1241
+ optionsUpload: {
1242
+ label: string;
1243
+ value: string;
1244
+ }[];
1245
+ constructor(webBuilderService: webBuilderService, msg: NzMessageService);
1246
+ ngOnInit(): void;
1247
+ onFileSelected(event: any): void;
1248
+ updateConfig(): void;
1249
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbUploadImageConfig, never>;
1250
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbUploadImageConfig, "wb-upload-image-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configImg": { "alias": "configImg"; "required": false; }; }, {}, never, never, true, never>;
1251
+ }
1252
+
1253
+ declare class WbUploadVideoConfig implements OnInit {
1254
+ webBuilderService: webBuilderService;
1255
+ data: any;
1256
+ device: any;
1257
+ configVideo: string;
1258
+ optionsUpload: {
1259
+ label: string;
1260
+ value: string;
1261
+ }[];
1262
+ constructor(webBuilderService: webBuilderService);
1263
+ ngOnInit(): void;
1264
+ updateConfig(): void;
1265
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbUploadVideoConfig, never>;
1266
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbUploadVideoConfig, "wb-upload-video-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configVideo": { "alias": "configVideo"; "required": false; }; }, {}, never, never, true, never>;
1267
+ }
1268
+
1269
+ declare class WbWidthHeightConfig implements OnInit {
1270
+ webBuilderService: webBuilderService;
1271
+ data: any;
1272
+ device: any;
1273
+ idParent: string | null;
1274
+ constructor(webBuilderService: webBuilderService);
1275
+ ngOnInit(): void;
1276
+ ngOnChanges(changes: SimpleChanges): void;
1277
+ updateClass(): void;
1278
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbWidthHeightConfig, never>;
1279
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbWidthHeightConfig, "wb-width-height-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
1280
+ }
1281
+
1282
+ declare class WbFrameBanner implements OnInit {
1283
+ webBuilderService: webBuilderService;
1284
+ map: ComponentMapService;
1285
+ private element;
1286
+ private platformId;
1287
+ data: any;
1288
+ device: any;
1289
+ class: any;
1290
+ config: any;
1291
+ animation: any;
1292
+ type: any;
1293
+ isClone: any;
1294
+ product: any;
1295
+ currentIndex: number;
1296
+ private gsap;
1297
+ private intervalId;
1298
+ private indexSlides;
1299
+ frameBanner: ElementRef;
1300
+ private startX;
1301
+ private startY;
1302
+ private isMouseDown;
1303
+ private isDragging;
1304
+ private isAnimating;
1305
+ private dragStartThreshold;
1306
+ private dragThreshold;
1307
+ private slideWidth;
1308
+ private currentProgress;
1309
+ private PERSPECTIVE_VALUE;
1310
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, element: ElementRef, platformId: Object);
1311
+ ngOnInit(): void;
1312
+ ngAfterViewInit(): void;
1313
+ private initSlidesMap;
1314
+ private setCurrentSlide;
1315
+ ngOnDestroy(): void;
1316
+ /**
1317
+ * Load script từ src bằng cách thêm thẻ script vào head và gọi hàm onLoad khi nó đã được load xong.
1318
+ * @param src đường dẫn đến tệp script cần tải.
1319
+ * @param onLoad hàm được gọi khi script đã được load xong.
1320
+ */
1321
+ private loadScript;
1322
+ jumpToSlide(index: any): void;
1323
+ /**
1324
+ * Đặt lại khoảng thời gian giữa các lượt chuyển slide tự động.
1325
+ * @description Hàm này dùng để dừng và đặt lại khoảng thời gian giữa các lượt chuyển slide tự động.
1326
+ */
1327
+ private resetInterval;
1328
+ /**
1329
+ * Hàm này thực hiển previous slide
1330
+ */
1331
+ previousSlide(): void;
1332
+ /**
1333
+ * Hiển thị slide được chỉ định.
1334
+ * Chú ý: phải gọi trước khi cập nhật currentIndex, chỉ khi ở chế độ preview thì mới có hiệu ứng xảy ra
1335
+ * @param index slide cần hiển thị
1336
+ * @param isReverse có đảo ngược hiệu ứng hay không (nhấn prev slide)
1337
+ */
1338
+ private showSlide;
1339
+ /**
1340
+ * Hàm này thực hiển next slide
1341
+ */
1342
+ nextSlide(): void;
1343
+ /** Bắt đầu thao tác kéo slide */
1344
+ startDrag(event: MouseEvent | TouchEvent): void;
1345
+ /** Hàm trợ giúp để lấy tọa độ X từ sự kiện chuột hoặc cảm ứng */
1346
+ private getEventX;
1347
+ /** Hàm trợ giúp để lấy tọa độ Y từ sự kiện chuột hoặc cảm ứng */
1348
+ private getEventY;
1349
+ /** Xử lý thao tác kéo khi di chuyển chuột */
1350
+ onDrag(event: MouseEvent | TouchEvent): void;
1351
+ /** Kết thúc thao tác kéo */
1352
+ endDrag(event: MouseEvent | TouchEvent): void;
1353
+ /**
1354
+ * Hiệu ứng chuyển slide khi nắm kéo
1355
+ */
1356
+ private animateSlideOnDrag;
1357
+ /**
1358
+ * Hiệu ứng chuyển slide khi thao tác với các nút
1359
+ * @param transitionType
1360
+ * @param slides
1361
+ * @param currentIndex
1362
+ * @param newIndex
1363
+ * @param indexSlides
1364
+ * @param currentProgress
1365
+ * @param isReverse
1366
+ * @param gsap
1367
+ * @param time_animation_play
1368
+ */
1369
+ private animateSlide;
1370
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBanner, never>;
1371
+ 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>;
1372
+ }
1373
+
1374
+ declare class WbFrameBannerConfig implements OnInit {
1375
+ webBuilderService: webBuilderService;
1376
+ map: CommonConfigMapService;
1377
+ data: any;
1378
+ device: any;
1379
+ class: any;
1380
+ config: any;
1381
+ animation: any;
1382
+ type: any;
1383
+ tabs: any[];
1384
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1385
+ ngOnInit(): void;
1386
+ ngOnChanges(changes: SimpleChanges): void;
1387
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBannerConfig, never>;
1388
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameBannerConfig, "wb-frame-banner-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>;
1389
+ }
1390
+
1391
+ declare class WbFrameBlank implements OnInit {
1392
+ webBuilderService: webBuilderService;
1393
+ map: ComponentMapService;
1394
+ el: ElementRef;
1395
+ data: any;
1396
+ device: any;
1397
+ class: any;
1398
+ config: any;
1399
+ animation: any;
1400
+ type: any;
1401
+ product: any;
1402
+ isClone: any;
1403
+ /**
1404
+ * 3 biến này để sticky vật thể
1405
+ * */
1406
+ rectTop: number;
1407
+ height: number;
1408
+ bottomParent: number;
1409
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef);
1410
+ ngOnInit(): void;
1411
+ ngAfterViewInit(): void;
1412
+ ngOnDestroy(): void;
1413
+ handleScroll: (e: Event) => void;
1414
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBlank, never>;
1415
+ 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>;
1416
+ }
1417
+
1418
+ declare class WbFrameBlankConfig implements OnInit {
1419
+ map: CommonConfigMapService;
1420
+ data: any;
1421
+ device: any;
1422
+ class: any;
1423
+ config: any;
1424
+ animation: any;
1425
+ type: any;
1426
+ tabs: any[];
1427
+ constructor(map: CommonConfigMapService);
1428
+ ngOnInit(): void;
1429
+ ngOnChanges(changes: SimpleChanges): void;
1430
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBlankConfig, never>;
1431
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameBlankConfig, "wb-frame-blank-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>;
1432
+ }
1433
+
1434
+ declare class WbFrameTab implements OnInit {
1435
+ webBuilderService: webBuilderService;
1436
+ map: ComponentMapService;
1437
+ data: any;
1438
+ device: any;
1439
+ class: any;
1440
+ config: any;
1441
+ animation: any;
1442
+ type: any;
1443
+ product: any;
1444
+ isClone: any;
1445
+ currentTab: number;
1446
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService);
1447
+ ngOnInit(): void;
1448
+ onChooseTab(index: number): void;
1449
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameTab, never>;
1450
+ 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>;
1451
+ }
1452
+
1453
+ declare class WbFrameTabConfig implements OnInit {
1454
+ map: CommonConfigMapService;
1455
+ data: any;
1456
+ device: any;
1457
+ class: any;
1458
+ config: any;
1459
+ animation: any;
1460
+ type: any;
1461
+ tabs: any[];
1462
+ constructor(map: CommonConfigMapService);
1463
+ ngOnInit(): void;
1464
+ ngOnChanges(changes: SimpleChanges): void;
1465
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameTabConfig, never>;
1466
+ 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>;
1467
+ }
1468
+
1469
+ declare class WbFrameCart implements OnInit {
1470
+ webBuilderService: webBuilderService;
1471
+ map: ComponentMapService;
1472
+ cartService: CartService;
1473
+ private el;
1474
+ private authService;
1475
+ data: any;
1476
+ device: any;
1477
+ class: any;
1478
+ config: any;
1479
+ animation: any;
1480
+ type: any;
1481
+ isClone: any;
1482
+ product: any;
1483
+ loading: boolean;
1484
+ products: never[];
1485
+ changeGridSub: any;
1486
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, cartService: CartService, el: ElementRef, authService: AuthService);
1487
+ ngOnInit(): void;
1488
+ ngOnDestroy(): void;
1489
+ calcProducts(): void;
1490
+ displayItems(): any;
1491
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameCart, never>;
1492
+ 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>;
1493
+ }
1494
+
1495
+ declare class WbFrameCartConfig implements OnInit {
1496
+ webBuilderService: webBuilderService;
1497
+ map: CommonConfigMapService;
1498
+ data: any;
1499
+ device: any;
1500
+ class: any;
1501
+ config: any;
1502
+ animation: any;
1503
+ type: any;
1504
+ tabs: any[];
1505
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1506
+ ngOnInit(): void;
1507
+ ngOnChanges(changes: SimpleChanges): void;
1508
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameCartConfig, never>;
1509
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameCartConfig, "wb-frame-cart-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>;
1510
+ }
1511
+
1512
+ declare class WbFrameProductDetail implements OnInit {
1513
+ webBuilderService: webBuilderService;
1514
+ private route;
1515
+ map: ComponentMapService;
1516
+ data: any;
1517
+ device: any;
1518
+ class: any;
1519
+ config: any;
1520
+ animation: any;
1521
+ type: any;
1522
+ isClone: any;
1523
+ product: any;
1524
+ loading: boolean;
1525
+ constructor(webBuilderService: webBuilderService, route: ActivatedRoute, map: ComponentMapService);
1526
+ ngOnInit(): void;
1527
+ handleGetProduct(): void;
1528
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductDetail, never>;
1529
+ 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>;
1530
+ }
1531
+
1532
+ declare class WbFrameProductDetailConfig implements OnInit {
1533
+ data: any;
1534
+ device: any;
1535
+ class: any;
1536
+ config: any;
1537
+ animation: any;
1538
+ type: any;
1539
+ constructor();
1540
+ ngOnInit(): void;
1541
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductDetailConfig, never>;
1542
+ 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, false, never>;
1543
+ }
1544
+
1545
+ declare class WbFrameProducts implements OnInit {
1546
+ webBuilderService: webBuilderService;
1547
+ functionService: FunctionService;
1548
+ elementRef: ElementRef;
1549
+ authService: AuthService;
1550
+ map: ComponentMapService;
1551
+ data: any;
1552
+ device: any;
1553
+ class: any;
1554
+ config: any;
1555
+ animation: any;
1556
+ type: any;
1557
+ isClone: any;
1558
+ product: any;
1559
+ loading: boolean;
1560
+ /** ----------------- SLIDE --------------------- */
1561
+ translateX: any;
1562
+ isSliding: boolean;
1563
+ transition: string;
1564
+ /** xác định ở cuối slide */
1565
+ isLastRight: boolean;
1566
+ /** xác định ở đầu slide */
1567
+ isLastLeft: boolean;
1568
+ groupNumber: number;
1569
+ oldTranslateX: number;
1570
+ isDragging: boolean;
1571
+ initialMouseX: number;
1572
+ currentMouseX: number;
1573
+ currentIndex: number;
1574
+ /** ----------------- SLIDE --------------------- */
1575
+ products: any;
1576
+ /**
1577
+ * products2D: Dùng để nhóm sản phẩm theo hàng và cột
1578
+ * Ví dụ: Nếu có 16 sản phẩm và grid là 4 cột, 2 hàng thì sẽ có 2 nhóm: [[1,2,3,4,5,6,7,8],[9,10,11,12,13,14,15,16]]
1579
+ * để vuốt(slide) theo nhóm
1580
+ */
1581
+ products2D: any;
1582
+ changeGridSub: any;
1583
+ constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
1584
+ ngOnInit(): void;
1585
+ handleDisplay(): void;
1586
+ ngOnDestroy(): void;
1587
+ calcProducts(): void;
1588
+ onMouseDown(event: any, type: 'mouse' | 'touch'): void;
1589
+ onMouseMove(event: any, type: 'mouse' | 'touch'): void;
1590
+ onMouseUp(event: any, type: 'mouse' | 'touch'): void;
1591
+ onMouseLeave(event: any): void;
1592
+ handleNext(): void;
1593
+ handlePrev(): void;
1594
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProducts, never>;
1595
+ 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>;
1596
+ }
1597
+
1598
+ declare class WbFrameProductsConfig implements OnInit {
1599
+ webBuilderService: webBuilderService;
1600
+ map: CommonConfigMapService;
1601
+ data: any;
1602
+ device: any;
1603
+ class: any;
1604
+ config: any;
1605
+ animation: any;
1606
+ type: any;
1607
+ tabs: any[];
1608
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1609
+ ngOnInit(): void;
1610
+ ngOnChanges(changes: SimpleChanges): void;
1611
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsConfig, never>;
1612
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductsConfig, "wb-frame-products-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>;
1613
+ }
1614
+
1615
+ declare class WbFrameProductsAdmin implements OnInit {
1616
+ webBuilderService: webBuilderService;
1617
+ functionService: FunctionService;
1618
+ private modal;
1619
+ data: any;
1620
+ device: any;
1621
+ categories: any;
1622
+ selectedCategory: any;
1623
+ products: any;
1624
+ loading: boolean;
1625
+ sort: any;
1626
+ container: ElementRef<HTMLInputElement>;
1627
+ keySearch: string;
1628
+ dataSearched: any;
1629
+ heightContainer: number;
1630
+ /** ------------------------Pagination------------------------ */
1631
+ /** Trang hiện tại */
1632
+ pageIndex: number;
1633
+ /** Tổng số trang */
1634
+ total: number;
1635
+ /** Số lượng bản ghi trên 1 trang */
1636
+ pageSize: number;
1637
+ readonly nzModalData: any;
1638
+ dataMap: any;
1639
+ constructor(webBuilderService: webBuilderService, functionService: FunctionService, modal: NzModalService);
1640
+ ngOnInit(): void;
1641
+ ngAfterViewInit(): void;
1642
+ getCategories(): void;
1643
+ onSearch(): void;
1644
+ getProducts(): void;
1645
+ optionRender: (cate: any) => string;
1646
+ renderCategories(pro: any): any;
1647
+ renderRangePrice(data: any, type: string | 'import_price' | 'retail_price' | 'original_price'): any;
1648
+ updateProduct(product: any, field: any, value: any): void;
1649
+ onQueryParamsChange(params: NzTableQueryParams): void;
1650
+ handleSortLocal: (a: any, b: any) => number;
1651
+ /**
1652
+ * hàm tạo dữ liệu của frame_repeat
1653
+ */
1654
+ createData(): void;
1655
+ openModalEdit(obj: any, item: any): void;
1656
+ handleDeleteData(item: any): void;
1657
+ updateConfig(): void;
1658
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsAdmin, never>;
1659
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductsAdmin, "wb-frame-products-admin", never, {}, {}, never, never, true, never>;
1660
+ }
1661
+
1662
+ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
1663
+ webBuilderService: webBuilderService;
1664
+ private route;
1665
+ private router;
1666
+ map: ComponentMapService;
1667
+ data: any;
1668
+ device: any;
1669
+ class: any;
1670
+ config: any;
1671
+ animation: any;
1672
+ type: any;
1673
+ isClone: any;
1674
+ product: any;
1675
+ loading: boolean;
1676
+ products: any;
1677
+ /** ------------------------Pagination------------------------ */
1678
+ pageCurrent: number;
1679
+ totalPages: number;
1680
+ limit: number;
1681
+ pageShowChoose: any;
1682
+ pageGoto: number;
1683
+ changeGridSub: any;
1684
+ qpSub?: Subscription;
1685
+ constructor(webBuilderService: webBuilderService, route: ActivatedRoute, router: Router, map: ComponentMapService);
1686
+ ngOnInit(): void;
1687
+ ngOnDestroy(): void;
1688
+ handleGetProduct(): void;
1689
+ calcProducts(): void;
1690
+ gotoPreviousPage(): void;
1691
+ gotoNextPage(): void;
1692
+ updateListPage(): void;
1693
+ transferFn(value: number): void;
1694
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsByCategory, never>;
1695
+ 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>;
1696
+ }
1697
+
1698
+ declare class WbFrameProductsByCategoryConfig implements OnInit {
1699
+ webBuilderService: webBuilderService;
1700
+ map: CommonConfigMapService;
1701
+ data: any;
1702
+ device: any;
1703
+ class: any;
1704
+ config: any;
1705
+ animation: any;
1706
+ type: any;
1707
+ tabs: any[];
1708
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1709
+ ngOnInit(): void;
1710
+ ngOnChanges(changes: SimpleChanges): void;
1711
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsByCategoryConfig, never>;
1712
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductsByCategoryConfig, "wb-frame-products-by-category-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>;
1713
+ }
1714
+
1715
+ declare class WbButtonSetDefaultAddress implements OnInit {
1716
+ webBuilderService: webBuilderService;
1717
+ data: any;
1718
+ device: any;
1719
+ class: any;
1720
+ config: any;
1721
+ animation: any;
1722
+ type: any;
1723
+ isClone: any;
1724
+ product: any;
1725
+ constructor(webBuilderService: webBuilderService);
1726
+ ngOnInit(): void;
1727
+ onClick(): void;
1728
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonSetDefaultAddress, never>;
1729
+ 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>;
1730
+ }
1731
+
1732
+ declare class WbButtonSetDefaultAddressConfig implements OnInit {
1733
+ webBuilderService: webBuilderService;
1734
+ map: CommonConfigMapService;
1735
+ data: any;
1736
+ device: any;
1737
+ class: any;
1738
+ config: any;
1739
+ animation: any;
1740
+ type: any;
1741
+ tabs: any[];
1742
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1743
+ ngOnInit(): void;
1744
+ ngOnChanges(changes: SimpleChanges): void;
1745
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonSetDefaultAddressConfig, never>;
1746
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbButtonSetDefaultAddressConfig, "wb-button-set-default-address-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>;
1747
+ }
1748
+
1749
+ declare class WbSelectCountry implements OnInit {
1750
+ webBuilderService: webBuilderService;
1751
+ data: any;
1752
+ device: any;
1753
+ class: any;
1754
+ config: any;
1755
+ animation: any;
1756
+ type: any;
1757
+ isClone: any;
1758
+ product: any;
1759
+ disabled: boolean;
1760
+ isOpen: boolean;
1761
+ countries: any[];
1762
+ countrySelected: any;
1763
+ constructor(webBuilderService: webBuilderService);
1764
+ ngOnInit(): void;
1765
+ toggleDropdown(): void;
1766
+ selectCountry(country: any): void;
1767
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectCountry, never>;
1768
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbSelectCountry, "wb-select-country", 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>;
1769
+ }
1770
+
1771
+ declare class WbSelectCountryConfig implements OnInit {
1772
+ data: any;
1773
+ device: any;
1774
+ class: any;
1775
+ config: any;
1776
+ animation: any;
1777
+ type: any;
1778
+ tabs: any[];
1779
+ constructor();
1780
+ ngOnInit(): void;
1781
+ ngOnChanges(changes: SimpleChanges): void;
1782
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectCountryConfig, never>;
1783
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbSelectCountryConfig, "wb-select-country-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>;
1784
+ }
1785
+
1786
+ declare class WbInput implements OnInit {
1787
+ private router;
1788
+ webBuilderService: webBuilderService;
1789
+ private authService;
1790
+ data: any;
1791
+ device: any;
1792
+ class: any;
1793
+ config: any;
1794
+ animation: any;
1795
+ type: any;
1796
+ product: any;
1797
+ isClone: any;
1798
+ isFocused: boolean;
1799
+ findBlock: any;
1800
+ changeBlockSub: any;
1801
+ constructor(router: Router, webBuilderService: webBuilderService, authService: AuthService);
1802
+ ngOnInit(): void;
1803
+ getDetailFreeblock(): void;
1804
+ ngOnDestroy(): void;
1805
+ onChangeType(): void;
1806
+ onChangeValue(event: any): void;
1807
+ positionModal(): {
1808
+ left: string;
1809
+ right?: undefined;
1810
+ transform?: undefined;
1811
+ } | {
1812
+ right: string;
1813
+ left?: undefined;
1814
+ transform?: undefined;
1815
+ } | {
1816
+ left: string;
1817
+ transform: string;
1818
+ right?: undefined;
1819
+ };
1820
+ onFocus(event: any): void;
1821
+ onBlur(event: any): void;
1822
+ handleNavigate(): void;
1823
+ conditionDisplay(): boolean;
1824
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbInput, never>;
1825
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbInput, "wb-input", 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>;
1826
+ }
1827
+
1828
+ declare class WbInputConfig implements OnInit {
1829
+ webBuilderService: webBuilderService;
1830
+ map: CommonConfigMapService;
1831
+ data: any;
1832
+ device: any;
1833
+ class: any;
1834
+ config: any;
1835
+ animation: any;
1836
+ type: any;
1837
+ tabs: any[];
1838
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1839
+ ngOnInit(): void;
1840
+ ngOnChanges(changes: SimpleChanges): void;
1841
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbInputConfig, never>;
1842
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbInputConfig, "wb-input-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>;
1843
+ }
1844
+
1845
+ declare class WbSelectProvinceDistrictWard implements OnInit {
1846
+ webBuilderService: webBuilderService;
1847
+ private authService;
1848
+ data: any;
1849
+ device: any;
1850
+ class: any;
1851
+ config: any;
1852
+ animation: any;
1853
+ type: any;
1854
+ isClone: any;
1855
+ product: any;
1856
+ disabled: boolean;
1857
+ provinces: any[];
1858
+ districts: any[];
1859
+ wards: any[];
1860
+ isOpen: boolean[];
1861
+ hideShowSub: any;
1862
+ constructor(webBuilderService: webBuilderService, authService: AuthService);
1863
+ ngOnInit(): void;
1864
+ ngOnDestroy(): void;
1865
+ toggleDropdown(idx: number): void;
1866
+ selectProvince(province: any): void;
1867
+ selectDistrict(district: any): void;
1868
+ selectWard(ward: any): void;
1869
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectProvinceDistrictWard, never>;
1870
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbSelectProvinceDistrictWard, "wb-select-province-district-ward", 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>;
1871
+ }
1872
+
1873
+ declare class WbSelectProvinceDistrictWardConfig implements OnInit {
1874
+ webBuilderService: webBuilderService;
1875
+ map: CommonConfigMapService;
1876
+ data: any;
1877
+ device: any;
1878
+ class: any;
1879
+ config: any;
1880
+ animation: any;
1881
+ type: any;
1882
+ tabs: any[];
1883
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1884
+ ngOnInit(): void;
1885
+ ngOnChanges(changes: SimpleChanges): void;
1886
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectProvinceDistrictWardConfig, never>;
1887
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbSelectProvinceDistrictWardConfig, "wb-select-province-district-ward-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>;
1888
+ }
1889
+
1890
+ declare class WbBreadcumb implements OnInit {
1891
+ private route;
1892
+ webBuilderService: webBuilderService;
1893
+ data: any;
1894
+ device: any;
1895
+ class: any;
1896
+ config: any;
1897
+ animation: any;
1898
+ type: any;
1899
+ isClone: any;
1900
+ product: any;
1901
+ segments: any;
1902
+ pageName: string;
1903
+ constructor(route: ActivatedRoute, webBuilderService: webBuilderService);
1904
+ ngOnInit(): void;
1905
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBreadcumb, never>;
1906
+ 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>;
1907
+ }
1908
+
1909
+ declare class WbBreadcumbConfig implements OnInit {
1910
+ webBuilderService: webBuilderService;
1911
+ map: CommonConfigMapService;
1912
+ data: any;
1913
+ device: any;
1914
+ class: any;
1915
+ config: any;
1916
+ animation: any;
1917
+ type: any;
1918
+ tabs: any[];
1919
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1920
+ ngOnInit(): void;
1921
+ ngOnChanges(changes: SimpleChanges): void;
1922
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBreadcumbConfig, never>;
1923
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbBreadcumbConfig, "wb-breadcumb-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>;
1924
+ }
1925
+
1926
+ declare class WbButton implements OnInit {
1927
+ private router;
1928
+ webBuilderService: webBuilderService;
1929
+ authService: AuthService;
1930
+ functionService: FunctionService;
1931
+ elementRef: ElementRef;
1932
+ private modal;
1933
+ modalRef: NzModalRef<WbBlockBlank>;
1934
+ private drawerService;
1935
+ private cart;
1936
+ data: any;
1937
+ device: any;
1938
+ class: any;
1939
+ config: any;
1940
+ animation: any;
1941
+ type: any;
1942
+ isClone: any;
1943
+ product: any;
1944
+ findBlock: any;
1945
+ positionDialog: any;
1946
+ wbBlockBlank: any;
1947
+ isOpen: boolean;
1948
+ closeDialogSub: any;
1949
+ btnModalPopup: ElementRef | undefined;
1950
+ isOpenDialog: boolean;
1951
+ _scrollHandler: any;
1952
+ routerSubscription: any;
1953
+ previousUrl: string;
1954
+ constructor(router: Router, webBuilderService: webBuilderService, authService: AuthService, functionService: FunctionService, elementRef: ElementRef, modal: NzModalService, modalRef: NzModalRef<WbBlockBlank>, drawerService: DrawerService, cart: CartService);
1955
+ ngOnInit(): void;
1956
+ ngOnChanges(changes: SimpleChanges): void;
1957
+ ngAfterViewInit(): void;
1958
+ ngOnDestroy(): void;
1959
+ getDetailFreeblock(): void;
1960
+ onClick(e: any): void;
1961
+ handlePayment(): void | ng_zorro_antd_message.NzMessageRef;
1962
+ handleLogin(): void;
1963
+ handleLogout(): void;
1964
+ handleRegister(): void;
1965
+ handleOpen(): void;
1966
+ openModal(findBlock: any): void;
1967
+ closeModal(): void;
1968
+ openDrawer(): void;
1969
+ navigate(): void;
1970
+ /**
1971
+ * Hàm chờ khối xuất hiện và cuộn đến
1972
+ * */
1973
+ scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
1974
+ positionModal(): any;
1975
+ conditionDisplay(): boolean;
1976
+ onCloseDialog(): void;
1977
+ handleAddToCart(): void;
1978
+ handleAddAddress(): void;
1979
+ handleDeleteAddress(): void;
1980
+ handleUpdateAddress(): void;
1981
+ handleDeleteCartItem(): void;
1982
+ handleScrollToTop(): void;
1983
+ getContent(): any;
1984
+ getIcon(): any;
1985
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbButton, [null, null, null, null, null, null, { optional: true; }, null, null]>;
1986
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbButton, "wb-button", 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>;
1987
+ }
1988
+
1989
+ declare class WbButtonConfig implements OnInit {
1990
+ webBuilderService: webBuilderService;
1991
+ map: CommonConfigMapService;
1992
+ data: any;
1993
+ device: any;
1994
+ class: any;
1995
+ config: any;
1996
+ animation: any;
1997
+ type: any;
1998
+ tabs: any[];
1999
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2000
+ ngOnInit(): void;
2001
+ ngOnChanges(changes: SimpleChanges): void;
2002
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonConfig, never>;
2003
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbButtonConfig, "wb-button-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>;
2004
+ }
2005
+
2006
+ declare class WbImage implements OnInit {
2007
+ private router;
2008
+ webBuilderService: webBuilderService;
2009
+ data: any;
2010
+ device: any;
2011
+ class: any;
2012
+ config: any;
2013
+ animation: any;
2014
+ type: any;
2015
+ isClone: any;
2016
+ product: any;
2017
+ enableZoom: boolean;
2018
+ mainImgRef: ElementRef<HTMLImageElement>;
2019
+ lensRef: ElementRef<HTMLDivElement>;
2020
+ resultRef: ElementRef<HTMLDivElement>;
2021
+ constructor(router: Router, webBuilderService: webBuilderService);
2022
+ ngOnInit(): void;
2023
+ move(e: MouseEvent | TouchEvent): void;
2024
+ private getCursorPos;
2025
+ onClick(e: any): void;
2026
+ /**
2027
+ * Hàm chờ khối xuất hiện và cuộn đến
2028
+ * */
2029
+ scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
2030
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbImage, never>;
2031
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbImage, "wb-image", 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>;
2032
+ }
2033
+
2034
+ declare class WbImageConfig implements OnInit {
2035
+ map: CommonConfigMapService;
2036
+ data: any;
2037
+ device: any;
2038
+ class: any;
2039
+ config: any;
2040
+ animation: any;
2041
+ type: any;
2042
+ tabs: any[];
2043
+ constructor(map: CommonConfigMapService);
2044
+ ngOnInit(): void;
2045
+ ngOnChanges(changes: SimpleChanges): void;
2046
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbImageConfig, never>;
2047
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbImageConfig, "wb-image-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>;
2048
+ }
2049
+
2050
+ declare class WbLine implements OnInit {
2051
+ data: any;
2052
+ device: any;
2053
+ class: any;
2054
+ config: any;
2055
+ animation: any;
2056
+ type: any;
2057
+ isClone: any;
2058
+ product: any;
2059
+ constructor();
2060
+ ngOnInit(): void;
2061
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbLine, never>;
2062
+ 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>;
2063
+ }
2064
+
2065
+ declare class WbLineConfig implements OnInit {
2066
+ webBuilderService: webBuilderService;
2067
+ map: CommonConfigMapService;
2068
+ data: any;
2069
+ device: any;
2070
+ class: any;
2071
+ config: any;
2072
+ animation: any;
2073
+ type: any;
2074
+ tabs: any[];
2075
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2076
+ ngOnInit(): void;
2077
+ ngOnChanges(changes: SimpleChanges): void;
2078
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbLineConfig, never>;
2079
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbLineConfig, "wb-line-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>;
2080
+ }
2081
+
2082
+ declare class WbText implements OnInit {
2083
+ webBuilderService: webBuilderService;
2084
+ private router;
2085
+ private authService;
2086
+ private cart;
2087
+ data: any;
2088
+ device: any;
2089
+ class: any;
2090
+ config: any;
2091
+ animation: any;
2092
+ type: any;
2093
+ isClone: any;
2094
+ product: any;
2095
+ constructor(webBuilderService: webBuilderService, router: Router, authService: AuthService, cart: CartService);
2096
+ ngOnInit(): void;
2097
+ onClick(e: any): void;
2098
+ getContent(): any;
2099
+ conditionDisplay(): any;
2100
+ /**
2101
+ * Hàm chờ khối xuất hiện và cuộn đến
2102
+ * */
2103
+ scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
2104
+ getIcon(): any;
2105
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbText, never>;
2106
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbText, "wb-text", 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>;
2107
+ }
2108
+
2109
+ declare class WbTextConfig implements OnInit {
2110
+ webBuilderService: webBuilderService;
2111
+ map: CommonConfigMapService;
2112
+ data: any;
2113
+ device: any;
2114
+ class: any;
2115
+ config: any;
2116
+ animation: any;
2117
+ type: any;
2118
+ tabs: any[];
2119
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2120
+ ngOnInit(): void;
2121
+ ngOnChanges(changes: SimpleChanges): void;
2122
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbTextConfig, never>;
2123
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbTextConfig, "wb-text-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>;
2124
+ }
2125
+
2126
+ declare class WbTextParagraph implements OnInit {
2127
+ webBuilderService: webBuilderService;
2128
+ private sanitizer;
2129
+ data: any;
2130
+ device: any;
2131
+ class: any;
2132
+ config: any;
2133
+ animation: any;
2134
+ type: any;
2135
+ isClone: any;
2136
+ product: any;
2137
+ safeContent: SafeHtml;
2138
+ constructor(webBuilderService: webBuilderService, sanitizer: DomSanitizer);
2139
+ ngOnInit(): void;
2140
+ getContent(): any;
2141
+ getContentSafe(rawHtml: string): SafeHtml;
2142
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbTextParagraph, never>;
2143
+ 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>;
2144
+ }
2145
+
2146
+ declare class WbTextParagraphConfig implements OnInit {
2147
+ webBuilderService: webBuilderService;
2148
+ map: CommonConfigMapService;
2149
+ data: any;
2150
+ device: any;
2151
+ class: any;
2152
+ config: any;
2153
+ animation: any;
2154
+ type: any;
2155
+ tabs: any[];
2156
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2157
+ ngOnInit(): void;
2158
+ ngOnChanges(changes: SimpleChanges): void;
2159
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbTextParagraphConfig, never>;
2160
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbTextParagraphConfig, "wb-text-paragraph-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>;
2161
+ }
2162
+
2163
+ declare class WbVideo implements OnInit {
2164
+ data: any;
2165
+ device: any;
2166
+ class: any;
2167
+ config: any;
2168
+ animation: any;
2169
+ type: any;
2170
+ isClone: any;
2171
+ product: any;
2172
+ constructor();
2173
+ ngOnInit(): void;
2174
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbVideo, never>;
2175
+ 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>;
2176
+ }
2177
+
2178
+ declare class WbVideoConfig implements OnInit {
2179
+ webBuilderService: webBuilderService;
2180
+ map: CommonConfigMapService;
2181
+ data: any;
2182
+ device: any;
2183
+ class: any;
2184
+ config: any;
2185
+ animation: any;
2186
+ type: any;
2187
+ tabs: any[];
2188
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2189
+ ngOnInit(): void;
2190
+ ngOnChanges(changes: SimpleChanges): void;
2191
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbVideoConfig, never>;
2192
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbVideoConfig, "wb-video-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>;
2193
+ }
2194
+
2195
+ declare class WbMenuHorizontal implements OnInit {
2196
+ webBuilderService: webBuilderService;
2197
+ private router;
2198
+ private route;
2199
+ data: any;
2200
+ device: any;
2201
+ class: any;
2202
+ config: any;
2203
+ animation: any;
2204
+ type: any;
2205
+ isClone: any;
2206
+ product: any;
2207
+ linkPage: any;
2208
+ constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute);
2209
+ ngOnInit(): void;
2210
+ handleChooseItem(e: Event, item: any, depth: number): void;
2211
+ onClick(item: any): void;
2212
+ handleOpenMenuMobile(e: any, item: any): void;
2213
+ checkActive(item: any): boolean;
2214
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuHorizontal, never>;
2215
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuHorizontal, "wb-menu-horizontal", 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>;
2216
+ }
2217
+
2218
+ declare class WbMenuHorizontalConfig implements OnInit {
2219
+ webBuilderService: webBuilderService;
2220
+ map: CommonConfigMapService;
2221
+ data: any;
2222
+ device: any;
2223
+ class: any;
2224
+ config: any;
2225
+ animation: any;
2226
+ type: any;
2227
+ tabs: any[];
2228
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2229
+ ngOnInit(): void;
2230
+ ngOnChanges(changes: SimpleChanges): void;
2231
+ onChangeClass(newData: any): void;
2232
+ onMouseEnter(tab: any): void;
2233
+ onMouseLeave(tab: any): void;
2234
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuHorizontalConfig, never>;
2235
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuHorizontalConfig, "wb-menu-horizontal-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>;
2236
+ }
2237
+
2238
+ declare class WbMenuMobile implements OnInit {
2239
+ webBuilderService: webBuilderService;
2240
+ private router;
2241
+ private route;
2242
+ data: any;
2243
+ device: any;
2244
+ class: any;
2245
+ config: any;
2246
+ animation: any;
2247
+ type: any;
2248
+ isClone: any;
2249
+ product: any;
2250
+ linkPage: any;
2251
+ constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute);
2252
+ ngOnInit(): void;
2253
+ handleChooseItem(e: Event, item: any, depth: number): void;
2254
+ onClick(item: any): void;
2255
+ handleOpenMenuMobile(e: any, item: any): void;
2256
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuMobile, never>;
2257
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuMobile, "wb-menu-mobile", 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>;
2258
+ }
2259
+
2260
+ declare class WbMenuMobileConfig implements OnInit {
2261
+ webBuilderService: webBuilderService;
2262
+ map: CommonConfigMapService;
2263
+ data: any;
2264
+ device: any;
2265
+ class: any;
2266
+ config: any;
2267
+ animation: any;
2268
+ type: any;
2269
+ tabs: any[];
2270
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2271
+ ngOnInit(): void;
2272
+ ngOnChanges(changes: SimpleChanges): void;
2273
+ onChangeClass(newData: any): void;
2274
+ onMouseEnter(tab: any): void;
2275
+ onMouseLeave(tab: any): void;
2276
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuMobileConfig, never>;
2277
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuMobileConfig, "wb-menu-mobile-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>;
2278
+ }
2279
+
2280
+ declare class WbButtonQuantity implements OnInit {
2281
+ webBuilderService: webBuilderService;
2282
+ private cart;
2283
+ data: any;
2284
+ device: any;
2285
+ class: any;
2286
+ config: any;
2287
+ animation: any;
2288
+ type: any;
2289
+ isClone: any;
2290
+ product: any;
2291
+ constructor(webBuilderService: webBuilderService, cart: CartService);
2292
+ ngOnInit(): void;
2293
+ handleChangeQuantity(quantity: any, quantityValue?: any): void;
2294
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonQuantity, never>;
2295
+ 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>;
2296
+ }
2297
+
2298
+ declare class WbButtonQuantityConfig implements OnInit {
2299
+ webBuilderService: webBuilderService;
2300
+ map: CommonConfigMapService;
2301
+ data: any;
2302
+ device: any;
2303
+ class: any;
2304
+ config: any;
2305
+ animation: any;
2306
+ type: any;
2307
+ tabs: any[];
2308
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2309
+ ngOnInit(): void;
2310
+ ngOnChanges(changes: SimpleChanges): void;
2311
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonQuantityConfig, never>;
2312
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbButtonQuantityConfig, "wb-button-quantity-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>;
2313
+ }
2314
+
2315
+ declare class WbCheckboxFilter implements OnInit, OnDestroy {
2316
+ webBuilderService: webBuilderService;
2317
+ private router;
2318
+ private route;
2319
+ data: any;
2320
+ device: any;
2321
+ class: any;
2322
+ config: any;
2323
+ animation: any;
2324
+ type: any;
2325
+ isClone: any;
2326
+ product: any;
2327
+ selectedValues: string[];
2328
+ selectedPriceTokens: string[];
2329
+ private qpSub?;
2330
+ constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute);
2331
+ ngOnInit(): void;
2332
+ ngOnDestroy(): void;
2333
+ private priceToken;
2334
+ handleChooseItem(item: any, event: Event): void;
2335
+ isOptionChecked(option: any): boolean;
2336
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbCheckboxFilter, never>;
2337
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbCheckboxFilter, "wb-checkbox-filter", 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>;
2338
+ }
2339
+
2340
+ declare class WbCheckboxFilterConfig implements OnInit {
2341
+ webBuilderService: webBuilderService;
2342
+ map: CommonConfigMapService;
2343
+ data: any;
2344
+ device: any;
2345
+ class: any;
2346
+ config: any;
2347
+ animation: any;
2348
+ type: any;
2349
+ tabs: any[];
2350
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2351
+ ngOnInit(): void;
2352
+ ngOnChanges(changes: SimpleChanges): void;
2353
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbCheckboxFilterConfig, never>;
2354
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbCheckboxFilterConfig, "wb-checkbox-filter-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>;
2355
+ }
2356
+
2357
+ declare class WbProductImageList implements OnInit {
2358
+ webBuilderService: webBuilderService;
2359
+ private functionService;
2360
+ data: any;
2361
+ device: any;
2362
+ class: any;
2363
+ config: any;
2364
+ animation: any;
2365
+ type: any;
2366
+ isClone: any;
2367
+ product: any;
2368
+ imgs: any[];
2369
+ changeNumberImgsSub: any;
2370
+ constructor(webBuilderService: webBuilderService, functionService: FunctionService);
2371
+ ngOnInit(): void;
2372
+ onChangeImgs(): void;
2373
+ handleNext(): void;
2374
+ handlePrev(): void;
2375
+ handleImgClick(item: any): void;
2376
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbProductImageList, never>;
2377
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbProductImageList, "wb-product-image-list", 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>;
2378
+ }
2379
+
2380
+ declare class WbProductImageListConfig implements OnInit {
2381
+ webBuilderService: webBuilderService;
2382
+ data: any;
2383
+ device: any;
2384
+ class: any;
2385
+ config: any;
2386
+ animation: any;
2387
+ type: any;
2388
+ tabs: any[];
2389
+ constructor(webBuilderService: webBuilderService);
2390
+ ngOnInit(): void;
2391
+ ngOnChanges(changes: SimpleChanges): void;
2392
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbProductImageListConfig, never>;
2393
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbProductImageListConfig, "wb-product-image-list-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, false, never>;
2394
+ }
2395
+
2396
+ declare class WbProductSelectAttribute implements OnInit {
2397
+ data: any;
2398
+ device: any;
2399
+ class: any;
2400
+ config: any;
2401
+ animation: any;
2402
+ type: any;
2403
+ isClone: any;
2404
+ product: any;
2405
+ constructor();
2406
+ ngOnInit(): void;
2407
+ selectAttribute(item: any): void;
2408
+ activeVariant(item: any): boolean;
2409
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbProductSelectAttribute, never>;
2410
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbProductSelectAttribute, "wb-product-select-attribute", 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>;
2411
+ }
2412
+
2413
+ declare class WbProductSelectAttributeConfig implements OnInit {
2414
+ webBuilderService: webBuilderService;
2415
+ map: CommonConfigMapService;
2416
+ data: any;
2417
+ device: any;
2418
+ class: any;
2419
+ config: any;
2420
+ animation: any;
2421
+ type: any;
2422
+ tabs: any[];
2423
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2424
+ ngOnInit(): void;
2425
+ ngOnChanges(changes: SimpleChanges): void;
2426
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbProductSelectAttributeConfig, never>;
2427
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbProductSelectAttributeConfig, "wb-product-select-attribute-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>;
2428
+ }
2429
+
2430
+ declare class WbPageConfig implements OnInit {
2431
+ webBuilderService: webBuilderService;
2432
+ map: CommonConfigMapService;
2433
+ data: any;
2434
+ device: any;
2435
+ class: any;
2436
+ config: any;
2437
+ animation: any;
2438
+ type: any;
2439
+ tabs: any[];
2440
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
2441
+ ngOnInit(): void;
2442
+ ngOnChanges(changes: SimpleChanges): void;
2443
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPageConfig, never>;
2444
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPageConfig, "wb-page-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>;
2445
+ }
2446
+
2447
+ declare class SelectLanguageComponent implements OnInit {
2448
+ webBuilderService: webBuilderService;
2449
+ private cdr;
2450
+ availableLanguage: any[];
2451
+ listLanguage: any;
2452
+ options: any[];
2453
+ constructor(webBuilderService: webBuilderService, cdr: ChangeDetectorRef);
2454
+ ngOnInit(): void;
2455
+ ngOnChanges(changes: SimpleChanges): void;
2456
+ getItem(selected: any): any;
2457
+ updateDb(): void;
2458
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectLanguageComponent, never>;
2459
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectLanguageComponent, "app-select-language", never, { "availableLanguage": { "alias": "availableLanguage"; "required": false; }; }, {}, never, never, true, never>;
2460
+ }
2461
+
409
2462
  declare const WEBBUILDER_API_URL: InjectionToken<string>;
410
2463
 
411
- export { WEBBUILDER_API_URL, WbDragDrop, WbVirtualSelected, webBuilderService };
2464
+ export { AuthService, CartService, CommonConfigMapService, ComponentConfigMapService, ComponentMapService, DrawerService, FunctionService, SelectLanguageComponent, WEBBUILDER_API_URL, WbAnimationConfig, WbBackgroundColorConfig, WbBackgroundImageConfig, WbBannerAnimationConfig, WbBlockBlank, WbBlockBlankConfig, WbBorderConfig, WbBorderRadiusConfig, WbBreadcumb, WbBreadcumbConfig, WbButton, WbButtonConfig, WbButtonQuantity, WbButtonQuantityConfig, WbButtonSetDefaultAddress, WbButtonSetDefaultAddressConfig, WbCheckboxConfig, WbCheckboxFilter, WbCheckboxFilterConfig, WbCkeditorConfig, WbDialogConfig, WbDragDrop, WbFilterConfig, WbFixedConfig, WbFrameBanner, WbFrameBannerConfig, WbFrameBlank, WbFrameBlankConfig, WbFrameCart, WbFrameCartConfig, WbFrameContentConfig, WbFrameProductDetail, WbFrameProductDetailConfig, WbFrameProducts, WbFrameProductsAdmin, WbFrameProductsByCategory, WbFrameProductsByCategoryConfig, WbFrameProductsConfig, WbFrameTab, WbFrameTabConfig, WbFreeblockConfig, WbGridConfig, WbHideShowConfig, WbIconConfig, WbImage, WbImageConfig, WbImageListNumberConfig, WbInput, WbInputConfig, WbLine, WbLineConfig, WbLinkPageConfig, WbMenuContent, WbMenuHorizontal, WbMenuHorizontalConfig, WbMenuMobile, WbMenuMobileConfig, WbObjectFitConfig, WbOrdinalConfig, WbPaddingConfig, WbPageConfig, WbPaginationConfig, WbPositionConfig, WbPositionInConfig, WbPositionOutConfig, WbProductImageList, WbProductImageListConfig, WbProductSelectAttribute, WbProductSelectAttributeConfig, WbRotateConfig, WbScrollbarConfig, WbSelectCountry, WbSelectCountryConfig, WbSelectProvinceDistrictWard, WbSelectProvinceDistrictWardConfig, WbShadowConfig, WbSlideConfig, WbStickyConfig, WbText, WbTextConfig, WbTextFormatConfig, WbTextParagraph, WbTextParagraphConfig, WbToolTipConfig, WbUploadImageConfig, WbUploadVideoConfig, WbVideo, WbVideoConfig, WbVirtualSelected, WbWidthHeightConfig, webBuilderService };