impaktapps-ui-builder 0.0.382460 → 1.0.1
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 +1273 -1115
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +16 -16
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +62 -59
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +23 -32
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
- 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 +29 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +6 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +6 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +8 -0
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +6 -1
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +21 -18
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +39 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +113 -61
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +8 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +108 -88
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
- package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +73 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +63 -45
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +50 -44
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +232 -309
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +166 -224
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +15 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +147 -205
- package/src/impaktapps-ui-builder/builder/services/component.ts +228 -57
- package/src/impaktapps-ui-builder/builder/services/event.ts +182 -66
- package/src/impaktapps-ui-builder/builder/services/utils.ts +2 -2
- package/src/impaktapps-ui-builder/runtime/services/events.ts +32 -21
- package/src/impaktapps-ui-builder/runtime/services/service.ts +18 -29
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export const ValidationSection = {
|
|
2
|
-
type: "
|
|
2
|
+
type: "WrapperLayout",
|
|
3
|
+
config: {
|
|
4
|
+
main: {
|
|
5
|
+
label: " ",
|
|
6
|
+
gap: "8px"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
3
9
|
elements: [
|
|
4
|
-
|
|
10
|
+
{
|
|
5
11
|
type: "Control",
|
|
6
12
|
scope: "#/properties/validation",
|
|
7
13
|
layout: 11.5,
|
|
@@ -53,5 +59,70 @@ export const ValidationSection = {
|
|
|
53
59
|
},
|
|
54
60
|
|
|
55
61
|
},
|
|
62
|
+
|
|
63
|
+
// {
|
|
64
|
+
// type: "Control",
|
|
65
|
+
// scope: "#/properties/validation",
|
|
66
|
+
// options: {
|
|
67
|
+
// widget: "Array",
|
|
68
|
+
// },
|
|
69
|
+
// config: {
|
|
70
|
+
// layout: 12,
|
|
71
|
+
// main: {
|
|
72
|
+
// label: "Validation",
|
|
73
|
+
// childElementLabel: "Validation",
|
|
74
|
+
// },
|
|
75
|
+
// style: {
|
|
76
|
+
// marginLeft: "-24px",
|
|
77
|
+
// marginBottom: "24px !important",
|
|
78
|
+
// labelStyle: {
|
|
79
|
+
// marginLeft: "24px",
|
|
80
|
+
// },
|
|
81
|
+
// detailsStyle: {
|
|
82
|
+
// marginLeft: "24px",
|
|
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
|
+
// },
|
|
126
|
+
|
|
56
127
|
]
|
|
57
128
|
};
|
|
@@ -1,57 +1,75 @@
|
|
|
1
|
-
import { OptionArray } from "./coreSection";
|
|
2
|
-
|
|
3
1
|
export const ValueTab = {
|
|
4
|
-
type: "
|
|
2
|
+
type: "WrapperLayout",
|
|
3
|
+
config: {
|
|
4
|
+
main: {
|
|
5
|
+
label: " ",
|
|
6
|
+
gap: "8px"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
5
9
|
elements: [
|
|
6
10
|
{
|
|
7
11
|
type: "Control",
|
|
8
12
|
scope: "#/properties/value",
|
|
9
|
-
layout: 12,
|
|
10
13
|
options: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
widget: "Array",
|
|
15
|
+
},
|
|
16
|
+
config: {
|
|
17
|
+
layout: 12,
|
|
18
|
+
main: {
|
|
19
|
+
label: "Value",
|
|
20
|
+
childElementLabel: "Value",
|
|
21
|
+
},
|
|
22
|
+
style: {
|
|
23
|
+
marginLeft: "-24px",
|
|
24
|
+
marginBottom: "24px !important",
|
|
25
|
+
labelStyle: {
|
|
26
|
+
marginLeft: "24px",
|
|
27
|
+
},
|
|
28
|
+
detailsStyle: {
|
|
29
|
+
marginLeft: "24px",
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
elements: [
|
|
34
|
+
{
|
|
35
|
+
type: "Control",
|
|
36
|
+
scope: "#/properties/label",
|
|
37
|
+
options: {
|
|
38
|
+
widget: "InputField",
|
|
39
|
+
},
|
|
40
|
+
config: {
|
|
41
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
42
|
+
main: {
|
|
43
|
+
label: "Label",
|
|
26
44
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: "Control",
|
|
49
|
+
scope: "#/properties/value",
|
|
50
|
+
|
|
51
|
+
options: {
|
|
52
|
+
widget: "InputField",
|
|
53
|
+
},
|
|
54
|
+
config: {
|
|
55
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
56
|
+
main: {
|
|
57
|
+
label: "Value",
|
|
58
|
+
|
|
41
59
|
},
|
|
42
|
-
|
|
43
|
-
type: "Control",
|
|
44
|
-
scope: "#/properties/emptyBox",
|
|
45
|
-
options: {
|
|
46
|
-
widget: "EmptyBox"
|
|
47
|
-
},
|
|
48
|
-
config: {
|
|
49
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
],
|
|
60
|
+
},
|
|
53
61
|
},
|
|
54
|
-
|
|
62
|
+
{
|
|
63
|
+
type: "Control",
|
|
64
|
+
scope: "#/properties/emptyBox",
|
|
65
|
+
options: {
|
|
66
|
+
widget: "EmptyBox"
|
|
67
|
+
},
|
|
68
|
+
config: {
|
|
69
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
],
|
|
55
73
|
}
|
|
56
74
|
],
|
|
57
75
|
};
|
|
@@ -1,47 +1,54 @@
|
|
|
1
|
+
//headerIcons //action //elements
|
|
1
2
|
export const ComponentSchema: any = {
|
|
2
3
|
type: "object",
|
|
3
4
|
properties: {
|
|
4
5
|
type: {
|
|
5
|
-
// type: "string",
|
|
6
6
|
oneOf: [
|
|
7
|
-
{ title: "
|
|
7
|
+
{ title: "Masked Aadhar Card", const: "AadharcardText" },
|
|
8
8
|
{ title: "Array", const: "Array" },
|
|
9
9
|
{ title: "Button", const: "Button" },
|
|
10
|
-
{ title: "Card", const: "card" },
|
|
11
|
-
{ title: "
|
|
10
|
+
{ title: "Data Card", const: "card" },
|
|
11
|
+
{ title: "Check Box", const: "CheckBox" },
|
|
12
12
|
{ title: "Container", const: "WrapperSection" },
|
|
13
|
-
{ title: "
|
|
13
|
+
{ title: "Data Grid", const: "DataGrid" },
|
|
14
14
|
{ title: "Date", const: "Date" },
|
|
15
|
-
{ title: "
|
|
16
|
-
{ title: "Download
|
|
15
|
+
{ title: "Time Stamp", const: "DateTime" },
|
|
16
|
+
{ title: "Download", const: "DownloadFile" },
|
|
17
17
|
{ title: "Empty Box", const: "EmptyBox" },
|
|
18
|
-
{ title: "File", const: "FileInput" },
|
|
18
|
+
{ title: "File Handler", const: "FileInput" },
|
|
19
19
|
{ title: "Graph", const: "Graph" },
|
|
20
20
|
{ title: "Input Slider", const: "InputSlider" },
|
|
21
21
|
{ title: "Label", const: "Box" },
|
|
22
|
-
{ title: "
|
|
23
|
-
{ title: "
|
|
24
|
-
{ title: "
|
|
25
|
-
{ title: "
|
|
26
|
-
{ title: "
|
|
27
|
-
{ title: "
|
|
28
|
-
{ title: "
|
|
22
|
+
{ title: "Leaderboard", const: "LeaderBoard" },
|
|
23
|
+
{ title: "Multi-Select Dropdown", const: "MultipleSelect" },
|
|
24
|
+
{ title: "Pan Card Masked", const: "PanCardText" },
|
|
25
|
+
{ title: "Pop Up", const: "PopUp" },
|
|
26
|
+
{ title: "Progress Bar", const: "ProgressBar" },
|
|
27
|
+
{ title: "Progress Bar Card", const: "ProgressBarCard" },
|
|
28
|
+
{ title: "Dropdown", const: "Select" },
|
|
29
29
|
{ title: "Slider", const: "Slider" },
|
|
30
|
-
{ title: "
|
|
30
|
+
{ title: "Speedometer", const: "SpeedoMeter" },
|
|
31
31
|
{ title: "Stepper Container", const: "Stepper" },
|
|
32
32
|
{ title: "Radio", const: "Radio" },
|
|
33
33
|
{ title: "Rank", const: "Rank" },
|
|
34
34
|
{ title: "Rank Card", const: "RankCard" },
|
|
35
|
-
{ title: "Runner Boy
|
|
35
|
+
{ title: "Runner Boy", const: "RunnerBoyProgressBar" },
|
|
36
36
|
{ title: "Table", const: "Table" },
|
|
37
37
|
{ title: "Tabs", const: "TabSection" },
|
|
38
38
|
{ title: "Text", const: "Text" },
|
|
39
39
|
{ title: "Text Area", const: "TextArea" },
|
|
40
40
|
{ title: "Timer", const: "Timer" },
|
|
41
|
-
{ title: "Upload
|
|
42
|
-
{ title: "
|
|
43
|
-
{ title: "
|
|
44
|
-
{ title: "Thought of the
|
|
41
|
+
{ title: "Upload", const: "UploadFile" },
|
|
42
|
+
{ title: "Tree ", const: "TreeMap" },
|
|
43
|
+
{ title: "Column Group", const: "ColumnGroup" },
|
|
44
|
+
{ title: "Thought of the day", const: "Thought" }
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
elementType: {
|
|
48
|
+
oneOf: [
|
|
49
|
+
{ title: "Table Action Element", const: "action" },
|
|
50
|
+
{ title: "Table Header Element", const: "tableHeader" },
|
|
51
|
+
{ title: "Table Element", const: "element" },
|
|
45
52
|
]
|
|
46
53
|
},
|
|
47
54
|
columnFormat: {
|
|
@@ -70,7 +77,7 @@ export const ComponentSchema: any = {
|
|
|
70
77
|
type: "array",
|
|
71
78
|
items: {
|
|
72
79
|
type: "object",
|
|
73
|
-
properties: {
|
|
80
|
+
properties: {
|
|
74
81
|
key: {
|
|
75
82
|
type: "string",
|
|
76
83
|
oneOf: [
|
|
@@ -81,7 +88,6 @@ export const ComponentSchema: any = {
|
|
|
81
88
|
],
|
|
82
89
|
},
|
|
83
90
|
value: {
|
|
84
|
-
// type: "string",
|
|
85
91
|
|
|
86
92
|
},
|
|
87
93
|
},
|
|
@@ -102,7 +108,6 @@ export const ComponentSchema: any = {
|
|
|
102
108
|
],
|
|
103
109
|
},
|
|
104
110
|
value: {
|
|
105
|
-
// type: "string",
|
|
106
111
|
|
|
107
112
|
},
|
|
108
113
|
},
|
|
@@ -191,7 +196,7 @@ export const ComponentSchema: any = {
|
|
|
191
196
|
},
|
|
192
197
|
},
|
|
193
198
|
},
|
|
194
|
-
enableColumnFilter:{
|
|
199
|
+
enableColumnFilter: {
|
|
195
200
|
type: "array",
|
|
196
201
|
items: {
|
|
197
202
|
type: "object",
|
|
@@ -202,25 +207,23 @@ export const ComponentSchema: any = {
|
|
|
202
207
|
},
|
|
203
208
|
},
|
|
204
209
|
},
|
|
205
|
-
filteringOptions:{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
{ const: 'lessThanOrEqualTo', title: 'Less than or equal to' },
|
|
221
|
-
]
|
|
222
|
-
},
|
|
210
|
+
filteringOptions: {
|
|
211
|
+
oneOf: [
|
|
212
|
+
{ const: 'fuzzy', title: 'Fuzzy' },
|
|
213
|
+
{ const: 'contains', title: 'Contain' },
|
|
214
|
+
{ const: 'startsWith', title: 'Starts with' },
|
|
215
|
+
{ const: 'endsWith', title: 'Ends with' },
|
|
216
|
+
{ const: 'equals', title: 'Equals' },
|
|
217
|
+
{ const: 'notEquals', title: 'Not Equals' },
|
|
218
|
+
{ const: 'between', title: 'Between' },
|
|
219
|
+
{ const: 'betweenInclusive', title: 'Between inclusive' },
|
|
220
|
+
{ const: 'greaterThan', title: 'Greater than' },
|
|
221
|
+
{ const: 'greaterThanOrEqualTo', title: 'Greater than or equal to' },
|
|
222
|
+
{ const: 'lessThan', title: 'Less than' },
|
|
223
|
+
{ const: 'lessThanOrEqualTo', title: 'Less than or equal to' },
|
|
224
|
+
]
|
|
223
225
|
},
|
|
226
|
+
|
|
224
227
|
legendLabels: {
|
|
225
228
|
type: "array",
|
|
226
229
|
items: {
|
|
@@ -339,11 +342,14 @@ export const ComponentSchema: any = {
|
|
|
339
342
|
{ title: "Info", const: "info" },
|
|
340
343
|
]
|
|
341
344
|
},
|
|
345
|
+
pageName: {
|
|
346
|
+
path: []
|
|
347
|
+
},
|
|
342
348
|
name: {
|
|
343
349
|
type: "string",
|
|
344
350
|
},
|
|
345
351
|
label: { type: 'string' },
|
|
346
|
-
RemoveItemButton:{
|
|
352
|
+
RemoveItemButton: {
|
|
347
353
|
disabled: true,
|
|
348
354
|
},
|
|
349
355
|
},
|