@sc-360-v2/storefront-cms-library 0.2.82 → 0.2.85
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/allocationDetails.scss +4 -0
- package/dist/allocations.scss +9 -0
- package/dist/builder.js +1 -1
- package/dist/bundle.scss +482 -297
- package/dist/bundleDetails.scss +1312 -0
- package/dist/code-temp.scss +2 -2
- package/dist/form-preview.scss +12 -0
- package/dist/login.scss +2 -0
- package/dist/product.scss +1 -0
- package/dist/quick-links.scss +3 -3
- package/dist/search.scss +13 -6
- package/dist/spotlight.scss +125 -0
- package/dist/types/builder/elements/form-builder/index.d.ts +30 -20
- package/dist/types/builder/elements/spotlight/index.d.ts +63 -0
- package/dist/types/builder/enums/index.d.ts +6 -2
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/bundle.d.ts +493 -24
- package/dist/types/builder/tools/element-edit/bundleDetails.d.ts +17 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/quickLinks.d.ts +14 -38
- package/dist/types/builder/tools/element-edit/spotlight.d.ts +32 -0
- package/dist/widget.scss +2 -0
- package/package.json +1 -1
|
@@ -1,27 +1,8 @@
|
|
|
1
|
+
import { CMSElementEditTypes } from "../../enums";
|
|
1
2
|
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
-
import {
|
|
3
|
+
import { CMSElementEditPopupInterface } from "./common";
|
|
3
4
|
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
4
5
|
}
|
|
5
|
-
interface selfLayoutInterface {
|
|
6
|
-
selectorKey: string;
|
|
7
|
-
bundleType: CMSIBCommonInterface;
|
|
8
|
-
displayType: CMSIBCommonInterface;
|
|
9
|
-
scrollType: CMSIBCommonInterface;
|
|
10
|
-
showArrows: CMSIBCommonInterface;
|
|
11
|
-
allowAutoScroll: CMSIBCommonInterface;
|
|
12
|
-
loopItems: CMSIBCommonInterface;
|
|
13
|
-
showDots: CMSIBCommonInterface;
|
|
14
|
-
templates: CMSIBCommonInterface;
|
|
15
|
-
gridType: CMSIBCommonInterface;
|
|
16
|
-
displayListType: CMSIBCommonInterface;
|
|
17
|
-
overflowItems: CMSIBCommonInterface;
|
|
18
|
-
noOfItemsPerRow: CMSIBCommonInterface;
|
|
19
|
-
maxNoItemsToShow: CMSIBCommonInterface;
|
|
20
|
-
itemSpacing: CMSIBCommonInterface;
|
|
21
|
-
itemPadding: CMSIBCommonInterface;
|
|
22
|
-
showDivider: CMSIBCommonInterface;
|
|
23
|
-
itemGap: CMSIBCommonInterface;
|
|
24
|
-
}
|
|
25
6
|
export interface selfDesignInterface {
|
|
26
7
|
selectorKey: string;
|
|
27
8
|
}
|
|
@@ -29,7 +10,495 @@ export declare enum SelectorKeysEnum {
|
|
|
29
10
|
LAYOUT = "layout",
|
|
30
11
|
DESIGN = "design",
|
|
31
12
|
CONTENT = "content",
|
|
32
|
-
DATA_CONNECTOR = "dataConnector"
|
|
13
|
+
DATA_CONNECTOR = "dataConnector",
|
|
14
|
+
HEADING_DESIGN = "headingDesign",
|
|
15
|
+
DESCRIPTION_DESIGN = "descriptionDesign",
|
|
16
|
+
PRODUCT_NAME_DESIGN = "productNameDesign",
|
|
17
|
+
PRODUCT_CARD_DESIGN = "productCardDesign",
|
|
18
|
+
BUNDLE_NAVIGATION_BUTTON_DESIGN = "navigationButtonDesign",
|
|
19
|
+
BUNDLE_DETAILS_PAGE_BUTTON_DESIGN = "bundleDetailsPageButtonDesign",
|
|
20
|
+
TILE_CARD_DESIGN = "tileCardDesign",
|
|
21
|
+
TILE_CARD_IMAGE_DESIGN = "tileCardImageDesign",
|
|
22
|
+
LIST_VIEW_CARD_DESIGN = "listViewCardDesign",
|
|
23
|
+
BUNDLE_TAG_DESIGN = "bundleTagDesign"
|
|
33
24
|
}
|
|
34
|
-
export declare const getDefaultData: () =>
|
|
35
|
-
|
|
25
|
+
export declare const getDefaultData: () => {
|
|
26
|
+
layout: {
|
|
27
|
+
selectorKey: SelectorKeysEnum;
|
|
28
|
+
width: {
|
|
29
|
+
value: string;
|
|
30
|
+
unit: number;
|
|
31
|
+
};
|
|
32
|
+
height: {
|
|
33
|
+
value: string;
|
|
34
|
+
unit: number;
|
|
35
|
+
property?: any;
|
|
36
|
+
propertyType?: any;
|
|
37
|
+
isReadOnly?: boolean | undefined;
|
|
38
|
+
parentRef?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
41
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
42
|
+
overflowContent: CMSIBCommonInterface | undefined;
|
|
43
|
+
scrollDirection: CMSIBCommonInterface | undefined;
|
|
44
|
+
displayScrollbar: CMSIBCommonInterface | undefined;
|
|
45
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
46
|
+
pinTo: CMSIBCommonInterface | undefined;
|
|
47
|
+
bundleType: {
|
|
48
|
+
value: string;
|
|
49
|
+
property: string;
|
|
50
|
+
propertyType: CMSElementEditTypes;
|
|
51
|
+
};
|
|
52
|
+
displayType: {
|
|
53
|
+
value: string;
|
|
54
|
+
property: string;
|
|
55
|
+
propertyType: CMSElementEditTypes;
|
|
56
|
+
};
|
|
57
|
+
scrollType: {
|
|
58
|
+
value: string;
|
|
59
|
+
property: string;
|
|
60
|
+
propertyType: CMSElementEditTypes;
|
|
61
|
+
};
|
|
62
|
+
showArrows: {
|
|
63
|
+
value: boolean;
|
|
64
|
+
property: string;
|
|
65
|
+
propertyType: CMSElementEditTypes;
|
|
66
|
+
};
|
|
67
|
+
allowAutoScroll: {
|
|
68
|
+
value: boolean;
|
|
69
|
+
property: string;
|
|
70
|
+
propertyType: CMSElementEditTypes;
|
|
71
|
+
};
|
|
72
|
+
loopItems: {
|
|
73
|
+
value: boolean;
|
|
74
|
+
property: string;
|
|
75
|
+
propertyType: CMSElementEditTypes;
|
|
76
|
+
};
|
|
77
|
+
showDots: {
|
|
78
|
+
value: boolean;
|
|
79
|
+
property: string;
|
|
80
|
+
propertyType: CMSElementEditTypes;
|
|
81
|
+
};
|
|
82
|
+
itemsPerSlide: {
|
|
83
|
+
value: number;
|
|
84
|
+
property: string;
|
|
85
|
+
propertyType: CMSElementEditTypes;
|
|
86
|
+
};
|
|
87
|
+
containerHeight: {
|
|
88
|
+
value: number;
|
|
89
|
+
property: string;
|
|
90
|
+
unit: number;
|
|
91
|
+
propertyType: CMSElementEditTypes;
|
|
92
|
+
};
|
|
93
|
+
imgTextSpacing: {
|
|
94
|
+
value: number;
|
|
95
|
+
property: string;
|
|
96
|
+
unit: number;
|
|
97
|
+
propertyType: CMSElementEditTypes;
|
|
98
|
+
};
|
|
99
|
+
itemGap: {
|
|
100
|
+
value: number;
|
|
101
|
+
property: string;
|
|
102
|
+
unit: number;
|
|
103
|
+
propertyType: CMSElementEditTypes;
|
|
104
|
+
};
|
|
105
|
+
tileRowGap: {
|
|
106
|
+
value: number;
|
|
107
|
+
property: string;
|
|
108
|
+
unit: number;
|
|
109
|
+
propertyType: CMSElementEditTypes;
|
|
110
|
+
};
|
|
111
|
+
tileColumnGap: {
|
|
112
|
+
value: number;
|
|
113
|
+
property: string;
|
|
114
|
+
unit: number;
|
|
115
|
+
propertyType: CMSElementEditTypes;
|
|
116
|
+
};
|
|
117
|
+
showTileAnimation: {
|
|
118
|
+
value: boolean;
|
|
119
|
+
property: string;
|
|
120
|
+
propertyType: CMSElementEditTypes;
|
|
121
|
+
};
|
|
122
|
+
maxNoItemsToShow: {
|
|
123
|
+
value: number;
|
|
124
|
+
property: string;
|
|
125
|
+
propertyType: CMSElementEditTypes;
|
|
126
|
+
};
|
|
127
|
+
itemSpacing: {
|
|
128
|
+
value: number;
|
|
129
|
+
property: string;
|
|
130
|
+
unit: number;
|
|
131
|
+
propertyType: CMSElementEditTypes;
|
|
132
|
+
};
|
|
133
|
+
itemPadding: {
|
|
134
|
+
value: number;
|
|
135
|
+
property: string;
|
|
136
|
+
unit: number;
|
|
137
|
+
propertyType: CMSElementEditTypes;
|
|
138
|
+
};
|
|
139
|
+
showDivider: {
|
|
140
|
+
value: boolean;
|
|
141
|
+
property: string;
|
|
142
|
+
propertyType: CMSElementEditTypes;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
design: {
|
|
146
|
+
selectorKey: SelectorKeysEnum;
|
|
147
|
+
headingDesign: {
|
|
148
|
+
borderColor: CMSIBCommonInterface;
|
|
149
|
+
borderStyle: CMSIBCommonInterface;
|
|
150
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
151
|
+
showBorder: CMSIBCommonInterface;
|
|
152
|
+
backgroundColor: CMSIBCommonInterface;
|
|
153
|
+
showShadow: CMSIBCommonInterface;
|
|
154
|
+
shadowColor: CMSIBCommonInterface;
|
|
155
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
156
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
157
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
158
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
159
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
160
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
161
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
162
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
163
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
164
|
+
theme: CMSIBCommonInterface;
|
|
165
|
+
font: CMSIBCommonInterface;
|
|
166
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
167
|
+
textColor: CMSIBCommonInterface;
|
|
168
|
+
bold: CMSIBCommonInterface;
|
|
169
|
+
italic: CMSIBCommonInterface;
|
|
170
|
+
linethrough: CMSIBCommonInterface;
|
|
171
|
+
underline: CMSIBCommonInterface;
|
|
172
|
+
textAlign: CMSIBCommonInterface;
|
|
173
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
174
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
175
|
+
selectorKey: SelectorKeysEnum;
|
|
176
|
+
};
|
|
177
|
+
descriptionDesign: {
|
|
178
|
+
borderColor: CMSIBCommonInterface;
|
|
179
|
+
borderStyle: CMSIBCommonInterface;
|
|
180
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
181
|
+
showBorder: CMSIBCommonInterface;
|
|
182
|
+
backgroundColor: CMSIBCommonInterface;
|
|
183
|
+
showShadow: CMSIBCommonInterface;
|
|
184
|
+
shadowColor: CMSIBCommonInterface;
|
|
185
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
186
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
187
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
188
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
189
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
190
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
191
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
192
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
193
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
194
|
+
theme: CMSIBCommonInterface;
|
|
195
|
+
font: CMSIBCommonInterface;
|
|
196
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
197
|
+
textColor: CMSIBCommonInterface;
|
|
198
|
+
bold: CMSIBCommonInterface;
|
|
199
|
+
italic: CMSIBCommonInterface;
|
|
200
|
+
linethrough: CMSIBCommonInterface;
|
|
201
|
+
underline: CMSIBCommonInterface;
|
|
202
|
+
textAlign: CMSIBCommonInterface;
|
|
203
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
204
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
205
|
+
selectorKey: SelectorKeysEnum;
|
|
206
|
+
};
|
|
207
|
+
productNameDesign: {
|
|
208
|
+
borderColor: CMSIBCommonInterface;
|
|
209
|
+
borderStyle: CMSIBCommonInterface;
|
|
210
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
211
|
+
showBorder: CMSIBCommonInterface;
|
|
212
|
+
backgroundColor: CMSIBCommonInterface;
|
|
213
|
+
showShadow: CMSIBCommonInterface;
|
|
214
|
+
shadowColor: CMSIBCommonInterface;
|
|
215
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
216
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
217
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
218
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
219
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
220
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
221
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
222
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
223
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
224
|
+
theme: CMSIBCommonInterface;
|
|
225
|
+
font: CMSIBCommonInterface;
|
|
226
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
227
|
+
textColor: CMSIBCommonInterface;
|
|
228
|
+
bold: CMSIBCommonInterface;
|
|
229
|
+
italic: CMSIBCommonInterface;
|
|
230
|
+
linethrough: CMSIBCommonInterface;
|
|
231
|
+
underline: CMSIBCommonInterface;
|
|
232
|
+
textAlign: CMSIBCommonInterface;
|
|
233
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
234
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
235
|
+
selectorKey: SelectorKeysEnum;
|
|
236
|
+
};
|
|
237
|
+
productCardDesign: {
|
|
238
|
+
borderColor: CMSIBCommonInterface;
|
|
239
|
+
borderStyle: CMSIBCommonInterface;
|
|
240
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
241
|
+
showBorder: CMSIBCommonInterface;
|
|
242
|
+
backgroundColor: 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
|
+
};
|
|
256
|
+
bundleNavigationButtonDesign: {
|
|
257
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
258
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
259
|
+
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
260
|
+
iconColor: CMSIBCommonInterface;
|
|
261
|
+
borderColor: CMSIBCommonInterface;
|
|
262
|
+
borderStyle: CMSIBCommonInterface;
|
|
263
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
264
|
+
showBorder: CMSIBCommonInterface;
|
|
265
|
+
backgroundColor: CMSIBCommonInterface;
|
|
266
|
+
showShadow: CMSIBCommonInterface;
|
|
267
|
+
shadowColor: CMSIBCommonInterface;
|
|
268
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
269
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
270
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
271
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
272
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
273
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
274
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
275
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
276
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
277
|
+
theme: CMSIBCommonInterface;
|
|
278
|
+
font: CMSIBCommonInterface;
|
|
279
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
280
|
+
textColor: CMSIBCommonInterface;
|
|
281
|
+
bold: CMSIBCommonInterface;
|
|
282
|
+
italic: CMSIBCommonInterface;
|
|
283
|
+
linethrough: CMSIBCommonInterface;
|
|
284
|
+
underline: CMSIBCommonInterface;
|
|
285
|
+
textAlign: CMSIBCommonInterface;
|
|
286
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
287
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
288
|
+
selectorKey: SelectorKeysEnum;
|
|
289
|
+
};
|
|
290
|
+
bundleDetailsPageButtonDesign: {
|
|
291
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
292
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
293
|
+
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
294
|
+
iconColor: CMSIBCommonInterface;
|
|
295
|
+
borderColor: CMSIBCommonInterface;
|
|
296
|
+
borderStyle: CMSIBCommonInterface;
|
|
297
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
298
|
+
showBorder: CMSIBCommonInterface;
|
|
299
|
+
backgroundColor: CMSIBCommonInterface;
|
|
300
|
+
showShadow: CMSIBCommonInterface;
|
|
301
|
+
shadowColor: CMSIBCommonInterface;
|
|
302
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
303
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
304
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
305
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
306
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
307
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
308
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
309
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
310
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
311
|
+
theme: CMSIBCommonInterface;
|
|
312
|
+
font: CMSIBCommonInterface;
|
|
313
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
314
|
+
textColor: CMSIBCommonInterface;
|
|
315
|
+
bold: CMSIBCommonInterface;
|
|
316
|
+
italic: CMSIBCommonInterface;
|
|
317
|
+
linethrough: CMSIBCommonInterface;
|
|
318
|
+
underline: CMSIBCommonInterface;
|
|
319
|
+
textAlign: CMSIBCommonInterface;
|
|
320
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
321
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
322
|
+
selectorKey: SelectorKeysEnum;
|
|
323
|
+
};
|
|
324
|
+
tileCardDesign: {
|
|
325
|
+
borderColor: CMSIBCommonInterface;
|
|
326
|
+
borderStyle: CMSIBCommonInterface;
|
|
327
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
328
|
+
showBorder: CMSIBCommonInterface;
|
|
329
|
+
backgroundColor: CMSIBCommonInterface;
|
|
330
|
+
showShadow: CMSIBCommonInterface;
|
|
331
|
+
shadowColor: CMSIBCommonInterface;
|
|
332
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
333
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
334
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
335
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
336
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
337
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
338
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
339
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
340
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
341
|
+
selectorKey: SelectorKeysEnum;
|
|
342
|
+
};
|
|
343
|
+
tileCardImageDesign: {
|
|
344
|
+
borderColor: CMSIBCommonInterface;
|
|
345
|
+
borderStyle: CMSIBCommonInterface;
|
|
346
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
347
|
+
showBorder: CMSIBCommonInterface;
|
|
348
|
+
backgroundColor: CMSIBCommonInterface;
|
|
349
|
+
showShadow: CMSIBCommonInterface;
|
|
350
|
+
shadowColor: CMSIBCommonInterface;
|
|
351
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
352
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
353
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
354
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
355
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
356
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
357
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
358
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
359
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
360
|
+
selectorKey: SelectorKeysEnum;
|
|
361
|
+
};
|
|
362
|
+
listViewCardDesign: {
|
|
363
|
+
borderColor: CMSIBCommonInterface;
|
|
364
|
+
borderStyle: CMSIBCommonInterface;
|
|
365
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
366
|
+
showBorder: CMSIBCommonInterface;
|
|
367
|
+
backgroundColor: CMSIBCommonInterface;
|
|
368
|
+
showShadow: CMSIBCommonInterface;
|
|
369
|
+
shadowColor: CMSIBCommonInterface;
|
|
370
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
371
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
372
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
373
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
374
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
375
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
376
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
377
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
378
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
379
|
+
selectorKey: SelectorKeysEnum;
|
|
380
|
+
};
|
|
381
|
+
bundleTagDesign: {
|
|
382
|
+
borderColor: CMSIBCommonInterface;
|
|
383
|
+
borderStyle: CMSIBCommonInterface;
|
|
384
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
385
|
+
showBorder: CMSIBCommonInterface;
|
|
386
|
+
backgroundColor: CMSIBCommonInterface;
|
|
387
|
+
showShadow: CMSIBCommonInterface;
|
|
388
|
+
shadowColor: CMSIBCommonInterface;
|
|
389
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
390
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
391
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
392
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
393
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
394
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
395
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
396
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
397
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
398
|
+
theme: CMSIBCommonInterface;
|
|
399
|
+
font: CMSIBCommonInterface;
|
|
400
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
401
|
+
textColor: CMSIBCommonInterface;
|
|
402
|
+
bold: CMSIBCommonInterface;
|
|
403
|
+
italic: CMSIBCommonInterface;
|
|
404
|
+
linethrough: CMSIBCommonInterface;
|
|
405
|
+
underline: CMSIBCommonInterface;
|
|
406
|
+
textAlign: CMSIBCommonInterface;
|
|
407
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
408
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
409
|
+
selectorKey: SelectorKeysEnum;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
content: {
|
|
413
|
+
selectorKey: SelectorKeysEnum;
|
|
414
|
+
showTitle: {
|
|
415
|
+
value: boolean;
|
|
416
|
+
property: string;
|
|
417
|
+
propertyType: CMSElementEditTypes;
|
|
418
|
+
};
|
|
419
|
+
title: {
|
|
420
|
+
value: string;
|
|
421
|
+
property: string;
|
|
422
|
+
propertyType: CMSElementEditTypes;
|
|
423
|
+
};
|
|
424
|
+
showDescription: {
|
|
425
|
+
value: boolean;
|
|
426
|
+
property: string;
|
|
427
|
+
propertyType: CMSElementEditTypes;
|
|
428
|
+
};
|
|
429
|
+
description: {
|
|
430
|
+
value: string;
|
|
431
|
+
property: string;
|
|
432
|
+
propertyType: CMSElementEditTypes;
|
|
433
|
+
};
|
|
434
|
+
showBundleImage: {
|
|
435
|
+
value: boolean;
|
|
436
|
+
property: string;
|
|
437
|
+
propertyType: CMSElementEditTypes;
|
|
438
|
+
};
|
|
439
|
+
showProductImage: {
|
|
440
|
+
value: boolean;
|
|
441
|
+
property: string;
|
|
442
|
+
propertyType: CMSElementEditTypes;
|
|
443
|
+
};
|
|
444
|
+
showProductName: {
|
|
445
|
+
value: boolean;
|
|
446
|
+
property: string;
|
|
447
|
+
propertyType: CMSElementEditTypes;
|
|
448
|
+
};
|
|
449
|
+
showBundleNavigationButton: {
|
|
450
|
+
value: boolean;
|
|
451
|
+
property: string;
|
|
452
|
+
propertyType: CMSElementEditTypes;
|
|
453
|
+
};
|
|
454
|
+
bundleNavigationButtonName: {
|
|
455
|
+
value: string;
|
|
456
|
+
property: string;
|
|
457
|
+
propertyType: CMSElementEditTypes;
|
|
458
|
+
};
|
|
459
|
+
bundleNavigationButtonLink: {
|
|
460
|
+
value: string;
|
|
461
|
+
property: string;
|
|
462
|
+
propertyType: CMSElementEditTypes;
|
|
463
|
+
};
|
|
464
|
+
showBundleDetailPageButton: {
|
|
465
|
+
value: boolean;
|
|
466
|
+
property: string;
|
|
467
|
+
propertyType: CMSElementEditTypes;
|
|
468
|
+
};
|
|
469
|
+
bundleDetailPageButtonName: {
|
|
470
|
+
value: string;
|
|
471
|
+
property: string;
|
|
472
|
+
propertyType: CMSElementEditTypes;
|
|
473
|
+
};
|
|
474
|
+
bundleDetailPageButtonLink: {
|
|
475
|
+
value: string;
|
|
476
|
+
property: string;
|
|
477
|
+
propertyType: CMSElementEditTypes;
|
|
478
|
+
};
|
|
479
|
+
showBundleTagSlider: {
|
|
480
|
+
value: boolean;
|
|
481
|
+
property: string;
|
|
482
|
+
propertyType: CMSElementEditTypes;
|
|
483
|
+
};
|
|
484
|
+
showBundleTagArrows: {
|
|
485
|
+
value: boolean;
|
|
486
|
+
property: string;
|
|
487
|
+
propertyType: CMSElementEditTypes;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
dataConnector: {
|
|
491
|
+
selectorKey: SelectorKeysEnum;
|
|
492
|
+
dataConnector: {
|
|
493
|
+
value: {
|
|
494
|
+
dataSource: string;
|
|
495
|
+
childSource: string;
|
|
496
|
+
keyMappings: {
|
|
497
|
+
image: string;
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
property: string;
|
|
501
|
+
propertyType: CMSElementEditTypes;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
2
|
+
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
3
|
+
}
|
|
4
|
+
interface selfLayoutInterface {
|
|
5
|
+
selectorKey: string;
|
|
6
|
+
}
|
|
7
|
+
export interface selfDesignInterface {
|
|
8
|
+
selectorKey: string;
|
|
9
|
+
}
|
|
10
|
+
export declare enum SelectorKeysEnum {
|
|
11
|
+
LAYOUT = "layout",
|
|
12
|
+
DESIGN = "design",
|
|
13
|
+
CONTENT = "content",
|
|
14
|
+
DATA_CONNECTOR = "dataConnector"
|
|
15
|
+
}
|
|
16
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
17
|
+
export {};
|
|
@@ -47,6 +47,7 @@ import * as menu from "./menu";
|
|
|
47
47
|
import * as productOptions from "./productOptions";
|
|
48
48
|
import * as brand from "./brand";
|
|
49
49
|
import * as bundle from "./bundle";
|
|
50
|
+
import * as bundleDetails from "./bundleDetails";
|
|
50
51
|
import * as category from "./category";
|
|
51
52
|
import * as subCategory from "./subCategory";
|
|
52
53
|
import * as brandImage from "./brandImage";
|
|
@@ -82,4 +83,5 @@ import * as addOrder from "./addOrder";
|
|
|
82
83
|
import * as buyForWithTabs from "./buyForWithTab";
|
|
83
84
|
import * as buyForTabsContainer from "./buyForTabContainer";
|
|
84
85
|
import * as toaster from "./toaster";
|
|
85
|
-
|
|
86
|
+
import * as spotlight from "./spotlight";
|
|
87
|
+
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, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, };
|
|
@@ -137,9 +137,23 @@ export declare const getDefaultData: () => {
|
|
|
137
137
|
name: string;
|
|
138
138
|
show: boolean;
|
|
139
139
|
url: string;
|
|
140
|
+
linkType: {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
143
|
+
openIn: {
|
|
144
|
+
value: string;
|
|
145
|
+
};
|
|
140
146
|
}[];
|
|
141
147
|
propertyType: CMSElementEditTypes;
|
|
142
148
|
};
|
|
149
|
+
linkType: {
|
|
150
|
+
value: string;
|
|
151
|
+
propertyType: CMSElementEditTypes;
|
|
152
|
+
};
|
|
153
|
+
openIn: {
|
|
154
|
+
value: string;
|
|
155
|
+
propertyType: CMSElementEditTypes;
|
|
156
|
+
};
|
|
143
157
|
};
|
|
144
158
|
design: {
|
|
145
159
|
selectorKey: QuickLinksSelectorKeysEnum;
|
|
@@ -292,44 +306,6 @@ export declare const getDefaultData: () => {
|
|
|
292
306
|
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
293
307
|
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
294
308
|
};
|
|
295
|
-
quickLinks: {
|
|
296
|
-
selectorKey: QuickLinksSelectorKeysEnum;
|
|
297
|
-
instagramIcon: {
|
|
298
|
-
value: string;
|
|
299
|
-
property: string;
|
|
300
|
-
propertyType: CMSElementEditTypes;
|
|
301
|
-
};
|
|
302
|
-
facebookIcon: {
|
|
303
|
-
value: string;
|
|
304
|
-
property: string;
|
|
305
|
-
propertyType: CMSElementEditTypes;
|
|
306
|
-
};
|
|
307
|
-
twitterIcon: {
|
|
308
|
-
value: string;
|
|
309
|
-
property: string;
|
|
310
|
-
propertyType: CMSElementEditTypes;
|
|
311
|
-
};
|
|
312
|
-
amazonIcon: {
|
|
313
|
-
value: string;
|
|
314
|
-
property: string;
|
|
315
|
-
propertyType: CMSElementEditTypes;
|
|
316
|
-
};
|
|
317
|
-
websiteIcon: {
|
|
318
|
-
value: string;
|
|
319
|
-
property: string;
|
|
320
|
-
propertyType: CMSElementEditTypes;
|
|
321
|
-
};
|
|
322
|
-
youtubeIcon: {
|
|
323
|
-
value: string;
|
|
324
|
-
property: string;
|
|
325
|
-
propertyType: CMSElementEditTypes;
|
|
326
|
-
};
|
|
327
|
-
linkedinIcon: {
|
|
328
|
-
value: string;
|
|
329
|
-
property: string;
|
|
330
|
-
propertyType: CMSElementEditTypes;
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
309
|
};
|
|
334
310
|
};
|
|
335
311
|
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
interface selfLayoutInterface {
|
|
4
|
+
selectorKey: string;
|
|
5
|
+
spotlightText: CMSIBCommonInterface;
|
|
6
|
+
showSpotlightText: CMSIBCommonInterface;
|
|
7
|
+
}
|
|
8
|
+
export interface selfDesignInterface {
|
|
9
|
+
selectorKey: string;
|
|
10
|
+
spotlightText: {
|
|
11
|
+
selectorKey: string;
|
|
12
|
+
theme: CMSIBCommonInterface;
|
|
13
|
+
font: CMSIBCommonInterface;
|
|
14
|
+
fontSize: CMSIBCommonInterface;
|
|
15
|
+
textColor: CMSIBCommonInterface;
|
|
16
|
+
bold: CMSIBCommonInterface;
|
|
17
|
+
italic: CMSIBCommonInterface;
|
|
18
|
+
linethrough: CMSIBCommonInterface;
|
|
19
|
+
underline: CMSIBCommonInterface;
|
|
20
|
+
textAlign: CMSIBCommonInterface;
|
|
21
|
+
characterSpacing: CMSIBCommonInterface;
|
|
22
|
+
lineHeight: CMSIBCommonInterface;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export declare enum spotlightSelectorKeysEnum {
|
|
26
|
+
LAYOUT = "layout",
|
|
27
|
+
DESIGN = "design",
|
|
28
|
+
DATA_CONNECTOR = "dataConnector",
|
|
29
|
+
SPOTLIGHT_TEXT = "spotlightText"
|
|
30
|
+
}
|
|
31
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
32
|
+
export {};
|
package/dist/widget.scss
CHANGED
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
@use "./brand-basic-elements.scss";
|
|
51
51
|
@use "./brand.scss";
|
|
52
52
|
@use "./bundle.scss";
|
|
53
|
+
@use "./bundleDetails.scss";
|
|
53
54
|
@use "./category.scss";
|
|
54
55
|
@use "./sub-category.scss";
|
|
55
56
|
@use "./categoryWidget.scss";
|
|
@@ -94,3 +95,4 @@
|
|
|
94
95
|
@use "./buy-for-tabs-container-item.scss";
|
|
95
96
|
@use "./buy-for-tab-container.scss";
|
|
96
97
|
@use "./toaster.scss";
|
|
98
|
+
@use "./spotlight.scss";
|