impaktapps-ui-builder 1.0.4 → 1.0.6
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 +2268 -1162
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +15 -15
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildAreaGraph.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildArray.d.ts +1 -11
- package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildImage.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildMetricCard.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +10 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +6 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -171
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +82 -72
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +18 -50
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +50 -4
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.d.ts +13 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/metricCard.d.ts +17 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +0 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
- 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 +15 -66
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +48 -38
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +0 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +4 -1
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/downloadFile.d.ts +5 -2
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +10 -4
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +66 -0
- package/src/impaktapps-ui-builder/builder/build/buildArray.ts +35 -15
- package/src/impaktapps-ui-builder/builder/build/buildButton.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
- package/src/impaktapps-ui-builder/builder/build/buildCheckbox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +34 -16
- package/src/impaktapps-ui-builder/builder/build/buildDataGrid.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +35 -13
- package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +7 -0
- package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -28
- package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +10 -4
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.ts +15 -0
- package/src/impaktapps-ui-builder/builder/build/buildImage.ts +38 -0
- package/src/impaktapps-ui-builder/builder/build/buildLabel.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +4 -1
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -4
- package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +37 -0
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +12 -0
- package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
- package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +7 -4
- package/src/impaktapps-ui-builder/builder/build/buildPop.ts +3 -2
- package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
- package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +11 -3
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +12 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +10 -4
- package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +5 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +21 -11
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +12 -0
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +2 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +140 -130
- package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +8 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +0 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/array.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +5 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +396 -142
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -169
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +127 -133
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +30 -54
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +37 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.ts +11 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +13 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +4 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +0 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +3 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +34 -60
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +58 -113
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +0 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +4 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +228 -59
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +121 -119
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +94 -106
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +11 -5
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +31 -55
- package/src/impaktapps-ui-builder/builder/services/component.ts +173 -86
- package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -15
- package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
- package/src/impaktapps-ui-builder/lib/index.ts +10 -9
- package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +33 -18
- package/src/impaktapps-ui-builder/runtime/services/events.ts +9 -11
- package/src/impaktapps-ui-builder/runtime/services/service.ts +121 -162
|
@@ -74,95 +74,71 @@ export const EventSection = (theme)=>{
|
|
|
74
74
|
enableDrag: true,
|
|
75
75
|
|
|
76
76
|
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
{
|
|
81
|
-
accessorKey: "eventType",
|
|
82
|
-
header: "Event's Type",
|
|
83
|
-
type: "string",
|
|
84
|
-
size: 300,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
accessorKey: "Handler",
|
|
88
|
-
header: "Handler",
|
|
89
|
-
type: "string",
|
|
90
|
-
size: 200,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
accessorKey: "Edit_Approve_Records",
|
|
94
|
-
header: "Edit",
|
|
95
|
-
size: 150,
|
|
96
|
-
type: "action",
|
|
97
|
-
widget: {
|
|
77
|
+
action: [
|
|
78
|
+
{
|
|
98
79
|
type: "Control",
|
|
99
80
|
scope: "#/properties/Edit_Records",
|
|
100
81
|
options: {
|
|
101
|
-
widget: "
|
|
82
|
+
widget: "Button",
|
|
102
83
|
},
|
|
103
84
|
config: {
|
|
104
85
|
main: {
|
|
105
86
|
size: "small",
|
|
106
|
-
|
|
87
|
+
startIcon: "EditIcon",
|
|
107
88
|
tooltipMessage: "Edit This Record",
|
|
108
89
|
onClick: "eventEditHandler",
|
|
109
|
-
|
|
110
|
-
style: {
|
|
111
|
-
fill: theme.palette.primary.main,
|
|
112
|
-
"& :hover": {
|
|
113
|
-
fill: theme.palette.primary.dark,
|
|
114
|
-
},
|
|
90
|
+
name: "Edit"
|
|
115
91
|
},
|
|
116
92
|
},
|
|
117
93
|
},
|
|
118
|
-
|
|
119
|
-
{
|
|
120
|
-
accessorKey: "Reject_Records",
|
|
121
|
-
header: "Delete",
|
|
122
|
-
size: 150,
|
|
123
|
-
type: "action",
|
|
124
|
-
widget: {
|
|
94
|
+
{
|
|
125
95
|
type: "Control",
|
|
126
96
|
scope: "#/properties/RejectButton",
|
|
127
97
|
accessorKeyName: "Reject_Records",
|
|
128
98
|
options: {
|
|
129
|
-
widget: "
|
|
99
|
+
widget: "Button",
|
|
130
100
|
},
|
|
131
101
|
config: {
|
|
132
102
|
main: {
|
|
133
|
-
|
|
103
|
+
startIcon: "Bin",
|
|
134
104
|
tooltipMessage: "Reject This Record",
|
|
135
105
|
onClick: "deletePopUpEvent",
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
fill: theme.palette.primary.main,
|
|
139
|
-
"& :hover": {
|
|
140
|
-
fill: theme.palette.primary.dark,
|
|
141
|
-
},
|
|
106
|
+
name: "Delete",
|
|
107
|
+
size: "small"
|
|
142
108
|
},
|
|
143
109
|
},
|
|
144
110
|
},
|
|
145
|
-
|
|
146
|
-
{
|
|
147
|
-
header: "Copy",
|
|
148
|
-
field: "Copy_Event",
|
|
149
|
-
size: 150,
|
|
150
|
-
type: "action",
|
|
151
|
-
widget: {
|
|
111
|
+
{
|
|
152
112
|
type: "Control",
|
|
153
113
|
scope: "#/properties/Copy_Event",
|
|
154
114
|
options: {
|
|
155
|
-
widget: "
|
|
115
|
+
widget: "Button",
|
|
156
116
|
},
|
|
157
117
|
config: {
|
|
158
118
|
main: {
|
|
159
|
-
|
|
119
|
+
startIcon: "FileCopyIcon",
|
|
160
120
|
onClick: "copyPasteElement",
|
|
161
121
|
tooltipMessage: "Reject This Record",
|
|
162
|
-
styleDefault:
|
|
122
|
+
styleDefault: false,
|
|
123
|
+
name: "Copy"
|
|
163
124
|
},
|
|
164
125
|
},
|
|
165
126
|
},
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
elements: [
|
|
130
|
+
|
|
131
|
+
{
|
|
132
|
+
accessorKey: "eventType",
|
|
133
|
+
header: "Event's Type",
|
|
134
|
+
type: "string",
|
|
135
|
+
size: 300,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
accessorKey: "Handler",
|
|
139
|
+
header: "Handler",
|
|
140
|
+
type: "string",
|
|
141
|
+
size: 200,
|
|
166
142
|
},
|
|
167
143
|
]
|
|
168
144
|
}]}
|
|
@@ -13,7 +13,7 @@ export const uploadFile = {
|
|
|
13
13
|
"style": {
|
|
14
14
|
"backgroundColor": "none"
|
|
15
15
|
},
|
|
16
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
16
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 }
|
|
17
17
|
},
|
|
18
18
|
"options": {
|
|
19
19
|
"widget": "UploadFile"
|
|
@@ -30,9 +30,9 @@ export const downloadFile = {
|
|
|
30
30
|
"style": {
|
|
31
31
|
"backgroundColor": "none"
|
|
32
32
|
},
|
|
33
|
-
layout: { xs:
|
|
33
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 }
|
|
34
34
|
},
|
|
35
35
|
"options": {
|
|
36
36
|
"widget": "DownloadFile"
|
|
37
37
|
}
|
|
38
|
-
};
|
|
38
|
+
};
|
|
@@ -11,7 +11,7 @@ export const BarGraph = {
|
|
|
11
11
|
type: "BarGraph",
|
|
12
12
|
legendLabels: null
|
|
13
13
|
},
|
|
14
|
-
style: { containerStyle: {},labelStyle:{margin:{}}
|
|
14
|
+
style: { containerStyle: {},labelStyle:{margin:{}}}
|
|
15
15
|
},
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -27,7 +27,7 @@ export const PieGraph = {
|
|
|
27
27
|
type: "PieGraph",
|
|
28
28
|
legendLabels: null
|
|
29
29
|
},
|
|
30
|
-
style:{ containerStyle: {},labelStyle:{margin:{}}
|
|
30
|
+
style:{ containerStyle: {},labelStyle:{margin:{}}}
|
|
31
31
|
},
|
|
32
32
|
};
|
|
33
33
|
export const LineGraph = {
|
|
@@ -42,7 +42,7 @@ export const LineGraph = {
|
|
|
42
42
|
type: "LineGraph",
|
|
43
43
|
legendLabels: null
|
|
44
44
|
},
|
|
45
|
-
style: { containerStyle: {},labelStyle:{margin:{}}
|
|
45
|
+
style: { containerStyle: {},labelStyle:{margin:{}}},
|
|
46
46
|
},
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -58,6 +58,39 @@ export const HorizontalBarGraph = {
|
|
|
58
58
|
type: "HorizontalBarGraph",
|
|
59
59
|
legendLabels: null
|
|
60
60
|
},
|
|
61
|
-
style:{ containerStyle: {},labelStyle:{margin:{}}
|
|
61
|
+
style:{ containerStyle: {},labelStyle:{margin:{}} }
|
|
62
62
|
},
|
|
63
63
|
};
|
|
64
|
+
|
|
65
|
+
export const AreaBarGraph = {
|
|
66
|
+
type: "Control",
|
|
67
|
+
scope: "#/properties/graph",
|
|
68
|
+
options: {
|
|
69
|
+
widget: "Graph",
|
|
70
|
+
},
|
|
71
|
+
config: {
|
|
72
|
+
layout: {xs :12,sm:12,md:12,lg:12},
|
|
73
|
+
main: {
|
|
74
|
+
type: "AreaGraph",
|
|
75
|
+
legendLabels: null
|
|
76
|
+
},
|
|
77
|
+
style:{ containerStyle: {},labelStyle:{margin:{}} }
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export const StackBarLineG = {
|
|
82
|
+
type: "Control",
|
|
83
|
+
scope: "#/properties/graph",
|
|
84
|
+
options: {
|
|
85
|
+
widget: "Graph",
|
|
86
|
+
},
|
|
87
|
+
config: {
|
|
88
|
+
layout: {xs :12,sm:12,md:12,lg:12},
|
|
89
|
+
main: {
|
|
90
|
+
type: "StackBarLineGraph",
|
|
91
|
+
legendLabels: null
|
|
92
|
+
},
|
|
93
|
+
style:{ containerStyle: {},labelStyle:{margin:{}} }
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
|
|
@@ -6,13 +6,15 @@ export default {
|
|
|
6
6
|
widget: "MultipleSelect",
|
|
7
7
|
},
|
|
8
8
|
config: {
|
|
9
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
9
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
10
10
|
main: {
|
|
11
11
|
label: "",
|
|
12
12
|
type: "text",
|
|
13
13
|
multiple: true,
|
|
14
|
-
variant: "
|
|
14
|
+
variant: "outlined",
|
|
15
15
|
options: [],
|
|
16
16
|
},
|
|
17
|
+
style: {
|
|
18
|
+
}
|
|
17
19
|
},
|
|
18
20
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export const TableSection = (theme) => {
|
|
1
|
+
export const TableSection = (theme,scopeName="elements") => {
|
|
2
2
|
const uiSchema = {
|
|
3
3
|
type: "HorizontalLayout",
|
|
4
4
|
elements: [
|
|
5
5
|
{
|
|
6
6
|
type: "Control",
|
|
7
|
-
scope:
|
|
7
|
+
scope: `#/properties/${scopeName}`,
|
|
8
8
|
options: {
|
|
9
9
|
widget: "Table",
|
|
10
10
|
},
|
|
@@ -15,8 +15,7 @@ export const TableSection = (theme) => {
|
|
|
15
15
|
{
|
|
16
16
|
widget: {
|
|
17
17
|
type: "Control",
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
scope: `#/properties/${scopeName}_New_Record`,
|
|
20
19
|
options: {
|
|
21
20
|
widget: "IconButton",
|
|
22
21
|
},
|
|
@@ -43,7 +42,7 @@ export const TableSection = (theme) => {
|
|
|
43
42
|
{
|
|
44
43
|
widget: {
|
|
45
44
|
type: "Control",
|
|
46
|
-
|
|
45
|
+
scope: scopeName === "elements" ? `#/properties/Paste_Component` : `#/properties/Paste_TabsComponent`,
|
|
47
46
|
options: {
|
|
48
47
|
widget: "IconButton",
|
|
49
48
|
},
|
|
@@ -74,93 +73,68 @@ export const TableSection = (theme) => {
|
|
|
74
73
|
enableDrag: true,
|
|
75
74
|
|
|
76
75
|
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
{
|
|
80
|
-
accessorKey: "name",
|
|
81
|
-
header: "Name",
|
|
82
|
-
type: "string",
|
|
83
|
-
size: 300,
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
accessorKey: "type",
|
|
87
|
-
header: "Type",
|
|
88
|
-
type: "string",
|
|
89
|
-
size: 200,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
header: "Edit Record",
|
|
93
|
-
field: "Reject_Records",
|
|
94
|
-
size: 150,
|
|
95
|
-
type: "action",
|
|
96
|
-
widget: {
|
|
76
|
+
action: [
|
|
77
|
+
{
|
|
97
78
|
type: "Control",
|
|
98
79
|
scope: "#/properties/RejectButton",
|
|
99
80
|
options: {
|
|
100
|
-
widget: "
|
|
81
|
+
widget: "Button",
|
|
101
82
|
},
|
|
102
83
|
config: {
|
|
103
84
|
main: {
|
|
104
|
-
|
|
85
|
+
startIcon: "EditIcon",
|
|
105
86
|
size: "small",
|
|
106
87
|
onClick: "editComponents",
|
|
107
88
|
tooltipMessage: "Reject This Record",
|
|
108
|
-
|
|
109
|
-
style: {
|
|
110
|
-
fill: theme.palette.primary.main,
|
|
111
|
-
"& :hover": {
|
|
112
|
-
fill: theme.palette.primary.dark,
|
|
113
|
-
},
|
|
89
|
+
name: "Edit"
|
|
114
90
|
},
|
|
115
91
|
},
|
|
116
92
|
},
|
|
117
|
-
|
|
118
|
-
{
|
|
119
|
-
header: "Delete",
|
|
120
|
-
field: "Reject_Records",
|
|
121
|
-
size: 150,
|
|
122
|
-
type: "action",
|
|
123
|
-
widget: {
|
|
93
|
+
{
|
|
124
94
|
type: "Control",
|
|
125
95
|
scope: "#/properties/RejectButton",
|
|
126
96
|
options: {
|
|
127
|
-
widget: "
|
|
97
|
+
widget: "Button",
|
|
128
98
|
},
|
|
129
99
|
config: {
|
|
130
100
|
main: {
|
|
131
|
-
|
|
101
|
+
startIcon: "Bin",
|
|
132
102
|
onClick: "deletePopUpComponent",
|
|
133
103
|
tooltipMessage: "Reject This Record",
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
fill: theme.palette.primary.main,
|
|
137
|
-
"& :hover": {
|
|
138
|
-
fill: theme.palette.primary.dark,
|
|
139
|
-
},
|
|
104
|
+
name: "Delete",
|
|
105
|
+
size: "small"
|
|
140
106
|
},
|
|
141
107
|
},
|
|
142
108
|
},
|
|
143
|
-
|
|
144
|
-
{
|
|
145
|
-
header: "Copy",
|
|
146
|
-
field: "Copy_Component",
|
|
147
|
-
size: 150,
|
|
148
|
-
type: "action",
|
|
149
|
-
widget: {
|
|
109
|
+
{
|
|
150
110
|
type: "Control",
|
|
151
|
-
scope: "
|
|
111
|
+
scope: scopeName === "elements" ? `#/properties/Copy_Component` : `#/properties/Copy_TabsComponent`,
|
|
152
112
|
options: {
|
|
153
|
-
widget: "
|
|
113
|
+
widget: "Button",
|
|
154
114
|
},
|
|
155
115
|
config: {
|
|
156
116
|
main: {
|
|
157
|
-
|
|
117
|
+
startIcon: "FileCopyIcon",
|
|
158
118
|
onClick: "copyPasteElement",
|
|
159
|
-
styleDefault:
|
|
160
|
-
|
|
119
|
+
styleDefault: false,
|
|
120
|
+
name: "Copy"
|
|
161
121
|
},
|
|
162
122
|
},
|
|
163
123
|
},
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
elements: [
|
|
127
|
+
{
|
|
128
|
+
accessorKey: "name",
|
|
129
|
+
header: "Name",
|
|
130
|
+
type: "string",
|
|
131
|
+
size: 300,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
accessorKey: "type",
|
|
135
|
+
header: "Type",
|
|
136
|
+
type: "string",
|
|
137
|
+
size: 200,
|
|
164
138
|
},
|
|
165
139
|
]
|
|
166
140
|
}]
|
|
@@ -7,122 +7,67 @@ export const ValidationSection = {
|
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
elements: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{
|
|
20
|
-
type: "Control",
|
|
21
|
-
scope: "#/properties/validationType",
|
|
22
|
-
|
|
23
|
-
options: {
|
|
24
|
-
widget: "SelectInputField",
|
|
25
|
-
},
|
|
26
|
-
config: {
|
|
27
|
-
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
28
|
-
main: {
|
|
29
|
-
label: "Validation Type",
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
type: "Control",
|
|
35
|
-
scope: "#/properties/validationValue",
|
|
36
|
-
|
|
37
|
-
options: {
|
|
38
|
-
widget: "InputField",
|
|
39
|
-
},
|
|
40
|
-
config: {
|
|
41
|
-
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
42
|
-
main: {
|
|
43
|
-
label: "Validation Value",
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
type: "Control",
|
|
49
|
-
scope: "#/properties/emptyBox",
|
|
50
|
-
options: {
|
|
51
|
-
widget: "EmptyBox"
|
|
52
|
-
},
|
|
53
|
-
config: {
|
|
54
|
-
layout: {xs: 0, sm: 0, md: 4}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
},
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
type: "Control",
|
|
13
|
+
scope: "#/properties/validation",
|
|
14
|
+
config: {
|
|
15
|
+
layout: 12,
|
|
16
|
+
main: {
|
|
17
|
+
label: "Validation",
|
|
18
|
+
childElementLabel: "Validation",
|
|
59
19
|
},
|
|
60
|
-
|
|
20
|
+
style: {
|
|
21
|
+
marginLeft: "-24px",
|
|
22
|
+
marginBottom: "24px !important",
|
|
23
|
+
labelStyle: {
|
|
24
|
+
marginLeft: "24px",
|
|
25
|
+
},
|
|
26
|
+
detailsStyle: {
|
|
27
|
+
marginLeft: "24px",
|
|
28
|
+
}
|
|
29
|
+
}
|
|
61
30
|
},
|
|
31
|
+
elements: [
|
|
32
|
+
{
|
|
33
|
+
type: "Control",
|
|
34
|
+
scope: "#/properties/validationType",
|
|
35
|
+
options: {
|
|
36
|
+
widget: "SelectInputField",
|
|
37
|
+
},
|
|
38
|
+
config: {
|
|
39
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
40
|
+
main: {
|
|
41
|
+
label: "Validation Type",
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
type: "Control",
|
|
47
|
+
scope: "#/properties/validationValue",
|
|
62
48
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
// },
|
|
86
|
-
// elements: [
|
|
87
|
-
// {
|
|
88
|
-
// type: "Control",
|
|
89
|
-
// scope: "#/properties/validationType",
|
|
90
|
-
// options: {
|
|
91
|
-
// widget: "SelectInputField",
|
|
92
|
-
// },
|
|
93
|
-
// config: {
|
|
94
|
-
// layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
95
|
-
// main: {
|
|
96
|
-
// label: "Validation Type",
|
|
97
|
-
// },
|
|
98
|
-
// },
|
|
99
|
-
// },
|
|
100
|
-
// {
|
|
101
|
-
// type: "Control",
|
|
102
|
-
// scope: "#/properties/validationValue",
|
|
103
|
-
|
|
104
|
-
// options: {
|
|
105
|
-
// widget: "InputField",
|
|
106
|
-
// },
|
|
107
|
-
// config: {
|
|
108
|
-
// layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
109
|
-
// main: {
|
|
110
|
-
// label: "Validation Value",
|
|
111
|
-
// },
|
|
112
|
-
// },
|
|
113
|
-
// },
|
|
114
|
-
// {
|
|
115
|
-
// type: "Control",
|
|
116
|
-
// scope: "#/properties/emptyBox",
|
|
117
|
-
// options: {
|
|
118
|
-
// widget: "EmptyBox"
|
|
119
|
-
// },
|
|
120
|
-
// config: {
|
|
121
|
-
// layout: {xs: 0, sm: 0, md: 4, lg: 4}
|
|
122
|
-
// }
|
|
123
|
-
// }
|
|
124
|
-
// ],
|
|
125
|
-
// },
|
|
49
|
+
options: {
|
|
50
|
+
widget: "InputField",
|
|
51
|
+
},
|
|
52
|
+
config: {
|
|
53
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
54
|
+
main: {
|
|
55
|
+
label: "Validation Value",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
type: "Control",
|
|
61
|
+
scope: "#/properties/emptyBox",
|
|
62
|
+
options: {
|
|
63
|
+
widget: "EmptyBox"
|
|
64
|
+
},
|
|
65
|
+
config: {
|
|
66
|
+
layout: {xs: 0, sm: 0, md: 4, lg: 4}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
},
|
|
126
71
|
|
|
127
72
|
]
|
|
128
73
|
};
|