@sc-360-v2/storefront-cms-library 0.5.38 → 0.5.40

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,595 @@
1
+ import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
2
+ export declare enum SelectorKeysEnum {
3
+ LAYOUT = "layout",
4
+ DESIGN = "design",
5
+ CONTENT = "content",
6
+ DATA_CONNECTOR = "dataConnector",
7
+ WIDGET_STYLE = "widgetStyle",
8
+ VIEW_KIT_STYLE = "viewKitStyle",
9
+ HOVER_STATE = "hover",
10
+ DEFAULT_STATE = "default"
11
+ }
12
+ export declare const getDefaultData: () => {
13
+ layout: {
14
+ selectorKey: SelectorKeysEnum;
15
+ width: {
16
+ value: string;
17
+ unit: number;
18
+ };
19
+ minHeight: {
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: any;
29
+ displayStyle: {
30
+ value: string;
31
+ property: string;
32
+ propertyType: CMSElementEditTypes;
33
+ };
34
+ slideGap: {
35
+ property: string;
36
+ propertyType: CMSElementEditTypes;
37
+ value: number;
38
+ unit: CMSCSSUnitTypesEnums;
39
+ };
40
+ gridGap: {
41
+ property: string;
42
+ propertyType: CMSElementEditTypes;
43
+ value: number;
44
+ unit: CMSCSSUnitTypesEnums;
45
+ };
46
+ sliderControl: {
47
+ property: string;
48
+ value: string;
49
+ propertyType: CMSElementEditTypes;
50
+ };
51
+ arrowIconSize: {
52
+ property: string;
53
+ value: number;
54
+ unit: CMSCSSUnitTypesEnums;
55
+ propertyType: CMSElementEditTypes;
56
+ };
57
+ dotSize: {
58
+ property: string;
59
+ value: number;
60
+ unit: CMSCSSUnitTypesEnums;
61
+ propertyType: CMSElementEditTypes;
62
+ };
63
+ controlActiveColor: {
64
+ value: {
65
+ hex: string;
66
+ rgb: {
67
+ r: string;
68
+ g: string;
69
+ b: string;
70
+ a: number;
71
+ };
72
+ };
73
+ property: string;
74
+ propertyType: CMSElementEditTypes;
75
+ parentRef: undefined;
76
+ };
77
+ selectedSlideControlTheme: {
78
+ value: number;
79
+ propertyType: CMSElementEditTypes;
80
+ };
81
+ autoplay: {
82
+ value: boolean;
83
+ propertyType: CMSElementEditTypes;
84
+ };
85
+ autoplayDuration: {
86
+ value: number;
87
+ unit: CMSCSSUnitTypesEnums;
88
+ propertyType: CMSElementEditTypes;
89
+ };
90
+ stopOnMouseEnter: {
91
+ value: boolean;
92
+ propertyType: CMSElementEditTypes;
93
+ };
94
+ stopOnInteraction: {
95
+ value: boolean;
96
+ propertyType: CMSElementEditTypes;
97
+ };
98
+ slidesPerView: {
99
+ property: string;
100
+ isShow: boolean;
101
+ value: number;
102
+ propertyType: CMSElementEditTypes;
103
+ };
104
+ itemsPerSlide: {
105
+ property: string;
106
+ isShow: boolean;
107
+ value: number;
108
+ propertyType: CMSElementEditTypes;
109
+ };
110
+ gridColumns: {
111
+ property: string;
112
+ isShow: boolean;
113
+ value: number;
114
+ propertyType: CMSElementEditTypes;
115
+ };
116
+ imageHeight: {
117
+ property: string;
118
+ value: number;
119
+ propertyType: CMSElementEditTypes;
120
+ unit: CMSCSSUnitTypesEnums;
121
+ };
122
+ fitOptions: {
123
+ value: string;
124
+ property: string;
125
+ propertyType: CMSElementEditTypes;
126
+ };
127
+ objectPosition: {
128
+ value: string;
129
+ property: string;
130
+ propertyType: CMSElementEditTypes;
131
+ };
132
+ enableFreeModeForViewKit: {
133
+ value: boolean;
134
+ property: string;
135
+ propertyType: CMSElementEditTypes;
136
+ };
137
+ showViewKitButton: {
138
+ property: string;
139
+ value: boolean;
140
+ propertyType: CMSElementEditTypes;
141
+ };
142
+ showProductName: {
143
+ property: string;
144
+ value: boolean;
145
+ propertyType: CMSElementEditTypes;
146
+ };
147
+ showProductImage: {
148
+ property: string;
149
+ value: boolean;
150
+ propertyType: CMSElementEditTypes;
151
+ };
152
+ buttonWidth: {
153
+ propertyType: CMSElementEditTypes;
154
+ value: string;
155
+ unit: CMSCSSUnitTypesEnums;
156
+ property: string;
157
+ };
158
+ buttonHeight: {
159
+ propertyType: CMSElementEditTypes;
160
+ value: string;
161
+ unit: CMSCSSUnitTypesEnums;
162
+ property: string;
163
+ };
164
+ buttonStyle: {
165
+ parentRef: string;
166
+ propertyType: CMSElementEditTypes;
167
+ };
168
+ buttonText: {
169
+ value: string;
170
+ property: string;
171
+ propertyType: CMSElementEditTypes;
172
+ };
173
+ buttonIcon: {
174
+ value: string;
175
+ property: string;
176
+ propertyType: CMSElementEditTypes;
177
+ };
178
+ iconPosition: {
179
+ parentRef: string;
180
+ propertyType: CMSElementEditTypes;
181
+ };
182
+ iconAndTextSpacing: {
183
+ property: string;
184
+ unit: number;
185
+ parentRef: string;
186
+ propertyType: CMSElementEditTypes;
187
+ };
188
+ alignment: {
189
+ property: string;
190
+ parentRef: string;
191
+ propertyType: CMSElementEditTypes;
192
+ };
193
+ buttonType: {
194
+ value: string;
195
+ propertyType: CMSElementEditTypes;
196
+ };
197
+ buttonPadding: any;
198
+ };
199
+ design: {
200
+ selectorKey: SelectorKeysEnum;
201
+ widgetStyle: {
202
+ selectorKey: SelectorKeysEnum;
203
+ backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
204
+ borderColor: import("../../interfaces/global").CMSIBCommonInterface;
205
+ borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
206
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
207
+ showBorder: import("../../interfaces/global").CMSIBCommonInterface;
208
+ showShadow: import("../../interfaces/global").CMSIBCommonInterface;
209
+ shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
210
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
211
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
212
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
213
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
214
+ };
215
+ viewKitStyle: {
216
+ selectorKey: SelectorKeysEnum;
217
+ defaultState: {
218
+ wordWrap: import("../../interfaces/global").CMSIBCommonInterface;
219
+ wordBreak: import("../../interfaces/global").CMSIBCommonInterface;
220
+ backgroundColor: {
221
+ parentRef: string;
222
+ value?: any;
223
+ property?: any;
224
+ propertyType?: any;
225
+ isReadOnly?: boolean | undefined;
226
+ };
227
+ borderColor: {
228
+ parentRef: string;
229
+ value?: any;
230
+ property?: any;
231
+ propertyType?: any;
232
+ isReadOnly?: boolean | undefined;
233
+ };
234
+ borderStyle: {
235
+ parentRef: string;
236
+ value?: any;
237
+ property?: any;
238
+ propertyType?: any;
239
+ isReadOnly?: boolean | undefined;
240
+ };
241
+ borderPerSlide: {
242
+ parentRef: string;
243
+ isAll: boolean;
244
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
245
+ property: string;
246
+ iscss?: boolean | undefined;
247
+ propertyType?: any;
248
+ };
249
+ showBorder: {
250
+ value: boolean;
251
+ parentRef: string;
252
+ property?: any;
253
+ propertyType?: any;
254
+ isReadOnly?: boolean | undefined;
255
+ };
256
+ showShadow: {
257
+ parentRef: string;
258
+ value?: any;
259
+ property?: any;
260
+ propertyType?: any;
261
+ isReadOnly?: boolean | undefined;
262
+ };
263
+ shadowColor: {
264
+ parentRef: string;
265
+ value?: any;
266
+ property?: any;
267
+ propertyType?: any;
268
+ isReadOnly?: boolean | undefined;
269
+ };
270
+ blur: {
271
+ parentRef: string;
272
+ unit?: string | number | undefined;
273
+ value?: any;
274
+ property?: any;
275
+ propertyType?: any;
276
+ isReadOnly?: boolean | undefined;
277
+ };
278
+ spread: {
279
+ parentRef: string;
280
+ unit?: string | number | undefined;
281
+ value?: any;
282
+ property?: any;
283
+ propertyType?: any;
284
+ isReadOnly?: boolean | undefined;
285
+ };
286
+ angle: {
287
+ parentRef: string;
288
+ unit?: string | number | undefined;
289
+ value?: any;
290
+ property?: any;
291
+ propertyType?: any;
292
+ isReadOnly?: boolean | undefined;
293
+ };
294
+ borderRadius: {
295
+ parentRef: string;
296
+ isAll: boolean;
297
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
298
+ property: string;
299
+ iscss?: boolean | undefined;
300
+ propertyType?: any;
301
+ };
302
+ font: {
303
+ parentRef: string;
304
+ value?: any;
305
+ property?: any;
306
+ propertyType?: any;
307
+ isReadOnly?: boolean | undefined;
308
+ };
309
+ fontSize: {
310
+ parentRef: string;
311
+ unit?: string | number | undefined;
312
+ value?: any;
313
+ property?: any;
314
+ propertyType?: any;
315
+ isReadOnly?: boolean | undefined;
316
+ };
317
+ textColor: {
318
+ parentRef: string;
319
+ value?: any;
320
+ property?: any;
321
+ propertyType?: any;
322
+ isReadOnly?: boolean | undefined;
323
+ };
324
+ bold: {
325
+ value: string;
326
+ parentRef: string;
327
+ property?: any;
328
+ propertyType?: any;
329
+ isReadOnly?: boolean | undefined;
330
+ };
331
+ italic: {
332
+ parentRef: string;
333
+ value?: any;
334
+ property?: any;
335
+ propertyType?: any;
336
+ isReadOnly?: boolean | undefined;
337
+ };
338
+ linethrough: {
339
+ parentRef: string;
340
+ value?: any;
341
+ property?: any;
342
+ propertyType?: any;
343
+ isReadOnly?: boolean | undefined;
344
+ };
345
+ underline: {
346
+ parentRef: string;
347
+ value?: any;
348
+ property?: any;
349
+ propertyType?: any;
350
+ isReadOnly?: boolean | undefined;
351
+ };
352
+ textAlign: {
353
+ parentRef: string;
354
+ value?: any;
355
+ property?: any;
356
+ propertyType?: any;
357
+ isReadOnly?: boolean | undefined;
358
+ };
359
+ characterSpacing: {
360
+ parentRef: string;
361
+ unit?: string | number | undefined;
362
+ value?: any;
363
+ property?: any;
364
+ propertyType?: any;
365
+ isReadOnly?: boolean | undefined;
366
+ };
367
+ lineHeight: {
368
+ parentRef: string;
369
+ unit?: string | number | undefined;
370
+ value?: any;
371
+ property?: any;
372
+ propertyType?: any;
373
+ isReadOnly?: boolean | undefined;
374
+ };
375
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
376
+ showIcon: {
377
+ parentRef: string;
378
+ value?: any;
379
+ property?: any;
380
+ propertyType?: any;
381
+ isReadOnly?: boolean | undefined;
382
+ };
383
+ iconSize: {
384
+ parentRef: string;
385
+ unit?: string | number | undefined;
386
+ value?: any;
387
+ property?: any;
388
+ propertyType?: any;
389
+ isReadOnly?: boolean | undefined;
390
+ };
391
+ iconColor: {
392
+ parentRef: string;
393
+ value?: any;
394
+ property?: any;
395
+ propertyType?: any;
396
+ isReadOnly?: boolean | undefined;
397
+ };
398
+ textTransform: {
399
+ value: string;
400
+ property: string;
401
+ propertyType: CMSElementEditTypes;
402
+ };
403
+ selectorKey: SelectorKeysEnum;
404
+ };
405
+ hoverState: {
406
+ wordWrap: import("../../interfaces/global").CMSIBCommonInterface;
407
+ wordBreak: import("../../interfaces/global").CMSIBCommonInterface;
408
+ backgroundColor: {
409
+ parentRef: string;
410
+ value?: any;
411
+ property?: any;
412
+ propertyType?: any;
413
+ isReadOnly?: boolean | undefined;
414
+ };
415
+ borderColor: {
416
+ parentRef: string;
417
+ value?: any;
418
+ property?: any;
419
+ propertyType?: any;
420
+ isReadOnly?: boolean | undefined;
421
+ };
422
+ borderStyle: {
423
+ parentRef: string;
424
+ value?: any;
425
+ property?: any;
426
+ propertyType?: any;
427
+ isReadOnly?: boolean | undefined;
428
+ };
429
+ borderPerSlide: {
430
+ parentRef: string;
431
+ isAll: boolean;
432
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
433
+ property: string;
434
+ iscss?: boolean | undefined;
435
+ propertyType?: any;
436
+ };
437
+ showBorder: {
438
+ value: boolean;
439
+ parentRef: string;
440
+ property?: any;
441
+ propertyType?: any;
442
+ isReadOnly?: boolean | undefined;
443
+ };
444
+ showShadow: {
445
+ parentRef: string;
446
+ value?: any;
447
+ property?: any;
448
+ propertyType?: any;
449
+ isReadOnly?: boolean | undefined;
450
+ };
451
+ shadowColor: {
452
+ parentRef: string;
453
+ value?: any;
454
+ property?: any;
455
+ propertyType?: any;
456
+ isReadOnly?: boolean | undefined;
457
+ };
458
+ blur: {
459
+ parentRef: string;
460
+ unit?: string | number | undefined;
461
+ value?: any;
462
+ property?: any;
463
+ propertyType?: any;
464
+ isReadOnly?: boolean | undefined;
465
+ };
466
+ spread: {
467
+ parentRef: string;
468
+ unit?: string | number | undefined;
469
+ value?: any;
470
+ property?: any;
471
+ propertyType?: any;
472
+ isReadOnly?: boolean | undefined;
473
+ };
474
+ angle: {
475
+ parentRef: string;
476
+ unit?: string | number | undefined;
477
+ value?: any;
478
+ property?: any;
479
+ propertyType?: any;
480
+ isReadOnly?: boolean | undefined;
481
+ };
482
+ borderRadius: {
483
+ parentRef: string;
484
+ isAll: boolean;
485
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
486
+ property: string;
487
+ iscss?: boolean | undefined;
488
+ propertyType?: any;
489
+ };
490
+ font: {
491
+ parentRef: string;
492
+ value?: any;
493
+ property?: any;
494
+ propertyType?: any;
495
+ isReadOnly?: boolean | undefined;
496
+ };
497
+ fontSize: {
498
+ parentRef: string;
499
+ unit?: string | number | undefined;
500
+ value?: any;
501
+ property?: any;
502
+ propertyType?: any;
503
+ isReadOnly?: boolean | undefined;
504
+ };
505
+ textColor: {
506
+ parentRef: string;
507
+ value?: any;
508
+ property?: any;
509
+ propertyType?: any;
510
+ isReadOnly?: boolean | undefined;
511
+ };
512
+ bold: {
513
+ value: string;
514
+ parentRef: string;
515
+ property?: any;
516
+ propertyType?: any;
517
+ isReadOnly?: boolean | undefined;
518
+ };
519
+ italic: {
520
+ parentRef: string;
521
+ value?: any;
522
+ property?: any;
523
+ propertyType?: any;
524
+ isReadOnly?: boolean | undefined;
525
+ };
526
+ linethrough: {
527
+ parentRef: string;
528
+ value?: any;
529
+ property?: any;
530
+ propertyType?: any;
531
+ isReadOnly?: boolean | undefined;
532
+ };
533
+ underline: {
534
+ parentRef: string;
535
+ value?: any;
536
+ property?: any;
537
+ propertyType?: any;
538
+ isReadOnly?: boolean | undefined;
539
+ };
540
+ textAlign: {
541
+ parentRef: string;
542
+ value?: any;
543
+ property?: any;
544
+ propertyType?: any;
545
+ isReadOnly?: boolean | undefined;
546
+ };
547
+ characterSpacing: {
548
+ parentRef: string;
549
+ unit?: string | number | undefined;
550
+ value?: any;
551
+ property?: any;
552
+ propertyType?: any;
553
+ isReadOnly?: boolean | undefined;
554
+ };
555
+ lineHeight: {
556
+ parentRef: string;
557
+ unit?: string | number | undefined;
558
+ value?: any;
559
+ property?: any;
560
+ propertyType?: any;
561
+ isReadOnly?: boolean | undefined;
562
+ };
563
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
564
+ showIcon: {
565
+ parentRef: string;
566
+ value?: any;
567
+ property?: any;
568
+ propertyType?: any;
569
+ isReadOnly?: boolean | undefined;
570
+ };
571
+ iconSize: {
572
+ parentRef: string;
573
+ unit?: string | number | undefined;
574
+ value?: any;
575
+ property?: any;
576
+ propertyType?: any;
577
+ isReadOnly?: boolean | undefined;
578
+ };
579
+ iconColor: {
580
+ parentRef: string;
581
+ value?: any;
582
+ property?: any;
583
+ propertyType?: any;
584
+ isReadOnly?: boolean | undefined;
585
+ };
586
+ textTransform: {
587
+ value: string;
588
+ property: string;
589
+ propertyType: CMSElementEditTypes;
590
+ };
591
+ selectorKey: SelectorKeysEnum;
592
+ };
593
+ };
594
+ };
595
+ };
@@ -1,7 +1,11 @@
1
1
  export declare enum restrictionFeaturesEnums {
2
2
  ALLOCATIONS = "01-14-global-alloc-addon",
3
3
  BUNDLES = "01-15-global-bundle-addon",
4
- MULTI_CURRENCY = "00-07-global-multi-currency-addon"
4
+ MULTI_CURRENCY = "00-07-global-multi-currency-addon",
5
+ MULTI_WAREHOUSE = "00-08-global-multi-warehouse-addon",
6
+ MERCHANDISER = "00-07-global-merchandiser-addon",
7
+ UOM = "00-07-global-uom-addon",
8
+ MULTI_ORG = "00-07-global-multi-org-addon"
5
9
  }
6
10
  export declare enum featuresAccessEnums {
7
11
  Enabled = 1,