impaktapps-ui-builder 0.0.412-mtreemap.1 → 0.0.412-mtreemap.11

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 (31) hide show
  1. package/dist/impaktapps-ui-builder.es.js +349 -297
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +9 -9
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +12 -10
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +5 -5
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
  10. package/package.json +1 -1
  11. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +2 -2
  12. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +27 -26
  13. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +2 -0
  14. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
  15. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +39 -38
  16. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +10 -9
  17. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +21 -28
  18. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -8
  19. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +155 -102
  20. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
  21. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +14 -0
  22. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +1 -1
  23. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
  24. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
  25. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +318 -285
  26. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
  27. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +346 -208
  28. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +70 -23
  29. package/src/impaktapps-ui-builder/builder/services/component.ts +17 -17
  30. package/src/impaktapps-ui-builder/builder/services/event.ts +7 -5
  31. package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -1
@@ -1,119 +1,172 @@
1
1
  export const EventSection = {
2
- type: "HorizontalLayout",
3
- elements: [
4
- {
5
- type: "Control",
6
- scope: "#/properties/events",
7
- options: {
8
- widget: "Table",
9
- },
10
- config: {
11
- main: {
12
- headerIcons: {
13
- elements: [
14
- {
15
- widget: {
16
- type: "Control",
17
- scope: "#/properties/New_Record",
18
-
19
- options: {
20
- widget: "IconButton",
21
- },
22
- config: {
23
- main: {
24
- color: "info",
25
- onClick: "eventAddHandler",
26
- size: "small",
27
- icon: "AddIcon",
28
- iconLabel: "Add New",
29
- styleDefault: true,
2
+ type: "HorizontalLayout",
3
+ elements: [
4
+ // {
5
+ // type: "WrapperLayout",
6
+ // config: {
7
+ // main: {
8
+ // // label: "Table Columns",
9
+ // divider: true,
10
+ // },
11
+ // wrapperStyle: {
12
+ // border:"1px solid gray"
13
+ // },
14
+ // },
15
+ // elements: [
16
+ // {
17
+ // type: "Control",
18
+ // scope: "#/properties/programType",
19
+
20
+ // options: {
21
+ // widget: "Box",
22
+ // },
23
+ // config: {
24
+ // layout: 8,
25
+ // main: {
26
+ // heading: "Event Table",
27
+ // },
28
+ // style: {
29
+ // fontFamily: "Roboto",
30
+ // fontWeight: "500",
31
+ // paddingLeft:"-10px",
32
+ // fontSize: "20px",},
33
+ // },
34
+ // },
35
+ // {
36
+ // type: "Control",
37
+ // scope: "#/properties/Back_Button",
38
+
39
+ // options: {
40
+ // widget: "IconButton",
41
+ // },
42
+ // config: {
43
+ // layout: 3,
44
+ // main: {
45
+ // icon: "AddIcon",
46
+ // styleDefault: true,
47
+ // size: "small",
48
+ // onClick: "eventAddHandler",
49
+ // tooltipMessage: "Back",
50
+ // },
51
+ // style: {
52
+ // float: "right",
53
+ // },
54
+ // },
55
+ // },
56
+ {
57
+ type: "Control",
58
+ scope: "#/properties/events",
59
+ options: {
60
+ widget: "Table",
61
+ },
62
+ config: {
63
+ main: {
64
+ headerIcons: {
65
+ elements: [
66
+ {
67
+ widget: {
68
+ type: "Control",
69
+ scope: "#/properties/New_Record",
70
+
71
+ options: {
72
+ widget: "IconButton",
30
73
  },
31
- style: {
32
- mt: "6px",
74
+ config: {
75
+ main: {
76
+ color: "info",
77
+ onClick: "eventAddHandler",
78
+ size: "small",
79
+ icon: "AddIcon",
80
+ iconLabel: "Add New",
81
+ styleDefault: true,
82
+ },
83
+ style: {
84
+ mt: "6px",
85
+ },
33
86
  },
34
- },
35
- }
36
- },
37
- ]
87
+ }
88
+ },
89
+ ]
90
+ },
91
+ disableAction: true,
92
+ disableSelection: true,
93
+ enableDrag: true,
94
+
38
95
  },
39
- disableAction: true,
40
- disableSelection: true,
41
- enableDrag: true,
42
-
43
96
  },
44
- },
45
- elements: [
46
-
47
- {
48
- accessorKey: "eventType",
49
- header: "Event Type",
50
- },
51
- {
52
- accessorKey: "Handler",
53
- header: "Handler",
54
- },
55
- {
56
- accessorKey: "Edit_Approve_Records",
57
- header: "Edit Widget",
97
+ elements: [
98
+
99
+ {
100
+ accessorKey: "eventType",
101
+ header: "Event Type",
102
+ },
103
+ {
104
+ accessorKey: "Handler",
105
+ header: "Handler",
106
+ },
107
+ {
108
+ accessorKey: "Edit_Approve_Records",
109
+ header: "Edit Widget",
58
110
 
59
- widget: {
60
- type: "Control",
61
- scope: "#/properties/Edit_Records",
62
- options: {
63
- widget: "IconButton",
64
- },
65
- config: {
66
- main: {
67
- color: "info",
68
- size: "small",
69
- icon: "EditIcon",
70
- tooltipMessage: "Edit This Record",
71
- onClick: "eventEditHandler",
111
+ widget: {
112
+ type: "Control",
113
+ scope: "#/properties/Edit_Records",
114
+ options: {
115
+ widget: "IconButton",
72
116
  },
73
- style: {
74
- color: "#3949ab",
117
+ config: {
118
+ main: {
119
+ color: "info",
120
+ size: "small",
121
+ icon: "EditIcon",
122
+ tooltipMessage: "Edit This Record",
123
+ onClick: "eventEditHandler",
124
+ },
125
+ style: {
126
+ color: "#3949ab",
127
+ },
75
128
  },
76
129
  },
77
130
  },
78
- },
79
- {
80
- accessorKey: "Reject_Records",
81
- header: "Delete",
131
+ {
132
+ accessorKey: "Reject_Records",
133
+ header: "Delete",
82
134
 
83
- widget: {
84
- type: "Control",
85
- scope: "#/properties/RejectButton",
86
- accessorKeyName: "Reject_Records",
87
- options: {
88
- widget: "IconButton",
89
- },
90
- config: {
91
- main: {
92
- icon: "RejectIcon",
93
- color: "error",
94
- tooltipMessage: "Reject This Record",
95
- onClick: "deleteEvent",
135
+ widget: {
136
+ type: "Control",
137
+ scope: "#/properties/RejectButton",
138
+ accessorKeyName: "Reject_Records",
139
+ options: {
140
+ widget: "IconButton",
141
+ },
142
+ config: {
143
+ main: {
144
+ icon: "RejectIcon",
145
+ color: "error",
146
+ tooltipMessage: "Reject This Record",
147
+ onClick: "deleteEvent",
148
+ },
96
149
  },
97
150
  },
98
151
  },
99
- },
100
- ]
101
- }]
102
- }
103
-
104
- export const EventSectionSchema = {
105
- events: {
106
- type: "array",
107
- items: {
108
- type: "object",
109
- properties: {
110
- eventType: {
111
- type: "string",
112
- },
113
- configType: {
114
- type: "string",
152
+ ]
153
+ }]}
154
+ // ]}
155
+
156
+ export const EventSectionSchema = {
157
+ events: {
158
+ type: "array",
159
+ items: {
160
+ type: "object",
161
+ properties: {
162
+ eventType: {
163
+ type: "string",
164
+ },
165
+ configType: {
166
+ type: "string",
167
+ },
115
168
  },
116
169
  },
117
170
  },
118
- },
119
- };
171
+ };
172
+
@@ -134,7 +134,7 @@ export const LineGraph = {
134
134
  leftLabel: "Incentive",
135
135
  gridHidden: true,
136
136
  numHidden: false,
137
- tooltipDataKey: ["First", "Second", "Third"],
137
+ tooltipDataKey: ["MAMA New Project", "Second", "Third"],
138
138
  axisLeft: true,
139
139
  axisBottom: true,
140
140
  hideLeftAxisLine: false,
@@ -29,6 +29,20 @@ export const refreshSectionUiSchema = {
29
29
  type: "Control",
30
30
  scope: "#/properties/emptyBox",
31
31
 
32
+ options: {
33
+ widget: "EmptyBox",
34
+ },
35
+ config: {
36
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
37
+ main: {
38
+
39
+ },
40
+ },
41
+ },
42
+ {
43
+ type: "Control",
44
+ scope: "#/properties/emptyBox",
45
+
32
46
  options: {
33
47
  widget: "EmptyBox",
34
48
  },
@@ -6,7 +6,7 @@ export const ValueTab = {
6
6
  {
7
7
  type: "Control",
8
8
  scope: "#/properties/value",
9
- layout: 11.5,
9
+ layout: 12,
10
10
  options: {
11
11
  detail: {
12
12
  type: "HorizontalLayout",
@@ -4,6 +4,7 @@ export default {
4
4
  main: {
5
5
  rowSpacing: 3,
6
6
  divider: true,
7
+ label: "Default Label",
7
8
  },
8
9
  defaultStyle: true,
9
10
  },
@@ -39,8 +39,6 @@ export const ComponentSchema: any = {
39
39
  { title: "Text Area", const: "TextArea" },
40
40
  { title: "Timer", const: "Timer" },
41
41
  { title: "Upload File", const: "UploadFile" },
42
- { title: "Timer", const: "Timer" },
43
- { title: "Upload File", const: "UploadFile" },
44
42
  { title: "TreeMap", const: "TreeMap" },
45
43
  { title: "ColumnGroup", const: "ColumnGroup" },
46
44
  ]