fw-webbuilder 0.0.2 → 0.0.3

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 { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
6
+ import * as ng_zorro_antd_message from 'ng-zorro-antd/message';
7
+ import { NzMessageService } from 'ng-zorro-antd/message';
8
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
9
+ import { Router, ActivatedRoute } from '@angular/router';
10
+ import { NzTableQueryParams } from 'ng-zorro-antd/table';
11
+ import { Overlay } from '@angular/cdk/overlay';
12
+ import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
5
13
 
6
14
  declare class SocketService {
7
15
  private apiUrl;
@@ -290,6 +298,27 @@ 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
+
293
322
  type DragMode = 'absolute' | 'margin';
294
323
  declare class WbDragDrop implements OnInit {
295
324
  webBuilderService: webBuilderService;
@@ -406,6 +435,2030 @@ declare class WbVirtualSelected implements OnInit {
406
435
  static ɵcmp: i0.ɵɵComponentDeclaration<WbVirtualSelected, "[wbVirtualSelected]", never, { "boundaryEle": { "alias": "boundaryEle"; "required": false; }; }, {}, never, never, true, never>;
407
436
  }
408
437
 
438
+ declare class WbBlockBlank implements OnInit {
439
+ webBuilderService: webBuilderService;
440
+ map: ComponentMapService;
441
+ modalRef: NzModalRef<WbBlockBlank>;
442
+ data: any;
443
+ device: any;
444
+ class: any;
445
+ config: any;
446
+ animation: any;
447
+ type: any;
448
+ product: any;
449
+ readonly nzModalData: any;
450
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, modalRef: NzModalRef<WbBlockBlank>);
451
+ ngOnInit(): void;
452
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBlockBlank, [null, null, { optional: true; }]>;
453
+ 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>;
454
+ }
455
+
456
+ declare class WbBlockBlankConfig implements OnInit {
457
+ map: CommonConfigMapService;
458
+ data: any;
459
+ device: any;
460
+ class: any;
461
+ config: any;
462
+ animation: any;
463
+ type: any;
464
+ tabs: any[];
465
+ constructor(map: CommonConfigMapService);
466
+ ngOnInit(): void;
467
+ ngOnChanges(changes: SimpleChanges): void;
468
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBlockBlankConfig, never>;
469
+ 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>;
470
+ }
471
+
472
+ declare class WbAnimationConfig implements OnInit {
473
+ private modal;
474
+ data: any;
475
+ device: any;
476
+ constructor(modal: NzModalService);
477
+ ngOnInit(): void;
478
+ handleChangeAnimation(): void;
479
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbAnimationConfig, never>;
480
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbAnimationConfig, "wb-animation-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
481
+ }
482
+
483
+ declare class WbBackgroundColorConfig implements OnInit {
484
+ webBuilderService: webBuilderService;
485
+ data: any;
486
+ device: any;
487
+ classBgColor: any;
488
+ configBgColor: any;
489
+ newColor: string;
490
+ isType: boolean;
491
+ constructor(webBuilderService: webBuilderService);
492
+ ngOnInit(): void;
493
+ onChooseBgType(type: string): void;
494
+ updateClassAndConfig(): void;
495
+ updateClass(): void;
496
+ updateBgGradient(): void;
497
+ addGradientColor(open: boolean): void;
498
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBackgroundColorConfig, never>;
499
+ 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>;
500
+ }
501
+
502
+ declare class WbBackgroundImageConfig implements OnInit {
503
+ webBuilderService: webBuilderService;
504
+ msg: NzMessageService;
505
+ data: any;
506
+ device: any;
507
+ classBgImage: any;
508
+ optionsUpload: {
509
+ label: string;
510
+ value: string;
511
+ }[];
512
+ bgSizeConfigOptions: {
513
+ label: string;
514
+ value: string;
515
+ }[];
516
+ bgAttachmentConfigOptions: {
517
+ label: string;
518
+ value: string;
519
+ }[];
520
+ bgRepeatConfigOptions: {
521
+ label: string;
522
+ value: string;
523
+ }[];
524
+ bgPositionConfigOptions: {
525
+ label: string;
526
+ value: string;
527
+ }[];
528
+ urlImage: string;
529
+ bgPostion: string;
530
+ bgPositionCustom: string;
531
+ constructor(webBuilderService: webBuilderService, msg: NzMessageService);
532
+ ngOnInit(): void;
533
+ transform(value: any): string;
534
+ updateClass(): void;
535
+ onFileSelected(event: any): void;
536
+ handleChangeUrlImg(value: string): void;
537
+ onChangeBgPosition(): void;
538
+ updateConfigProject(): void;
539
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBackgroundImageConfig, never>;
540
+ 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>;
541
+ }
542
+
543
+ declare class WbBannerAnimationConfig implements OnInit {
544
+ webBuilderService: webBuilderService;
545
+ data: any;
546
+ device: any;
547
+ configAnimation: any;
548
+ animationOptions: any;
549
+ constructor(webBuilderService: webBuilderService);
550
+ ngOnInit(): void;
551
+ updateConfig(): void;
552
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBannerAnimationConfig, never>;
553
+ 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>;
554
+ }
555
+
556
+ declare class WbBorderConfig implements OnInit {
557
+ webBuilderService: webBuilderService;
558
+ data: any;
559
+ device: any;
560
+ classBorder: string;
561
+ classOutline: string;
562
+ configBorderColor: string;
563
+ borderOptions: {
564
+ label: string;
565
+ value: string;
566
+ }[];
567
+ outlineOptions: {
568
+ label: string;
569
+ value: string;
570
+ }[];
571
+ newColor: string;
572
+ constructor(webBuilderService: webBuilderService);
573
+ ngOnInit(): void;
574
+ updateClass(): void;
575
+ onChooseBgType(type: string): void;
576
+ updateBgGradient(): void;
577
+ updateClassAndConfig(): void;
578
+ addGradientColor(open: boolean): void;
579
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBorderConfig, never>;
580
+ 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>;
581
+ }
582
+
583
+ declare class WbBorderRadiusConfig implements OnInit {
584
+ webBuilderService: webBuilderService;
585
+ data: any;
586
+ device: any;
587
+ classBorderRadius: string;
588
+ isFirstChildLastChild: boolean;
589
+ constructor(webBuilderService: webBuilderService);
590
+ ngOnInit(): void;
591
+ updateClass(): void;
592
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBorderRadiusConfig, never>;
593
+ 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>;
594
+ }
595
+
596
+ declare class WbCheckboxConfig implements OnInit {
597
+ webBuilderService: webBuilderService;
598
+ data: any;
599
+ device: any;
600
+ classInput: any;
601
+ classGap: any;
602
+ constructor(webBuilderService: webBuilderService);
603
+ ngOnInit(): void;
604
+ updateClass(): void;
605
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbCheckboxConfig, never>;
606
+ 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>;
607
+ }
608
+
609
+ declare class WbCkeditorConfig implements OnInit {
610
+ webBuilderService: webBuilderService;
611
+ private modal;
612
+ data: any;
613
+ device: any;
614
+ configContent: string;
615
+ constructor(webBuilderService: webBuilderService, modal: NzModalService);
616
+ ngOnInit(): void;
617
+ handleChangeContent(): void;
618
+ updateConfig(): void;
619
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbCkeditorConfig, never>;
620
+ 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>;
621
+ }
622
+
623
+ declare class WbDialogConfig implements OnInit {
624
+ webBuilderService: webBuilderService;
625
+ data: any;
626
+ device: any;
627
+ configDialog: string;
628
+ triggerOptions: any[];
629
+ dialogOptions: any[];
630
+ drawerPositionOptions: any[];
631
+ alignDialogOptions: any[];
632
+ topPositionOptions: any[];
633
+ isOpen: boolean;
634
+ deviceEleRect: any;
635
+ constructor(webBuilderService: webBuilderService);
636
+ ngOnInit(): void;
637
+ get filteredFreeblocks(): any;
638
+ updateConfig(): void;
639
+ updateClass(): void;
640
+ onSetPosition(): void;
641
+ openDrawer(): void;
642
+ onChangeBlock(): void;
643
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbDialogConfig, never>;
644
+ 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>;
645
+ }
646
+
647
+ declare class WbFilterConfig implements OnInit {
648
+ webBuilderService: webBuilderService;
649
+ data: any;
650
+ device: any;
651
+ configDataList: any;
652
+ configField: any;
653
+ classFlexDirection: any;
654
+ dataChoosing: any;
655
+ fieldOptions: {
656
+ label: string;
657
+ value: string;
658
+ }[];
659
+ directionOptions: any;
660
+ constructor(webBuilderService: webBuilderService);
661
+ ngOnInit(): void;
662
+ getNewFields(): void;
663
+ confirm1(event: Event, item: any): void;
664
+ handleAdd(): void;
665
+ drop(event: any): void;
666
+ updateConfig(): void;
667
+ updateClass(): void;
668
+ handleRemove(item: any): void;
669
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFilterConfig, never>;
670
+ 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>;
671
+ }
672
+
673
+ declare class WbFixedConfig implements OnInit {
674
+ webBuilderService: webBuilderService;
675
+ data: any;
676
+ device: any;
677
+ classFixed: any;
678
+ configFixed: any;
679
+ positionOptions: {
680
+ label: string;
681
+ value: string;
682
+ }[];
683
+ constructor(webBuilderService: webBuilderService);
684
+ ngOnInit(): void;
685
+ updateClass(): void;
686
+ updateConfig(): void;
687
+ onChangePosition(): void;
688
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFixedConfig, never>;
689
+ 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>;
690
+ }
691
+
692
+ declare class WbFrameContentConfig implements OnInit {
693
+ private modal;
694
+ data: any;
695
+ device: any;
696
+ constructor(modal: NzModalService);
697
+ ngOnInit(): void;
698
+ handleEditContent(): void;
699
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameContentConfig, never>;
700
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameContentConfig, "wb-frame-content-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
701
+ }
702
+
703
+ declare class WbFreeblockConfig implements OnInit {
704
+ private webBuilderService;
705
+ data: any;
706
+ device: any;
707
+ configHeader: string;
708
+ configFooter: string;
709
+ configChatBoxs: string;
710
+ lengthFreeBlocks: number;
711
+ constructor(webBuilderService: webBuilderService);
712
+ ngOnInit(): void;
713
+ onChangeFreeBlock(type: "header" | "footer" | "chatboxs" | undefined, value: any): void;
714
+ updateConfig(): void;
715
+ get headerOptions(): any;
716
+ get footerOptions(): any;
717
+ get chatboxOptions(): any;
718
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFreeblockConfig, never>;
719
+ 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>;
720
+ }
721
+
722
+ declare class WbGridConfig implements OnInit {
723
+ webBuilderService: webBuilderService;
724
+ data: any;
725
+ device: any;
726
+ configGrid: string;
727
+ classGrid: string;
728
+ constructor(webBuilderService: webBuilderService);
729
+ ngOnInit(): void;
730
+ updateClassAndConfig(): void;
731
+ onChangeGrid(): void;
732
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbGridConfig, never>;
733
+ 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>;
734
+ }
735
+
736
+ declare class WbHideShowConfig implements OnInit {
737
+ webBuilderService: webBuilderService;
738
+ data: any;
739
+ device: any;
740
+ classCursor: any;
741
+ classOverflowY: any;
742
+ classFlexDirection: any;
743
+ classGap: any;
744
+ configDragMode: any;
745
+ configTypeDisplay: any;
746
+ /**
747
+ * configEnableZoom dùng cho object_product_image
748
+ */
749
+ configEnableZoom: any;
750
+ devices: any;
751
+ cursorOptions: any[];
752
+ dragOptions: any[];
753
+ flexDirectionOptions: any[];
754
+ displayTypeOptions: any[];
755
+ overflowOptions: {
756
+ label: string;
757
+ value: string;
758
+ }[];
759
+ constructor(webBuilderService: webBuilderService);
760
+ ngOnInit(): void;
761
+ ngOnChanges(changes: SimpleChanges): void;
762
+ updateClass(): void;
763
+ updateConfig(): void;
764
+ updateHidden(key: string, value: boolean): void;
765
+ onChangedirection(): void;
766
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbHideShowConfig, never>;
767
+ 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>;
768
+ }
769
+
770
+ declare class WbIconConfig implements OnInit {
771
+ private webBuilderService;
772
+ private modal;
773
+ data: any;
774
+ device: any;
775
+ configIcon: string;
776
+ classIconPosition: string;
777
+ classFlexDirection: string;
778
+ classIcon: string;
779
+ classBgIcon: string;
780
+ classMarginIcon: string;
781
+ classWidthButtonIcon: string;
782
+ classHeightButtonIcon: string;
783
+ constructor(webBuilderService: webBuilderService, modal: NzModalService);
784
+ ngOnInit(): void;
785
+ handleChangeIcon(): void;
786
+ updateConfig(): void;
787
+ updateClass(): void;
788
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbIconConfig, never>;
789
+ 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>;
790
+ }
791
+
792
+ declare class WbImageListNumberConfig implements OnInit {
793
+ webBuilderService: webBuilderService;
794
+ data: any;
795
+ device: any;
796
+ configNumber: any;
797
+ classGrid: any;
798
+ positionImages: {
799
+ label: string;
800
+ value: string;
801
+ }[];
802
+ constructor(webBuilderService: webBuilderService);
803
+ ngOnInit(): void;
804
+ updateClassAndConfig(): void;
805
+ onChangeNumber(): void;
806
+ updateClass(): void;
807
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbImageListNumberConfig, never>;
808
+ 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>;
809
+ }
810
+
811
+ declare class WbLinkPageConfig implements OnInit {
812
+ webBuilderService: webBuilderService;
813
+ data: any;
814
+ device: any;
815
+ configLinkPage: any;
816
+ options: any;
817
+ pages: any;
818
+ clickActionOptions: {
819
+ label: string;
820
+ value: string;
821
+ }[];
822
+ blocks: any;
823
+ constructor(webBuilderService: webBuilderService);
824
+ ngOnInit(): void;
825
+ getPages(): void;
826
+ getBlocks(): void;
827
+ updateClass(): void;
828
+ updateConfig(): void;
829
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbLinkPageConfig, never>;
830
+ 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>;
831
+ }
832
+
833
+ declare class WbMenuContent implements OnInit {
834
+ webBuilderService: webBuilderService;
835
+ modalRef: NzModalRef<WbMenuContent>;
836
+ private modal;
837
+ cdr: ChangeDetectorRef;
838
+ data: any;
839
+ device: any;
840
+ readonly nzModalData: any;
841
+ constructor(webBuilderService: webBuilderService, modalRef: NzModalRef<WbMenuContent>, modal: NzModalService, cdr: ChangeDetectorRef);
842
+ ngOnInit(): void;
843
+ handleAddMenuItem(node?: any): void;
844
+ handleChangeIcon(node: any, type: string | 'before' | 'after'): void;
845
+ updateConfig(): void;
846
+ confirmDelete(node: any): void;
847
+ findParentNodeById(key: any, nodes: any): any | null;
848
+ handleEditMenuItem(node: any): void;
849
+ handleOpenMenuMobile(e: any, item: any): void;
850
+ drop(event: CdkDragDrop<string[]>): void;
851
+ clamp(value: number, max: number): number;
852
+ removeIcon(item: any, key: any): void;
853
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuContent, never>;
854
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuContent, "wb-menu-content", never, {}, {}, never, never, true, never>;
855
+ }
856
+
857
+ declare class WbObjectFitConfig implements OnInit {
858
+ webBuilderService: webBuilderService;
859
+ data: any;
860
+ device: any;
861
+ classObjectFit: any;
862
+ constructor(webBuilderService: webBuilderService);
863
+ ngOnInit(): void;
864
+ onChoose(value: any): void;
865
+ updateClass(): void;
866
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbObjectFitConfig, never>;
867
+ 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>;
868
+ }
869
+
870
+ declare class WbOrdinalConfig implements OnInit {
871
+ webBuilderService: webBuilderService;
872
+ data: any;
873
+ device: any;
874
+ classGap: any;
875
+ classJustifyContent: any;
876
+ configPositionTab: any;
877
+ positions: {
878
+ label: string;
879
+ value: string;
880
+ }[];
881
+ justifyOptions: any;
882
+ constructor(webBuilderService: webBuilderService);
883
+ ngOnInit(): void;
884
+ drop(event: CdkDragDrop<string[]>): void;
885
+ updateClass(): void;
886
+ updateObjectChoosingConfig(object: any, field: string): void;
887
+ handleAdd(): void;
888
+ onChangePositionTab(pos: any): void;
889
+ updateClassAndConfig(): void;
890
+ handleRemove(obj: any): void;
891
+ randomColor(): string;
892
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbOrdinalConfig, never>;
893
+ 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>;
894
+ }
895
+
896
+ declare class WbPaddingConfig implements OnInit {
897
+ private webBuilderService;
898
+ data: any;
899
+ device: any;
900
+ classPadding: any;
901
+ constructor(webBuilderService: webBuilderService);
902
+ ngOnInit(): void;
903
+ updateClass(): void;
904
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPaddingConfig, never>;
905
+ 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>;
906
+ }
907
+
908
+ declare class WbPaginationConfig implements OnInit {
909
+ private webBuilderService;
910
+ data: any;
911
+ device: any;
912
+ classNotChoose: any;
913
+ classChoose: any;
914
+ classGap: any;
915
+ classAlign: any;
916
+ borderOptions: any;
917
+ alignOptions: any[];
918
+ constructor(webBuilderService: webBuilderService);
919
+ ngOnInit(): void;
920
+ updateClass(): void;
921
+ updateConfig(): void;
922
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPaginationConfig, never>;
923
+ 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>;
924
+ }
925
+
926
+ declare class WbPositionConfig implements OnInit {
927
+ webBuilderService: webBuilderService;
928
+ data: any;
929
+ device: any;
930
+ idParent: string | null;
931
+ constructor(webBuilderService: webBuilderService);
932
+ ngOnInit(): void;
933
+ ngOnChanges(changes: SimpleChanges): void;
934
+ updatePosition(): void;
935
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPositionConfig, never>;
936
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPositionConfig, "wb-position-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
937
+ }
938
+
939
+ declare class WbPositionInConfig implements OnInit {
940
+ webBuilderService: webBuilderService;
941
+ data: any;
942
+ device: any;
943
+ idParent: any;
944
+ constructor(webBuilderService: webBuilderService);
945
+ ngOnInit(): void;
946
+ onChoosePosition(position: string): void;
947
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPositionInConfig, never>;
948
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPositionInConfig, "wb-position-in-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
949
+ }
950
+
951
+ declare class WbPositionOutConfig implements OnInit {
952
+ webBuilderService: webBuilderService;
953
+ data: any;
954
+ device: any;
955
+ idParent: any;
956
+ constructor(webBuilderService: webBuilderService);
957
+ ngOnInit(): void;
958
+ ngOnChanges(changes: SimpleChanges): void;
959
+ onChoosePosition(position: string): void;
960
+ updatePosition(): void;
961
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbPositionOutConfig, never>;
962
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbPositionOutConfig, "wb-position-out-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
963
+ }
964
+
965
+ declare class WbRotateConfig implements OnInit {
966
+ webBuilderService: webBuilderService;
967
+ data: any;
968
+ device: any;
969
+ classRotate: any;
970
+ constructor(webBuilderService: webBuilderService);
971
+ ngOnInit(): void;
972
+ updateClass(): void;
973
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbRotateConfig, never>;
974
+ 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>;
975
+ }
976
+
977
+ declare class WbScrollbarConfig implements OnInit {
978
+ webBuilderService: webBuilderService;
979
+ data: any;
980
+ device: any;
981
+ classScrollbar: any;
982
+ constructor(webBuilderService: webBuilderService);
983
+ ngOnInit(): void;
984
+ updateClass(): void;
985
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbScrollbarConfig, never>;
986
+ 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>;
987
+ }
988
+
989
+ declare class WbShadowConfig implements OnInit {
990
+ webBuilderService: webBuilderService;
991
+ data: any;
992
+ device: any;
993
+ classShadow: string;
994
+ configShadow: string;
995
+ shadowOptions: any;
996
+ constructor(webBuilderService: webBuilderService);
997
+ ngOnInit(): void;
998
+ onChangeShadow(): void;
999
+ updateClass(): void;
1000
+ updateConfig(): void;
1001
+ updateClassAndConfig(): void;
1002
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbShadowConfig, never>;
1003
+ 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>;
1004
+ }
1005
+
1006
+ declare class WbSlideConfig implements OnInit {
1007
+ webBuilderService: webBuilderService;
1008
+ private modal;
1009
+ data: any;
1010
+ device: any;
1011
+ configSlide: string;
1012
+ configIconLeft: string;
1013
+ classBgIconLeft: string;
1014
+ classIconLeft: string;
1015
+ configIconRight: string;
1016
+ classBgIconRight: string;
1017
+ classIconRight: string;
1018
+ slideMethodOptions: any[];
1019
+ loopMethodOptions: any[];
1020
+ constructor(webBuilderService: webBuilderService, modal: NzModalService);
1021
+ ngOnInit(): void;
1022
+ updateClass(): void;
1023
+ updateConfig(): void;
1024
+ handleChangeIcon(position: 'left' | 'right'): void;
1025
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSlideConfig, never>;
1026
+ 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>;
1027
+ }
1028
+
1029
+ declare class WbStickyConfig implements OnInit {
1030
+ webBuilderService: webBuilderService;
1031
+ data: any;
1032
+ device: any;
1033
+ configSticky: any;
1034
+ stickyOptions: any;
1035
+ constructor(webBuilderService: webBuilderService);
1036
+ ngOnInit(): void;
1037
+ updateConfig(): void;
1038
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbStickyConfig, never>;
1039
+ 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>;
1040
+ }
1041
+
1042
+ declare class WbTextFormatConfig implements OnInit {
1043
+ webBuilderService: webBuilderService;
1044
+ data: any;
1045
+ device: any;
1046
+ classContent: string;
1047
+ classGap: any;
1048
+ classCursor: string;
1049
+ classFontWeight: string;
1050
+ classAlign: string;
1051
+ classLineHeight: string;
1052
+ classLetterSpacing: string;
1053
+ classAlignFlex: string;
1054
+ classMargin: string;
1055
+ classMaxLine: string;
1056
+ classPadding: string;
1057
+ classMinWidth: string;
1058
+ classMinHeight: string;
1059
+ configContent: string;
1060
+ configNotFound: string;
1061
+ configHref: string;
1062
+ configTag: string;
1063
+ configMaxLine: string;
1064
+ placeholder: boolean;
1065
+ configFormatDate: string;
1066
+ dateFormatOptions: any;
1067
+ fonts: any[];
1068
+ textAlignOptions: any[];
1069
+ justifyOptions: any;
1070
+ tagOptions: any[];
1071
+ constructor(webBuilderService: webBuilderService);
1072
+ ngOnInit(): void;
1073
+ onChangeTag(): void;
1074
+ onChangeUseMaxLine(): void;
1075
+ onChangeMaxLine(): void;
1076
+ updateClassAndConfig(): void;
1077
+ updateClass(): void;
1078
+ updateConfig(): void;
1079
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbTextFormatConfig, never>;
1080
+ 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>;
1081
+ }
1082
+
1083
+ declare class WbToolTipConfig implements OnInit {
1084
+ webBuilderService: webBuilderService;
1085
+ data: any;
1086
+ device: any;
1087
+ configTooltip: any;
1088
+ positionOptions: any;
1089
+ constructor(webBuilderService: webBuilderService);
1090
+ ngOnInit(): void;
1091
+ ngOnChanges(changes: SimpleChanges): void;
1092
+ updateConfig(): void;
1093
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbToolTipConfig, never>;
1094
+ 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>;
1095
+ }
1096
+
1097
+ declare class WbUploadImageConfig implements OnInit {
1098
+ webBuilderService: webBuilderService;
1099
+ msg: NzMessageService;
1100
+ data: any;
1101
+ device: any;
1102
+ configImg: string;
1103
+ optionsUpload: {
1104
+ label: string;
1105
+ value: string;
1106
+ }[];
1107
+ constructor(webBuilderService: webBuilderService, msg: NzMessageService);
1108
+ ngOnInit(): void;
1109
+ onFileSelected(event: any): void;
1110
+ updateConfig(): void;
1111
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbUploadImageConfig, never>;
1112
+ 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>;
1113
+ }
1114
+
1115
+ declare class WbUploadVideoConfig implements OnInit {
1116
+ webBuilderService: webBuilderService;
1117
+ data: any;
1118
+ device: any;
1119
+ configVideo: string;
1120
+ optionsUpload: {
1121
+ label: string;
1122
+ value: string;
1123
+ }[];
1124
+ constructor(webBuilderService: webBuilderService);
1125
+ ngOnInit(): void;
1126
+ updateConfig(): void;
1127
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbUploadVideoConfig, never>;
1128
+ 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>;
1129
+ }
1130
+
1131
+ declare class WbWidthHeightConfig implements OnInit {
1132
+ webBuilderService: webBuilderService;
1133
+ data: any;
1134
+ device: any;
1135
+ idParent: string | null;
1136
+ constructor(webBuilderService: webBuilderService);
1137
+ ngOnInit(): void;
1138
+ ngOnChanges(changes: SimpleChanges): void;
1139
+ updateClass(): void;
1140
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbWidthHeightConfig, never>;
1141
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbWidthHeightConfig, "wb-width-height-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; }, {}, never, never, true, never>;
1142
+ }
1143
+
1144
+ declare class WbFrameBanner implements OnInit {
1145
+ webBuilderService: webBuilderService;
1146
+ map: ComponentMapService;
1147
+ private element;
1148
+ private platformId;
1149
+ data: any;
1150
+ device: any;
1151
+ class: any;
1152
+ config: any;
1153
+ animation: any;
1154
+ type: any;
1155
+ isClone: any;
1156
+ product: any;
1157
+ currentIndex: number;
1158
+ private gsap;
1159
+ private intervalId;
1160
+ private indexSlides;
1161
+ frameBanner: ElementRef;
1162
+ private startX;
1163
+ private startY;
1164
+ private isMouseDown;
1165
+ private isDragging;
1166
+ private isAnimating;
1167
+ private dragStartThreshold;
1168
+ private dragThreshold;
1169
+ private slideWidth;
1170
+ private currentProgress;
1171
+ private PERSPECTIVE_VALUE;
1172
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, element: ElementRef, platformId: Object);
1173
+ ngOnInit(): void;
1174
+ ngAfterViewInit(): void;
1175
+ private initSlidesMap;
1176
+ private setCurrentSlide;
1177
+ ngOnDestroy(): void;
1178
+ /**
1179
+ * 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.
1180
+ * @param src đường dẫn đến tệp script cần tải.
1181
+ * @param onLoad hàm được gọi khi script đã được load xong.
1182
+ */
1183
+ private loadScript;
1184
+ jumpToSlide(index: any): void;
1185
+ /**
1186
+ * Đặt lại khoảng thời gian giữa các lượt chuyển slide tự động.
1187
+ * @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.
1188
+ */
1189
+ private resetInterval;
1190
+ /**
1191
+ * Hàm này thực hiển previous slide
1192
+ */
1193
+ previousSlide(): void;
1194
+ /**
1195
+ * Hiển thị slide được chỉ định.
1196
+ * 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
1197
+ * @param index slide cần hiển thị
1198
+ * @param isReverse có đảo ngược hiệu ứng hay không (nhấn prev slide)
1199
+ */
1200
+ private showSlide;
1201
+ /**
1202
+ * Hàm này thực hiển next slide
1203
+ */
1204
+ nextSlide(): void;
1205
+ /** Bắt đầu thao tác kéo slide */
1206
+ startDrag(event: MouseEvent | TouchEvent): void;
1207
+ /** Hàm trợ giúp để lấy tọa độ X từ sự kiện chuột hoặc cảm ứng */
1208
+ private getEventX;
1209
+ /** Hàm trợ giúp để lấy tọa độ Y từ sự kiện chuột hoặc cảm ứng */
1210
+ private getEventY;
1211
+ /** Xử lý thao tác kéo khi di chuyển chuột */
1212
+ onDrag(event: MouseEvent | TouchEvent): void;
1213
+ /** Kết thúc thao tác kéo */
1214
+ endDrag(event: MouseEvent | TouchEvent): void;
1215
+ /**
1216
+ * Hiệu ứng chuyển slide khi nắm kéo
1217
+ */
1218
+ private animateSlideOnDrag;
1219
+ /**
1220
+ * Hiệu ứng chuyển slide khi thao tác với các nút
1221
+ * @param transitionType
1222
+ * @param slides
1223
+ * @param currentIndex
1224
+ * @param newIndex
1225
+ * @param indexSlides
1226
+ * @param currentProgress
1227
+ * @param isReverse
1228
+ * @param gsap
1229
+ * @param time_animation_play
1230
+ */
1231
+ private animateSlide;
1232
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBanner, never>;
1233
+ 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>;
1234
+ }
1235
+
1236
+ declare class WbFrameBannerConfig implements OnInit {
1237
+ webBuilderService: webBuilderService;
1238
+ map: CommonConfigMapService;
1239
+ data: any;
1240
+ device: any;
1241
+ class: any;
1242
+ config: any;
1243
+ animation: any;
1244
+ type: any;
1245
+ tabs: any[];
1246
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1247
+ ngOnInit(): void;
1248
+ ngOnChanges(changes: SimpleChanges): void;
1249
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBannerConfig, never>;
1250
+ 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>;
1251
+ }
1252
+
1253
+ declare class WbFrameBlank implements OnInit {
1254
+ webBuilderService: webBuilderService;
1255
+ map: ComponentMapService;
1256
+ el: ElementRef;
1257
+ data: any;
1258
+ device: any;
1259
+ class: any;
1260
+ config: any;
1261
+ animation: any;
1262
+ type: any;
1263
+ product: any;
1264
+ isClone: any;
1265
+ /**
1266
+ * 3 biến này để sticky vật thể
1267
+ * */
1268
+ rectTop: number;
1269
+ height: number;
1270
+ bottomParent: number;
1271
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, el: ElementRef);
1272
+ ngOnInit(): void;
1273
+ ngAfterViewInit(): void;
1274
+ ngOnDestroy(): void;
1275
+ handleScroll: (e: Event) => void;
1276
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBlank, never>;
1277
+ 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>;
1278
+ }
1279
+
1280
+ declare class WbFrameBlankConfig implements OnInit {
1281
+ map: CommonConfigMapService;
1282
+ data: any;
1283
+ device: any;
1284
+ class: any;
1285
+ config: any;
1286
+ animation: any;
1287
+ type: any;
1288
+ tabs: any[];
1289
+ constructor(map: CommonConfigMapService);
1290
+ ngOnInit(): void;
1291
+ ngOnChanges(changes: SimpleChanges): void;
1292
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameBlankConfig, never>;
1293
+ 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>;
1294
+ }
1295
+
1296
+ declare class WbFrameTab implements OnInit {
1297
+ webBuilderService: webBuilderService;
1298
+ map: ComponentMapService;
1299
+ data: any;
1300
+ device: any;
1301
+ class: any;
1302
+ config: any;
1303
+ animation: any;
1304
+ type: any;
1305
+ product: any;
1306
+ isClone: any;
1307
+ currentTab: number;
1308
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService);
1309
+ ngOnInit(): void;
1310
+ onChooseTab(index: number): void;
1311
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameTab, never>;
1312
+ 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>;
1313
+ }
1314
+
1315
+ declare class WbFrameTabConfig implements OnInit {
1316
+ map: CommonConfigMapService;
1317
+ data: any;
1318
+ device: any;
1319
+ class: any;
1320
+ config: any;
1321
+ animation: any;
1322
+ type: any;
1323
+ tabs: any[];
1324
+ constructor(map: CommonConfigMapService);
1325
+ ngOnInit(): void;
1326
+ ngOnChanges(changes: SimpleChanges): void;
1327
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameTabConfig, never>;
1328
+ 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>;
1329
+ }
1330
+
1331
+ /**
1332
+ * endUser = {
1333
+ * email: string,
1334
+ * name: string,
1335
+ * phone: string,
1336
+ * country: string,
1337
+ * addresses: [
1338
+ * {
1339
+ * _id: string
1340
+ * address: string,
1341
+ * is_default: boolean
1342
+ * name: string
1343
+ * phone: string
1344
+ * city: string
1345
+ * district: string
1346
+ * ward: string
1347
+ * }
1348
+ * ],
1349
+ * }
1350
+ */
1351
+ declare class AuthService {
1352
+ private http;
1353
+ private toast;
1354
+ private webBuilderService;
1355
+ private router;
1356
+ private apiUrl;
1357
+ private urlBE;
1358
+ private user;
1359
+ private endUser;
1360
+ constructor(http: HttpClient, toast: NzMessageService, webBuilderService: webBuilderService, router: Router);
1361
+ private wrapApiCall;
1362
+ handleLogin(email: string, password: string): Promise<any>;
1363
+ handleRegister(name: string, email: string, password: string): Promise<any>;
1364
+ handleLogout(): Promise<any>;
1365
+ checkAuthUser(): Observable<boolean>;
1366
+ isAuthenticated(): Observable<boolean>;
1367
+ handleRegisterEndUser(name: string, email: string, phone: string, password: string): Promise<any>;
1368
+ handleLoginEndUser(email: string, password: string): Promise<any>;
1369
+ handleLogoutEndUser(): Promise<any>;
1370
+ checkAuthEndUser(): boolean;
1371
+ fetchEndUser(): Promise<any>;
1372
+ getEndUser(): any;
1373
+ getUser(): any;
1374
+ sendActivationEmail(token: any): Promise<Object>;
1375
+ forgotPassword(email: string): Promise<Object>;
1376
+ resetPassword(token: string, newPassword: string): Promise<Object>;
1377
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
1378
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
1379
+ }
1380
+
1381
+ declare class CartService {
1382
+ private webbuilderService;
1383
+ private cartState;
1384
+ cart: i0.Signal<any>;
1385
+ loadInitialCart(): void;
1386
+ /**
1387
+ * chỉ cần truyền item, hàm tự tính số lượng
1388
+ * @param itemToAdd
1389
+ */
1390
+ addItem(product: any): Promise<void>;
1391
+ removeItem(id_variation: string): void;
1392
+ updateItemQuantity(id_variation: string, quantity: number): void;
1393
+ static ɵfac: i0.ɵɵFactoryDeclaration<CartService, never>;
1394
+ static ɵprov: i0.ɵɵInjectableDeclaration<CartService>;
1395
+ }
1396
+
1397
+ declare class WbFrameCart implements OnInit {
1398
+ webBuilderService: webBuilderService;
1399
+ map: ComponentMapService;
1400
+ cartService: CartService;
1401
+ private el;
1402
+ private authService;
1403
+ data: any;
1404
+ device: any;
1405
+ class: any;
1406
+ config: any;
1407
+ animation: any;
1408
+ type: any;
1409
+ isClone: any;
1410
+ product: any;
1411
+ loading: boolean;
1412
+ products: never[];
1413
+ changeGridSub: any;
1414
+ constructor(webBuilderService: webBuilderService, map: ComponentMapService, cartService: CartService, el: ElementRef, authService: AuthService);
1415
+ ngOnInit(): void;
1416
+ ngOnDestroy(): void;
1417
+ calcProducts(): void;
1418
+ displayItems(): any;
1419
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameCart, never>;
1420
+ 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>;
1421
+ }
1422
+
1423
+ declare class WbFrameCartConfig implements OnInit {
1424
+ webBuilderService: webBuilderService;
1425
+ map: CommonConfigMapService;
1426
+ data: any;
1427
+ device: any;
1428
+ class: any;
1429
+ config: any;
1430
+ animation: any;
1431
+ type: any;
1432
+ tabs: any[];
1433
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1434
+ ngOnInit(): void;
1435
+ ngOnChanges(changes: SimpleChanges): void;
1436
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameCartConfig, never>;
1437
+ 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>;
1438
+ }
1439
+
1440
+ declare class WbFrameProductDetail implements OnInit {
1441
+ webBuilderService: webBuilderService;
1442
+ private route;
1443
+ map: ComponentMapService;
1444
+ data: any;
1445
+ device: any;
1446
+ class: any;
1447
+ config: any;
1448
+ animation: any;
1449
+ type: any;
1450
+ isClone: any;
1451
+ product: any;
1452
+ loading: boolean;
1453
+ constructor(webBuilderService: webBuilderService, route: ActivatedRoute, map: ComponentMapService);
1454
+ ngOnInit(): void;
1455
+ handleGetProduct(): void;
1456
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductDetail, never>;
1457
+ 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>;
1458
+ }
1459
+
1460
+ declare class WbFrameProductDetailConfig implements OnInit {
1461
+ data: any;
1462
+ device: any;
1463
+ class: any;
1464
+ config: any;
1465
+ animation: any;
1466
+ type: any;
1467
+ constructor();
1468
+ ngOnInit(): void;
1469
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductDetailConfig, never>;
1470
+ 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>;
1471
+ }
1472
+
1473
+ declare class FunctionService {
1474
+ private webBuilderService;
1475
+ private toast;
1476
+ constructor(webBuilderService: webBuilderService, toast: NzMessageService);
1477
+ /**
1478
+ * hàm chuyển tên thành slug
1479
+ * vd: "Giới thieu" => "gioi-thieu"
1480
+ * @param name tên cần format
1481
+ */
1482
+ convertNameToSlug(name: string): string;
1483
+ removeVietnamese(str: string): string;
1484
+ /**
1485
+ *
1486
+ * @param object đối tượng cần thêm
1487
+ */
1488
+ addObject(object: any): Promise<void>;
1489
+ /**
1490
+ * hàm để tính toán lại kích thước của khung để add ra cho đẹp
1491
+ * @param frame đối tượng cần thêm
1492
+ */
1493
+ addFrame(frame: any): void;
1494
+ /**
1495
+ * hàm để tính toán lại kích thước của khối để add ra cho đẹp
1496
+ * @param block đối tượng cần thêm
1497
+ */
1498
+ addBlock(block: any): void;
1499
+ /**
1500
+ * hàm tạo thông báo
1501
+ * @param type loại thông báok
1502
+ * @param message
1503
+ * @returns
1504
+ */
1505
+ createMessage(type: string | 'error' | 'warn' | 'success' | 'info', message: string): ng_zorro_antd_message.NzMessageRef;
1506
+ /**
1507
+ * Hàm sắp xếp mảng các đối tượng theo trường tiếng Việt
1508
+ * @param data_filter
1509
+ * @param field
1510
+ * @param lang
1511
+ * @param order
1512
+ * @returns
1513
+ */
1514
+ sortVietnameseString(data_filter: any[], field: string, lang?: string, order?: number): any[];
1515
+ /**
1516
+ * Hàm tạo ID đối tượng theo định dạng ObjectId của MongoDB
1517
+ * @returns {string} ID đối tượng 24 ký tự hex
1518
+ */
1519
+ generateObjectId(): string;
1520
+ /**
1521
+ * Tạo màu hex ngẫu nhiên
1522
+ * @returns {string} Màu hex ngẫu nhiên
1523
+ */
1524
+ randomColor(): string;
1525
+ handleNextPrevFrame(_this: any, direction: 'next' | 'prev', classTransition: string): void;
1526
+ handleNextPrevCol(_this: any, direction: 'next' | 'prev', classTransition: string): void;
1527
+ onMouseDown(_this: any, event: any, type: 'mouse' | 'touch', classTransition: string): void;
1528
+ onMouseMove(_this: any, event: any, type: 'mouse' | 'touch'): void;
1529
+ onMouseUp(_this: any, event: any, type: 'mouse' | 'touch', classTransition: string): void;
1530
+ onMouseLeave(_this: any, event: any): void;
1531
+ static ɵfac: i0.ɵɵFactoryDeclaration<FunctionService, never>;
1532
+ static ɵprov: i0.ɵɵInjectableDeclaration<FunctionService>;
1533
+ }
1534
+
1535
+ declare class WbFrameProducts implements OnInit {
1536
+ webBuilderService: webBuilderService;
1537
+ functionService: FunctionService;
1538
+ elementRef: ElementRef;
1539
+ authService: AuthService;
1540
+ map: ComponentMapService;
1541
+ data: any;
1542
+ device: any;
1543
+ class: any;
1544
+ config: any;
1545
+ animation: any;
1546
+ type: any;
1547
+ isClone: any;
1548
+ product: any;
1549
+ loading: boolean;
1550
+ /** ----------------- SLIDE --------------------- */
1551
+ translateX: any;
1552
+ isSliding: boolean;
1553
+ transition: string;
1554
+ /** xác định ở cuối slide */
1555
+ isLastRight: boolean;
1556
+ /** xác định ở đầu slide */
1557
+ isLastLeft: boolean;
1558
+ groupNumber: number;
1559
+ oldTranslateX: number;
1560
+ isDragging: boolean;
1561
+ initialMouseX: number;
1562
+ currentMouseX: number;
1563
+ currentIndex: number;
1564
+ /** ----------------- SLIDE --------------------- */
1565
+ products: any;
1566
+ /**
1567
+ * products2D: Dùng để nhóm sản phẩm theo hàng và cột
1568
+ * 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]]
1569
+ * để vuốt(slide) theo nhóm
1570
+ */
1571
+ products2D: any;
1572
+ changeGridSub: any;
1573
+ constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
1574
+ ngOnInit(): void;
1575
+ handleDisplay(): void;
1576
+ ngOnDestroy(): void;
1577
+ calcProducts(): void;
1578
+ onMouseDown(event: any, type: 'mouse' | 'touch'): void;
1579
+ onMouseMove(event: any, type: 'mouse' | 'touch'): void;
1580
+ onMouseUp(event: any, type: 'mouse' | 'touch'): void;
1581
+ onMouseLeave(event: any): void;
1582
+ handleNext(): void;
1583
+ handlePrev(): void;
1584
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProducts, never>;
1585
+ 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>;
1586
+ }
1587
+
1588
+ declare class WbFrameProductsConfig implements OnInit {
1589
+ webBuilderService: webBuilderService;
1590
+ map: CommonConfigMapService;
1591
+ data: any;
1592
+ device: any;
1593
+ class: any;
1594
+ config: any;
1595
+ animation: any;
1596
+ type: any;
1597
+ tabs: any[];
1598
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1599
+ ngOnInit(): void;
1600
+ ngOnChanges(changes: SimpleChanges): void;
1601
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsConfig, never>;
1602
+ 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>;
1603
+ }
1604
+
1605
+ declare class WbFrameProductsAdmin implements OnInit {
1606
+ webBuilderService: webBuilderService;
1607
+ functionService: FunctionService;
1608
+ private modal;
1609
+ data: any;
1610
+ device: any;
1611
+ categories: any;
1612
+ selectedCategory: any;
1613
+ products: any;
1614
+ loading: boolean;
1615
+ sort: any;
1616
+ container: ElementRef<HTMLInputElement>;
1617
+ keySearch: string;
1618
+ dataSearched: any;
1619
+ heightContainer: number;
1620
+ /** ------------------------Pagination------------------------ */
1621
+ /** Trang hiện tại */
1622
+ pageIndex: number;
1623
+ /** Tổng số trang */
1624
+ total: number;
1625
+ /** Số lượng bản ghi trên 1 trang */
1626
+ pageSize: number;
1627
+ readonly nzModalData: any;
1628
+ dataMap: any;
1629
+ constructor(webBuilderService: webBuilderService, functionService: FunctionService, modal: NzModalService);
1630
+ ngOnInit(): void;
1631
+ ngAfterViewInit(): void;
1632
+ getCategories(): void;
1633
+ onSearch(): void;
1634
+ getProducts(): void;
1635
+ optionRender: (cate: any) => string;
1636
+ renderCategories(pro: any): any;
1637
+ renderRangePrice(data: any, type: string | 'import_price' | 'retail_price' | 'original_price'): any;
1638
+ updateProduct(product: any, field: any, value: any): void;
1639
+ onQueryParamsChange(params: NzTableQueryParams): void;
1640
+ handleSortLocal: (a: any, b: any) => number;
1641
+ /**
1642
+ * hàm tạo dữ liệu của frame_repeat
1643
+ */
1644
+ createData(): void;
1645
+ openModalEdit(obj: any, item: any): void;
1646
+ handleDeleteData(item: any): void;
1647
+ updateConfig(): void;
1648
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsAdmin, never>;
1649
+ static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductsAdmin, "wb-frame-products-admin", never, {}, {}, never, never, true, never>;
1650
+ }
1651
+
1652
+ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
1653
+ webBuilderService: webBuilderService;
1654
+ private route;
1655
+ private router;
1656
+ map: ComponentMapService;
1657
+ data: any;
1658
+ device: any;
1659
+ class: any;
1660
+ config: any;
1661
+ animation: any;
1662
+ type: any;
1663
+ isClone: any;
1664
+ product: any;
1665
+ loading: boolean;
1666
+ products: any;
1667
+ /** ------------------------Pagination------------------------ */
1668
+ pageCurrent: number;
1669
+ totalPages: number;
1670
+ limit: number;
1671
+ pageShowChoose: any;
1672
+ pageGoto: number;
1673
+ changeGridSub: any;
1674
+ qpSub?: Subscription;
1675
+ constructor(webBuilderService: webBuilderService, route: ActivatedRoute, router: Router, map: ComponentMapService);
1676
+ ngOnInit(): void;
1677
+ ngOnDestroy(): void;
1678
+ handleGetProduct(): void;
1679
+ calcProducts(): void;
1680
+ gotoPreviousPage(): void;
1681
+ gotoNextPage(): void;
1682
+ updateListPage(): void;
1683
+ transferFn(value: number): void;
1684
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsByCategory, never>;
1685
+ 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>;
1686
+ }
1687
+
1688
+ declare class WbFrameProductsByCategoryConfig implements OnInit {
1689
+ webBuilderService: webBuilderService;
1690
+ map: CommonConfigMapService;
1691
+ data: any;
1692
+ device: any;
1693
+ class: any;
1694
+ config: any;
1695
+ animation: any;
1696
+ type: any;
1697
+ tabs: any[];
1698
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1699
+ ngOnInit(): void;
1700
+ ngOnChanges(changes: SimpleChanges): void;
1701
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductsByCategoryConfig, never>;
1702
+ 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>;
1703
+ }
1704
+
1705
+ declare class WbButtonSetDefaultAddress implements OnInit {
1706
+ webBuilderService: webBuilderService;
1707
+ data: any;
1708
+ device: any;
1709
+ class: any;
1710
+ config: any;
1711
+ animation: any;
1712
+ type: any;
1713
+ isClone: any;
1714
+ product: any;
1715
+ constructor(webBuilderService: webBuilderService);
1716
+ ngOnInit(): void;
1717
+ onClick(): void;
1718
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonSetDefaultAddress, never>;
1719
+ 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>;
1720
+ }
1721
+
1722
+ declare class WbButtonSetDefaultAddressConfig implements OnInit {
1723
+ webBuilderService: webBuilderService;
1724
+ map: CommonConfigMapService;
1725
+ data: any;
1726
+ device: any;
1727
+ class: any;
1728
+ config: any;
1729
+ animation: any;
1730
+ type: any;
1731
+ tabs: any[];
1732
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1733
+ ngOnInit(): void;
1734
+ ngOnChanges(changes: SimpleChanges): void;
1735
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbButtonSetDefaultAddressConfig, never>;
1736
+ 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>;
1737
+ }
1738
+
1739
+ declare class WbSelectCountry implements OnInit {
1740
+ webBuilderService: webBuilderService;
1741
+ data: any;
1742
+ device: any;
1743
+ class: any;
1744
+ config: any;
1745
+ animation: any;
1746
+ type: any;
1747
+ isClone: any;
1748
+ product: any;
1749
+ disabled: boolean;
1750
+ isOpen: boolean;
1751
+ countries: any[];
1752
+ countrySelected: any;
1753
+ constructor(webBuilderService: webBuilderService);
1754
+ ngOnInit(): void;
1755
+ toggleDropdown(): void;
1756
+ selectCountry(country: any): void;
1757
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectCountry, never>;
1758
+ 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>;
1759
+ }
1760
+
1761
+ declare class WbSelectCountryConfig implements OnInit {
1762
+ data: any;
1763
+ device: any;
1764
+ class: any;
1765
+ config: any;
1766
+ animation: any;
1767
+ type: any;
1768
+ tabs: any[];
1769
+ constructor();
1770
+ ngOnInit(): void;
1771
+ ngOnChanges(changes: SimpleChanges): void;
1772
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectCountryConfig, never>;
1773
+ 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>;
1774
+ }
1775
+
1776
+ declare class WbInput implements OnInit {
1777
+ private router;
1778
+ webBuilderService: webBuilderService;
1779
+ private authService;
1780
+ data: any;
1781
+ device: any;
1782
+ class: any;
1783
+ config: any;
1784
+ animation: any;
1785
+ type: any;
1786
+ product: any;
1787
+ isClone: any;
1788
+ isFocused: boolean;
1789
+ findBlock: any;
1790
+ changeBlockSub: any;
1791
+ constructor(router: Router, webBuilderService: webBuilderService, authService: AuthService);
1792
+ ngOnInit(): void;
1793
+ getDetailFreeblock(): void;
1794
+ ngOnDestroy(): void;
1795
+ onChangeType(): void;
1796
+ onChangeValue(event: any): void;
1797
+ positionModal(): {
1798
+ left: string;
1799
+ right?: undefined;
1800
+ transform?: undefined;
1801
+ } | {
1802
+ right: string;
1803
+ left?: undefined;
1804
+ transform?: undefined;
1805
+ } | {
1806
+ left: string;
1807
+ transform: string;
1808
+ right?: undefined;
1809
+ };
1810
+ onFocus(event: any): void;
1811
+ onBlur(event: any): void;
1812
+ handleNavigate(): void;
1813
+ conditionDisplay(): boolean;
1814
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbInput, never>;
1815
+ 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>;
1816
+ }
1817
+
1818
+ declare class WbInputConfig implements OnInit {
1819
+ webBuilderService: webBuilderService;
1820
+ map: CommonConfigMapService;
1821
+ data: any;
1822
+ device: any;
1823
+ class: any;
1824
+ config: any;
1825
+ animation: any;
1826
+ type: any;
1827
+ tabs: any[];
1828
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1829
+ ngOnInit(): void;
1830
+ ngOnChanges(changes: SimpleChanges): void;
1831
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbInputConfig, never>;
1832
+ 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>;
1833
+ }
1834
+
1835
+ declare class WbSelectProvinceDistrictWard implements OnInit {
1836
+ webBuilderService: webBuilderService;
1837
+ private authService;
1838
+ data: any;
1839
+ device: any;
1840
+ class: any;
1841
+ config: any;
1842
+ animation: any;
1843
+ type: any;
1844
+ isClone: any;
1845
+ product: any;
1846
+ disabled: boolean;
1847
+ provinces: any[];
1848
+ districts: any[];
1849
+ wards: any[];
1850
+ isOpen: boolean[];
1851
+ hideShowSub: any;
1852
+ constructor(webBuilderService: webBuilderService, authService: AuthService);
1853
+ ngOnInit(): void;
1854
+ ngOnDestroy(): void;
1855
+ toggleDropdown(idx: number): void;
1856
+ selectProvince(province: any): void;
1857
+ selectDistrict(district: any): void;
1858
+ selectWard(ward: any): void;
1859
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectProvinceDistrictWard, never>;
1860
+ 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>;
1861
+ }
1862
+
1863
+ declare class WbSelectProvinceDistrictWardConfig implements OnInit {
1864
+ webBuilderService: webBuilderService;
1865
+ map: CommonConfigMapService;
1866
+ data: any;
1867
+ device: any;
1868
+ class: any;
1869
+ config: any;
1870
+ animation: any;
1871
+ type: any;
1872
+ tabs: any[];
1873
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1874
+ ngOnInit(): void;
1875
+ ngOnChanges(changes: SimpleChanges): void;
1876
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbSelectProvinceDistrictWardConfig, never>;
1877
+ 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>;
1878
+ }
1879
+
1880
+ declare class WbBreadcumb implements OnInit {
1881
+ private route;
1882
+ webBuilderService: webBuilderService;
1883
+ data: any;
1884
+ device: any;
1885
+ class: any;
1886
+ config: any;
1887
+ animation: any;
1888
+ type: any;
1889
+ isClone: any;
1890
+ product: any;
1891
+ segments: any;
1892
+ pageName: string;
1893
+ constructor(route: ActivatedRoute, webBuilderService: webBuilderService);
1894
+ ngOnInit(): void;
1895
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBreadcumb, never>;
1896
+ 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>;
1897
+ }
1898
+
1899
+ declare class WbBreadcumbConfig implements OnInit {
1900
+ webBuilderService: webBuilderService;
1901
+ map: CommonConfigMapService;
1902
+ data: any;
1903
+ device: any;
1904
+ class: any;
1905
+ config: any;
1906
+ animation: any;
1907
+ type: any;
1908
+ tabs: any[];
1909
+ constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
1910
+ ngOnInit(): void;
1911
+ ngOnChanges(changes: SimpleChanges): void;
1912
+ static ɵfac: i0.ɵɵFactoryDeclaration<WbBreadcumbConfig, never>;
1913
+ 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>;
1914
+ }
1915
+
1916
+ declare class DrawerService {
1917
+ private overlay;
1918
+ private overlayRef?;
1919
+ constructor(overlay: Overlay);
1920
+ open(config: any): void;
1921
+ close(): void;
1922
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerService, never>;
1923
+ static ɵprov: i0.ɵɵInjectableDeclaration<DrawerService>;
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 { CommonConfigMapService, ComponentConfigMapService, ComponentMapService, 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 };