impaktapps-ui-builder 1.0.3 → 1.0.5
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 +2278 -1161
- 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 +24 -8
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +15 -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 +398 -141
- 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 +123 -165
|
@@ -7,9 +7,13 @@ export const ComponentSchema: any = {
|
|
|
7
7
|
{ title: "Masked Aadhar Card", const: "AadharcardText" },
|
|
8
8
|
{ title: "Array", const: "Array" },
|
|
9
9
|
{ title: "Button", const: "Button" },
|
|
10
|
+
{ title: "ButtonGroup", const: "ButtonGroup" },
|
|
10
11
|
{ title: "Data Card", const: "card" },
|
|
11
12
|
{ title: "Check Box", const: "CheckBox" },
|
|
13
|
+
{ title: "Camera", const: "Camera" },
|
|
14
|
+
{ title: "Column Group", const: "ColumnGroup" },
|
|
12
15
|
{ title: "Container", const: "WrapperSection" },
|
|
16
|
+
{ title: "Tab Container", const: "HorizontalLayout" },
|
|
13
17
|
{ title: "Data Grid", const: "DataGrid" },
|
|
14
18
|
{ title: "Date", const: "Date" },
|
|
15
19
|
{ title: "Time Stamp", const: "DateTime" },
|
|
@@ -17,12 +21,15 @@ export const ComponentSchema: any = {
|
|
|
17
21
|
{ title: "Empty Box", const: "EmptyBox" },
|
|
18
22
|
{ title: "File Handler", const: "FileInput" },
|
|
19
23
|
{ title: "Graph", const: "Graph" },
|
|
24
|
+
{ title: "Image", const: "Image" },
|
|
20
25
|
{ title: "Input Slider", const: "InputSlider" },
|
|
21
26
|
{ title: "Label", const: "Box" },
|
|
22
27
|
{ title: "Leaderboard", const: "LeaderBoard" },
|
|
23
28
|
{ title: "Multi-Select Dropdown", const: "MultipleSelect" },
|
|
29
|
+
{ title: "OTP_Input", const: "OTP_Input" },
|
|
24
30
|
{ title: "Pan Card Masked", const: "PanCardText" },
|
|
25
31
|
{ title: "Pop Up", const: "PopUp" },
|
|
32
|
+
{ title: "Pop Over", const: "PopOver" },
|
|
26
33
|
{ title: "Progress Bar", const: "ProgressBar" },
|
|
27
34
|
{ title: "Progress Bar Card", const: "ProgressBarCard" },
|
|
28
35
|
{ title: "Dropdown", const: "Select" },
|
|
@@ -32,6 +39,7 @@ export const ComponentSchema: any = {
|
|
|
32
39
|
{ title: "Radio", const: "Radio" },
|
|
33
40
|
{ title: "Rank", const: "Rank" },
|
|
34
41
|
{ title: "Rank Card", const: "RankCard" },
|
|
42
|
+
{ title: "Metric Card", const: "MetricCard" },
|
|
35
43
|
{ title: "Runner Boy", const: "RunnerBoyProgressBar" },
|
|
36
44
|
{ title: "Table", const: "Table" },
|
|
37
45
|
{ title: "Tabs", const: "TabSection" },
|
|
@@ -40,29 +48,108 @@ export const ComponentSchema: any = {
|
|
|
40
48
|
{ title: "Timer", const: "Timer" },
|
|
41
49
|
{ title: "Upload", const: "UploadFile" },
|
|
42
50
|
{ title: "Tree ", const: "TreeMap" },
|
|
43
|
-
{ title: "
|
|
44
|
-
{ title: "
|
|
45
|
-
]
|
|
51
|
+
{ title: "Thought of the day", const: "Thought" },
|
|
52
|
+
{ title: "PDF", const: "PdfViewer" }
|
|
53
|
+
],
|
|
46
54
|
},
|
|
47
55
|
elementType: {
|
|
48
56
|
oneOf: [
|
|
49
57
|
{ title: "Table Action Element", const: "action" },
|
|
50
58
|
{ title: "Table Header Element", const: "tableHeader" },
|
|
51
59
|
{ title: "Table Element", const: "element" },
|
|
52
|
-
]
|
|
60
|
+
],
|
|
53
61
|
},
|
|
54
62
|
columnFormat: {
|
|
55
63
|
oneOf: [
|
|
56
64
|
{ title: "Date Column", const: "date" },
|
|
57
65
|
{ title: "DateTime Column", const: "dateTime" },
|
|
58
66
|
{ title: "Amount Column", const: "amount" },
|
|
59
|
-
|
|
67
|
+
{ title: "Center Column", const: "action" },
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
dateFormat: {
|
|
71
|
+
oneOf: [
|
|
72
|
+
{
|
|
73
|
+
title: "YYYY-MM-DDTHH:mm:ss.SSSZ",
|
|
74
|
+
const: "YYYY-MM-DDTHH:mm:ss.SSSZ",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
title: "YYYY-MM-DDTHH:mm:ssZ",
|
|
78
|
+
const: "YYYY-MM-DDTHH:mm:ssZ",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
title: "YYYY-MM-DDTHH:mm:ss",
|
|
82
|
+
const: "YYYY-MM-DDTHH:mm:ss",
|
|
83
|
+
},
|
|
84
|
+
{ title: "YYYY-MM-DD", const: "YYYY-MM-DD" },
|
|
85
|
+
{ title: "DD-MM-YYYY", const: "DD-MM-YYYY" },
|
|
86
|
+
{ title: "MM/DD/YYYY", const: "MM/DD/YYYY" },
|
|
87
|
+
{
|
|
88
|
+
title: "YYYY-MM-DD HH:mm:ss",
|
|
89
|
+
const: "YYYY-MM-DD HH:mm:ss",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
title: "YYYY-MM-DD HH:mm:ss.SSS",
|
|
93
|
+
const: "YYYY-MM-DD HH:mm:ss.SSS",
|
|
94
|
+
},
|
|
95
|
+
{ title: "Milliseconds", const: "x" },
|
|
96
|
+
{ title: "Seconds", const: "X" },
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
variant: {
|
|
100
|
+
oneOf: [
|
|
101
|
+
{ title: "Outlined", const: "outlined" },
|
|
102
|
+
{ title: "Filled", const: "filled" },
|
|
103
|
+
{ title: "Standard", const: "standard" },
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
positionVertical: {
|
|
107
|
+
oneOf: [
|
|
108
|
+
{ title: "Top", const: "top" },
|
|
109
|
+
{ title: "Center", const: "center" },
|
|
110
|
+
{ title: "Bottom", const: "bottom" }
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
positionHorizontal: {
|
|
114
|
+
oneOf: [
|
|
115
|
+
{ title: "Left", const: "left" },
|
|
116
|
+
{ title: "Center", const: "center" },
|
|
117
|
+
{ title: "Right", const: "right" }
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
contentVertical: {
|
|
121
|
+
oneOf: [
|
|
122
|
+
{ title: "Top", const: "top" },
|
|
123
|
+
{ title: "Center", const: "center" },
|
|
124
|
+
{ title: "Bottom", const: "bottom" }
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
contentHorizontal: {
|
|
128
|
+
oneOf: [
|
|
129
|
+
{ title: "Left", const: "left" },
|
|
130
|
+
{ title: "Center", const: "center" },
|
|
131
|
+
{ title: "Right", const: "right" }
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
toolTipPosition: {
|
|
135
|
+
oneOf: [
|
|
136
|
+
{ title: "Top", const: "top" },
|
|
137
|
+
{ title: "Left", const: "left" },
|
|
138
|
+
{ title: "Right", const: "right" },
|
|
139
|
+
{ title: "Bottom", const: "bottom" }
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
growthRate: {
|
|
143
|
+
oneOf: [
|
|
144
|
+
{ title: "Positive", const: "positive" },
|
|
145
|
+
{ title: "Negative", const: "negative" }
|
|
146
|
+
],
|
|
60
147
|
},
|
|
61
148
|
orientation: {
|
|
62
149
|
oneOf: [
|
|
63
150
|
{ title: "Horizontal", const: "horizontal" },
|
|
64
151
|
{ title: "Vertical", const: "vertical" },
|
|
65
|
-
]
|
|
152
|
+
],
|
|
66
153
|
},
|
|
67
154
|
method: {
|
|
68
155
|
type: "string",
|
|
@@ -71,7 +158,41 @@ export const ComponentSchema: any = {
|
|
|
71
158
|
{ title: "Post", const: "post" },
|
|
72
159
|
{ title: "Delete", const: "delete" },
|
|
73
160
|
{ title: "Put", const: "put" },
|
|
74
|
-
]
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
maxPageSize: {
|
|
164
|
+
type: "number",
|
|
165
|
+
oneOf: [
|
|
166
|
+
{ title: "10", const: 10 },
|
|
167
|
+
{ title: "20", const: 20 },
|
|
168
|
+
{ title: "30", const: 30 },
|
|
169
|
+
{ title: "50", const: 50 },
|
|
170
|
+
{ title: "100", const: 100 },
|
|
171
|
+
{ title: "500", const: 500 },
|
|
172
|
+
],
|
|
173
|
+
},
|
|
174
|
+
initialDensity: {
|
|
175
|
+
type: "string",
|
|
176
|
+
oneOf: [
|
|
177
|
+
{ title: "Compact", const: "compact" },
|
|
178
|
+
{ title: "Comfortable", const: "comfortable" },
|
|
179
|
+
{ title: "Spacious", const: "spacious" },
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
|
+
xAxisFormatType: {
|
|
183
|
+
type: "string",
|
|
184
|
+
oneOf: [
|
|
185
|
+
{ title: "Date and Month", const: "Date and Month" },
|
|
186
|
+
{ title: "Month and Year", const: "Month and Year" }
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
xAxisType: {
|
|
190
|
+
type: "string",
|
|
191
|
+
oneOf: [
|
|
192
|
+
{ title: "Date", const: "date" },
|
|
193
|
+
{ title: "String", const: "string" },
|
|
194
|
+
{ title: "Number", const: "number" }
|
|
195
|
+
],
|
|
75
196
|
},
|
|
76
197
|
layout: {
|
|
77
198
|
type: "array",
|
|
@@ -87,9 +208,7 @@ export const ComponentSchema: any = {
|
|
|
87
208
|
{ title: "Large", const: "lg" },
|
|
88
209
|
],
|
|
89
210
|
},
|
|
90
|
-
value: {
|
|
91
|
-
|
|
92
|
-
},
|
|
211
|
+
value: {},
|
|
93
212
|
},
|
|
94
213
|
},
|
|
95
214
|
},
|
|
@@ -107,9 +226,7 @@ export const ComponentSchema: any = {
|
|
|
107
226
|
{ title: "Large", const: "lg" },
|
|
108
227
|
],
|
|
109
228
|
},
|
|
110
|
-
value: {
|
|
111
|
-
|
|
112
|
-
},
|
|
229
|
+
value: {},
|
|
113
230
|
},
|
|
114
231
|
},
|
|
115
232
|
},
|
|
@@ -144,20 +261,20 @@ export const ComponentSchema: any = {
|
|
|
144
261
|
},
|
|
145
262
|
},
|
|
146
263
|
},
|
|
147
|
-
events: {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
},
|
|
264
|
+
// events: {
|
|
265
|
+
// type: "array",
|
|
266
|
+
// items: {
|
|
267
|
+
// type: "object",
|
|
268
|
+
// properties: {
|
|
269
|
+
// eventType: {
|
|
270
|
+
// type: "string",
|
|
271
|
+
// },
|
|
272
|
+
// configType: {
|
|
273
|
+
// type: "string",
|
|
274
|
+
// },
|
|
275
|
+
// },
|
|
276
|
+
// },
|
|
277
|
+
// },
|
|
161
278
|
sectionLabels: {
|
|
162
279
|
type: "array",
|
|
163
280
|
items: {
|
|
@@ -166,7 +283,6 @@ export const ComponentSchema: any = {
|
|
|
166
283
|
label: {
|
|
167
284
|
type: "string",
|
|
168
285
|
},
|
|
169
|
-
|
|
170
286
|
},
|
|
171
287
|
},
|
|
172
288
|
},
|
|
@@ -178,7 +294,6 @@ export const ComponentSchema: any = {
|
|
|
178
294
|
KeyName: {
|
|
179
295
|
type: "string",
|
|
180
296
|
},
|
|
181
|
-
|
|
182
297
|
},
|
|
183
298
|
},
|
|
184
299
|
},
|
|
@@ -191,8 +306,8 @@ export const ComponentSchema: any = {
|
|
|
191
306
|
type: "string",
|
|
192
307
|
},
|
|
193
308
|
value: {
|
|
194
|
-
type: "string"
|
|
195
|
-
}
|
|
309
|
+
type: "string",
|
|
310
|
+
},
|
|
196
311
|
},
|
|
197
312
|
},
|
|
198
313
|
},
|
|
@@ -209,19 +324,19 @@ export const ComponentSchema: any = {
|
|
|
209
324
|
},
|
|
210
325
|
filteringOptions: {
|
|
211
326
|
oneOf: [
|
|
212
|
-
{ const:
|
|
213
|
-
{ const:
|
|
214
|
-
{ const:
|
|
215
|
-
{ const:
|
|
216
|
-
{ const:
|
|
217
|
-
{ const:
|
|
218
|
-
{ const:
|
|
219
|
-
{ const:
|
|
220
|
-
{ const:
|
|
221
|
-
{ const:
|
|
222
|
-
{ const:
|
|
223
|
-
{ const:
|
|
224
|
-
]
|
|
327
|
+
{ const: "fuzzy", title: "Fuzzy" },
|
|
328
|
+
{ const: "contains", title: "Contain" },
|
|
329
|
+
{ const: "startsWith", title: "Starts with" },
|
|
330
|
+
{ const: "endsWith", title: "Ends with" },
|
|
331
|
+
{ const: "equals", title: "Equals" },
|
|
332
|
+
{ const: "notEquals", title: "Not Equals" },
|
|
333
|
+
{ const: "between", title: "Between" },
|
|
334
|
+
{ const: "betweenInclusive", title: "Between inclusive" },
|
|
335
|
+
{ const: "greaterThan", title: "Greater than" },
|
|
336
|
+
{ const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
|
|
337
|
+
{ const: "lessThan", title: "Less than" },
|
|
338
|
+
{ const: "lessThanOrEqualTo", title: "Less than or equal to" },
|
|
339
|
+
],
|
|
225
340
|
},
|
|
226
341
|
|
|
227
342
|
legendLabels: {
|
|
@@ -229,10 +344,12 @@ export const ComponentSchema: any = {
|
|
|
229
344
|
items: {
|
|
230
345
|
type: "object",
|
|
231
346
|
properties: {
|
|
347
|
+
key: {
|
|
348
|
+
type: "string",
|
|
349
|
+
},
|
|
232
350
|
label: {
|
|
233
351
|
type: "string",
|
|
234
352
|
},
|
|
235
|
-
|
|
236
353
|
},
|
|
237
354
|
},
|
|
238
355
|
},
|
|
@@ -241,10 +358,23 @@ export const ComponentSchema: any = {
|
|
|
241
358
|
items: {
|
|
242
359
|
type: "object",
|
|
243
360
|
properties: {
|
|
361
|
+
key: {
|
|
362
|
+
type: "string",
|
|
363
|
+
},
|
|
244
364
|
label: {
|
|
245
365
|
type: "string",
|
|
246
366
|
},
|
|
247
|
-
|
|
367
|
+
},
|
|
368
|
+
},
|
|
369
|
+
},
|
|
370
|
+
tabIcons: {
|
|
371
|
+
type: "array",
|
|
372
|
+
items: {
|
|
373
|
+
type: "object",
|
|
374
|
+
properties: {
|
|
375
|
+
url: {
|
|
376
|
+
type: "string",
|
|
377
|
+
},
|
|
248
378
|
},
|
|
249
379
|
},
|
|
250
380
|
},
|
|
@@ -256,7 +386,6 @@ export const ComponentSchema: any = {
|
|
|
256
386
|
formatElement: {
|
|
257
387
|
type: "string",
|
|
258
388
|
},
|
|
259
|
-
|
|
260
389
|
},
|
|
261
390
|
},
|
|
262
391
|
},
|
|
@@ -267,7 +396,6 @@ export const ComponentSchema: any = {
|
|
|
267
396
|
properties: {
|
|
268
397
|
componentName: {
|
|
269
398
|
type: "string",
|
|
270
|
-
|
|
271
399
|
},
|
|
272
400
|
validationType: {
|
|
273
401
|
type: "string",
|
|
@@ -276,7 +404,8 @@ export const ComponentSchema: any = {
|
|
|
276
404
|
{ const: "minLength", title: "Minimum Length" },
|
|
277
405
|
{ const: "maxLength", title: "Maximum Length" },
|
|
278
406
|
{ const: "pattern", title: "Pattern" },
|
|
279
|
-
|
|
407
|
+
{ const: "readOnly", title: "Read Only" },
|
|
408
|
+
],
|
|
280
409
|
},
|
|
281
410
|
validationValue: {
|
|
282
411
|
type: "string",
|
|
@@ -290,14 +419,14 @@ export const ComponentSchema: any = {
|
|
|
290
419
|
{ title: "Button", const: "Button" },
|
|
291
420
|
{ title: "IconButton", const: "IconButton" },
|
|
292
421
|
{ title: "HybridButton", const: "ButtonWithIconAndText" },
|
|
293
|
-
]
|
|
422
|
+
],
|
|
294
423
|
},
|
|
295
424
|
defaultStyle: {
|
|
296
425
|
type: "string",
|
|
297
426
|
oneOf: [
|
|
298
427
|
{ title: "Apply Default Style", const: "true" },
|
|
299
428
|
{ title: "No Style", const: "false" },
|
|
300
|
-
]
|
|
429
|
+
],
|
|
301
430
|
},
|
|
302
431
|
graphType: {
|
|
303
432
|
type: "string",
|
|
@@ -307,8 +436,13 @@ export const ComponentSchema: any = {
|
|
|
307
436
|
{ title: "Line Graph", const: "LineGraph" },
|
|
308
437
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
309
438
|
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
|
|
310
|
-
{
|
|
311
|
-
|
|
439
|
+
{
|
|
440
|
+
title: "Stack Horizontal Bar Graph",
|
|
441
|
+
const: "HorizontalStackBarGraph",
|
|
442
|
+
},
|
|
443
|
+
{ title: "Area Graph", const: "AreaGraph" },
|
|
444
|
+
{ title: "StackBar And Line Graph", const: "StackBarLineGraph" },
|
|
445
|
+
],
|
|
312
446
|
},
|
|
313
447
|
iconName: {
|
|
314
448
|
type: "string",
|
|
@@ -329,8 +463,44 @@ export const ComponentSchema: any = {
|
|
|
329
463
|
{ title: "Error Icon", const: "ErrorIcon" },
|
|
330
464
|
{ title: "Refresh Icon", const: "RefreshIcon" },
|
|
331
465
|
{ title: "Download Icon", const: "DownloadIcon" },
|
|
466
|
+
{ title: "Download All Icon", const: "DownloadAllIcon" },
|
|
332
467
|
{ title: "Exception Icon", const: "ExceptionIcon" },
|
|
333
|
-
|
|
468
|
+
{ title: "Alarm Icon", const: "AlarmIcon" },
|
|
469
|
+
{ title: "Click Icon", const: "ClickIcon" },
|
|
470
|
+
{ title: "Content Copy Icon", const: "ContentCopyIcon" },
|
|
471
|
+
{ title: "File Copy Icon", const: "FileCopyIcon" },
|
|
472
|
+
{ title: "Pause Icon", const: "PauseIcon" },
|
|
473
|
+
{ title: "Play Icon", const: "PlayIcon" },
|
|
474
|
+
{ title: "Close Icon", const: "CloseIcon" },
|
|
475
|
+
{ title: "Replay Icon", const: "ReplayIcon" },
|
|
476
|
+
{ title: "Delete Icon", const: "DeleteIcon" },
|
|
477
|
+
{ title: "Drafts Icon", const: "DraftsIcon" },
|
|
478
|
+
{ title: "Perm Phone Msg Icon", const: "PermPhoneMsgIcon" },
|
|
479
|
+
{ title: "Paste Icon", const: "PasteIcon" },
|
|
480
|
+
{ title: "Calendar", const: "Calendar" },
|
|
481
|
+
{ title: "Prev Icon", const: "PrevIcon" },
|
|
482
|
+
{ title: "Verified Icon", const: "VerifiedIcon" },
|
|
483
|
+
{ title: "Table Add Icon", const: "TableAddIcon" },
|
|
484
|
+
{ title: "Table Download Icon", const: "TableDownloadIcon" },
|
|
485
|
+
{ title: "Audit Trail Icon", const: "AuditTrailIcon" },
|
|
486
|
+
{ title: "View Component", const: "View" },
|
|
487
|
+
{ title: "Table Edit Icon", const: "TableEditIcon" },
|
|
488
|
+
{ title: "Maximize Icon", const: "Maximize" },
|
|
489
|
+
{ title: "Minimize Icon", const: "Minimize" },
|
|
490
|
+
{ title: "Subtract Icon", const: "Subtract" },
|
|
491
|
+
{ title: "Bin Icon", const: "Bin" },
|
|
492
|
+
{ title: "Export Icon", const: "Export" },
|
|
493
|
+
{ title: "Table Paste Icon", const: "TablePaste" },
|
|
494
|
+
{ title: "Clone Icon", const: "CloneIcon" },
|
|
495
|
+
{ title: "Detail Icon", const: "DetailIcon" },
|
|
496
|
+
{ title: "Report View Icon", const: "ReportViewIcon" },
|
|
497
|
+
{ title: "Payout", const: "Payout" },
|
|
498
|
+
{ title: "Info Outlined", const: "InfoOutlinedIcon" },
|
|
499
|
+
{ title: "Territory Add", const: "TerritoryAdd" },
|
|
500
|
+
{ title: "Territory Edit", const: "TerritoryEdit" },
|
|
501
|
+
{ title: "Territory Delete", const: "TerritoryDelete" },
|
|
502
|
+
{ title: "Git Compare", const: "GitCompare" },
|
|
503
|
+
],
|
|
334
504
|
},
|
|
335
505
|
color: {
|
|
336
506
|
type: "string",
|
|
@@ -340,19 +510,18 @@ export const ComponentSchema: any = {
|
|
|
340
510
|
{ title: "Error", const: "error" },
|
|
341
511
|
{ title: "Success", const: "success" },
|
|
342
512
|
{ title: "Info", const: "info" },
|
|
343
|
-
]
|
|
513
|
+
],
|
|
344
514
|
},
|
|
345
515
|
pageName: {
|
|
346
|
-
path: []
|
|
516
|
+
path: [],
|
|
347
517
|
},
|
|
348
518
|
name: {
|
|
349
519
|
type: "string",
|
|
350
520
|
},
|
|
351
|
-
label: { type:
|
|
521
|
+
label: { type: "string" },
|
|
352
522
|
RemoveItemButton: {
|
|
353
523
|
disabled: true,
|
|
354
524
|
},
|
|
355
525
|
},
|
|
356
|
-
|
|
357
|
-
required: ["name",]
|
|
526
|
+
required: ["name"],
|
|
358
527
|
};
|