@sc-360-v2/storefront-cms-library 0.3.40 → 0.3.42

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,4 +1,3 @@
1
- import { CMSElementEditTypes } from "../../enums/index";
2
1
  import { CMSIBCommonInterface } from "../../interfaces/global";
3
2
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
4
3
  export interface ButtonLayoutInterface {
@@ -65,444 +64,4 @@ export declare enum ButtonSelectorKeysEnum {
65
64
  WIDGET_STYLE = "widgetStyle",
66
65
  DROPDOWN_STYLE = "dropdownStyle"
67
66
  }
68
- export declare const ButtonProperties: {
69
- backgroundColor: {
70
- value: null;
71
- parentRef: string;
72
- property?: any;
73
- propertyType?: any;
74
- isReadOnly?: boolean | undefined;
75
- };
76
- borderColor: {
77
- value: null;
78
- parentRef: string;
79
- property?: any;
80
- propertyType?: any;
81
- isReadOnly?: boolean | undefined;
82
- };
83
- borderStyle: {
84
- value: null;
85
- parentRef: string;
86
- property?: any;
87
- propertyType?: any;
88
- isReadOnly?: boolean | undefined;
89
- };
90
- borderPerSlide: {
91
- value: null;
92
- parentRef: string;
93
- isAll: boolean;
94
- sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
95
- property: string;
96
- iscss?: boolean | undefined;
97
- propertyType?: any;
98
- };
99
- showBorder: {
100
- value: boolean;
101
- parentRef: string;
102
- property?: any;
103
- propertyType?: any;
104
- isReadOnly?: boolean | undefined;
105
- };
106
- showShadow: {
107
- value: null;
108
- parentRef: string;
109
- property?: any;
110
- propertyType?: any;
111
- isReadOnly?: boolean | undefined;
112
- };
113
- shadowColor: {
114
- value: null;
115
- parentRef: string;
116
- property?: any;
117
- propertyType?: any;
118
- isReadOnly?: boolean | undefined;
119
- };
120
- blur: {
121
- value: null;
122
- parentRef: string;
123
- unit?: string | number | undefined;
124
- property?: any;
125
- propertyType?: any;
126
- isReadOnly?: boolean | undefined;
127
- };
128
- spread: {
129
- value: null;
130
- parentRef: string;
131
- unit?: string | number | undefined;
132
- property?: any;
133
- propertyType?: any;
134
- isReadOnly?: boolean | undefined;
135
- };
136
- angle: {
137
- value: null;
138
- parentRef: string;
139
- unit?: string | number | undefined;
140
- property?: any;
141
- propertyType?: any;
142
- isReadOnly?: boolean | undefined;
143
- };
144
- borderRadius: {
145
- value: null;
146
- parentRef: string;
147
- isAll: boolean;
148
- sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
149
- property: string;
150
- iscss?: boolean | undefined;
151
- propertyType?: any;
152
- };
153
- font: {
154
- value: null;
155
- parentRef: string;
156
- property?: any;
157
- propertyType?: any;
158
- isReadOnly?: boolean | undefined;
159
- };
160
- fontSize: {
161
- value: null;
162
- parentRef: string;
163
- unit?: string | number | undefined;
164
- property?: any;
165
- propertyType?: any;
166
- isReadOnly?: boolean | undefined;
167
- };
168
- textColor: {
169
- value: null;
170
- parentRef: string;
171
- property?: any;
172
- propertyType?: any;
173
- isReadOnly?: boolean | undefined;
174
- };
175
- bold: {
176
- value: string;
177
- parentRef: string;
178
- property?: any;
179
- propertyType?: any;
180
- isReadOnly?: boolean | undefined;
181
- };
182
- italic: {
183
- value: null;
184
- parentRef: string;
185
- property?: any;
186
- propertyType?: any;
187
- isReadOnly?: boolean | undefined;
188
- };
189
- linethrough: {
190
- value: null;
191
- parentRef: string;
192
- property?: any;
193
- propertyType?: any;
194
- isReadOnly?: boolean | undefined;
195
- };
196
- underline: {
197
- value: null;
198
- parentRef: string;
199
- property?: any;
200
- propertyType?: any;
201
- isReadOnly?: boolean | undefined;
202
- };
203
- textAlign: {
204
- value: null;
205
- parentRef: string;
206
- property?: any;
207
- propertyType?: any;
208
- isReadOnly?: boolean | undefined;
209
- };
210
- characterSpacing: {
211
- value: null;
212
- parentRef: string;
213
- unit?: string | number | undefined;
214
- property?: any;
215
- propertyType?: any;
216
- isReadOnly?: boolean | undefined;
217
- };
218
- lineHeight: {
219
- value: null;
220
- parentRef: string;
221
- unit?: string | number | undefined;
222
- property?: any;
223
- propertyType?: any;
224
- isReadOnly?: boolean | undefined;
225
- };
226
- icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
227
- showIcon: {
228
- value: null;
229
- parentRef: string;
230
- property?: any;
231
- propertyType?: any;
232
- isReadOnly?: boolean | undefined;
233
- };
234
- iconSize: {
235
- value: null;
236
- parentRef: string;
237
- unit?: string | number | undefined;
238
- property?: any;
239
- propertyType?: any;
240
- isReadOnly?: boolean | undefined;
241
- };
242
- iconColor: {
243
- value: null;
244
- parentRef: string;
245
- property?: any;
246
- propertyType?: any;
247
- isReadOnly?: boolean | undefined;
248
- };
249
- buttonStyle: {
250
- value: string;
251
- parentRef: string;
252
- propertyType: CMSElementEditTypes;
253
- };
254
- buttonText: {
255
- value: string;
256
- property: string;
257
- propertyType: CMSElementEditTypes;
258
- };
259
- iconPadding: {
260
- value: number;
261
- property: string;
262
- parentRef: string;
263
- propertyType: CMSElementEditTypes;
264
- };
265
- iconPosition: {
266
- value: string;
267
- parentRef: string;
268
- propertyType: CMSElementEditTypes;
269
- };
270
- iconAndTextSpacing: {
271
- value: number;
272
- property: string;
273
- unit: number;
274
- parentRef: string;
275
- propertyType: CMSElementEditTypes;
276
- };
277
- alignment: {
278
- value: string;
279
- property: string;
280
- parentRef: string;
281
- propertyType: CMSElementEditTypes;
282
- };
283
- buttonType: {
284
- value: string;
285
- propertyType: CMSElementEditTypes;
286
- };
287
- };
288
- export declare const ButtonPropertiesHover: {
289
- backgroundColor: {
290
- value: null;
291
- parentRef: string;
292
- property?: any;
293
- propertyType?: any;
294
- isReadOnly?: boolean | undefined;
295
- };
296
- borderColor: {
297
- value: null;
298
- parentRef: string;
299
- property?: any;
300
- propertyType?: any;
301
- isReadOnly?: boolean | undefined;
302
- };
303
- borderStyle: {
304
- value: null;
305
- parentRef: string;
306
- property?: any;
307
- propertyType?: any;
308
- isReadOnly?: boolean | undefined;
309
- };
310
- borderPerSlide: {
311
- value: null;
312
- parentRef: string;
313
- isAll: boolean;
314
- sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
315
- property: string;
316
- iscss?: boolean | undefined;
317
- propertyType?: any;
318
- };
319
- showBorder: {
320
- value: boolean;
321
- parentRef: string;
322
- property?: any;
323
- propertyType?: any;
324
- isReadOnly?: boolean | undefined;
325
- };
326
- showShadow: {
327
- value: null;
328
- parentRef: string;
329
- property?: any;
330
- propertyType?: any;
331
- isReadOnly?: boolean | undefined;
332
- };
333
- shadowColor: {
334
- value: null;
335
- parentRef: string;
336
- property?: any;
337
- propertyType?: any;
338
- isReadOnly?: boolean | undefined;
339
- };
340
- blur: {
341
- value: null;
342
- parentRef: string;
343
- unit?: string | number | undefined;
344
- property?: any;
345
- propertyType?: any;
346
- isReadOnly?: boolean | undefined;
347
- };
348
- spread: {
349
- value: null;
350
- parentRef: string;
351
- unit?: string | number | undefined;
352
- property?: any;
353
- propertyType?: any;
354
- isReadOnly?: boolean | undefined;
355
- };
356
- angle: {
357
- value: null;
358
- parentRef: string;
359
- unit?: string | number | undefined;
360
- property?: any;
361
- propertyType?: any;
362
- isReadOnly?: boolean | undefined;
363
- };
364
- borderRadius: {
365
- value: null;
366
- parentRef: string;
367
- isAll: boolean;
368
- sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
369
- property: string;
370
- iscss?: boolean | undefined;
371
- propertyType?: any;
372
- };
373
- font: {
374
- value: null;
375
- parentRef: string;
376
- property?: any;
377
- propertyType?: any;
378
- isReadOnly?: boolean | undefined;
379
- };
380
- fontSize: {
381
- value: null;
382
- parentRef: string;
383
- unit?: string | number | undefined;
384
- property?: any;
385
- propertyType?: any;
386
- isReadOnly?: boolean | undefined;
387
- };
388
- textColor: {
389
- value: null;
390
- parentRef: string;
391
- property?: any;
392
- propertyType?: any;
393
- isReadOnly?: boolean | undefined;
394
- };
395
- bold: {
396
- value: string;
397
- parentRef: string;
398
- property?: any;
399
- propertyType?: any;
400
- isReadOnly?: boolean | undefined;
401
- };
402
- italic: {
403
- value: null;
404
- parentRef: string;
405
- property?: any;
406
- propertyType?: any;
407
- isReadOnly?: boolean | undefined;
408
- };
409
- linethrough: {
410
- value: null;
411
- parentRef: string;
412
- property?: any;
413
- propertyType?: any;
414
- isReadOnly?: boolean | undefined;
415
- };
416
- underline: {
417
- value: null;
418
- parentRef: string;
419
- property?: any;
420
- propertyType?: any;
421
- isReadOnly?: boolean | undefined;
422
- };
423
- textAlign: {
424
- value: null;
425
- parentRef: string;
426
- property?: any;
427
- propertyType?: any;
428
- isReadOnly?: boolean | undefined;
429
- };
430
- characterSpacing: {
431
- value: null;
432
- parentRef: string;
433
- unit?: string | number | undefined;
434
- property?: any;
435
- propertyType?: any;
436
- isReadOnly?: boolean | undefined;
437
- };
438
- lineHeight: {
439
- value: null;
440
- parentRef: string;
441
- unit?: string | number | undefined;
442
- property?: any;
443
- propertyType?: any;
444
- isReadOnly?: boolean | undefined;
445
- };
446
- icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
447
- showIcon: {
448
- value: null;
449
- parentRef: string;
450
- property?: any;
451
- propertyType?: any;
452
- isReadOnly?: boolean | undefined;
453
- };
454
- iconSize: {
455
- value: null;
456
- parentRef: string;
457
- unit?: string | number | undefined;
458
- property?: any;
459
- propertyType?: any;
460
- isReadOnly?: boolean | undefined;
461
- };
462
- iconColor: {
463
- value: null;
464
- parentRef: string;
465
- property?: any;
466
- propertyType?: any;
467
- isReadOnly?: boolean | undefined;
468
- };
469
- buttonStyle: {
470
- value: string;
471
- parentRef: string;
472
- propertyType: CMSElementEditTypes;
473
- };
474
- buttonText: {
475
- value: string;
476
- property: string;
477
- propertyType: CMSElementEditTypes;
478
- };
479
- iconPadding: {
480
- value: number;
481
- property: string;
482
- parentRef: string;
483
- propertyType: CMSElementEditTypes;
484
- };
485
- iconPosition: {
486
- value: string;
487
- parentRef: string;
488
- propertyType: CMSElementEditTypes;
489
- };
490
- iconAndTextSpacing: {
491
- value: number;
492
- property: string;
493
- unit: number;
494
- parentRef: string;
495
- propertyType: CMSElementEditTypes;
496
- };
497
- alignment: {
498
- value: string;
499
- property: string;
500
- parentRef: string;
501
- propertyType: CMSElementEditTypes;
502
- };
503
- buttonType: {
504
- value: string;
505
- propertyType: CMSElementEditTypes;
506
- };
507
- };
508
67
  export declare const getDefaultData: () => CMSElementEditPopupInterface<ButtonLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
@@ -0,0 +1,34 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ [key: string]: any;
5
+ }
6
+ export interface selfDesignInterface {
7
+ selectorKey: string;
8
+ widgetStyle?: {
9
+ selectorKey: string;
10
+ backgroundColor?: CMSIBCommonInterface;
11
+ borderColor?: CMSIBCommonInterface;
12
+ borderStyle?: CMSIBCommonInterface;
13
+ borderPerSlide?: CMSIBCommonInterface;
14
+ showBorder?: CMSIBCommonInterface;
15
+ showShadow?: CMSIBCommonInterface;
16
+ shadowColor?: CMSIBCommonInterface;
17
+ blur?: CMSIBCommonInterface;
18
+ spread?: CMSIBCommonInterface;
19
+ angle?: CMSIBCommonInterface;
20
+ borderRadius?: CMSIBCommonInterface;
21
+ };
22
+ divider: any;
23
+ [key: string]: any;
24
+ }
25
+ export declare enum ButtonSelectorKeysEnum {
26
+ LAYOUT = "layout",
27
+ DESIGN = "design",
28
+ FAQ_WIDGET = "faqWidget",
29
+ COLLAPSED_ACCRORDION_ITEM = "collapsedAccordionItem",
30
+ EXPANDED_ACCRORDION_ITEM = "expandedAccordionItem",
31
+ DIVIDER = "divider"
32
+ }
33
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
34
+ export {};