impaktapps-ui-builder 0.0.412-mtreemap.2 → 0.0.412-mtreemap.4
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/impaktapps-ui-builder.es.js +1082 -1092
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +12 -10
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +0 -18
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +121 -70
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +2 -17
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +27 -26
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +48 -29
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +10 -9
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +0 -29
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -8
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +125 -99
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +12 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +2 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +286 -311
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +362 -367
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +284 -380
- package/src/impaktapps-ui-builder/builder/services/component.ts +18 -18
- package/src/impaktapps-ui-builder/builder/services/event.ts +8 -8
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -1
|
@@ -4,17 +4,19 @@ declare const _default: {
|
|
|
4
4
|
main: {
|
|
5
5
|
rowSpacing: number;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
style: {
|
|
8
|
+
componentsBoxStyle: {
|
|
9
|
+
position: string;
|
|
10
|
+
color: string;
|
|
11
|
+
height: {
|
|
12
|
+
xs: string;
|
|
13
|
+
md: string;
|
|
14
|
+
};
|
|
15
|
+
width: string;
|
|
16
|
+
textAlign: string;
|
|
17
|
+
background: string;
|
|
18
|
+
borderRadius: string;
|
|
13
19
|
};
|
|
14
|
-
width: string;
|
|
15
|
-
textAlign: string;
|
|
16
|
-
background: string;
|
|
17
|
-
borderRadius: string;
|
|
18
20
|
};
|
|
19
21
|
layout: {
|
|
20
22
|
xs: number;
|
|
@@ -42,24 +42,6 @@ export declare const CoreSection: {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
layout?: undefined;
|
|
45
|
-
} | {
|
|
46
|
-
type: string;
|
|
47
|
-
scope: string;
|
|
48
|
-
config: {
|
|
49
|
-
layout: {
|
|
50
|
-
xs: number;
|
|
51
|
-
sm: number;
|
|
52
|
-
md: number;
|
|
53
|
-
lg: number;
|
|
54
|
-
};
|
|
55
|
-
main?: undefined;
|
|
56
|
-
};
|
|
57
|
-
options: {
|
|
58
|
-
widget: string;
|
|
59
|
-
elementLabelProp?: undefined;
|
|
60
|
-
detail?: undefined;
|
|
61
|
-
};
|
|
62
|
-
layout?: undefined;
|
|
63
45
|
} | {
|
|
64
46
|
type: string;
|
|
65
47
|
scope: string;
|
|
@@ -2,89 +2,140 @@ export declare const EventSection: {
|
|
|
2
2
|
type: string;
|
|
3
3
|
elements: {
|
|
4
4
|
type: string;
|
|
5
|
-
scope: string;
|
|
6
|
-
options: {
|
|
7
|
-
widget: string;
|
|
8
|
-
};
|
|
9
5
|
config: {
|
|
10
6
|
main: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
scope: string;
|
|
16
|
-
options: {
|
|
17
|
-
widget: string;
|
|
18
|
-
};
|
|
19
|
-
config: {
|
|
20
|
-
main: {
|
|
21
|
-
color: string;
|
|
22
|
-
onClick: string;
|
|
23
|
-
size: string;
|
|
24
|
-
icon: string;
|
|
25
|
-
iconLabel: string;
|
|
26
|
-
styleDefault: boolean;
|
|
27
|
-
};
|
|
28
|
-
style: {
|
|
29
|
-
mt: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}[];
|
|
34
|
-
};
|
|
35
|
-
disableAction: boolean;
|
|
36
|
-
disableSelection: boolean;
|
|
37
|
-
enableDrag: boolean;
|
|
7
|
+
divider: boolean;
|
|
8
|
+
};
|
|
9
|
+
wrapperStyle: {
|
|
10
|
+
border: string;
|
|
38
11
|
};
|
|
39
12
|
};
|
|
40
13
|
elements: ({
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
14
|
+
type: string;
|
|
15
|
+
scope: string;
|
|
16
|
+
options: {
|
|
17
|
+
widget: string;
|
|
18
|
+
};
|
|
19
|
+
config: {
|
|
20
|
+
layout: number;
|
|
21
|
+
main: {
|
|
22
|
+
heading: string;
|
|
23
|
+
icon?: undefined;
|
|
24
|
+
styleDefault?: undefined;
|
|
25
|
+
size?: undefined;
|
|
26
|
+
onClick?: undefined;
|
|
27
|
+
tooltipMessage?: undefined;
|
|
28
|
+
disableAction?: undefined;
|
|
29
|
+
disableSelection?: undefined;
|
|
30
|
+
enableDrag?: undefined;
|
|
31
|
+
};
|
|
32
|
+
style: {
|
|
33
|
+
fontFamily: string;
|
|
34
|
+
fontWeight: string;
|
|
35
|
+
paddingLeft: string;
|
|
36
|
+
fontSize: string;
|
|
37
|
+
float?: undefined;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
elements?: undefined;
|
|
44
41
|
} | {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
type: string;
|
|
43
|
+
scope: string;
|
|
44
|
+
options: {
|
|
45
|
+
widget: string;
|
|
46
|
+
};
|
|
47
|
+
config: {
|
|
48
|
+
layout: number;
|
|
49
|
+
main: {
|
|
50
|
+
icon: string;
|
|
51
|
+
styleDefault: boolean;
|
|
52
|
+
size: string;
|
|
53
|
+
onClick: string;
|
|
54
|
+
tooltipMessage: string;
|
|
55
|
+
heading?: undefined;
|
|
56
|
+
disableAction?: undefined;
|
|
57
|
+
disableSelection?: undefined;
|
|
58
|
+
enableDrag?: undefined;
|
|
52
59
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
onClick: string;
|
|
60
|
-
};
|
|
61
|
-
style: {
|
|
62
|
-
color: string;
|
|
63
|
-
};
|
|
60
|
+
style: {
|
|
61
|
+
float: string;
|
|
62
|
+
fontFamily?: undefined;
|
|
63
|
+
fontWeight?: undefined;
|
|
64
|
+
paddingLeft?: undefined;
|
|
65
|
+
fontSize?: undefined;
|
|
64
66
|
};
|
|
65
|
-
accessorKeyName?: undefined;
|
|
66
67
|
};
|
|
68
|
+
elements?: undefined;
|
|
67
69
|
} | {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
type: string;
|
|
71
|
+
scope: string;
|
|
72
|
+
options: {
|
|
73
|
+
widget: string;
|
|
74
|
+
};
|
|
75
|
+
config: {
|
|
76
|
+
main: {
|
|
77
|
+
disableAction: boolean;
|
|
78
|
+
disableSelection: boolean;
|
|
79
|
+
enableDrag: boolean;
|
|
80
|
+
heading?: undefined;
|
|
81
|
+
icon?: undefined;
|
|
82
|
+
styleDefault?: undefined;
|
|
83
|
+
size?: undefined;
|
|
84
|
+
onClick?: undefined;
|
|
85
|
+
tooltipMessage?: undefined;
|
|
76
86
|
};
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
87
|
+
layout?: undefined;
|
|
88
|
+
style?: undefined;
|
|
89
|
+
};
|
|
90
|
+
elements: ({
|
|
91
|
+
accessorKey: string;
|
|
92
|
+
header: string;
|
|
93
|
+
widget?: undefined;
|
|
94
|
+
} | {
|
|
95
|
+
accessorKey: string;
|
|
96
|
+
header: string;
|
|
97
|
+
widget: {
|
|
98
|
+
type: string;
|
|
99
|
+
scope: string;
|
|
100
|
+
options: {
|
|
101
|
+
widget: string;
|
|
102
|
+
};
|
|
103
|
+
config: {
|
|
104
|
+
main: {
|
|
105
|
+
color: string;
|
|
106
|
+
size: string;
|
|
107
|
+
icon: string;
|
|
108
|
+
tooltipMessage: string;
|
|
109
|
+
onClick: string;
|
|
110
|
+
};
|
|
111
|
+
style: {
|
|
112
|
+
color: string;
|
|
113
|
+
};
|
|
84
114
|
};
|
|
85
|
-
|
|
115
|
+
accessorKeyName?: undefined;
|
|
86
116
|
};
|
|
87
|
-
}
|
|
117
|
+
} | {
|
|
118
|
+
accessorKey: string;
|
|
119
|
+
header: string;
|
|
120
|
+
widget: {
|
|
121
|
+
type: string;
|
|
122
|
+
scope: string;
|
|
123
|
+
accessorKeyName: string;
|
|
124
|
+
options: {
|
|
125
|
+
widget: string;
|
|
126
|
+
};
|
|
127
|
+
config: {
|
|
128
|
+
main: {
|
|
129
|
+
icon: string;
|
|
130
|
+
color: string;
|
|
131
|
+
tooltipMessage: string;
|
|
132
|
+
onClick: string;
|
|
133
|
+
size?: undefined;
|
|
134
|
+
};
|
|
135
|
+
style?: undefined;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
})[];
|
|
88
139
|
})[];
|
|
89
140
|
}[];
|
|
90
141
|
};
|
|
@@ -7,7 +7,7 @@ export declare const ValueTab: {
|
|
|
7
7
|
options: {
|
|
8
8
|
detail: {
|
|
9
9
|
type: string;
|
|
10
|
-
elements:
|
|
10
|
+
elements: {
|
|
11
11
|
type: string;
|
|
12
12
|
scope: string;
|
|
13
13
|
options: {
|
|
@@ -24,22 +24,7 @@ export declare const ValueTab: {
|
|
|
24
24
|
label: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
}
|
|
28
|
-
type: string;
|
|
29
|
-
scope: string;
|
|
30
|
-
options: {
|
|
31
|
-
widget: string;
|
|
32
|
-
};
|
|
33
|
-
config: {
|
|
34
|
-
layout: {
|
|
35
|
-
xs: number;
|
|
36
|
-
sm: number;
|
|
37
|
-
md: number;
|
|
38
|
-
lg: number;
|
|
39
|
-
};
|
|
40
|
-
main?: undefined;
|
|
41
|
-
};
|
|
42
|
-
})[];
|
|
27
|
+
}[];
|
|
43
28
|
};
|
|
44
29
|
};
|
|
45
30
|
}[];
|
|
@@ -5,7 +5,7 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
|
|
|
5
5
|
setPage: () => Promise<void>;
|
|
6
6
|
refreshPage: (handlerType: any, store: any) => void;
|
|
7
7
|
getFormData: () => any;
|
|
8
|
-
getUiSchema: () =>
|
|
8
|
+
getUiSchema: () => any;
|
|
9
9
|
getSchema: () => {
|
|
10
10
|
type: string;
|
|
11
11
|
properties: {
|
package/package.json
CHANGED
|
@@ -3,37 +3,38 @@ import { HorizontalBarGraph } from "./uischema/graph";
|
|
|
3
3
|
import _ from "lodash";
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
const buildHorizontalBarGraph = (config:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
const buildHorizontalBarGraph = (config:any,componentScope:string) => {
|
|
7
|
+
const horizontalBarGraph: any = _.cloneDeep(HorizontalBarGraph);
|
|
8
|
+
horizontalBarGraph.scope = componentScope;
|
|
9
|
+
if (config.layout) {
|
|
10
|
+
horizontalBarGraph.config.layout = createLayoutFormat(config.layout);
|
|
11
|
+
}
|
|
12
|
+
horizontalBarGraph.scope = componentScope;
|
|
13
|
+
horizontalBarGraph.config.main.header = config.heading;
|
|
14
|
+
if (config.barColor) {
|
|
15
|
+
horizontalBarGraph.config.barStyle.color = config.barColor;
|
|
16
|
+
}
|
|
17
|
+
if (config.containerBackground) {
|
|
18
|
+
horizontalBarGraph.config.containerStyle.background =
|
|
19
|
+
config.containerBackground;
|
|
20
|
+
}
|
|
21
|
+
if (config.height) {
|
|
22
|
+
horizontalBarGraph.config.style =
|
|
23
23
|
{
|
|
24
24
|
containerStyle: {
|
|
25
25
|
height: config.height
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
config.bottomLabel
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
if (config.bottomLabel) {
|
|
31
|
+
horizontalBarGraph.config.main.bottomLabel =
|
|
32
|
+
config.bottomLabel;
|
|
33
|
+
}
|
|
34
|
+
if (config.leftLabel) {
|
|
35
|
+
horizontalBarGraph.config.main.leftLabel = config.leftLabel;
|
|
36
|
+
}
|
|
37
|
+
return horizontalBarGraph
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export default buildHorizontalBarGraph
|
|
@@ -13,6 +13,7 @@ export const buildPieGraph = (config, componentScope) => {
|
|
|
13
13
|
height: config.height
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
+
|
|
16
17
|
}
|
|
17
18
|
if (config.legendHide) {
|
|
18
19
|
pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
|
|
@@ -30,6 +31,7 @@ export const buildPieGraph = (config, componentScope) => {
|
|
|
30
31
|
colorRange: flatObjectValueInArray(config.pieArcColors)
|
|
31
32
|
}
|
|
32
33
|
}
|
|
34
|
+
|
|
33
35
|
}
|
|
34
36
|
return pieGraph;
|
|
35
37
|
}
|
|
@@ -9,7 +9,12 @@ const EmptyBox = {
|
|
|
9
9
|
widget: "EmptyBox",
|
|
10
10
|
},
|
|
11
11
|
config: {
|
|
12
|
-
layout: {
|
|
12
|
+
layout: {
|
|
13
|
+
xs: 11,
|
|
14
|
+
sm: 11,
|
|
15
|
+
md: 5.5,
|
|
16
|
+
lg: 5.5,
|
|
17
|
+
},
|
|
13
18
|
main: {
|
|
14
19
|
|
|
15
20
|
},
|
|
@@ -30,7 +35,12 @@ const cardLayout = {
|
|
|
30
35
|
widget: "SelectInputField",
|
|
31
36
|
},
|
|
32
37
|
config: {
|
|
33
|
-
layout: {
|
|
38
|
+
layout: {
|
|
39
|
+
xs: 11,
|
|
40
|
+
sm: 11,
|
|
41
|
+
md: 5.5,
|
|
42
|
+
lg: 5.5,
|
|
43
|
+
},
|
|
34
44
|
main: {
|
|
35
45
|
label: "Screen Size",
|
|
36
46
|
|
|
@@ -45,7 +55,12 @@ const cardLayout = {
|
|
|
45
55
|
widget: "InputField",
|
|
46
56
|
},
|
|
47
57
|
config: {
|
|
48
|
-
layout: {
|
|
58
|
+
layout: {
|
|
59
|
+
xs: 11,
|
|
60
|
+
sm: 11,
|
|
61
|
+
md: 5.5,
|
|
62
|
+
lg: 5.5,
|
|
63
|
+
},
|
|
49
64
|
main: {
|
|
50
65
|
label: "Value",
|
|
51
66
|
type: "number",
|
|
@@ -56,7 +71,6 @@ const cardLayout = {
|
|
|
56
71
|
},
|
|
57
72
|
},
|
|
58
73
|
},
|
|
59
|
-
EmptyBox,
|
|
60
74
|
],
|
|
61
75
|
},
|
|
62
76
|
},
|
|
@@ -79,13 +93,17 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
|
|
|
79
93
|
widget: "InputField",
|
|
80
94
|
},
|
|
81
95
|
config: {
|
|
82
|
-
layout: {
|
|
96
|
+
layout: {
|
|
97
|
+
xs: 11,
|
|
98
|
+
sm: 11,
|
|
99
|
+
md: 5.5,
|
|
100
|
+
lg: 5.5,
|
|
101
|
+
},
|
|
83
102
|
main: {
|
|
84
103
|
label: childLabel || "Labels for Tab",
|
|
85
104
|
},
|
|
86
105
|
},
|
|
87
106
|
},
|
|
88
|
-
EmptyBox,
|
|
89
107
|
EmptyBox
|
|
90
108
|
],
|
|
91
109
|
},
|
|
@@ -101,7 +119,12 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
101
119
|
widget: "InputField",
|
|
102
120
|
},
|
|
103
121
|
config: {
|
|
104
|
-
layout: {
|
|
122
|
+
layout: {
|
|
123
|
+
xs: 11,
|
|
124
|
+
sm: 11,
|
|
125
|
+
md: 5.5,
|
|
126
|
+
lg: 5.5,
|
|
127
|
+
},
|
|
105
128
|
main: {
|
|
106
129
|
label: "Size",
|
|
107
130
|
},
|
|
@@ -116,7 +139,12 @@ const getInputField = (scope: String, label: String) => {
|
|
|
116
139
|
widget: "InputField",
|
|
117
140
|
},
|
|
118
141
|
config: {
|
|
119
|
-
layout: {
|
|
142
|
+
layout: {
|
|
143
|
+
xs: 11,
|
|
144
|
+
sm: 11,
|
|
145
|
+
md: 5.5,
|
|
146
|
+
lg: 5.5,
|
|
147
|
+
},
|
|
120
148
|
main: {
|
|
121
149
|
label: label,
|
|
122
150
|
},
|
|
@@ -133,7 +161,12 @@ export const getRadioInputField = (scope: String, label: String, options: string
|
|
|
133
161
|
widget: "RadioInputField",
|
|
134
162
|
},
|
|
135
163
|
config: {
|
|
136
|
-
layout: {
|
|
164
|
+
layout: {
|
|
165
|
+
xs: 11,
|
|
166
|
+
sm: 11,
|
|
167
|
+
md: 5.5,
|
|
168
|
+
lg: 5.5,
|
|
169
|
+
},
|
|
137
170
|
main: {
|
|
138
171
|
label: label,
|
|
139
172
|
|
|
@@ -184,7 +217,7 @@ export const getSelectField = (scope: string, label: string, options: { label: s
|
|
|
184
217
|
widget: "SelectInputField",
|
|
185
218
|
},
|
|
186
219
|
config: {
|
|
187
|
-
layout: { xs: 11, sm:
|
|
220
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
188
221
|
main: {
|
|
189
222
|
label: label,
|
|
190
223
|
type: "text",
|
|
@@ -227,8 +260,6 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
227
260
|
getInputField("elevation", "Card Elevation"),
|
|
228
261
|
getInputField("height", "Grid height"),
|
|
229
262
|
getInputField("justifyContent", "justifyContent"),
|
|
230
|
-
EmptyBox,
|
|
231
|
-
EmptyBox,
|
|
232
263
|
cardLayout,
|
|
233
264
|
]
|
|
234
265
|
break;
|
|
@@ -242,7 +273,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
242
273
|
{ label: "Horizontal", value: "horizontal" },
|
|
243
274
|
{ label: "Vertical", value: "vertical" },
|
|
244
275
|
]),
|
|
245
|
-
|
|
276
|
+
|
|
246
277
|
getArrayControl("sectionLabels", "label")
|
|
247
278
|
|
|
248
279
|
]
|
|
@@ -259,15 +290,13 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
259
290
|
uiSchema.elements = [
|
|
260
291
|
getInputField("placeholder", "Placeholder"),
|
|
261
292
|
EmptyBox,
|
|
262
|
-
EmptyBox,
|
|
263
293
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
264
294
|
]
|
|
265
295
|
break;
|
|
266
296
|
case "TextArea":
|
|
267
297
|
uiSchema.elements = [
|
|
268
298
|
getInputField("placeholder", "Placeholder"),
|
|
269
|
-
EmptyBox,
|
|
270
|
-
EmptyBox]
|
|
299
|
+
EmptyBox,]
|
|
271
300
|
break;
|
|
272
301
|
|
|
273
302
|
case "SpeedoMeter":
|
|
@@ -276,8 +305,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
276
305
|
getInputField("heading", "Container Heading"),
|
|
277
306
|
getInputField("heading", "Container Heading"),
|
|
278
307
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
279
|
-
getInputField("width", "Speedometer Width")
|
|
280
|
-
EmptyBox
|
|
308
|
+
getInputField("width", "Speedometer Width")
|
|
281
309
|
]
|
|
282
310
|
break;
|
|
283
311
|
case "RankCard":
|
|
@@ -285,10 +313,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
285
313
|
getInputField("rank", "Rank"),
|
|
286
314
|
getInputField("image", "Image Url"),
|
|
287
315
|
getInputField("title", "Card Title"),
|
|
288
|
-
getInputField("description", "Card Description")
|
|
289
|
-
EmptyBox,
|
|
290
|
-
EmptyBox
|
|
291
|
-
];
|
|
316
|
+
getInputField("description", "Card Description")];
|
|
292
317
|
break;
|
|
293
318
|
case "LeaderBoard":
|
|
294
319
|
uiSchema.elements = [
|
|
@@ -296,8 +321,6 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
296
321
|
getInputField("firstImage", "First Image url"),
|
|
297
322
|
getInputField("secondImage", "Second Image url"),
|
|
298
323
|
getInputField("thirdImage", "Third Image url"),
|
|
299
|
-
EmptyBox,
|
|
300
|
-
EmptyBox,
|
|
301
324
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
302
325
|
];
|
|
303
326
|
break;
|
|
@@ -311,9 +334,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
311
334
|
getInputField("heading", "Heading"),
|
|
312
335
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
313
336
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
314
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
315
|
-
EmptyBox,
|
|
316
|
-
EmptyBox
|
|
337
|
+
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
317
338
|
];
|
|
318
339
|
break;
|
|
319
340
|
case "card":
|
|
@@ -394,13 +415,11 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
394
415
|
uiSchema.elements = [
|
|
395
416
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
396
417
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
397
|
-
EmptyBox
|
|
398
418
|
]
|
|
399
419
|
break;
|
|
400
420
|
case "MultipleSelect":
|
|
401
421
|
uiSchema.elements = [
|
|
402
422
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
403
|
-
EmptyBox,
|
|
404
423
|
EmptyBox
|
|
405
424
|
]
|
|
406
425
|
break;
|
|
@@ -4,15 +4,16 @@ export default {
|
|
|
4
4
|
main: {
|
|
5
5
|
rowSpacing: 0.5,
|
|
6
6
|
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
style: {
|
|
8
|
+
componentsBoxStyle: {
|
|
9
|
+
position : "relative",
|
|
10
|
+
color: "white",
|
|
11
|
+
height: {xs:"120px",md:"160px"},
|
|
12
|
+
width: "100%",
|
|
13
|
+
textAlign: "left",
|
|
14
|
+
background: "#3f51b5",
|
|
15
|
+
borderRadius: "20px",
|
|
16
|
+
},
|
|
16
17
|
},
|
|
17
18
|
layout: { xs: 12, sm: 12,md: 6,lg: 6, },},
|
|
18
19
|
elements: [
|