@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.
- package/dist/builder.js +1 -1
- package/dist/cart-details.scss +198 -200
- package/dist/cart-summary.scss +179 -114
- package/dist/cartAttributes.scss +92 -24
- package/dist/form-preview.scss +11 -0
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/modal.scss +100 -35
- package/dist/order-status.scss +8 -4
- package/dist/quick-order-pad.scss +63 -2
- package/dist/section.scss +6 -0
- package/dist/types/builder/elements/cart-summary/index.d.ts +27 -0
- package/dist/types/builder/elements/form-builder/index.d.ts +226 -27
- package/dist/types/builder/enums/index.d.ts +8 -3
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/cartAttributes.d.ts +175 -7
- package/dist/types/builder/tools/element-edit/cartDetails.d.ts +5 -0
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +339 -14
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +125 -242
- package/dist/widget.scss +0 -1
- package/package.json +1 -1
|
@@ -25,7 +25,9 @@ export declare enum FormComponentTypeEnum {
|
|
|
25
25
|
}
|
|
26
26
|
export declare enum FormElementTypeEnum {
|
|
27
27
|
Button = "button",
|
|
28
|
+
Boolean = "boolean",
|
|
28
29
|
Checkbox = "checkbox",
|
|
30
|
+
ColorPicker = "color",
|
|
29
31
|
Date = "date",
|
|
30
32
|
DateTime = "datetime-local",
|
|
31
33
|
Email = "email",
|
|
@@ -34,6 +36,7 @@ export declare enum FormElementTypeEnum {
|
|
|
34
36
|
Month = "month",
|
|
35
37
|
Number = "number",
|
|
36
38
|
Password = "password",
|
|
39
|
+
Percent = "percent",
|
|
37
40
|
Radio = "radio",
|
|
38
41
|
Rating = "rating",
|
|
39
42
|
ResetButton = "reset",
|
|
@@ -42,6 +45,7 @@ export declare enum FormElementTypeEnum {
|
|
|
42
45
|
Tel = "tel",
|
|
43
46
|
Text = "text",
|
|
44
47
|
Textarea = "textarea",
|
|
48
|
+
TextEditor = "texteditor",
|
|
45
49
|
Time = "time",
|
|
46
50
|
Url = "url",
|
|
47
51
|
Week = "week"
|
|
@@ -57,12 +61,15 @@ export declare enum FormElementIdEnum {
|
|
|
57
61
|
Honorific = "Honorific",
|
|
58
62
|
Gender = "Gender",
|
|
59
63
|
Address = "Address",
|
|
64
|
+
ColorPicker = "colorPicker",
|
|
60
65
|
InputText = "InputText",
|
|
66
|
+
Percent = "percent",
|
|
61
67
|
ShortAnswer = "ShortAnswer",
|
|
62
68
|
LongAnswer = "LongAnswer",
|
|
63
69
|
Number = "Number",
|
|
64
70
|
Link = "Link",
|
|
65
|
-
|
|
71
|
+
FileUpload = "FileUpload",
|
|
72
|
+
ImageUpload = "ImageUpload",
|
|
66
73
|
Rating = "Rating",
|
|
67
74
|
SingleChoice = "SingleChoice",
|
|
68
75
|
MultiChoice = "MultiChoice",
|
|
@@ -72,61 +79,148 @@ export declare enum FormElementIdEnum {
|
|
|
72
79
|
Date = "Date",
|
|
73
80
|
DateTime = "DateTime",
|
|
74
81
|
Time = "Time",
|
|
82
|
+
Currency = "currency",
|
|
75
83
|
SubmitButton = "SubmitButton",
|
|
76
84
|
ResetButton = "ResetButton",
|
|
77
85
|
LoginButton = "LoginButton",
|
|
78
86
|
SignupButton = "SignupButton",
|
|
87
|
+
Boolean = "boolean",
|
|
79
88
|
Header = "Header",
|
|
80
|
-
Text = "Text"
|
|
89
|
+
Text = "Text",
|
|
90
|
+
TextEditor = "TextEditor"
|
|
91
|
+
}
|
|
92
|
+
export declare enum FormIconEnum {
|
|
93
|
+
FirstName = "firstname-fb",
|
|
94
|
+
LastName = "lastname-fb",
|
|
95
|
+
UserName = "users-02",
|
|
96
|
+
Email = "email-fb",
|
|
97
|
+
Password = "password-fb",
|
|
98
|
+
Phone = "phone-fb",
|
|
99
|
+
DateOfBirth = "dob-fb",
|
|
100
|
+
Honorific = "honorific-fb",
|
|
101
|
+
Gender = "user-circle",
|
|
102
|
+
Address = "address-fb",
|
|
103
|
+
ColorPicker = "colorpicker-fb",
|
|
104
|
+
InputText = "input-type",
|
|
105
|
+
Percent = "percent-fb",
|
|
106
|
+
ShortAnswer = "short-answer-fb",
|
|
107
|
+
LongAnswer = "long-answer-fb",
|
|
108
|
+
Number = "number-fb",
|
|
109
|
+
Link = "link-fb",
|
|
110
|
+
FileUpload = "upload-fb",
|
|
111
|
+
ImageUpload = "image-upload-fb",
|
|
112
|
+
Rating = "star-rating-fb",
|
|
113
|
+
SingleChoice = "single-select-fb",
|
|
114
|
+
MultiChoice = "multi-select-fb",
|
|
115
|
+
DropDown = "dropdown-fb",
|
|
116
|
+
Checkbox = "checkbox-fb",
|
|
117
|
+
DatePicker = "datepicker-fb",
|
|
118
|
+
Date = "date-fb",
|
|
119
|
+
DateTime = "date-and-time-fb",
|
|
120
|
+
Time = "time-fb",
|
|
121
|
+
Currency = "currency-fb",
|
|
122
|
+
SubmitButton = "submit-fb",
|
|
123
|
+
ResetButton = "reset-fb",
|
|
124
|
+
LoginButton = "log-in",
|
|
125
|
+
SignupButton = "user-plus",
|
|
126
|
+
Boolean = "boolean-fb",
|
|
127
|
+
Header = "heading-fb",
|
|
128
|
+
Text = "text-fb",
|
|
129
|
+
TextEditor = "editor-fb"
|
|
81
130
|
}
|
|
82
131
|
export interface FormComponentConfig {
|
|
83
|
-
|
|
132
|
+
allowAlphaNumeric?: boolean;
|
|
133
|
+
allowDecimal?: boolean;
|
|
134
|
+
allowNegativeNumber?: boolean;
|
|
135
|
+
allowOnlyOne: boolean;
|
|
136
|
+
captionsSrc?: string;
|
|
137
|
+
convertTextToLowerCase?: boolean;
|
|
138
|
+
convertTextToUpperCase?: boolean;
|
|
139
|
+
customAttributeKey?: string;
|
|
140
|
+
defaultErrorMessage?: {
|
|
141
|
+
value: string;
|
|
142
|
+
state: boolean;
|
|
143
|
+
};
|
|
144
|
+
defaultValue?: any;
|
|
145
|
+
description?: {
|
|
146
|
+
value: string;
|
|
147
|
+
state: boolean;
|
|
148
|
+
};
|
|
149
|
+
docLimit?: {
|
|
150
|
+
value: string;
|
|
151
|
+
state: boolean;
|
|
152
|
+
};
|
|
153
|
+
fieldKey?: string;
|
|
154
|
+
fieldType: FormElementTypeEnum;
|
|
155
|
+
fileTypes?: number[];
|
|
156
|
+
h: number;
|
|
157
|
+
href?: string;
|
|
158
|
+
html?: string;
|
|
84
159
|
icon?: string;
|
|
160
|
+
id: FormElementIdEnum;
|
|
161
|
+
isMultiple?: boolean;
|
|
162
|
+
isDateRange?: boolean;
|
|
85
163
|
label: {
|
|
86
164
|
value: string;
|
|
87
165
|
state: boolean;
|
|
88
166
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
167
|
+
range?: {
|
|
168
|
+
value: {
|
|
169
|
+
min: number;
|
|
170
|
+
max: number;
|
|
171
|
+
};
|
|
172
|
+
state: boolean;
|
|
173
|
+
};
|
|
174
|
+
maxFileSize?: {
|
|
92
175
|
value: string;
|
|
93
176
|
state: boolean;
|
|
94
177
|
};
|
|
95
|
-
|
|
178
|
+
options?: string[];
|
|
179
|
+
placeholder: {
|
|
96
180
|
value: string;
|
|
97
181
|
state: boolean;
|
|
98
182
|
};
|
|
99
|
-
|
|
183
|
+
removeSpecialCharacters?: boolean;
|
|
184
|
+
required: boolean;
|
|
185
|
+
resolution?: {
|
|
100
186
|
value: {
|
|
101
187
|
min: number;
|
|
102
188
|
max: number;
|
|
103
189
|
};
|
|
104
190
|
state: boolean;
|
|
105
191
|
};
|
|
106
|
-
defaultValue?: any;
|
|
107
|
-
fieldKey?: string;
|
|
108
|
-
options?: string[];
|
|
109
|
-
src?: string;
|
|
110
|
-
captionsSrc?: string;
|
|
111
|
-
customAttributeKey?: string;
|
|
112
|
-
href?: string;
|
|
113
|
-
html?: string;
|
|
114
192
|
showElementProperties: ElementSettingEnum[];
|
|
193
|
+
specialCharactersToExclude?: {
|
|
194
|
+
value: string;
|
|
195
|
+
state: boolean;
|
|
196
|
+
};
|
|
197
|
+
src?: string;
|
|
115
198
|
type: FormComponentTypeEnum;
|
|
116
|
-
fieldType: FormElementTypeEnum;
|
|
117
199
|
w: number;
|
|
118
|
-
h: number;
|
|
119
|
-
allowOnlyOne: boolean;
|
|
120
200
|
}
|
|
121
201
|
export declare enum ElementSettingEnum {
|
|
122
202
|
LABEL = 1,
|
|
123
203
|
REQUIRED = 2,
|
|
124
204
|
PLACEHOLDER = 3,
|
|
125
205
|
DESCRIPTION = 4,
|
|
126
|
-
|
|
206
|
+
LIMIT_CHARACTERS = 5,
|
|
127
207
|
MULTI_TOGGLE = 6,
|
|
128
208
|
OPTIONS = 7,
|
|
129
|
-
|
|
209
|
+
BUTTON_TYPE = 8,
|
|
210
|
+
DEFAULT_ERROR_MESSAGE = 9,
|
|
211
|
+
CONVERT_TEXT_TO_UPPER_CASE = 10,
|
|
212
|
+
CONVERT_TEXT_TO_LOWER_CASE = 11,
|
|
213
|
+
REMOVE_SPECIAL_CHARACTERS = 12,
|
|
214
|
+
ALLOW_ALPHA_NUMERIC = 13,
|
|
215
|
+
SPECIAL_CHARACTERS_TO_EXCLUDE = 14,
|
|
216
|
+
ALLOW_NEGATIVE_NUMBER = 15,
|
|
217
|
+
ALLOW_DECIMAL = 16,
|
|
218
|
+
MAX_FILE_SIZE = 17,
|
|
219
|
+
RESOLUTION = 18,
|
|
220
|
+
DOC_LIMIT = 19,
|
|
221
|
+
FILE_TYPES = 20,
|
|
222
|
+
SHOW_DATE_RANGE = 21,
|
|
223
|
+
LIMIT_DATE_RANGE = 22
|
|
130
224
|
}
|
|
131
225
|
export interface SidebarElementItem extends FormComponentConfig {
|
|
132
226
|
categoryId?: number;
|
|
@@ -178,15 +272,37 @@ export declare enum FormRequiredFieldPlacement {
|
|
|
178
272
|
BeforeField = 1,
|
|
179
273
|
AfterField = 2
|
|
180
274
|
}
|
|
181
|
-
export declare enum
|
|
275
|
+
export declare enum GenderEnum {
|
|
182
276
|
MALE = 1,
|
|
183
277
|
FEMALE = 2,
|
|
184
278
|
OTHER = 3
|
|
185
279
|
}
|
|
186
280
|
export declare const genderConstant: {
|
|
187
281
|
label: string;
|
|
188
|
-
value:
|
|
282
|
+
value: GenderEnum;
|
|
189
283
|
}[];
|
|
284
|
+
export declare enum ImageTypeEnum {
|
|
285
|
+
JPG = 1,
|
|
286
|
+
JPEG = 2,
|
|
287
|
+
PNG = 3,
|
|
288
|
+
GIF = 4,
|
|
289
|
+
TIFF = 5,
|
|
290
|
+
BMP = 6,
|
|
291
|
+
WEBP = 7,
|
|
292
|
+
AVIF = 8
|
|
293
|
+
}
|
|
294
|
+
export declare enum FileTypeEnum {
|
|
295
|
+
DOC = 1,
|
|
296
|
+
DOCX = 2,
|
|
297
|
+
PDF = 3,
|
|
298
|
+
XLS = 4,
|
|
299
|
+
XLSX = 5,
|
|
300
|
+
PPT = 6,
|
|
301
|
+
PPTX = 7,
|
|
302
|
+
TXT = 8,
|
|
303
|
+
RTF = 9,
|
|
304
|
+
CSV = 10
|
|
305
|
+
}
|
|
190
306
|
export declare enum AttributeDataType {
|
|
191
307
|
STRING = 1,
|
|
192
308
|
DATE = 2,
|
|
@@ -204,9 +320,92 @@ export declare enum AttributeDataType {
|
|
|
204
320
|
SELECT = 14,
|
|
205
321
|
TEXTEDITOR = 15
|
|
206
322
|
}
|
|
207
|
-
export declare function
|
|
208
|
-
id
|
|
209
|
-
|
|
323
|
+
export declare function createAttributeFieldMap(attr: any): {
|
|
324
|
+
id?: undefined;
|
|
325
|
+
allowAlphaNumeric?: undefined;
|
|
326
|
+
allowDecimal?: undefined;
|
|
327
|
+
allowNegativeNumber?: undefined;
|
|
328
|
+
allowOnlyOne?: undefined;
|
|
329
|
+
convertTextToLowerCase?: undefined;
|
|
330
|
+
convertTextToUpperCase?: undefined;
|
|
331
|
+
customAttributeKey?: undefined;
|
|
332
|
+
defaultErrorMessage?: undefined;
|
|
333
|
+
defaultValue?: undefined;
|
|
334
|
+
description?: undefined;
|
|
335
|
+
docLimit?: undefined;
|
|
336
|
+
fieldType?: undefined;
|
|
337
|
+
fileTypes?: undefined;
|
|
338
|
+
icon?: undefined;
|
|
339
|
+
isMultiple?: undefined;
|
|
340
|
+
isDateRange?: undefined;
|
|
341
|
+
label?: undefined;
|
|
342
|
+
range?: undefined;
|
|
343
|
+
maxFileSize?: undefined;
|
|
344
|
+
options?: undefined;
|
|
345
|
+
placeholder?: undefined;
|
|
346
|
+
removeSpecialCharacters?: undefined;
|
|
347
|
+
required?: undefined;
|
|
348
|
+
resolution?: undefined;
|
|
349
|
+
showElementProperties?: undefined;
|
|
350
|
+
specialCharactersToExclude?: undefined;
|
|
351
|
+
type?: undefined;
|
|
352
|
+
} | {
|
|
353
|
+
id: any;
|
|
354
|
+
allowAlphaNumeric: boolean;
|
|
355
|
+
allowDecimal: any;
|
|
356
|
+
allowNegativeNumber: any;
|
|
357
|
+
allowOnlyOne: boolean;
|
|
358
|
+
convertTextToLowerCase: boolean;
|
|
359
|
+
convertTextToUpperCase: boolean;
|
|
360
|
+
customAttributeKey: any;
|
|
361
|
+
defaultErrorMessage: {
|
|
362
|
+
value: any;
|
|
363
|
+
state: boolean;
|
|
364
|
+
};
|
|
365
|
+
defaultValue: any;
|
|
366
|
+
description: {
|
|
367
|
+
value: any;
|
|
368
|
+
state: boolean;
|
|
369
|
+
};
|
|
370
|
+
docLimit: {
|
|
371
|
+
value: any;
|
|
372
|
+
state: boolean;
|
|
373
|
+
};
|
|
210
374
|
fieldType: FormElementTypeEnum;
|
|
211
|
-
|
|
375
|
+
fileTypes: number[];
|
|
376
|
+
icon: FormIconEnum;
|
|
377
|
+
isMultiple: boolean;
|
|
378
|
+
isDateRange: boolean;
|
|
379
|
+
label: {
|
|
380
|
+
value: any;
|
|
381
|
+
state: boolean;
|
|
382
|
+
};
|
|
383
|
+
range: {
|
|
384
|
+
value: {
|
|
385
|
+
min: any;
|
|
386
|
+
max: any;
|
|
387
|
+
};
|
|
388
|
+
state: boolean;
|
|
389
|
+
};
|
|
390
|
+
maxFileSize: any;
|
|
391
|
+
options: any[];
|
|
392
|
+
placeholder: {
|
|
393
|
+
value: any;
|
|
394
|
+
state: boolean;
|
|
395
|
+
};
|
|
396
|
+
removeSpecialCharacters: any;
|
|
397
|
+
required: boolean;
|
|
398
|
+
resolution: {
|
|
399
|
+
value: {
|
|
400
|
+
min: any;
|
|
401
|
+
max: any;
|
|
402
|
+
};
|
|
403
|
+
state: boolean;
|
|
404
|
+
};
|
|
405
|
+
showElementProperties: never[];
|
|
406
|
+
specialCharactersToExclude: {
|
|
407
|
+
value: any;
|
|
408
|
+
state: boolean;
|
|
409
|
+
};
|
|
410
|
+
type: FormComponentTypeEnum;
|
|
212
411
|
};
|
|
@@ -71,7 +71,8 @@ export declare enum CMSToolIdTypes {
|
|
|
71
71
|
spotlightWrapper = "cms-spotlight-wrapper",
|
|
72
72
|
TEXTELEMENTDOBLECLICK = "data-cms-tt-ee-dbl-clkd",
|
|
73
73
|
menuWrapperV2 = "cms-menu-v2-wrapper",
|
|
74
|
-
menuItemWrapper = "cms-menu-item-wrapper"
|
|
74
|
+
menuItemWrapper = "cms-menu-item-wrapper",
|
|
75
|
+
animation = "flex-animation-element"
|
|
75
76
|
}
|
|
76
77
|
export declare enum CMSElementSelectors {
|
|
77
78
|
iframeSelector = "iframe[data-title='iframe__playground']",
|
|
@@ -139,6 +140,8 @@ export declare enum CMSToolAttributes {
|
|
|
139
140
|
id = "data-cms-tool",
|
|
140
141
|
state = "data-cms-state",
|
|
141
142
|
style = "data-style-id",
|
|
143
|
+
animation = "data-anim-id",
|
|
144
|
+
animationAttr = "data-anim-type",
|
|
142
145
|
pageId = "data-page-id",
|
|
143
146
|
dataDivType = "data-div-type",
|
|
144
147
|
dataElementSubChild = "data-element-sub-child",
|
|
@@ -387,14 +390,16 @@ export declare enum CMSCustomEventsListEnums {
|
|
|
387
390
|
IMAGE_CROP = "imageCrop",
|
|
388
391
|
IMAGE_CROP_TEMP_DATA = "imageCropTempData",
|
|
389
392
|
FORM_BUILDER_STATE = "formBuilderState",
|
|
390
|
-
EMBROIDERY_PLAYGROUND_STATE = "embroideryPlaygroundState"
|
|
393
|
+
EMBROIDERY_PLAYGROUND_STATE = "embroideryPlaygroundState",
|
|
394
|
+
FLEX_BUILDER_ANIMATION_TEMP_STATE = "flexBuilderAnimationTempState"
|
|
391
395
|
}
|
|
392
396
|
export declare enum FlexAppVersionEnums {
|
|
393
397
|
NESTEDJSON = 1,
|
|
394
398
|
FLATJSON = 2
|
|
395
399
|
}
|
|
396
400
|
export declare enum FlexDefaultValues {
|
|
397
|
-
FLEXLIGHTBOXCLOSEBTN = "isLightboxCloseIconKey"
|
|
401
|
+
FLEXLIGHTBOXCLOSEBTN = "isLightboxCloseIconKey",
|
|
402
|
+
FLEX_ELEMENET_ANIMATION_KEY = "animationData"
|
|
398
403
|
}
|
|
399
404
|
export declare enum SkeletonItems {
|
|
400
405
|
PLACEHOLDER_IMAGE = "/00000000-0000-0000-0000-000000000000/development/img-placeholder.jpg"
|
|
@@ -41,6 +41,7 @@ import * as ElementEditSchema from "./tools/element-edit/index";
|
|
|
41
41
|
import * as lightboxSchema from "./elements/lightbox/index";
|
|
42
42
|
import * as cartSchema from "./elements/cart/index";
|
|
43
43
|
import * as checkoutSchema from "./elements/checkout/index";
|
|
44
|
+
import * as cartSummarySchema from "./elements/cart-summary/index";
|
|
44
45
|
import * as profileSchema from "./elements/profile/index";
|
|
45
46
|
import * as repeaterSchema from "./elements/repeater/index";
|
|
46
47
|
import * as brandSchema from "./elements/brand/index";
|
|
@@ -82,4 +83,4 @@ import * as filterResultsSchema from "./elements/filter-results/index";
|
|
|
82
83
|
import * as productSizeChartSchema from "./elements/product-sizechart/index";
|
|
83
84
|
import * as badgeSchema from "./elements/badge/index";
|
|
84
85
|
import * as cartAttributesSchema from "./elements/cart-attributes/index";
|
|
85
|
-
export { ElementEditSchema, amountEstimatorSchema, bulkVariantPickerSchema, buttonSchema, cmsTypes, codeSchema, commonFunctions, containerSchema, countdownSchema, embedSchema, enums, faqSchema, gallerySliderSchema, gridSchema, imageHotspotSchema, imageSchema, interfaces, mapSchema, paymentMethodsSchema, pickupLocationsSchema, priceSchema, productActionsSchema, productHighlightsSchema, productImageSchema, productInventorySchema, productPromotionsSchema, quantitySelectorSchema, scrollSchema, sectionSchema, shippingEstimatorSchema, socialIconsSchema, stackSchema, storeLocationsSchema, tabSchema, tableSchema, textSchema, uomSelectorSchema, variantPickerSchema, videoSChema, volumePricingSchema, lightboxSchema, cartSchema, profileSchema, productSchema, repeaterSchema, brandSchema, bundleSchema, bundleDetailsSchema, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, createFormSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, tabsV2Schema, tabsContainerSchema, marchandiserSetsSchema, formBuilder, quickLinksSchema, addOrderSchema, buyForTabsSchema, buyForTabsContainerSchema, checkoutSchema, toasterSchema, spotlightSchema, productCustomizationsSchema, iconListSchema, orderStatusSchema, menuV2Schema, menuItemSchema, layouterProSchema, layouterProItemSchema, userElementsSchema, filterResultsSchema, productSizeChartSchema, badgeSchema, cartAttributesSchema, };
|
|
86
|
+
export { ElementEditSchema, amountEstimatorSchema, bulkVariantPickerSchema, buttonSchema, cmsTypes, codeSchema, commonFunctions, containerSchema, countdownSchema, embedSchema, enums, faqSchema, gallerySliderSchema, gridSchema, imageHotspotSchema, imageSchema, interfaces, mapSchema, paymentMethodsSchema, pickupLocationsSchema, priceSchema, productActionsSchema, productHighlightsSchema, productImageSchema, productInventorySchema, productPromotionsSchema, quantitySelectorSchema, scrollSchema, sectionSchema, shippingEstimatorSchema, socialIconsSchema, stackSchema, storeLocationsSchema, tabSchema, tableSchema, textSchema, uomSelectorSchema, variantPickerSchema, videoSChema, volumePricingSchema, lightboxSchema, cartSchema, profileSchema, productSchema, repeaterSchema, brandSchema, bundleSchema, bundleDetailsSchema, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, createFormSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, tabsV2Schema, tabsContainerSchema, marchandiserSetsSchema, formBuilder, quickLinksSchema, addOrderSchema, buyForTabsSchema, buyForTabsContainerSchema, checkoutSchema, cartSummarySchema, toasterSchema, spotlightSchema, productCustomizationsSchema, iconListSchema, orderStatusSchema, menuV2Schema, menuItemSchema, layouterProSchema, layouterProItemSchema, userElementsSchema, filterResultsSchema, productSizeChartSchema, badgeSchema, cartAttributesSchema, };
|
|
@@ -1,13 +1,181 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
selectorKey: string;
|
|
4
|
-
}
|
|
1
|
+
import { CMSElementEditTypes } from "../../enums";
|
|
2
|
+
import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
|
|
5
3
|
export interface selfDesignInterface {
|
|
6
4
|
selectorKey: string;
|
|
7
5
|
}
|
|
8
6
|
export declare enum cartSelectorKeysEnum {
|
|
9
7
|
LAYOUT = "layout",
|
|
10
|
-
DESIGN = "design"
|
|
8
|
+
DESIGN = "design",
|
|
9
|
+
CART_ATTRIBUTE_CONTAINER = "cartAttributesContainer",
|
|
10
|
+
CART_ATTRIBUTE_HEADER = "cartAttributesHeader",
|
|
11
|
+
CART_ATTRIBUTE_ITEMS_LABEL = "cartAttributesItems",
|
|
12
|
+
CART_ATTRIBUTE_ITEMS_FIELD = " cartAttributesItemsField"
|
|
11
13
|
}
|
|
12
|
-
export declare const getDefaultData: () =>
|
|
13
|
-
|
|
14
|
+
export declare const getDefaultData: () => {
|
|
15
|
+
layout: {
|
|
16
|
+
selectorKey: cartSelectorKeysEnum;
|
|
17
|
+
width: {
|
|
18
|
+
value: string;
|
|
19
|
+
unit: number;
|
|
20
|
+
};
|
|
21
|
+
height: {
|
|
22
|
+
value: string;
|
|
23
|
+
unit: number;
|
|
24
|
+
property?: any;
|
|
25
|
+
propertyType?: any;
|
|
26
|
+
isReadOnly?: boolean | undefined;
|
|
27
|
+
parentRef?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
30
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
31
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
32
|
+
pinTo: CMSIBCommonInterface | undefined;
|
|
33
|
+
cartAttributesTitle: {
|
|
34
|
+
value: string;
|
|
35
|
+
propertyType: CMSElementEditTypes;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
design: {
|
|
39
|
+
selectorKey: cartSelectorKeysEnum;
|
|
40
|
+
cartAttributesContainer: {
|
|
41
|
+
theme: CMSIBCommonInterface;
|
|
42
|
+
font: CMSIBCommonInterface;
|
|
43
|
+
fontSize: CMSIBSizeInterface;
|
|
44
|
+
textColor: CMSIBCommonInterface;
|
|
45
|
+
bold: CMSIBCommonInterface;
|
|
46
|
+
italic: CMSIBCommonInterface;
|
|
47
|
+
linethrough: CMSIBCommonInterface;
|
|
48
|
+
underline: CMSIBCommonInterface;
|
|
49
|
+
textAlign: CMSIBCommonInterface;
|
|
50
|
+
characterSpacing: CMSIBSizeInterface;
|
|
51
|
+
lineHeight: CMSIBSizeInterface;
|
|
52
|
+
backgroundColor: CMSIBCommonInterface;
|
|
53
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
54
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
55
|
+
iconSize: CMSIBSizeInterface;
|
|
56
|
+
iconColor: CMSIBCommonInterface;
|
|
57
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
58
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
59
|
+
borderColor: CMSIBCommonInterface;
|
|
60
|
+
borderStyle: CMSIBCommonInterface;
|
|
61
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
62
|
+
showBorder: CMSIBCommonInterface;
|
|
63
|
+
showShadow: CMSIBCommonInterface;
|
|
64
|
+
shadowColor: CMSIBCommonInterface;
|
|
65
|
+
blur: CMSIBSizeInterface;
|
|
66
|
+
spread: CMSIBSizeInterface;
|
|
67
|
+
angle: CMSIBSizeInterface;
|
|
68
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
69
|
+
exposure: CMSIBSizeInterface;
|
|
70
|
+
contrast: CMSIBSizeInterface;
|
|
71
|
+
saturation: CMSIBSizeInterface;
|
|
72
|
+
highlights: CMSIBSizeInterface;
|
|
73
|
+
shadows: CMSIBSizeInterface;
|
|
74
|
+
selectorKey: cartSelectorKeysEnum;
|
|
75
|
+
};
|
|
76
|
+
cartAttributesHeader: {
|
|
77
|
+
theme: CMSIBCommonInterface;
|
|
78
|
+
font: CMSIBCommonInterface;
|
|
79
|
+
fontSize: CMSIBSizeInterface;
|
|
80
|
+
textColor: CMSIBCommonInterface;
|
|
81
|
+
bold: CMSIBCommonInterface;
|
|
82
|
+
italic: CMSIBCommonInterface;
|
|
83
|
+
linethrough: CMSIBCommonInterface;
|
|
84
|
+
underline: CMSIBCommonInterface;
|
|
85
|
+
textAlign: CMSIBCommonInterface;
|
|
86
|
+
characterSpacing: CMSIBSizeInterface;
|
|
87
|
+
lineHeight: CMSIBSizeInterface;
|
|
88
|
+
backgroundColor: CMSIBCommonInterface;
|
|
89
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
90
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
91
|
+
iconSize: CMSIBSizeInterface;
|
|
92
|
+
iconColor: CMSIBCommonInterface;
|
|
93
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
94
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
95
|
+
borderColor: CMSIBCommonInterface;
|
|
96
|
+
borderStyle: CMSIBCommonInterface;
|
|
97
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
98
|
+
showBorder: CMSIBCommonInterface;
|
|
99
|
+
showShadow: CMSIBCommonInterface;
|
|
100
|
+
shadowColor: CMSIBCommonInterface;
|
|
101
|
+
blur: CMSIBSizeInterface;
|
|
102
|
+
spread: CMSIBSizeInterface;
|
|
103
|
+
angle: CMSIBSizeInterface;
|
|
104
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
105
|
+
exposure: CMSIBSizeInterface;
|
|
106
|
+
contrast: CMSIBSizeInterface;
|
|
107
|
+
saturation: CMSIBSizeInterface;
|
|
108
|
+
highlights: CMSIBSizeInterface;
|
|
109
|
+
shadows: CMSIBSizeInterface;
|
|
110
|
+
selectorKey: cartSelectorKeysEnum;
|
|
111
|
+
};
|
|
112
|
+
cartAttributesItemsLabel: {
|
|
113
|
+
theme: CMSIBCommonInterface;
|
|
114
|
+
font: CMSIBCommonInterface;
|
|
115
|
+
fontSize: CMSIBSizeInterface;
|
|
116
|
+
textColor: CMSIBCommonInterface;
|
|
117
|
+
bold: CMSIBCommonInterface;
|
|
118
|
+
italic: CMSIBCommonInterface;
|
|
119
|
+
linethrough: CMSIBCommonInterface;
|
|
120
|
+
underline: CMSIBCommonInterface;
|
|
121
|
+
textAlign: CMSIBCommonInterface;
|
|
122
|
+
characterSpacing: CMSIBSizeInterface;
|
|
123
|
+
lineHeight: CMSIBSizeInterface;
|
|
124
|
+
backgroundColor: CMSIBCommonInterface;
|
|
125
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
126
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
127
|
+
borderColor: CMSIBCommonInterface;
|
|
128
|
+
borderStyle: CMSIBCommonInterface;
|
|
129
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
130
|
+
showBorder: CMSIBCommonInterface;
|
|
131
|
+
showShadow: CMSIBCommonInterface;
|
|
132
|
+
shadowColor: CMSIBCommonInterface;
|
|
133
|
+
blur: CMSIBSizeInterface;
|
|
134
|
+
spread: CMSIBSizeInterface;
|
|
135
|
+
angle: CMSIBSizeInterface;
|
|
136
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
137
|
+
exposure: CMSIBSizeInterface;
|
|
138
|
+
contrast: CMSIBSizeInterface;
|
|
139
|
+
saturation: CMSIBSizeInterface;
|
|
140
|
+
highlights: CMSIBSizeInterface;
|
|
141
|
+
shadows: CMSIBSizeInterface;
|
|
142
|
+
selectorKey: cartSelectorKeysEnum;
|
|
143
|
+
};
|
|
144
|
+
cartAttributesItemsField: {
|
|
145
|
+
theme: CMSIBCommonInterface;
|
|
146
|
+
font: CMSIBCommonInterface;
|
|
147
|
+
fontSize: CMSIBSizeInterface;
|
|
148
|
+
textColor: CMSIBCommonInterface;
|
|
149
|
+
bold: CMSIBCommonInterface;
|
|
150
|
+
italic: CMSIBCommonInterface;
|
|
151
|
+
linethrough: CMSIBCommonInterface;
|
|
152
|
+
underline: CMSIBCommonInterface;
|
|
153
|
+
textAlign: CMSIBCommonInterface;
|
|
154
|
+
characterSpacing: CMSIBSizeInterface;
|
|
155
|
+
lineHeight: CMSIBSizeInterface;
|
|
156
|
+
backgroundColor: CMSIBCommonInterface;
|
|
157
|
+
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
158
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
159
|
+
iconSize: CMSIBSizeInterface;
|
|
160
|
+
iconColor: CMSIBCommonInterface;
|
|
161
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
162
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
163
|
+
borderColor: CMSIBCommonInterface;
|
|
164
|
+
borderStyle: CMSIBCommonInterface;
|
|
165
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
166
|
+
showBorder: CMSIBCommonInterface;
|
|
167
|
+
showShadow: CMSIBCommonInterface;
|
|
168
|
+
shadowColor: CMSIBCommonInterface;
|
|
169
|
+
blur: CMSIBSizeInterface;
|
|
170
|
+
spread: CMSIBSizeInterface;
|
|
171
|
+
angle: CMSIBSizeInterface;
|
|
172
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
173
|
+
exposure: CMSIBSizeInterface;
|
|
174
|
+
contrast: CMSIBSizeInterface;
|
|
175
|
+
saturation: CMSIBSizeInterface;
|
|
176
|
+
highlights: CMSIBSizeInterface;
|
|
177
|
+
shadows: CMSIBSizeInterface;
|
|
178
|
+
selectorKey: cartSelectorKeysEnum;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
@@ -83,6 +83,11 @@ export declare const getDefaultData: () => {
|
|
|
83
83
|
property: string;
|
|
84
84
|
propertyType: CMSElementEditTypes;
|
|
85
85
|
};
|
|
86
|
+
showMoveToTemplate: {
|
|
87
|
+
value: boolean;
|
|
88
|
+
property: string;
|
|
89
|
+
propertyType: CMSElementEditTypes;
|
|
90
|
+
};
|
|
86
91
|
showClearCart: {
|
|
87
92
|
value: boolean;
|
|
88
93
|
property: string;
|