@sc-360-v2/storefront-cms-library 0.3.26 → 0.3.28

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,13 +1,181 @@
1
- import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
- interface selfLayoutInterface {
3
- selectorKey: string;
4
- }
1
+ import { CMSElementEditTypes } from "../../enums";
2
+ import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
5
3
  export interface selfDesignInterface {
6
4
  selectorKey: string;
7
5
  }
8
6
  export declare enum cartSelectorKeysEnum {
9
7
  LAYOUT = "layout",
10
- DESIGN = "design"
8
+ DESIGN = "design",
9
+ CART_ATTRIBUTE_CONTAINER = "cartAttributesContainer",
10
+ CART_ATTRIBUTE_HEADER = "cartAttributesHeader",
11
+ CART_ATTRIBUTE_ITEMS_LABEL = "cartAttributesItems",
12
+ CART_ATTRIBUTE_ITEMS_FIELD = " cartAttributesItemsField"
11
13
  }
12
- export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
13
- export {};
14
+ export declare const getDefaultData: () => {
15
+ layout: {
16
+ selectorKey: cartSelectorKeysEnum;
17
+ width: {
18
+ value: string;
19
+ unit: number;
20
+ };
21
+ height: {
22
+ value: string;
23
+ unit: number;
24
+ property?: any;
25
+ propertyType?: any;
26
+ isReadOnly?: boolean | undefined;
27
+ parentRef?: string | undefined;
28
+ };
29
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
30
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
31
+ positionType: CMSIBCommonInterface | undefined;
32
+ pinTo: CMSIBCommonInterface | undefined;
33
+ cartAttributesTitle: {
34
+ value: string;
35
+ propertyType: CMSElementEditTypes;
36
+ };
37
+ };
38
+ design: {
39
+ selectorKey: cartSelectorKeysEnum;
40
+ cartAttributesContainer: {
41
+ theme: CMSIBCommonInterface;
42
+ font: CMSIBCommonInterface;
43
+ fontSize: CMSIBSizeInterface;
44
+ textColor: CMSIBCommonInterface;
45
+ bold: CMSIBCommonInterface;
46
+ italic: CMSIBCommonInterface;
47
+ linethrough: CMSIBCommonInterface;
48
+ underline: CMSIBCommonInterface;
49
+ textAlign: CMSIBCommonInterface;
50
+ characterSpacing: CMSIBSizeInterface;
51
+ lineHeight: CMSIBSizeInterface;
52
+ backgroundColor: CMSIBCommonInterface;
53
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
54
+ showIcon: CMSIBCommonInterface | undefined;
55
+ iconSize: CMSIBSizeInterface;
56
+ iconColor: CMSIBCommonInterface;
57
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
58
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
59
+ borderColor: CMSIBCommonInterface;
60
+ borderStyle: CMSIBCommonInterface;
61
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
62
+ showBorder: CMSIBCommonInterface;
63
+ showShadow: CMSIBCommonInterface;
64
+ shadowColor: CMSIBCommonInterface;
65
+ blur: CMSIBSizeInterface;
66
+ spread: CMSIBSizeInterface;
67
+ angle: CMSIBSizeInterface;
68
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
69
+ exposure: CMSIBSizeInterface;
70
+ contrast: CMSIBSizeInterface;
71
+ saturation: CMSIBSizeInterface;
72
+ highlights: CMSIBSizeInterface;
73
+ shadows: CMSIBSizeInterface;
74
+ selectorKey: cartSelectorKeysEnum;
75
+ };
76
+ cartAttributesHeader: {
77
+ theme: CMSIBCommonInterface;
78
+ font: CMSIBCommonInterface;
79
+ fontSize: CMSIBSizeInterface;
80
+ textColor: CMSIBCommonInterface;
81
+ bold: CMSIBCommonInterface;
82
+ italic: CMSIBCommonInterface;
83
+ linethrough: CMSIBCommonInterface;
84
+ underline: CMSIBCommonInterface;
85
+ textAlign: CMSIBCommonInterface;
86
+ characterSpacing: CMSIBSizeInterface;
87
+ lineHeight: CMSIBSizeInterface;
88
+ backgroundColor: CMSIBCommonInterface;
89
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
90
+ showIcon: CMSIBCommonInterface | undefined;
91
+ iconSize: CMSIBSizeInterface;
92
+ iconColor: CMSIBCommonInterface;
93
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
94
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
95
+ borderColor: CMSIBCommonInterface;
96
+ borderStyle: CMSIBCommonInterface;
97
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
98
+ showBorder: CMSIBCommonInterface;
99
+ showShadow: CMSIBCommonInterface;
100
+ shadowColor: CMSIBCommonInterface;
101
+ blur: CMSIBSizeInterface;
102
+ spread: CMSIBSizeInterface;
103
+ angle: CMSIBSizeInterface;
104
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
105
+ exposure: CMSIBSizeInterface;
106
+ contrast: CMSIBSizeInterface;
107
+ saturation: CMSIBSizeInterface;
108
+ highlights: CMSIBSizeInterface;
109
+ shadows: CMSIBSizeInterface;
110
+ selectorKey: cartSelectorKeysEnum;
111
+ };
112
+ cartAttributesItemsLabel: {
113
+ theme: CMSIBCommonInterface;
114
+ font: CMSIBCommonInterface;
115
+ fontSize: CMSIBSizeInterface;
116
+ textColor: CMSIBCommonInterface;
117
+ bold: CMSIBCommonInterface;
118
+ italic: CMSIBCommonInterface;
119
+ linethrough: CMSIBCommonInterface;
120
+ underline: CMSIBCommonInterface;
121
+ textAlign: CMSIBCommonInterface;
122
+ characterSpacing: CMSIBSizeInterface;
123
+ lineHeight: CMSIBSizeInterface;
124
+ backgroundColor: CMSIBCommonInterface;
125
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
126
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
127
+ borderColor: CMSIBCommonInterface;
128
+ borderStyle: CMSIBCommonInterface;
129
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
130
+ showBorder: CMSIBCommonInterface;
131
+ showShadow: CMSIBCommonInterface;
132
+ shadowColor: CMSIBCommonInterface;
133
+ blur: CMSIBSizeInterface;
134
+ spread: CMSIBSizeInterface;
135
+ angle: CMSIBSizeInterface;
136
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
137
+ exposure: CMSIBSizeInterface;
138
+ contrast: CMSIBSizeInterface;
139
+ saturation: CMSIBSizeInterface;
140
+ highlights: CMSIBSizeInterface;
141
+ shadows: CMSIBSizeInterface;
142
+ selectorKey: cartSelectorKeysEnum;
143
+ };
144
+ cartAttributesItemsField: {
145
+ theme: CMSIBCommonInterface;
146
+ font: CMSIBCommonInterface;
147
+ fontSize: CMSIBSizeInterface;
148
+ textColor: CMSIBCommonInterface;
149
+ bold: CMSIBCommonInterface;
150
+ italic: CMSIBCommonInterface;
151
+ linethrough: CMSIBCommonInterface;
152
+ underline: CMSIBCommonInterface;
153
+ textAlign: CMSIBCommonInterface;
154
+ characterSpacing: CMSIBSizeInterface;
155
+ lineHeight: CMSIBSizeInterface;
156
+ backgroundColor: CMSIBCommonInterface;
157
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
158
+ showIcon: CMSIBCommonInterface | undefined;
159
+ iconSize: CMSIBSizeInterface;
160
+ iconColor: CMSIBCommonInterface;
161
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
162
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
163
+ borderColor: CMSIBCommonInterface;
164
+ borderStyle: CMSIBCommonInterface;
165
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
166
+ showBorder: CMSIBCommonInterface;
167
+ showShadow: CMSIBCommonInterface;
168
+ shadowColor: CMSIBCommonInterface;
169
+ blur: CMSIBSizeInterface;
170
+ spread: CMSIBSizeInterface;
171
+ angle: CMSIBSizeInterface;
172
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
173
+ exposure: CMSIBSizeInterface;
174
+ contrast: CMSIBSizeInterface;
175
+ saturation: CMSIBSizeInterface;
176
+ highlights: CMSIBSizeInterface;
177
+ shadows: CMSIBSizeInterface;
178
+ selectorKey: cartSelectorKeysEnum;
179
+ };
180
+ };
181
+ };
@@ -83,6 +83,11 @@ export declare const getDefaultData: () => {
83
83
  property: string;
84
84
  propertyType: CMSElementEditTypes;
85
85
  };
86
+ showMoveToTemplate: {
87
+ value: boolean;
88
+ property: string;
89
+ propertyType: CMSElementEditTypes;
90
+ };
86
91
  showClearCart: {
87
92
  value: boolean;
88
93
  property: string;
@@ -119,6 +119,24 @@ export declare const getDefaultData: () => {
119
119
  property: string;
120
120
  propertyType: CMSElementEditTypes;
121
121
  };
122
+ headingPadding: {
123
+ value: number;
124
+ property: string;
125
+ propertyType: CMSElementEditTypes;
126
+ unit: number;
127
+ };
128
+ bodyPadding: {
129
+ value: number;
130
+ property: string;
131
+ propertyType: CMSElementEditTypes;
132
+ unit: number;
133
+ };
134
+ buttonPadding: {
135
+ value: number;
136
+ property: string;
137
+ propertyType: CMSElementEditTypes;
138
+ unit: number;
139
+ };
122
140
  };
123
141
  design: {
124
142
  selectorKey: SelectorKeysEnum;