@sc-360-v2/storefront-cms-library 0.3.25 → 0.3.27

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,21 +1,346 @@
1
+ import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
1
2
  import { CMSIBCommonInterface } from "../../interfaces/global";
2
- import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ import { CMSElementEditPopupInterface } from "./common";
3
4
  export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
5
  }
5
- interface selfLayoutInterface {
6
- selectorKey: string;
7
- showTitle: CMSIBCommonInterface;
8
- showNumberOfItems: CMSIBCommonInterface;
9
- showEnterCouponCode: CMSIBCommonInterface;
10
- showSubTotal: CMSIBCommonInterface;
11
- }
12
- interface selfDesignInterface {
13
- selectorKey: string;
14
- }
15
6
  export declare enum SelectorKeysEnum {
16
7
  LAYOUT = "layout",
17
8
  CONTENT = "content",
18
- DESIGN = "design"
9
+ DESIGN = "design",
10
+ TITLE_CONTAINER_DESIGN = "titleContainerDesign",
11
+ TITLE_DESIGN = "titleDesign",
12
+ HEADING_TEXT_DESIGN = "headingTextDesign",
13
+ PRIMARY_TEXT_DESIGN = "primaryTextDesign",
14
+ TOTAL_AMOUNT_DESIGN = "totalAmountDesign",
15
+ SECONDARY_TEXT_DESIGN = "secondaryTextDesign",
16
+ PRIMARY_BUTTON_DESIGN = "primaryButtonDesign",
17
+ SECONDARY_BUTTON_DESIGN = "secondaryButtonDesign"
19
18
  }
20
- export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
21
- export {};
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
+ showTitle: {
42
+ value: boolean;
43
+ property: string;
44
+ propertyType: CMSElementEditTypes;
45
+ };
46
+ showNumberOfItems: {
47
+ value: boolean;
48
+ property: string;
49
+ propertyType: CMSElementEditTypes;
50
+ };
51
+ showEnterCouponCode: {
52
+ value: boolean;
53
+ property: string;
54
+ propertyType: CMSElementEditTypes;
55
+ };
56
+ showSubTotal: {
57
+ value: boolean;
58
+ property: string;
59
+ propertyType: CMSElementEditTypes;
60
+ };
61
+ showShippingCharges: {
62
+ value: boolean;
63
+ property: string;
64
+ propertyType: CMSElementEditTypes;
65
+ };
66
+ showTax: {
67
+ value: boolean;
68
+ property: string;
69
+ propertyType: CMSElementEditTypes;
70
+ };
71
+ showTaxExempt: {
72
+ value: boolean;
73
+ property: string;
74
+ propertyType: CMSElementEditTypes;
75
+ };
76
+ showTotal: {
77
+ value: boolean;
78
+ property: string;
79
+ propertyType: CMSElementEditTypes;
80
+ };
81
+ showProductInformation: {
82
+ value: boolean;
83
+ property: string;
84
+ propertyType: CMSElementEditTypes;
85
+ };
86
+ showProductImage: {
87
+ value: boolean;
88
+ property: string;
89
+ propertyType: CMSElementEditTypes;
90
+ };
91
+ showProductCode: {
92
+ value: boolean;
93
+ property: string;
94
+ propertyType: CMSElementEditTypes;
95
+ };
96
+ showProductPrice: {
97
+ value: boolean;
98
+ property: string;
99
+ propertyType: CMSElementEditTypes;
100
+ };
101
+ showProductQty: {
102
+ value: boolean;
103
+ property: string;
104
+ propertyType: CMSElementEditTypes;
105
+ };
106
+ showEstimatedDelivery: {
107
+ value: boolean;
108
+ property: string;
109
+ propertyType: CMSElementEditTypes;
110
+ };
111
+ itemGap: {
112
+ value: number;
113
+ property: string;
114
+ propertyType: CMSElementEditTypes;
115
+ unit: number;
116
+ };
117
+ showDivider: {
118
+ value: boolean;
119
+ property: string;
120
+ propertyType: CMSElementEditTypes;
121
+ };
122
+ headingPadding: {
123
+ value: number;
124
+ property: string;
125
+ propertyType: CMSElementEditTypes;
126
+ unit: number;
127
+ };
128
+ bodyPadding: {
129
+ value: number;
130
+ property: string;
131
+ propertyType: CMSElementEditTypes;
132
+ unit: number;
133
+ };
134
+ buttonPadding: {
135
+ value: number;
136
+ property: string;
137
+ propertyType: CMSElementEditTypes;
138
+ unit: number;
139
+ };
140
+ };
141
+ design: {
142
+ selectorKey: SelectorKeysEnum;
143
+ titleContainerDesign: {
144
+ borderColor: CMSIBCommonInterface;
145
+ borderStyle: CMSIBCommonInterface;
146
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
147
+ showBorder: CMSIBCommonInterface;
148
+ backgroundColor: CMSIBCommonInterface;
149
+ showShadow: CMSIBCommonInterface;
150
+ shadowColor: CMSIBCommonInterface;
151
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
152
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
153
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
154
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
155
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
156
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
157
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
158
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
159
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
160
+ selectorKey: SelectorKeysEnum;
161
+ };
162
+ titleDesign: {
163
+ theme: CMSIBCommonInterface;
164
+ font: CMSIBCommonInterface;
165
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
166
+ textColor: CMSIBCommonInterface;
167
+ bold: CMSIBCommonInterface;
168
+ italic: CMSIBCommonInterface;
169
+ linethrough: CMSIBCommonInterface;
170
+ underline: CMSIBCommonInterface;
171
+ textAlign: CMSIBCommonInterface;
172
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
173
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
174
+ selectorKey: SelectorKeysEnum;
175
+ };
176
+ headingTextDesign: {
177
+ theme: CMSIBCommonInterface;
178
+ font: CMSIBCommonInterface;
179
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
180
+ textColor: CMSIBCommonInterface;
181
+ bold: CMSIBCommonInterface;
182
+ italic: CMSIBCommonInterface;
183
+ linethrough: CMSIBCommonInterface;
184
+ underline: CMSIBCommonInterface;
185
+ textAlign: CMSIBCommonInterface;
186
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
187
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
188
+ selectorKey: SelectorKeysEnum;
189
+ };
190
+ primaryTextDesign: {
191
+ theme: CMSIBCommonInterface;
192
+ font: CMSIBCommonInterface;
193
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
194
+ textColor: CMSIBCommonInterface;
195
+ bold: CMSIBCommonInterface;
196
+ italic: CMSIBCommonInterface;
197
+ linethrough: CMSIBCommonInterface;
198
+ underline: CMSIBCommonInterface;
199
+ textAlign: CMSIBCommonInterface;
200
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
201
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
202
+ selectorKey: SelectorKeysEnum;
203
+ };
204
+ secondaryTextDesign: {
205
+ theme: CMSIBCommonInterface;
206
+ font: CMSIBCommonInterface;
207
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
208
+ textColor: CMSIBCommonInterface;
209
+ bold: CMSIBCommonInterface;
210
+ italic: CMSIBCommonInterface;
211
+ linethrough: CMSIBCommonInterface;
212
+ underline: CMSIBCommonInterface;
213
+ textAlign: CMSIBCommonInterface;
214
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
215
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
216
+ selectorKey: SelectorKeysEnum;
217
+ };
218
+ totalAmountDesign: {
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
+ selectorKey: SelectorKeysEnum;
231
+ };
232
+ primaryButtonDesign: {
233
+ theme: CMSIBCommonInterface;
234
+ font: CMSIBCommonInterface;
235
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
236
+ textColor: CMSIBCommonInterface;
237
+ bold: CMSIBCommonInterface;
238
+ italic: CMSIBCommonInterface;
239
+ linethrough: CMSIBCommonInterface;
240
+ underline: CMSIBCommonInterface;
241
+ textAlign: CMSIBCommonInterface;
242
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
243
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
244
+ borderColor: CMSIBCommonInterface;
245
+ borderStyle: CMSIBCommonInterface;
246
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
247
+ showBorder: CMSIBCommonInterface;
248
+ backgroundColor: CMSIBCommonInterface;
249
+ showShadow: CMSIBCommonInterface;
250
+ shadowColor: CMSIBCommonInterface;
251
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
252
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
253
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
254
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
255
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
256
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
257
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
258
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
259
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
260
+ selectorKey: SelectorKeysEnum;
261
+ };
262
+ secondaryButtonDesign: {
263
+ theme: CMSIBCommonInterface;
264
+ font: CMSIBCommonInterface;
265
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
266
+ textColor: CMSIBCommonInterface;
267
+ bold: CMSIBCommonInterface;
268
+ italic: CMSIBCommonInterface;
269
+ linethrough: CMSIBCommonInterface;
270
+ underline: CMSIBCommonInterface;
271
+ textAlign: CMSIBCommonInterface;
272
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
273
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
274
+ borderColor: CMSIBCommonInterface;
275
+ borderStyle: CMSIBCommonInterface;
276
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
277
+ showBorder: CMSIBCommonInterface;
278
+ backgroundColor: CMSIBCommonInterface;
279
+ showShadow: CMSIBCommonInterface;
280
+ shadowColor: CMSIBCommonInterface;
281
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
282
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
283
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
284
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
285
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
286
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
287
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
288
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
289
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
290
+ selectorKey: SelectorKeysEnum;
291
+ };
292
+ };
293
+ content: {
294
+ selectorKey: SelectorKeysEnum;
295
+ title: {
296
+ value: string;
297
+ property: string;
298
+ propertyType: CMSElementEditTypes;
299
+ };
300
+ checkOutButtonText: {
301
+ value: string;
302
+ property: string;
303
+ propertyType: CMSElementEditTypes;
304
+ };
305
+ subTotalLabel: {
306
+ value: string;
307
+ property: string;
308
+ propertyType: CMSElementEditTypes;
309
+ };
310
+ numberOfItemsLabel: {
311
+ value: string;
312
+ property: string;
313
+ propertyType: CMSElementEditTypes;
314
+ };
315
+ taxLabel: {
316
+ value: string;
317
+ property: string;
318
+ propertyType: CMSElementEditTypes;
319
+ };
320
+ taxExemptLabel: {
321
+ value: string;
322
+ property: string;
323
+ propertyType: CMSElementEditTypes;
324
+ };
325
+ shippingChargesLabel: {
326
+ value: string;
327
+ property: string;
328
+ propertyType: CMSElementEditTypes;
329
+ };
330
+ enterCouponCodeLabel: {
331
+ value: string;
332
+ property: string;
333
+ propertyType: CMSElementEditTypes;
334
+ };
335
+ applyCouponCodeLabel: {
336
+ value: string;
337
+ property: string;
338
+ propertyType: CMSElementEditTypes;
339
+ };
340
+ totalLabel: {
341
+ value: string;
342
+ property: string;
343
+ propertyType: CMSElementEditTypes;
344
+ };
345
+ };
346
+ };