@sc-360-v2/storefront-cms-library 0.3.4 → 0.3.6
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/builder.js.LICENSE.txt +1 -1
- package/dist/button copy.scss +2 -1
- package/dist/checkout.scss +141 -16
- package/dist/filter-results.scss +324 -0
- package/dist/filters.scss +1324 -31
- package/dist/functions.js +1 -1
- package/dist/icon-list.scss +11 -11
- package/dist/index.js +1 -1
- package/dist/layouter-pro-item.scss +6 -0
- package/dist/layouter-pro.scss +30 -2
- package/dist/menu-v2.scss +5 -2
- package/dist/past-orders.scss +770 -26
- package/dist/product-actions.scss +254 -393
- package/dist/product-basic-elements.scss +12 -12
- package/dist/product-options.scss +72 -46
- package/dist/quotes.scss +1 -0
- package/dist/repeater.scss +5 -2
- package/dist/text-temp-v2.scss +2 -2
- package/dist/types/builder/elements/filter-results/index.d.ts +27 -0
- package/dist/types/builder/elements/product-sizechart/index.d.ts +26 -0
- package/dist/types/builder/elements/user-elements/index.d.ts +30 -0
- package/dist/types/builder/enums/index.d.ts +5 -1
- package/dist/types/builder/index.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/filterResults.d.ts +140 -0
- package/dist/types/builder/tools/element-edit/filters.d.ts +15 -8
- package/dist/types/builder/tools/element-edit/index.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/layouter-pro-item.d.ts +14 -1
- package/dist/types/builder/tools/element-edit/layouterPro.d.ts +9 -2
- package/dist/types/builder/tools/element-edit/pastOrders.d.ts +61 -1
- package/dist/types/builder/tools/element-edit/productActions.d.ts +6 -1
- package/dist/types/builder/tools/element-edit/productSizeChart.d.ts +24 -0
- package/dist/types/builder/tools/element-edit/userElements.d.ts +555 -0
- package/dist/types/global/types.d.ts +2 -1
- package/dist/user-elements.scss +1375 -0
- package/dist/variant-picker.scss +127 -84
- package/dist/widget.scss +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlignItemsValue, FlexDirectionValue, JustifyContentValue, LayouterProDisplayStyleType } from "../../../../components/global/types";
|
|
1
|
+
import { AlignItemsValue, FlexDirectionValue, FlexWrapValue, JustifyContentValue, LayouterProDisplayStyleType, OverflowValue } from "../../../../components/global/types";
|
|
2
2
|
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
3
3
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
4
4
|
interface selfLayoutInterface {
|
|
@@ -9,7 +9,8 @@ interface selfLayoutInterface {
|
|
|
9
9
|
direction?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
10
10
|
value: FlexDirectionValue;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
rowGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
13
|
+
columnGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
13
14
|
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
14
15
|
value: JustifyContentValue;
|
|
15
16
|
};
|
|
@@ -20,6 +21,12 @@ interface selfLayoutInterface {
|
|
|
20
21
|
isShow: boolean;
|
|
21
22
|
value: string | number | any;
|
|
22
23
|
};
|
|
24
|
+
flexWrap?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
25
|
+
value: FlexWrapValue;
|
|
26
|
+
};
|
|
27
|
+
flexboxOverflow?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
28
|
+
value: OverflowValue;
|
|
29
|
+
};
|
|
23
30
|
}
|
|
24
31
|
export interface selfDesignInterface {
|
|
25
32
|
selectorKey: string;
|
|
@@ -1,16 +1,76 @@
|
|
|
1
|
+
import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
|
|
1
2
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
2
3
|
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
3
4
|
}
|
|
4
5
|
interface selfLayoutInterface {
|
|
5
6
|
selectorKey: string;
|
|
7
|
+
displayStyle: CMSIBCommonInterface;
|
|
8
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
9
|
+
sliderControl: CMSIBCommonInterface;
|
|
10
|
+
controlPosition: CMSIBCommonInterface;
|
|
11
|
+
loopItems: CMSIBCommonInterface;
|
|
12
|
+
displayScrollbar1: CMSIBCommonInterface;
|
|
13
|
+
autoplay: CMSIBCommonInterface;
|
|
14
|
+
spacingBetweenItems: CMSIBSizeInterface;
|
|
15
|
+
dividerBetweenItems: CMSIBCommonInterface;
|
|
16
|
+
overflowControl: CMSIBCommonInterface;
|
|
17
|
+
numOfItemsToLoad: CMSIBCommonInterface;
|
|
6
18
|
}
|
|
7
19
|
interface selfDesignInterface {
|
|
8
20
|
selectorKey: string;
|
|
21
|
+
widgetStyle: {
|
|
22
|
+
selectorKey: string;
|
|
23
|
+
};
|
|
24
|
+
itemStyle: {
|
|
25
|
+
selectorKey: string;
|
|
26
|
+
};
|
|
27
|
+
orderId: {
|
|
28
|
+
selectorKey: string;
|
|
29
|
+
};
|
|
30
|
+
orderedOn: {
|
|
31
|
+
selectorKey: string;
|
|
32
|
+
};
|
|
33
|
+
orderStatus: {
|
|
34
|
+
selectorKey: string;
|
|
35
|
+
defaultState: any;
|
|
36
|
+
submittedState: any;
|
|
37
|
+
inReviewState: any;
|
|
38
|
+
acceptedState: any;
|
|
39
|
+
processingState: any;
|
|
40
|
+
partiallyFulfilledState: any;
|
|
41
|
+
fulfilledState: any;
|
|
42
|
+
canceledState: any;
|
|
43
|
+
rejectedState: any;
|
|
44
|
+
};
|
|
45
|
+
paginationArrows: {
|
|
46
|
+
selectorKey: string;
|
|
47
|
+
arrowIconStyle: CMSIBCommonInterface;
|
|
48
|
+
leftArrowIconStyle: CMSIBCommonInterface;
|
|
49
|
+
rightArrowIconStyle: CMSIBCommonInterface;
|
|
50
|
+
backgroundShape: CMSIBCommonInterface;
|
|
51
|
+
arrowSize: CMSIBCommonInterface;
|
|
52
|
+
arrowColor: CMSIBCommonInterface;
|
|
53
|
+
};
|
|
9
54
|
}
|
|
10
55
|
export declare enum SelectorKeysEnum {
|
|
11
56
|
LAYOUT = "layout",
|
|
12
57
|
CONTENT = "content",
|
|
13
|
-
DESIGN = "design"
|
|
58
|
+
DESIGN = "design",
|
|
59
|
+
WIDGET_STYLE = "widgetStyle",
|
|
60
|
+
ITEM_STYLE = "itemStyle",
|
|
61
|
+
ORDER_ID = "orderId",
|
|
62
|
+
ORDERED_ON = "orderedOn",
|
|
63
|
+
ORDER_STATUS = "orderStatus",
|
|
64
|
+
PAGINATION_ARROWS = "pagination-arrows",
|
|
65
|
+
DEFAULT_STATE = "defaultState",
|
|
66
|
+
SUBMITTED_STATE = "submittedState",
|
|
67
|
+
INREVIEW_STATE = "inReviewState",
|
|
68
|
+
ACCEPTED_STATE = "acceptedState",
|
|
69
|
+
PROCESSING_STATE = "processingState",
|
|
70
|
+
PARTIALLY_FULFILLED_STATE = "partiallyFulfilledState",
|
|
71
|
+
FULFILLED_STATE = "fulfilledState",
|
|
72
|
+
CANCELED_STATE = "canceledState",
|
|
73
|
+
REJECTED_STATE = "rejectedState"
|
|
14
74
|
}
|
|
15
75
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
16
76
|
export {};
|
|
@@ -27,11 +27,14 @@ export interface ButtonLayoutInterface {
|
|
|
27
27
|
addToCartMetaData: CMSIBCommonInterface;
|
|
28
28
|
wishlistMetaData: CMSIBCommonInterface;
|
|
29
29
|
itemVerticalSpacing: CMSIBCommonInterface;
|
|
30
|
+
itemsAlignment: CMSIBCommonInterface;
|
|
30
31
|
}
|
|
31
32
|
export interface selfDesignInterface {
|
|
32
33
|
selectorKey: string;
|
|
33
34
|
defaultState: any;
|
|
34
35
|
addToCart: any;
|
|
36
|
+
widgetStyle: any;
|
|
37
|
+
dropdownStyle: any;
|
|
35
38
|
buyNow: any;
|
|
36
39
|
wishlist: any;
|
|
37
40
|
compare: any;
|
|
@@ -57,6 +60,8 @@ export declare enum ButtonSelectorKeysEnum {
|
|
|
57
60
|
NOTIFY_ME = "notifyMe",
|
|
58
61
|
DOWNLOAD = "download",
|
|
59
62
|
MORE = "more",
|
|
60
|
-
DATA_CONNECTOR = "dataConnector"
|
|
63
|
+
DATA_CONNECTOR = "dataConnector",
|
|
64
|
+
WIDGET_STYLE = "widgetStyle",
|
|
65
|
+
DROPDOWN_STYLE = "dropdownStyle"
|
|
61
66
|
}
|
|
62
67
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<ButtonLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
export interface ButtonLayoutInterface {
|
|
4
|
+
selectorKey: string;
|
|
5
|
+
sizeChart: CMSIBCommonInterface;
|
|
6
|
+
sizeChartValue: CMSIBCommonInterface;
|
|
7
|
+
sizeChartWhenClicked: CMSIBCommonInterface;
|
|
8
|
+
sizeChartMetaData: CMSIBCommonInterface;
|
|
9
|
+
}
|
|
10
|
+
export interface selfDesignInterface {
|
|
11
|
+
selectorKey: string;
|
|
12
|
+
defaultState: any;
|
|
13
|
+
sizeChart: any;
|
|
14
|
+
}
|
|
15
|
+
export declare enum ButtonSelectorKeysEnum {
|
|
16
|
+
HOVER_STATE = "hover",
|
|
17
|
+
DEFAULT_STATE = "default",
|
|
18
|
+
SELECTED_STATE = "selected",
|
|
19
|
+
LAYOUT = "layout",
|
|
20
|
+
DESIGN = "design",
|
|
21
|
+
SIZE_CHART = "sizeChart",
|
|
22
|
+
DATA_CONNECTOR = "dataConnector"
|
|
23
|
+
}
|
|
24
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<ButtonLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|