impaktapps-ui-builder 0.0.412-mtreemap.3 → 0.0.412-mtreemap.30
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 +1189 -585
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +13 -13
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +12 -10
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +5 -5
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +2 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +8 -5
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +25 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +3 -2
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +4 -4
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +27 -26
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -5
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +48 -66
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +10 -9
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +21 -28
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -8
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +107 -103
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -118
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +9 -5
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +14 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +93 -137
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +487 -283
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +515 -204
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +104 -98
- package/src/impaktapps-ui-builder/builder/services/component.ts +39 -21
- package/src/impaktapps-ui-builder/builder/services/event.ts +16 -6
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -2
- package/src/impaktapps-ui-builder/runtime/services/events.ts +28 -34
- package/src/impaktapps-ui-builder/runtime/services/service.ts +112 -4
|
@@ -1,150 +1,106 @@
|
|
|
1
|
-
export const TableSection = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
// options: {
|
|
21
|
-
// widget: "Box",
|
|
22
|
-
// },
|
|
23
|
-
// config: {
|
|
24
|
-
// layout: 8,
|
|
25
|
-
// main: {
|
|
26
|
-
// heading: "Components 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: "widgetAddClickHandler",
|
|
49
|
-
// tooltipMessage: "Add New",
|
|
50
|
-
// },
|
|
51
|
-
// style: {
|
|
52
|
-
// float: "right",
|
|
53
|
-
// },
|
|
54
|
-
// },
|
|
55
|
-
// },
|
|
56
|
-
{
|
|
57
|
-
type: "Control",
|
|
58
|
-
scope: "#/properties/elements",
|
|
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",
|
|
1
|
+
export const TableSection = (theme) => {
|
|
2
|
+
const uiSchema = {
|
|
3
|
+
type: "HorizontalLayout",
|
|
4
|
+
elements: [
|
|
5
|
+
{
|
|
6
|
+
type: "Control",
|
|
7
|
+
scope: "#/properties/elements",
|
|
8
|
+
options: {
|
|
9
|
+
widget: "Table",
|
|
10
|
+
},
|
|
11
|
+
config: {
|
|
12
|
+
main: {
|
|
13
|
+
headerIcons: {
|
|
14
|
+
elements: [
|
|
15
|
+
{
|
|
16
|
+
widget: {
|
|
17
|
+
type: "Control",
|
|
18
|
+
scope: "#/properties/New_Record",
|
|
70
19
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
config: {
|
|
75
|
-
main: {
|
|
76
|
-
color: "info",
|
|
77
|
-
onClick: "widgetAddClickHandler",
|
|
78
|
-
size: "small",
|
|
79
|
-
icon: "AddIcon",
|
|
80
|
-
iconLabel: "Add New",
|
|
81
|
-
styleDefault: true,
|
|
20
|
+
options: {
|
|
21
|
+
widget: "IconButton",
|
|
82
22
|
},
|
|
83
|
-
|
|
84
|
-
|
|
23
|
+
config: {
|
|
24
|
+
main: {
|
|
25
|
+
color: "info",
|
|
26
|
+
onClick: "widgetAddClickHandler",
|
|
27
|
+
size: "small",
|
|
28
|
+
icon: "AddIcon",
|
|
29
|
+
iconLabel: "Add New",
|
|
30
|
+
styleDefault: true,
|
|
31
|
+
},
|
|
32
|
+
style: {
|
|
33
|
+
mt: "6px",
|
|
34
|
+
},
|
|
85
35
|
},
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
enableDrag: true,
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
disableAction: true,
|
|
41
|
+
disableSelection: true,
|
|
42
|
+
enableDrag: true,
|
|
94
43
|
|
|
44
|
+
},
|
|
95
45
|
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
46
|
+
elements: [
|
|
47
|
+
{
|
|
48
|
+
accessorKey: "name",
|
|
49
|
+
header: "Name"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
accessorKey: "type",
|
|
53
|
+
header: "Type"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
header: "Edit Record",
|
|
57
|
+
field: "Reject_Records",
|
|
58
|
+
flex: 1,
|
|
59
|
+
widget: {
|
|
60
|
+
type: "Control",
|
|
61
|
+
scope: "#/properties/RejectButton",
|
|
62
|
+
options: {
|
|
63
|
+
widget: "IconButton",
|
|
64
|
+
},
|
|
65
|
+
config: {
|
|
66
|
+
main: {
|
|
67
|
+
icon: "EditIcon",
|
|
68
|
+
color: "primary",
|
|
69
|
+
onClick: "editComponents",
|
|
70
|
+
tooltipMessage: "Reject This Record",
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
style: {
|
|
74
|
+
color: theme.palette.primary.main,
|
|
75
|
+
},
|
|
122
76
|
},
|
|
123
77
|
},
|
|
124
78
|
},
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
79
|
+
{
|
|
80
|
+
header: "Delete",
|
|
81
|
+
field: "Reject_Records",
|
|
82
|
+
flex: 1,
|
|
83
|
+
widget: {
|
|
84
|
+
type: "Control",
|
|
85
|
+
scope: "#/properties/RejectButton",
|
|
86
|
+
options: {
|
|
87
|
+
widget: "IconButton",
|
|
88
|
+
},
|
|
89
|
+
config: {
|
|
90
|
+
main: {
|
|
91
|
+
icon: "RejectIcon",
|
|
92
|
+
color: "error",
|
|
93
|
+
onClick: "deletePopUpComponent",
|
|
94
|
+
tooltipMessage: "Reject This Record",
|
|
95
|
+
},
|
|
142
96
|
},
|
|
143
97
|
},
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
]
|
|
147
|
-
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}]
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return uiSchema
|
|
148
104
|
}
|
|
149
105
|
// ]}
|
|
150
106
|
|
|
@@ -37,8 +37,6 @@ export const ComponentSchema: any = {
|
|
|
37
37
|
{ title: "Tabs", const: "TabSection" },
|
|
38
38
|
{ title: "Text", const: "Text" },
|
|
39
39
|
{ title: "Text Area", const: "TextArea" },
|
|
40
|
-
// { title: "Timer", const: "Timer" },
|
|
41
|
-
// { title: "Upload File", const: "UploadFile" },
|
|
42
40
|
{ title: "Timer", const: "Timer" },
|
|
43
41
|
{ title: "Upload File", const: "UploadFile" },
|
|
44
42
|
{ title: "TreeMap", const: "TreeMap" },
|