@sc-360-v2/storefront-cms-library 0.3.52 → 0.3.54

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.
Files changed (38) hide show
  1. package/dist/add-order.scss +3 -0
  2. package/dist/add-products-tab.scss +64 -17
  3. package/dist/builder.js +1 -1
  4. package/dist/bulk-order-pad.scss +1 -1
  5. package/dist/buy-for-tab.scss +15 -15
  6. package/dist/buyForHeaders.scss +5 -5
  7. package/dist/cart-details.scss +32 -42
  8. package/dist/cart-products-sidebar.scss +32 -16
  9. package/dist/cart-summary.scss +2 -4
  10. package/dist/cartDropdownOverlay.scss +3 -1
  11. package/dist/checkout.scss +620 -821
  12. package/dist/confirmationModal.scss +48 -0
  13. package/dist/container.scss +15 -15
  14. package/dist/customization-tree.scss +5 -1
  15. package/dist/dropdownTemplate.scss +5 -2
  16. package/dist/employee-bulk-order.scss +3459 -384
  17. package/dist/grid.scss +36 -0
  18. package/dist/icons.js +1 -1
  19. package/dist/image-temp.scss +47 -22
  20. package/dist/index.js +1 -1
  21. package/dist/layouter-pro-item.scss +1 -1
  22. package/dist/layouter-pro.scss +5 -5
  23. package/dist/modal.scss +357 -16
  24. package/dist/order-status.scss +49 -5
  25. package/dist/section.scss +5 -1
  26. package/dist/shareCartSideBar.scss +10 -8
  27. package/dist/shipping-payments.scss +668 -505
  28. package/dist/store-locations.scss +252 -160
  29. package/dist/tab-v2.scss +15 -15
  30. package/dist/text-temp.scss +4 -1
  31. package/dist/types/builder/tools/element-edit/cartSummary.d.ts +36 -0
  32. package/dist/types/builder/tools/element-edit/grid.d.ts +26 -0
  33. package/dist/types/builder/tools/element-edit/language-menu.d.ts +77 -0
  34. package/dist/types/builder/tools/element-edit/orderStatus.d.ts +4 -0
  35. package/dist/types/builder/tools/element-edit/userElements.d.ts +407 -0
  36. package/dist/types/icons/cms-svg-icons.d.ts +1 -1
  37. package/dist/user-elements.scss +1449 -490
  38. package/package.json +1 -1
@@ -1,8 +1,34 @@
1
+ import { AlignItemsValue, FlexDirectionValue, FlexWrapValue, JustifyContentValue, LayouterProDisplayStyleType, OverflowValue } from "../../../../components/global/types";
2
+ import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
1
3
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
4
  export interface GridEditPopupInterface extends CMSElementEditPopupInterface {
3
5
  }
4
6
  interface selfLayoutInterface {
5
7
  selectorKey: string;
8
+ displayStyle: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
9
+ value: LayouterProDisplayStyleType;
10
+ };
11
+ direction?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
12
+ value: FlexDirectionValue;
13
+ };
14
+ rowGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
15
+ columnGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
16
+ justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
17
+ value: JustifyContentValue;
18
+ };
19
+ alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
20
+ value: AlignItemsValue;
21
+ };
22
+ setItemsPerRow: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
23
+ isShow: boolean;
24
+ value: string | number | any;
25
+ };
26
+ flexWrap?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
27
+ value: FlexWrapValue;
28
+ };
29
+ flexboxOverflow?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
30
+ value: OverflowValue;
31
+ };
6
32
  }
7
33
  export interface selfDesignInterface {
8
34
  selectorKey: string;
@@ -1,3 +1,4 @@
1
+ import { CMSElementEditTypes } from "../../enums";
1
2
  import { CMSIBCommonInterface } from "../../interfaces/global";
2
3
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
4
  interface selfLayoutInterface {
@@ -13,6 +14,82 @@ export interface selfDesignInterface {
13
14
  selectorKey: string;
14
15
  [key: string]: any;
15
16
  }
17
+ export declare const menuConrolsInterface: {
18
+ whenClicked: {
19
+ value: string;
20
+ property: string;
21
+ propertyType: CMSElementEditTypes;
22
+ };
23
+ displayStyle: {
24
+ value: string;
25
+ propertyType: CMSElementEditTypes;
26
+ };
27
+ alignment: {
28
+ value: string;
29
+ property: string;
30
+ propertyType: CMSElementEditTypes;
31
+ };
32
+ menuType: {
33
+ value: string;
34
+ propertyType: CMSElementEditTypes;
35
+ };
36
+ placeholderText: {
37
+ value: string;
38
+ propertyType: CMSElementEditTypes;
39
+ };
40
+ flagStyle: {
41
+ value: string;
42
+ propertyType: CMSElementEditTypes;
43
+ };
44
+ flagSize: {
45
+ value: number;
46
+ property: string;
47
+ unit: number;
48
+ propertyType: CMSElementEditTypes;
49
+ };
50
+ showFlags: {
51
+ value: boolean;
52
+ propertyType: CMSElementEditTypes;
53
+ };
54
+ showSearchText: {
55
+ value: boolean;
56
+ property: string;
57
+ propertyType: CMSElementEditTypes;
58
+ };
59
+ searchText: {
60
+ value: string;
61
+ property: string;
62
+ propertyType: CMSElementEditTypes;
63
+ };
64
+ showNoOfItems: {
65
+ value: boolean;
66
+ property: string;
67
+ propertyType: CMSElementEditTypes;
68
+ };
69
+ searchPlaceholderText: {
70
+ value: string;
71
+ property: string;
72
+ propertyType: CMSElementEditTypes;
73
+ };
74
+ itemPadding: {
75
+ value: string;
76
+ unit: number;
77
+ property: string;
78
+ propertyType: CMSElementEditTypes;
79
+ };
80
+ itemSpacing: {
81
+ value: string;
82
+ unit: number;
83
+ property: string;
84
+ propertyType: CMSElementEditTypes;
85
+ };
86
+ gapBetweenItems: {
87
+ value: string;
88
+ unit: number;
89
+ property: string;
90
+ propertyType: CMSElementEditTypes;
91
+ };
92
+ };
16
93
  export declare enum selfEnums {
17
94
  LAYOUT = "layout",
18
95
  DESIGN = "design",
@@ -90,6 +90,10 @@ export declare const getDefaultData: () => {
90
90
  value: boolean;
91
91
  propertyType: CMSElementEditTypes;
92
92
  };
93
+ continueShopping: {
94
+ value: null;
95
+ propertyType: CMSElementEditTypes;
96
+ };
93
97
  };
94
98
  design: {
95
99
  selectorKey: orderSelectorKeysEnum;
@@ -244,6 +244,7 @@ export declare const getDefaultData: () => {
244
244
  highlights: import("../../interfaces/global").CMSIBSizeInterface;
245
245
  shadows: import("../../interfaces/global").CMSIBSizeInterface;
246
246
  selectorKey: SelectorKeysEnum;
247
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
247
248
  };
248
249
  userNameDesign: {
249
250
  icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
@@ -597,6 +598,412 @@ export declare const getDefaultData: () => {
597
598
  lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
598
599
  selectorKey: SelectorKeysEnum;
599
600
  };
601
+ cartCount: {
602
+ theme: {
603
+ value: string;
604
+ property: string;
605
+ propertyType: CMSElementEditTypes;
606
+ };
607
+ font: {
608
+ value: string;
609
+ property: string;
610
+ propertyType: CMSElementEditTypes;
611
+ parentRef: string;
612
+ };
613
+ fontSize: {
614
+ value: number;
615
+ unit: number;
616
+ property: string;
617
+ propertyType: CMSElementEditTypes;
618
+ parentRef: string;
619
+ };
620
+ textColor: {
621
+ value: {
622
+ hex: string;
623
+ rgb: {
624
+ r: string;
625
+ g: string;
626
+ b: string;
627
+ a: number;
628
+ };
629
+ };
630
+ property: string;
631
+ propertyType: CMSElementEditTypes;
632
+ parentRef: string;
633
+ };
634
+ textHighlight: {
635
+ value: {
636
+ hex: string;
637
+ rgb: {
638
+ r: string;
639
+ g: string;
640
+ b: string;
641
+ a: number;
642
+ };
643
+ };
644
+ property: string;
645
+ propertyType: CMSElementEditTypes;
646
+ };
647
+ bold: {
648
+ value: string;
649
+ property: string;
650
+ propertyType: CMSElementEditTypes;
651
+ parentRef: string;
652
+ };
653
+ italic: {
654
+ value: string;
655
+ property: string;
656
+ propertyType: CMSElementEditTypes;
657
+ parentRef: string;
658
+ };
659
+ linethrough: {
660
+ value: string;
661
+ property: string;
662
+ propertyType: CMSElementEditTypes;
663
+ parentRef: string;
664
+ };
665
+ underline: {
666
+ value: string;
667
+ property: string;
668
+ propertyType: CMSElementEditTypes;
669
+ parentRef: string;
670
+ };
671
+ textAlign: {
672
+ value: string;
673
+ property: string;
674
+ propertyType: CMSElementEditTypes;
675
+ parentRef: string;
676
+ };
677
+ characterSpacing: {
678
+ value: number;
679
+ unit: number;
680
+ property: string;
681
+ propertyType: CMSElementEditTypes;
682
+ parentRef: string;
683
+ };
684
+ lineHeight: {
685
+ value: number;
686
+ unit: number;
687
+ property: string;
688
+ propertyType: CMSElementEditTypes;
689
+ parentRef: string;
690
+ };
691
+ paragraphSpacing: {
692
+ value: number;
693
+ unit: number;
694
+ property: string;
695
+ propertyType: CMSElementEditTypes;
696
+ parentRef: string;
697
+ };
698
+ selectorKey: SelectorKeysEnum;
699
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
700
+ backgroundColor: CMSIBCommonInterface;
701
+ borderColor: CMSIBCommonInterface;
702
+ borderStyle: CMSIBCommonInterface;
703
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
704
+ showBorder: CMSIBCommonInterface;
705
+ showShadow: CMSIBCommonInterface;
706
+ shadowColor: CMSIBCommonInterface;
707
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
708
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
709
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
710
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
711
+ };
712
+ cartIcon: {
713
+ selectorKey: SelectorKeysEnum;
714
+ icon: {
715
+ value: string;
716
+ unit?: string | number | undefined;
717
+ customIcon?: {
718
+ isCustomIcon: boolean;
719
+ url: string;
720
+ name: string;
721
+ } | undefined;
722
+ property?: any;
723
+ propertyType?: any;
724
+ isReadOnly?: boolean | undefined;
725
+ parentRef?: string | undefined;
726
+ };
727
+ showIcon: CMSIBCommonInterface | undefined;
728
+ iconSize: import("../../interfaces/global").CMSIBSizeInterface;
729
+ iconColor: CMSIBCommonInterface;
730
+ };
731
+ };
732
+ dropdownStyle: {
733
+ selectorKey: SelectorKeysEnum;
734
+ layoutSettings: {
735
+ selectorKey: SelectorKeysEnum;
736
+ width: {
737
+ value: string;
738
+ unit: number;
739
+ };
740
+ height: {
741
+ value: string;
742
+ unit: number;
743
+ isReadOnly: boolean;
744
+ property?: any;
745
+ propertyType?: any;
746
+ parentRef?: string | undefined;
747
+ };
748
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
749
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
750
+ whenClicked: {
751
+ value: string;
752
+ property: string;
753
+ propertyType: CMSElementEditTypes;
754
+ };
755
+ showSearchText: {
756
+ value: boolean;
757
+ property: string;
758
+ propertyType: CMSElementEditTypes;
759
+ };
760
+ searchText: {
761
+ value: string;
762
+ property: string;
763
+ propertyType: CMSElementEditTypes;
764
+ };
765
+ searchPlaceholderText: {
766
+ value: string;
767
+ property: string;
768
+ propertyType: CMSElementEditTypes;
769
+ };
770
+ showNoOfItems: {
771
+ value: boolean;
772
+ property: string;
773
+ propertyType: CMSElementEditTypes;
774
+ };
775
+ positionType: CMSIBCommonInterface | undefined;
776
+ pinTo: CMSIBCommonInterface | undefined;
777
+ displayStyle: {
778
+ value: string;
779
+ propertyType: CMSElementEditTypes;
780
+ };
781
+ alignment: {
782
+ value: string;
783
+ property: string;
784
+ propertyType: CMSElementEditTypes;
785
+ };
786
+ menuType: {
787
+ value: string;
788
+ propertyType: CMSElementEditTypes;
789
+ };
790
+ flagStyle: {
791
+ value: string;
792
+ propertyType: CMSElementEditTypes;
793
+ };
794
+ flagSize: {
795
+ value: number;
796
+ property: string;
797
+ unit: number;
798
+ propertyType: CMSElementEditTypes;
799
+ };
800
+ showFlags: {
801
+ value: boolean;
802
+ propertyType: CMSElementEditTypes;
803
+ };
804
+ itemPadding: {
805
+ value: string;
806
+ unit: number;
807
+ property: string;
808
+ propertyType: CMSElementEditTypes;
809
+ };
810
+ itemSpacing: {
811
+ value: string;
812
+ unit: number;
813
+ property: string;
814
+ propertyType: CMSElementEditTypes;
815
+ };
816
+ gapBetweenItems: {
817
+ value: string;
818
+ unit: number;
819
+ property: string;
820
+ propertyType: CMSElementEditTypes;
821
+ };
822
+ placeholderText: {
823
+ value: string;
824
+ propertyType: CMSElementEditTypes;
825
+ };
826
+ };
827
+ widgetStyle: {
828
+ showDivider: {
829
+ value: boolean;
830
+ parentRef: string;
831
+ property?: any;
832
+ propertyType?: any;
833
+ isReadOnly?: boolean | undefined;
834
+ };
835
+ dividerWeight: {
836
+ value: string;
837
+ property: string;
838
+ unit: CMSCSSUnitTypesEnums;
839
+ propertyType: CMSElementEditTypes;
840
+ };
841
+ dividerColor: {
842
+ property: string;
843
+ value: null;
844
+ parentRef: string;
845
+ propertyType?: any;
846
+ isReadOnly?: boolean | undefined;
847
+ };
848
+ selectorKey: SelectorKeysEnum;
849
+ backgroundColor: CMSIBCommonInterface;
850
+ borderColor: CMSIBCommonInterface;
851
+ borderStyle: CMSIBCommonInterface;
852
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
853
+ showBorder: CMSIBCommonInterface;
854
+ showShadow: CMSIBCommonInterface;
855
+ shadowColor: CMSIBCommonInterface;
856
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
857
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
858
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
859
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
860
+ };
861
+ itemStyle: {
862
+ selectorKey: SelectorKeysEnum;
863
+ defaultState: {
864
+ selectorKey: SelectorKeysEnum;
865
+ backgroundColor: CMSIBCommonInterface;
866
+ borderColor: CMSIBCommonInterface;
867
+ borderStyle: CMSIBCommonInterface;
868
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
869
+ showBorder: CMSIBCommonInterface;
870
+ showShadow: CMSIBCommonInterface;
871
+ shadowColor: CMSIBCommonInterface;
872
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
873
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
874
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
875
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
876
+ theme: CMSIBCommonInterface;
877
+ font: CMSIBCommonInterface;
878
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
879
+ textColor: CMSIBCommonInterface;
880
+ bold: CMSIBCommonInterface;
881
+ italic: CMSIBCommonInterface;
882
+ linethrough: CMSIBCommonInterface;
883
+ underline: CMSIBCommonInterface;
884
+ textAlign: CMSIBCommonInterface;
885
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
886
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
887
+ };
888
+ hoverState: {
889
+ selectorKey: SelectorKeysEnum;
890
+ };
891
+ selectedState: {
892
+ selectorKey: SelectorKeysEnum;
893
+ };
894
+ };
895
+ };
896
+ popoverStyle: {
897
+ theme: {
898
+ value: string;
899
+ property: string;
900
+ propertyType: CMSElementEditTypes;
901
+ };
902
+ font: {
903
+ value: string;
904
+ property: string;
905
+ propertyType: CMSElementEditTypes;
906
+ parentRef: string;
907
+ };
908
+ fontSize: {
909
+ value: number;
910
+ unit: number;
911
+ property: string;
912
+ propertyType: CMSElementEditTypes;
913
+ parentRef: string;
914
+ };
915
+ textColor: {
916
+ value: {
917
+ hex: string;
918
+ rgb: {
919
+ r: string;
920
+ g: string;
921
+ b: string;
922
+ a: number;
923
+ };
924
+ };
925
+ property: string;
926
+ propertyType: CMSElementEditTypes;
927
+ parentRef: string;
928
+ };
929
+ textHighlight: {
930
+ value: {
931
+ hex: string;
932
+ rgb: {
933
+ r: string;
934
+ g: string;
935
+ b: string;
936
+ a: number;
937
+ };
938
+ };
939
+ property: string;
940
+ propertyType: CMSElementEditTypes;
941
+ };
942
+ bold: {
943
+ value: string;
944
+ property: string;
945
+ propertyType: CMSElementEditTypes;
946
+ parentRef: string;
947
+ };
948
+ italic: {
949
+ value: string;
950
+ property: string;
951
+ propertyType: CMSElementEditTypes;
952
+ parentRef: string;
953
+ };
954
+ linethrough: {
955
+ value: string;
956
+ property: string;
957
+ propertyType: CMSElementEditTypes;
958
+ parentRef: string;
959
+ };
960
+ underline: {
961
+ value: string;
962
+ property: string;
963
+ propertyType: CMSElementEditTypes;
964
+ parentRef: string;
965
+ };
966
+ textAlign: {
967
+ value: string;
968
+ property: string;
969
+ propertyType: CMSElementEditTypes;
970
+ parentRef: string;
971
+ };
972
+ characterSpacing: {
973
+ value: number;
974
+ unit: number;
975
+ property: string;
976
+ propertyType: CMSElementEditTypes;
977
+ parentRef: string;
978
+ };
979
+ lineHeight: {
980
+ value: number;
981
+ unit: number;
982
+ property: string;
983
+ propertyType: CMSElementEditTypes;
984
+ parentRef: string;
985
+ };
986
+ paragraphSpacing: {
987
+ value: number;
988
+ unit: number;
989
+ property: string;
990
+ propertyType: CMSElementEditTypes;
991
+ parentRef: string;
992
+ };
993
+ selectorKey: SelectorKeysEnum;
994
+ backgroundColor: CMSIBCommonInterface;
995
+ borderColor: CMSIBCommonInterface;
996
+ borderStyle: CMSIBCommonInterface;
997
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
998
+ showBorder: CMSIBCommonInterface;
999
+ showShadow: CMSIBCommonInterface;
1000
+ shadowColor: CMSIBCommonInterface;
1001
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
1002
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
1003
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
1004
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
1005
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
1006
+ itemGap: import("../../interfaces/global").CMSIBSizeInterface;
600
1007
  };
601
1008
  };
602
1009
  content: {
@@ -2,4 +2,4 @@
2
2
  *
3
3
  * @param {string} type - Please Enter SVG Type.
4
4
  */
5
- export default function CMSSVG(type: string): string;
5
+ export default function CMSSVG(type: string | any): string;