@sc-360-v2/storefront-cms-library 0.1.90 → 0.1.92
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/bulk-variant-picker.scss +24 -0
- package/dist/cart.scss +18 -0
- package/dist/container.scss +11 -1
- package/dist/gallery-slider-temp.scss +12 -1
- package/dist/global.scss +4 -0
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/lightbox.scss +62 -0
- package/dist/modal.module.scss +121 -0
- package/dist/payment-methods.scss +7 -27
- package/dist/product-actions.scss +125 -141
- package/dist/product-basic-elements.scss +98 -37
- package/dist/product-price.scss +369 -1
- package/dist/product.scss +182 -0
- package/dist/profile.scss +18 -0
- package/dist/quantity-selector.scss +1 -1
- package/dist/section.scss +30 -0
- package/dist/stack.scss +72 -0
- package/dist/text-editor.scss +3 -0
- package/dist/types/builder/elements/cart/index.d.ts +26 -0
- package/dist/types/builder/elements/common.d.ts +1 -1
- package/dist/types/builder/elements/container/index.d.ts +1 -0
- package/dist/types/builder/elements/gallery-slider/index.d.ts +2 -2
- package/dist/types/builder/elements/lightbox/index.d.ts +43 -0
- package/dist/types/builder/elements/product/index.d.ts +30 -0
- package/dist/types/builder/elements/profile/index.d.ts +26 -0
- package/dist/types/builder/elements/repeater/index.d.ts +61 -0
- package/dist/types/builder/enums/index.d.ts +68 -3
- package/dist/types/builder/index.d.ts +33 -28
- package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +105 -2
- package/dist/types/builder/tools/element-edit/bulkVariantPicker.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/button.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/cart.d.ts +50 -0
- package/dist/types/builder/tools/element-edit/common.d.ts +2 -0
- package/dist/types/builder/tools/element-edit/container.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +9 -0
- package/dist/types/builder/tools/element-edit/image.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/index.d.ts +33 -27
- package/dist/types/builder/tools/element-edit/lightbox.d.ts +21 -0
- package/dist/types/builder/tools/element-edit/menu.d.ts +53 -0
- package/dist/types/builder/tools/element-edit/paymentMethods.d.ts +5 -2
- package/dist/types/builder/tools/element-edit/pickupLocations.d.ts +65 -1
- package/dist/types/builder/tools/element-edit/product-image.d.ts +10 -0
- package/dist/types/builder/tools/element-edit/product.d.ts +17 -0
- package/dist/types/builder/tools/element-edit/productActions.d.ts +7 -2
- package/dist/types/builder/tools/element-edit/productHighlights.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/productInventory.d.ts +96 -2
- package/dist/types/builder/tools/element-edit/productPrice.d.ts +46 -1
- package/dist/types/builder/tools/element-edit/productPromotions.d.ts +115 -2
- package/dist/types/builder/tools/element-edit/profile.d.ts +60 -0
- package/dist/types/builder/tools/element-edit/quantitySelector.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/repeater.d.ts +38 -0
- package/dist/types/builder/tools/element-edit/repeaterItem.d.ts +9 -0
- package/dist/types/builder/tools/element-edit/shippingEstimator.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/stack.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/storeLocations.d.ts +63 -1
- package/dist/types/builder/tools/element-edit/text.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/uomSelector.d.ts +123 -4
- package/dist/types/builder/tools/element-edit/variantPicker.d.ts +149 -2
- package/dist/types/builder/tools/element-edit/volumePricing.d.ts +2 -1
- package/dist/types/global/types.d.ts +1 -0
- package/dist/variant-picker.scss +24 -0
- package/dist/volume-pricing.scss +3 -2
- package/package.json +1 -1
- package/dist/types/builder/tools/element-edit/buttonv2.d.ts +0 -26
|
@@ -5,9 +5,11 @@ export interface ButtonLayoutInterface {
|
|
|
5
5
|
actions: CMSIBCommonInterface;
|
|
6
6
|
addToCart: CMSIBCommonInterface;
|
|
7
7
|
addToCartWhenClicked: CMSIBCommonInterface;
|
|
8
|
+
addToCartValue: CMSIBCommonInterface;
|
|
8
9
|
buyNow: CMSIBCommonInterface;
|
|
9
10
|
buyNowWhenClicked: CMSIBCommonInterface;
|
|
10
11
|
wishlist: CMSIBCommonInterface;
|
|
12
|
+
wishlistValue: CMSIBCommonInterface;
|
|
11
13
|
wishlistWhenClicked: CMSIBCommonInterface;
|
|
12
14
|
compareProduct: CMSIBCommonInterface;
|
|
13
15
|
compareProductWhenClicked: CMSIBCommonInterface;
|
|
@@ -37,19 +39,22 @@ export interface selfDesignInterface {
|
|
|
37
39
|
notifyMe: any;
|
|
38
40
|
download: any;
|
|
39
41
|
hoverState: any;
|
|
42
|
+
more: any;
|
|
40
43
|
}
|
|
41
44
|
export declare enum ButtonSelectorKeysEnum {
|
|
42
45
|
HOVER_STATE = "hover",
|
|
43
46
|
DEFAULT_STATE = "default",
|
|
44
47
|
LAYOUT = "layout",
|
|
45
48
|
DESIGN = "design",
|
|
46
|
-
ADD_TO_CART = "
|
|
49
|
+
ADD_TO_CART = "addToCart",
|
|
47
50
|
BUY_NOW = "buyNow",
|
|
48
51
|
WISHLIST = "wishlist",
|
|
49
52
|
COMPARE = "compare",
|
|
50
53
|
ADD_TO_QUOTE = "addToQuote",
|
|
51
54
|
ADD_TO_ORDER_TEMPLATE = "addToOrderTemplate",
|
|
52
55
|
NOTIFY_ME = "notifyMe",
|
|
53
|
-
DOWNLOAD = "download"
|
|
56
|
+
DOWNLOAD = "download",
|
|
57
|
+
MORE = "more",
|
|
58
|
+
DATA_CONNECTOR = "dataConnector"
|
|
54
59
|
}
|
|
55
60
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<ButtonLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
@@ -18,7 +18,8 @@ interface selfDesignInterface {
|
|
|
18
18
|
export declare enum ProductHighlightsSelectorKeysEnum {
|
|
19
19
|
LAYOUT = "layout",
|
|
20
20
|
CONTENT = "content",
|
|
21
|
-
DESIGN = "design"
|
|
21
|
+
DESIGN = "design",
|
|
22
|
+
DATA_CONNECTOR = "dataConnector"
|
|
22
23
|
}
|
|
23
24
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
24
25
|
export {};
|
|
@@ -20,16 +20,110 @@ interface selfLayoutInterface {
|
|
|
20
20
|
rowsPerPage: CMSIBCommonInterface;
|
|
21
21
|
overflowControl: CMSIBCommonInterface;
|
|
22
22
|
paginationType: CMSIBCommonInterface;
|
|
23
|
-
|
|
23
|
+
paginationAlignment: CMSIBCommonInterface;
|
|
24
24
|
displayResults: CMSIBCommonInterface;
|
|
25
|
+
noOfItemsToLoad: CMSIBCommonInterface;
|
|
25
26
|
}
|
|
26
27
|
interface selfDesignInterface {
|
|
27
28
|
selectorKey: string;
|
|
29
|
+
inventoryTextStyle: {
|
|
30
|
+
selectorKey: string;
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
viewInventoryButton: {
|
|
34
|
+
selectorKey: string;
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
itemStyle: {
|
|
38
|
+
selectorKey: string;
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
locationName: {
|
|
42
|
+
selectorKey: string;
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
locationAddress: {
|
|
46
|
+
selectorKey: string;
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
locationInventoryStatus: {
|
|
50
|
+
selectorKey: string;
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
locationInventory: {
|
|
54
|
+
selectorKey: string;
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
57
|
+
arrows: {
|
|
58
|
+
selectorKey: string;
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
};
|
|
61
|
+
paginationDots: {
|
|
62
|
+
selectorKey: string;
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
};
|
|
65
|
+
paginationLine: {
|
|
66
|
+
selectorKey: string;
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
table: {
|
|
70
|
+
selectorKey: string;
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
tableHeader: {
|
|
74
|
+
selectorKey: string;
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
};
|
|
77
|
+
headerText: {
|
|
78
|
+
selectorKey: string;
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
};
|
|
81
|
+
tableRow: {
|
|
82
|
+
selectorKey: string;
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
};
|
|
85
|
+
scroll: {
|
|
86
|
+
selectorKey: string;
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
};
|
|
89
|
+
rowDividers: {
|
|
90
|
+
selectorKey: string;
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
};
|
|
93
|
+
pagination: {
|
|
94
|
+
selectorKey: string;
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
};
|
|
97
|
+
showMoreItemsButton: {
|
|
98
|
+
selectorKey: string;
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
};
|
|
28
101
|
}
|
|
29
102
|
export declare enum ProductInventorySelectorKeysEnum {
|
|
30
103
|
LAYOUT = "layout",
|
|
31
104
|
CONTENT = "content",
|
|
32
|
-
DESIGN = "design"
|
|
105
|
+
DESIGN = "design",
|
|
106
|
+
INVENTORY_TEXT_STYLE = "inventoryTextStyle",
|
|
107
|
+
VIEW_INVENTORY_BUTTON = "viewInventoryButton",
|
|
108
|
+
ITEM_STYLE = "itemStyle",
|
|
109
|
+
LOCATION_NAME = "locationName",
|
|
110
|
+
LOCATION_ADDRESS = "locationAddress",
|
|
111
|
+
LOCATION_INVENTORY = "locationInventory",
|
|
112
|
+
LOCATION_INVENTORY_STATUS = "locationInventoryStatus",
|
|
113
|
+
ARROWS = "arrows",
|
|
114
|
+
PAGINATION_DOTS = "paginationDots",
|
|
115
|
+
PAGINATION_LINE = "paginationLine",
|
|
116
|
+
TABLE = "table",
|
|
117
|
+
TABLE_HEADER = "tableHeader",
|
|
118
|
+
HEADER_TEXT = "headerText",
|
|
119
|
+
TABLE_ROW = "tableRow",
|
|
120
|
+
SCROLL = "scroll",
|
|
121
|
+
ROW_DIVIDERS = "rowDividers",
|
|
122
|
+
PAGINATION = "pagination",
|
|
123
|
+
SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButtons",
|
|
124
|
+
HOVER_STATE = "hover",
|
|
125
|
+
DEFAULT_STATE = "default",
|
|
126
|
+
DATA_CONNECTOR = "dataConnector"
|
|
33
127
|
}
|
|
34
128
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
35
129
|
export {};
|
|
@@ -3,7 +3,19 @@ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSEl
|
|
|
3
3
|
export declare enum SelectorKeysEnum {
|
|
4
4
|
LAYOUT = "layout",
|
|
5
5
|
DESIGN = "design",
|
|
6
|
-
CONTENT = "content"
|
|
6
|
+
CONTENT = "content",
|
|
7
|
+
PRODUCT_PRICE = "productPrice",
|
|
8
|
+
UOM_STYLE = "uomStyle",
|
|
9
|
+
CURRENCY_CODE_STYLE = "currencyCodeStyle",
|
|
10
|
+
ACTUAL_PRICE = "actualPrice",
|
|
11
|
+
DISCOUNT = "discount",
|
|
12
|
+
SAVINGS = "savings",
|
|
13
|
+
DISCOUNT_VALUE = "discountValue",
|
|
14
|
+
SAVINGS_VALUE = "savingsValue",
|
|
15
|
+
EMBELLISHMENT_PRICE = "embellishmentPrice",
|
|
16
|
+
PRODUCT_TAX = "productTax",
|
|
17
|
+
PRODUCT_SHIPPING_PRICE = "productShippingPrice",
|
|
18
|
+
DATA_CONNECTOR = "dataConnector"
|
|
7
19
|
}
|
|
8
20
|
export interface selfLayoutInterface {
|
|
9
21
|
selectorKey: string;
|
|
@@ -14,6 +26,39 @@ export interface selfLayoutInterface {
|
|
|
14
26
|
}
|
|
15
27
|
export interface selfDesignInterface {
|
|
16
28
|
selectorKey: string;
|
|
29
|
+
productPrice: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
uomStyle: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
};
|
|
35
|
+
currencyCodeStyle: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
actualPrice: {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
discount: {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
savings: {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
};
|
|
47
|
+
discountValue: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
savingsValue: {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
embellishmentPrice: {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
};
|
|
56
|
+
productTax: {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
};
|
|
59
|
+
productShippingPrice: {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
17
62
|
}
|
|
18
63
|
export interface selfContentInterface {
|
|
19
64
|
selectorKey: string;
|
|
@@ -22,18 +22,131 @@ interface selfLayoutInterface {
|
|
|
22
22
|
rowsPerPage: CMSIBCommonInterface;
|
|
23
23
|
overflowControl: CMSIBCommonInterface;
|
|
24
24
|
paginationType: CMSIBCommonInterface;
|
|
25
|
-
|
|
25
|
+
paginationAlignment: CMSIBCommonInterface;
|
|
26
26
|
displayResults: CMSIBCommonInterface;
|
|
27
27
|
imageBehavior: CMSIBCommonInterface;
|
|
28
28
|
itemsPerRow: CMSIBCommonInterface;
|
|
29
29
|
}
|
|
30
30
|
interface selfDesignInterface {
|
|
31
31
|
selectorKey: string;
|
|
32
|
+
widgetStyle: {
|
|
33
|
+
selectorKey: string;
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
36
|
+
itemStyle: {
|
|
37
|
+
selectorKey: string;
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
40
|
+
viewOffersButton: {
|
|
41
|
+
selectorKey: string;
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
promotionName: {
|
|
45
|
+
selectorKey: string;
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
};
|
|
48
|
+
promotionDescription: {
|
|
49
|
+
selectorKey: string;
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
};
|
|
52
|
+
couponCode: {
|
|
53
|
+
selectorKey: string;
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
};
|
|
56
|
+
promotionSchedule: {
|
|
57
|
+
selectorKey: string;
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
};
|
|
60
|
+
minimumPurchaseAmount: {
|
|
61
|
+
selectorKey: string;
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
};
|
|
64
|
+
eligibleProductsButton: {
|
|
65
|
+
selectorKey: string;
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
};
|
|
68
|
+
priceAfterPromotion: {
|
|
69
|
+
selectorKey: string;
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
};
|
|
72
|
+
maxRedemptionAmount: {
|
|
73
|
+
selectorKey: string;
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
};
|
|
76
|
+
arrows: {
|
|
77
|
+
selectorKey: string;
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
};
|
|
80
|
+
paginationDots: {
|
|
81
|
+
selectorKey: string;
|
|
82
|
+
[key: string]: any;
|
|
83
|
+
};
|
|
84
|
+
showMoreItemsButton: {
|
|
85
|
+
selectorKey: string;
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
};
|
|
88
|
+
paginationLine: {
|
|
89
|
+
selectorKey: string;
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
92
|
+
table: {
|
|
93
|
+
selectorKey: string;
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
};
|
|
96
|
+
tableHeader: {
|
|
97
|
+
selectorKey: string;
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
};
|
|
100
|
+
headerText: {
|
|
101
|
+
selectorKey: string;
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
};
|
|
104
|
+
tableRow: {
|
|
105
|
+
selectorKey: string;
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
};
|
|
108
|
+
scroll: {
|
|
109
|
+
selectorKey: string;
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
};
|
|
112
|
+
rowDividers: {
|
|
113
|
+
selectorKey: string;
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
};
|
|
116
|
+
pagination: {
|
|
117
|
+
selectorKey: string;
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
};
|
|
32
120
|
}
|
|
33
121
|
export declare enum ProductPromotionsSelectorKeysEnum {
|
|
34
122
|
LAYOUT = "layout",
|
|
35
123
|
CONTENT = "content",
|
|
36
|
-
DESIGN = "design"
|
|
124
|
+
DESIGN = "design",
|
|
125
|
+
DESIGN_WIDGET_STYLE = "widgetStyle",
|
|
126
|
+
DESIGN_ITEM_STYLE = "itemStyle",
|
|
127
|
+
DESIGN_VIEW_OFFERS_BUTTON = "viewOffersButton",
|
|
128
|
+
DESIGN_PROMOTION_NAME = "promotionName",
|
|
129
|
+
DESIGN_PROMOTION_DESCRIPTION = "promotionDescription",
|
|
130
|
+
DESIGN_COUPON_CODE = "couponCode",
|
|
131
|
+
DESIGN_PROMOTION_SCHEDULE = "promotionSchedule",
|
|
132
|
+
DESIGN_MINIMUM_PURCHASE_AMOUNT = "minimumPurchaseAmount",
|
|
133
|
+
DESIGN_ELIGIBLE_PRODUCTS_BUTTON = "eligibleProductsButton",
|
|
134
|
+
DESIGN_PRICE_AFTER_PROMOTION = "priceAfterPromotion",
|
|
135
|
+
DESIGN_MAX_READEMPTION_AMOUNT = "maxRedemptionAmount",
|
|
136
|
+
DESIGN_ARROWS = "arrows",
|
|
137
|
+
DESIGN_PAGINATION_DOTS = "paginationDots",
|
|
138
|
+
DESIGN_SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButton",
|
|
139
|
+
DESIGN_PAGINATION_LINE = "paginationLine",
|
|
140
|
+
DESIGN_TABLE = "table",
|
|
141
|
+
DESIGN_TABLE_HEADER = "tableHeader",
|
|
142
|
+
DESIGN_HEADER_TEXT = "headerText",
|
|
143
|
+
DESIGN_TABLE_ROW = "tableRow",
|
|
144
|
+
DESIGN_SCROLL = "scroll",
|
|
145
|
+
DESIGN_ROW_DIVIDERS = "rowDividers",
|
|
146
|
+
DESIGN_PAGINATION = "pagination",
|
|
147
|
+
HOVER_STATE = "hover",
|
|
148
|
+
DEFAULT_STATE = "default",
|
|
149
|
+
DATA_CONNECTOR = "dataConnector"
|
|
37
150
|
}
|
|
38
151
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
39
152
|
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
interface selfLayoutInterface {
|
|
4
|
+
selectorKey: string;
|
|
5
|
+
loggedInButtonStyle: CMSIBCommonInterface;
|
|
6
|
+
beforeLoginText: CMSIBCommonInterface;
|
|
7
|
+
}
|
|
8
|
+
interface selfContentInterface {
|
|
9
|
+
selectorKey: string;
|
|
10
|
+
myAddress: CMSIBCommonInterface;
|
|
11
|
+
myOrders: CMSIBCommonInterface;
|
|
12
|
+
myAddresses: CMSIBCommonInterface;
|
|
13
|
+
myQuotes: CMSIBCommonInterface;
|
|
14
|
+
}
|
|
15
|
+
export interface selfDesignInterface {
|
|
16
|
+
selectorKey: string;
|
|
17
|
+
profileAvatar: {
|
|
18
|
+
selectorKey: string;
|
|
19
|
+
showIcon: CMSIBCommonInterface | undefined;
|
|
20
|
+
iconSize: CMSIBCommonInterface;
|
|
21
|
+
iconColor: CMSIBCommonInterface;
|
|
22
|
+
};
|
|
23
|
+
profileMenuItems: {
|
|
24
|
+
selectorKey: string;
|
|
25
|
+
backgroundColor: CMSIBCommonInterface;
|
|
26
|
+
borderColor: CMSIBCommonInterface;
|
|
27
|
+
borderStyle: CMSIBCommonInterface;
|
|
28
|
+
borderPerSlide: CMSIBCommonInterface;
|
|
29
|
+
showBorder: CMSIBCommonInterface;
|
|
30
|
+
showShadow: CMSIBCommonInterface;
|
|
31
|
+
shadowColor: CMSIBCommonInterface;
|
|
32
|
+
blur: CMSIBCommonInterface;
|
|
33
|
+
spread: CMSIBCommonInterface;
|
|
34
|
+
angle: CMSIBCommonInterface;
|
|
35
|
+
borderRadius: CMSIBCommonInterface;
|
|
36
|
+
};
|
|
37
|
+
profileNameText: {
|
|
38
|
+
selectorKey: string;
|
|
39
|
+
font: CMSIBCommonInterface;
|
|
40
|
+
fontSize: CMSIBCommonInterface;
|
|
41
|
+
textColor: CMSIBCommonInterface;
|
|
42
|
+
bold: CMSIBCommonInterface;
|
|
43
|
+
italic: CMSIBCommonInterface;
|
|
44
|
+
linethrough: CMSIBCommonInterface;
|
|
45
|
+
underline: CMSIBCommonInterface;
|
|
46
|
+
textAlign: CMSIBCommonInterface;
|
|
47
|
+
characterSpacing: CMSIBCommonInterface;
|
|
48
|
+
lineHeight: CMSIBCommonInterface;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export declare enum profileSelectorKeysEnum {
|
|
52
|
+
LAYOUT = "layout",
|
|
53
|
+
DESIGN = "design",
|
|
54
|
+
CONTENT = "content",
|
|
55
|
+
profile_ICON = "profileMenuItems",
|
|
56
|
+
MINI_profile_TEXT = "profileNameText",
|
|
57
|
+
PROFILE_AVATAR = "profileAvatar"
|
|
58
|
+
}
|
|
59
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & selfContentInterface & CMSElementEditPopupDesignInterface>;
|
|
60
|
+
export {};
|
|
@@ -11,7 +11,8 @@ interface selfDesignInterface {
|
|
|
11
11
|
export declare enum QuantitySelectorSelectorKeysEnum {
|
|
12
12
|
LAYOUT = "layout",
|
|
13
13
|
CONTENT = "content",
|
|
14
|
-
DESIGN = "design"
|
|
14
|
+
DESIGN = "design",
|
|
15
|
+
DATA_CONNECTOR = "dataConnector"
|
|
15
16
|
}
|
|
16
17
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
17
18
|
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AlignItemsValue, JustifyContentValue, RepeaterDisplayStyleType } from "../../../../components/global/types";
|
|
2
|
+
import { CMSCSSUnitTypesEnums } from "../../enums";
|
|
3
|
+
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
4
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
5
|
+
interface selfLayoutInterface {
|
|
6
|
+
selectorKey: string;
|
|
7
|
+
displayStyle: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
8
|
+
value: RepeaterDisplayStyleType;
|
|
9
|
+
};
|
|
10
|
+
itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
11
|
+
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
12
|
+
value: JustifyContentValue;
|
|
13
|
+
};
|
|
14
|
+
alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
15
|
+
value: AlignItemsValue;
|
|
16
|
+
};
|
|
17
|
+
setItemsPerRow: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
18
|
+
isShow: boolean;
|
|
19
|
+
value: string | number | any;
|
|
20
|
+
};
|
|
21
|
+
minColumnWidth: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
22
|
+
value: string | number | any;
|
|
23
|
+
unit: CMSCSSUnitTypesEnums;
|
|
24
|
+
};
|
|
25
|
+
minRowHeight: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
26
|
+
value: string | number | any;
|
|
27
|
+
unit: CMSCSSUnitTypesEnums;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export interface selfDesignInterface {
|
|
31
|
+
selectorKey: string;
|
|
32
|
+
}
|
|
33
|
+
export declare enum selfSelectorKeysEnum {
|
|
34
|
+
LAYOUT = "layout",
|
|
35
|
+
DESIGN = "design"
|
|
36
|
+
}
|
|
37
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
2
|
+
export interface selfDesignInterface {
|
|
3
|
+
selectorKey: string;
|
|
4
|
+
}
|
|
5
|
+
export declare enum selfSelectorKeysEnum {
|
|
6
|
+
LAYOUT = "layout",
|
|
7
|
+
DESIGN = "design"
|
|
8
|
+
}
|
|
9
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
@@ -8,7 +8,8 @@ interface selfDesignInterface {
|
|
|
8
8
|
export declare enum ShippingEstimatorSelectorKeysEnum {
|
|
9
9
|
LAYOUT = "layout",
|
|
10
10
|
CONTENT = "content",
|
|
11
|
-
DESIGN = "design"
|
|
11
|
+
DESIGN = "design",
|
|
12
|
+
DATA_CONNECTOR = "dataConnector"
|
|
12
13
|
}
|
|
13
14
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
14
15
|
export {};
|
|
@@ -19,7 +19,8 @@ export interface selfDesignInterface {
|
|
|
19
19
|
}
|
|
20
20
|
export declare enum selfSelectorKeysEnum {
|
|
21
21
|
LAYOUT = "layout",
|
|
22
|
-
DESIGN = "design"
|
|
22
|
+
DESIGN = "design",
|
|
23
|
+
DATA_CONNECTOR = "dataConnector"
|
|
23
24
|
}
|
|
24
25
|
export declare const getDefaultData: (contentWidth: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
25
26
|
export {};
|
|
@@ -14,11 +14,73 @@ interface selfLayoutInterface {
|
|
|
14
14
|
}
|
|
15
15
|
interface selfDesignInterface {
|
|
16
16
|
selectorKey: string;
|
|
17
|
+
inputStyle: {
|
|
18
|
+
selectorKey: string;
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
storeLocationsButton: {
|
|
22
|
+
selectorKey: string;
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
inventoryTextStyle: {
|
|
26
|
+
selectorKey: string;
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
itemStyle: {
|
|
30
|
+
selectorKey: string;
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
locationName: {
|
|
34
|
+
selectorKey: string;
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
locationAddress: {
|
|
38
|
+
selectorKey: string;
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
locationTimings: {
|
|
42
|
+
selectorKey: string;
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
locationInventory: {
|
|
46
|
+
selectorKey: string;
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
arrows: {
|
|
50
|
+
selectorKey: string;
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
paginationDots: {
|
|
54
|
+
selectorKey: string;
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
57
|
+
paginationLine: {
|
|
58
|
+
selectorKey: string;
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
};
|
|
61
|
+
showMoreItemsButton: {
|
|
62
|
+
selectorKey: string;
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
};
|
|
17
65
|
}
|
|
18
66
|
export declare enum StoreLocationSelectorKeysEnum {
|
|
19
67
|
LAYOUT = "layout",
|
|
20
68
|
CONTENT = "content",
|
|
21
|
-
DESIGN = "design"
|
|
69
|
+
DESIGN = "design",
|
|
70
|
+
INPUT_STYLE = "inputStyle",
|
|
71
|
+
STORE_LOCATIONS_BUTTON = "storeLocationButton",
|
|
72
|
+
INVENTORY_TEXT_STYLE = "inventoryTextStyle",
|
|
73
|
+
ITEM_STYLE = "itemStyle",
|
|
74
|
+
LOCATION_NAME = "locationName",
|
|
75
|
+
LOCATION_ADDRESS = "locationAddress",
|
|
76
|
+
LOCATION_INVENTORY = "locationInventory",
|
|
77
|
+
LOCATION_TIMINGS = "locationTimings",
|
|
78
|
+
ARROWS = "arrows",
|
|
79
|
+
PAGINATION_DOTS = "paginationDots",
|
|
80
|
+
PAGINATION_LINE = "paginationLine",
|
|
81
|
+
SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButtons",
|
|
82
|
+
HOVER_STATE = "hover",
|
|
83
|
+
DEFAULT_STATE = "default"
|
|
22
84
|
}
|
|
23
85
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
24
86
|
export {};
|
|
@@ -8,7 +8,8 @@ export interface selfDesignInterface {
|
|
|
8
8
|
}
|
|
9
9
|
export declare enum textSelectorKeysEnum {
|
|
10
10
|
LAYOUT = "layout",
|
|
11
|
-
DESIGN = "design"
|
|
11
|
+
DESIGN = "design",
|
|
12
|
+
DATA_CONNECTOR = "dataConnector"
|
|
12
13
|
}
|
|
13
14
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
14
15
|
export {};
|