@sc-360-v2/storefront-cms-library 0.3.12 → 0.3.14
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/allocationDetails.scss +7 -1
- package/dist/badge.scss +382 -0
- package/dist/builder.js +1 -1
- package/dist/bulk-variant-picker copy.scss +1123 -0
- package/dist/bulk-variant-picker.scss +2629 -647
- package/dist/cart-summary.scss +11 -4
- package/dist/contact-us.scss +7 -1
- package/dist/filters.scss +42 -0
- package/dist/hotspot.scss +7 -1
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layouter-pro.scss +3 -1
- package/dist/product-image.scss +23 -13
- package/dist/submit-quote.scss +250 -0
- package/dist/table.scss +8 -2
- package/dist/types/builder/elements/badge/index.d.ts +26 -0
- package/dist/types/builder/enums/index.d.ts +3 -1
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/badge.d.ts +47 -0
- package/dist/types/builder/tools/element-edit/bulkVariantPicker copy.d.ts +119 -0
- package/dist/types/builder/tools/element-edit/bulkVariantPicker.d.ts +54 -17
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/variantPicker.d.ts +1 -1
- package/dist/types/global/types.d.ts +1 -1
- package/dist/uom-selector.scss +0 -1
- package/dist/widget.scss +2 -0
- package/package.json +1 -1
package/dist/layouter-pro.scss
CHANGED
|
@@ -12,7 +12,9 @@ $flexColumnReverse: "cln-rv";
|
|
|
12
12
|
&[data-element-type="layouter-pro"] {
|
|
13
13
|
// width: var(--_sf-con-nw-wh);
|
|
14
14
|
// width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
15
|
-
width: calc(1% * #{prepareMediaVariable(--_ctm-layou-ele-nw-wh-vl)});
|
|
15
|
+
// width: calc(1% * #{prepareMediaVariable(--_ctm-layou-ele-nw-wh-vl)});
|
|
16
|
+
max-width: 100% !important;
|
|
17
|
+
width: min(#{prepareMediaVariable(--_ctm-layou-lt-wh)}, 100%);
|
|
16
18
|
// width: 100%;
|
|
17
19
|
// height: var(--_ctm-con-lt-ht);
|
|
18
20
|
margin: prepareMediaVariable(--_ctm-layou-lt-mn);
|
package/dist/product-image.scss
CHANGED
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
[data-div-type="element"] {
|
|
4
4
|
&[data-element-type="productImage"] {
|
|
5
5
|
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
6
|
-
width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
6
|
+
// width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
7
|
+
width: var(
|
|
8
|
+
--_sf-el-wh-st-mx,
|
|
9
|
+
calc(
|
|
10
|
+
1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))
|
|
11
|
+
)
|
|
12
|
+
);
|
|
7
13
|
height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
8
14
|
margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
|
|
9
15
|
|
|
@@ -29,18 +35,18 @@
|
|
|
29
35
|
// cursor: auto;
|
|
30
36
|
// }
|
|
31
37
|
|
|
32
|
-
&[data-view-state="full"] {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
38
|
+
// &[data-view-state="full"] {
|
|
39
|
+
// aspect-ratio: 1/0.01;
|
|
40
|
+
// & > .wrapper {
|
|
41
|
+
// & > div {
|
|
42
|
+
// height: 100%;
|
|
43
|
+
// }
|
|
44
|
+
// }
|
|
45
|
+
// img {
|
|
46
|
+
// height: 100%;
|
|
47
|
+
// object-fit: cover;
|
|
48
|
+
// }
|
|
49
|
+
// }
|
|
44
50
|
|
|
45
51
|
& > .wrapper {
|
|
46
52
|
width: 100%;
|
|
@@ -529,6 +535,7 @@
|
|
|
529
535
|
}
|
|
530
536
|
|
|
531
537
|
.embla__slide {
|
|
538
|
+
flex: 0 0 auto;
|
|
532
539
|
width: 100%;
|
|
533
540
|
height: 100%;
|
|
534
541
|
}
|
|
@@ -995,8 +1002,11 @@
|
|
|
995
1002
|
cursor: pointer;
|
|
996
1003
|
}
|
|
997
1004
|
width: 100%;
|
|
1005
|
+
max-width: 100%;
|
|
998
1006
|
height: 100%;
|
|
999
1007
|
display: flex;
|
|
1008
|
+
flex: 0 0 auto;
|
|
1009
|
+
|
|
1000
1010
|
// flex-direction: column;
|
|
1001
1011
|
|
|
1002
1012
|
background-color: var(
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
.submit-quote-main {
|
|
2
|
+
display: flex;
|
|
3
|
+
gap: 24px;
|
|
4
|
+
padding: 32px;
|
|
5
|
+
background-color: #f9f9f9;
|
|
6
|
+
|
|
7
|
+
.quote-items {
|
|
8
|
+
flex: 2;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.quote-item {
|
|
12
|
+
padding: 32px 0;
|
|
13
|
+
display: flex;
|
|
14
|
+
gap: 24px;
|
|
15
|
+
border-bottom: 1px dotted #d0d0d0;
|
|
16
|
+
|
|
17
|
+
.quote-item__image {
|
|
18
|
+
width: 120px;
|
|
19
|
+
height: 120px;
|
|
20
|
+
object-fit: cover;
|
|
21
|
+
border-radius: 6px;
|
|
22
|
+
background-color: #f0f0f0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.quote-item__details {
|
|
26
|
+
flex: 1;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
|
|
30
|
+
.quote-item__header {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
gap: 10px;
|
|
34
|
+
margin-bottom: 20px;
|
|
35
|
+
padding-bottom: 20px;
|
|
36
|
+
border-bottom: 1px dotted #d0d0d0;
|
|
37
|
+
|
|
38
|
+
.quote-item__title {
|
|
39
|
+
font-size: 18px;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
color: #111;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.quote-item__meta {
|
|
45
|
+
display: flex;
|
|
46
|
+
gap: 10px;
|
|
47
|
+
font-size: 18px;
|
|
48
|
+
color: #363636;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.quote-item__row {
|
|
53
|
+
display: flex;
|
|
54
|
+
gap: 60px;
|
|
55
|
+
align-items: flex-start;
|
|
56
|
+
|
|
57
|
+
.field {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
font-size: 14px;
|
|
61
|
+
|
|
62
|
+
label {
|
|
63
|
+
margin-bottom: 6px;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
color: #333;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.value {
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
font-size: 16px;
|
|
71
|
+
color: #111;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
input {
|
|
75
|
+
height: 40px;
|
|
76
|
+
padding: 8px 12px;
|
|
77
|
+
font-size: 15px;
|
|
78
|
+
border: 1px solid #ccc;
|
|
79
|
+
border-radius: 6px;
|
|
80
|
+
outline: none;
|
|
81
|
+
width: 130px;
|
|
82
|
+
|
|
83
|
+
&:focus {
|
|
84
|
+
border-color: #2563eb;
|
|
85
|
+
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.input-with-prefix {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
border: 1px solid #ccc;
|
|
93
|
+
border-radius: 6px;
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
width: 130px;
|
|
96
|
+
height: 40px;
|
|
97
|
+
|
|
98
|
+
span {
|
|
99
|
+
background-color: #f9f9f9;
|
|
100
|
+
padding: 0 8px;
|
|
101
|
+
font-size: 15px;
|
|
102
|
+
color: #444;
|
|
103
|
+
border-right: 1px solid #ccc;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
input {
|
|
107
|
+
border: none;
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 100%;
|
|
110
|
+
padding-left: 6px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.quote-item__totals {
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
gap: 16px;
|
|
119
|
+
text-align: right;
|
|
120
|
+
margin-left: auto;
|
|
121
|
+
min-width: 180px;
|
|
122
|
+
|
|
123
|
+
.quote-total {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
|
|
127
|
+
> div {
|
|
128
|
+
display: flex;
|
|
129
|
+
justify-content: flex-end;
|
|
130
|
+
align-items: baseline;
|
|
131
|
+
gap: 4px;
|
|
132
|
+
|
|
133
|
+
.label {
|
|
134
|
+
font-size: 14px;
|
|
135
|
+
color: #444;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.amount {
|
|
139
|
+
font-size: 18px;
|
|
140
|
+
font-weight: 700;
|
|
141
|
+
color: #111;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
small {
|
|
146
|
+
font-size: 13px;
|
|
147
|
+
color: #888;
|
|
148
|
+
margin-top: 4px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.discounted {
|
|
152
|
+
.label {
|
|
153
|
+
color: #198754;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.amount {
|
|
157
|
+
color: #198754;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.quote-summary {
|
|
167
|
+
background: #f8f9fa;
|
|
168
|
+
border: 1px solid #e3e3e3;
|
|
169
|
+
border-radius: 8px;
|
|
170
|
+
padding: 24px;
|
|
171
|
+
width: 100%;
|
|
172
|
+
max-width: 400px;
|
|
173
|
+
|
|
174
|
+
h3 {
|
|
175
|
+
font-size: 18px;
|
|
176
|
+
font-weight: 600;
|
|
177
|
+
margin-bottom: 20px;
|
|
178
|
+
color: #333;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&__row {
|
|
182
|
+
display: flex;
|
|
183
|
+
justify-content: space-between;
|
|
184
|
+
align-items: center;
|
|
185
|
+
padding: 12px 0;
|
|
186
|
+
border-bottom: 1px dotted #ccc;
|
|
187
|
+
margin-bottom: 4px;
|
|
188
|
+
|
|
189
|
+
.label {
|
|
190
|
+
font-size: 14px;
|
|
191
|
+
color: #666;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.value {
|
|
195
|
+
font-size: 16px;
|
|
196
|
+
font-weight: 500;
|
|
197
|
+
color: #333;
|
|
198
|
+
|
|
199
|
+
&.highlight {
|
|
200
|
+
font-size: 24px;
|
|
201
|
+
font-weight: 700;
|
|
202
|
+
color: #000;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&--quoted {
|
|
207
|
+
margin-bottom: 20px;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&__notes {
|
|
212
|
+
width: 100%;
|
|
213
|
+
height: 100px;
|
|
214
|
+
padding: 12px;
|
|
215
|
+
border: 1px solid #ddd;
|
|
216
|
+
border-radius: 6px;
|
|
217
|
+
resize: none;
|
|
218
|
+
font-size: 14px;
|
|
219
|
+
font-family: inherit;
|
|
220
|
+
margin-bottom: 20px;
|
|
221
|
+
box-sizing: border-box;
|
|
222
|
+
|
|
223
|
+
&::placeholder {
|
|
224
|
+
color: #999;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&:focus {
|
|
228
|
+
outline: none;
|
|
229
|
+
border-color: #1a40f2;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&__button {
|
|
234
|
+
width: 100%;
|
|
235
|
+
padding: 14px;
|
|
236
|
+
background-color: #1a40f2;
|
|
237
|
+
color: #fff;
|
|
238
|
+
font-size: 16px;
|
|
239
|
+
font-weight: 600;
|
|
240
|
+
border: none;
|
|
241
|
+
border-radius: 6px;
|
|
242
|
+
cursor: pointer;
|
|
243
|
+
transition: background-color 0.2s ease;
|
|
244
|
+
|
|
245
|
+
&:hover {
|
|
246
|
+
background-color: #1232c8;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
package/dist/table.scss
CHANGED
|
@@ -267,7 +267,10 @@
|
|
|
267
267
|
);
|
|
268
268
|
|
|
269
269
|
.thead__row__divider {
|
|
270
|
-
height: var(
|
|
270
|
+
height: var(
|
|
271
|
+
--_ctm-mob-lt-mx-dy-se-hr-ht,
|
|
272
|
+
var(--_ctm-tab-lt-mx-dy-se-hr-ht, var(--_ctm-lt-mx-dy-se-hr-ht))
|
|
273
|
+
);
|
|
271
274
|
|
|
272
275
|
.th__col__divider {
|
|
273
276
|
padding: var(
|
|
@@ -330,7 +333,10 @@
|
|
|
330
333
|
var(--_ctm-tab-dn-te-rw-bd-cr, var(--_ctm-dn-te-rw-bd-cr))
|
|
331
334
|
);
|
|
332
335
|
|
|
333
|
-
height: var(
|
|
336
|
+
height: var(
|
|
337
|
+
--_ctm-mob-lt-mx-dy-se-rw-ht,
|
|
338
|
+
var(--_ctm-tab-lt-mx-dy-se-rw-ht, var(--_ctm-lt-mx-dy-se-rw-ht))
|
|
339
|
+
);
|
|
334
340
|
|
|
335
341
|
.td__col__divider {
|
|
336
342
|
padding: var(
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
2
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
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 BadgeStyleProperties 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: () => BadgeStyleProperties;
|
|
18
|
+
export interface CMSBadgeInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
19
|
+
attributes: {
|
|
20
|
+
HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
|
|
21
|
+
BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
|
|
22
|
+
CUSTOM: any;
|
|
23
|
+
};
|
|
24
|
+
styles: BadgeStyleProperties;
|
|
25
|
+
childrenStyles?: CommonStyleProperties;
|
|
26
|
+
}
|
|
@@ -322,6 +322,7 @@ export declare const CMSElementsListEnum: {
|
|
|
322
322
|
USER_ELEMENTS: string;
|
|
323
323
|
FILTER_RESULTS: string;
|
|
324
324
|
PRODUCT_SIZECHART: string;
|
|
325
|
+
BADGE: string;
|
|
325
326
|
};
|
|
326
327
|
export declare enum CMSResponsiveModeEnums {
|
|
327
328
|
DESKTOP = "desktop",
|
|
@@ -383,7 +384,8 @@ export declare enum CMSCustomEventsListEnums {
|
|
|
383
384
|
PRODUCT_DETAILS_STATE = "productDetailsState",
|
|
384
385
|
IMAGE_CROP = "imageCrop",
|
|
385
386
|
IMAGE_CROP_TEMP_DATA = "imageCropTempData",
|
|
386
|
-
FORM_BUILDER_STATE = "formBuilderState"
|
|
387
|
+
FORM_BUILDER_STATE = "formBuilderState",
|
|
388
|
+
EMBROIDERY_PLAYGROUND_STATE = "embroideryPlaygroundState"
|
|
387
389
|
}
|
|
388
390
|
export declare enum FlexAppVersionEnums {
|
|
389
391
|
NESTEDJSON = 1,
|
|
@@ -80,4 +80,5 @@ import * as layouterProItemSchema from "./elements/layouter-pro-item/index";
|
|
|
80
80
|
import * as userElementsSchema from "./elements/user-elements/index";
|
|
81
81
|
import * as filterResultsSchema from "./elements/filter-results/index";
|
|
82
82
|
import * as productSizeChartSchema from "./elements/product-sizechart/index";
|
|
83
|
-
|
|
83
|
+
import * as badgeSchema from "./elements/badge/index";
|
|
84
|
+
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, };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { CMSIBCommonInterface, CMSIBSizeInterface, PaddingProps } from "../../interfaces/global";
|
|
2
|
+
import { AlignItemsValue, JustifyContentValue, StackDirectionType } from "../../../global/types";
|
|
3
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
4
|
+
interface selfLayoutInterface {
|
|
5
|
+
selectorKey: string;
|
|
6
|
+
badge: CMSIBCommonInterface;
|
|
7
|
+
badgeType: CMSIBCommonInterface;
|
|
8
|
+
direction: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
9
|
+
value: StackDirectionType;
|
|
10
|
+
};
|
|
11
|
+
itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
12
|
+
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
13
|
+
value: JustifyContentValue;
|
|
14
|
+
};
|
|
15
|
+
alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
16
|
+
value: AlignItemsValue;
|
|
17
|
+
};
|
|
18
|
+
badgePosition: CMSIBCommonInterface;
|
|
19
|
+
spacingBetweenItems: CMSIBSizeInterface;
|
|
20
|
+
badgeItemStyle: CMSIBCommonInterface;
|
|
21
|
+
}
|
|
22
|
+
export interface selfDesignInterface {
|
|
23
|
+
selectorKey: string;
|
|
24
|
+
badge: {
|
|
25
|
+
selectorKey: string;
|
|
26
|
+
defaultState: any;
|
|
27
|
+
newState: any;
|
|
28
|
+
bestsellerState: any;
|
|
29
|
+
limitedState: any;
|
|
30
|
+
exclusiveState: any;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export declare enum BadgeSelectorKeysEnum {
|
|
34
|
+
HOVER_STATE = "hover",
|
|
35
|
+
DEFAULT_STATE = "default",
|
|
36
|
+
NEW_STATE = "newState",
|
|
37
|
+
BESTSELLER_STATE = "bestsellerState",
|
|
38
|
+
LIMITED_STATE = "limitedState",
|
|
39
|
+
EXCLUSIVE_STATE = "exclusiveState",
|
|
40
|
+
LAYOUT = "layout",
|
|
41
|
+
CONTENT = "content",
|
|
42
|
+
DESIGN = "design",
|
|
43
|
+
BADGE = "badge",
|
|
44
|
+
DATA_CONNECTOR = "dataConnector"
|
|
45
|
+
}
|
|
46
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
interface selfLayoutInterface {
|
|
4
|
+
selectorKey: string;
|
|
5
|
+
optionSelection: CMSIBCommonInterface;
|
|
6
|
+
displayStyle: CMSIBCommonInterface;
|
|
7
|
+
displayOutOfStockValues: CMSIBCommonInterface;
|
|
8
|
+
notifyMeButton: CMSIBCommonInterface;
|
|
9
|
+
quantitySelectorForVariantSelector: CMSIBCommonInterface;
|
|
10
|
+
dividerBetweenItems: CMSIBCommonInterface;
|
|
11
|
+
optionTitleValueSpacing: CMSIBCommonInterface;
|
|
12
|
+
remainingDisplayStyle: CMSIBCommonInterface;
|
|
13
|
+
allowUserToSearch: CMSIBCommonInterface;
|
|
14
|
+
allowUserToFilter: CMSIBCommonInterface;
|
|
15
|
+
swatchTypeDisplayStyle: {
|
|
16
|
+
selectorKey: string;
|
|
17
|
+
displayValues: CMSIBCommonInterface;
|
|
18
|
+
itemPadding: CMSIBCommonInterface;
|
|
19
|
+
itemSpacing: CMSIBCommonInterface;
|
|
20
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
21
|
+
overflowItems: CMSIBCommonInterface;
|
|
22
|
+
swatchImageType: CMSIBCommonInterface;
|
|
23
|
+
};
|
|
24
|
+
singleSelectDisplayStyle: {
|
|
25
|
+
selectorKey: string;
|
|
26
|
+
displayValues: CMSIBCommonInterface;
|
|
27
|
+
itemSpacing: CMSIBCommonInterface;
|
|
28
|
+
itemPadding: CMSIBCommonInterface;
|
|
29
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
30
|
+
overflowItems: CMSIBCommonInterface;
|
|
31
|
+
imageBehaviour: CMSIBCommonInterface;
|
|
32
|
+
itemsPerRow: CMSIBCommonInterface;
|
|
33
|
+
itemContentAlignment: CMSIBCommonInterface;
|
|
34
|
+
overflowDirection: CMSIBCommonInterface;
|
|
35
|
+
};
|
|
36
|
+
dropdownDisplayStyle: {
|
|
37
|
+
selectorKey: string;
|
|
38
|
+
dropdownOptionsSpacing: CMSIBCommonInterface;
|
|
39
|
+
dropdownOptionsPadding: CMSIBCommonInterface;
|
|
40
|
+
dropdownStyle: CMSIBCommonInterface;
|
|
41
|
+
optionAndListSpacing: CMSIBCommonInterface;
|
|
42
|
+
dropdownListItemSpacing: CMSIBCommonInterface;
|
|
43
|
+
dropdownListItemPadding: CMSIBCommonInterface;
|
|
44
|
+
dividerBetweenListItems: CMSIBCommonInterface;
|
|
45
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
46
|
+
overflowItems: CMSIBCommonInterface;
|
|
47
|
+
};
|
|
48
|
+
groupedOptionsDisplayStyle: {
|
|
49
|
+
selectorKey: string;
|
|
50
|
+
groupsDisplayStyle: CMSIBCommonInterface;
|
|
51
|
+
groupSpacing: CMSIBCommonInterface;
|
|
52
|
+
groupPadding: CMSIBCommonInterface;
|
|
53
|
+
groupHeaderAndOptionSpacing: CMSIBCommonInterface;
|
|
54
|
+
tabDirection: CMSIBCommonInterface;
|
|
55
|
+
tabLayout: CMSIBCommonInterface;
|
|
56
|
+
tabAlignment: CMSIBCommonInterface;
|
|
57
|
+
tabSpacing: CMSIBCommonInterface;
|
|
58
|
+
tabAndContainerSpacing: CMSIBCommonInterface;
|
|
59
|
+
tabHorizontalPadding: CMSIBCommonInterface;
|
|
60
|
+
tabVerticalPadding: CMSIBCommonInterface;
|
|
61
|
+
containerPadding: CMSIBCommonInterface;
|
|
62
|
+
overflowItems: CMSIBCommonInterface;
|
|
63
|
+
tabRowSpacing: CMSIBCommonInterface;
|
|
64
|
+
expandIconPositon: CMSIBCommonInterface;
|
|
65
|
+
expandFirstItemByDefault: CMSIBCommonInterface;
|
|
66
|
+
allowMultipleOpenItems: CMSIBCommonInterface;
|
|
67
|
+
itemDividers: CMSIBCommonInterface;
|
|
68
|
+
accordionSpacing: CMSIBCommonInterface;
|
|
69
|
+
accordionAndContainerSpacing: CMSIBCommonInterface;
|
|
70
|
+
accordionHorizontalPadding: CMSIBCommonInterface;
|
|
71
|
+
accordionVerticalPadding: CMSIBCommonInterface;
|
|
72
|
+
groupAndContainerSpacing: CMSIBCommonInterface;
|
|
73
|
+
groupHorizontalPadding: CMSIBCommonInterface;
|
|
74
|
+
groupVerticalPadding: CMSIBCommonInterface;
|
|
75
|
+
canCollapseGroups: CMSIBCommonInterface;
|
|
76
|
+
};
|
|
77
|
+
matrixDisplayStyle: {
|
|
78
|
+
selectorKey: string;
|
|
79
|
+
header: CMSIBCommonInterface;
|
|
80
|
+
headerHeight: CMSIBCommonInterface;
|
|
81
|
+
rowHeight: CMSIBCommonInterface;
|
|
82
|
+
headerDivider: CMSIBCommonInterface;
|
|
83
|
+
rowDivider: CMSIBCommonInterface;
|
|
84
|
+
columnDivider: CMSIBCommonInterface;
|
|
85
|
+
alternativeRowColors: CMSIBCommonInterface;
|
|
86
|
+
headerCellPadding: CMSIBCommonInterface;
|
|
87
|
+
rowCellPadding: CMSIBCommonInterface;
|
|
88
|
+
contentAlignment: CMSIBCommonInterface;
|
|
89
|
+
rowsPerPage: CMSIBCommonInterface;
|
|
90
|
+
overflowControl: CMSIBCommonInterface;
|
|
91
|
+
paginationType: CMSIBCommonInterface;
|
|
92
|
+
paginationAliginment: CMSIBCommonInterface;
|
|
93
|
+
showMoreRows: CMSIBCommonInterface;
|
|
94
|
+
};
|
|
95
|
+
groupedMatrixDisplayStyle: {
|
|
96
|
+
selectorKey: string;
|
|
97
|
+
groupsDisplayStyle: CMSIBCommonInterface;
|
|
98
|
+
groupSpacing: CMSIBCommonInterface;
|
|
99
|
+
groupPadding: CMSIBCommonInterface;
|
|
100
|
+
groupHeaderAndOptionSpacing: CMSIBCommonInterface;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
interface selfDesignInterface {
|
|
104
|
+
selectorKey: string;
|
|
105
|
+
}
|
|
106
|
+
export declare enum BulkVariantPickerSelectorKeysEnum {
|
|
107
|
+
LAYOUT = "layout",
|
|
108
|
+
CONTENT = "content",
|
|
109
|
+
DESIGN = "design",
|
|
110
|
+
SWATFH_TYPE_DISPLAY_STYLE = "swatchTypeDisplayStyle",
|
|
111
|
+
SINGLE_SELECT_DISPLAY_STYLE = "singleSelectDisplayStyle",
|
|
112
|
+
DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle",
|
|
113
|
+
GROUPED_OPTION_DISPLAY_STYLE = "groupedOptionsDisplayStyle",
|
|
114
|
+
MATRIX_DISPLAY_STYLE = "matrixDisplayStyle",
|
|
115
|
+
GROUPED_MATRIX_DISPLAY_STYLE = "groupedMatrixDisplayStyle",
|
|
116
|
+
DATA_CONNECTOR = "dataConnector"
|
|
117
|
+
}
|
|
118
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
119
|
+
export {};
|
|
@@ -20,6 +20,7 @@ interface selfLayoutInterface {
|
|
|
20
20
|
maxItemsToDisplay: CMSIBCommonInterface;
|
|
21
21
|
overflowItems: CMSIBCommonInterface;
|
|
22
22
|
swatchImageType: CMSIBCommonInterface;
|
|
23
|
+
itemSize: CMSIBCommonInterface;
|
|
23
24
|
};
|
|
24
25
|
singleSelectDisplayStyle: {
|
|
25
26
|
selectorKey: string;
|
|
@@ -76,21 +77,7 @@ interface selfLayoutInterface {
|
|
|
76
77
|
};
|
|
77
78
|
matrixDisplayStyle: {
|
|
78
79
|
selectorKey: string;
|
|
79
|
-
|
|
80
|
-
headerHeight: CMSIBCommonInterface;
|
|
81
|
-
rowHeight: CMSIBCommonInterface;
|
|
82
|
-
headerDivider: CMSIBCommonInterface;
|
|
83
|
-
rowDivider: CMSIBCommonInterface;
|
|
84
|
-
columnDivider: CMSIBCommonInterface;
|
|
85
|
-
alternativeRowColors: CMSIBCommonInterface;
|
|
86
|
-
headerCellPadding: CMSIBCommonInterface;
|
|
87
|
-
rowCellPadding: CMSIBCommonInterface;
|
|
88
|
-
contentAlignment: CMSIBCommonInterface;
|
|
89
|
-
rowsPerPage: CMSIBCommonInterface;
|
|
90
|
-
overflowControl: CMSIBCommonInterface;
|
|
91
|
-
paginationType: CMSIBCommonInterface;
|
|
92
|
-
paginationAliginment: CMSIBCommonInterface;
|
|
93
|
-
showMoreRows: CMSIBCommonInterface;
|
|
80
|
+
[key: string]: any;
|
|
94
81
|
};
|
|
95
82
|
groupedMatrixDisplayStyle: {
|
|
96
83
|
selectorKey: string;
|
|
@@ -99,11 +86,13 @@ interface selfLayoutInterface {
|
|
|
99
86
|
groupPadding: CMSIBCommonInterface;
|
|
100
87
|
groupHeaderAndOptionSpacing: CMSIBCommonInterface;
|
|
101
88
|
};
|
|
89
|
+
[key: string]: any;
|
|
102
90
|
}
|
|
103
91
|
interface selfDesignInterface {
|
|
104
92
|
selectorKey: string;
|
|
93
|
+
[key: string]: any;
|
|
105
94
|
}
|
|
106
|
-
export declare enum
|
|
95
|
+
export declare enum SelfEnums {
|
|
107
96
|
LAYOUT = "layout",
|
|
108
97
|
CONTENT = "content",
|
|
109
98
|
DESIGN = "design",
|
|
@@ -113,7 +102,55 @@ export declare enum BulkVariantPickerSelectorKeysEnum {
|
|
|
113
102
|
GROUPED_OPTION_DISPLAY_STYLE = "groupedOptionsDisplayStyle",
|
|
114
103
|
MATRIX_DISPLAY_STYLE = "matrixDisplayStyle",
|
|
115
104
|
GROUPED_MATRIX_DISPLAY_STYLE = "groupedMatrixDisplayStyle",
|
|
116
|
-
DATA_CONNECTOR = "dataConnector"
|
|
105
|
+
DATA_CONNECTOR = "dataConnector",
|
|
106
|
+
SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButton",
|
|
107
|
+
OPTION_TITLE = "optionTitle",
|
|
108
|
+
NO_OF_OPTION_VALUES = "noOfOptionValues",
|
|
109
|
+
OPTION_PRICE = "optionPrice",
|
|
110
|
+
SELECTED_VARIENT_NAME = "selectedVarientName",
|
|
111
|
+
OPTION_VALUE_NAME = "optionValueName",
|
|
112
|
+
OPTION_VALUE_CODE = "optionValueCode",
|
|
113
|
+
NO_OF_VARIENTS_AVAILABLE = "noOfVariantsAvailable",
|
|
114
|
+
OPTION_VALUE_PRICE = "optionValuePrice",
|
|
115
|
+
AVAILABLE_INVENTORY = "availableInventory",
|
|
116
|
+
ADDED_ITEMS_TOTAL = "addedItemsTotal",
|
|
117
|
+
OPTION_STYLE = "optionStyle",
|
|
118
|
+
SWATCH_OPTION_VALUE_STYLE = "swatchOptionValueStyle",
|
|
119
|
+
DROPDOWN_OPTION_VALUE_STYLE = "dropdownOptionValueStyle",
|
|
120
|
+
SINGLE_SELECT_OPTION_VALUE_STYLE = "singleSelectOptionValueStyle",
|
|
121
|
+
GROUPED_OPTION_VALUE_STYLE = "groupedOptionValueStyle",
|
|
122
|
+
MATRIX_OPTION_VALUE_STYLE = "matrixOptionValueStyle",
|
|
123
|
+
GROUPED_MATRIX_OPTION_VALUE_STYLE = "groupedMatrixOptionValueStyle",
|
|
124
|
+
PRICE_FORMAT = "priceFormat",
|
|
125
|
+
HOVER_STATE = "hover",
|
|
126
|
+
DEFAULT_STATE = "default",
|
|
127
|
+
SELECTED_STATE = "selected",
|
|
128
|
+
COLLAPSED_STATE = "collapsed",
|
|
129
|
+
EXPANDED_STATE = "expanded",
|
|
130
|
+
SINGLE_OPTION_VALUE_STYLE = "singleOptionValueStyle",
|
|
131
|
+
TAB_ITEM_STYLE = "tabItemStyle",
|
|
132
|
+
ACCORDION_ITEM_STYLES = "accordionItemStyles",
|
|
133
|
+
ACCORDION_ITEM_STYLE = "accordionItemStyle",
|
|
134
|
+
GROUPED_UPFRONT_STYLE = "groupedUpfrontStyle",
|
|
135
|
+
DROPDOWN_STYLE = "dropdownStyle",
|
|
136
|
+
ARROWS = "arrows",
|
|
137
|
+
PAGINATION_DOTS = "paginationDots",
|
|
138
|
+
PAGINATION_LINE = "paginationLine",
|
|
139
|
+
TABLE_HEADER = "tableHeader",
|
|
140
|
+
HEADER_TEXT = "headerText",
|
|
141
|
+
TABLE_ROW = "tableRow",
|
|
142
|
+
SCROLL = "scroll",
|
|
143
|
+
ROW_DIVIDERS = "rowDividers",
|
|
144
|
+
PAGINATION = "pagination",
|
|
145
|
+
TABLE = "table",
|
|
146
|
+
TABLE_ROW_AND_HEADER_DIVIDERS = "tableRowAndHeaderDividers",
|
|
147
|
+
LOAD_MORE_BUTTON = "loadMoreButton",
|
|
148
|
+
TABLE_WIDGET = "tableWidget",
|
|
149
|
+
ROW_TEXT = "rowText",
|
|
150
|
+
SCROLL_BAR = "scrollBar",
|
|
151
|
+
ROW_AND_HEADER_DIVIDERS = "rowAndHeaderDividers",
|
|
152
|
+
ROW_AND_HEADER_DIVIDER = "rowAndHeaderDivider",
|
|
153
|
+
SEARCHBAR = "searchBar"
|
|
117
154
|
}
|
|
118
155
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
119
156
|
export {};
|
|
@@ -94,4 +94,5 @@ import * as layouterProItem from "./layouter-pro-item";
|
|
|
94
94
|
import * as filterResults from "./filterResults";
|
|
95
95
|
import * as productSizeChart from "./productSizeChart";
|
|
96
96
|
import * as userElements from "./userElements";
|
|
97
|
-
|
|
97
|
+
import * as badge from "./badge";
|
|
98
|
+
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, };
|