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.
Files changed (45) hide show
  1. package/dist/impaktapps-ui-builder.es.js +1273 -1115
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +16 -16
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +62 -59
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -2
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +23 -32
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +6 -0
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
  16. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +6 -0
  17. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +2 -0
  18. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +8 -0
  19. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +1 -1
  20. package/package.json +1 -1
  21. package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -0
  22. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +6 -1
  23. package/src/impaktapps-ui-builder/builder/build/buildText.ts +21 -18
  24. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +39 -27
  25. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
  26. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +113 -61
  27. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +8 -4
  28. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +108 -88
  29. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
  30. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
  31. package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
  32. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
  33. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
  34. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +73 -2
  35. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +63 -45
  36. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +50 -44
  37. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +232 -309
  38. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +166 -224
  39. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +15 -12
  40. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +147 -205
  41. package/src/impaktapps-ui-builder/builder/services/component.ts +228 -57
  42. package/src/impaktapps-ui-builder/builder/services/event.ts +182 -66
  43. package/src/impaktapps-ui-builder/builder/services/utils.ts +2 -2
  44. package/src/impaktapps-ui-builder/runtime/services/events.ts +32 -21
  45. package/src/impaktapps-ui-builder/runtime/services/service.ts +18 -29
@@ -1,7 +1,13 @@
1
1
  export const ValidationSection = {
2
- type: "HorizontalLayout",
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: "HorizontalLayout",
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
- detail: {
12
- type: "HorizontalLayout",
13
- elements: [
14
- {
15
- type: "Control",
16
- scope: "#/properties/label",
17
- options: {
18
- widget: "InputField",
19
- },
20
- config: {
21
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
22
- main: {
23
- label: "Label",
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
- type: "Control",
29
- scope: "#/properties/value",
30
-
31
- options: {
32
- widget: "InputField",
33
- },
34
- config: {
35
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
36
- main: {
37
- label: "Value",
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: "AadharcardText", const: "AadharcardText" },
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: "CheckBox", const: "CheckBox" },
10
+ { title: "Data Card", const: "card" },
11
+ { title: "Check Box", const: "CheckBox" },
12
12
  { title: "Container", const: "WrapperSection" },
13
- { title: "DataGrid", const: "DataGrid" },
13
+ { title: "Data Grid", const: "DataGrid" },
14
14
  { title: "Date", const: "Date" },
15
- { title: "DateTime", const: "DateTime" },
16
- { title: "Download File", const: "DownloadFile" },
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: "LeaderBoard", const: "LeaderBoard" },
23
- { title: "MultipleSelect", const: "MultipleSelect" },
24
- { title: "PanCardText", const: "PanCardText" },
25
- { title: "Popup Container", const: "PopUp" },
26
- { title: "ProgressBar", const: "ProgressBar" },
27
- { title: "ProgressBar Card", const: "ProgressBarCard" },
28
- { title: "Select", const: "Select" },
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: "SpeedoMeter", const: "SpeedoMeter" },
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 Progress Bar", const: "RunnerBoyProgressBar" },
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 File", const: "UploadFile" },
42
- { title: "TreeMap", const: "TreeMap" },
43
- { title: "ColumnGroup", const: "ColumnGroup" },
44
- { title: "Thought of the Day", const: "Thought" },
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
- type: "array",
207
- items:{
208
- oneOf: [
209
- { const: 'fuzzy', title: 'Fuzzy' },
210
- { const: 'contains', title: 'Contain' },
211
- { const: 'startsWith', title: 'Starts with' },
212
- { const: 'endsWith', title: 'Ends with' },
213
- { const: 'equals', title: 'Equals' },
214
- { const: 'notEquals', title: 'Not Equals' },
215
- { const: 'between', title: 'Between' },
216
- { const: 'betweenInclusive', title: 'Between inclusive' },
217
- { const: 'greaterThan', title: 'Greater than' },
218
- { const: 'greaterThanOrEqualTo', title: 'Greater than or equal to' },
219
- { const: 'lessThan', title: 'Less than' },
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
  },