impaktapps-ui-builder 0.0.100 → 0.0.101-alpha.10

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 (62) hide show
  1. package/dist/impaktapps-ui-builder.es.js +2024 -1747
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +17 -17
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.d.ts +1 -0
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +0 -1
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +94 -23
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +55 -2
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +52 -22
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -301
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +50 -2
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.d.ts +17 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/timer.d.ts +1 -14
  17. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +3 -0
  18. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +3 -0
  19. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +8 -2
  20. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +5 -0
  21. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +5 -0
  22. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +1 -1
  23. package/package.json +5 -1
  24. package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -0
  25. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +7 -3
  26. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +7 -2
  27. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +18 -14
  28. package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +1 -1
  29. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +18 -13
  30. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -2
  31. package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +22 -0
  32. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +4 -15
  33. package/src/impaktapps-ui-builder/builder/build/buildRankCard.ts +4 -10
  34. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +16 -4
  35. package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +22 -0
  36. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +11 -0
  37. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
  38. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +17 -10
  39. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +0 -1
  40. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +103 -46
  41. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +44 -0
  42. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -28
  43. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -366
  44. package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
  45. package/src/impaktapps-ui-builder/builder/build/uischema/progressBar.ts +1 -1
  46. package/src/impaktapps-ui-builder/builder/build/uischema/rankCard.ts +1 -1
  47. package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
  48. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +45 -1
  49. package/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.ts +14 -0
  50. package/src/impaktapps-ui-builder/builder/build/uischema/timer.ts +2 -16
  51. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +6 -1
  52. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +467 -328
  53. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +4 -1
  54. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +487 -266
  55. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +4 -1
  56. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +339 -111
  57. package/src/impaktapps-ui-builder/builder/services/component.ts +96 -10
  58. package/src/impaktapps-ui-builder/builder/services/event.ts +19 -4
  59. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +20 -2
  60. package/src/impaktapps-ui-builder/builder/services/utils.ts +2 -2
  61. package/src/impaktapps-ui-builder/runtime/services/events.ts +23 -19
  62. package/src/impaktapps-ui-builder/runtime/services/service.ts +108 -3
@@ -1,4 +1,4 @@
1
- import { createLayoutFormat } from "./buildConfig";
1
+ import { createLayoutFormat, flatObjectValueInArray } from "./buildConfig";
2
2
  import { HorizontalBarGraph } from "./uischema/graph";
3
3
  import _ from "lodash";
4
4
 
@@ -12,24 +12,28 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
12
12
  horizontalBarGraph.config.main.type = config.graphType;
13
13
  horizontalBarGraph.scope = componentScope;
14
14
  horizontalBarGraph.config.main.header = config.heading;
15
- if (config.barColor) {
16
- horizontalBarGraph.config.barStyle.color = config.barColor;
15
+ if (config.legendHide) {
16
+ horizontalBarGraph.config.main.legendAvailable = config.legendHide==="YES"?false:true;
17
+ }
18
+ if (config.bottomAxisAngle) {
19
+ horizontalBarGraph.config.main.bottomAxisAngle = config.bottomAxisAngle==="YES"?true:false;
20
+ }
21
+ if (config.legendLabels) {
22
+ horizontalBarGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
23
+ }
24
+ if (config.pieArcColors) {
25
+ horizontalBarGraph.config.style.barStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
17
26
  }
18
27
  if (config.xAxisValue) {
19
28
  horizontalBarGraph.config.main.xAxisValue = config.xAxisValue;
20
29
  }
21
- if (config.containerBackground) {
22
- horizontalBarGraph.config.containerStyle.background =
23
- config.containerBackground;
24
- }
25
30
  if (config.height) {
26
- horizontalBarGraph.config.style =
27
- {
28
- containerStyle: {
29
- height: config.height
30
- }
31
+ horizontalBarGraph.config.style.containerStyle.height = config.height;
31
32
  }
32
-
33
+ if (config.leftMargin) {
34
+ horizontalBarGraph.config.style.labelStyle.margin ={
35
+ left: config.leftMargin
36
+ }
33
37
  }
34
38
  if (config.bottomLabel) {
35
39
  horizontalBarGraph.config.main.bottomLabel =
@@ -41,4 +45,4 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
41
45
  return horizontalBarGraph
42
46
  }
43
47
 
44
- export default buildHorizontalBarGraph
48
+ export default buildHorizontalBarGraph;
@@ -9,7 +9,7 @@ const InputSlider = {
9
9
  },
10
10
 
11
11
  config: {
12
- layout: 12,
12
+ layout: { xs: 12, sm: 12, md: 6, lg: 6 },
13
13
  main: {
14
14
  limitToMax: false,
15
15
  max: 10000,
@@ -3,7 +3,6 @@ import buildUiSchema from "./buildUiSchema";
3
3
  import _ from "lodash";
4
4
  import { createLayoutFormat } from "./buildConfig";
5
5
 
6
-
7
6
  export const buildLeaderBoard = (config) => {
8
7
  const LeaderBoard: any = _.cloneDeep(leaderBoard)
9
8
  if (config.elements) {
@@ -14,29 +13,35 @@ export const buildLeaderBoard = (config) => {
14
13
  const widgetSchema = { widget: buildUiSchema(e), accessorKey: e.name, header: e.label || e.name, };
15
14
  return { ...widgetSchema };
16
15
  })
17
- LeaderBoard.elements[9].elements = modifyColumns;
16
+ LeaderBoard.elements = modifyColumns;
18
17
  }
19
18
  LeaderBoard.config.main.label = config.label
20
19
  if (config.name) {
21
- LeaderBoard.elements[0].scope = `#/properties/${config.name}/properties/firstImage`;
22
- LeaderBoard.elements[3].scope = `#/properties/${config.name}/properties/firstName`
23
- LeaderBoard.elements[1].scope = `#/properties/${config.name}/properties/secondImage`;
24
- LeaderBoard.elements[4].scope = `#/properties/${config.name}/properties/secondName`
25
- LeaderBoard.elements[2].scope = `#/properties/${config.name}/properties/thirdImage`;
26
- LeaderBoard.elements[5].scope = `#/properties/${config.name}/properties/thirdName`
27
- LeaderBoard.elements[9].scope = `#/properties/${config.name}/properties/table`
20
+ LeaderBoard.scope=`#/properties/${config.name}`
28
21
  }
29
22
  if (config.firstImage) {
30
- LeaderBoard.elements[0].config.main.url = config.firstImage;
23
+ LeaderBoard.config.main.firstImage = config.firstImage;
31
24
  }
32
25
  if (config.secondImage) {
33
- LeaderBoard.elements[1].config.main.url = config.secondImage;
26
+ LeaderBoard.config.main.secondImage = config.secondImage;
34
27
  }
35
- if (config.secondImage) {
36
- LeaderBoard.elements[2].config.main.url = config.thirdImage;
28
+ if (config.thirdImage) {
29
+ LeaderBoard.config.main.thirdImage = config.thirdImage;
30
+ }
31
+ if (config.nameKey) {
32
+ LeaderBoard.config.main.nameKey = config.nameKey;
33
+ }
34
+ if (config.imageKey) {
35
+ LeaderBoard.config.main.imageKey = config.imageKey;
36
+ }
37
+ if (config.scoreKey) {
38
+ LeaderBoard.config.main.scoreKey = config.scoreKey;
37
39
  }
38
40
  if (config.layout) {
39
41
  LeaderBoard.config.layout = createLayoutFormat(config.layout);
40
42
  }
43
+ if (config.style) {
44
+ LeaderBoard.config.style = JSON.parse(config.style)
45
+ }
41
46
  return LeaderBoard
42
47
  }
@@ -11,6 +11,11 @@ export const buildLineGraph = (config, componentScope) => {
11
11
  if (config.height) {
12
12
  lineGraph.config.style.containerStyle.height = config.height;
13
13
  }
14
+ if (config.leftMargin) {
15
+ lineGraph.config.style.labelStyle.margin ={
16
+ left: config.leftMargin
17
+ }
18
+ }
14
19
  if (config.bottomLabel) {
15
20
  lineGraph.config.main.bottomLabel = config.bottomLabel;
16
21
  }
@@ -24,10 +29,13 @@ export const buildLineGraph = (config, componentScope) => {
24
29
  lineGraph.config.main.leftLabel = config.leftLabel;
25
30
  }
26
31
  if (config.legendHide) {
27
- lineGraph.config.main.legendAvailabe = config.legendHide==="YES"?false:true;
32
+ lineGraph.config.main.legendAvailable = config.legendHide==="YES"?false:true;
33
+ }
34
+ if (config.bottomAxisAngle) {
35
+ lineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle==="YES"?true:false;
28
36
  }
29
37
  if (config.legendLabels) {
30
- lineGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
38
+ lineGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
31
39
  }
32
40
 
33
41
  if (config.pieArcColors) {
@@ -0,0 +1,22 @@
1
+ import pdfViewer from "./uischema/pdfViewer";
2
+ import buildUiSchema from "./buildUiSchema";
3
+ import _ from "lodash";
4
+ import { createLayoutFormat } from "./buildConfig";
5
+
6
+ export const buildPdfViewer = (config) => {
7
+ const PdfViewer: any = _.cloneDeep(pdfViewer)
8
+ PdfViewer.config.main.label = config.label
9
+ if (config.name) {
10
+ PdfViewer.scope=`#/properties/${config.name}`
11
+ }
12
+ if (config.layout) {
13
+ PdfViewer.config.layout = createLayoutFormat(config.layout);
14
+ }
15
+ if(config.label) {
16
+ PdfViewer.config.main.title = config.label
17
+ }
18
+ if (config.style) {
19
+ PdfViewer.config.style = JSON.parse(config.style)
20
+ }
21
+ return PdfViewer
22
+ }
@@ -7,33 +7,22 @@ export const buildPieGraph = (config, componentScope) => {
7
7
  pieGraph.config.layout = createLayoutFormat(config.layout);
8
8
  }
9
9
  if (config.height) {
10
- pieGraph.config.style =
11
- {
12
- containerStyle: {
13
- height: config.height
14
- }
15
- };
16
-
10
+ pieGraph.config.style.containerStyle.height = config.height;
17
11
  }
18
12
  if (config.legendHide) {
19
- pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
13
+ pieGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
20
14
  }
21
15
  pieGraph.scope = componentScope;
22
16
  pieGraph.config.main.header = config.heading;
23
17
 
24
18
  if (config.legendLabels) {
25
- pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
19
+ pieGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
26
20
  }
27
21
  if (config.xAxisValue) {
28
22
  pieGraph.config.main.xAxisValue = config.xAxisValue;
29
23
  }
30
24
  if (config.pieArcColors) {
31
- pieGraph.config.style = {
32
- pieStyle: {
33
- colorRange: flatObjectValueInArray(config.pieArcColors)
34
- }
35
- }
36
-
25
+ pieGraph.config.style.pieStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
37
26
  }
38
27
  return pieGraph;
39
28
  }
@@ -6,17 +6,11 @@ export const buildRankCard = (config,componentScope) =>{
6
6
  const rankCard: any = _.cloneDeep(RankCard);
7
7
  rankCard.scope = componentScope;
8
8
 
9
- if(config.image){
10
- rankCard.config.main.url = config.image;
11
- }
12
- if(config.title){
13
- rankCard.config.main.title = config.title
14
- }
15
- if(config.description){
16
- rankCard.config.main.description = config.description
17
- }
18
9
  if(config.rank){
19
- rankCard.config.main.rank = `#${config.rank}`
10
+ rankCard.config.main.rank = `${config.rank}`
11
+ }
12
+ if(config.height){
13
+ rankCard.config.main.height = `${config.height}px`
20
14
  }
21
15
  if(config.layout){
22
16
  rankCard.config.layout = createLayoutFormat(config.layout)
@@ -1,4 +1,4 @@
1
- import { createLayoutFormat } from "./buildConfig";
1
+ import { createLayoutFormat, flatObjectValueInArray } from "./buildConfig";
2
2
  import { BarGraph } from "./uischema/graph";
3
3
  import _ from "lodash";
4
4
 
@@ -9,11 +9,18 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
9
9
  }
10
10
  if (config.legendHide) {
11
11
  barGraph.config.main.legendAvailable = config.legendHide;
12
+ barGraph.config.main.legendAvailable = config.legendHide==="YES"?false:true;
12
13
  }
13
- barGraph.config.main.type = config.graphType;
14
+ if (config.bottomAxisAngle) {
15
+ barGraph.config.main.bottomAxisAngle = config.bottomAxisAngle==="YES"?true:false;
16
+ }
17
+ barGraph.config.main.type = config?.graphType ?? "BarGraph";
14
18
  barGraph.config.main.header = config.heading;
15
- if (config.barColor) {
16
- barGraph.config.barStyle.color = config.barColor;
19
+ if (config.legendLabels) {
20
+ barGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
21
+ }
22
+ if (config.pieArcColors) {
23
+ barGraph.config.style.barStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
17
24
  }
18
25
  if (config.xAxisValue) {
19
26
  barGraph.config.main.xAxisValue = config.xAxisValue;
@@ -21,6 +28,11 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
21
28
  if (config.height) {
22
29
  barGraph.config.style.containerStyle.height = config.height;
23
30
  }
31
+ if (config.leftMargin) {
32
+ barGraph.config.style.labelStyle.margin ={
33
+ left: config.leftMargin
34
+ }
35
+ }
24
36
  if (config.bottomLabel) {
25
37
  barGraph.config.main.bottomLabel = config.bottomLabel;
26
38
  }
@@ -0,0 +1,22 @@
1
+ import Thought from "./uischema/thoughtOfTheDay";
2
+ import _ from "lodash";
3
+ import { createLayoutFormat } from "./buildConfig";
4
+
5
+ export const buildThoughtOfTheDay = (config,componentScope) =>{
6
+ const thought: any = _.cloneDeep(Thought);
7
+ thought.scope = componentScope;
8
+
9
+ if(config.thought){
10
+ thought.config.main.thought = `${config.thought}`
11
+ }
12
+ if(config.layout){
13
+ thought.config.layout = createLayoutFormat(config.layout)
14
+ }
15
+ if(config.label){
16
+ thought.config.main.label = config.label;
17
+ }
18
+ if (config.style) {
19
+ thought.config.style = JSON.parse(config.style)
20
+ }
21
+ return thought;
22
+ }
@@ -39,6 +39,8 @@ import { buildPopUp } from "./buildPop";
39
39
  import { buildDataGrid } from "./buildDataGrid";
40
40
  import { buildInputSlider } from "./buildInputSlider";
41
41
  import { buildTreeMap } from "./buildTreeMap";
42
+ import { buildThoughtOfTheDay } from "./buildThoughtOfTheDay";
43
+ import { buildPdfViewer } from "./buildPdfViewer";
42
44
  export let schema = {
43
45
  type: "object",
44
46
  properties: {},
@@ -264,6 +266,9 @@ const buildUiSchema = (config: any, store?: any) => {
264
266
  case "HorizontalStackBarGraph":
265
267
  elements = buildHorizontalBarGraph(config, componentScope);
266
268
  break;
269
+ default:
270
+ elements = buildStackbarGraph(config, componentScope);
271
+ break;
267
272
  }
268
273
  break;
269
274
  case "ProgressBar":
@@ -300,6 +305,12 @@ const buildUiSchema = (config: any, store?: any) => {
300
305
  case "LeaderBoard":
301
306
  elements = buildLeaderBoard(config);
302
307
  break;
308
+ case "Thought":
309
+ elements = buildThoughtOfTheDay(config, componentScope);
310
+ break;
311
+ case "PdfViewer":
312
+ elements = buildPdfViewer(config);
313
+ break;
303
314
  default:
304
315
  schema = {
305
316
  type: "object",
@@ -2,23 +2,20 @@ import { uploadFile } from "./uischema/file";
2
2
  import _ from "lodash";
3
3
  import { createLayoutFormat } from "./buildConfig";
4
4
 
5
- export const buildUploadFile = (config,componentScope)=>{
6
- const UploadFile: any = _.cloneDeep(uploadFile);
7
-
8
- UploadFile.scope = componentScope;
9
- UploadFile.config.main.label = config.label;
10
- if (config.layout) {
11
- UploadFile.config.layout = config.layout;
12
- }
13
- if(config.layout){
14
- uploadFile.config.layout = createLayoutFormat(config.layout)
15
- }
16
- if (config.style) {
17
- UploadFile.config.style = config.style;
18
- }
19
- if (config.required) {
20
- UploadFile.config.main.required = true;
21
- }
22
- UploadFile.config.main.errorMessage = config.errorMessage;
23
- return UploadFile;
5
+ export const buildUploadFile = (config, componentScope) => {
6
+ const UploadFile: any = _.cloneDeep(uploadFile);
7
+
8
+ UploadFile.scope = componentScope;
9
+ UploadFile.config.main.label = config.label;
10
+ if (config.layout) {
11
+ UploadFile.config.layout = createLayoutFormat(config.layout)
12
+ }
13
+ if (config.style) {
14
+ UploadFile.config.style = config.style;
15
+ }
16
+ if (config.required) {
17
+ UploadFile.config.main.required = true;
18
+ }
19
+ UploadFile.config.main.errorMessage = config.errorMessage;
20
+ return UploadFile;
24
21
  }
@@ -172,7 +172,7 @@ export const buildWrapper = (label: string, elements: any[]) => {
172
172
  width: "108%"
173
173
  },
174
174
  componentsBoxStyle: {
175
- marginLeft: "24px",
175
+ marginLeft: "12px",
176
176
  },
177
177
  defaultStyle: true
178
178
  },
@@ -343,19 +343,18 @@ export const buildPropertiesSection = function (type: String) {
343
343
  case "RankCard":
344
344
  uiSchema.elements = [
345
345
  getInputField("rank", "Rank"),
346
- getInputField("image", "Image Url"),
347
- getInputField("title", "Card Title"),
348
- getInputField("description", "Card Description"),
349
- emptyBox("RankCardEmpty1"), emptyBox("RankCardEmpty2")];
346
+ getInputField("height", "Height"),
347
+ emptyBox("RankCardEmpty1", {xs: 0, sm: 0, md: 4, lg: 4 })];
350
348
  break;
351
349
  case "LeaderBoard":
352
350
  uiSchema.elements = [
353
- getInputField("valueLabel", "Value Label"),
354
351
  getInputField("firstImage", "First Image url"),
355
352
  getInputField("secondImage", "Second Image url"),
356
353
  getInputField("thirdImage", "Third Image url"),
357
- emptyBox("LeaderBoardEmpty1"), emptyBox("LeaderBoardEmpty2"),
358
- getTextArea("functionCode", "Write Compare Code", false),
354
+ getInputField("nameKey", "Key for Name"),
355
+ getInputField("imageKey", "Key for Image"),
356
+ getInputField("scoreKey", "Key for comparing parameter"),
357
+ emptyBox("LeaderBoardEmpty1", {xs: 6, sm: 6, md: 0, lg: 0 }),
359
358
  ];
360
359
  break;
361
360
  case "CardSlider":
@@ -376,8 +375,9 @@ export const buildPropertiesSection = function (type: String) {
376
375
  uiSchema.elements = [
377
376
  getInputField("url", "Image Url"),
378
377
  getInputField("label", "Label"),
378
+ getInputField("titleIcon", "Unicode of Icon for title"),
379
379
  getInputField("description", "Description"),
380
- emptyBox("cardEmpty", {xs: 6, sm: 6, md: 0, lg: 0 })
380
+ emptyBox("cardEmpty", {xs: 0, sm: 0, md: 8, lg: 8 })
381
381
  ];
382
382
  break;
383
383
  case "Button":
@@ -411,7 +411,9 @@ export const buildPropertiesSection = function (type: String) {
411
411
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
412
412
  getInputField("yAxisValue", "Y-AxisValue"),
413
413
  getInputField("xAxisValue", "X-AxisValue"),
414
- emptyBox("GraphEmpty2"),
414
+ getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
415
+ getInputField("leftMargin", "Left Margin"),
416
+ emptyBox("GraphEmpty1", {xs: 6, sm: 0, md: 8, lg: 8 }),
415
417
  getArrayControl("legendLabels", "label"),
416
418
  getArrayControl("pieArcColors", "color"),
417
419
  ];
@@ -483,6 +485,11 @@ export const buildPropertiesSection = function (type: String) {
483
485
  emptyBox("MultipleSelectEmpty2")
484
486
  ]
485
487
  break;
488
+ case "Thought":
489
+ uiSchema.elements = [
490
+ getTextArea("thought", "Today's thought", false),
491
+ ]
492
+ break;
486
493
  }
487
494
  return uiSchema;
488
495
  };
@@ -9,7 +9,6 @@ export default {
9
9
  main: {
10
10
  name: "Compare",
11
11
  variant: "contained",
12
- color: "info",
13
12
  type: "text",
14
13
  startIcon:"",
15
14
  styleDefault:false,