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
|
@@ -92,7 +92,57 @@ export const componentBasicUiSchema: any = (theme) => {
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
type: "Control",
|
|
95
|
-
scope: "#/properties/
|
|
95
|
+
scope: "#/properties/proc5",
|
|
96
|
+
config: {
|
|
97
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
98
|
+
},
|
|
99
|
+
options: {
|
|
100
|
+
widget: "EmptyBox",
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
type: "Control",
|
|
105
|
+
scope: "#/properties/proc6",
|
|
106
|
+
config: {
|
|
107
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
108
|
+
},
|
|
109
|
+
options: {
|
|
110
|
+
widget: "EmptyBox",
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: "Control",
|
|
115
|
+
scope: "#/properties/proc7",
|
|
116
|
+
config: {
|
|
117
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
118
|
+
},
|
|
119
|
+
options: {
|
|
120
|
+
widget: "EmptyBox",
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
type: "Control",
|
|
125
|
+
scope: "#/properties/proc8",
|
|
126
|
+
config: {
|
|
127
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
128
|
+
},
|
|
129
|
+
options: {
|
|
130
|
+
widget: "EmptyBox",
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: "Control",
|
|
135
|
+
scope: "#/properties/proc9",
|
|
136
|
+
config: {
|
|
137
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
138
|
+
},
|
|
139
|
+
options: {
|
|
140
|
+
widget: "EmptyBox",
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
type: "Control",
|
|
145
|
+
scope: "#/properties/proc10",
|
|
96
146
|
config: {
|
|
97
147
|
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
98
148
|
},
|
|
@@ -100,129 +150,81 @@ export const componentBasicUiSchema: any = (theme) => {
|
|
|
100
150
|
widget: "EmptyBox",
|
|
101
151
|
},
|
|
102
152
|
},
|
|
103
|
-
// {
|
|
104
|
-
// type: "Control",
|
|
105
|
-
// scope: "#/properties/layout",
|
|
106
|
-
// options: {
|
|
107
|
-
// widget: "Array",
|
|
108
|
-
// },
|
|
109
|
-
// config: {
|
|
110
|
-
// layout: 12,
|
|
111
|
-
// main: {
|
|
112
|
-
// label: "Layout",
|
|
113
|
-
// childElementLabel: "Layout",
|
|
114
|
-
// },
|
|
115
|
-
// style: {
|
|
116
|
-
// marginLeft: "-24px",
|
|
117
|
-
// marginBottom: "24px !important",
|
|
118
|
-
// labelStyle: {
|
|
119
|
-
// marginLeft: "24px",
|
|
120
|
-
// },
|
|
121
|
-
// detailsStyle: {
|
|
122
|
-
// marginLeft: "24px",
|
|
123
|
-
// }
|
|
124
|
-
// }
|
|
125
|
-
// },
|
|
126
|
-
// elements: [
|
|
127
|
-
// {
|
|
128
|
-
// type: "Control",
|
|
129
|
-
// scope: "#/properties/key",
|
|
130
|
-
// options: {
|
|
131
|
-
// widget: "SelectInputField",
|
|
132
|
-
// },
|
|
133
|
-
// config: {
|
|
134
|
-
// layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
135
|
-
// main: {
|
|
136
|
-
// label: "Screen Size",
|
|
137
|
-
|
|
138
|
-
// },
|
|
139
|
-
// },
|
|
140
|
-
// },
|
|
141
|
-
// {
|
|
142
|
-
// type: "Control",
|
|
143
|
-
// scope: "#/properties/value",
|
|
144
|
-
|
|
145
|
-
// options: {
|
|
146
|
-
// widget: "InputField",
|
|
147
|
-
// },
|
|
148
|
-
// config: {
|
|
149
|
-
// layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
150
|
-
// main: {
|
|
151
|
-
// label: "Value",
|
|
152
|
-
// type:"number",
|
|
153
|
-
// helperText:'Number should be in range of 0 to 12',
|
|
154
|
-
// errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
|
|
155
|
-
|
|
156
|
-
// },
|
|
157
|
-
// },
|
|
158
|
-
// },
|
|
159
|
-
// {
|
|
160
|
-
// type: "Control",
|
|
161
|
-
// scope: "#/properties/proc",
|
|
162
|
-
// config: {
|
|
163
|
-
// layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
164
|
-
// },
|
|
165
|
-
// options: {
|
|
166
|
-
// widget: "EmptyBox",
|
|
167
|
-
// },
|
|
168
|
-
// },
|
|
169
|
-
// ],
|
|
170
|
-
// },
|
|
171
153
|
{
|
|
172
|
-
|
|
173
|
-
|
|
154
|
+
type: "Control",
|
|
155
|
+
scope: "#/properties/proc11",
|
|
156
|
+
config: {
|
|
157
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
158
|
+
},
|
|
159
|
+
options: {
|
|
160
|
+
widget: "EmptyBox",
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: "Control",
|
|
165
|
+
scope: "#/properties/layout",
|
|
166
|
+
config: {
|
|
174
167
|
layout: 12,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
168
|
+
main: {
|
|
169
|
+
label: "Layout",
|
|
170
|
+
childElementLabel: "Layout",
|
|
171
|
+
},
|
|
172
|
+
style: {
|
|
173
|
+
marginLeft: "-24px",
|
|
174
|
+
marginBottom: "24px !important",
|
|
175
|
+
labelStyle: {
|
|
176
|
+
marginLeft: "24px",
|
|
177
|
+
},
|
|
178
|
+
detailsStyle: {
|
|
179
|
+
marginLeft: "24px",
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
elements: [
|
|
184
|
+
{
|
|
185
|
+
type: "Control",
|
|
186
|
+
scope: "#/properties/key",
|
|
187
|
+
options: {
|
|
188
|
+
widget: "SelectInputField",
|
|
189
|
+
},
|
|
190
|
+
config: {
|
|
191
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
192
|
+
main: {
|
|
193
|
+
label: "Screen Size",
|
|
194
|
+
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
type: "Control",
|
|
200
|
+
scope: "#/properties/value",
|
|
208
201
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
},
|
|
222
|
-
],
|
|
202
|
+
options: {
|
|
203
|
+
widget: "InputField",
|
|
204
|
+
},
|
|
205
|
+
config: {
|
|
206
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
207
|
+
main: {
|
|
208
|
+
label: "Value",
|
|
209
|
+
type:"number",
|
|
210
|
+
helperText:'Number should be in range of 0 to 12',
|
|
211
|
+
errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
|
|
212
|
+
|
|
213
|
+
},
|
|
223
214
|
},
|
|
224
215
|
},
|
|
225
|
-
|
|
216
|
+
{
|
|
217
|
+
type: "Control",
|
|
218
|
+
scope: "#/properties/proc",
|
|
219
|
+
config: {
|
|
220
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
221
|
+
},
|
|
222
|
+
options: {
|
|
223
|
+
widget: "EmptyBox",
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
}
|
|
226
228
|
],
|
|
227
229
|
},
|
|
228
230
|
],
|
|
@@ -49,12 +49,44 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
49
49
|
required: true,
|
|
50
50
|
},
|
|
51
51
|
},
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
type: "Control",
|
|
55
|
+
scope: "#/properties/pageIconUrl",
|
|
56
|
+
|
|
57
|
+
options: {
|
|
58
|
+
widget: "InputField",
|
|
59
|
+
},
|
|
60
|
+
config: {
|
|
61
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
62
|
+
main: {
|
|
63
|
+
label: "Page Icon URL",
|
|
64
|
+
options: [],
|
|
65
|
+
color: "secondary",
|
|
66
|
+
required: true,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
type: "Control",
|
|
72
|
+
scope: "#/properties/hasBackIcon",
|
|
73
|
+
|
|
74
|
+
options: {
|
|
75
|
+
widget: "RadioInputField",
|
|
76
|
+
},
|
|
77
|
+
config: {
|
|
78
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
79
|
+
main: {
|
|
80
|
+
label: "Back Icon",
|
|
81
|
+
options: [{label: "Yes",const: "YES"}, {label: "No",const: "NO"}],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
52
84
|
},
|
|
53
85
|
{
|
|
54
86
|
type: "Control",
|
|
55
87
|
scope: "#/properties/EmptyBox",
|
|
56
88
|
config: {
|
|
57
|
-
layout: { xs: 0, sm:
|
|
89
|
+
layout: { xs: 0, sm: 6, md: 0, lg: 3 },
|
|
58
90
|
},
|
|
59
91
|
options: {
|
|
60
92
|
widget: "EmptyBox",
|
|
@@ -159,91 +191,70 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
159
191
|
disableAction: true,
|
|
160
192
|
disableSelection: true,
|
|
161
193
|
enableDrag: true,
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
elements: [
|
|
165
|
-
{
|
|
166
|
-
accessorKey: "name",
|
|
167
|
-
header: "Name",
|
|
168
|
-
size: 300,
|
|
169
|
-
type: "string"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
accessorKey: "type",
|
|
173
|
-
header: "Type",
|
|
174
|
-
size: 300,
|
|
175
|
-
type: "string"
|
|
176
194
|
},
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
field: "Reject_Records",
|
|
180
|
-
size: 150,
|
|
181
|
-
type: "action",
|
|
182
|
-
widget: {
|
|
195
|
+
action: [
|
|
196
|
+
{
|
|
183
197
|
type: "Control",
|
|
184
198
|
scope: "#/properties/RejectButton",
|
|
185
199
|
options: {
|
|
186
|
-
widget: "
|
|
200
|
+
widget: "Button",
|
|
187
201
|
},
|
|
188
202
|
config: {
|
|
189
203
|
main: {
|
|
190
|
-
|
|
204
|
+
size: "small",
|
|
205
|
+
startIcon: "EditIcon",
|
|
191
206
|
onClick: "Edit_Components",
|
|
192
207
|
tooltipMessage: "Edit This Record",
|
|
193
|
-
|
|
194
|
-
style: {
|
|
195
|
-
fill: theme.palette.primary.main,
|
|
196
|
-
"& :hover": {
|
|
197
|
-
fill: theme.palette.primary.dark,
|
|
198
|
-
},
|
|
208
|
+
name: "Edit"
|
|
199
209
|
},
|
|
200
210
|
},
|
|
201
211
|
},
|
|
202
|
-
|
|
203
|
-
{
|
|
204
|
-
header: "Delete",
|
|
205
|
-
field: "Reject_Records",
|
|
206
|
-
size: 150,
|
|
207
|
-
type: "action",
|
|
208
|
-
widget: {
|
|
212
|
+
{
|
|
209
213
|
type: "Control",
|
|
210
214
|
scope: "#/properties/RejectButton",
|
|
211
215
|
options: {
|
|
212
|
-
widget: "
|
|
216
|
+
widget: "Button",
|
|
213
217
|
},
|
|
214
218
|
config: {
|
|
215
219
|
main: {
|
|
216
|
-
|
|
220
|
+
size: "small",
|
|
221
|
+
startIcon: "Bin",
|
|
217
222
|
onClick: "deletePopUpComponent",
|
|
218
223
|
tooltipMessage: "Reject This Record",
|
|
219
|
-
|
|
220
|
-
style: {
|
|
221
|
-
fill: theme.palette.primary.main,
|
|
222
|
-
"& :hover": {
|
|
223
|
-
fill: theme.palette.primary.dark,
|
|
224
|
-
},
|
|
224
|
+
name: "Delete"
|
|
225
225
|
},
|
|
226
226
|
},
|
|
227
227
|
},
|
|
228
|
-
|
|
229
|
-
{
|
|
230
|
-
header: "Copy",
|
|
231
|
-
field: "Copy_Component",
|
|
232
|
-
flex: 1,
|
|
233
|
-
widget: {
|
|
228
|
+
{
|
|
234
229
|
type: "Control",
|
|
235
230
|
scope: "#/properties/Copy_Component",
|
|
236
231
|
options: {
|
|
237
|
-
widget: "
|
|
232
|
+
widget: "Button",
|
|
238
233
|
},
|
|
239
234
|
config: {
|
|
240
235
|
main: {
|
|
241
|
-
|
|
236
|
+
size: "small",
|
|
237
|
+
startIcon: "FileCopyIcon",
|
|
242
238
|
onClick: "copyPasteElement",
|
|
243
|
-
styleDefault:
|
|
239
|
+
styleDefault: false,
|
|
240
|
+
name: "Copy"
|
|
244
241
|
},
|
|
245
242
|
},
|
|
246
243
|
},
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
elements: [
|
|
247
|
+
{
|
|
248
|
+
accessorKey: "name",
|
|
249
|
+
header: "Name",
|
|
250
|
+
size: 300,
|
|
251
|
+
type: "string"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
accessorKey: "type",
|
|
255
|
+
header: "Type",
|
|
256
|
+
size: 300,
|
|
257
|
+
type: "string"
|
|
247
258
|
},
|
|
248
259
|
]
|
|
249
260
|
},
|
|
@@ -321,93 +332,70 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
321
332
|
enableDrag: true,
|
|
322
333
|
|
|
323
334
|
},
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
{
|
|
328
|
-
accessorKey: "eventType",
|
|
329
|
-
header: "Event's Type",
|
|
330
|
-
size: 300,
|
|
331
|
-
type: "string"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
accessorKey: "Handler",
|
|
335
|
-
header: "Handler",
|
|
336
|
-
size: 200,
|
|
337
|
-
type: "string"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
accessorKey: "Edit_Approve_Records",
|
|
341
|
-
header: "Edit",
|
|
342
|
-
type: "action",
|
|
343
|
-
size: 150,
|
|
344
|
-
widget: {
|
|
335
|
+
action: [
|
|
336
|
+
{
|
|
345
337
|
type: "Control",
|
|
346
338
|
scope: "#/properties/Edit_Records",
|
|
347
339
|
options: {
|
|
348
|
-
widget: "
|
|
340
|
+
widget: "Button",
|
|
349
341
|
},
|
|
350
342
|
config: {
|
|
351
343
|
main: {
|
|
352
344
|
size: "small",
|
|
353
|
-
|
|
345
|
+
startIcon: "EditIcon",
|
|
354
346
|
tooltipMessage: "Edit This Record",
|
|
355
347
|
onClick: "editEvent",
|
|
356
|
-
|
|
357
|
-
style: {
|
|
358
|
-
fill: theme.palette.primary.main,
|
|
359
|
-
"& :hover": {
|
|
360
|
-
fill: theme.palette.primary.dark,
|
|
361
|
-
},
|
|
348
|
+
name: "Edit"
|
|
362
349
|
},
|
|
363
350
|
},
|
|
364
351
|
},
|
|
365
|
-
|
|
366
|
-
{
|
|
367
|
-
accessorKey: "Reject_Records",
|
|
368
|
-
header: "Delete",
|
|
369
|
-
type: "action",
|
|
370
|
-
size: 150,
|
|
371
|
-
widget: {
|
|
352
|
+
{
|
|
372
353
|
type: "Control",
|
|
373
354
|
scope: "#/properties/RejectButton",
|
|
374
355
|
options: {
|
|
375
|
-
widget: "
|
|
356
|
+
widget: "Button",
|
|
376
357
|
},
|
|
377
358
|
config: {
|
|
378
359
|
main: {
|
|
379
|
-
|
|
360
|
+
size: "small",
|
|
361
|
+
startIcon: "Bin",
|
|
380
362
|
tooltipMessage: "Reject This Record",
|
|
381
363
|
onClick: "deletePopUpEvent",
|
|
382
|
-
|
|
383
|
-
style: {
|
|
384
|
-
fill: theme.palette.primary.main,
|
|
385
|
-
"& :hover": {
|
|
386
|
-
fill: theme.palette.primary.dark,
|
|
387
|
-
},
|
|
364
|
+
name: "Delete"
|
|
388
365
|
},
|
|
389
366
|
},
|
|
390
367
|
},
|
|
391
|
-
|
|
392
|
-
{
|
|
393
|
-
header: "Copy",
|
|
394
|
-
field: "Copy_Event",
|
|
395
|
-
type: "action",
|
|
396
|
-
size: 150,
|
|
397
|
-
widget: {
|
|
368
|
+
{
|
|
398
369
|
type: "Control",
|
|
399
370
|
scope: "#/properties/Copy_Event",
|
|
400
371
|
options: {
|
|
401
|
-
widget: "
|
|
372
|
+
widget: "Button",
|
|
402
373
|
},
|
|
403
374
|
config: {
|
|
404
375
|
main: {
|
|
405
|
-
|
|
376
|
+
size: "small",
|
|
377
|
+
startIcon: "FileCopyIcon",
|
|
406
378
|
onClick: "copyPasteElement",
|
|
407
379
|
styleDefault: true,
|
|
380
|
+
name: "Copy"
|
|
408
381
|
},
|
|
409
382
|
},
|
|
410
383
|
},
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
elements: [
|
|
387
|
+
|
|
388
|
+
{
|
|
389
|
+
accessorKey: "eventType",
|
|
390
|
+
header: "Event's Type",
|
|
391
|
+
size: 300,
|
|
392
|
+
type: "string"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
accessorKey: "Handler",
|
|
396
|
+
header: "Handler",
|
|
397
|
+
size: 200,
|
|
398
|
+
type: "string"
|
|
411
399
|
},
|
|
412
400
|
]
|
|
413
401
|
},
|
|
@@ -46,11 +46,17 @@ export const EventSchema = {
|
|
|
46
46
|
{ title: "Start", const: "onStart" },
|
|
47
47
|
{ title: "Cell Render", const: "onCellRenderer" },
|
|
48
48
|
{ title: "Upload", const: "onUpload" },
|
|
49
|
+
{ title: "FileDelete", const: "onFileDelete" },
|
|
50
|
+
{ title: "Download", const: "onDownload" },
|
|
49
51
|
{ title: "Back", const: "onBack" },
|
|
50
52
|
{ title: "Next", const: "onNext" },
|
|
51
53
|
{ title: "Row Movement", const: "onRowMovement" },
|
|
52
54
|
{ title: "Download", const: "onDownload" },
|
|
53
|
-
{ title: "Fail", const: "Fail" }
|
|
55
|
+
{ title: "Fail", const: "Fail" },
|
|
56
|
+
{ title: "onClose", const: "onClose" },
|
|
57
|
+
{ title: "Key Down", const: "onKeyDown" },
|
|
58
|
+
{ title: "Set Style", const: "setStyle" },
|
|
59
|
+
|
|
54
60
|
]
|
|
55
61
|
},
|
|
56
62
|
Handler: {
|
|
@@ -67,7 +73,7 @@ export const EventSchema = {
|
|
|
67
73
|
oneOf: [
|
|
68
74
|
{ title: "RankProvider", const: "RankProvider" },
|
|
69
75
|
{ title: "Download File", const: "downloadFile" },
|
|
70
|
-
{ title: "
|
|
76
|
+
{ title: "downloadFileFromUrl", const: "downloadFileFromUrl" },
|
|
71
77
|
]
|
|
72
78
|
},
|
|
73
79
|
body: {
|
|
@@ -84,12 +90,12 @@ export const EventSchema = {
|
|
|
84
90
|
},
|
|
85
91
|
},
|
|
86
92
|
},
|
|
87
|
-
RemoveItemButton:{
|
|
93
|
+
RemoveItemButton: {
|
|
88
94
|
disabled: true,
|
|
89
95
|
},
|
|
90
96
|
pageName: {
|
|
91
|
-
path: [{label: "defaultLabel", path: "defaultPath"}]
|
|
97
|
+
path: [{ label: "defaultLabel", path: "defaultPath" }]
|
|
92
98
|
},
|
|
93
99
|
},
|
|
94
|
-
required:["eventType","Handler"]
|
|
100
|
+
required: ["eventType", "Handler"]
|
|
95
101
|
}
|