impaktapps-ui-builder 0.0.412 → 0.0.591
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 +2170 -1539
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +14 -14
- 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/buildConfig.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +2 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +18 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -12
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +71 -122
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +4 -106
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +58 -45
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +74 -99
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +2 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +5 -5
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +7 -2
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +13 -2
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -5
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +17 -1
- package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +3 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +86 -73
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +88 -90
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +30 -47
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +34 -56
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +7 -118
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +82 -72
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +15 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +85 -101
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +13 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +355 -165
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +533 -315
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +397 -264
- package/src/impaktapps-ui-builder/builder/services/component.ts +26 -9
- package/src/impaktapps-ui-builder/builder/services/event.ts +17 -7
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +19 -3
- package/src/impaktapps-ui-builder/builder/services/utils.ts +0 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +31 -18
- package/src/impaktapps-ui-builder/runtime/services/interface.ts +1 -0
- package/src/impaktapps-ui-builder/runtime/services/service.ts +134 -15
|
@@ -8,17 +8,13 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
8
8
|
barGraph.config.layout = createLayoutFormat(config.layout);
|
|
9
9
|
}
|
|
10
10
|
if (config.legendHide) {
|
|
11
|
-
barGraph.config.main.legendAvailable =
|
|
11
|
+
barGraph.config.main.legendAvailable = config.legendHide;
|
|
12
12
|
}
|
|
13
13
|
barGraph.config.main.type = config.graphType;
|
|
14
14
|
barGraph.config.main.header = config.heading;
|
|
15
15
|
if (config.barColor) {
|
|
16
16
|
barGraph.config.barStyle.color = config.barColor;
|
|
17
17
|
}
|
|
18
|
-
if (config.containerBackground) {
|
|
19
|
-
barGraph.config.containerStyle.background =
|
|
20
|
-
config.containerBackground;
|
|
21
|
-
}
|
|
22
18
|
if (config.height) {
|
|
23
19
|
barGraph.config.style.containerStyle.height = config.height;
|
|
24
20
|
}
|
|
@@ -2,7 +2,7 @@ import Table from "./uischema/table";
|
|
|
2
2
|
import _ from "lodash";
|
|
3
3
|
import buildUiSchema from "./buildUiSchema";
|
|
4
4
|
import lazyLoadingTable from "./uischema/lazyLoadingTable";
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
export const buildTable = (config: any, componentScope: string) => {
|
|
7
7
|
const table: any = _.cloneDeep(Table);
|
|
8
8
|
table.scope = componentScope;
|
|
@@ -12,6 +12,22 @@ export const buildTable = (config: any, componentScope: string) => {
|
|
|
12
12
|
if (config.lazyLoading) {
|
|
13
13
|
table.config.main.lazyLoading = config.lazyLoading === "YES" ? true : false;
|
|
14
14
|
}
|
|
15
|
+
if (config.enableRowMovement) {
|
|
16
|
+
table.config.main.enableRowMovement = config.enableRowMovement === "YES" ? true : false;
|
|
17
|
+
}
|
|
18
|
+
if (config.enableExpanding) {
|
|
19
|
+
table.config.main.enableExpanding = config.enableExpanding === "YES" ? true : false;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (config.enableExpandAll) {
|
|
23
|
+
table.config.main.enableExpandAll = config.enableExpandAll === "YES" ? true : false;
|
|
24
|
+
}
|
|
25
|
+
if (config.paginateExpandedRows) {
|
|
26
|
+
table.config.main.paginateExpandedRows = config.paginateExpandedRows === "YES" ? true : false;
|
|
27
|
+
}
|
|
28
|
+
if (config.treeStructure) {
|
|
29
|
+
table.config.main.treeStructure = config.treeStructure === "YES" ? "flatTreeMap" : false;
|
|
30
|
+
}
|
|
15
31
|
if (config.SelectionAvailable) {
|
|
16
32
|
table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false
|
|
17
33
|
};
|
|
@@ -7,7 +7,7 @@ export const buildWrapperSection = (config, componentScope) => {
|
|
|
7
7
|
wrapper.scope = componentScope;
|
|
8
8
|
wrapper.config.main.label = config.label;
|
|
9
9
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
10
|
-
wrapper.config.main.isAccordion = config.isAccordion === "
|
|
10
|
+
wrapper.config.main.isAccordion = config.isAccordion === "No" ? false : true;
|
|
11
11
|
if(config.defaultStyle){
|
|
12
12
|
wrapper.config.defaultStyle = config.defaultStyle ==="YES" ? true : false;
|
|
13
13
|
}
|
|
@@ -11,7 +11,7 @@ export const APISection = {
|
|
|
11
11
|
widget: "SelectInputField",
|
|
12
12
|
},
|
|
13
13
|
config: {
|
|
14
|
-
layout: { xs: 11, sm:
|
|
14
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
15
15
|
main: {
|
|
16
16
|
label: "Method",
|
|
17
17
|
type: "text",
|
|
@@ -26,7 +26,7 @@ export const APISection = {
|
|
|
26
26
|
widget: "InputField",
|
|
27
27
|
},
|
|
28
28
|
config: {
|
|
29
|
-
layout: { xs: 11, sm:
|
|
29
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
30
30
|
main: {
|
|
31
31
|
label: "Path",
|
|
32
32
|
type: "text",
|
|
@@ -35,6 +35,28 @@ export const APISection = {
|
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
type: "Control",
|
|
40
|
+
scope: "#/properties/emptyBox",
|
|
41
|
+
|
|
42
|
+
options: {
|
|
43
|
+
widget: "EmptyBox",
|
|
44
|
+
},
|
|
45
|
+
config: {
|
|
46
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
type: "Control",
|
|
51
|
+
scope: "#/properties/emptyBox",
|
|
52
|
+
|
|
53
|
+
options: {
|
|
54
|
+
widget: "EmptyBox",
|
|
55
|
+
},
|
|
56
|
+
config: {
|
|
57
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
58
|
+
},
|
|
59
|
+
},
|
|
38
60
|
{
|
|
39
61
|
type: "Control",
|
|
40
62
|
scope: "#/properties/headers",
|
|
@@ -51,12 +73,7 @@ export const APISection = {
|
|
|
51
73
|
widget: "InputField",
|
|
52
74
|
},
|
|
53
75
|
config: {
|
|
54
|
-
layout: {
|
|
55
|
-
xs: 11,
|
|
56
|
-
sm: 11,
|
|
57
|
-
md: 5.5,
|
|
58
|
-
lg: 5.5,
|
|
59
|
-
},
|
|
76
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
60
77
|
main: {
|
|
61
78
|
label: "Key",
|
|
62
79
|
},
|
|
@@ -70,17 +87,23 @@ export const APISection = {
|
|
|
70
87
|
widget: "InputField",
|
|
71
88
|
},
|
|
72
89
|
config: {
|
|
73
|
-
layout: {
|
|
74
|
-
xs: 11,
|
|
75
|
-
sm: 11,
|
|
76
|
-
md: 5.5,
|
|
77
|
-
lg: 5.5,
|
|
78
|
-
},
|
|
90
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
79
91
|
main: {
|
|
80
92
|
label: "Value",
|
|
81
93
|
},
|
|
82
94
|
},
|
|
83
95
|
},
|
|
96
|
+
{
|
|
97
|
+
type: "Control",
|
|
98
|
+
scope: "#/properties/emptyBox",
|
|
99
|
+
|
|
100
|
+
options: {
|
|
101
|
+
widget: "EmptyBox",
|
|
102
|
+
},
|
|
103
|
+
config: {
|
|
104
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
105
|
+
},
|
|
106
|
+
},
|
|
84
107
|
],
|
|
85
108
|
},
|
|
86
109
|
},
|
|
@@ -101,12 +124,7 @@ export const APISection = {
|
|
|
101
124
|
widget: "InputField",
|
|
102
125
|
},
|
|
103
126
|
config: {
|
|
104
|
-
layout: {
|
|
105
|
-
xs: 11,
|
|
106
|
-
sm: 11,
|
|
107
|
-
md: 5.5,
|
|
108
|
-
lg: 5.5,
|
|
109
|
-
},
|
|
127
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
110
128
|
main: {
|
|
111
129
|
label: "Key",
|
|
112
130
|
},
|
|
@@ -120,18 +138,23 @@ export const APISection = {
|
|
|
120
138
|
widget: "InputField",
|
|
121
139
|
},
|
|
122
140
|
config: {
|
|
123
|
-
layout: {
|
|
124
|
-
xs: 11,
|
|
125
|
-
sm: 11,
|
|
126
|
-
md: 5.5,
|
|
127
|
-
lg: 5.5,
|
|
128
|
-
},
|
|
141
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
129
142
|
main: {
|
|
130
143
|
label: "Value",
|
|
131
144
|
},
|
|
132
145
|
},
|
|
133
146
|
},
|
|
134
|
-
|
|
147
|
+
{
|
|
148
|
+
type: "Control",
|
|
149
|
+
scope: "#/properties/emptyBox",
|
|
150
|
+
|
|
151
|
+
options: {
|
|
152
|
+
widget: "EmptyBox",
|
|
153
|
+
},
|
|
154
|
+
config: {
|
|
155
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
156
|
+
},
|
|
157
|
+
},
|
|
135
158
|
],
|
|
136
159
|
},
|
|
137
160
|
},
|
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
import _ from "lodash";
|
|
3
3
|
import emptyBox from "./emptyBox";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { buildLabel } from "../buildLabel";
|
|
5
|
+
import Box from "./box";
|
|
6
|
+
// const emptyBox = {
|
|
7
|
+
// type: "Control",
|
|
8
|
+
// scope: `#/properties/empty`,
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
sm: 11,
|
|
15
|
-
md: 5.5,
|
|
16
|
-
lg: 5.5,
|
|
17
|
-
},
|
|
18
|
-
main: {
|
|
10
|
+
// options: {
|
|
11
|
+
// widget: "emptyBox",
|
|
12
|
+
// },
|
|
13
|
+
// config: {
|
|
14
|
+
// layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
15
|
+
// main: {
|
|
19
16
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
17
|
+
// },
|
|
18
|
+
// },
|
|
19
|
+
// };
|
|
23
20
|
const cardLayout = {
|
|
24
21
|
type: "Control",
|
|
25
22
|
scope: "#/properties/cardLayout",
|
|
@@ -35,12 +32,7 @@ const cardLayout = {
|
|
|
35
32
|
widget: "SelectInputField",
|
|
36
33
|
},
|
|
37
34
|
config: {
|
|
38
|
-
layout: {
|
|
39
|
-
xs: 11,
|
|
40
|
-
sm: 11,
|
|
41
|
-
md: 5.5,
|
|
42
|
-
lg: 5.5,
|
|
43
|
-
},
|
|
35
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
44
36
|
main: {
|
|
45
37
|
label: "Screen Size",
|
|
46
38
|
|
|
@@ -55,12 +47,7 @@ const cardLayout = {
|
|
|
55
47
|
widget: "InputField",
|
|
56
48
|
},
|
|
57
49
|
config: {
|
|
58
|
-
layout: {
|
|
59
|
-
xs: 11,
|
|
60
|
-
sm: 11,
|
|
61
|
-
md: 5.5,
|
|
62
|
-
lg: 5.5,
|
|
63
|
-
},
|
|
50
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
64
51
|
main: {
|
|
65
52
|
label: "Value",
|
|
66
53
|
type: "number",
|
|
@@ -71,6 +58,7 @@ const cardLayout = {
|
|
|
71
58
|
},
|
|
72
59
|
},
|
|
73
60
|
},
|
|
61
|
+
emptyBox
|
|
74
62
|
],
|
|
75
63
|
},
|
|
76
64
|
},
|
|
@@ -79,7 +67,7 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
|
|
|
79
67
|
return {
|
|
80
68
|
type: "Control",
|
|
81
69
|
scope: `#/properties/${parentScope}`,
|
|
82
|
-
layout:
|
|
70
|
+
layout: 12,
|
|
83
71
|
options: {
|
|
84
72
|
"elementLabelProp": childScope,
|
|
85
73
|
detail: {
|
|
@@ -93,18 +81,14 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
|
|
|
93
81
|
widget: "InputField",
|
|
94
82
|
},
|
|
95
83
|
config: {
|
|
96
|
-
layout: {
|
|
97
|
-
xs: 11,
|
|
98
|
-
sm: 11,
|
|
99
|
-
md: 5.5,
|
|
100
|
-
lg: 5.5,
|
|
101
|
-
},
|
|
84
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
102
85
|
main: {
|
|
103
86
|
label: childLabel || "Labels for Tab",
|
|
104
87
|
},
|
|
105
88
|
},
|
|
106
89
|
},
|
|
107
|
-
|
|
90
|
+
emptyBox,
|
|
91
|
+
emptyBox
|
|
108
92
|
],
|
|
109
93
|
},
|
|
110
94
|
},
|
|
@@ -119,17 +103,13 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
119
103
|
widget: "InputField",
|
|
120
104
|
},
|
|
121
105
|
config: {
|
|
122
|
-
layout: {
|
|
123
|
-
xs: 11,
|
|
124
|
-
sm: 11,
|
|
125
|
-
md: 5.5,
|
|
126
|
-
lg: 5.5,
|
|
127
|
-
},
|
|
106
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
128
107
|
main: {
|
|
129
108
|
label: "Size",
|
|
130
109
|
},
|
|
131
110
|
},
|
|
132
111
|
};
|
|
112
|
+
sizeHolder.options.detail.elements[2] = emptyBox
|
|
133
113
|
const getInputField = (scope: String, label: String) => {
|
|
134
114
|
return {
|
|
135
115
|
type: "Control",
|
|
@@ -139,12 +119,7 @@ const getInputField = (scope: String, label: String) => {
|
|
|
139
119
|
widget: "InputField",
|
|
140
120
|
},
|
|
141
121
|
config: {
|
|
142
|
-
layout: {
|
|
143
|
-
xs: 11,
|
|
144
|
-
sm: 11,
|
|
145
|
-
md: 5.5,
|
|
146
|
-
lg: 5.5,
|
|
147
|
-
},
|
|
122
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
148
123
|
main: {
|
|
149
124
|
label: label,
|
|
150
125
|
},
|
|
@@ -161,12 +136,7 @@ export const getRadioInputField = (scope: String, label: String, options: string
|
|
|
161
136
|
widget: "RadioInputField",
|
|
162
137
|
},
|
|
163
138
|
config: {
|
|
164
|
-
layout: {
|
|
165
|
-
xs: 11,
|
|
166
|
-
sm: 11,
|
|
167
|
-
md: 5.5,
|
|
168
|
-
lg: 5.5,
|
|
169
|
-
},
|
|
139
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
170
140
|
main: {
|
|
171
141
|
label: label,
|
|
172
142
|
|
|
@@ -175,7 +145,26 @@ export const getRadioInputField = (scope: String, label: String, options: string
|
|
|
175
145
|
},
|
|
176
146
|
};
|
|
177
147
|
};
|
|
178
|
-
|
|
148
|
+
export const buildWrapper = (label: string, elements: any[]) => {
|
|
149
|
+
return {
|
|
150
|
+
type: "WrapperLayout",
|
|
151
|
+
config: {
|
|
152
|
+
main: {
|
|
153
|
+
label: label || "Details",
|
|
154
|
+
isAccordion: true,
|
|
155
|
+
},
|
|
156
|
+
wrapperStyle: {
|
|
157
|
+
marginTop: '-6px',
|
|
158
|
+
marginBottom: '-8px',
|
|
159
|
+
},
|
|
160
|
+
componentsBoxStyle: {
|
|
161
|
+
marginLeft: "24px",
|
|
162
|
+
},
|
|
163
|
+
defaultStyle: true
|
|
164
|
+
},
|
|
165
|
+
elements: elements || []
|
|
166
|
+
}
|
|
167
|
+
}
|
|
179
168
|
export const getTextArea = (scope: string, heading: string, hideButton: boolean, layout?: any) => {
|
|
180
169
|
return {
|
|
181
170
|
type: "Control",
|
|
@@ -217,7 +206,7 @@ export const getSelectField = (scope: string, label: string, options: { label: s
|
|
|
217
206
|
widget: "SelectInputField",
|
|
218
207
|
},
|
|
219
208
|
config: {
|
|
220
|
-
layout: { xs: 11, sm:
|
|
209
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
221
210
|
main: {
|
|
222
211
|
label: label,
|
|
223
212
|
type: "text",
|
|
@@ -244,13 +233,16 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
244
233
|
getInputField("graphHeight", "Graph Height"),
|
|
245
234
|
getInputField("graphWidth", "Graph Width"),
|
|
246
235
|
getInputField("graphZoomHeight", "Zoom Height"),
|
|
236
|
+
emptyBox
|
|
247
237
|
]
|
|
238
|
+
break;
|
|
248
239
|
case "InputSlider":
|
|
249
240
|
uiSchema.elements = [
|
|
250
241
|
getInputField("max", "Max Limit"),
|
|
251
242
|
getInputField("step", "Step"),
|
|
252
243
|
getInputField("min", "Min Limit"),
|
|
253
244
|
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
|
|
245
|
+
emptyBox, emptyBox
|
|
254
246
|
]
|
|
255
247
|
break;
|
|
256
248
|
case "DataGrid":
|
|
@@ -259,6 +251,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
259
251
|
getInputField("elevation", "Card Elevation"),
|
|
260
252
|
getInputField("height", "Grid height"),
|
|
261
253
|
getInputField("justifyContent", "justifyContent"),
|
|
254
|
+
emptyBox,
|
|
255
|
+
emptyBox,
|
|
262
256
|
cardLayout,
|
|
263
257
|
]
|
|
264
258
|
break;
|
|
@@ -272,6 +266,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
272
266
|
{ label: "Horizontal", value: "horizontal" },
|
|
273
267
|
{ label: "Vertical", value: "vertical" },
|
|
274
268
|
]),
|
|
269
|
+
emptyBox,
|
|
275
270
|
|
|
276
271
|
getArrayControl("sectionLabels", "label")
|
|
277
272
|
|
|
@@ -282,20 +277,20 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
282
277
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
283
278
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
284
279
|
getInputField("maxWidth", "Max. Width"),
|
|
285
|
-
EmptyBox
|
|
286
280
|
]
|
|
287
281
|
break;
|
|
288
282
|
case "Text":
|
|
289
283
|
uiSchema.elements = [
|
|
290
284
|
getInputField("placeholder", "Placeholder"),
|
|
291
|
-
|
|
285
|
+
emptyBox,
|
|
286
|
+
emptyBox,
|
|
292
287
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
293
288
|
]
|
|
294
289
|
break;
|
|
295
290
|
case "TextArea":
|
|
296
291
|
uiSchema.elements = [
|
|
297
292
|
getInputField("placeholder", "Placeholder"),
|
|
298
|
-
|
|
293
|
+
emptyBox, emptyBox]
|
|
299
294
|
break;
|
|
300
295
|
|
|
301
296
|
case "SpeedoMeter":
|
|
@@ -304,7 +299,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
304
299
|
getInputField("heading", "Container Heading"),
|
|
305
300
|
getInputField("heading", "Container Heading"),
|
|
306
301
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
307
|
-
getInputField("width", "Speedometer Width")
|
|
302
|
+
getInputField("width", "Speedometer Width"),
|
|
303
|
+
emptyBox
|
|
308
304
|
]
|
|
309
305
|
break;
|
|
310
306
|
case "RankCard":
|
|
@@ -312,7 +308,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
312
308
|
getInputField("rank", "Rank"),
|
|
313
309
|
getInputField("image", "Image Url"),
|
|
314
310
|
getInputField("title", "Card Title"),
|
|
315
|
-
getInputField("description", "Card Description")
|
|
311
|
+
getInputField("description", "Card Description"),
|
|
312
|
+
emptyBox, emptyBox];
|
|
316
313
|
break;
|
|
317
314
|
case "LeaderBoard":
|
|
318
315
|
uiSchema.elements = [
|
|
@@ -320,7 +317,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
320
317
|
getInputField("firstImage", "First Image url"),
|
|
321
318
|
getInputField("secondImage", "Second Image url"),
|
|
322
319
|
getInputField("thirdImage", "Third Image url"),
|
|
323
|
-
|
|
320
|
+
emptyBox, emptyBox,
|
|
321
|
+
getTextArea("functionCode", "Write Compare Code", false),
|
|
324
322
|
];
|
|
325
323
|
break;
|
|
326
324
|
case "CardSlider":
|
|
@@ -333,7 +331,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
333
331
|
getInputField("heading", "Heading"),
|
|
334
332
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
335
333
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
336
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
334
|
+
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
335
|
+
emptyBox, emptyBox
|
|
337
336
|
];
|
|
338
337
|
break;
|
|
339
338
|
case "card":
|
|
@@ -341,7 +340,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
341
340
|
getInputField("url", "Image Url"),
|
|
342
341
|
getInputField("label", "Label"),
|
|
343
342
|
getInputField("description", "Description"),
|
|
344
|
-
|
|
343
|
+
emptyBox
|
|
345
344
|
];
|
|
346
345
|
break;
|
|
347
346
|
case "Button":
|
|
@@ -354,7 +353,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
354
353
|
{ label: "Apply Default Style", value: "true" },
|
|
355
354
|
{ label: "No Style", value: "false" },
|
|
356
355
|
]),
|
|
357
|
-
|
|
356
|
+
emptyBox
|
|
358
357
|
];
|
|
359
358
|
break;
|
|
360
359
|
case "Graph":
|
|
@@ -373,6 +372,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
373
372
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
374
373
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
375
374
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
375
|
+
emptyBox,
|
|
376
376
|
getArrayControl("legendLabels", "label"),
|
|
377
377
|
getArrayControl("pieArcColors", "color"),
|
|
378
378
|
];
|
|
@@ -381,7 +381,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
381
381
|
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]),
|
|
382
382
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
|
|
383
383
|
, getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
384
|
-
|
|
384
|
+
getInputField("rowSpacing", "Row Spacing"),
|
|
385
|
+
emptyBox, emptyBox
|
|
385
386
|
]
|
|
386
387
|
break;
|
|
387
388
|
|
|
@@ -389,6 +390,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
389
390
|
uiSchema.elements = [
|
|
390
391
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
391
392
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
393
|
+
emptyBox,
|
|
392
394
|
getArrayControl("sectionLabels", "label"),
|
|
393
395
|
]
|
|
394
396
|
break;
|
|
@@ -396,13 +398,22 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
396
398
|
case "LazyLoadingTable":
|
|
397
399
|
uiSchema.elements = [
|
|
398
400
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
399
|
-
getRadioInputField("SelectionAvailable", "Selection
|
|
400
|
-
getRadioInputField("ColumnResizingAvailable", "ColumnResizing
|
|
401
|
-
getRadioInputField("DragAvailable", "
|
|
401
|
+
getRadioInputField("SelectionAvailable", "Row Selection", ["YES", "NO"]),
|
|
402
|
+
getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
|
|
403
|
+
getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
|
|
402
404
|
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
403
|
-
getInputField("selectKey", "Selection Key"),
|
|
405
|
+
getInputField("selectKey", "Selection Key"), emptyBox,
|
|
406
|
+
buildWrapper("Tree Table Properties", [
|
|
407
|
+
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
408
|
+
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
409
|
+
// getRadioInputField("enableExpandAll", "Use All Row Expanding", ["YES", "NO"]),
|
|
410
|
+
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
411
|
+
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
412
|
+
emptyBox, emptyBox
|
|
413
|
+
]),
|
|
404
414
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
405
|
-
sizeHolder
|
|
415
|
+
sizeHolder,
|
|
416
|
+
|
|
406
417
|
]
|
|
407
418
|
break;
|
|
408
419
|
case "Radio":
|
|
@@ -414,12 +425,14 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
414
425
|
uiSchema.elements = [
|
|
415
426
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
416
427
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
428
|
+
emptyBox
|
|
417
429
|
]
|
|
418
430
|
break;
|
|
419
431
|
case "MultipleSelect":
|
|
420
432
|
uiSchema.elements = [
|
|
421
433
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
422
|
-
|
|
434
|
+
emptyBox,
|
|
435
|
+
emptyBox
|
|
423
436
|
]
|
|
424
437
|
break;
|
|
425
438
|
}
|
|
@@ -5,12 +5,7 @@ export default {
|
|
|
5
5
|
widget: "Button",
|
|
6
6
|
},
|
|
7
7
|
config: {
|
|
8
|
-
layout:
|
|
9
|
-
xs: 11,
|
|
10
|
-
sm: 11,
|
|
11
|
-
md: 5.5,
|
|
12
|
-
lg: 5.5,
|
|
13
|
-
},
|
|
8
|
+
layout: 3,
|
|
14
9
|
main: {
|
|
15
10
|
name: "Compare",
|
|
16
11
|
variant: "contained",
|
|
@@ -20,7 +15,7 @@ export default {
|
|
|
20
15
|
styleDefault:false,
|
|
21
16
|
icon:"",
|
|
22
17
|
onClick: "onClick",
|
|
23
|
-
size: "
|
|
18
|
+
size: "medium",
|
|
24
19
|
},
|
|
25
20
|
style: {
|
|
26
21
|
},
|