@sc-360-v2/storefront-cms-library 0.2.66 → 0.2.67
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/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/builder/elements/line/index.d.ts +27 -0
- package/dist/types/builder/elements/repeater/index.d.ts +1 -0
- package/dist/types/builder/elements/section/index.d.ts +2 -0
- package/dist/types/builder/enums/index.d.ts +4 -0
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/cartDetails.d.ts +325 -25
- package/dist/types/builder/tools/element-edit/imageHotspot.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/lightBoxV2.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/line.d.ts +161 -0
- package/dist/types/builder/tools/element-edit/menu.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/social.d.ts +17 -2
- package/dist/types/builder/utilities/global.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
2
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
3
|
+
import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
|
|
4
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
5
|
+
export interface LineStyleProperties extends CommonStyleProperties {
|
|
6
|
+
minHeight?: MinHeightValue;
|
|
7
|
+
height?: HeightValue;
|
|
8
|
+
minWidth?: MinWidthValue;
|
|
9
|
+
maxWidth?: MaxWidthValue;
|
|
10
|
+
maxHeight?: MaxHeightValue;
|
|
11
|
+
gridArea?: GridAreaValue;
|
|
12
|
+
boxSizing?: BoxSizingValue;
|
|
13
|
+
padding?: PaddingValue;
|
|
14
|
+
justifySelf?: JustifySelfValue;
|
|
15
|
+
alignSelf?: AlignSelfValue;
|
|
16
|
+
}
|
|
17
|
+
export declare const getDefaultStyles: () => LineStyleProperties;
|
|
18
|
+
export interface CMSLineInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
19
|
+
attributes: {
|
|
20
|
+
HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
|
|
21
|
+
BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
|
|
22
|
+
CUSTOM: any;
|
|
23
|
+
};
|
|
24
|
+
styles: LineStyleProperties;
|
|
25
|
+
childrenStyles?: CommonStyleProperties;
|
|
26
|
+
content: string;
|
|
27
|
+
}
|
|
@@ -55,6 +55,7 @@ export interface SectionVariationInterface {
|
|
|
55
55
|
childIdsV2?: any[];
|
|
56
56
|
editedStyles?: Record<string, any>;
|
|
57
57
|
controls?: Record<string, any>;
|
|
58
|
+
sectionVariantID?: string;
|
|
58
59
|
}
|
|
59
60
|
export interface CMSSectionInterface {
|
|
60
61
|
id?: string | number;
|
|
@@ -72,4 +73,5 @@ export interface CMSSectionInterface {
|
|
|
72
73
|
dynamicRulesId?: any;
|
|
73
74
|
editedStyles?: Record<string, any>;
|
|
74
75
|
controls?: Record<string, any>;
|
|
76
|
+
sectionID?: any;
|
|
75
77
|
}
|
|
@@ -279,6 +279,7 @@ export declare const CMSElementsListEnum: {
|
|
|
279
279
|
CART_DETAILS: string;
|
|
280
280
|
CART_SUMMARY: string;
|
|
281
281
|
ALLOCATION_DETAILS: string;
|
|
282
|
+
LINE: string;
|
|
282
283
|
};
|
|
283
284
|
export declare enum CMSResponsiveModeEnums {
|
|
284
285
|
DESKTOP = "desktop",
|
|
@@ -338,3 +339,6 @@ export declare enum FlexAppVersionEnums {
|
|
|
338
339
|
NESTEDJSON = 1,
|
|
339
340
|
FLATJSON = 2
|
|
340
341
|
}
|
|
342
|
+
export declare enum FlexDefaultValues {
|
|
343
|
+
FLEXLIGHTBOXCLOSEBTN = "isLightboxCloseIconKey"
|
|
344
|
+
}
|
|
@@ -56,4 +56,5 @@ import * as resetPasswordSchema from "./elements/reset-password/index";
|
|
|
56
56
|
import * as categoryDetailsSchema from "./elements/category-details/index";
|
|
57
57
|
import * as searchResultsHeadingSchema from "./elements/search-results-heading/index";
|
|
58
58
|
import * as itemStockSchema from "./elements/item-stock/index";
|
|
59
|
-
|
|
59
|
+
import * as lineItemSchema from "./elements/line/index";
|
|
60
|
+
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, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, };
|
|
@@ -1,32 +1,332 @@
|
|
|
1
|
+
import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
|
|
1
2
|
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
-
import {
|
|
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
|
-
showActions: CMSIBCommonInterface;
|
|
10
|
-
showContinueShopping: CMSIBCommonInterface;
|
|
11
|
-
continueShoppingLinkTo: CMSIBCommonInterface;
|
|
12
|
-
continueShoppingLink: CMSIBCommonInterface;
|
|
13
|
-
showAddFromWishlist: CMSIBCommonInterface;
|
|
14
|
-
showCartGrouping: CMSIBCommonInterface;
|
|
15
|
-
showClearCart: CMSIBCommonInterface;
|
|
16
|
-
clearCartLinkTo: CMSIBCommonInterface;
|
|
17
|
-
clearCartLink: CMSIBCommonInterface;
|
|
18
|
-
showDownloadCart: CMSIBCommonInterface;
|
|
19
|
-
showShareCart: CMSIBCommonInterface;
|
|
20
|
-
showPrintCart: CMSIBCommonInterface;
|
|
21
|
-
maxNumberOfActionsToShow: CMSIBCommonInterface;
|
|
22
|
-
}
|
|
23
|
-
interface selfDesignInterface {
|
|
24
|
-
selectorKey: string;
|
|
25
|
-
}
|
|
26
6
|
export declare enum SelectorKeysEnum {
|
|
27
7
|
LAYOUT = "layout",
|
|
28
8
|
CONTENT = "content",
|
|
29
|
-
DESIGN = "design"
|
|
9
|
+
DESIGN = "design",
|
|
10
|
+
CART_HEADING_STYLES = "cartHeadingStyles",
|
|
11
|
+
CART_ACTION_STYLES = "cartActionStyles",
|
|
12
|
+
PRODUCT_ACTIONS_STYLES = "productActionsStyles",
|
|
13
|
+
PRODUCT_NAME_STYLES = "productNameStyles",
|
|
14
|
+
PRODUCT_PRICE_STYLES = "productPriceStyles",
|
|
15
|
+
PRODUCT_INFORMATION_STYLES = "productInformationStyles",
|
|
16
|
+
PRODUCT_QUANTITY_STYLES = "productQuantityStyles"
|
|
30
17
|
}
|
|
31
|
-
export declare const getDefaultData: () =>
|
|
32
|
-
|
|
18
|
+
export declare const getDefaultData: () => {
|
|
19
|
+
layout: {
|
|
20
|
+
selectorKey: SelectorKeysEnum;
|
|
21
|
+
width: {
|
|
22
|
+
value: number;
|
|
23
|
+
unit: CMSCSSUnitTypesEnums;
|
|
24
|
+
};
|
|
25
|
+
height: {
|
|
26
|
+
value: number;
|
|
27
|
+
unit: CMSCSSUnitTypesEnums;
|
|
28
|
+
property?: any;
|
|
29
|
+
propertyType?: any;
|
|
30
|
+
isReadOnly?: boolean | undefined;
|
|
31
|
+
parentRef?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
34
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
35
|
+
overflowContent: CMSIBCommonInterface | undefined;
|
|
36
|
+
scrollDirection: CMSIBCommonInterface | undefined;
|
|
37
|
+
displayScrollbar: CMSIBCommonInterface | undefined;
|
|
38
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
39
|
+
pinTo: CMSIBCommonInterface | undefined;
|
|
40
|
+
showTitle: {
|
|
41
|
+
value: boolean;
|
|
42
|
+
property: string;
|
|
43
|
+
propertyType: CMSElementEditTypes;
|
|
44
|
+
};
|
|
45
|
+
showNumberOfItems: {
|
|
46
|
+
value: boolean;
|
|
47
|
+
property: string;
|
|
48
|
+
propertyType: CMSElementEditTypes;
|
|
49
|
+
};
|
|
50
|
+
showActions: {
|
|
51
|
+
value: boolean;
|
|
52
|
+
property: string;
|
|
53
|
+
propertyType: CMSElementEditTypes;
|
|
54
|
+
};
|
|
55
|
+
showContinueShopping: {
|
|
56
|
+
value: boolean;
|
|
57
|
+
property: string;
|
|
58
|
+
propertyType: CMSElementEditTypes;
|
|
59
|
+
};
|
|
60
|
+
continueShoppingLinkTo: {
|
|
61
|
+
value: string;
|
|
62
|
+
property: string;
|
|
63
|
+
propertyType: CMSElementEditTypes;
|
|
64
|
+
};
|
|
65
|
+
continueShoppingLink: {
|
|
66
|
+
value: string;
|
|
67
|
+
property: string;
|
|
68
|
+
propertyType: CMSElementEditTypes;
|
|
69
|
+
};
|
|
70
|
+
showAddFromWishlist: {
|
|
71
|
+
value: boolean;
|
|
72
|
+
property: string;
|
|
73
|
+
propertyType: CMSElementEditTypes;
|
|
74
|
+
};
|
|
75
|
+
showCartGrouping: {
|
|
76
|
+
value: boolean;
|
|
77
|
+
property: string;
|
|
78
|
+
propertyType: CMSElementEditTypes;
|
|
79
|
+
};
|
|
80
|
+
showClearCart: {
|
|
81
|
+
value: boolean;
|
|
82
|
+
property: string;
|
|
83
|
+
propertyType: CMSElementEditTypes;
|
|
84
|
+
};
|
|
85
|
+
clearCartLinkTo: {
|
|
86
|
+
value: string;
|
|
87
|
+
property: string;
|
|
88
|
+
propertyType: CMSElementEditTypes;
|
|
89
|
+
};
|
|
90
|
+
clearCartLink: {
|
|
91
|
+
value: string;
|
|
92
|
+
property: string;
|
|
93
|
+
propertyType: CMSElementEditTypes;
|
|
94
|
+
};
|
|
95
|
+
showDownloadCart: {
|
|
96
|
+
value: boolean;
|
|
97
|
+
property: string;
|
|
98
|
+
propertyType: CMSElementEditTypes;
|
|
99
|
+
};
|
|
100
|
+
showShareCart: {
|
|
101
|
+
value: boolean;
|
|
102
|
+
property: string;
|
|
103
|
+
propertyType: CMSElementEditTypes;
|
|
104
|
+
};
|
|
105
|
+
showPrintCart: {
|
|
106
|
+
value: boolean;
|
|
107
|
+
property: string;
|
|
108
|
+
propertyType: CMSElementEditTypes;
|
|
109
|
+
};
|
|
110
|
+
maxNumberOfActionsToShow: {
|
|
111
|
+
value: number;
|
|
112
|
+
property: string;
|
|
113
|
+
propertyType: CMSElementEditTypes;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
design: {
|
|
117
|
+
selectorKey: SelectorKeysEnum;
|
|
118
|
+
cardHeadingStyles: {
|
|
119
|
+
theme: CMSIBCommonInterface;
|
|
120
|
+
font: CMSIBCommonInterface;
|
|
121
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
122
|
+
textColor: CMSIBCommonInterface;
|
|
123
|
+
bold: CMSIBCommonInterface;
|
|
124
|
+
italic: CMSIBCommonInterface;
|
|
125
|
+
linethrough: CMSIBCommonInterface;
|
|
126
|
+
underline: CMSIBCommonInterface;
|
|
127
|
+
textAlign: CMSIBCommonInterface;
|
|
128
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
129
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
130
|
+
backgroundColor: CMSIBCommonInterface;
|
|
131
|
+
selectorKey: SelectorKeysEnum;
|
|
132
|
+
showShadow: CMSIBCommonInterface;
|
|
133
|
+
shadowColor: CMSIBCommonInterface;
|
|
134
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
135
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
136
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
137
|
+
};
|
|
138
|
+
cardActionStyles: {
|
|
139
|
+
theme: CMSIBCommonInterface;
|
|
140
|
+
font: CMSIBCommonInterface;
|
|
141
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
142
|
+
textColor: CMSIBCommonInterface;
|
|
143
|
+
bold: CMSIBCommonInterface;
|
|
144
|
+
italic: CMSIBCommonInterface;
|
|
145
|
+
linethrough: CMSIBCommonInterface;
|
|
146
|
+
underline: CMSIBCommonInterface;
|
|
147
|
+
textAlign: CMSIBCommonInterface;
|
|
148
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
149
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
150
|
+
backgroundColor: CMSIBCommonInterface;
|
|
151
|
+
borderColor: CMSIBCommonInterface;
|
|
152
|
+
borderStyle: CMSIBCommonInterface;
|
|
153
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
154
|
+
showBorder: CMSIBCommonInterface;
|
|
155
|
+
showShadow: CMSIBCommonInterface;
|
|
156
|
+
shadowColor: CMSIBCommonInterface;
|
|
157
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
158
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
159
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
160
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
161
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
162
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
163
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
164
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
165
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
166
|
+
selectorKey: SelectorKeysEnum;
|
|
167
|
+
};
|
|
168
|
+
productActionsStyles: {
|
|
169
|
+
theme: CMSIBCommonInterface;
|
|
170
|
+
font: CMSIBCommonInterface;
|
|
171
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
172
|
+
textColor: CMSIBCommonInterface;
|
|
173
|
+
bold: CMSIBCommonInterface;
|
|
174
|
+
italic: CMSIBCommonInterface;
|
|
175
|
+
linethrough: CMSIBCommonInterface;
|
|
176
|
+
underline: CMSIBCommonInterface;
|
|
177
|
+
textAlign: CMSIBCommonInterface;
|
|
178
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
179
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
180
|
+
backgroundColor: CMSIBCommonInterface;
|
|
181
|
+
borderColor: CMSIBCommonInterface;
|
|
182
|
+
borderStyle: CMSIBCommonInterface;
|
|
183
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
184
|
+
showBorder: CMSIBCommonInterface;
|
|
185
|
+
showShadow: CMSIBCommonInterface;
|
|
186
|
+
shadowColor: CMSIBCommonInterface;
|
|
187
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
188
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
189
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
190
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
191
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
192
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
193
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
194
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
195
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
196
|
+
selectorKey: SelectorKeysEnum;
|
|
197
|
+
};
|
|
198
|
+
productNameStyles: {
|
|
199
|
+
theme: CMSIBCommonInterface;
|
|
200
|
+
font: CMSIBCommonInterface;
|
|
201
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
202
|
+
textColor: CMSIBCommonInterface;
|
|
203
|
+
bold: CMSIBCommonInterface;
|
|
204
|
+
italic: CMSIBCommonInterface;
|
|
205
|
+
linethrough: CMSIBCommonInterface;
|
|
206
|
+
underline: CMSIBCommonInterface;
|
|
207
|
+
textAlign: CMSIBCommonInterface;
|
|
208
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
209
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
210
|
+
backgroundColor: CMSIBCommonInterface;
|
|
211
|
+
selectorKey: SelectorKeysEnum;
|
|
212
|
+
};
|
|
213
|
+
productPriceStyles: {
|
|
214
|
+
theme: CMSIBCommonInterface;
|
|
215
|
+
font: CMSIBCommonInterface;
|
|
216
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
217
|
+
textColor: CMSIBCommonInterface;
|
|
218
|
+
bold: CMSIBCommonInterface;
|
|
219
|
+
italic: CMSIBCommonInterface;
|
|
220
|
+
linethrough: CMSIBCommonInterface;
|
|
221
|
+
underline: CMSIBCommonInterface;
|
|
222
|
+
textAlign: CMSIBCommonInterface;
|
|
223
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
224
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
225
|
+
backgroundColor: CMSIBCommonInterface;
|
|
226
|
+
selectorKey: SelectorKeysEnum;
|
|
227
|
+
};
|
|
228
|
+
productInformationStyles: {
|
|
229
|
+
theme: CMSIBCommonInterface;
|
|
230
|
+
font: CMSIBCommonInterface;
|
|
231
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
232
|
+
textColor: CMSIBCommonInterface;
|
|
233
|
+
bold: CMSIBCommonInterface;
|
|
234
|
+
italic: CMSIBCommonInterface;
|
|
235
|
+
linethrough: CMSIBCommonInterface;
|
|
236
|
+
underline: CMSIBCommonInterface;
|
|
237
|
+
textAlign: CMSIBCommonInterface;
|
|
238
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
239
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
240
|
+
backgroundColor: CMSIBCommonInterface;
|
|
241
|
+
selectorKey: SelectorKeysEnum;
|
|
242
|
+
};
|
|
243
|
+
productQuantityStyles: {
|
|
244
|
+
theme: CMSIBCommonInterface;
|
|
245
|
+
font: CMSIBCommonInterface;
|
|
246
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
247
|
+
textColor: CMSIBCommonInterface;
|
|
248
|
+
bold: CMSIBCommonInterface;
|
|
249
|
+
italic: CMSIBCommonInterface;
|
|
250
|
+
linethrough: CMSIBCommonInterface;
|
|
251
|
+
underline: CMSIBCommonInterface;
|
|
252
|
+
textAlign: CMSIBCommonInterface;
|
|
253
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
254
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
255
|
+
backgroundColor: CMSIBCommonInterface;
|
|
256
|
+
borderColor: CMSIBCommonInterface;
|
|
257
|
+
borderStyle: CMSIBCommonInterface;
|
|
258
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
259
|
+
showBorder: CMSIBCommonInterface;
|
|
260
|
+
showShadow: CMSIBCommonInterface;
|
|
261
|
+
shadowColor: CMSIBCommonInterface;
|
|
262
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
263
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
264
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
265
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
266
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
267
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
268
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
269
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
270
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
271
|
+
selectorKey: SelectorKeysEnum;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
content: {
|
|
275
|
+
selectorKey: SelectorKeysEnum;
|
|
276
|
+
title: {
|
|
277
|
+
value: string;
|
|
278
|
+
property: string;
|
|
279
|
+
propertyType: CMSElementEditTypes;
|
|
280
|
+
};
|
|
281
|
+
showProductTitle: {
|
|
282
|
+
value: boolean;
|
|
283
|
+
property: string;
|
|
284
|
+
propertyType: CMSElementEditTypes;
|
|
285
|
+
};
|
|
286
|
+
showQuantity: {
|
|
287
|
+
value: boolean;
|
|
288
|
+
property: string;
|
|
289
|
+
propertyType: CMSElementEditTypes;
|
|
290
|
+
};
|
|
291
|
+
showPrice: {
|
|
292
|
+
value: boolean;
|
|
293
|
+
property: string;
|
|
294
|
+
propertyType: CMSElementEditTypes;
|
|
295
|
+
};
|
|
296
|
+
showProductCode: {
|
|
297
|
+
value: boolean;
|
|
298
|
+
property: string;
|
|
299
|
+
propertyType: CMSElementEditTypes;
|
|
300
|
+
};
|
|
301
|
+
showOptions: {
|
|
302
|
+
value: boolean;
|
|
303
|
+
property: string;
|
|
304
|
+
propertyType: CMSElementEditTypes;
|
|
305
|
+
};
|
|
306
|
+
showProductImage: {
|
|
307
|
+
value: boolean;
|
|
308
|
+
property: string;
|
|
309
|
+
propertyType: CMSElementEditTypes;
|
|
310
|
+
};
|
|
311
|
+
showCustomizations: {
|
|
312
|
+
value: boolean;
|
|
313
|
+
property: string;
|
|
314
|
+
propertyType: CMSElementEditTypes;
|
|
315
|
+
};
|
|
316
|
+
showEdit: {
|
|
317
|
+
value: boolean;
|
|
318
|
+
property: string;
|
|
319
|
+
propertyType: CMSElementEditTypes;
|
|
320
|
+
};
|
|
321
|
+
showMoveToWishlist: {
|
|
322
|
+
value: boolean;
|
|
323
|
+
property: string;
|
|
324
|
+
propertyType: CMSElementEditTypes;
|
|
325
|
+
};
|
|
326
|
+
showRemove: {
|
|
327
|
+
value: boolean;
|
|
328
|
+
property: string;
|
|
329
|
+
propertyType: CMSElementEditTypes;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
};
|
|
@@ -71,4 +71,5 @@ import * as itemStock from "./itemStock";
|
|
|
71
71
|
import * as cartDetails from "./cartDetails";
|
|
72
72
|
import * as cartSummary from "./cartSummary";
|
|
73
73
|
import * as allocationDetails from "./allocationDetails";
|
|
74
|
-
|
|
74
|
+
import * as line from "./line";
|
|
75
|
+
export { amountEstimator, bulkVariantPicker, button, code, staticText, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, allocationDetails, line, };
|
|
@@ -4,7 +4,7 @@ interface selfLayoutInterface {
|
|
|
4
4
|
selectorKey: string;
|
|
5
5
|
automaticallyOpenLightbox: CMSIBCommonInterface;
|
|
6
6
|
selectPage: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
7
|
-
value: any;
|
|
7
|
+
value: any[];
|
|
8
8
|
};
|
|
9
9
|
delay: CMSIBSizeInterface;
|
|
10
10
|
closeOnXIcon: CMSIBCommonInterface;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { CMSElementEditTypes } from "../../enums";
|
|
2
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
3
|
+
import { CMSElementEditPopupInterface } from "./common";
|
|
4
|
+
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
5
|
+
}
|
|
6
|
+
interface ControlInterface {
|
|
7
|
+
value: string | boolean;
|
|
8
|
+
propertyType: string;
|
|
9
|
+
}
|
|
10
|
+
export declare enum LineSelectorKeysEnum {
|
|
11
|
+
LAYOUT = "layout",
|
|
12
|
+
DESIGN = "design",
|
|
13
|
+
CONTENT = "content",
|
|
14
|
+
FILL_AND_BACKGROUND = "fillAndBackground",
|
|
15
|
+
ITEM_STYLE = "iconStyle",
|
|
16
|
+
SOCIAL_ICONS = "lineIcons",
|
|
17
|
+
SOCIAL_WIDGET = "lineWidget",
|
|
18
|
+
START_END_ICON = "startEndIcons"
|
|
19
|
+
}
|
|
20
|
+
export interface SelectorKeys {
|
|
21
|
+
LAYOUT: string;
|
|
22
|
+
DESIGN: string;
|
|
23
|
+
CONTENT: string;
|
|
24
|
+
Line_PLAYER_TEXT: string;
|
|
25
|
+
PLAY_PAUSE: string;
|
|
26
|
+
Line: string;
|
|
27
|
+
}
|
|
28
|
+
export interface LineControlInterface {
|
|
29
|
+
selectorKey?: string;
|
|
30
|
+
margin?: CMSIBCommonInterface;
|
|
31
|
+
padding?: CMSIBCommonInterface;
|
|
32
|
+
alignment?: CMSIBCommonInterface;
|
|
33
|
+
itemSpacing?: ControlInterface;
|
|
34
|
+
iconSize?: CMSIBCommonInterface;
|
|
35
|
+
positionType?: CMSIBCommonInterface;
|
|
36
|
+
pinTo?: CMSIBCommonInterface;
|
|
37
|
+
lineDirection: CMSIBCommonInterface;
|
|
38
|
+
lineStyle: CMSIBCommonInterface;
|
|
39
|
+
dash: CMSIBCommonInterface;
|
|
40
|
+
gap: CMSIBCommonInterface;
|
|
41
|
+
showLineEndPoints: CMSIBCommonInterface;
|
|
42
|
+
lineEndPoints: CMSIBCommonInterface;
|
|
43
|
+
showLineStartPointIcon: CMSIBCommonInterface;
|
|
44
|
+
showLineEndPointIcon: CMSIBCommonInterface;
|
|
45
|
+
}
|
|
46
|
+
export interface CMSLineEditPopupInterface<L = LineControlInterface, C = LineControlInterface, D = LineControlInterface> {
|
|
47
|
+
layout?: L;
|
|
48
|
+
content?: C;
|
|
49
|
+
design?: D;
|
|
50
|
+
}
|
|
51
|
+
export declare const getDefaultData: () => {
|
|
52
|
+
layout: {
|
|
53
|
+
selectorKey: LineSelectorKeysEnum;
|
|
54
|
+
width: {
|
|
55
|
+
value: string;
|
|
56
|
+
unit: number;
|
|
57
|
+
};
|
|
58
|
+
height: {
|
|
59
|
+
value: string;
|
|
60
|
+
unit: number;
|
|
61
|
+
property?: any;
|
|
62
|
+
propertyType?: any;
|
|
63
|
+
isReadOnly?: boolean | undefined;
|
|
64
|
+
parentRef?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
67
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
68
|
+
alignment: {
|
|
69
|
+
value: string;
|
|
70
|
+
property: string;
|
|
71
|
+
propertyType: CMSElementEditTypes;
|
|
72
|
+
};
|
|
73
|
+
lineDirection: {
|
|
74
|
+
value: string;
|
|
75
|
+
property: string;
|
|
76
|
+
propertyType: CMSElementEditTypes;
|
|
77
|
+
};
|
|
78
|
+
lineStyle: {
|
|
79
|
+
value: string;
|
|
80
|
+
propertyType: CMSElementEditTypes;
|
|
81
|
+
property: string;
|
|
82
|
+
};
|
|
83
|
+
dash: {
|
|
84
|
+
value: string;
|
|
85
|
+
property: string;
|
|
86
|
+
propertyType: CMSElementEditTypes;
|
|
87
|
+
};
|
|
88
|
+
gap: {
|
|
89
|
+
value: string;
|
|
90
|
+
property: string;
|
|
91
|
+
propertyType: CMSElementEditTypes;
|
|
92
|
+
};
|
|
93
|
+
showLineEndPoints: {
|
|
94
|
+
value: boolean;
|
|
95
|
+
propertyType: CMSElementEditTypes;
|
|
96
|
+
};
|
|
97
|
+
lineEndPoints: {
|
|
98
|
+
value: string;
|
|
99
|
+
propertyType: CMSElementEditTypes;
|
|
100
|
+
};
|
|
101
|
+
showLineStartPointIcon: {
|
|
102
|
+
value: boolean;
|
|
103
|
+
propertyType: CMSElementEditTypes;
|
|
104
|
+
};
|
|
105
|
+
showLineEndPointIcon: {
|
|
106
|
+
value: boolean;
|
|
107
|
+
propertyType: CMSElementEditTypes;
|
|
108
|
+
};
|
|
109
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
110
|
+
pinTo: CMSIBCommonInterface | undefined;
|
|
111
|
+
};
|
|
112
|
+
design: {
|
|
113
|
+
selectorKey: LineSelectorKeysEnum;
|
|
114
|
+
lineWidget: {
|
|
115
|
+
selectorKey: LineSelectorKeysEnum;
|
|
116
|
+
backgroundColor: CMSIBCommonInterface;
|
|
117
|
+
cropRatio: CMSIBCommonInterface;
|
|
118
|
+
zoomImage: CMSIBCommonInterface;
|
|
119
|
+
flip: CMSIBCommonInterface;
|
|
120
|
+
rotate: import("../../interfaces/global").CMSIBSizeInterface;
|
|
121
|
+
showBorder: CMSIBCommonInterface;
|
|
122
|
+
borderStyle: CMSIBCommonInterface;
|
|
123
|
+
borderColor: CMSIBCommonInterface;
|
|
124
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
125
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
126
|
+
showShadow: CMSIBCommonInterface;
|
|
127
|
+
shadowColor: CMSIBCommonInterface;
|
|
128
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
129
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
130
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
131
|
+
};
|
|
132
|
+
startEndIcons: {
|
|
133
|
+
selectorKey: LineSelectorKeysEnum;
|
|
134
|
+
playIcon: {
|
|
135
|
+
value: string;
|
|
136
|
+
property: string;
|
|
137
|
+
propertyType: CMSElementEditTypes;
|
|
138
|
+
};
|
|
139
|
+
pauseIcon: {
|
|
140
|
+
value: string;
|
|
141
|
+
property: string;
|
|
142
|
+
propertyType: CMSElementEditTypes;
|
|
143
|
+
};
|
|
144
|
+
size: {
|
|
145
|
+
value: string;
|
|
146
|
+
property: string;
|
|
147
|
+
unit: number;
|
|
148
|
+
propertyType: CMSElementEditTypes;
|
|
149
|
+
};
|
|
150
|
+
iconColor: CMSIBCommonInterface;
|
|
151
|
+
backgroundShape: {
|
|
152
|
+
value: string;
|
|
153
|
+
property: string;
|
|
154
|
+
unit: number;
|
|
155
|
+
propertyType: CMSElementEditTypes;
|
|
156
|
+
};
|
|
157
|
+
backgroundColor: CMSIBCommonInterface;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
|
2
2
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
3
|
interface selfLayoutInterface {
|
|
4
4
|
direction: CMSIBCommonInterface;
|
|
5
|
-
|
|
5
|
+
spacingBetweenMenuListItems: CMSIBCommonInterface;
|
|
6
6
|
fillItemsToContainerWidth: CMSIBCommonInterface;
|
|
7
7
|
dividerBetweenItems: CMSIBCommonInterface;
|
|
8
8
|
listItemAlignment: CMSIBCommonInterface;
|
|
@@ -133,11 +133,19 @@ export declare const getDefaultData: () => {
|
|
|
133
133
|
selectorKey: SocialSelectorKeysEnum;
|
|
134
134
|
socialContent: {
|
|
135
135
|
value: {
|
|
136
|
-
id:
|
|
136
|
+
id: any;
|
|
137
137
|
title: string;
|
|
138
138
|
name: string;
|
|
139
|
-
show:
|
|
139
|
+
show: boolean;
|
|
140
140
|
url: string;
|
|
141
|
+
icon: {
|
|
142
|
+
value: string;
|
|
143
|
+
customIcon: {
|
|
144
|
+
isCustomIcon: boolean;
|
|
145
|
+
url: string;
|
|
146
|
+
name: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
141
149
|
}[];
|
|
142
150
|
propertyType: CMSElementEditTypes;
|
|
143
151
|
};
|
|
@@ -190,6 +198,13 @@ export declare const getDefaultData: () => {
|
|
|
190
198
|
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
191
199
|
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
192
200
|
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
201
|
+
showIcon: {
|
|
202
|
+
value: boolean;
|
|
203
|
+
property?: any;
|
|
204
|
+
propertyType?: any;
|
|
205
|
+
isReadOnly?: boolean | undefined;
|
|
206
|
+
parentRef?: string | undefined;
|
|
207
|
+
};
|
|
193
208
|
iconSize: {
|
|
194
209
|
value: string;
|
|
195
210
|
propertyType: CMSElementEditTypes;
|