impaktapps-ui-builder 1.0.621 → 1.0.622

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 (100) hide show
  1. package/dist/impaktapps-ui-builder.es.js +2002 -897
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +15 -15
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildAreaGraph.d.ts +2 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.d.ts +1 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/buildImage.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/buildMetricCard.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
  14. package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
  15. package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
  17. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +2 -1
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +4 -1
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +1 -1
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -171
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +18 -50
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +50 -4
  24. package/dist/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.d.ts +22 -0
  25. package/dist/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.d.ts +13 -0
  26. package/dist/src/impaktapps-ui-builder/builder/build/uischema/metricCard.d.ts +17 -0
  27. package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
  28. package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
  29. package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
  30. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +15 -66
  31. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +3 -1
  32. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
  33. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -0
  34. package/dist/src/impaktapps-ui-builder/runtime/services/downloadFile.d.ts +5 -2
  35. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +8 -4
  36. package/package.json +1 -1
  37. package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +66 -0
  38. package/src/impaktapps-ui-builder/builder/build/buildArray.ts +13 -0
  39. package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
  40. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
  41. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +23 -9
  42. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +35 -13
  43. package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +7 -0
  44. package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +4 -0
  45. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -28
  46. package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
  47. package/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.ts +35 -0
  48. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +9 -3
  49. package/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.ts +15 -0
  50. package/src/impaktapps-ui-builder/builder/build/buildImage.ts +38 -0
  51. package/src/impaktapps-ui-builder/builder/build/buildLabel.ts +3 -0
  52. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +3 -0
  53. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +9 -3
  54. package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +37 -0
  55. package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +9 -0
  56. package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
  57. package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
  58. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +6 -3
  59. package/src/impaktapps-ui-builder/builder/build/buildPop.ts +1 -0
  60. package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
  61. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
  62. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +10 -2
  63. package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +9 -0
  64. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +9 -3
  65. package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
  66. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +5 -0
  67. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +21 -11
  68. package/src/impaktapps-ui-builder/builder/build/buildText.ts +9 -0
  69. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +144 -124
  70. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
  71. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +7 -2
  72. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +4 -1
  73. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +315 -21
  74. package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
  75. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -169
  76. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +74 -19
  77. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +30 -54
  78. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +1 -1
  79. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +37 -4
  80. package/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.ts +13 -0
  81. package/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.ts +11 -0
  82. package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +13 -0
  83. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +2 -0
  84. package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
  85. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +2 -0
  86. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +34 -60
  87. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +3 -1
  88. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +219 -75
  89. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +61 -1
  90. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +94 -106
  91. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +4 -3
  92. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +31 -55
  93. package/src/impaktapps-ui-builder/builder/services/component.ts +174 -86
  94. package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
  95. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -15
  96. package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
  97. package/src/impaktapps-ui-builder/lib/index.ts +10 -9
  98. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +42 -22
  99. package/src/impaktapps-ui-builder/runtime/services/events.ts +9 -11
  100. package/src/impaktapps-ui-builder/runtime/services/service.ts +118 -158
@@ -1,196 +1,169 @@
1
- export default function Card(theme){
2
- const uiSchema = {
1
+ export default function Card(theme) {
2
+ const uiSchema =
3
+ {
3
4
  type: "WrapperLayout",
4
5
  config: {
5
6
  main: {},
6
- wrapperStyle: {
7
- position: "relative",
8
- top: "50%",
9
- transform: "translateY(-50%)",
10
- marginBottom: 0
11
- },
12
- componentsBoxStyle: {
13
- boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
14
- flexDirection: "row",
15
- flexWrap: "nowrap",
16
- width: "100% !important",
17
- background: "transparent",
18
- border: `1.5px solid ${theme.palette.primary.light}`,
19
- borderRadius: "8px",
20
- padding: "0px 4px",
21
- height: "100%",
22
- alignItems: "center",
23
- marginLeft: "0px",
24
- "&: hover": {
25
- background: `${theme.palette.primary.main}`,
26
- border: `1.5px solid black`,
27
- "& p": {
28
- color: "white",
7
+ style: {
8
+ wrapperStyle: {
9
+ position: "relative",
10
+ top: "50%",
11
+ transform: "translateY(-50%)",
12
+ marginBottom: 0,
13
+ borderRadius: "12px",
14
+ fontFamily:"poppins"
15
+ },
16
+ componentsBoxStyle: {
17
+ boxShadow: "0 0 6px 1px rgba(149, 147, 147, 0.25)",
18
+ flexDirection: "column",
19
+ overflow: "hidden",
20
+ flexWrap: "nowrap",
21
+ width: "100% !important",
22
+ background: "transparent",
23
+ // border: `1.5px solid ${theme.palette.primary.light}`,
24
+ borderRadius: "12px",
25
+ padding: "20px 20px 20px 14px",
26
+ height: "100%",
27
+ minHeight: "100px",
28
+ position: "relative",
29
+ marginLeft: "0px",
30
+ "&: hover": {
31
+ background: `${theme.palette.primary.main}`,
32
+ color: `${theme.palette.primary.contrastText}`,
33
+ // border: `1.5px solid black`,
34
+ // "& p": {
35
+ // color: "white",
36
+ // },
29
37
  },
30
38
  },
31
39
  },
32
- layout: { xs: 12, sm: 12, md: 6, lg: 6 },
40
+
41
+ layout: { xs: 12, sm: 12, md: 3, lg: 3 },
33
42
  },
34
43
  elements: [
35
- {
36
- type: "HorizontalLayout",
44
+ {
45
+ type: "Control",
46
+ scope: "#/properties/initilCardScope",
37
47
  config: {
38
- layout: 8,
39
- },
40
- elements: [
41
- {
42
- type: "WrapperLayout",
43
- config: {
44
- main: {
45
- columnSpacing: 0,
46
- gap: 0,
47
- },
48
- wrapperStyle: {
49
- background: "transparent",
50
- marginBottom: 0
51
- },
52
- componentsBoxStyle: {
53
- flexDirection: "column",
54
- flexWrap: "nowrap",
55
- width: "100%",
56
- height: "inherit",
57
- background: "transparent",
58
- borderRadius: "0px",
59
- },
60
- layout: 12,
48
+ main: {
49
+ url: "https://www.svgrepo.com/show/500606/loading.svg",
50
+ },
51
+ style: {
52
+ containerStyle: {
53
+ position: "absolute",
54
+ color:"inherit",
55
+ top: "4px",
56
+ right: "4px",
57
+ display: "flex",
58
+ justifyContent: "flex-end",
59
+ alignItems: "flex-start",
60
+ },
61
+ imageStyle: {
62
+ color:"inherit",
63
+ width: "32px",
64
+ height: "32px",
65
+ padding: "0px",
66
+ margin: "0px",
61
67
  },
62
- elements: [
63
- {
64
- type: "WrapperLayout",
65
- config: {
66
- main: {
67
- columnSpacing: 0,
68
- gap: 0,
69
- },
70
- wrapperStyle: {
71
- background: "transparent",
72
- marginBottom: 0
73
- },
74
- componentsBoxStyle: {
75
- flexDirection: "row",
76
- flexWrap: "nowrap",
77
- width: "100%",
78
- height: "0",
79
- background: "transparent",
80
- borderRadius: "0px",
81
- marginLeft: "-10px",
82
- marginTop: "-8px",
83
- justifyContent: "start",
84
- position: "relative"
85
- },
86
- layout: 12,
87
- },
88
- elements: [
89
- {
90
- type: "Control",
91
- scope: "#/properties/programType",
92
- config: {
93
- main: {
94
- heading: "",
95
- },
96
- style: {
97
- color: "black",
98
- display: "flex",
99
- fontSize: { xs: "24px", md: "28px" },
100
- fontWeight: "bold",
101
- background: "inherit",
102
- justifyContent: "flex-start",
103
- width: "auto",
104
- margin: "-8px",
105
- marginLeft: "-24px",
106
- height: 0
107
- },
108
- // layout: 1,
109
- },
110
- options: {
111
- widget: "Box",
112
- },
113
- },
114
- {
115
- type: "Control",
116
- scope: "#/properties/programType",
117
- config: {
118
- main: {
119
- heading: "5000.00",
120
- },
121
- style: {
122
- color: "black",
123
- display: "flex",
124
- fontSize: { xs: "24px", md: "28px" },
125
- fontWeight: "bold",
126
- background: "inherit",
127
- justifyContent: "flex-start",
128
- width: "auto",
129
- margin: "-8px",
130
- position: "absolute",
131
- left: "24px"
132
- },
133
- // layout: 11,
134
- },
135
- options: {
136
- widget: "Box",
137
- },
138
- },
139
- ],
140
- },
141
- {
142
- type: "Control",
143
- scope: "#/properties/programType",
144
- config: {
145
- main: {
146
- heading: "Total Earnings",
147
- },
148
- style: {
149
- color: "black",
150
- fontSize: "16px",
151
- justifyContent: "center",
152
- textWrap: "wrap",
153
- background: "inherit",
154
- width: "calc(100%+8px)",
155
- margin: "-8px",
156
- marginTop: {xs: "16px", md: "20px"},
157
- },
158
- layout: 12,
159
- },
160
-
161
- options: {
162
- widget: "Box",
163
- },
164
- },
165
- ],
166
68
  },
167
- ],
69
+ },
70
+ options: {
71
+ widget: "Image",
72
+ },
168
73
  },
169
74
  {
170
75
  type: "Control",
171
- scope: "#/properties/programType",
76
+ scope: "#/properties/initilCardScope",
172
77
  config: {
173
78
  main: {
174
- url: "https://www.svgrepo.com/show/500606/loading.svg",
79
+ heading: "Total Earnings",
175
80
  },
176
81
  style: {
177
- containerStyle: {
178
- height: "100%",
82
+ color: "inherit",
83
+ fontSize: "16px",
84
+ fontWeight: 300,
85
+ fontFamily:"Poppins",
86
+ justifyContent: "flex-start",
87
+ background: "inherit",
88
+ position: "absolute",
89
+ top: "8px",
90
+ left: "12px",
179
91
  display: "flex",
180
- justifyContent: "end",
92
+ maxWidth: "200px",
93
+ whiteSpace: "nowrap",
94
+ overflowX: "auto",
95
+ scrollbarWidth: "none",
96
+ "&::-webkit-scrollbar": {
97
+ display: "none",
181
98
  },
182
- imageStyle: {
183
- width: "unset",
184
- fontSize: "none",
185
- padding: "4px",
186
- margin: "0px 0px 0px 8px",
187
- height: "64px",
99
+ },
100
+ },
101
+ options: {
102
+ widget: "Box",
103
+ },
104
+ },
105
+ {
106
+ type: "Control",
107
+ scope: "#/properties/initilCardScope",
108
+ config: {
109
+ main: {
110
+ heading: "5000.00",
111
+ },
112
+ style: {
113
+ color: "inherit",
114
+ display: "flex",
115
+ fontSize: { xs: "22px", md: "40px" },
116
+ fontWeight: 600,
117
+ background: "inherit",
118
+ justifyContent: "flex-start",
119
+ width: "100%",
120
+ margin: "0px",
121
+ marginBottom: "4px",
122
+ marginTop: "8px",
123
+ lineHeight: "1",
124
+ maxWidth: "300px",
125
+ whiteSpace: "nowrap",
126
+ overflowX: "auto",
127
+ overflowY: "hidden",
128
+ scrollbarWidth: "none",
129
+
130
+ "&::-webkit-scrollbar": {
131
+ display: "none",
188
132
  },
189
133
  },
190
- layout: 4,
191
134
  },
192
135
  options: {
193
- widget: "Image",
136
+ widget: "Box",
137
+ },
138
+ },
139
+ {
140
+ type: "Control",
141
+ scope: "#/properties/initilCardScope",
142
+ config: {
143
+ main: {
144
+ heading: "Increased from last month",
145
+ },
146
+ style: {
147
+ color: "inherit",
148
+ fontSize: "12px",
149
+ fontWeight: "400",
150
+ justifyContent: "flex-start",
151
+ background: "inherit",
152
+ margin: "0px",
153
+ paddingLeft: "2px",
154
+ marginBottom:"8px",
155
+ maxWidth: "200px",
156
+ whiteSpace: "nowrap",
157
+ overflowX: "auto",
158
+ scrollbarWidth: "none",
159
+
160
+ "&::-webkit-scrollbar": {
161
+ display: "none",
162
+ },
163
+ },
164
+ },
165
+ options: {
166
+ widget: "Box",
194
167
  },
195
168
  },
196
169
  ],
@@ -62,20 +62,76 @@ export const CoreSection = {
62
62
  },
63
63
  },
64
64
  },
65
- // {
66
- // type: "Control",
67
- // scope: "#/properties/columnFormat",
68
- // options: {
69
- // widget: "SelectInputField",
70
- // },
71
- // config: {
72
- // layout: { xs: 6, sm: 6, md: 4, lg: 3 },
73
- // main: {
74
- // label: "Column Format",
75
-
76
- // },
77
- // },
78
- // },
65
+ {
66
+ type: "Control",
67
+ scope: "#/properties/proc5",
68
+ config: {
69
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
70
+ },
71
+ options: {
72
+ widget: "EmptyBox",
73
+ },
74
+ },
75
+ {
76
+ type: "Control",
77
+ scope: "#/properties/proc6",
78
+ config: {
79
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
80
+ },
81
+ options: {
82
+ widget: "EmptyBox",
83
+ },
84
+ },
85
+ {
86
+ type: "Control",
87
+ scope: "#/properties/proc7",
88
+ config: {
89
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
90
+ },
91
+ options: {
92
+ widget: "EmptyBox",
93
+ },
94
+ },
95
+ {
96
+ type: "Control",
97
+ scope: "#/properties/proc8",
98
+ config: {
99
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
100
+ },
101
+ options: {
102
+ widget: "EmptyBox",
103
+ },
104
+ },
105
+ {
106
+ type: "Control",
107
+ scope: "#/properties/proc9",
108
+ config: {
109
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
110
+ },
111
+ options: {
112
+ widget: "EmptyBox",
113
+ },
114
+ },
115
+ {
116
+ type: "Control",
117
+ scope: "#/properties/proc10",
118
+ config: {
119
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
120
+ },
121
+ options: {
122
+ widget: "EmptyBox",
123
+ },
124
+ },
125
+ {
126
+ type: "Control",
127
+ scope: "#/properties/proc11",
128
+ config: {
129
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
130
+ },
131
+ options: {
132
+ widget: "EmptyBox",
133
+ },
134
+ },
79
135
  {
80
136
  type: "Control",
81
137
  scope: "#/properties/proc",
@@ -117,7 +173,6 @@ export const CoreSection = {
117
173
  layout: { xs: 6, sm: 6, md: 4, lg: 4 },
118
174
  main: {
119
175
  label: "Screen Size",
120
-
121
176
  },
122
177
  },
123
178
  },
@@ -132,11 +187,11 @@ export const CoreSection = {
132
187
  layout: { xs: 6, sm: 6, md: 4, lg: 4 },
133
188
  main: {
134
189
  label: "Value",
135
- type:"number",
190
+ type: "number",
136
191
  // freeSolo:true,
137
- helperText:'Number should be in range of 0 to 12',
138
- errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
139
-
192
+ helperText: 'Number should be in range of 0 to 12',
193
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0.",
194
+
140
195
  },
141
196
  },
142
197
  },
@@ -74,95 +74,71 @@ export const EventSection = (theme)=>{
74
74
  enableDrag: true,
75
75
 
76
76
  },
77
- },
78
- elements: [
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: "IconButton",
82
+ widget: "Button",
102
83
  },
103
84
  config: {
104
85
  main: {
105
86
  size: "small",
106
- icon: "TableEditIcon",
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: "IconButton",
99
+ widget: "Button",
130
100
  },
131
101
  config: {
132
102
  main: {
133
- icon: "Bin",
103
+ startIcon: "Bin",
134
104
  tooltipMessage: "Reject This Record",
135
105
  onClick: "deletePopUpEvent",
136
- },
137
- style: {
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: "IconButton",
115
+ widget: "Button",
156
116
  },
157
117
  config: {
158
118
  main: {
159
- icon: "FileCopyIcon",
119
+ startIcon: "FileCopyIcon",
160
120
  onClick: "copyPasteElement",
161
121
  tooltipMessage: "Reject This Record",
162
- styleDefault: true,
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
  }]}
@@ -35,4 +35,4 @@ export const downloadFile = {
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:{}} ,barStyle:{} }
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:{}} ,pieStyle:{} }
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:{}} ,lineStyle:{} },
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:{}} ,barStyle:{} }
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
+
@@ -0,0 +1,13 @@
1
+ export const HierarchyChart = {
2
+ type: "Control",
3
+ scope: "#/properties/HierarchyChart",
4
+ options: {
5
+ widget: "HierarchyChart",
6
+ },
7
+ config: {
8
+ layout: {xs :12,sm:12,md:12,lg:12},
9
+ main: {
10
+ },
11
+ style:{ containerStyle: {},labelStyle:{margin:{}} }
12
+ },
13
+ };
@@ -0,0 +1,11 @@
1
+ export default {
2
+ type: "HorizontalLayout",
3
+ config: {
4
+ layout: 12,
5
+ main: {
6
+ rowSpacing: 3,
7
+ divider: false,
8
+ },
9
+ defaultStyle: true,
10
+ },
11
+ elements: []}