@sc-360-v2/storefront-cms-library 0.3.40 → 0.3.42

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.
@@ -1,3 +1,4 @@
1
+ import { CMSElementEditTypes } from "../../enums";
1
2
  export declare const buttonDefaultStateInstance: {
2
3
  backgroundColor: {
3
4
  value: null;
@@ -362,3 +363,532 @@ export declare const buttonHoverStateInstance: {
362
363
  isReadOnly?: boolean | undefined;
363
364
  };
364
365
  };
366
+ export declare const ButtonProperties: {
367
+ backgroundColor: {
368
+ value: null;
369
+ parentRef: string;
370
+ property?: any;
371
+ propertyType?: any;
372
+ isReadOnly?: boolean | undefined;
373
+ };
374
+ borderColor: {
375
+ value: null;
376
+ parentRef: string;
377
+ property?: any;
378
+ propertyType?: any;
379
+ isReadOnly?: boolean | undefined;
380
+ };
381
+ borderStyle: {
382
+ value: null;
383
+ parentRef: string;
384
+ property?: any;
385
+ propertyType?: any;
386
+ isReadOnly?: boolean | undefined;
387
+ };
388
+ borderPerSlide: {
389
+ value: null;
390
+ parentRef: string;
391
+ isAll: boolean;
392
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
393
+ property: string;
394
+ iscss?: boolean | undefined;
395
+ propertyType?: any;
396
+ };
397
+ showBorder: {
398
+ value: boolean;
399
+ parentRef: string;
400
+ property?: any;
401
+ propertyType?: any;
402
+ isReadOnly?: boolean | undefined;
403
+ };
404
+ showShadow: {
405
+ value: null;
406
+ parentRef: string;
407
+ property?: any;
408
+ propertyType?: any;
409
+ isReadOnly?: boolean | undefined;
410
+ };
411
+ shadowColor: {
412
+ value: null;
413
+ parentRef: string;
414
+ property?: any;
415
+ propertyType?: any;
416
+ isReadOnly?: boolean | undefined;
417
+ };
418
+ blur: {
419
+ value: null;
420
+ parentRef: string;
421
+ unit?: string | number | undefined;
422
+ property?: any;
423
+ propertyType?: any;
424
+ isReadOnly?: boolean | undefined;
425
+ };
426
+ spread: {
427
+ value: null;
428
+ parentRef: string;
429
+ unit?: string | number | undefined;
430
+ property?: any;
431
+ propertyType?: any;
432
+ isReadOnly?: boolean | undefined;
433
+ };
434
+ angle: {
435
+ value: null;
436
+ parentRef: string;
437
+ unit?: string | number | undefined;
438
+ property?: any;
439
+ propertyType?: any;
440
+ isReadOnly?: boolean | undefined;
441
+ };
442
+ borderRadius: {
443
+ value: null;
444
+ parentRef: string;
445
+ isAll: boolean;
446
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
447
+ property: string;
448
+ iscss?: boolean | undefined;
449
+ propertyType?: any;
450
+ };
451
+ font: {
452
+ value: null;
453
+ parentRef: string;
454
+ property?: any;
455
+ propertyType?: any;
456
+ isReadOnly?: boolean | undefined;
457
+ };
458
+ fontSize: {
459
+ value: null;
460
+ parentRef: string;
461
+ unit?: string | number | undefined;
462
+ property?: any;
463
+ propertyType?: any;
464
+ isReadOnly?: boolean | undefined;
465
+ };
466
+ textColor: {
467
+ value: null;
468
+ parentRef: string;
469
+ property?: any;
470
+ propertyType?: any;
471
+ isReadOnly?: boolean | undefined;
472
+ };
473
+ bold: {
474
+ value: string;
475
+ parentRef: string;
476
+ property?: any;
477
+ propertyType?: any;
478
+ isReadOnly?: boolean | undefined;
479
+ };
480
+ italic: {
481
+ value: null;
482
+ parentRef: string;
483
+ property?: any;
484
+ propertyType?: any;
485
+ isReadOnly?: boolean | undefined;
486
+ };
487
+ linethrough: {
488
+ value: null;
489
+ parentRef: string;
490
+ property?: any;
491
+ propertyType?: any;
492
+ isReadOnly?: boolean | undefined;
493
+ };
494
+ underline: {
495
+ value: null;
496
+ parentRef: string;
497
+ property?: any;
498
+ propertyType?: any;
499
+ isReadOnly?: boolean | undefined;
500
+ };
501
+ textAlign: {
502
+ value: null;
503
+ parentRef: string;
504
+ property?: any;
505
+ propertyType?: any;
506
+ isReadOnly?: boolean | undefined;
507
+ };
508
+ characterSpacing: {
509
+ value: null;
510
+ parentRef: string;
511
+ unit?: string | number | undefined;
512
+ property?: any;
513
+ propertyType?: any;
514
+ isReadOnly?: boolean | undefined;
515
+ };
516
+ lineHeight: {
517
+ value: null;
518
+ parentRef: string;
519
+ unit?: string | number | undefined;
520
+ property?: any;
521
+ propertyType?: any;
522
+ isReadOnly?: boolean | undefined;
523
+ };
524
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
525
+ showIcon: {
526
+ value: null;
527
+ parentRef: string;
528
+ property?: any;
529
+ propertyType?: any;
530
+ isReadOnly?: boolean | undefined;
531
+ };
532
+ iconSize: {
533
+ value: null;
534
+ parentRef: string;
535
+ unit?: string | number | undefined;
536
+ property?: any;
537
+ propertyType?: any;
538
+ isReadOnly?: boolean | undefined;
539
+ };
540
+ iconColor: {
541
+ value: null;
542
+ parentRef: string;
543
+ property?: any;
544
+ propertyType?: any;
545
+ isReadOnly?: boolean | undefined;
546
+ };
547
+ buttonStyle: {
548
+ value: null;
549
+ parentRef: string;
550
+ propertyType: CMSElementEditTypes;
551
+ };
552
+ buttonText: {
553
+ value: string;
554
+ property: string;
555
+ propertyType: CMSElementEditTypes;
556
+ };
557
+ iconPadding: {
558
+ value: number;
559
+ property: string;
560
+ parentRef: string;
561
+ propertyType: CMSElementEditTypes;
562
+ };
563
+ iconPosition: {
564
+ value: null;
565
+ parentRef: string;
566
+ propertyType: CMSElementEditTypes;
567
+ };
568
+ iconAndTextSpacing: {
569
+ value: null;
570
+ property: string;
571
+ unit: number;
572
+ parentRef: string;
573
+ propertyType: CMSElementEditTypes;
574
+ };
575
+ alignment: {
576
+ value: null;
577
+ property: string;
578
+ parentRef: string;
579
+ propertyType: CMSElementEditTypes;
580
+ };
581
+ buttonType: {
582
+ value: string;
583
+ propertyType: CMSElementEditTypes;
584
+ };
585
+ width: {
586
+ value: string;
587
+ unit: number;
588
+ };
589
+ padding: {
590
+ parentRef: string;
591
+ isAll?: boolean | undefined;
592
+ sides?: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides | undefined;
593
+ property?: string | undefined;
594
+ iscss?: boolean | undefined;
595
+ propertyType?: any;
596
+ };
597
+ };
598
+ export declare const ButtonPropertiesHover: {
599
+ backgroundColor: {
600
+ value: null;
601
+ parentRef: string;
602
+ property?: any;
603
+ propertyType?: any;
604
+ isReadOnly?: boolean | undefined;
605
+ };
606
+ borderColor: {
607
+ value: null;
608
+ parentRef: string;
609
+ property?: any;
610
+ propertyType?: any;
611
+ isReadOnly?: boolean | undefined;
612
+ };
613
+ borderStyle: {
614
+ value: null;
615
+ parentRef: string;
616
+ property?: any;
617
+ propertyType?: any;
618
+ isReadOnly?: boolean | undefined;
619
+ };
620
+ borderPerSlide: {
621
+ value: null;
622
+ parentRef: string;
623
+ isAll: boolean;
624
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
625
+ property: string;
626
+ iscss?: boolean | undefined;
627
+ propertyType?: any;
628
+ };
629
+ showBorder: {
630
+ value: boolean;
631
+ parentRef: string;
632
+ property?: any;
633
+ propertyType?: any;
634
+ isReadOnly?: boolean | undefined;
635
+ };
636
+ showShadow: {
637
+ value: null;
638
+ parentRef: string;
639
+ property?: any;
640
+ propertyType?: any;
641
+ isReadOnly?: boolean | undefined;
642
+ };
643
+ shadowColor: {
644
+ value: null;
645
+ parentRef: string;
646
+ property?: any;
647
+ propertyType?: any;
648
+ isReadOnly?: boolean | undefined;
649
+ };
650
+ blur: {
651
+ value: null;
652
+ parentRef: string;
653
+ unit?: string | number | undefined;
654
+ property?: any;
655
+ propertyType?: any;
656
+ isReadOnly?: boolean | undefined;
657
+ };
658
+ spread: {
659
+ value: null;
660
+ parentRef: string;
661
+ unit?: string | number | undefined;
662
+ property?: any;
663
+ propertyType?: any;
664
+ isReadOnly?: boolean | undefined;
665
+ };
666
+ angle: {
667
+ value: null;
668
+ parentRef: string;
669
+ unit?: string | number | undefined;
670
+ property?: any;
671
+ propertyType?: any;
672
+ isReadOnly?: boolean | undefined;
673
+ };
674
+ borderRadius: {
675
+ value: null;
676
+ parentRef: string;
677
+ isAll: boolean;
678
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
679
+ property: string;
680
+ iscss?: boolean | undefined;
681
+ propertyType?: any;
682
+ };
683
+ font: {
684
+ value: null;
685
+ parentRef: string;
686
+ property?: any;
687
+ propertyType?: any;
688
+ isReadOnly?: boolean | undefined;
689
+ };
690
+ fontSize: {
691
+ value: null;
692
+ parentRef: string;
693
+ unit?: string | number | undefined;
694
+ property?: any;
695
+ propertyType?: any;
696
+ isReadOnly?: boolean | undefined;
697
+ };
698
+ textColor: {
699
+ value: null;
700
+ parentRef: string;
701
+ property?: any;
702
+ propertyType?: any;
703
+ isReadOnly?: boolean | undefined;
704
+ };
705
+ bold: {
706
+ value: string;
707
+ parentRef: string;
708
+ property?: any;
709
+ propertyType?: any;
710
+ isReadOnly?: boolean | undefined;
711
+ };
712
+ italic: {
713
+ value: null;
714
+ parentRef: string;
715
+ property?: any;
716
+ propertyType?: any;
717
+ isReadOnly?: boolean | undefined;
718
+ };
719
+ linethrough: {
720
+ value: null;
721
+ parentRef: string;
722
+ property?: any;
723
+ propertyType?: any;
724
+ isReadOnly?: boolean | undefined;
725
+ };
726
+ underline: {
727
+ value: null;
728
+ parentRef: string;
729
+ property?: any;
730
+ propertyType?: any;
731
+ isReadOnly?: boolean | undefined;
732
+ };
733
+ textAlign: {
734
+ value: null;
735
+ parentRef: string;
736
+ property?: any;
737
+ propertyType?: any;
738
+ isReadOnly?: boolean | undefined;
739
+ };
740
+ characterSpacing: {
741
+ value: null;
742
+ parentRef: string;
743
+ unit?: string | number | undefined;
744
+ property?: any;
745
+ propertyType?: any;
746
+ isReadOnly?: boolean | undefined;
747
+ };
748
+ lineHeight: {
749
+ value: null;
750
+ parentRef: string;
751
+ unit?: string | number | undefined;
752
+ property?: any;
753
+ propertyType?: any;
754
+ isReadOnly?: boolean | undefined;
755
+ };
756
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
757
+ showIcon: {
758
+ value: null;
759
+ parentRef: string;
760
+ property?: any;
761
+ propertyType?: any;
762
+ isReadOnly?: boolean | undefined;
763
+ };
764
+ iconSize: {
765
+ value: null;
766
+ parentRef: string;
767
+ unit?: string | number | undefined;
768
+ property?: any;
769
+ propertyType?: any;
770
+ isReadOnly?: boolean | undefined;
771
+ };
772
+ iconColor: {
773
+ value: null;
774
+ parentRef: string;
775
+ property?: any;
776
+ propertyType?: any;
777
+ isReadOnly?: boolean | undefined;
778
+ };
779
+ buttonStyle: {
780
+ value: null;
781
+ parentRef: string;
782
+ propertyType: CMSElementEditTypes;
783
+ };
784
+ buttonText: {
785
+ value: string;
786
+ property: string;
787
+ propertyType: CMSElementEditTypes;
788
+ };
789
+ iconPadding: {
790
+ value: number;
791
+ property: string;
792
+ parentRef: string;
793
+ propertyType: CMSElementEditTypes;
794
+ };
795
+ iconPosition: {
796
+ value: null;
797
+ parentRef: string;
798
+ propertyType: CMSElementEditTypes;
799
+ };
800
+ iconAndTextSpacing: {
801
+ value: null;
802
+ property: string;
803
+ unit: number;
804
+ parentRef: string;
805
+ propertyType: CMSElementEditTypes;
806
+ };
807
+ alignment: {
808
+ value: null;
809
+ property: string;
810
+ parentRef: string;
811
+ propertyType: CMSElementEditTypes;
812
+ };
813
+ buttonType: {
814
+ value: string;
815
+ propertyType: CMSElementEditTypes;
816
+ };
817
+ width: {
818
+ value: string;
819
+ unit: number;
820
+ };
821
+ padding: {
822
+ parentRef: string;
823
+ isAll?: boolean | undefined;
824
+ sides?: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides | undefined;
825
+ property?: string | undefined;
826
+ iscss?: boolean | undefined;
827
+ propertyType?: any;
828
+ };
829
+ };
830
+ export declare const ButtonInstance: {
831
+ buttonStyle: {
832
+ value: null;
833
+ parentRef: string;
834
+ propertyType: CMSElementEditTypes;
835
+ };
836
+ buttonType: {
837
+ value: string;
838
+ propertyType: CMSElementEditTypes;
839
+ };
840
+ buttonText: {
841
+ value: string;
842
+ property: string;
843
+ propertyType: CMSElementEditTypes;
844
+ };
845
+ buttonIcon: {
846
+ value: string;
847
+ property: string;
848
+ propertyType: CMSElementEditTypes;
849
+ };
850
+ iconPosition: {
851
+ value: null;
852
+ parentRef: string;
853
+ propertyType: CMSElementEditTypes;
854
+ };
855
+ iconAndTextSpacing: {
856
+ value: null;
857
+ property: string;
858
+ unit: number;
859
+ parentRef: string;
860
+ propertyType: CMSElementEditTypes;
861
+ };
862
+ alignment: {
863
+ value: null;
864
+ property: string;
865
+ parentRef: string;
866
+ propertyType: CMSElementEditTypes;
867
+ };
868
+ linkTo: {
869
+ value: {
870
+ type: string;
871
+ target: string;
872
+ };
873
+ property: string;
874
+ propertyType: CMSElementEditTypes;
875
+ };
876
+ iconPadding: {
877
+ value: number;
878
+ property: string;
879
+ parentRef: string;
880
+ propertyType: CMSElementEditTypes;
881
+ };
882
+ width: {
883
+ value: string;
884
+ unit: number;
885
+ };
886
+ padding: {
887
+ parentRef: string;
888
+ isAll?: boolean | undefined;
889
+ sides?: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides | undefined;
890
+ property?: string | undefined;
891
+ iscss?: boolean | undefined;
892
+ propertyType?: any;
893
+ };
894
+ };
@@ -17,7 +17,13 @@ export declare enum SelectorKeysEnum {
17
17
  PRODUCT_QUANTITY_STYLES = "productQuantityStyles",
18
18
  PRODUCT_IMAGE_STYLES = "productImageStyles",
19
19
  PRODUCT_REQUIRED_INFO = "productRequiredInfo",
20
- PRODUCT_ATTRIBUTES_ITEMS = "productAttributesItems"
20
+ PRODUCT_ATTRIBUTES_ITEMS = "productAttributesItems",
21
+ PRODUCT_ACTION = "productAction",
22
+ PRODUCT_ACTIONEDIT = "productActionEdit",
23
+ PRODUCT_ACTIONWISHLIST = "productActionwishlist",
24
+ PRODUCT_ACTIONDELETE = "productActiondelete",
25
+ HOVER_STATE = "hoverState",
26
+ DEFAULT_STATE = "defaultState"
21
27
  }
22
28
  export declare const getDefaultData: () => {
23
29
  layout: {
@@ -379,6 +385,137 @@ export declare const getDefaultData: () => {
379
385
  shadows: import("../../interfaces/global").CMSIBSizeInterface;
380
386
  selectorKey: SelectorKeysEnum;
381
387
  };
388
+ productAction: {
389
+ productActionEdit: {
390
+ selectorKey: SelectorKeysEnum;
391
+ defaultState: {
392
+ theme: CMSIBCommonInterface;
393
+ font: CMSIBCommonInterface;
394
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
395
+ textColor: CMSIBCommonInterface;
396
+ bold: CMSIBCommonInterface;
397
+ italic: CMSIBCommonInterface;
398
+ linethrough: CMSIBCommonInterface;
399
+ underline: CMSIBCommonInterface;
400
+ textAlign: CMSIBCommonInterface;
401
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
402
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
403
+ backgroundColor: CMSIBCommonInterface;
404
+ borderColor: CMSIBCommonInterface;
405
+ borderStyle: CMSIBCommonInterface;
406
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
407
+ showBorder: CMSIBCommonInterface;
408
+ showShadow: CMSIBCommonInterface;
409
+ shadowColor: CMSIBCommonInterface;
410
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
411
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
412
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
413
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
414
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
415
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
416
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
417
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
418
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
419
+ selectorKey: SelectorKeysEnum;
420
+ };
421
+ hoverState: {
422
+ theme: CMSIBCommonInterface;
423
+ font: CMSIBCommonInterface;
424
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
425
+ textColor: CMSIBCommonInterface;
426
+ bold: CMSIBCommonInterface;
427
+ italic: CMSIBCommonInterface;
428
+ linethrough: CMSIBCommonInterface;
429
+ underline: CMSIBCommonInterface;
430
+ textAlign: CMSIBCommonInterface;
431
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
432
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
433
+ backgroundColor: CMSIBCommonInterface;
434
+ borderColor: CMSIBCommonInterface;
435
+ borderStyle: CMSIBCommonInterface;
436
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
437
+ showBorder: CMSIBCommonInterface;
438
+ showShadow: CMSIBCommonInterface;
439
+ shadowColor: CMSIBCommonInterface;
440
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
441
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
442
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
443
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
444
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
445
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
446
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
447
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
448
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
449
+ selectorKey: SelectorKeysEnum;
450
+ };
451
+ };
452
+ productActionWishlist: {
453
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
454
+ showIcon: {
455
+ value: boolean;
456
+ property?: any;
457
+ propertyType?: any;
458
+ isReadOnly?: boolean | undefined;
459
+ parentRef?: string | undefined;
460
+ };
461
+ iconSize: import("../../interfaces/global").CMSIBSizeInterface;
462
+ iconColor: CMSIBCommonInterface;
463
+ selectorKey: SelectorKeysEnum;
464
+ };
465
+ productActionDelete: {
466
+ icon: {
467
+ unit?: string | number | undefined;
468
+ customIcon?: {
469
+ isCustomIcon: boolean;
470
+ url: string;
471
+ name: string;
472
+ } | undefined;
473
+ value?: any;
474
+ property?: any;
475
+ propertyType?: any;
476
+ isReadOnly?: boolean | undefined;
477
+ parentRef?: string | undefined;
478
+ };
479
+ showIcon: {
480
+ value: boolean;
481
+ property?: any;
482
+ propertyType?: any;
483
+ isReadOnly?: boolean | undefined;
484
+ parentRef?: string | undefined;
485
+ };
486
+ iconSize: import("../../interfaces/global").CMSIBSizeInterface;
487
+ iconColor: CMSIBCommonInterface;
488
+ selectorKey: SelectorKeysEnum;
489
+ };
490
+ theme: CMSIBCommonInterface;
491
+ font: CMSIBCommonInterface;
492
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
493
+ textColor: CMSIBCommonInterface;
494
+ bold: CMSIBCommonInterface;
495
+ italic: CMSIBCommonInterface;
496
+ linethrough: CMSIBCommonInterface;
497
+ underline: CMSIBCommonInterface;
498
+ textAlign: CMSIBCommonInterface;
499
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
500
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
501
+ backgroundColor: CMSIBCommonInterface;
502
+ borderColor: CMSIBCommonInterface;
503
+ borderStyle: CMSIBCommonInterface;
504
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
505
+ showBorder: CMSIBCommonInterface;
506
+ showShadow: CMSIBCommonInterface;
507
+ shadowColor: CMSIBCommonInterface;
508
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
509
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
510
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
511
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
512
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
513
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
514
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
515
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
516
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
517
+ selectorKey: SelectorKeysEnum;
518
+ };
382
519
  };
383
520
  content: {
384
521
  selectorKey: SelectorKeysEnum;