@sc-360-v2/storefront-cms-library 0.2.90 → 0.2.92

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.
@@ -0,0 +1,396 @@
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
+ CONTENT = "content",
9
+ DESIGN = "design",
10
+ DATA_CONNECTOR = "dataConnector",
11
+ LABEL_DESIGN = "labelDesign",
12
+ TAB_DEsIGN = "tabDesign",
13
+ DROP_DOWN_DESIGN = "dropdownDesign",
14
+ SHOW_MORE_BUTTON_DESIGN = "showMoreButtonDesign",
15
+ DROP_DOWN_LIST_DESIGN = "dropDownListDesign",
16
+ NOTE_DESIGN = "noteDesign",
17
+ PREVIEW_DESIGN = "previewDesign"
18
+ }
19
+ export declare const getDefaultData: () => {
20
+ layout: {
21
+ selectorKey: SelectorKeysEnum;
22
+ width: {
23
+ value: number;
24
+ unit: CMSCSSUnitTypesEnums;
25
+ };
26
+ height: {
27
+ value: number;
28
+ unit: CMSCSSUnitTypesEnums;
29
+ property?: any;
30
+ propertyType?: any;
31
+ isReadOnly?: boolean | undefined;
32
+ parentRef?: string | undefined;
33
+ };
34
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
35
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
36
+ overflowContent: CMSIBCommonInterface | undefined;
37
+ scrollDirection: CMSIBCommonInterface | undefined;
38
+ displayScrollbar: CMSIBCommonInterface | undefined;
39
+ positionType: CMSIBCommonInterface | undefined;
40
+ pinTo: CMSIBCommonInterface | undefined;
41
+ positionDisplayStyle: {
42
+ value: string;
43
+ property: string;
44
+ propertyType: CMSElementEditTypes;
45
+ };
46
+ logoDisplayStyle: {
47
+ value: string;
48
+ property: string;
49
+ propertyType: CMSElementEditTypes;
50
+ };
51
+ textFontDisplayStyle: {
52
+ value: string;
53
+ property: string;
54
+ propertyType: CMSElementEditTypes;
55
+ };
56
+ textColorDisplayStyle: {
57
+ value: string;
58
+ property: string;
59
+ propertyType: CMSElementEditTypes;
60
+ };
61
+ itemGap: {
62
+ value: number;
63
+ unit: number;
64
+ property: string;
65
+ propertyType: CMSElementEditTypes;
66
+ };
67
+ spacingBetweenItems: {
68
+ value: number;
69
+ unit: number;
70
+ property: string;
71
+ propertyType: CMSElementEditTypes;
72
+ };
73
+ logoOverflowControl: {
74
+ value: string;
75
+ property: string;
76
+ propertyType: CMSElementEditTypes;
77
+ };
78
+ positionOverflowControl: {
79
+ value: string;
80
+ property: string;
81
+ propertyType: CMSElementEditTypes;
82
+ };
83
+ textFontOverflowControl: {
84
+ value: string;
85
+ property: string;
86
+ propertyType: CMSElementEditTypes;
87
+ };
88
+ textColorOverflowControl: {
89
+ value: string;
90
+ property: string;
91
+ propertyType: CMSElementEditTypes;
92
+ };
93
+ numOfItemsToShowForPosition: {
94
+ value: number;
95
+ property: string;
96
+ propertyType: CMSElementEditTypes;
97
+ };
98
+ numOfItemsToShowForLogo: {
99
+ value: number;
100
+ property: string;
101
+ propertyType: CMSElementEditTypes;
102
+ };
103
+ numOfItemsToShowForTextFont: {
104
+ value: number;
105
+ property: string;
106
+ propertyType: CMSElementEditTypes;
107
+ };
108
+ numOfItemsToShowForTextColor: {
109
+ value: number;
110
+ property: string;
111
+ propertyType: CMSElementEditTypes;
112
+ };
113
+ dropdownItemPadding: {
114
+ value: number;
115
+ unit: number;
116
+ property: string;
117
+ propertyType: CMSElementEditTypes;
118
+ };
119
+ tabItemPadding: {
120
+ value: number;
121
+ unit: number;
122
+ property: string;
123
+ propertyType: CMSElementEditTypes;
124
+ };
125
+ };
126
+ design: {
127
+ selectorKey: SelectorKeysEnum;
128
+ labelDesign: {
129
+ theme: CMSIBCommonInterface;
130
+ font: CMSIBCommonInterface;
131
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
132
+ textColor: CMSIBCommonInterface;
133
+ bold: CMSIBCommonInterface;
134
+ italic: CMSIBCommonInterface;
135
+ linethrough: CMSIBCommonInterface;
136
+ underline: CMSIBCommonInterface;
137
+ textAlign: CMSIBCommonInterface;
138
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
139
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
140
+ backgroundColor: CMSIBCommonInterface;
141
+ borderColor: CMSIBCommonInterface;
142
+ borderStyle: CMSIBCommonInterface;
143
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
144
+ showBorder: CMSIBCommonInterface;
145
+ showShadow: CMSIBCommonInterface;
146
+ shadowColor: CMSIBCommonInterface;
147
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
148
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
149
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
150
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
151
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
152
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
153
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
154
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
155
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
156
+ selectorKey: SelectorKeysEnum;
157
+ };
158
+ tabDesign: {
159
+ theme: CMSIBCommonInterface;
160
+ font: CMSIBCommonInterface;
161
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
162
+ textColor: CMSIBCommonInterface;
163
+ bold: CMSIBCommonInterface;
164
+ italic: CMSIBCommonInterface;
165
+ linethrough: CMSIBCommonInterface;
166
+ underline: CMSIBCommonInterface;
167
+ textAlign: CMSIBCommonInterface;
168
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
169
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
170
+ backgroundColor: CMSIBCommonInterface;
171
+ borderColor: CMSIBCommonInterface;
172
+ borderStyle: CMSIBCommonInterface;
173
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
174
+ showBorder: CMSIBCommonInterface;
175
+ showShadow: CMSIBCommonInterface;
176
+ shadowColor: CMSIBCommonInterface;
177
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
178
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
179
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
180
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
181
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
182
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
183
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
184
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
185
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
186
+ selectorKey: SelectorKeysEnum;
187
+ };
188
+ dropdownDesign: {
189
+ theme: CMSIBCommonInterface;
190
+ font: CMSIBCommonInterface;
191
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
192
+ textColor: CMSIBCommonInterface;
193
+ bold: CMSIBCommonInterface;
194
+ italic: CMSIBCommonInterface;
195
+ linethrough: CMSIBCommonInterface;
196
+ underline: CMSIBCommonInterface;
197
+ textAlign: CMSIBCommonInterface;
198
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
199
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
200
+ backgroundColor: CMSIBCommonInterface;
201
+ borderColor: CMSIBCommonInterface;
202
+ borderStyle: CMSIBCommonInterface;
203
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
204
+ showBorder: CMSIBCommonInterface;
205
+ showShadow: CMSIBCommonInterface;
206
+ shadowColor: CMSIBCommonInterface;
207
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
208
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
209
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
210
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
211
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
212
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
213
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
214
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
215
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
216
+ selectorKey: SelectorKeysEnum;
217
+ };
218
+ showMoreButtonDesign: {
219
+ theme: CMSIBCommonInterface;
220
+ font: CMSIBCommonInterface;
221
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
222
+ textColor: CMSIBCommonInterface;
223
+ bold: CMSIBCommonInterface;
224
+ italic: CMSIBCommonInterface;
225
+ linethrough: CMSIBCommonInterface;
226
+ underline: CMSIBCommonInterface;
227
+ textAlign: CMSIBCommonInterface;
228
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
229
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
230
+ backgroundColor: CMSIBCommonInterface;
231
+ borderColor: CMSIBCommonInterface;
232
+ borderStyle: CMSIBCommonInterface;
233
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
234
+ showBorder: CMSIBCommonInterface;
235
+ showShadow: CMSIBCommonInterface;
236
+ shadowColor: CMSIBCommonInterface;
237
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
238
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
239
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
240
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
241
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
242
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
243
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
244
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
245
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
246
+ selectorKey: SelectorKeysEnum;
247
+ };
248
+ previewDesign: {
249
+ theme: CMSIBCommonInterface;
250
+ font: CMSIBCommonInterface;
251
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
252
+ textColor: CMSIBCommonInterface;
253
+ bold: CMSIBCommonInterface;
254
+ italic: CMSIBCommonInterface;
255
+ linethrough: CMSIBCommonInterface;
256
+ underline: CMSIBCommonInterface;
257
+ textAlign: CMSIBCommonInterface;
258
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
259
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
260
+ backgroundColor: CMSIBCommonInterface;
261
+ borderColor: CMSIBCommonInterface;
262
+ borderStyle: CMSIBCommonInterface;
263
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
264
+ showBorder: CMSIBCommonInterface;
265
+ showShadow: CMSIBCommonInterface;
266
+ shadowColor: CMSIBCommonInterface;
267
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
268
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
269
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
270
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
271
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
272
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
273
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
274
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
275
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
276
+ selectorKey: SelectorKeysEnum;
277
+ };
278
+ dropdownListDesign: {
279
+ theme: CMSIBCommonInterface;
280
+ font: CMSIBCommonInterface;
281
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
282
+ textColor: CMSIBCommonInterface;
283
+ bold: CMSIBCommonInterface;
284
+ italic: CMSIBCommonInterface;
285
+ linethrough: CMSIBCommonInterface;
286
+ underline: CMSIBCommonInterface;
287
+ textAlign: CMSIBCommonInterface;
288
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
289
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
290
+ backgroundColor: CMSIBCommonInterface;
291
+ borderColor: CMSIBCommonInterface;
292
+ borderStyle: CMSIBCommonInterface;
293
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
294
+ showBorder: CMSIBCommonInterface;
295
+ showShadow: CMSIBCommonInterface;
296
+ shadowColor: CMSIBCommonInterface;
297
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
298
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
299
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
300
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
301
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
302
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
303
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
304
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
305
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
306
+ selectorKey: SelectorKeysEnum;
307
+ };
308
+ noteDesign: {
309
+ theme: CMSIBCommonInterface;
310
+ font: CMSIBCommonInterface;
311
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
312
+ textColor: CMSIBCommonInterface;
313
+ bold: CMSIBCommonInterface;
314
+ italic: CMSIBCommonInterface;
315
+ linethrough: CMSIBCommonInterface;
316
+ underline: CMSIBCommonInterface;
317
+ textAlign: CMSIBCommonInterface;
318
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
319
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
320
+ backgroundColor: CMSIBCommonInterface;
321
+ borderColor: CMSIBCommonInterface;
322
+ borderStyle: CMSIBCommonInterface;
323
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
324
+ showBorder: CMSIBCommonInterface;
325
+ showShadow: CMSIBCommonInterface;
326
+ shadowColor: CMSIBCommonInterface;
327
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
328
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
329
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
330
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
331
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
332
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
333
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
334
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
335
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
336
+ selectorKey: SelectorKeysEnum;
337
+ };
338
+ };
339
+ content: {
340
+ selectorKey: SelectorKeysEnum;
341
+ showPosition: {
342
+ value: boolean;
343
+ property: string;
344
+ propertyType: CMSElementEditTypes;
345
+ };
346
+ showLogo: {
347
+ value: boolean;
348
+ property: string;
349
+ propertyType: CMSElementEditTypes;
350
+ };
351
+ showTextFont: {
352
+ value: boolean;
353
+ property: string;
354
+ propertyType: CMSElementEditTypes;
355
+ };
356
+ showTextColor: {
357
+ value: boolean;
358
+ property: string;
359
+ propertyType: CMSElementEditTypes;
360
+ };
361
+ showTextLine: {
362
+ value: boolean;
363
+ property: string;
364
+ propertyType: CMSElementEditTypes;
365
+ };
366
+ showDivider: {
367
+ value: boolean;
368
+ property: string;
369
+ propertyType: CMSElementEditTypes;
370
+ };
371
+ showNote: {
372
+ value: boolean;
373
+ property: string;
374
+ propertyType: CMSElementEditTypes;
375
+ };
376
+ showPreview: {
377
+ value: boolean;
378
+ property: string;
379
+ propertyType: CMSElementEditTypes;
380
+ };
381
+ };
382
+ dataConnector: {
383
+ selectorKey: SelectorKeysEnum;
384
+ dataConnector: {
385
+ value: {
386
+ dataSource: string;
387
+ childSource: string;
388
+ keyMappings: {
389
+ image: string;
390
+ };
391
+ };
392
+ property: string;
393
+ propertyType: CMSElementEditTypes;
394
+ };
395
+ };
396
+ };
package/dist/widget.scss CHANGED
@@ -98,3 +98,4 @@
98
98
  @use "./spotlight.scss";
99
99
  @use "./quick-order-pad.scss";
100
100
  @use "./product-customizations.scss";
101
+ @use "./bulk-order-pad.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.2.90",
3
+ "version": "0.2.92",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {