@sc-360-v2/storefront-cms-library 0.3.85 → 0.3.87
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/bundle.scss +1 -1
- package/dist/bundleDetails.scss +1 -1
- package/dist/cart-details.scss +0 -4
- package/dist/embroider-preview-element.scss +94 -0
- package/dist/embroider-template-1.scss +417 -0
- package/dist/embroidery.scss +177 -0
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/my-templates.scss +250 -268
- package/dist/request-for-quotes.scss +9 -6
- package/dist/types/builder/elements/embroidery/index.d.ts +39 -0
- package/dist/types/builder/elements/form-builder/index.d.ts +1 -0
- package/dist/types/builder/enums/index.d.ts +4 -1
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/allocations.d.ts +295 -0
- package/dist/types/builder/tools/element-edit/embroidery.d.ts +795 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/volumePricing copy.d.ts +207 -0
- package/dist/types/builder/tools/element-edit/volumePricing.d.ts +5 -78
- package/dist/uom-selector.scss +4 -4
- package/dist/volume-pricing copy 2.scss +1491 -0
- package/dist/volume-pricing.scss +438 -740
- package/dist/website.js +1 -1
- package/dist/widget.scss +2 -0
- package/package.json +1 -1
|
@@ -111,4 +111,5 @@ import * as optionBar from "./optionBar";
|
|
|
111
111
|
import * as myTemplates from "./my-templates";
|
|
112
112
|
import * as requestForQuote from "./request-for-quote";
|
|
113
113
|
import * as categoryGroups from "./categoryGroups";
|
|
114
|
-
|
|
114
|
+
import * as embroidery from "./embroidery";
|
|
115
|
+
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, loader, addProductsTab, quotaDetails, shippingPayments, coupon, productDescription, megaMenu, megaMenuContainer, simpleList, cartWrapper, optionBar, myTemplates, requestForQuote, categoryGroups, embroidery, };
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
interface selfLayoutInterface {
|
|
4
|
+
selectorKey: string;
|
|
5
|
+
showVolumePrice: CMSIBCommonInterface;
|
|
6
|
+
displayFormat: CMSIBCommonInterface;
|
|
7
|
+
itemSpacing: CMSIBCommonInterface;
|
|
8
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
9
|
+
overflowControl: CMSIBCommonInterface;
|
|
10
|
+
onClick: CMSIBCommonInterface;
|
|
11
|
+
sliderControl: CMSIBCommonInterface;
|
|
12
|
+
controlPosition: CMSIBCommonInterface;
|
|
13
|
+
loopImages: CMSIBCommonInterface;
|
|
14
|
+
autoplay: CMSIBCommonInterface;
|
|
15
|
+
sliderDisplayScrollBar: CMSIBCommonInterface;
|
|
16
|
+
header: CMSIBCommonInterface;
|
|
17
|
+
headerDivider: CMSIBCommonInterface;
|
|
18
|
+
rowDivider: CMSIBCommonInterface;
|
|
19
|
+
columnDivider: CMSIBCommonInterface;
|
|
20
|
+
alternativeRowColors: CMSIBCommonInterface;
|
|
21
|
+
headerCellPadding: CMSIBCommonInterface;
|
|
22
|
+
rowCellPadding: CMSIBCommonInterface;
|
|
23
|
+
contentAlignment: CMSIBCommonInterface;
|
|
24
|
+
showMoreRows: CMSIBCommonInterface;
|
|
25
|
+
rowsPerPage: CMSIBCommonInterface;
|
|
26
|
+
paginationType: CMSIBCommonInterface;
|
|
27
|
+
paginationAlignment: CMSIBCommonInterface;
|
|
28
|
+
optionTitleAndValueSpacing: CMSIBCommonInterface;
|
|
29
|
+
tabItemSpacing: CMSIBCommonInterface;
|
|
30
|
+
accordionItemSpacing: CMSIBCommonInterface;
|
|
31
|
+
noOfItemsToLoad: CMSIBCommonInterface;
|
|
32
|
+
groupDisplayStyle: CMSIBCommonInterface;
|
|
33
|
+
headerHeight: CMSIBCommonInterface;
|
|
34
|
+
rowHeight: CMSIBCommonInterface;
|
|
35
|
+
optionTitleValueSpacing: CMSIBCommonInterface;
|
|
36
|
+
dividerBetweenItems: CMSIBCommonInterface;
|
|
37
|
+
optionsDisplayStyle: {
|
|
38
|
+
selectorKey: string;
|
|
39
|
+
displayValues: CMSIBCommonInterface;
|
|
40
|
+
itemPadding: CMSIBCommonInterface;
|
|
41
|
+
itemSpacing: CMSIBCommonInterface;
|
|
42
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
43
|
+
overflowItems: CMSIBCommonInterface;
|
|
44
|
+
swatchImageType: CMSIBCommonInterface;
|
|
45
|
+
};
|
|
46
|
+
groupedOptionsDisplayStyle: {
|
|
47
|
+
selectorKey: string;
|
|
48
|
+
groupsDisplayStyle: CMSIBCommonInterface;
|
|
49
|
+
groupSpacing: CMSIBCommonInterface;
|
|
50
|
+
groupPadding: CMSIBCommonInterface;
|
|
51
|
+
groupHeaderAndOptionSpacing: CMSIBCommonInterface;
|
|
52
|
+
tabDirection: CMSIBCommonInterface;
|
|
53
|
+
tabLayout: CMSIBCommonInterface;
|
|
54
|
+
tabAlignment: CMSIBCommonInterface;
|
|
55
|
+
tabSpacing: CMSIBCommonInterface;
|
|
56
|
+
tabAndContainerSpacing: CMSIBCommonInterface;
|
|
57
|
+
tabHorizontalPadding: CMSIBCommonInterface;
|
|
58
|
+
tabVerticalPadding: CMSIBCommonInterface;
|
|
59
|
+
containerPadding: CMSIBCommonInterface;
|
|
60
|
+
overflowItems: CMSIBCommonInterface;
|
|
61
|
+
tabRowSpacing: CMSIBCommonInterface;
|
|
62
|
+
expandIconPosition: CMSIBCommonInterface;
|
|
63
|
+
expandFirstItemByDefault: CMSIBCommonInterface;
|
|
64
|
+
allowMultipleOpenItems: CMSIBCommonInterface;
|
|
65
|
+
itemDividers: CMSIBCommonInterface;
|
|
66
|
+
accordionSpacing: CMSIBCommonInterface;
|
|
67
|
+
accordionAndContainerSpacing: CMSIBCommonInterface;
|
|
68
|
+
accordionHorizontalPadding: CMSIBCommonInterface;
|
|
69
|
+
accordionVerticalPadding: CMSIBCommonInterface;
|
|
70
|
+
groupAndContainerSpacing: CMSIBCommonInterface;
|
|
71
|
+
groupHorizontalPadding: CMSIBCommonInterface;
|
|
72
|
+
groupVerticalPadding: CMSIBCommonInterface;
|
|
73
|
+
canCollapseGroups: CMSIBCommonInterface;
|
|
74
|
+
collapseIconPosition: CMSIBCommonInterface;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
interface selfDesignInterface {
|
|
78
|
+
selectorKey: string;
|
|
79
|
+
itemStyle: {
|
|
80
|
+
selectorKey: string;
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
};
|
|
83
|
+
uomTitleStyle: {
|
|
84
|
+
selectorKey: string;
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
};
|
|
87
|
+
uomConversionStyle: {
|
|
88
|
+
selectorKey: string;
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
};
|
|
91
|
+
productPrice: {
|
|
92
|
+
selectorKey: string;
|
|
93
|
+
[key: string]: any;
|
|
94
|
+
};
|
|
95
|
+
uomStyle: {
|
|
96
|
+
selectorKey: string;
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
};
|
|
99
|
+
currencyCodeStyle: {
|
|
100
|
+
selectorKey: string;
|
|
101
|
+
[key: string]: any;
|
|
102
|
+
};
|
|
103
|
+
actualPrice: {
|
|
104
|
+
selectorKey: string;
|
|
105
|
+
[key: string]: any;
|
|
106
|
+
};
|
|
107
|
+
discount: {
|
|
108
|
+
selectorKey: string;
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
};
|
|
111
|
+
discountValue: {
|
|
112
|
+
selectorKey: string;
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
};
|
|
115
|
+
savings: {
|
|
116
|
+
selectorKey: string;
|
|
117
|
+
[key: string]: any;
|
|
118
|
+
};
|
|
119
|
+
savingsValue: {
|
|
120
|
+
selectorKey: string;
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
};
|
|
123
|
+
pricePerUnit: {
|
|
124
|
+
selectorKey: string;
|
|
125
|
+
[key: string]: any;
|
|
126
|
+
};
|
|
127
|
+
arrows: {
|
|
128
|
+
selectorKey: string;
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
};
|
|
131
|
+
paginationDots: {
|
|
132
|
+
selectorKey: string;
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
};
|
|
135
|
+
paginationLine: {
|
|
136
|
+
selectorKey: string;
|
|
137
|
+
[key: string]: any;
|
|
138
|
+
};
|
|
139
|
+
table: {
|
|
140
|
+
selectorKey: string;
|
|
141
|
+
[key: string]: any;
|
|
142
|
+
};
|
|
143
|
+
tableHeader: {
|
|
144
|
+
selectorKey: string;
|
|
145
|
+
[key: string]: any;
|
|
146
|
+
};
|
|
147
|
+
headerText: {
|
|
148
|
+
selectorKey: string;
|
|
149
|
+
[key: string]: any;
|
|
150
|
+
};
|
|
151
|
+
tableRow: {
|
|
152
|
+
selectorKey: string;
|
|
153
|
+
[key: string]: any;
|
|
154
|
+
};
|
|
155
|
+
scroll: {
|
|
156
|
+
selectorKey: string;
|
|
157
|
+
[key: string]: any;
|
|
158
|
+
};
|
|
159
|
+
rowDividers: {
|
|
160
|
+
selectorKey: string;
|
|
161
|
+
[key: string]: any;
|
|
162
|
+
};
|
|
163
|
+
pagination: {
|
|
164
|
+
selectorKey: string;
|
|
165
|
+
[key: string]: any;
|
|
166
|
+
};
|
|
167
|
+
showMoreItemsButton: {
|
|
168
|
+
selectorKey: string;
|
|
169
|
+
[key: string]: any;
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
export declare enum VolumePricingSelectorKeysEnum {
|
|
173
|
+
LAYOUT = "layout",
|
|
174
|
+
CONTENT = "content",
|
|
175
|
+
DESIGN = "design",
|
|
176
|
+
DATA_CONNECTOR = "dataConnector",
|
|
177
|
+
GROUPED_OPTION_DISPLAY_STYLE = "groupedOptionsDisplayStyle",
|
|
178
|
+
OPTION_DISPLAY_STYLE = "optionsDisplayStyle",
|
|
179
|
+
ITEM_STYLE = "itemStyle",
|
|
180
|
+
UOM_TITLE_STYLE = "uomTitleStyle",
|
|
181
|
+
UOM_CONVERSION_STYLE = "uomConversionStyle",
|
|
182
|
+
PRODUCT_PRICE = "productPrice",
|
|
183
|
+
UOM_STYLE = "uomStyle",
|
|
184
|
+
CURRENCY_CODE_STYLE = "currencyCodeStyle",
|
|
185
|
+
ACTUAL_PRICE = "actualPrice",
|
|
186
|
+
DISCOUNT = "discount",
|
|
187
|
+
DISCOUNT_VALUE = "discountValue",
|
|
188
|
+
SAVINGS = "savings",
|
|
189
|
+
SAVINGS_VALUE = "savingsValue",
|
|
190
|
+
PRICE_PER_UNIT = "pricePerUnit",
|
|
191
|
+
ARROWS = "arrows",
|
|
192
|
+
PAGINATION_DOTS = "paginationDots",
|
|
193
|
+
PAGINATION_LINE = "paginationLine",
|
|
194
|
+
TABLE = "table",
|
|
195
|
+
TABLE_HEADER = "tableHeader",
|
|
196
|
+
HEADER_TEXT = "headerText",
|
|
197
|
+
TABLE_ROW = "tableRow",
|
|
198
|
+
SCROLL = "scroll",
|
|
199
|
+
ROW_DIVIDERS = "rowDividers",
|
|
200
|
+
PAGINATION = "pagination",
|
|
201
|
+
SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButton",
|
|
202
|
+
HOVER_STATE = "hover",
|
|
203
|
+
DEFAULT_STATE = "default",
|
|
204
|
+
SELECTED_STATE = "selectedState"
|
|
205
|
+
}
|
|
206
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
207
|
+
export {};
|
|
@@ -1,79 +1,4 @@
|
|
|
1
|
-
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
1
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
-
interface selfLayoutInterface {
|
|
4
|
-
selectorKey: string;
|
|
5
|
-
showVolumePrice: CMSIBCommonInterface;
|
|
6
|
-
displayFormat: CMSIBCommonInterface;
|
|
7
|
-
itemSpacing: CMSIBCommonInterface;
|
|
8
|
-
maxItemsToDisplay: CMSIBCommonInterface;
|
|
9
|
-
overflowControl: CMSIBCommonInterface;
|
|
10
|
-
onClick: CMSIBCommonInterface;
|
|
11
|
-
sliderControl: CMSIBCommonInterface;
|
|
12
|
-
controlPosition: CMSIBCommonInterface;
|
|
13
|
-
loopImages: CMSIBCommonInterface;
|
|
14
|
-
autoplay: CMSIBCommonInterface;
|
|
15
|
-
sliderDisplayScrollBar: CMSIBCommonInterface;
|
|
16
|
-
header: CMSIBCommonInterface;
|
|
17
|
-
headerDivider: CMSIBCommonInterface;
|
|
18
|
-
rowDivider: CMSIBCommonInterface;
|
|
19
|
-
columnDivider: CMSIBCommonInterface;
|
|
20
|
-
alternativeRowColors: CMSIBCommonInterface;
|
|
21
|
-
headerCellPadding: CMSIBCommonInterface;
|
|
22
|
-
rowCellPadding: CMSIBCommonInterface;
|
|
23
|
-
contentAlignment: CMSIBCommonInterface;
|
|
24
|
-
showMoreRows: CMSIBCommonInterface;
|
|
25
|
-
rowsPerPage: CMSIBCommonInterface;
|
|
26
|
-
paginationType: CMSIBCommonInterface;
|
|
27
|
-
paginationAlignment: CMSIBCommonInterface;
|
|
28
|
-
optionTitleAndValueSpacing: CMSIBCommonInterface;
|
|
29
|
-
tabItemSpacing: CMSIBCommonInterface;
|
|
30
|
-
accordionItemSpacing: CMSIBCommonInterface;
|
|
31
|
-
noOfItemsToLoad: CMSIBCommonInterface;
|
|
32
|
-
groupDisplayStyle: CMSIBCommonInterface;
|
|
33
|
-
headerHeight: CMSIBCommonInterface;
|
|
34
|
-
rowHeight: CMSIBCommonInterface;
|
|
35
|
-
optionTitleValueSpacing: CMSIBCommonInterface;
|
|
36
|
-
dividerBetweenItems: CMSIBCommonInterface;
|
|
37
|
-
optionsDisplayStyle: {
|
|
38
|
-
selectorKey: string;
|
|
39
|
-
displayValues: CMSIBCommonInterface;
|
|
40
|
-
itemPadding: CMSIBCommonInterface;
|
|
41
|
-
itemSpacing: CMSIBCommonInterface;
|
|
42
|
-
maxItemsToDisplay: CMSIBCommonInterface;
|
|
43
|
-
overflowItems: CMSIBCommonInterface;
|
|
44
|
-
swatchImageType: CMSIBCommonInterface;
|
|
45
|
-
};
|
|
46
|
-
groupedOptionsDisplayStyle: {
|
|
47
|
-
selectorKey: string;
|
|
48
|
-
groupsDisplayStyle: CMSIBCommonInterface;
|
|
49
|
-
groupSpacing: CMSIBCommonInterface;
|
|
50
|
-
groupPadding: CMSIBCommonInterface;
|
|
51
|
-
groupHeaderAndOptionSpacing: CMSIBCommonInterface;
|
|
52
|
-
tabDirection: CMSIBCommonInterface;
|
|
53
|
-
tabLayout: CMSIBCommonInterface;
|
|
54
|
-
tabAlignment: CMSIBCommonInterface;
|
|
55
|
-
tabSpacing: CMSIBCommonInterface;
|
|
56
|
-
tabAndContainerSpacing: CMSIBCommonInterface;
|
|
57
|
-
tabHorizontalPadding: CMSIBCommonInterface;
|
|
58
|
-
tabVerticalPadding: CMSIBCommonInterface;
|
|
59
|
-
containerPadding: CMSIBCommonInterface;
|
|
60
|
-
overflowItems: CMSIBCommonInterface;
|
|
61
|
-
tabRowSpacing: CMSIBCommonInterface;
|
|
62
|
-
expandIconPosition: CMSIBCommonInterface;
|
|
63
|
-
expandFirstItemByDefault: CMSIBCommonInterface;
|
|
64
|
-
allowMultipleOpenItems: CMSIBCommonInterface;
|
|
65
|
-
itemDividers: CMSIBCommonInterface;
|
|
66
|
-
accordionSpacing: CMSIBCommonInterface;
|
|
67
|
-
accordionAndContainerSpacing: CMSIBCommonInterface;
|
|
68
|
-
accordionHorizontalPadding: CMSIBCommonInterface;
|
|
69
|
-
accordionVerticalPadding: CMSIBCommonInterface;
|
|
70
|
-
groupAndContainerSpacing: CMSIBCommonInterface;
|
|
71
|
-
groupHorizontalPadding: CMSIBCommonInterface;
|
|
72
|
-
groupVerticalPadding: CMSIBCommonInterface;
|
|
73
|
-
canCollapseGroups: CMSIBCommonInterface;
|
|
74
|
-
collapseIconPosition: CMSIBCommonInterface;
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
2
|
interface selfDesignInterface {
|
|
78
3
|
selectorKey: string;
|
|
79
4
|
itemStyle: {
|
|
@@ -168,8 +93,9 @@ interface selfDesignInterface {
|
|
|
168
93
|
selectorKey: string;
|
|
169
94
|
[key: string]: any;
|
|
170
95
|
};
|
|
96
|
+
[key: string]: any;
|
|
171
97
|
}
|
|
172
|
-
export declare enum
|
|
98
|
+
export declare enum SelectorKeysEnum {
|
|
173
99
|
LAYOUT = "layout",
|
|
174
100
|
CONTENT = "content",
|
|
175
101
|
DESIGN = "design",
|
|
@@ -201,7 +127,8 @@ export declare enum VolumePricingSelectorKeysEnum {
|
|
|
201
127
|
SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButton",
|
|
202
128
|
HOVER_STATE = "hover",
|
|
203
129
|
DEFAULT_STATE = "default",
|
|
204
|
-
SELECTED_STATE = "selectedState"
|
|
130
|
+
SELECTED_STATE = "selectedState",
|
|
131
|
+
SCROLL_BAR = "scrollBar"
|
|
205
132
|
}
|
|
206
|
-
export declare const getDefaultData: () => CMSElementEditPopupInterface<
|
|
133
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<any & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
207
134
|
export {};
|
package/dist/uom-selector.scss
CHANGED
|
@@ -193,10 +193,10 @@
|
|
|
193
193
|
.active {
|
|
194
194
|
display: flex;
|
|
195
195
|
|
|
196
|
-
align-items: var(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
);
|
|
196
|
+
// align-items: var(
|
|
197
|
+
// --_ctm-mob-dn-im-se-sd-se-ct-at,
|
|
198
|
+
// var(--_ctm-tab-dn-im-se-sd-se-ct-at, var(--_ctm-dn-im-se-sd-se-ct-at))
|
|
199
|
+
// );
|
|
200
200
|
|
|
201
201
|
justify-content: center;
|
|
202
202
|
flex-direction: column;
|