impaktapps-ui-builder 0.0.595 → 0.0.751

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 (82) hide show
  1. package/dist/impaktapps-ui-builder.es.js +2200 -1675
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +14 -14
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildTable.d.ts +0 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +23 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +0 -1
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +170 -82
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +55 -2
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +52 -23
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -301
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
  17. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +50 -2
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/{lazyLoadingTable.d.ts → thoughtOfTheDay.d.ts} +6 -4
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/timer.d.ts +1 -14
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +1 -1
  21. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +3 -0
  22. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +3 -0
  23. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +8 -2
  24. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +5 -0
  25. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +5 -0
  26. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +4 -4
  27. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -1
  28. package/package.json +5 -1
  29. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +11 -7
  30. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  32. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +21 -13
  33. package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +1 -1
  34. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +18 -13
  35. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -2
  36. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +7 -16
  37. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +1 -1
  38. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  39. package/src/impaktapps-ui-builder/builder/build/buildRankCard.ts +4 -10
  40. package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +1 -1
  41. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +19 -4
  42. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +23 -29
  43. package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
  44. package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +22 -0
  45. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +27 -12
  46. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
  47. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
  48. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +111 -56
  49. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -2
  50. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +188 -90
  51. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
  52. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
  53. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +44 -0
  54. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -2
  55. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -29
  56. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -367
  57. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  58. package/src/impaktapps-ui-builder/builder/build/uischema/progressBar.ts +1 -1
  59. package/src/impaktapps-ui-builder/builder/build/uischema/rankCard.ts +1 -1
  60. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +3 -3
  61. package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
  62. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
  63. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +45 -1
  64. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
  65. package/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.ts +14 -0
  66. package/src/impaktapps-ui-builder/builder/build/uischema/timer.ts +2 -16
  67. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +3 -3
  68. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
  69. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +37 -2
  70. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +283 -182
  71. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +4 -1
  72. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +344 -130
  73. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +4 -1
  74. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +194 -80
  75. package/src/impaktapps-ui-builder/builder/services/component.ts +105 -26
  76. package/src/impaktapps-ui-builder/builder/services/event.ts +50 -9
  77. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +32 -14
  78. package/src/impaktapps-ui-builder/builder/services/utils.ts +13 -13
  79. package/src/impaktapps-ui-builder/lib/index.ts +1 -1
  80. package/src/impaktapps-ui-builder/runtime/services/events.ts +26 -23
  81. package/src/impaktapps-ui-builder/runtime/services/service.ts +52 -52
  82. package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -15
@@ -1,98 +1,196 @@
1
- export default {
2
- type: "WrapperLayout",
3
- config: {
4
- main: {
5
- rowSpacing: 0.5,
6
- },
7
- componentsBoxStyle: {
8
- position: "relative",
9
- color: "white",
10
- height: { xs: "120px", md: "160px" },
11
- width: "100%",
12
- textAlign: "left",
13
- background: "#3f51b5",
14
- borderRadius: "20px",
15
- },
16
- layout: { xs: 12, sm: 12, md: 6, lg: 6, },
17
- },
18
- elements: [
19
- {
20
- type: "Control",
21
- scope: "#/properties/programType",
22
- config: {
23
- main: {
24
- heading: "$5000.00",
25
- },
26
- style: {
27
- position: "absolute",
28
- left: "10%",
29
- top: "15%",
30
- color: "#f5effc",
31
- height: "80px",
32
- display: "flex",
33
- fontSize: { xs: "24px", md: "32px" },
34
- alignItems: "center",
35
- background: "inherit",
36
- justifyContent: "flex-start",
37
-
38
- },
39
- layout: 5,
1
+ export default function Card(theme){
2
+ const uiSchema = {
3
+ type: "WrapperLayout",
4
+ config: {
5
+ main: {},
6
+ wrapperStyle: {
7
+ position: "relative",
8
+ top: "50%",
9
+ transform: "translateY(-50%)"
40
10
  },
41
- options: {
42
- widget: "Box",
11
+ componentsBoxStyle: {
12
+ boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
13
+ flexDirection: "row",
14
+ flexWrap: "nowrap",
15
+ width: "100% !important",
16
+ background: "transparent",
17
+ border: `1.5px solid ${theme.palette.primary.light}`,
18
+ borderRadius: "8px",
19
+ padding: "0px 4px",
20
+ height: "100%",
21
+ alignItems: "center",
22
+ marginLeft: "0px",
23
+ "&: hover": {
24
+ background: `${theme.palette.primary.main}`,
25
+ border: `1.5px solid black`,
26
+ "& p": {
27
+ color: "white",
28
+ },
29
+ },
43
30
  },
31
+ layout: { xs: 12, sm: 12, md: 6, lg: 6 },
44
32
  },
45
- {
46
- type: "Control",
47
- scope: "#/properties/programType",
48
- config: {
49
- main: {
50
- url: "https://www.svgrepo.com/show/500606/loading.svg",
33
+ elements: [
34
+ {
35
+ type: "HorizontalLayout",
36
+ config: {
37
+ layout: 8,
51
38
  },
52
- style: {
53
- color: "#f5effc",
54
- objectFit: "contain",
55
- position: "absolute",
56
- top: "10px",
57
- right: "10px",
58
- height: "80%",
59
- width: "35%",
60
- display: "flex",
61
- fontSize: "34px",
62
- alignItems: "center",
63
- background: "inherit",
64
- padding: "20px",
65
- justifyContent: "left",
66
- },
67
- layout: 5,
68
- },
69
- options: {
70
- widget: "Image",
39
+ elements: [
40
+ {
41
+ type: "WrapperLayout",
42
+ config: {
43
+ main: {
44
+ columnSpacing: 0,
45
+ gap: 0,
46
+ },
47
+ wrapperStyle: {
48
+ background: "transparent",
49
+ },
50
+ componentsBoxStyle: {
51
+ flexDirection: "column",
52
+ flexWrap: "nowrap",
53
+ width: "100%",
54
+ height: "inherit",
55
+ background: "transparent",
56
+ borderRadius: "0px",
57
+ },
58
+ layout: 12,
59
+ },
60
+ elements: [
61
+ {
62
+ type: "WrapperLayout",
63
+ config: {
64
+ main: {
65
+ columnSpacing: 0,
66
+ gap: 0,
67
+ },
68
+ wrapperStyle: {
69
+ background: "transparent",
70
+ },
71
+ componentsBoxStyle: {
72
+ flexDirection: "row",
73
+ flexWrap: "nowrap",
74
+ width: "100%",
75
+ height: "0",
76
+ background: "transparent",
77
+ borderRadius: "0px",
78
+ marginLeft: "-10px",
79
+ marginTop: "-8px",
80
+ justifyContent: "start",
81
+ position: "relative"
82
+ },
83
+ layout: 12,
84
+ },
85
+ elements: [
86
+ {
87
+ type: "Control",
88
+ scope: "#/properties/programType",
89
+ config: {
90
+ main: {
91
+ heading: "",
92
+ },
93
+ style: {
94
+ color: "black",
95
+ display: "flex",
96
+ fontSize: { xs: "24px", md: "28px" },
97
+ fontWeight: "bold",
98
+ background: "inherit",
99
+ justifyContent: "flex-start",
100
+ width: "auto",
101
+ margin: "-8px",
102
+ height: 0
103
+ },
104
+ // layout: 1,
105
+ },
106
+ options: {
107
+ widget: "Box",
108
+ },
109
+ },
110
+ {
111
+ type: "Control",
112
+ scope: "#/properties/programType",
113
+ config: {
114
+ main: {
115
+ heading: "5000.00",
116
+ },
117
+ style: {
118
+ color: "black",
119
+ display: "flex",
120
+ fontSize: { xs: "24px", md: "28px" },
121
+ fontWeight: "bold",
122
+ background: "inherit",
123
+ justifyContent: "flex-start",
124
+ width: "auto",
125
+ margin: "-8px",
126
+ position: "absolute",
127
+ left: "8px"
128
+ },
129
+ // layout: 11,
130
+ },
131
+ options: {
132
+ widget: "Box",
133
+ },
134
+ },
135
+ ],
136
+ },
137
+ {
138
+ type: "Control",
139
+ scope: "#/properties/programType",
140
+ config: {
141
+ main: {
142
+ heading: "Total Earnings",
143
+ },
144
+ style: {
145
+ color: "black",
146
+ fontSize: "16px",
147
+ justifyContent: "center",
148
+ textWrap: "wrap",
149
+ background: "inherit",
150
+ width: "calc(100%+8px)",
151
+ margin: "-8px",
152
+ marginTop: "12px",
153
+ lineHeight: "1",
154
+ },
155
+ layout: 12,
156
+ },
157
+
158
+ options: {
159
+ widget: "Box",
160
+ },
161
+ },
162
+ ],
163
+ },
164
+ ],
71
165
  },
72
- },
73
- {
74
- type: "Control",
75
- scope: "#/properties/programType",
76
- config: {
77
- main: {
78
- heading: "Total Earnings",
166
+ {
167
+ type: "Control",
168
+ scope: "#/properties/programType",
169
+ config: {
170
+ main: {
171
+ url: "https://www.svgrepo.com/show/500606/loading.svg",
172
+ },
173
+ style: {
174
+ containerStyle: {
175
+ height: "100%",
176
+ display: "flex",
177
+ justifyContent: "end",
178
+ },
179
+ imageStyle: {
180
+ fontSize: "none",
181
+ padding: "4px",
182
+ margin: "0px 0px 0px 8px",
183
+ height: "64px",
184
+ },
185
+ },
186
+ layout: 4,
79
187
  },
80
- style: {
81
- position: "absolute",
82
- top: "calc(60%)",
83
- alignItems: "center",
84
- color: "#8999e8",
85
- fontSize: "16px",
86
- left: "10%",
87
- background: "inherit",
88
- justifyContent: "center",
188
+ options: {
189
+ widget: "Image",
89
190
  },
90
- layout: 12,
91
191
  },
92
-
93
- options: {
94
- widget: "Box",
95
- },
96
- },
97
- ],
98
- };
192
+ ],
193
+ };
194
+
195
+ return uiSchema
196
+ }
@@ -9,7 +9,7 @@ export const CoreSection = {
9
9
  widget: "SelectInputField",
10
10
  },
11
11
  config: {
12
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
12
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
13
13
  main: {
14
14
  label: "Type",
15
15
  type: "text",
@@ -24,7 +24,7 @@ export const CoreSection = {
24
24
  widget: "InputField",
25
25
  },
26
26
  config: {
27
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
27
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
28
28
  main: {
29
29
  label: "Name",
30
30
  },
@@ -38,7 +38,7 @@ export const CoreSection = {
38
38
  widget: "InputField",
39
39
  },
40
40
  config: {
41
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
41
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
42
42
  main: {
43
43
  label: "Label",
44
44
  },
@@ -51,7 +51,7 @@ export const CoreSection = {
51
51
  widget: "SelectInputField",
52
52
  },
53
53
  config: {
54
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
54
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
55
55
  main: {
56
56
  label: "Column Format",
57
57
 
@@ -62,7 +62,7 @@ export const CoreSection = {
62
62
  type: "Control",
63
63
  scope: "#/properties/proc",
64
64
  config: {
65
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
65
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
66
66
  },
67
67
  options: {
68
68
  widget: "EmptyBox",
@@ -72,7 +72,7 @@ export const CoreSection = {
72
72
  type: "Control",
73
73
  scope: "#/properties/proc",
74
74
  config: {
75
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
75
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
76
76
  },
77
77
  options: {
78
78
  widget: "EmptyBox",
@@ -95,7 +95,7 @@ export const CoreSection = {
95
95
  widget: "SelectInputField",
96
96
  },
97
97
  config: {
98
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
98
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
99
99
  main: {
100
100
  label: "Screen Size",
101
101
 
@@ -110,7 +110,7 @@ export const CoreSection = {
110
110
  widget: "InputField",
111
111
  },
112
112
  config: {
113
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
113
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
114
114
  main: {
115
115
  label: "Value",
116
116
  type:"number",
@@ -124,7 +124,7 @@ export const CoreSection = {
124
124
  type: "Control",
125
125
  scope: "#/properties/proc",
126
126
  config: {
127
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
127
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
128
128
  },
129
129
  options: {
130
130
  widget: "EmptyBox",
@@ -152,7 +152,7 @@ export const OptionArray: any = {
152
152
  widget: "SelectInputField",
153
153
  },
154
154
  config: {
155
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
155
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
156
156
  main: {
157
157
  label: "Label",
158
158
  },
@@ -166,7 +166,7 @@ export const OptionArray: any = {
166
166
  widget: "InputField",
167
167
  },
168
168
  config: {
169
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
169
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
170
170
  main: {
171
171
  label: "Value",
172
172
  helperText: 'Number should be in range of 0 to 12',
@@ -5,8 +5,8 @@ export default {
5
5
  widget: "DateInputField",
6
6
  },
7
7
 
8
- config: {
9
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8
+ config: {
9
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
10
10
  main: {
11
11
  label: "",
12
12
  type: "date",
@@ -21,7 +21,7 @@ export const DateTime = {
21
21
  },
22
22
 
23
23
  config: {
24
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
24
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
25
25
  main: {
26
26
  label: "DateTime",
27
27
  type: "date",
@@ -35,6 +35,29 @@ export const EventSection = (theme)=>{
35
35
  },
36
36
  }
37
37
  },
38
+ {
39
+ widget: {
40
+ type: "Control",
41
+ scope: "#/properties/Paste_Event",
42
+
43
+ options: {
44
+ widget: "IconButton",
45
+ },
46
+ config: {
47
+ main: {
48
+ // color: "info",
49
+ onClick: "copyPasteElement",
50
+ size: "small",
51
+ icon: "PasteIcon",
52
+ iconLabel: "Paste",
53
+ styleDefault: true,
54
+ },
55
+ style: {
56
+ mt: "6px",
57
+ },
58
+ },
59
+ }
60
+ },
38
61
  ]
39
62
  },
40
63
  disableAction: true,
@@ -98,6 +121,27 @@ export const EventSection = (theme)=>{
98
121
  },
99
122
  },
100
123
  },
124
+ {
125
+ header: "Copy",
126
+ field: "Copy_Event",
127
+ flex: 1,
128
+ widget: {
129
+ type: "Control",
130
+ scope: "#/properties/Copy_Event",
131
+ options: {
132
+ widget: "IconButton",
133
+ },
134
+ config: {
135
+ main: {
136
+ icon: "FileCopyIcon",
137
+ // color: "error",
138
+ onClick: "copyPasteElement",
139
+ tooltipMessage: "Reject This Record",
140
+ styleDefault: true,
141
+ },
142
+ },
143
+ },
144
+ },
101
145
  ]
102
146
  }]}
103
147
  return uiSchema
@@ -13,7 +13,7 @@ export const uploadFile = {
13
13
  "style": {
14
14
  "backgroundColor": "none"
15
15
  },
16
- layout: { xs: 11, sm: 4, md: 4, lg: 4 }
16
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 }
17
17
  },
18
18
  "options": {
19
19
  "widget": "UploadFile"
@@ -30,7 +30,7 @@ export const downloadFile = {
30
30
  "style": {
31
31
  "backgroundColor": "none"
32
32
  },
33
- layout: { xs: 11, sm: 4, md: 4, lg: 4 }
33
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 }
34
34
  },
35
35
  "options": {
36
36
  "widget": "DownloadFile"
@@ -6,9 +6,12 @@ export const BarGraph = {
6
6
  },
7
7
 
8
8
  config: {
9
+ layout: {xs :12,sm:12,md:12,lg:6},
9
10
  main: {
11
+ type: "BarGraph",
12
+ legendLabels: null
10
13
  },
11
- style: { containerStyle: {} }
14
+ style: { containerStyle: {},labelStyle:{margin:{}} ,barStyle:{} }
12
15
  },
13
16
  };
14
17
 
@@ -19,10 +22,12 @@ export const PieGraph = {
19
22
  widget: "Graph",
20
23
  },
21
24
  config: {
25
+ layout: {xs :12,sm:12,md:12,lg:6},
22
26
  main: {
23
27
  type: "PieGraph",
28
+ legendLabels: null
24
29
  },
25
- style:{}
30
+ style:{ containerStyle: {},labelStyle:{margin:{}} ,pieStyle:{} }
26
31
  },
27
32
  };
28
33
  export const LineGraph = {
@@ -32,33 +37,12 @@ export const LineGraph = {
32
37
  widget: "Graph",
33
38
  },
34
39
  config: {
35
- layout: 12,
40
+ layout: {xs :12,sm:12,md:12,lg:6},
36
41
  main: {
37
42
  type: "LineGraph",
38
- header: "Quartely Incentive in Thousand",
39
- bottomLabel: "Years",
40
- leftLabel: "Incentive",
41
- gridHidden: true,
42
- numHidden: false,
43
- tooltipDataKey: ["MAMA New Project", "Second", "Third"],
44
- axisLeft: true,
45
- axisBottom: true,
46
- hideLeftAxisLine: false,
47
- hideBottomAxisLine: false,
48
- legend: {
49
- labelColor: "green",
50
- legendTitle: "Our Assests",
51
- direction: "row",
52
- align: "right",
53
- colorRectWidth: 20,
54
- },
55
- },
56
- style: {
57
- containerStyle: {},
58
- headerStyle: {},
59
- labelStyle: {},
60
- lineStyle: {},
43
+ legendLabels: null
61
44
  },
45
+ style: { containerStyle: {},labelStyle:{margin:{}} ,lineStyle:{} },
62
46
  },
63
47
  };
64
48
 
@@ -69,11 +53,11 @@ export const HorizontalBarGraph = {
69
53
  widget: "Graph",
70
54
  },
71
55
  config: {
56
+ layout: {xs :12,sm:12,md:12,lg:6},
72
57
  main: {
73
58
  type: "HorizontalBarGraph",
59
+ legendLabels: null
74
60
  },
75
- style:{
76
-
77
- }
61
+ style:{ containerStyle: {},labelStyle:{margin:{}} ,barStyle:{} }
78
62
  },
79
63
  };