@sc-360-v2/storefront-cms-library 0.2.54 → 0.2.56
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/dist/builder.js +1 -1
- package/dist/types/builder/elements/section/index.d.ts +1 -0
- package/dist/types/builder/enums/index.d.ts +2 -0
- package/dist/types/builder/interfaces/global.d.ts +8 -0
- package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +282 -0
- package/dist/types/builder/tools/element-edit/cart.d.ts +40 -2
- package/dist/types/builder/tools/element-edit/common.d.ts +2 -2
- package/dist/types/builder/tools/element-edit/container.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/iconLibrary.d.ts +49 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/stack.d.ts +1 -1
- package/package.json +1 -1
|
@@ -253,6 +253,8 @@ export declare const CMSElementsListEnum: {
|
|
|
253
253
|
LAYOUTER_ITEM: string;
|
|
254
254
|
CATEGORY_DETAILS: string;
|
|
255
255
|
CONTACTUS: string;
|
|
256
|
+
BREADCRUMBS: string;
|
|
257
|
+
ICON_LIBRARY: string;
|
|
256
258
|
};
|
|
257
259
|
export declare enum CMSResponsiveModeEnums {
|
|
258
260
|
DESKTOP = "desktop",
|
|
@@ -37,6 +37,14 @@ export interface CMSIBCommonInterface {
|
|
|
37
37
|
export interface CMSIBSizeInterface extends CMSIBCommonInterface {
|
|
38
38
|
unit?: number | string;
|
|
39
39
|
}
|
|
40
|
+
export interface CMSIBIconInterface extends CMSIBSizeInterface {
|
|
41
|
+
unit?: number | string;
|
|
42
|
+
customIcon: {
|
|
43
|
+
isCustomIcon: boolean;
|
|
44
|
+
url: string;
|
|
45
|
+
name: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
40
48
|
export interface PaddingProps {
|
|
41
49
|
value: number;
|
|
42
50
|
unit: number;
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
|
|
2
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
3
|
+
import { CMSElementEditPopupInterface } from "./common";
|
|
4
|
+
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
5
|
+
}
|
|
6
|
+
export declare enum SelectorKeysEnum {
|
|
7
|
+
LAYOUT = "layout",
|
|
8
|
+
DESIGN = "design",
|
|
9
|
+
FILL_AND_BACKGROUND = "fillAndBackground",
|
|
10
|
+
HOME_PAGE_ITEM_STYLE = "homePageItemStyle",
|
|
11
|
+
CURRENT_PAGE_ITEM_STYLE = "currentPageItemStyle",
|
|
12
|
+
OTHER_ITEM_STYLES = "otherItemStyles",
|
|
13
|
+
ITEM_SEPARATOR = "itemSeparator",
|
|
14
|
+
EXPAND_ICON = "expandIcon"
|
|
15
|
+
}
|
|
16
|
+
export declare const getDefaultData: () => {
|
|
17
|
+
layout: {
|
|
18
|
+
selectorKey: SelectorKeysEnum;
|
|
19
|
+
adjustment: CMSIBCommonInterface | undefined;
|
|
20
|
+
width: {
|
|
21
|
+
value: number;
|
|
22
|
+
unit: CMSCSSUnitTypesEnums;
|
|
23
|
+
};
|
|
24
|
+
height: {
|
|
25
|
+
value: number;
|
|
26
|
+
unit: CMSCSSUnitTypesEnums;
|
|
27
|
+
property?: any;
|
|
28
|
+
propertyType?: any;
|
|
29
|
+
isReadOnly?: boolean | undefined;
|
|
30
|
+
parentRef?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
33
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
34
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
35
|
+
displayType: {
|
|
36
|
+
value: string;
|
|
37
|
+
property: string;
|
|
38
|
+
propertyType: CMSElementEditTypes;
|
|
39
|
+
};
|
|
40
|
+
showSeparators: {
|
|
41
|
+
value: boolean;
|
|
42
|
+
property: string;
|
|
43
|
+
propertyType: CMSElementEditTypes;
|
|
44
|
+
};
|
|
45
|
+
displayStyle: {
|
|
46
|
+
value: string;
|
|
47
|
+
property: string;
|
|
48
|
+
propertyType: CMSElementEditTypes;
|
|
49
|
+
};
|
|
50
|
+
itemSpacing: {
|
|
51
|
+
value: number;
|
|
52
|
+
unit: number;
|
|
53
|
+
property: string;
|
|
54
|
+
propertyType: CMSElementEditTypes;
|
|
55
|
+
};
|
|
56
|
+
maxItemsToDisplay: {
|
|
57
|
+
value: number;
|
|
58
|
+
property: string;
|
|
59
|
+
propertyType: CMSElementEditTypes;
|
|
60
|
+
};
|
|
61
|
+
overflowItems: {
|
|
62
|
+
value: string;
|
|
63
|
+
property: string;
|
|
64
|
+
propertyType: CMSElementEditTypes;
|
|
65
|
+
};
|
|
66
|
+
numOfItemsToLoad: {
|
|
67
|
+
value: string;
|
|
68
|
+
property: string;
|
|
69
|
+
propertyType: CMSElementEditTypes;
|
|
70
|
+
};
|
|
71
|
+
itemVerticalSpacing: {
|
|
72
|
+
value: number;
|
|
73
|
+
unit: number;
|
|
74
|
+
property: string;
|
|
75
|
+
propertyType: CMSElementEditTypes;
|
|
76
|
+
};
|
|
77
|
+
collapseInTheMiddle: {
|
|
78
|
+
value: boolean;
|
|
79
|
+
property: string;
|
|
80
|
+
propertyType: CMSElementEditTypes;
|
|
81
|
+
};
|
|
82
|
+
showMoreItems: {
|
|
83
|
+
value: string;
|
|
84
|
+
property: string;
|
|
85
|
+
propertyType: CMSElementEditTypes;
|
|
86
|
+
};
|
|
87
|
+
onClick: {
|
|
88
|
+
value: string;
|
|
89
|
+
property: string;
|
|
90
|
+
propertyType: CMSElementEditTypes;
|
|
91
|
+
};
|
|
92
|
+
numOfItemsBeforeAndAfterCollapse: {
|
|
93
|
+
value: number;
|
|
94
|
+
property: string;
|
|
95
|
+
propertyType: CMSElementEditTypes;
|
|
96
|
+
};
|
|
97
|
+
showItems: {
|
|
98
|
+
value: string;
|
|
99
|
+
property: string;
|
|
100
|
+
propertyType: CMSElementEditTypes;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
design: {
|
|
104
|
+
selectorKey: SelectorKeysEnum;
|
|
105
|
+
backgroundAndFill: {
|
|
106
|
+
borderColor: CMSIBCommonInterface;
|
|
107
|
+
borderStyle: CMSIBCommonInterface;
|
|
108
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
109
|
+
showBorder: CMSIBCommonInterface;
|
|
110
|
+
backgroundColor: CMSIBCommonInterface;
|
|
111
|
+
showShadow: CMSIBCommonInterface;
|
|
112
|
+
shadowColor: CMSIBCommonInterface;
|
|
113
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
114
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
115
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
116
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
117
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
118
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
119
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
120
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
121
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
122
|
+
selectorKey: SelectorKeysEnum;
|
|
123
|
+
addMedia: {
|
|
124
|
+
value: boolean;
|
|
125
|
+
property: string;
|
|
126
|
+
propertyType: CMSElementEditTypes;
|
|
127
|
+
};
|
|
128
|
+
addPatternOverlay: {
|
|
129
|
+
value: boolean;
|
|
130
|
+
property: string;
|
|
131
|
+
propertyType: CMSElementEditTypes;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
homePageItemStyle: {
|
|
135
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
136
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
137
|
+
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
138
|
+
iconColor: CMSIBCommonInterface;
|
|
139
|
+
theme: CMSIBCommonInterface;
|
|
140
|
+
font: CMSIBCommonInterface;
|
|
141
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
142
|
+
textColor: CMSIBCommonInterface;
|
|
143
|
+
bold: CMSIBCommonInterface;
|
|
144
|
+
italic: CMSIBCommonInterface;
|
|
145
|
+
linethrough: CMSIBCommonInterface;
|
|
146
|
+
underline: CMSIBCommonInterface;
|
|
147
|
+
textAlign: CMSIBCommonInterface;
|
|
148
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
149
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
150
|
+
backgroundColor: CMSIBCommonInterface;
|
|
151
|
+
borderColor: CMSIBCommonInterface;
|
|
152
|
+
borderStyle: CMSIBCommonInterface;
|
|
153
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
154
|
+
showBorder: CMSIBCommonInterface;
|
|
155
|
+
showShadow: CMSIBCommonInterface;
|
|
156
|
+
shadowColor: CMSIBCommonInterface;
|
|
157
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
158
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
159
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
160
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
161
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
162
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
163
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
164
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
165
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
166
|
+
selectorKey: SelectorKeysEnum;
|
|
167
|
+
addMedia: {
|
|
168
|
+
value: boolean;
|
|
169
|
+
property: string;
|
|
170
|
+
propertyType: CMSElementEditTypes;
|
|
171
|
+
};
|
|
172
|
+
addPatternOverlay: {
|
|
173
|
+
value: boolean;
|
|
174
|
+
property: string;
|
|
175
|
+
propertyType: CMSElementEditTypes;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
currentPageItemStyle: {
|
|
179
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
180
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
181
|
+
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
182
|
+
iconColor: CMSIBCommonInterface;
|
|
183
|
+
theme: CMSIBCommonInterface;
|
|
184
|
+
font: CMSIBCommonInterface;
|
|
185
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
186
|
+
textColor: CMSIBCommonInterface;
|
|
187
|
+
bold: CMSIBCommonInterface;
|
|
188
|
+
italic: CMSIBCommonInterface;
|
|
189
|
+
linethrough: CMSIBCommonInterface;
|
|
190
|
+
underline: CMSIBCommonInterface;
|
|
191
|
+
textAlign: CMSIBCommonInterface;
|
|
192
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
193
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
194
|
+
backgroundColor: CMSIBCommonInterface;
|
|
195
|
+
borderColor: CMSIBCommonInterface;
|
|
196
|
+
borderStyle: CMSIBCommonInterface;
|
|
197
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
198
|
+
showBorder: CMSIBCommonInterface;
|
|
199
|
+
showShadow: CMSIBCommonInterface;
|
|
200
|
+
shadowColor: CMSIBCommonInterface;
|
|
201
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
202
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
203
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
204
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
205
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
206
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
207
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
208
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
209
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
210
|
+
selectorKey: SelectorKeysEnum;
|
|
211
|
+
addMedia: {
|
|
212
|
+
value: boolean;
|
|
213
|
+
property: string;
|
|
214
|
+
propertyType: CMSElementEditTypes;
|
|
215
|
+
};
|
|
216
|
+
addPatternOverlay: {
|
|
217
|
+
value: boolean;
|
|
218
|
+
property: string;
|
|
219
|
+
propertyType: CMSElementEditTypes;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
otherItemStyle: {
|
|
223
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
224
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
225
|
+
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
226
|
+
iconColor: CMSIBCommonInterface;
|
|
227
|
+
theme: CMSIBCommonInterface;
|
|
228
|
+
font: CMSIBCommonInterface;
|
|
229
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
230
|
+
textColor: CMSIBCommonInterface;
|
|
231
|
+
bold: CMSIBCommonInterface;
|
|
232
|
+
italic: CMSIBCommonInterface;
|
|
233
|
+
linethrough: CMSIBCommonInterface;
|
|
234
|
+
underline: CMSIBCommonInterface;
|
|
235
|
+
textAlign: CMSIBCommonInterface;
|
|
236
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
237
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
238
|
+
backgroundColor: CMSIBCommonInterface;
|
|
239
|
+
borderColor: CMSIBCommonInterface;
|
|
240
|
+
borderStyle: CMSIBCommonInterface;
|
|
241
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
242
|
+
showBorder: CMSIBCommonInterface;
|
|
243
|
+
showShadow: CMSIBCommonInterface;
|
|
244
|
+
shadowColor: CMSIBCommonInterface;
|
|
245
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
246
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
247
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
248
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
249
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
250
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
251
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
252
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
253
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
254
|
+
selectorKey: SelectorKeysEnum;
|
|
255
|
+
addMedia: {
|
|
256
|
+
value: boolean;
|
|
257
|
+
property: string;
|
|
258
|
+
propertyType: CMSElementEditTypes;
|
|
259
|
+
};
|
|
260
|
+
addPatternOverlay: {
|
|
261
|
+
value: boolean;
|
|
262
|
+
property: string;
|
|
263
|
+
propertyType: CMSElementEditTypes;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
itemSeparator: {
|
|
267
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
268
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
269
|
+
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
270
|
+
iconColor: CMSIBCommonInterface;
|
|
271
|
+
selectorKey: SelectorKeysEnum;
|
|
272
|
+
};
|
|
273
|
+
expandIcon: {
|
|
274
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
275
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
276
|
+
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
277
|
+
iconColor: CMSIBCommonInterface;
|
|
278
|
+
selectorKey: SelectorKeysEnum;
|
|
279
|
+
backgroundColor: CMSIBCommonInterface;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
1
|
+
import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
|
|
2
2
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
3
|
interface selfLayoutInterface {
|
|
4
4
|
selectorKey: string;
|
|
@@ -29,6 +29,43 @@ export interface selfDesignInterface {
|
|
|
29
29
|
};
|
|
30
30
|
miniCartText: {
|
|
31
31
|
selectorKey: string;
|
|
32
|
+
theme: CMSIBCommonInterface;
|
|
33
|
+
font: CMSIBCommonInterface;
|
|
34
|
+
fontSize: CMSIBCommonInterface;
|
|
35
|
+
textColor: CMSIBCommonInterface;
|
|
36
|
+
bold: CMSIBCommonInterface;
|
|
37
|
+
italic: CMSIBCommonInterface;
|
|
38
|
+
linethrough: CMSIBCommonInterface;
|
|
39
|
+
underline: CMSIBCommonInterface;
|
|
40
|
+
textAlign: CMSIBCommonInterface;
|
|
41
|
+
characterSpacing: CMSIBCommonInterface;
|
|
42
|
+
lineHeight: CMSIBCommonInterface;
|
|
43
|
+
themeDesc: CMSIBCommonInterface;
|
|
44
|
+
fontDesc: CMSIBCommonInterface;
|
|
45
|
+
fontSizeDesc: CMSIBCommonInterface;
|
|
46
|
+
textColorDesc: CMSIBCommonInterface;
|
|
47
|
+
boldDesc: CMSIBCommonInterface;
|
|
48
|
+
italicDesc: CMSIBCommonInterface;
|
|
49
|
+
linethroughDesc: CMSIBCommonInterface;
|
|
50
|
+
underlineDesc: CMSIBCommonInterface;
|
|
51
|
+
textAlignDesc: CMSIBCommonInterface;
|
|
52
|
+
characterSpacingDesc: CMSIBSizeInterface | undefined;
|
|
53
|
+
lineHeightDesc: CMSIBCommonInterface;
|
|
54
|
+
};
|
|
55
|
+
cartItemsCount: {
|
|
56
|
+
selectorKey: string;
|
|
57
|
+
backgroundColor?: CMSIBCommonInterface;
|
|
58
|
+
borderColor?: CMSIBCommonInterface;
|
|
59
|
+
borderStyle?: CMSIBCommonInterface;
|
|
60
|
+
borderPerSlide?: CMSIBCommonInterface;
|
|
61
|
+
showBorder?: CMSIBCommonInterface;
|
|
62
|
+
showShadow?: CMSIBCommonInterface;
|
|
63
|
+
shadowColor?: CMSIBCommonInterface;
|
|
64
|
+
blur?: CMSIBCommonInterface;
|
|
65
|
+
spread?: CMSIBCommonInterface;
|
|
66
|
+
angle?: CMSIBCommonInterface;
|
|
67
|
+
borderRadius?: CMSIBCommonInterface;
|
|
68
|
+
theme: CMSIBCommonInterface;
|
|
32
69
|
font: CMSIBCommonInterface;
|
|
33
70
|
fontSize: CMSIBCommonInterface;
|
|
34
71
|
textColor: CMSIBCommonInterface;
|
|
@@ -45,7 +82,8 @@ export declare enum cartSelectorKeysEnum {
|
|
|
45
82
|
LAYOUT = "layout",
|
|
46
83
|
DESIGN = "design",
|
|
47
84
|
CART_ICON = "cartIcon",
|
|
48
|
-
MINI_CART_TEXT = "miniCartText"
|
|
85
|
+
MINI_CART_TEXT = "miniCartText",
|
|
86
|
+
CART_ITEMS_COUNT = "cartItemsCount"
|
|
49
87
|
}
|
|
50
88
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
51
89
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CMSIBCommonInterface, CMSIBSizeInterface, CSSPaddingValues } from "../../interfaces/global";
|
|
1
|
+
import { CMSIBCommonInterface, CMSIBIconInterface, CMSIBSizeInterface, CSSPaddingValues } from "../../interfaces/global";
|
|
2
2
|
export interface CMSElementEditPopupLayoutInterface {
|
|
3
3
|
selectorKey?: string;
|
|
4
4
|
adjustment?: CMSIBCommonInterface;
|
|
@@ -52,7 +52,7 @@ export interface CMSElementEditPopupDesignInterface {
|
|
|
52
52
|
textAlignDesc: CMSIBCommonInterface;
|
|
53
53
|
characterSpacingDesc?: CMSIBSizeInterface;
|
|
54
54
|
paragraphSpacingDesc?: CMSIBSizeInterface;
|
|
55
|
-
icon?:
|
|
55
|
+
icon?: CMSIBIconInterface;
|
|
56
56
|
lineHeightDesc: CMSIBSizeInterface;
|
|
57
57
|
zoomImage: CMSIBCommonInterface;
|
|
58
58
|
flip: CMSIBCommonInterface;
|
|
@@ -12,5 +12,5 @@ export declare enum selfSelectorKeysEnum {
|
|
|
12
12
|
DESIGN = "design",
|
|
13
13
|
DATA_CONNECTOR = "dataConnector"
|
|
14
14
|
}
|
|
15
|
-
export declare const getDefaultData: (contentWidth
|
|
15
|
+
export declare const getDefaultData: (contentWidth?: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
16
16
|
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CMSCSSUnitTypesEnums } from "../../enums";
|
|
2
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
3
|
+
import { CMSElementEditPopupInterface } from "./common";
|
|
4
|
+
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
5
|
+
}
|
|
6
|
+
export declare enum SelectorKeysEnum {
|
|
7
|
+
LAYOUT = "layout",
|
|
8
|
+
DESIGN = "design",
|
|
9
|
+
ICON_LIBRARY = "iconLibrary"
|
|
10
|
+
}
|
|
11
|
+
export declare const getDefaultData: () => {
|
|
12
|
+
layout: {
|
|
13
|
+
selectorKey: SelectorKeysEnum;
|
|
14
|
+
adjustment: CMSIBCommonInterface | undefined;
|
|
15
|
+
width: {
|
|
16
|
+
value: number;
|
|
17
|
+
unit: CMSCSSUnitTypesEnums;
|
|
18
|
+
};
|
|
19
|
+
height: {
|
|
20
|
+
value: number;
|
|
21
|
+
unit: CMSCSSUnitTypesEnums;
|
|
22
|
+
property?: any;
|
|
23
|
+
propertyType?: any;
|
|
24
|
+
isReadOnly?: boolean | undefined;
|
|
25
|
+
parentRef?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
28
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
29
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
30
|
+
};
|
|
31
|
+
design: {
|
|
32
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
33
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
34
|
+
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
35
|
+
iconColor: CMSIBCommonInterface;
|
|
36
|
+
selectorKey: SelectorKeysEnum;
|
|
37
|
+
backgroundColor: CMSIBCommonInterface;
|
|
38
|
+
borderColor: CMSIBCommonInterface;
|
|
39
|
+
borderStyle: CMSIBCommonInterface;
|
|
40
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
41
|
+
showBorder: CMSIBCommonInterface;
|
|
42
|
+
showShadow: CMSIBCommonInterface;
|
|
43
|
+
shadowColor: CMSIBCommonInterface;
|
|
44
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
45
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
46
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
47
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -62,4 +62,6 @@ import * as layouter from "./layouter";
|
|
|
62
62
|
import * as layouterItem from "./layouter-item";
|
|
63
63
|
import * as categoryDetails from "./categoryDetails";
|
|
64
64
|
import * as contactUs from "./contactUs";
|
|
65
|
-
|
|
65
|
+
import * as breadcrumbs from "./breadcrumbs";
|
|
66
|
+
import * as iconLibrary from "./iconLibrary";
|
|
67
|
+
export { amountEstimator, bulkVariantPicker, button, code, staticText, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, breadcrumbs, iconLibrary, };
|
|
@@ -22,5 +22,5 @@ export declare enum selfSelectorKeysEnum {
|
|
|
22
22
|
DESIGN = "design",
|
|
23
23
|
DATA_CONNECTOR = "dataConnector"
|
|
24
24
|
}
|
|
25
|
-
export declare const getDefaultData: (contentWidth
|
|
25
|
+
export declare const getDefaultData: (contentWidth?: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
26
26
|
export {};
|