@sc-360-v2/storefront-cms-library 0.3.24 → 0.3.26
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 +223 -72
- package/dist/dropdownTemplate.scss +30 -3
- package/dist/faq.scss +80 -88
- package/dist/filters.scss +484 -7
- package/dist/language-selector.scss +5 -1
- package/dist/myTemplates.scss +33 -0
- package/dist/order-status.scss +132 -48
- package/dist/quantity-selector.scss +1 -16
- package/dist/types/builder/elements/{my-templates → cart-summary}/index.d.ts +4 -4
- package/dist/types/builder/elements/form-builder/index.d.ts +114 -20
- package/dist/types/builder/enums/index.d.ts +0 -1
- package/dist/types/builder/index.d.ts +2 -2
- package/dist/types/builder/tools/element-edit/cartDetails.d.ts +64 -1
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +321 -14
- package/dist/types/builder/tools/element-edit/index.d.ts +1 -2
- package/dist/widget.scss +1 -0
- package/package.json +1 -1
- package/dist/types/builder/tools/element-edit/myTemplates.d.ts +0 -443
|
@@ -1,21 +1,328 @@
|
|
|
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
|
-
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: () =>
|
|
21
|
-
|
|
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
|
+
};
|
|
123
|
+
design: {
|
|
124
|
+
selectorKey: SelectorKeysEnum;
|
|
125
|
+
titleContainerDesign: {
|
|
126
|
+
borderColor: CMSIBCommonInterface;
|
|
127
|
+
borderStyle: CMSIBCommonInterface;
|
|
128
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
129
|
+
showBorder: CMSIBCommonInterface;
|
|
130
|
+
backgroundColor: CMSIBCommonInterface;
|
|
131
|
+
showShadow: CMSIBCommonInterface;
|
|
132
|
+
shadowColor: CMSIBCommonInterface;
|
|
133
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
134
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
135
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
136
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
137
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
138
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
139
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
140
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
141
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
142
|
+
selectorKey: SelectorKeysEnum;
|
|
143
|
+
};
|
|
144
|
+
titleDesign: {
|
|
145
|
+
theme: CMSIBCommonInterface;
|
|
146
|
+
font: CMSIBCommonInterface;
|
|
147
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
148
|
+
textColor: CMSIBCommonInterface;
|
|
149
|
+
bold: CMSIBCommonInterface;
|
|
150
|
+
italic: CMSIBCommonInterface;
|
|
151
|
+
linethrough: CMSIBCommonInterface;
|
|
152
|
+
underline: CMSIBCommonInterface;
|
|
153
|
+
textAlign: CMSIBCommonInterface;
|
|
154
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
155
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
156
|
+
selectorKey: SelectorKeysEnum;
|
|
157
|
+
};
|
|
158
|
+
headingTextDesign: {
|
|
159
|
+
theme: CMSIBCommonInterface;
|
|
160
|
+
font: CMSIBCommonInterface;
|
|
161
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
162
|
+
textColor: CMSIBCommonInterface;
|
|
163
|
+
bold: CMSIBCommonInterface;
|
|
164
|
+
italic: CMSIBCommonInterface;
|
|
165
|
+
linethrough: CMSIBCommonInterface;
|
|
166
|
+
underline: CMSIBCommonInterface;
|
|
167
|
+
textAlign: CMSIBCommonInterface;
|
|
168
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
169
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
170
|
+
selectorKey: SelectorKeysEnum;
|
|
171
|
+
};
|
|
172
|
+
primaryTextDesign: {
|
|
173
|
+
theme: CMSIBCommonInterface;
|
|
174
|
+
font: CMSIBCommonInterface;
|
|
175
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
176
|
+
textColor: CMSIBCommonInterface;
|
|
177
|
+
bold: CMSIBCommonInterface;
|
|
178
|
+
italic: CMSIBCommonInterface;
|
|
179
|
+
linethrough: CMSIBCommonInterface;
|
|
180
|
+
underline: CMSIBCommonInterface;
|
|
181
|
+
textAlign: CMSIBCommonInterface;
|
|
182
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
183
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
184
|
+
selectorKey: SelectorKeysEnum;
|
|
185
|
+
};
|
|
186
|
+
secondaryTextDesign: {
|
|
187
|
+
theme: CMSIBCommonInterface;
|
|
188
|
+
font: CMSIBCommonInterface;
|
|
189
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
190
|
+
textColor: CMSIBCommonInterface;
|
|
191
|
+
bold: CMSIBCommonInterface;
|
|
192
|
+
italic: CMSIBCommonInterface;
|
|
193
|
+
linethrough: CMSIBCommonInterface;
|
|
194
|
+
underline: CMSIBCommonInterface;
|
|
195
|
+
textAlign: CMSIBCommonInterface;
|
|
196
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
197
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
198
|
+
selectorKey: SelectorKeysEnum;
|
|
199
|
+
};
|
|
200
|
+
totalAmountDesign: {
|
|
201
|
+
theme: CMSIBCommonInterface;
|
|
202
|
+
font: CMSIBCommonInterface;
|
|
203
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
204
|
+
textColor: CMSIBCommonInterface;
|
|
205
|
+
bold: CMSIBCommonInterface;
|
|
206
|
+
italic: CMSIBCommonInterface;
|
|
207
|
+
linethrough: CMSIBCommonInterface;
|
|
208
|
+
underline: CMSIBCommonInterface;
|
|
209
|
+
textAlign: CMSIBCommonInterface;
|
|
210
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
211
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
212
|
+
selectorKey: SelectorKeysEnum;
|
|
213
|
+
};
|
|
214
|
+
primaryButtonDesign: {
|
|
215
|
+
theme: CMSIBCommonInterface;
|
|
216
|
+
font: CMSIBCommonInterface;
|
|
217
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
218
|
+
textColor: CMSIBCommonInterface;
|
|
219
|
+
bold: CMSIBCommonInterface;
|
|
220
|
+
italic: CMSIBCommonInterface;
|
|
221
|
+
linethrough: CMSIBCommonInterface;
|
|
222
|
+
underline: CMSIBCommonInterface;
|
|
223
|
+
textAlign: CMSIBCommonInterface;
|
|
224
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
225
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
226
|
+
borderColor: CMSIBCommonInterface;
|
|
227
|
+
borderStyle: CMSIBCommonInterface;
|
|
228
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
229
|
+
showBorder: CMSIBCommonInterface;
|
|
230
|
+
backgroundColor: CMSIBCommonInterface;
|
|
231
|
+
showShadow: CMSIBCommonInterface;
|
|
232
|
+
shadowColor: CMSIBCommonInterface;
|
|
233
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
234
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
235
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
236
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
237
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
238
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
239
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
240
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
241
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
242
|
+
selectorKey: SelectorKeysEnum;
|
|
243
|
+
};
|
|
244
|
+
secondaryButtonDesign: {
|
|
245
|
+
theme: CMSIBCommonInterface;
|
|
246
|
+
font: CMSIBCommonInterface;
|
|
247
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
248
|
+
textColor: CMSIBCommonInterface;
|
|
249
|
+
bold: CMSIBCommonInterface;
|
|
250
|
+
italic: CMSIBCommonInterface;
|
|
251
|
+
linethrough: CMSIBCommonInterface;
|
|
252
|
+
underline: CMSIBCommonInterface;
|
|
253
|
+
textAlign: CMSIBCommonInterface;
|
|
254
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
255
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
256
|
+
borderColor: CMSIBCommonInterface;
|
|
257
|
+
borderStyle: CMSIBCommonInterface;
|
|
258
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
259
|
+
showBorder: CMSIBCommonInterface;
|
|
260
|
+
backgroundColor: CMSIBCommonInterface;
|
|
261
|
+
showShadow: CMSIBCommonInterface;
|
|
262
|
+
shadowColor: CMSIBCommonInterface;
|
|
263
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
264
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
265
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
266
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
267
|
+
exposure: import("../../interfaces/global").CMSIBSizeInterface;
|
|
268
|
+
contrast: import("../../interfaces/global").CMSIBSizeInterface;
|
|
269
|
+
saturation: import("../../interfaces/global").CMSIBSizeInterface;
|
|
270
|
+
highlights: import("../../interfaces/global").CMSIBSizeInterface;
|
|
271
|
+
shadows: import("../../interfaces/global").CMSIBSizeInterface;
|
|
272
|
+
selectorKey: SelectorKeysEnum;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
content: {
|
|
276
|
+
selectorKey: SelectorKeysEnum;
|
|
277
|
+
title: {
|
|
278
|
+
value: string;
|
|
279
|
+
property: string;
|
|
280
|
+
propertyType: CMSElementEditTypes;
|
|
281
|
+
};
|
|
282
|
+
checkOutButtonText: {
|
|
283
|
+
value: string;
|
|
284
|
+
property: string;
|
|
285
|
+
propertyType: CMSElementEditTypes;
|
|
286
|
+
};
|
|
287
|
+
subTotalLabel: {
|
|
288
|
+
value: string;
|
|
289
|
+
property: string;
|
|
290
|
+
propertyType: CMSElementEditTypes;
|
|
291
|
+
};
|
|
292
|
+
numberOfItemsLabel: {
|
|
293
|
+
value: string;
|
|
294
|
+
property: string;
|
|
295
|
+
propertyType: CMSElementEditTypes;
|
|
296
|
+
};
|
|
297
|
+
taxLabel: {
|
|
298
|
+
value: string;
|
|
299
|
+
property: string;
|
|
300
|
+
propertyType: CMSElementEditTypes;
|
|
301
|
+
};
|
|
302
|
+
taxExemptLabel: {
|
|
303
|
+
value: string;
|
|
304
|
+
property: string;
|
|
305
|
+
propertyType: CMSElementEditTypes;
|
|
306
|
+
};
|
|
307
|
+
shippingChargesLabel: {
|
|
308
|
+
value: string;
|
|
309
|
+
property: string;
|
|
310
|
+
propertyType: CMSElementEditTypes;
|
|
311
|
+
};
|
|
312
|
+
enterCouponCodeLabel: {
|
|
313
|
+
value: string;
|
|
314
|
+
property: string;
|
|
315
|
+
propertyType: CMSElementEditTypes;
|
|
316
|
+
};
|
|
317
|
+
applyCouponCodeLabel: {
|
|
318
|
+
value: string;
|
|
319
|
+
property: string;
|
|
320
|
+
propertyType: CMSElementEditTypes;
|
|
321
|
+
};
|
|
322
|
+
totalLabel: {
|
|
323
|
+
value: string;
|
|
324
|
+
property: string;
|
|
325
|
+
propertyType: CMSElementEditTypes;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
};
|
|
@@ -73,7 +73,6 @@ import * as itemStock from "./itemStock";
|
|
|
73
73
|
import * as cartDetails from "./cartDetails";
|
|
74
74
|
import * as cartSummary from "./cartSummary";
|
|
75
75
|
import * as checkout from "./checkout";
|
|
76
|
-
import * as myTemplates from ".//myTemplates";
|
|
77
76
|
import * as allocationDetails from "./allocationDetails";
|
|
78
77
|
import * as line from "./line";
|
|
79
78
|
import * as tabsV2 from "./tabsV2";
|
|
@@ -98,4 +97,4 @@ import * as userElements from "./userElements";
|
|
|
98
97
|
import * as badge from "./badge";
|
|
99
98
|
import * as languageMenu from "./language-menu";
|
|
100
99
|
import * as cartAttributes from "./cartAttributes";
|
|
101
|
-
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, checkout,
|
|
100
|
+
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, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, };
|
package/dist/widget.scss
CHANGED