@sc-360-v2/storefront-cms-library 0.2.65 → 0.2.67
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/README.md +12 -12
- package/dist/builder.js +1 -1
- package/dist/customization-tree.scss +79 -0
- package/dist/globals.scss +94 -94
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/modal.scss +142 -0
- package/dist/types/builder/elements/line/index.d.ts +27 -0
- package/dist/types/builder/elements/repeater/index.d.ts +1 -0
- package/dist/types/builder/elements/section/index.d.ts +6 -2
- package/dist/types/builder/enums/index.d.ts +6 -0
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/allocationDetails.d.ts +16 -0
- package/dist/types/builder/tools/element-edit/allocations.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/cartDetails.d.ts +325 -25
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +21 -0
- package/dist/types/builder/tools/element-edit/imageHotspot.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/lightBoxV2.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/line.d.ts +161 -0
- package/dist/types/builder/tools/element-edit/menu.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/social.d.ts +17 -2
- package/dist/types/builder/utilities/global.d.ts +1 -0
- package/dist/widget.scss +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { CMSElementEditTypes } from "../../enums";
|
|
2
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
3
|
+
import { CMSElementEditPopupInterface } from "./common";
|
|
4
|
+
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
5
|
+
}
|
|
6
|
+
interface ControlInterface {
|
|
7
|
+
value: string | boolean;
|
|
8
|
+
propertyType: string;
|
|
9
|
+
}
|
|
10
|
+
export declare enum LineSelectorKeysEnum {
|
|
11
|
+
LAYOUT = "layout",
|
|
12
|
+
DESIGN = "design",
|
|
13
|
+
CONTENT = "content",
|
|
14
|
+
FILL_AND_BACKGROUND = "fillAndBackground",
|
|
15
|
+
ITEM_STYLE = "iconStyle",
|
|
16
|
+
SOCIAL_ICONS = "lineIcons",
|
|
17
|
+
SOCIAL_WIDGET = "lineWidget",
|
|
18
|
+
START_END_ICON = "startEndIcons"
|
|
19
|
+
}
|
|
20
|
+
export interface SelectorKeys {
|
|
21
|
+
LAYOUT: string;
|
|
22
|
+
DESIGN: string;
|
|
23
|
+
CONTENT: string;
|
|
24
|
+
Line_PLAYER_TEXT: string;
|
|
25
|
+
PLAY_PAUSE: string;
|
|
26
|
+
Line: string;
|
|
27
|
+
}
|
|
28
|
+
export interface LineControlInterface {
|
|
29
|
+
selectorKey?: string;
|
|
30
|
+
margin?: CMSIBCommonInterface;
|
|
31
|
+
padding?: CMSIBCommonInterface;
|
|
32
|
+
alignment?: CMSIBCommonInterface;
|
|
33
|
+
itemSpacing?: ControlInterface;
|
|
34
|
+
iconSize?: CMSIBCommonInterface;
|
|
35
|
+
positionType?: CMSIBCommonInterface;
|
|
36
|
+
pinTo?: CMSIBCommonInterface;
|
|
37
|
+
lineDirection: CMSIBCommonInterface;
|
|
38
|
+
lineStyle: CMSIBCommonInterface;
|
|
39
|
+
dash: CMSIBCommonInterface;
|
|
40
|
+
gap: CMSIBCommonInterface;
|
|
41
|
+
showLineEndPoints: CMSIBCommonInterface;
|
|
42
|
+
lineEndPoints: CMSIBCommonInterface;
|
|
43
|
+
showLineStartPointIcon: CMSIBCommonInterface;
|
|
44
|
+
showLineEndPointIcon: CMSIBCommonInterface;
|
|
45
|
+
}
|
|
46
|
+
export interface CMSLineEditPopupInterface<L = LineControlInterface, C = LineControlInterface, D = LineControlInterface> {
|
|
47
|
+
layout?: L;
|
|
48
|
+
content?: C;
|
|
49
|
+
design?: D;
|
|
50
|
+
}
|
|
51
|
+
export declare const getDefaultData: () => {
|
|
52
|
+
layout: {
|
|
53
|
+
selectorKey: LineSelectorKeysEnum;
|
|
54
|
+
width: {
|
|
55
|
+
value: string;
|
|
56
|
+
unit: number;
|
|
57
|
+
};
|
|
58
|
+
height: {
|
|
59
|
+
value: string;
|
|
60
|
+
unit: number;
|
|
61
|
+
property?: any;
|
|
62
|
+
propertyType?: any;
|
|
63
|
+
isReadOnly?: boolean | undefined;
|
|
64
|
+
parentRef?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
67
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
68
|
+
alignment: {
|
|
69
|
+
value: string;
|
|
70
|
+
property: string;
|
|
71
|
+
propertyType: CMSElementEditTypes;
|
|
72
|
+
};
|
|
73
|
+
lineDirection: {
|
|
74
|
+
value: string;
|
|
75
|
+
property: string;
|
|
76
|
+
propertyType: CMSElementEditTypes;
|
|
77
|
+
};
|
|
78
|
+
lineStyle: {
|
|
79
|
+
value: string;
|
|
80
|
+
propertyType: CMSElementEditTypes;
|
|
81
|
+
property: string;
|
|
82
|
+
};
|
|
83
|
+
dash: {
|
|
84
|
+
value: string;
|
|
85
|
+
property: string;
|
|
86
|
+
propertyType: CMSElementEditTypes;
|
|
87
|
+
};
|
|
88
|
+
gap: {
|
|
89
|
+
value: string;
|
|
90
|
+
property: string;
|
|
91
|
+
propertyType: CMSElementEditTypes;
|
|
92
|
+
};
|
|
93
|
+
showLineEndPoints: {
|
|
94
|
+
value: boolean;
|
|
95
|
+
propertyType: CMSElementEditTypes;
|
|
96
|
+
};
|
|
97
|
+
lineEndPoints: {
|
|
98
|
+
value: string;
|
|
99
|
+
propertyType: CMSElementEditTypes;
|
|
100
|
+
};
|
|
101
|
+
showLineStartPointIcon: {
|
|
102
|
+
value: boolean;
|
|
103
|
+
propertyType: CMSElementEditTypes;
|
|
104
|
+
};
|
|
105
|
+
showLineEndPointIcon: {
|
|
106
|
+
value: boolean;
|
|
107
|
+
propertyType: CMSElementEditTypes;
|
|
108
|
+
};
|
|
109
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
110
|
+
pinTo: CMSIBCommonInterface | undefined;
|
|
111
|
+
};
|
|
112
|
+
design: {
|
|
113
|
+
selectorKey: LineSelectorKeysEnum;
|
|
114
|
+
lineWidget: {
|
|
115
|
+
selectorKey: LineSelectorKeysEnum;
|
|
116
|
+
backgroundColor: CMSIBCommonInterface;
|
|
117
|
+
cropRatio: CMSIBCommonInterface;
|
|
118
|
+
zoomImage: CMSIBCommonInterface;
|
|
119
|
+
flip: CMSIBCommonInterface;
|
|
120
|
+
rotate: import("../../interfaces/global").CMSIBSizeInterface;
|
|
121
|
+
showBorder: CMSIBCommonInterface;
|
|
122
|
+
borderStyle: CMSIBCommonInterface;
|
|
123
|
+
borderColor: CMSIBCommonInterface;
|
|
124
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
125
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
126
|
+
showShadow: CMSIBCommonInterface;
|
|
127
|
+
shadowColor: CMSIBCommonInterface;
|
|
128
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
129
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
130
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
131
|
+
};
|
|
132
|
+
startEndIcons: {
|
|
133
|
+
selectorKey: LineSelectorKeysEnum;
|
|
134
|
+
playIcon: {
|
|
135
|
+
value: string;
|
|
136
|
+
property: string;
|
|
137
|
+
propertyType: CMSElementEditTypes;
|
|
138
|
+
};
|
|
139
|
+
pauseIcon: {
|
|
140
|
+
value: string;
|
|
141
|
+
property: string;
|
|
142
|
+
propertyType: CMSElementEditTypes;
|
|
143
|
+
};
|
|
144
|
+
size: {
|
|
145
|
+
value: string;
|
|
146
|
+
property: string;
|
|
147
|
+
unit: number;
|
|
148
|
+
propertyType: CMSElementEditTypes;
|
|
149
|
+
};
|
|
150
|
+
iconColor: CMSIBCommonInterface;
|
|
151
|
+
backgroundShape: {
|
|
152
|
+
value: string;
|
|
153
|
+
property: string;
|
|
154
|
+
unit: number;
|
|
155
|
+
propertyType: CMSElementEditTypes;
|
|
156
|
+
};
|
|
157
|
+
backgroundColor: CMSIBCommonInterface;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
|
2
2
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
3
|
interface selfLayoutInterface {
|
|
4
4
|
direction: CMSIBCommonInterface;
|
|
5
|
-
|
|
5
|
+
spacingBetweenMenuListItems: CMSIBCommonInterface;
|
|
6
6
|
fillItemsToContainerWidth: CMSIBCommonInterface;
|
|
7
7
|
dividerBetweenItems: CMSIBCommonInterface;
|
|
8
8
|
listItemAlignment: CMSIBCommonInterface;
|
|
@@ -133,11 +133,19 @@ export declare const getDefaultData: () => {
|
|
|
133
133
|
selectorKey: SocialSelectorKeysEnum;
|
|
134
134
|
socialContent: {
|
|
135
135
|
value: {
|
|
136
|
-
id:
|
|
136
|
+
id: any;
|
|
137
137
|
title: string;
|
|
138
138
|
name: string;
|
|
139
|
-
show:
|
|
139
|
+
show: boolean;
|
|
140
140
|
url: string;
|
|
141
|
+
icon: {
|
|
142
|
+
value: string;
|
|
143
|
+
customIcon: {
|
|
144
|
+
isCustomIcon: boolean;
|
|
145
|
+
url: string;
|
|
146
|
+
name: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
141
149
|
}[];
|
|
142
150
|
propertyType: CMSElementEditTypes;
|
|
143
151
|
};
|
|
@@ -190,6 +198,13 @@ export declare const getDefaultData: () => {
|
|
|
190
198
|
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
191
199
|
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
192
200
|
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
201
|
+
showIcon: {
|
|
202
|
+
value: boolean;
|
|
203
|
+
property?: any;
|
|
204
|
+
propertyType?: any;
|
|
205
|
+
isReadOnly?: boolean | undefined;
|
|
206
|
+
parentRef?: string | undefined;
|
|
207
|
+
};
|
|
193
208
|
iconSize: {
|
|
194
209
|
value: string;
|
|
195
210
|
propertyType: CMSElementEditTypes;
|
package/dist/widget.scss
CHANGED