impaktapps-ui-builder 1.0.133 → 1.0.135
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 +124 -261
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +11 -11
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +18 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +13 -5
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +12 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +19 -75
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +80 -102
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +1 -61
- package/src/impaktapps-ui-builder/builder/services/component.ts +7 -14
- package/src/impaktapps-ui-builder/runtime/services/service.ts +42 -58
|
@@ -112,8 +112,16 @@ export default function Card(theme: any): {
|
|
|
112
112
|
margin: string;
|
|
113
113
|
marginLeft: string;
|
|
114
114
|
height: number;
|
|
115
|
+
marginTop?: undefined;
|
|
115
116
|
position?: undefined;
|
|
116
117
|
left?: undefined;
|
|
118
|
+
whiteSpace?: undefined;
|
|
119
|
+
overflowX?: undefined;
|
|
120
|
+
overflowY?: undefined;
|
|
121
|
+
scrollbarWidth?: undefined;
|
|
122
|
+
msOverflowStyle?: undefined;
|
|
123
|
+
maxWidth?: undefined;
|
|
124
|
+
"&::-webkit-scrollbar"?: undefined;
|
|
117
125
|
};
|
|
118
126
|
};
|
|
119
127
|
options: {
|
|
@@ -138,8 +146,18 @@ export default function Card(theme: any): {
|
|
|
138
146
|
justifyContent: string;
|
|
139
147
|
width: string;
|
|
140
148
|
margin: string;
|
|
149
|
+
marginTop: string;
|
|
141
150
|
position: string;
|
|
142
151
|
left: string;
|
|
152
|
+
whiteSpace: string;
|
|
153
|
+
overflowX: string;
|
|
154
|
+
overflowY: string;
|
|
155
|
+
scrollbarWidth: string;
|
|
156
|
+
msOverflowStyle: string;
|
|
157
|
+
maxWidth: string;
|
|
158
|
+
"&::-webkit-scrollbar": {
|
|
159
|
+
display: string;
|
|
160
|
+
};
|
|
143
161
|
marginLeft?: undefined;
|
|
144
162
|
height?: undefined;
|
|
145
163
|
};
|
|
@@ -22,7 +22,7 @@ declare const _default: (funcParams: funcParamsProps) => {
|
|
|
22
22
|
onRowMovement: (paginationValues: any) => Promise<any>;
|
|
23
23
|
onPaginationChange: (paginationValues: any) => Promise<any>;
|
|
24
24
|
getSelectOptions: (param: any) => Promise<any>;
|
|
25
|
-
onChange: () => void
|
|
25
|
+
onChange: () => Promise<void>;
|
|
26
26
|
callExecuteEvents: (paramValue: any, apiBody: any, eventType: string) => Promise<any>;
|
|
27
27
|
onBack: (functionParameters: any) => Promise<void>;
|
|
28
28
|
onNext: (functionParameters: any) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -21,6 +21,9 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
|
|
|
21
21
|
if (config.legendLabels) {
|
|
22
22
|
horizontalBarGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
|
|
23
23
|
}
|
|
24
|
+
if(config.legendDirection){
|
|
25
|
+
horizontalBarGraph.config.main.legendDirection = config.legendDirection === "Row" ? "row" : "column";
|
|
26
|
+
}
|
|
24
27
|
if (config.pieArcColors) {
|
|
25
28
|
horizontalBarGraph.config.style.barStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
|
|
26
29
|
}
|
|
@@ -42,6 +45,9 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
|
|
|
42
45
|
if (config.leftLabel) {
|
|
43
46
|
horizontalBarGraph.config.main.leftLabel = config.leftLabel;
|
|
44
47
|
}
|
|
48
|
+
if (config.disableLeftLabel) {
|
|
49
|
+
horizontalBarGraph.config.main.disableLeftLabel = config.disableLeftLabel==="YES"? true: false;
|
|
50
|
+
}
|
|
45
51
|
return horizontalBarGraph
|
|
46
52
|
}
|
|
47
53
|
|
|
@@ -28,9 +28,15 @@ export const buildLineGraph = (config, componentScope) => {
|
|
|
28
28
|
if (config.leftLabel) {
|
|
29
29
|
lineGraph.config.main.leftLabel = config.leftLabel;
|
|
30
30
|
}
|
|
31
|
+
if (config.disableLeftLabel) {
|
|
32
|
+
lineGraph.config.main.disableLeftLabel = config.disableLeftLabel==="YES"? true: false;
|
|
33
|
+
}
|
|
31
34
|
if (config.legendHide) {
|
|
32
35
|
lineGraph.config.main.legendAvailable = config.legendHide==="YES"?false:true;
|
|
33
36
|
}
|
|
37
|
+
if(config.legendDirection){
|
|
38
|
+
lineGraph.config.main.legendDirection = config.legendDirection === "Row" ? "row" : "column";
|
|
39
|
+
}
|
|
34
40
|
if (config.bottomAxisAngle) {
|
|
35
41
|
lineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle==="YES"?true:false;
|
|
36
42
|
}
|
|
@@ -12,6 +12,9 @@ export const buildPieGraph = (config, componentScope) => {
|
|
|
12
12
|
if (config.legendHide) {
|
|
13
13
|
pieGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
|
|
14
14
|
}
|
|
15
|
+
if(config.legendDirection){
|
|
16
|
+
pieGraph.config.main.legendDirection = config.legendDirection === "Row" ? "row" : "column";
|
|
17
|
+
}
|
|
15
18
|
pieGraph.scope = componentScope;
|
|
16
19
|
pieGraph.config.main.header = config.heading;
|
|
17
20
|
|
|
@@ -11,6 +11,9 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
11
11
|
barGraph.config.main.legendAvailable = config.legendHide;
|
|
12
12
|
barGraph.config.main.legendAvailable = config.legendHide==="YES"?false:true;
|
|
13
13
|
}
|
|
14
|
+
if(config.legendDirection){
|
|
15
|
+
barGraph.config.main.legendDirection = config.legendDirection === "Row" ? "row" : "column";
|
|
16
|
+
}
|
|
14
17
|
if (config.bottomAxisAngle) {
|
|
15
18
|
barGraph.config.main.bottomAxisAngle = config.bottomAxisAngle==="YES"?true:false;
|
|
16
19
|
}
|
|
@@ -39,6 +42,9 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
39
42
|
if (config.leftLabel) {
|
|
40
43
|
barGraph.config.main.leftLabel = config.leftLabel;
|
|
41
44
|
}
|
|
45
|
+
if (config.disableLeftLabel) {
|
|
46
|
+
barGraph.config.main.disableLeftLabel = config.disableLeftLabel==="YES"? true: false;
|
|
47
|
+
}
|
|
42
48
|
barGraph.scope = componentScope;
|
|
43
49
|
return barGraph;
|
|
44
50
|
}
|
|
@@ -274,7 +274,17 @@ const buildUiSchema = (config: any, store?: any) => {
|
|
|
274
274
|
|
|
275
275
|
if (config?.elements) {
|
|
276
276
|
if (config?.type === "LeaderBoard") {
|
|
277
|
-
|
|
277
|
+
const rowElements = []
|
|
278
|
+
config.elements.filter((cellElem, elemInd) => {
|
|
279
|
+
const commonProperties = {
|
|
280
|
+
accessorKey: cellElem.name,
|
|
281
|
+
type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
|
|
282
|
+
header: cellElem.label || cellElem.name,
|
|
283
|
+
columnKey: cellElem.columnKey
|
|
284
|
+
}
|
|
285
|
+
rowElements.push({ ...commonProperties })
|
|
286
|
+
})
|
|
287
|
+
elements.elements = rowElements;
|
|
278
288
|
}
|
|
279
289
|
else if (config.type == "ColumnGroup") {
|
|
280
290
|
const sizeMap = {}
|
|
@@ -292,8 +302,7 @@ const buildUiSchema = (config: any, store?: any) => {
|
|
|
292
302
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
293
303
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
294
304
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
295
|
-
columnKey: cellElem.columnKey
|
|
296
|
-
dateFormat: cellElem.dateFormat,
|
|
305
|
+
columnKey: cellElem.columnKey
|
|
297
306
|
}
|
|
298
307
|
if (cellElem.type) {
|
|
299
308
|
const tableElem = {
|
|
@@ -326,8 +335,7 @@ const buildUiSchema = (config: any, store?: any) => {
|
|
|
326
335
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
327
336
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
328
337
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
329
|
-
columnKey: cellElem.columnKey
|
|
330
|
-
dateFormat: cellElem.dateFormat,
|
|
338
|
+
columnKey: cellElem.columnKey
|
|
331
339
|
}
|
|
332
340
|
if (cellElem.type) {
|
|
333
341
|
if (cellElem.elementType == "action") {
|
|
@@ -432,9 +432,11 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
432
432
|
{ label: "Stack Horizontal Bar Graph", value: "HorizontalStackBarGraph" }
|
|
433
433
|
]),
|
|
434
434
|
getInputField("leftLabel", "Left Label"),
|
|
435
|
+
getRadioInputField("disableLeftLabel", "Disable Left Label", ["YES", "No"]),
|
|
435
436
|
getInputField("bottomLabel", "Bottom Label"),
|
|
436
437
|
emptyBox("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
437
438
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
439
|
+
getRadioInputField("legendDirection", "Legend Direction", ["Row", "Column"]),
|
|
438
440
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
439
441
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
440
442
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
@@ -123,14 +123,24 @@ export default function Card(theme){
|
|
|
123
123
|
style: {
|
|
124
124
|
color: "black",
|
|
125
125
|
display: "flex",
|
|
126
|
-
fontSize: { xs: "24px", md: "
|
|
126
|
+
fontSize: { xs: "24px", md: "25px" },
|
|
127
127
|
fontWeight: "bold",
|
|
128
128
|
background: "inherit",
|
|
129
129
|
justifyContent: "flex-start",
|
|
130
130
|
width: "auto",
|
|
131
131
|
margin: "-8px",
|
|
132
|
+
marginTop: "-6px",
|
|
132
133
|
position: "absolute",
|
|
133
|
-
left: "
|
|
134
|
+
left: "7px",
|
|
135
|
+
whiteSpace: "nowrap",
|
|
136
|
+
overflowX: "auto",
|
|
137
|
+
overflowY: "hidden",
|
|
138
|
+
scrollbarWidth: "none",
|
|
139
|
+
msOverflowStyle: "none",
|
|
140
|
+
maxWidth: "calc(100% + 20px)",
|
|
141
|
+
"&::-webkit-scrollbar": {
|
|
142
|
+
display: "none",
|
|
143
|
+
}
|
|
134
144
|
},
|
|
135
145
|
// layout: 11,
|
|
136
146
|
},
|
|
@@ -62,76 +62,20 @@ export const CoreSection = {
|
|
|
62
62
|
},
|
|
63
63
|
},
|
|
64
64
|
},
|
|
65
|
-
{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
80
|
-
},
|
|
81
|
-
options: {
|
|
82
|
-
widget: "EmptyBox",
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
type: "Control",
|
|
87
|
-
scope: "#/properties/proc7",
|
|
88
|
-
config: {
|
|
89
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
90
|
-
},
|
|
91
|
-
options: {
|
|
92
|
-
widget: "EmptyBox",
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
type: "Control",
|
|
97
|
-
scope: "#/properties/proc8",
|
|
98
|
-
config: {
|
|
99
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
100
|
-
},
|
|
101
|
-
options: {
|
|
102
|
-
widget: "EmptyBox",
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
type: "Control",
|
|
107
|
-
scope: "#/properties/proc9",
|
|
108
|
-
config: {
|
|
109
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
110
|
-
},
|
|
111
|
-
options: {
|
|
112
|
-
widget: "EmptyBox",
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
type: "Control",
|
|
117
|
-
scope: "#/properties/proc10",
|
|
118
|
-
config: {
|
|
119
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
120
|
-
},
|
|
121
|
-
options: {
|
|
122
|
-
widget: "EmptyBox",
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
type: "Control",
|
|
127
|
-
scope: "#/properties/proc11",
|
|
128
|
-
config: {
|
|
129
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
130
|
-
},
|
|
131
|
-
options: {
|
|
132
|
-
widget: "EmptyBox",
|
|
133
|
-
},
|
|
134
|
-
},
|
|
65
|
+
// {
|
|
66
|
+
// type: "Control",
|
|
67
|
+
// scope: "#/properties/columnFormat",
|
|
68
|
+
// options: {
|
|
69
|
+
// widget: "SelectInputField",
|
|
70
|
+
// },
|
|
71
|
+
// config: {
|
|
72
|
+
// layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
73
|
+
// main: {
|
|
74
|
+
// label: "Column Format",
|
|
75
|
+
|
|
76
|
+
// },
|
|
77
|
+
// },
|
|
78
|
+
// },
|
|
135
79
|
{
|
|
136
80
|
type: "Control",
|
|
137
81
|
scope: "#/properties/proc",
|
|
@@ -173,7 +117,7 @@ export const CoreSection = {
|
|
|
173
117
|
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
174
118
|
main: {
|
|
175
119
|
label: "Screen Size",
|
|
176
|
-
|
|
120
|
+
|
|
177
121
|
},
|
|
178
122
|
},
|
|
179
123
|
},
|
|
@@ -188,11 +132,11 @@ export const CoreSection = {
|
|
|
188
132
|
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
189
133
|
main: {
|
|
190
134
|
label: "Value",
|
|
191
|
-
type:
|
|
135
|
+
type:"number",
|
|
192
136
|
// freeSolo:true,
|
|
193
|
-
helperText:
|
|
194
|
-
errorMessage:
|
|
195
|
-
|
|
137
|
+
helperText:'Number should be in range of 0 to 12',
|
|
138
|
+
errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
|
|
139
|
+
|
|
196
140
|
},
|
|
197
141
|
},
|
|
198
142
|
},
|
|
@@ -43,65 +43,36 @@ export const ComponentSchema: any = {
|
|
|
43
43
|
{ title: "Upload", const: "UploadFile" },
|
|
44
44
|
{ title: "Tree ", const: "TreeMap" },
|
|
45
45
|
{ title: "Column Group", const: "ColumnGroup" },
|
|
46
|
-
{ title: "Thought of the day", const: "Thought" }
|
|
47
|
-
]
|
|
46
|
+
{ title: "Thought of the day", const: "Thought" }
|
|
47
|
+
]
|
|
48
48
|
},
|
|
49
49
|
elementType: {
|
|
50
50
|
oneOf: [
|
|
51
51
|
{ title: "Table Action Element", const: "action" },
|
|
52
52
|
{ title: "Table Header Element", const: "tableHeader" },
|
|
53
53
|
{ title: "Table Element", const: "element" },
|
|
54
|
-
]
|
|
54
|
+
]
|
|
55
55
|
},
|
|
56
56
|
columnFormat: {
|
|
57
57
|
oneOf: [
|
|
58
58
|
{ title: "Date Column", const: "date" },
|
|
59
59
|
{ title: "DateTime Column", const: "dateTime" },
|
|
60
60
|
{ title: "Amount Column", const: "amount" },
|
|
61
|
-
{ title: "Center Column", const: "action" }
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
dateFormat: {
|
|
65
|
-
oneOf: [
|
|
66
|
-
{
|
|
67
|
-
title: "ISO DateTime (UTC) — YYYY-MM-DDTHH:mm:ss.SSSZ",
|
|
68
|
-
const: "YYYY-MM-DDTHH:mm:ss.SSSZ",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
title: "ISO DateTime — YYYY-MM-DDTHH:mm:ssZ",
|
|
72
|
-
const: "YYYY-MM-DDTHH:mm:ssZ",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
title: "ISO DateTime (No TZ) — YYYY-MM-DDTHH:mm:ss",
|
|
76
|
-
const: "YYYY-MM-DDTHH:mm:ss",
|
|
77
|
-
},
|
|
78
|
-
{ title: "ISO Date — YYYY-MM-DD", const: "YYYY-MM-DD" },
|
|
79
|
-
{ title: "Date (DD-MM-YYYY) — DD-MM-YYYY", const: "DD-MM-YYYY" },
|
|
80
|
-
{ title: "Date (MM/DD/YYYY) — MM/DD/YYYY", const: "MM/DD/YYYY" },
|
|
81
|
-
{
|
|
82
|
-
title: "DateTime (DB) — YYYY-MM-DD HH:mm:ss",
|
|
83
|
-
const: "YYYY-MM-DD HH:mm:ss",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
title: "DateTime (DB ms) — YYYY-MM-DD HH:mm:ss.SSS",
|
|
87
|
-
const: "YYYY-MM-DD HH:mm:ss.SSS",
|
|
88
|
-
},
|
|
89
|
-
{ title: "Epoch (Milliseconds)", const: "x" },
|
|
90
|
-
{ title: "Epoch (Seconds)", const: "X" },
|
|
91
|
-
],
|
|
61
|
+
{ title: "Center Column", const: "action" }
|
|
62
|
+
]
|
|
92
63
|
},
|
|
93
64
|
variant: {
|
|
94
65
|
oneOf: [
|
|
95
66
|
{ title: "Outlined", const: "outlined" },
|
|
96
67
|
{ title: "Filled", const: "filled" },
|
|
97
68
|
{ title: "Standard", const: "standard" },
|
|
98
|
-
]
|
|
69
|
+
]
|
|
99
70
|
},
|
|
100
71
|
orientation: {
|
|
101
72
|
oneOf: [
|
|
102
73
|
{ title: "Horizontal", const: "horizontal" },
|
|
103
74
|
{ title: "Vertical", const: "vertical" },
|
|
104
|
-
]
|
|
75
|
+
]
|
|
105
76
|
},
|
|
106
77
|
method: {
|
|
107
78
|
type: "string",
|
|
@@ -110,7 +81,7 @@ export const ComponentSchema: any = {
|
|
|
110
81
|
{ title: "Post", const: "post" },
|
|
111
82
|
{ title: "Delete", const: "delete" },
|
|
112
83
|
{ title: "Put", const: "put" },
|
|
113
|
-
]
|
|
84
|
+
]
|
|
114
85
|
},
|
|
115
86
|
maxPageSize: {
|
|
116
87
|
type: "number",
|
|
@@ -120,16 +91,16 @@ export const ComponentSchema: any = {
|
|
|
120
91
|
{ title: "30", const: 30 },
|
|
121
92
|
{ title: "50", const: 50 },
|
|
122
93
|
{ title: "100", const: 100 },
|
|
123
|
-
{ title: "500", const: 500 }
|
|
124
|
-
]
|
|
94
|
+
{ title: "500", const: 500 }
|
|
95
|
+
]
|
|
125
96
|
},
|
|
126
|
-
initialDensity:
|
|
97
|
+
initialDensity:{
|
|
127
98
|
type: "string",
|
|
128
|
-
|
|
99
|
+
oneOf: [
|
|
129
100
|
{ title: "Compact", const: "compact" },
|
|
130
101
|
{ title: "Comfortable", const: "comfortable" },
|
|
131
|
-
{ title: "Spacious", const: "spacious" }
|
|
132
|
-
]
|
|
102
|
+
{ title: "Spacious", const: "spacious" }
|
|
103
|
+
]
|
|
133
104
|
},
|
|
134
105
|
layout: {
|
|
135
106
|
type: "array",
|
|
@@ -145,7 +116,9 @@ export const ComponentSchema: any = {
|
|
|
145
116
|
{ title: "Large", const: "lg" },
|
|
146
117
|
],
|
|
147
118
|
},
|
|
148
|
-
value: {
|
|
119
|
+
value: {
|
|
120
|
+
|
|
121
|
+
},
|
|
149
122
|
},
|
|
150
123
|
},
|
|
151
124
|
},
|
|
@@ -163,7 +136,9 @@ export const ComponentSchema: any = {
|
|
|
163
136
|
{ title: "Large", const: "lg" },
|
|
164
137
|
],
|
|
165
138
|
},
|
|
166
|
-
value: {
|
|
139
|
+
value: {
|
|
140
|
+
|
|
141
|
+
},
|
|
167
142
|
},
|
|
168
143
|
},
|
|
169
144
|
},
|
|
@@ -220,6 +195,7 @@ export const ComponentSchema: any = {
|
|
|
220
195
|
label: {
|
|
221
196
|
type: "string",
|
|
222
197
|
},
|
|
198
|
+
|
|
223
199
|
},
|
|
224
200
|
},
|
|
225
201
|
},
|
|
@@ -231,6 +207,7 @@ export const ComponentSchema: any = {
|
|
|
231
207
|
KeyName: {
|
|
232
208
|
type: "string",
|
|
233
209
|
},
|
|
210
|
+
|
|
234
211
|
},
|
|
235
212
|
},
|
|
236
213
|
},
|
|
@@ -243,8 +220,8 @@ export const ComponentSchema: any = {
|
|
|
243
220
|
type: "string",
|
|
244
221
|
},
|
|
245
222
|
value: {
|
|
246
|
-
type: "string"
|
|
247
|
-
}
|
|
223
|
+
type: "string"
|
|
224
|
+
}
|
|
248
225
|
},
|
|
249
226
|
},
|
|
250
227
|
},
|
|
@@ -261,19 +238,19 @@ export const ComponentSchema: any = {
|
|
|
261
238
|
},
|
|
262
239
|
filteringOptions: {
|
|
263
240
|
oneOf: [
|
|
264
|
-
{ const:
|
|
265
|
-
{ const:
|
|
266
|
-
{ const:
|
|
267
|
-
{ const:
|
|
268
|
-
{ const:
|
|
269
|
-
{ const:
|
|
270
|
-
{ const:
|
|
271
|
-
{ const:
|
|
272
|
-
{ const:
|
|
273
|
-
{ const:
|
|
274
|
-
{ const:
|
|
275
|
-
{ const:
|
|
276
|
-
]
|
|
241
|
+
{ const: 'fuzzy', title: 'Fuzzy' },
|
|
242
|
+
{ const: 'contains', title: 'Contain' },
|
|
243
|
+
{ const: 'startsWith', title: 'Starts with' },
|
|
244
|
+
{ const: 'endsWith', title: 'Ends with' },
|
|
245
|
+
{ const: 'equals', title: 'Equals' },
|
|
246
|
+
{ const: 'notEquals', title: 'Not Equals' },
|
|
247
|
+
{ const: 'between', title: 'Between' },
|
|
248
|
+
{ const: 'betweenInclusive', title: 'Between inclusive' },
|
|
249
|
+
{ const: 'greaterThan', title: 'Greater than' },
|
|
250
|
+
{ const: 'greaterThanOrEqualTo', title: 'Greater than or equal to' },
|
|
251
|
+
{ const: 'lessThan', title: 'Less than' },
|
|
252
|
+
{ const: 'lessThanOrEqualTo', title: 'Less than or equal to' },
|
|
253
|
+
]
|
|
277
254
|
},
|
|
278
255
|
|
|
279
256
|
legendLabels: {
|
|
@@ -284,6 +261,7 @@ export const ComponentSchema: any = {
|
|
|
284
261
|
label: {
|
|
285
262
|
type: "string",
|
|
286
263
|
},
|
|
264
|
+
|
|
287
265
|
},
|
|
288
266
|
},
|
|
289
267
|
},
|
|
@@ -295,6 +273,7 @@ export const ComponentSchema: any = {
|
|
|
295
273
|
label: {
|
|
296
274
|
type: "string",
|
|
297
275
|
},
|
|
276
|
+
|
|
298
277
|
},
|
|
299
278
|
},
|
|
300
279
|
},
|
|
@@ -306,6 +285,7 @@ export const ComponentSchema: any = {
|
|
|
306
285
|
formatElement: {
|
|
307
286
|
type: "string",
|
|
308
287
|
},
|
|
288
|
+
|
|
309
289
|
},
|
|
310
290
|
},
|
|
311
291
|
},
|
|
@@ -316,6 +296,7 @@ export const ComponentSchema: any = {
|
|
|
316
296
|
properties: {
|
|
317
297
|
componentName: {
|
|
318
298
|
type: "string",
|
|
299
|
+
|
|
319
300
|
},
|
|
320
301
|
validationType: {
|
|
321
302
|
type: "string",
|
|
@@ -325,7 +306,7 @@ export const ComponentSchema: any = {
|
|
|
325
306
|
{ const: "maxLength", title: "Maximum Length" },
|
|
326
307
|
{ const: "pattern", title: "Pattern" },
|
|
327
308
|
{ const: "readOnly", title: "Read Only" },
|
|
328
|
-
]
|
|
309
|
+
]
|
|
329
310
|
},
|
|
330
311
|
validationValue: {
|
|
331
312
|
type: "string",
|
|
@@ -339,14 +320,14 @@ export const ComponentSchema: any = {
|
|
|
339
320
|
{ title: "Button", const: "Button" },
|
|
340
321
|
{ title: "IconButton", const: "IconButton" },
|
|
341
322
|
{ title: "HybridButton", const: "ButtonWithIconAndText" },
|
|
342
|
-
]
|
|
323
|
+
]
|
|
343
324
|
},
|
|
344
325
|
defaultStyle: {
|
|
345
326
|
type: "string",
|
|
346
327
|
oneOf: [
|
|
347
328
|
{ title: "Apply Default Style", const: "true" },
|
|
348
329
|
{ title: "No Style", const: "false" },
|
|
349
|
-
]
|
|
330
|
+
]
|
|
350
331
|
},
|
|
351
332
|
graphType: {
|
|
352
333
|
type: "string",
|
|
@@ -356,11 +337,8 @@ export const ComponentSchema: any = {
|
|
|
356
337
|
{ title: "Line Graph", const: "LineGraph" },
|
|
357
338
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
358
339
|
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
|
|
359
|
-
{
|
|
360
|
-
|
|
361
|
-
const: "HorizontalStackBarGraph",
|
|
362
|
-
},
|
|
363
|
-
],
|
|
340
|
+
{ title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
|
|
341
|
+
]
|
|
364
342
|
},
|
|
365
343
|
iconName: {
|
|
366
344
|
type: "string",
|
|
@@ -383,36 +361,36 @@ export const ComponentSchema: any = {
|
|
|
383
361
|
{ title: "Download Icon", const: "DownloadIcon" },
|
|
384
362
|
{ title: "Download All Icon", const: "DownloadAllIcon" },
|
|
385
363
|
{ title: "Exception Icon", const: "ExceptionIcon" },
|
|
386
|
-
{ title: "Alarm Icon", const: "AlarmIcon" },
|
|
387
|
-
{ title: "Click Icon", const: "ClickIcon" },
|
|
388
|
-
{ title: "Content Copy Icon", const: "ContentCopyIcon" },
|
|
389
|
-
{ title: "File Copy Icon", const: "FileCopyIcon" },
|
|
390
|
-
{ title: "Pause Icon", const: "PauseIcon" },
|
|
391
|
-
{ title: "Play Icon", const: "PlayIcon" },
|
|
392
|
-
{ title: "Close Icon", const: "CloseIcon" },
|
|
393
|
-
{ title: "Replay Icon", const: "ReplayIcon" },
|
|
394
|
-
{ title: "Delete Icon", const: "DeleteIcon" },
|
|
395
|
-
{ title: "Drafts Icon", const: "DraftsIcon" },
|
|
396
|
-
{ title: "Perm Phone Msg Icon", const: "PermPhoneMsgIcon" },
|
|
397
|
-
{ title: "Paste Icon", const: "PasteIcon" },
|
|
398
|
-
{ title: "Prev Icon", const: "PrevIcon" },
|
|
399
|
-
{ title: "Verified Icon", const: "VerifiedIcon" },
|
|
400
|
-
{ title: "Table Add Icon", const: "TableAddIcon" },
|
|
401
|
-
{ title: "Table Download Icon", const: "TableDownloadIcon" },
|
|
402
|
-
{ title: "Audit Trail Icon", const: "AuditTrailIcon" },
|
|
403
|
-
{ title: "View Component", const: "View" },
|
|
404
|
-
{ title: "Table Edit Icon", const: "TableEditIcon" },
|
|
405
|
-
{ title: "Maximize Icon", const: "Maximize" },
|
|
406
|
-
{ title: "Minimize Icon", const: "Minimize" },
|
|
407
|
-
{ title: "Subtract Icon", const: "Subtract" },
|
|
408
|
-
{ title: "Bin Icon", const: "Bin" },
|
|
409
|
-
{ title: "Export Icon", const: "Export" },
|
|
410
|
-
{ title: "Table Paste Icon", const: "TablePaste" },
|
|
411
|
-
{ title: "Clone Icon", const: "CloneIcon" },
|
|
412
|
-
{ title: "Detail Icon", const: "DetailIcon" },
|
|
413
|
-
{ title: "Report View Icon", const: "ReportViewIcon" },
|
|
414
|
-
{ title: "Payout", const: "Payout" },
|
|
415
|
-
]
|
|
364
|
+
{ "title": "Alarm Icon", "const": "AlarmIcon" },
|
|
365
|
+
{ "title": "Click Icon", "const": "ClickIcon" },
|
|
366
|
+
{ "title": "Content Copy Icon", "const": "ContentCopyIcon" },
|
|
367
|
+
{ "title": "File Copy Icon", "const": "FileCopyIcon" },
|
|
368
|
+
{ "title": "Pause Icon", "const": "PauseIcon" },
|
|
369
|
+
{ "title": "Play Icon", "const": "PlayIcon" },
|
|
370
|
+
{ "title": "Close Icon", "const": "CloseIcon" },
|
|
371
|
+
{ "title": "Replay Icon", "const": "ReplayIcon" },
|
|
372
|
+
{ "title": "Delete Icon", "const": "DeleteIcon" },
|
|
373
|
+
{ "title": "Drafts Icon", "const": "DraftsIcon" },
|
|
374
|
+
{ "title": "Perm Phone Msg Icon", "const": "PermPhoneMsgIcon" },
|
|
375
|
+
{ "title": "Paste Icon", "const": "PasteIcon" },
|
|
376
|
+
{ "title": "Prev Icon", "const": "PrevIcon" },
|
|
377
|
+
{ "title": "Verified Icon", "const": "VerifiedIcon" },
|
|
378
|
+
{ "title": "Table Add Icon", "const": "TableAddIcon" },
|
|
379
|
+
{ "title": "Table Download Icon", "const": "TableDownloadIcon" },
|
|
380
|
+
{ "title": "Audit Trail Icon", "const": "AuditTrailIcon" },
|
|
381
|
+
{ "title": "View Component", "const": "View" },
|
|
382
|
+
{ "title": "Table Edit Icon", "const": "TableEditIcon" },
|
|
383
|
+
{ "title": "Maximize Icon", "const": "Maximize" },
|
|
384
|
+
{ "title": "Minimize Icon", "const": "Minimize" },
|
|
385
|
+
{ "title": "Subtract Icon", "const": "Subtract" },
|
|
386
|
+
{ "title": "Bin Icon", "const": "Bin" },
|
|
387
|
+
{ "title": "Export Icon", "const": "Export" },
|
|
388
|
+
{ "title": "Table Paste Icon", "const": "TablePaste" },
|
|
389
|
+
{ "title": "Clone Icon", "const": "CloneIcon" },
|
|
390
|
+
{ "title": "Detail Icon", "const": "DetailIcon" },
|
|
391
|
+
{ "title": "Report View Icon", "const": "ReportViewIcon" },
|
|
392
|
+
{ "title": "Payout", "const": "Payout" },
|
|
393
|
+
]
|
|
416
394
|
},
|
|
417
395
|
color: {
|
|
418
396
|
type: "string",
|
|
@@ -422,19 +400,19 @@ export const ComponentSchema: any = {
|
|
|
422
400
|
{ title: "Error", const: "error" },
|
|
423
401
|
{ title: "Success", const: "success" },
|
|
424
402
|
{ title: "Info", const: "info" },
|
|
425
|
-
]
|
|
403
|
+
]
|
|
426
404
|
},
|
|
427
405
|
pageName: {
|
|
428
|
-
path: []
|
|
406
|
+
path: []
|
|
429
407
|
},
|
|
430
408
|
name: {
|
|
431
409
|
type: "string",
|
|
432
410
|
},
|
|
433
|
-
label: { type:
|
|
411
|
+
label: { type: 'string' },
|
|
434
412
|
RemoveItemButton: {
|
|
435
413
|
disabled: true,
|
|
436
414
|
},
|
|
437
415
|
},
|
|
438
416
|
|
|
439
|
-
required: ["name"]
|
|
417
|
+
required: ["name",]
|
|
440
418
|
};
|