@sc-360-v2/storefront-cms-library 0.0.7 → 0.0.8
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/css.js +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/builder/elements/common.d.ts +2 -0
- package/dist/types/builder/elements/container/index.d.ts +42 -0
- package/dist/types/builder/elements/countdown/index.d.ts +26 -0
- package/dist/types/builder/elements/embed/index.d.ts +59 -0
- package/dist/types/builder/elements/grid/index.d.ts +1 -1
- package/dist/types/builder/elements/image-hotspot/index.d.ts +30 -0
- package/dist/types/builder/elements/map/index.d.ts +30 -0
- package/dist/types/builder/elements/scroll/index.d.ts +26 -0
- package/dist/types/builder/elements/table/index.d.ts +1 -5
- package/dist/types/builder/enums/index.d.ts +46 -6
- package/dist/types/builder/index.d.ts +7 -1
- package/dist/types/builder/interfaces/global.d.ts +9 -0
- package/dist/types/builder/tools/element-edit/button.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/buttonv2.d.ts +26 -0
- package/dist/types/builder/tools/element-edit/common.d.ts +19 -2
- package/dist/types/builder/tools/element-edit/container.d.ts +15 -0
- package/dist/types/builder/tools/element-edit/countdown.d.ts +300 -0
- package/dist/types/builder/tools/element-edit/faq.d.ts +39 -7
- package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +32 -0
- package/dist/types/builder/tools/element-edit/imageHotspot.d.ts +154 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +7 -1
- package/dist/types/builder/tools/element-edit/map.d.ts +122 -0
- package/dist/types/builder/tools/element-edit/scroll.d.ts +219 -0
- package/dist/types/builder/tools/element-edit/social.d.ts +228 -4
- package/dist/types/builder/tools/element-edit/table.d.ts +8 -4
- package/dist/types/builder/tools/element-edit/text.d.ts +1 -2
- package/dist/types/builder/tools/element-edit/video.d.ts +212 -4
- package/dist/types/global/types.d.ts +2 -2
- package/package.json +1 -1
- package/dist/faq.scss +0 -136
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
4
|
+
}
|
|
5
|
+
interface controlInterface {
|
|
6
|
+
value: string | boolean;
|
|
7
|
+
propertyType: string;
|
|
8
|
+
}
|
|
9
|
+
export interface selfLayoutInterface {
|
|
10
|
+
selectorKey: string;
|
|
11
|
+
showContent: controlInterface;
|
|
12
|
+
canOpenMultipleHotspots: controlInterface;
|
|
13
|
+
zoom: CMSIBCommonInterface;
|
|
14
|
+
showZoomControls: controlInterface;
|
|
15
|
+
showMapAndSatelliteView: controlInterface;
|
|
16
|
+
showStreetView: controlInterface;
|
|
17
|
+
showDirectionsLink: controlInterface;
|
|
18
|
+
}
|
|
19
|
+
export interface selfDesignInterface {
|
|
20
|
+
selectorKey: string;
|
|
21
|
+
mapWidget: {
|
|
22
|
+
selectorKey: string;
|
|
23
|
+
backgroundColor: CMSIBCommonInterface;
|
|
24
|
+
borderColor: CMSIBCommonInterface;
|
|
25
|
+
borderStyle: CMSIBCommonInterface;
|
|
26
|
+
borderPerSlide: CMSIBCommonInterface;
|
|
27
|
+
showBorder: CMSIBCommonInterface;
|
|
28
|
+
showShadow: CMSIBCommonInterface;
|
|
29
|
+
shadowColor: CMSIBCommonInterface;
|
|
30
|
+
blur: CMSIBCommonInterface;
|
|
31
|
+
spread: CMSIBCommonInterface;
|
|
32
|
+
angle: CMSIBCommonInterface;
|
|
33
|
+
borderRadius: CMSIBCommonInterface;
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
36
|
+
mapWidgetLayout: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
mapWidgetTextContainerDesign: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
mapWidgetTextContainerLayout: {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
mapStyle: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
};
|
|
48
|
+
pinStyle: {
|
|
49
|
+
selectorKey: string;
|
|
50
|
+
iconSize: CMSIBCommonInterface;
|
|
51
|
+
iconColor: CMSIBCommonInterface;
|
|
52
|
+
icon: CMSIBCommonInterface;
|
|
53
|
+
showIcon: controlInterface;
|
|
54
|
+
pinSize: controlInterface;
|
|
55
|
+
pinStyle: controlInterface;
|
|
56
|
+
backgroundColor: CMSIBCommonInterface;
|
|
57
|
+
shape: controlInterface;
|
|
58
|
+
animationStyle: controlInterface;
|
|
59
|
+
animationFrequency: controlInterface;
|
|
60
|
+
showBorder: CMSIBCommonInterface;
|
|
61
|
+
borderStyle: CMSIBCommonInterface;
|
|
62
|
+
borderColor: CMSIBCommonInterface;
|
|
63
|
+
borderPerSlide: CMSIBCommonInterface;
|
|
64
|
+
borderRadius: CMSIBCommonInterface;
|
|
65
|
+
showShadow: CMSIBCommonInterface;
|
|
66
|
+
shadowColor: CMSIBCommonInterface;
|
|
67
|
+
angle: CMSIBCommonInterface;
|
|
68
|
+
spread: CMSIBCommonInterface;
|
|
69
|
+
blur: CMSIBCommonInterface;
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
};
|
|
72
|
+
tooltipDesign: {
|
|
73
|
+
selectorKey: string;
|
|
74
|
+
tooltipHeight: controlInterface;
|
|
75
|
+
tooltipWidth: controlInterface;
|
|
76
|
+
horizontalAlignment: controlInterface;
|
|
77
|
+
verticalAlignment: controlInterface;
|
|
78
|
+
backgroundColor: CMSIBCommonInterface;
|
|
79
|
+
showBorder: CMSIBCommonInterface;
|
|
80
|
+
borderStyle: CMSIBCommonInterface;
|
|
81
|
+
borderColor: CMSIBCommonInterface;
|
|
82
|
+
borderPerSlide: CMSIBCommonInterface;
|
|
83
|
+
borderRadius: CMSIBCommonInterface;
|
|
84
|
+
showShadow: CMSIBCommonInterface;
|
|
85
|
+
shadowColor: CMSIBCommonInterface;
|
|
86
|
+
angle: CMSIBCommonInterface;
|
|
87
|
+
spread: CMSIBCommonInterface;
|
|
88
|
+
blur: CMSIBCommonInterface;
|
|
89
|
+
};
|
|
90
|
+
tooltipTextDesign: {
|
|
91
|
+
selectorKey: string;
|
|
92
|
+
font: CMSIBCommonInterface;
|
|
93
|
+
fontSize: CMSIBCommonInterface;
|
|
94
|
+
textColor: CMSIBCommonInterface;
|
|
95
|
+
bold: CMSIBCommonInterface;
|
|
96
|
+
italic: CMSIBCommonInterface;
|
|
97
|
+
linethrough: CMSIBCommonInterface;
|
|
98
|
+
underline: CMSIBCommonInterface;
|
|
99
|
+
textAlign: CMSIBCommonInterface;
|
|
100
|
+
lineHeight: CMSIBCommonInterface;
|
|
101
|
+
characterSpacing: CMSIBCommonInterface;
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export declare enum SelectorKeysEnum {
|
|
106
|
+
LAYOUT = "layout",
|
|
107
|
+
DESIGN = "design",
|
|
108
|
+
CONTENT = "content",
|
|
109
|
+
HOTSPOT_IMAGE_STYLE = "HOTSPOT_IMAGE_STYLE",
|
|
110
|
+
PIN_STYLE = "pinStyle",
|
|
111
|
+
TOOL_TIP_DESIGN = "tooltipDesign",
|
|
112
|
+
TOOL_TIP_TEXT = "tooltipTextDesign",
|
|
113
|
+
TOOL_TIP_PRODUCT_DESIGN = "tooltipProductDesign",
|
|
114
|
+
TOOL_TIP_IMAGE_DESIGN = "tooltipImageDesign",
|
|
115
|
+
GALLERY_WIDGET_STYLE = "gallery-widget-style",
|
|
116
|
+
MAP_WIDGET_LAYOUT = "mapWidgetLayout",
|
|
117
|
+
MAP_WIDGET_TEXT_CONTAINER_DESIGN = "mapWidgetTextContainerDesign",
|
|
118
|
+
MAP_WIDGET_TEXT_CONTAINER_LAYOUT = "mapWidgetTextContainerLayout",
|
|
119
|
+
MAP_STYLE = "mapStyle"
|
|
120
|
+
}
|
|
121
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
122
|
+
export {};
|
|
@@ -0,0 +1,219 @@
|
|
|
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 scrollInterface {
|
|
7
|
+
selectorKey: string;
|
|
8
|
+
itemSpacing: CMSIBCommonInterface;
|
|
9
|
+
repeatElements: CMSIBCommonInterface;
|
|
10
|
+
scrollSpeed: CMSIBCommonInterface;
|
|
11
|
+
pauseOnHover: CMSIBCommonInterface;
|
|
12
|
+
scrollContainer: {
|
|
13
|
+
selectorKey: string;
|
|
14
|
+
backgroundColor: CMSIBCommonInterface;
|
|
15
|
+
showBorder: CMSIBCommonInterface;
|
|
16
|
+
borderStyle: CMSIBCommonInterface;
|
|
17
|
+
borderColor: CMSIBCommonInterface;
|
|
18
|
+
borderPerSlide: CMSIBCommonInterface;
|
|
19
|
+
borderRadius: CMSIBCommonInterface;
|
|
20
|
+
showShadow: CMSIBCommonInterface;
|
|
21
|
+
shadowColor: CMSIBCommonInterface;
|
|
22
|
+
angle: CMSIBCommonInterface;
|
|
23
|
+
spread: CMSIBCommonInterface;
|
|
24
|
+
blur: CMSIBCommonInterface;
|
|
25
|
+
};
|
|
26
|
+
dividerStyle: {
|
|
27
|
+
style: CMSIBCommonInterface;
|
|
28
|
+
shape: CMSIBCommonInterface;
|
|
29
|
+
size: CMSIBCommonInterface;
|
|
30
|
+
};
|
|
31
|
+
dividerBetweenElements: CMSIBCommonInterface;
|
|
32
|
+
}
|
|
33
|
+
export interface CMSScrollEditPopupInterface<L = scrollInterface, C = scrollInterface, D = scrollInterface> {
|
|
34
|
+
layout?: Partial<D>;
|
|
35
|
+
content?: C;
|
|
36
|
+
design?: Partial<D>;
|
|
37
|
+
}
|
|
38
|
+
export interface selfDesignInterface {
|
|
39
|
+
selectorKey: string;
|
|
40
|
+
}
|
|
41
|
+
export declare enum SelectorKeysEnum {
|
|
42
|
+
LAYOUT = "layout",
|
|
43
|
+
DESIGN = "design",
|
|
44
|
+
CONTENT = "content",
|
|
45
|
+
SCROLL_CONTAINER = "scrollContainer",
|
|
46
|
+
DIVIDER_STYLE = "dividerStyle",
|
|
47
|
+
ITEM_1 = "item1",
|
|
48
|
+
ITEM_2 = "item2",
|
|
49
|
+
ITEM_3 = "item3"
|
|
50
|
+
}
|
|
51
|
+
export declare const getDefaultData: () => {
|
|
52
|
+
layout: {
|
|
53
|
+
selectorKey: SelectorKeysEnum;
|
|
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
|
+
itemSpacing: {
|
|
69
|
+
value: string;
|
|
70
|
+
property: string;
|
|
71
|
+
propertyType: CMSElementEditTypes;
|
|
72
|
+
unit: number;
|
|
73
|
+
};
|
|
74
|
+
repeatElements: {
|
|
75
|
+
value: string;
|
|
76
|
+
property: string;
|
|
77
|
+
propertyType: CMSElementEditTypes;
|
|
78
|
+
};
|
|
79
|
+
dividerBetweenItems: {
|
|
80
|
+
value: string;
|
|
81
|
+
property: string;
|
|
82
|
+
propertyType: CMSElementEditTypes;
|
|
83
|
+
};
|
|
84
|
+
scrollSpeed: {
|
|
85
|
+
value: string;
|
|
86
|
+
property: string;
|
|
87
|
+
propertyType: CMSElementEditTypes;
|
|
88
|
+
};
|
|
89
|
+
scrollDirection: {
|
|
90
|
+
value: string;
|
|
91
|
+
property: string;
|
|
92
|
+
propertyType: CMSElementEditTypes;
|
|
93
|
+
};
|
|
94
|
+
pauseOnHover: {
|
|
95
|
+
value: string;
|
|
96
|
+
property: string;
|
|
97
|
+
propertyType: CMSElementEditTypes;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
content: {
|
|
101
|
+
selectorKey: SelectorKeysEnum;
|
|
102
|
+
scrollContent: {
|
|
103
|
+
value: {
|
|
104
|
+
itemId: number;
|
|
105
|
+
content: string;
|
|
106
|
+
selectorKey: string;
|
|
107
|
+
}[];
|
|
108
|
+
propertyType: CMSElementEditTypes;
|
|
109
|
+
property: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
design: {
|
|
113
|
+
selectorKey: SelectorKeysEnum;
|
|
114
|
+
scrollContainer: {
|
|
115
|
+
selectorKey: SelectorKeysEnum;
|
|
116
|
+
backgroundColor: CMSIBCommonInterface;
|
|
117
|
+
showBorder: CMSIBCommonInterface;
|
|
118
|
+
borderStyle: CMSIBCommonInterface;
|
|
119
|
+
borderColor: CMSIBCommonInterface;
|
|
120
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
121
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
122
|
+
showShadow: CMSIBCommonInterface;
|
|
123
|
+
shadowColor: CMSIBCommonInterface;
|
|
124
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
125
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
126
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
127
|
+
};
|
|
128
|
+
dividerStyle: {
|
|
129
|
+
selectorKey: SelectorKeysEnum;
|
|
130
|
+
style: {
|
|
131
|
+
value: string;
|
|
132
|
+
property: string;
|
|
133
|
+
propertyType: CMSElementEditTypes;
|
|
134
|
+
};
|
|
135
|
+
shape: {
|
|
136
|
+
value: string;
|
|
137
|
+
property: string;
|
|
138
|
+
propertyType: CMSElementEditTypes;
|
|
139
|
+
};
|
|
140
|
+
size: {
|
|
141
|
+
value: string;
|
|
142
|
+
property: string;
|
|
143
|
+
unit: number;
|
|
144
|
+
propertyType: CMSElementEditTypes;
|
|
145
|
+
};
|
|
146
|
+
backgroundColor: CMSIBCommonInterface;
|
|
147
|
+
dividerColor: {
|
|
148
|
+
value: {
|
|
149
|
+
hex: string;
|
|
150
|
+
rgb: {
|
|
151
|
+
r: string;
|
|
152
|
+
g: string;
|
|
153
|
+
b: string;
|
|
154
|
+
a: number;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
property: string;
|
|
158
|
+
propertyType: CMSElementEditTypes;
|
|
159
|
+
parentRef: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
defaultItem: {
|
|
163
|
+
theme: CMSIBCommonInterface;
|
|
164
|
+
font: CMSIBCommonInterface;
|
|
165
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
166
|
+
textColor: CMSIBCommonInterface;
|
|
167
|
+
bold: CMSIBCommonInterface;
|
|
168
|
+
italic: CMSIBCommonInterface;
|
|
169
|
+
linethrough: CMSIBCommonInterface;
|
|
170
|
+
underline: CMSIBCommonInterface;
|
|
171
|
+
textAlign: CMSIBCommonInterface;
|
|
172
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
173
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
174
|
+
};
|
|
175
|
+
item1: {
|
|
176
|
+
selectorKey: SelectorKeysEnum;
|
|
177
|
+
theme: CMSIBCommonInterface;
|
|
178
|
+
font: CMSIBCommonInterface;
|
|
179
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
180
|
+
textColor: CMSIBCommonInterface;
|
|
181
|
+
bold: CMSIBCommonInterface;
|
|
182
|
+
italic: CMSIBCommonInterface;
|
|
183
|
+
linethrough: CMSIBCommonInterface;
|
|
184
|
+
underline: CMSIBCommonInterface;
|
|
185
|
+
textAlign: CMSIBCommonInterface;
|
|
186
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
187
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
188
|
+
};
|
|
189
|
+
item2: {
|
|
190
|
+
selectorKey: SelectorKeysEnum;
|
|
191
|
+
theme: CMSIBCommonInterface;
|
|
192
|
+
font: CMSIBCommonInterface;
|
|
193
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
194
|
+
textColor: CMSIBCommonInterface;
|
|
195
|
+
bold: CMSIBCommonInterface;
|
|
196
|
+
italic: CMSIBCommonInterface;
|
|
197
|
+
linethrough: CMSIBCommonInterface;
|
|
198
|
+
underline: CMSIBCommonInterface;
|
|
199
|
+
textAlign: CMSIBCommonInterface;
|
|
200
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
201
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
202
|
+
};
|
|
203
|
+
item3: {
|
|
204
|
+
selectorKey: SelectorKeysEnum;
|
|
205
|
+
theme: CMSIBCommonInterface;
|
|
206
|
+
font: CMSIBCommonInterface;
|
|
207
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
208
|
+
textColor: CMSIBCommonInterface;
|
|
209
|
+
bold: CMSIBCommonInterface;
|
|
210
|
+
italic: CMSIBCommonInterface;
|
|
211
|
+
linethrough: CMSIBCommonInterface;
|
|
212
|
+
underline: CMSIBCommonInterface;
|
|
213
|
+
textAlign: CMSIBCommonInterface;
|
|
214
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
215
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { CMSElementEditTypes } from "../../enums";
|
|
1
2
|
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
-
import { CMSElementEditPopupInterface
|
|
3
|
+
import { CMSElementEditPopupInterface } from "./common";
|
|
3
4
|
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
4
5
|
}
|
|
5
6
|
interface ControlInterface {
|
|
@@ -11,7 +12,9 @@ export declare enum SocialSelectorKeysEnum {
|
|
|
11
12
|
DESIGN = "design",
|
|
12
13
|
CONTENT = "content",
|
|
13
14
|
FILL_AND_BACKGROUND = "fillAndBackground",
|
|
14
|
-
|
|
15
|
+
ITEM_STYLE = "iconStyle",
|
|
16
|
+
SOCIAL_ICONS = "socialIcons",
|
|
17
|
+
SOCIAL_WIDGET = "socialWidget"
|
|
15
18
|
}
|
|
16
19
|
export interface SelectorKeys {
|
|
17
20
|
LAYOUT: string;
|
|
@@ -41,7 +44,9 @@ export interface SocialControlInterface {
|
|
|
41
44
|
amazon?: CMSIBCommonInterface;
|
|
42
45
|
amazonUrl?: CMSIBCommonInterface;
|
|
43
46
|
twitter?: CMSIBCommonInterface;
|
|
44
|
-
|
|
47
|
+
iconPosition?: CMSIBCommonInterface;
|
|
48
|
+
clickToNavigate?: CMSIBCommonInterface;
|
|
49
|
+
iconAndTextSpacing?: CMSIBCommonInterface;
|
|
45
50
|
iconStyle?: {
|
|
46
51
|
selectorKey?: string;
|
|
47
52
|
icon?: CMSIBCommonInterface;
|
|
@@ -52,11 +57,230 @@ export interface SocialControlInterface {
|
|
|
52
57
|
selectorKey?: string;
|
|
53
58
|
backgroundColor?: CMSIBCommonInterface;
|
|
54
59
|
};
|
|
60
|
+
socialIcons?: {
|
|
61
|
+
selectorKey?: string;
|
|
62
|
+
instagramIcon?: CMSIBCommonInterface;
|
|
63
|
+
facebookIcon: CMSIBCommonInterface;
|
|
64
|
+
twitterIcon: CMSIBCommonInterface;
|
|
65
|
+
amazonIcon: CMSIBCommonInterface;
|
|
66
|
+
websiteIcon: CMSIBCommonInterface;
|
|
67
|
+
linkedinIcon: CMSIBCommonInterface;
|
|
68
|
+
};
|
|
55
69
|
}
|
|
56
70
|
export interface CMSSocialEditPopupInterface<L = SocialControlInterface, C = SocialControlInterface, D = SocialControlInterface> {
|
|
57
71
|
layout?: L;
|
|
58
72
|
content?: C;
|
|
59
73
|
design?: D;
|
|
60
74
|
}
|
|
61
|
-
export declare const getDefaultData: () =>
|
|
75
|
+
export declare const getDefaultData: () => {
|
|
76
|
+
layout: {
|
|
77
|
+
selectorKey: SocialSelectorKeysEnum;
|
|
78
|
+
width: {
|
|
79
|
+
value: string;
|
|
80
|
+
unit: number;
|
|
81
|
+
};
|
|
82
|
+
height: {
|
|
83
|
+
value: string;
|
|
84
|
+
unit: number;
|
|
85
|
+
property?: any;
|
|
86
|
+
propertyType?: any;
|
|
87
|
+
isReadOnly?: boolean | undefined;
|
|
88
|
+
parentRef?: string | undefined;
|
|
89
|
+
};
|
|
90
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
91
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
92
|
+
alignment: {
|
|
93
|
+
value: string;
|
|
94
|
+
property: string;
|
|
95
|
+
propertyType: CMSElementEditTypes;
|
|
96
|
+
};
|
|
97
|
+
textAlignment: {
|
|
98
|
+
value: string;
|
|
99
|
+
property: string;
|
|
100
|
+
propertyType: CMSElementEditTypes;
|
|
101
|
+
};
|
|
102
|
+
clickToNavigate: {
|
|
103
|
+
value: string;
|
|
104
|
+
property: string;
|
|
105
|
+
propertyType: CMSElementEditTypes;
|
|
106
|
+
};
|
|
107
|
+
iconStyle: {
|
|
108
|
+
value: string;
|
|
109
|
+
propertyType: CMSElementEditTypes;
|
|
110
|
+
};
|
|
111
|
+
iconPosition: {
|
|
112
|
+
value: string;
|
|
113
|
+
property: string;
|
|
114
|
+
propertyType: CMSElementEditTypes;
|
|
115
|
+
};
|
|
116
|
+
iconAndTextSpacing: {
|
|
117
|
+
value: number;
|
|
118
|
+
property: string;
|
|
119
|
+
unit: number;
|
|
120
|
+
propertyType: CMSElementEditTypes;
|
|
121
|
+
};
|
|
122
|
+
itemSpacing: {
|
|
123
|
+
value: string;
|
|
124
|
+
propertyType: CMSElementEditTypes;
|
|
125
|
+
unit: number;
|
|
126
|
+
property: string;
|
|
127
|
+
};
|
|
128
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
129
|
+
pinTo: CMSIBCommonInterface | undefined;
|
|
130
|
+
};
|
|
131
|
+
content: {
|
|
132
|
+
selectorKey: SocialSelectorKeysEnum;
|
|
133
|
+
website: {
|
|
134
|
+
value: boolean;
|
|
135
|
+
propertyType: CMSElementEditTypes;
|
|
136
|
+
};
|
|
137
|
+
websiteUrl: {
|
|
138
|
+
value: string;
|
|
139
|
+
propertyType: CMSElementEditTypes;
|
|
140
|
+
};
|
|
141
|
+
instagram: {
|
|
142
|
+
value: boolean;
|
|
143
|
+
propertyType: CMSElementEditTypes;
|
|
144
|
+
};
|
|
145
|
+
instagramUrl: {
|
|
146
|
+
value: string;
|
|
147
|
+
propertyType: CMSElementEditTypes;
|
|
148
|
+
};
|
|
149
|
+
linkedIn: {
|
|
150
|
+
value: boolean;
|
|
151
|
+
propertyType: CMSElementEditTypes;
|
|
152
|
+
};
|
|
153
|
+
linkedInUrl: {
|
|
154
|
+
value: string;
|
|
155
|
+
propertyType: CMSElementEditTypes;
|
|
156
|
+
};
|
|
157
|
+
facebook: {
|
|
158
|
+
value: boolean;
|
|
159
|
+
propertyType: CMSElementEditTypes;
|
|
160
|
+
};
|
|
161
|
+
facebookUrl: {
|
|
162
|
+
value: string;
|
|
163
|
+
propertyType: CMSElementEditTypes;
|
|
164
|
+
};
|
|
165
|
+
amazon: {
|
|
166
|
+
value: boolean;
|
|
167
|
+
propertyType: CMSElementEditTypes;
|
|
168
|
+
};
|
|
169
|
+
amazonUrl: {
|
|
170
|
+
value: string;
|
|
171
|
+
propertyType: CMSElementEditTypes;
|
|
172
|
+
};
|
|
173
|
+
twitter: {
|
|
174
|
+
value: boolean;
|
|
175
|
+
propertyType: CMSElementEditTypes;
|
|
176
|
+
};
|
|
177
|
+
twitterUrl: {
|
|
178
|
+
value: string;
|
|
179
|
+
propertyType: CMSElementEditTypes;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
design: {
|
|
183
|
+
selectorKey: SocialSelectorKeysEnum;
|
|
184
|
+
socialWidget: {
|
|
185
|
+
selectorKey: SocialSelectorKeysEnum;
|
|
186
|
+
backgroundColor: CMSIBCommonInterface;
|
|
187
|
+
cropRatio: CMSIBCommonInterface;
|
|
188
|
+
zoomImage: CMSIBCommonInterface;
|
|
189
|
+
flip: CMSIBCommonInterface;
|
|
190
|
+
rotate: import("../../interfaces/global").CMSIBSizeInterface;
|
|
191
|
+
showBorder: CMSIBCommonInterface;
|
|
192
|
+
borderStyle: CMSIBCommonInterface;
|
|
193
|
+
borderColor: CMSIBCommonInterface;
|
|
194
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
195
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
196
|
+
showShadow: CMSIBCommonInterface;
|
|
197
|
+
shadowColor: CMSIBCommonInterface;
|
|
198
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
199
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
200
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
201
|
+
};
|
|
202
|
+
itemStyle: {
|
|
203
|
+
selectorKey: SocialSelectorKeysEnum;
|
|
204
|
+
backgroundColor: CMSIBCommonInterface;
|
|
205
|
+
cropRatio: CMSIBCommonInterface;
|
|
206
|
+
zoomImage: CMSIBCommonInterface;
|
|
207
|
+
flip: CMSIBCommonInterface;
|
|
208
|
+
rotate: import("../../interfaces/global").CMSIBSizeInterface;
|
|
209
|
+
theme: CMSIBCommonInterface;
|
|
210
|
+
font: CMSIBCommonInterface;
|
|
211
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
212
|
+
textColor: CMSIBCommonInterface;
|
|
213
|
+
bold: CMSIBCommonInterface;
|
|
214
|
+
italic: CMSIBCommonInterface;
|
|
215
|
+
linethrough: CMSIBCommonInterface;
|
|
216
|
+
underline: CMSIBCommonInterface;
|
|
217
|
+
textAlign: CMSIBCommonInterface;
|
|
218
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
219
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
220
|
+
showBorder: CMSIBCommonInterface;
|
|
221
|
+
borderStyle: CMSIBCommonInterface;
|
|
222
|
+
borderColor: CMSIBCommonInterface;
|
|
223
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
224
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
225
|
+
showShadow: CMSIBCommonInterface;
|
|
226
|
+
shadowColor: CMSIBCommonInterface;
|
|
227
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
228
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
229
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
230
|
+
iconSize: {
|
|
231
|
+
value: string;
|
|
232
|
+
propertyType: CMSElementEditTypes;
|
|
233
|
+
unit: number;
|
|
234
|
+
property: string;
|
|
235
|
+
};
|
|
236
|
+
iconColor: {
|
|
237
|
+
value: {
|
|
238
|
+
hex: string;
|
|
239
|
+
rgb: {
|
|
240
|
+
r: string;
|
|
241
|
+
g: string;
|
|
242
|
+
b: string;
|
|
243
|
+
a: number;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
property: string;
|
|
247
|
+
propertyType: CMSElementEditTypes;
|
|
248
|
+
parentRef: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
socialIcons: {
|
|
252
|
+
selectorKey: SocialSelectorKeysEnum;
|
|
253
|
+
instagramIcon: {
|
|
254
|
+
value: string;
|
|
255
|
+
property: string;
|
|
256
|
+
propertyType: CMSElementEditTypes;
|
|
257
|
+
};
|
|
258
|
+
facebookIcon: {
|
|
259
|
+
value: string;
|
|
260
|
+
property: string;
|
|
261
|
+
propertyType: CMSElementEditTypes;
|
|
262
|
+
};
|
|
263
|
+
twitterIcon: {
|
|
264
|
+
value: string;
|
|
265
|
+
property: string;
|
|
266
|
+
propertyType: CMSElementEditTypes;
|
|
267
|
+
};
|
|
268
|
+
amazonIcon: {
|
|
269
|
+
value: string;
|
|
270
|
+
property: string;
|
|
271
|
+
propertyType: CMSElementEditTypes;
|
|
272
|
+
};
|
|
273
|
+
websiteIcon: {
|
|
274
|
+
value: string;
|
|
275
|
+
property: string;
|
|
276
|
+
propertyType: CMSElementEditTypes;
|
|
277
|
+
};
|
|
278
|
+
linkedinIcon: {
|
|
279
|
+
value: string;
|
|
280
|
+
property: string;
|
|
281
|
+
propertyType: CMSElementEditTypes;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
62
286
|
export {};
|
|
@@ -58,6 +58,7 @@ export interface TableControlInterface {
|
|
|
58
58
|
};
|
|
59
59
|
headerText?: {
|
|
60
60
|
selectorKey?: string;
|
|
61
|
+
theme: CMSIBCommonInterface;
|
|
61
62
|
font?: CMSIBCommonInterface;
|
|
62
63
|
fontSize?: CMSIBCommonInterface;
|
|
63
64
|
textColor: CMSIBCommonInterface;
|
|
@@ -66,7 +67,7 @@ export interface TableControlInterface {
|
|
|
66
67
|
linethrough: CMSIBCommonInterface;
|
|
67
68
|
underline: CMSIBCommonInterface;
|
|
68
69
|
textAlign: CMSIBCommonInterface;
|
|
69
|
-
|
|
70
|
+
characterSpacing: CMSIBCommonInterface;
|
|
70
71
|
lineHeight: CMSIBCommonInterface;
|
|
71
72
|
};
|
|
72
73
|
tableRow?: {
|
|
@@ -75,6 +76,7 @@ export interface TableControlInterface {
|
|
|
75
76
|
};
|
|
76
77
|
rowText?: {
|
|
77
78
|
selectorKey?: string;
|
|
79
|
+
theme?: CMSIBCommonInterface;
|
|
78
80
|
font?: CMSIBCommonInterface;
|
|
79
81
|
fontSize?: CMSIBCommonInterface;
|
|
80
82
|
textColor: CMSIBCommonInterface;
|
|
@@ -83,7 +85,7 @@ export interface TableControlInterface {
|
|
|
83
85
|
linethrough: CMSIBCommonInterface;
|
|
84
86
|
underline: CMSIBCommonInterface;
|
|
85
87
|
textAlign: CMSIBCommonInterface;
|
|
86
|
-
|
|
88
|
+
characterSpacing: CMSIBCommonInterface;
|
|
87
89
|
lineHeight: CMSIBCommonInterface;
|
|
88
90
|
};
|
|
89
91
|
rowAndHeaderDividers?: {
|
|
@@ -99,6 +101,7 @@ export interface TableControlInterface {
|
|
|
99
101
|
};
|
|
100
102
|
pagination?: {
|
|
101
103
|
selectorKey?: string;
|
|
104
|
+
theme: CMSIBCommonInterface;
|
|
102
105
|
pagination?: CMSIBCommonInterface;
|
|
103
106
|
paginationStyle?: CMSIBCommonInterface;
|
|
104
107
|
arrowIconStyle?: CMSIBCommonInterface;
|
|
@@ -121,7 +124,7 @@ export interface TableControlInterface {
|
|
|
121
124
|
linethrough?: CMSIBCommonInterface;
|
|
122
125
|
underline?: CMSIBCommonInterface;
|
|
123
126
|
textAlign?: CMSIBCommonInterface;
|
|
124
|
-
|
|
127
|
+
characterSpacing?: CMSIBCommonInterface;
|
|
125
128
|
lineHeight?: CMSIBCommonInterface;
|
|
126
129
|
icon?: CMSIBCommonInterface;
|
|
127
130
|
iconSize?: CMSIBCommonInterface;
|
|
@@ -151,6 +154,7 @@ export interface TableControlInterface {
|
|
|
151
154
|
angle?: CMSIBCommonInterface;
|
|
152
155
|
spread?: CMSIBCommonInterface;
|
|
153
156
|
blur?: CMSIBCommonInterface;
|
|
157
|
+
theme: CMSIBCommonInterface;
|
|
154
158
|
font?: CMSIBCommonInterface;
|
|
155
159
|
fontSize?: CMSIBCommonInterface;
|
|
156
160
|
textColor: CMSIBCommonInterface;
|
|
@@ -159,7 +163,7 @@ export interface TableControlInterface {
|
|
|
159
163
|
linethrough: CMSIBCommonInterface;
|
|
160
164
|
underline: CMSIBCommonInterface;
|
|
161
165
|
textAlign: CMSIBCommonInterface;
|
|
162
|
-
|
|
166
|
+
characterSpacing: CMSIBCommonInterface;
|
|
163
167
|
lineHeight: CMSIBCommonInterface;
|
|
164
168
|
};
|
|
165
169
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
1
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
2
|
interface selfLayoutInterface {
|
|
4
3
|
selectorKey: string;
|
|
5
|
-
textData:
|
|
4
|
+
textData: any;
|
|
6
5
|
}
|
|
7
6
|
export interface selfDesignInterface {
|
|
8
7
|
selectorKey: string;
|