impaktapps-ui-builder 0.0.382456 → 0.0.382460

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 (109) hide show
  1. package/dist/impaktapps-ui-builder.es.js +4233 -2667
  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/buildBasicUiSchema.d.ts +4 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -1
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildDate.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/buildInputSlider.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/buildTable.d.ts +0 -1
  11. package/dist/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/buildTreeMap.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +36 -2
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +2 -2
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +60 -0
  17. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -7
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +172 -86
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -0
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.d.ts +19 -0
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +121 -119
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +42 -115
  24. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -288
  25. package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
  26. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +2 -0
  27. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +119 -96
  28. package/dist/src/impaktapps-ui-builder/builder/build/uischema/{lazyLoadingTable.d.ts → thoughtOfTheDay.d.ts} +6 -3
  29. package/dist/src/impaktapps-ui-builder/builder/build/uischema/timer.d.ts +1 -14
  30. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
  31. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
  32. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +2 -1
  33. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +9 -0
  34. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +3 -0
  35. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +12 -4
  36. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +11 -2
  37. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +16 -3
  38. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +4 -4
  39. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -1
  40. package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +8 -5
  41. package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +2 -0
  42. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +11 -8
  43. package/package.json +5 -1
  44. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +9 -5
  45. package/src/impaktapps-ui-builder/builder/build/buildButton.ts +0 -2
  46. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +11 -7
  47. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +15 -19
  48. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +12 -2
  49. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  50. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +22 -9
  51. package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +46 -0
  52. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +26 -19
  53. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +16 -2
  54. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +24 -23
  55. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +1 -1
  56. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  57. package/src/impaktapps-ui-builder/builder/build/buildRankCard.ts +4 -10
  58. package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +1 -2
  59. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +19 -8
  60. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +9 -2
  61. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +39 -29
  62. package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
  63. package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +22 -0
  64. package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +61 -0
  65. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +77 -57
  66. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
  67. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +16 -11
  68. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
  69. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +3 -2
  70. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +174 -80
  71. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -7
  72. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +171 -75
  73. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +43 -41
  74. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +17 -7
  75. package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
  76. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -56
  77. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
  78. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -141
  79. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -357
  80. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  81. package/src/impaktapps-ui-builder/builder/build/uischema/progressBar.ts +1 -1
  82. package/src/impaktapps-ui-builder/builder/build/uischema/rankCard.ts +1 -1
  83. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +15 -11
  84. package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
  85. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
  86. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -6
  87. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +125 -97
  88. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
  89. package/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.ts +14 -0
  90. package/src/impaktapps-ui-builder/builder/build/uischema/timer.ts +2 -16
  91. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
  92. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +13 -13
  93. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +2 -1
  94. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +67 -19
  95. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +525 -166
  96. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +12 -2
  97. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +757 -321
  98. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +7 -2
  99. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +516 -269
  100. package/src/impaktapps-ui-builder/builder/services/component.ts +165 -73
  101. package/src/impaktapps-ui-builder/builder/services/event.ts +74 -13
  102. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +61 -20
  103. package/src/impaktapps-ui-builder/builder/services/utils.ts +13 -14
  104. package/src/impaktapps-ui-builder/lib/index.ts +1 -1
  105. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +1 -1
  106. package/src/impaktapps-ui-builder/runtime/services/events.ts +154 -96
  107. package/src/impaktapps-ui-builder/runtime/services/interface.ts +3 -1
  108. package/src/impaktapps-ui-builder/runtime/services/service.ts +211 -49
  109. package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -14
@@ -1,124 +1,152 @@
1
- export const TableSection = {
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"
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",
19
+
20
+ options: {
21
+ widget: "IconButton",
22
+ },
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
+ },
35
+ },
36
+ }
37
+ },
38
+ {
39
+ widget: {
40
+ type: "Control",
41
+ scope: "#/properties/Paste_Component",
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
+ },
61
+ ]
13
62
  },
63
+ disableAction: true,
64
+ disableSelection: true,
65
+ enableDrag: true,
66
+
67
+ },
68
+ },
69
+ elements: [
70
+ {
71
+ accessorKey: "name",
72
+ header: "Name"
14
73
  },
15
- elements: [
16
- {
74
+ {
75
+ accessorKey: "type",
76
+ header: "Type"
77
+ },
78
+ {
79
+ header: "Edit Record",
80
+ field: "Reject_Records",
81
+ flex: 1,
82
+ widget: {
17
83
  type: "Control",
18
- scope: "#/properties/programType",
19
-
84
+ scope: "#/properties/RejectButton",
20
85
  options: {
21
- widget: "Box",
86
+ widget: "IconButton",
22
87
  },
23
88
  config: {
24
- layout: 8,
25
89
  main: {
26
- heading: "Components Table",
90
+ icon: "EditIcon",
91
+ color: "primary",
92
+ onClick: "editComponents",
93
+ tooltipMessage: "Reject This Record",
27
94
  },
95
+
28
96
  style: {
29
- fontFamily: "Roboto",
30
- fontWeight: "500",
31
- paddingLeft:"-10px",
32
- fontSize: "20px",},
97
+ color: theme.palette.primary.main,
98
+ },
33
99
  },
34
100
  },
35
- {
101
+ },
102
+ {
103
+ header: "Delete",
104
+ field: "Reject_Records",
105
+ flex: 1,
106
+ widget: {
36
107
  type: "Control",
37
- scope: "#/properties/Back_Button",
38
-
108
+ scope: "#/properties/RejectButton",
39
109
  options: {
40
110
  widget: "IconButton",
41
111
  },
42
112
  config: {
43
- layout: 3,
44
113
  main: {
45
- icon: "AddIcon",
46
- styleDefault: true,
47
- size: "small",
48
- onClick: "widgetAddClickHandler",
49
- tooltipMessage: "Add New",
50
- },
51
- style: {
52
- float: "right",
114
+ icon: "RejectIcon",
115
+ color: "error",
116
+ onClick: "deletePopUpComponent",
117
+ tooltipMessage: "Reject This Record",
53
118
  },
54
119
  },
55
120
  },
56
- {
57
- type: "Control",
58
- scope: "#/properties/elements",
59
- options: {
60
- widget: "Table",
61
- },
62
- config: {
63
- main: {
64
- disableAction: true,
65
- disableSelection: true,
66
- enableDrag: true,
67
-
68
- },
69
- },
70
- elements:[
71
- {
72
- accessorKey: "name",
73
- header: "Name"
74
- },
75
- {
76
- accessorKey: "type",
77
- header: "Type"
78
- },
79
- {
80
- header: "Edit Record",
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: "EditIcon",
92
- color: "primary",
93
- onClick: "editComponents",
94
- tooltipMessage: "Reject This Record",
95
- },
96
- },
97
121
  },
98
- },
99
- {
100
- header: "Delete",
101
- field: "Reject_Records",
102
- flex: 1,
103
- widget: {
104
- type: "Control",
105
- scope: "#/properties/RejectButton",
106
- options: {
107
- widget: "IconButton",
108
- },
109
- config: {
110
- main: {
111
- icon: "RejectIcon",
112
- color: "error",
113
- onClick: "deleteComponents",
114
- tooltipMessage: "Reject This Record",
122
+ {
123
+ header: "Copy",
124
+ field: "Copy_Component",
125
+ flex: 1,
126
+ widget: {
127
+ type: "Control",
128
+ scope: "#/properties/Copy_Component",
129
+ options: {
130
+ widget: "IconButton",
131
+ },
132
+ config: {
133
+ main: {
134
+ icon: "FileCopyIcon",
135
+ // color: "error",
136
+ onClick: "copyPasteElement",
137
+ styleDefault: true,
138
+ disabled: false
139
+ },
115
140
  },
116
141
  },
117
142
  },
118
- }
119
- ]
120
- }]}
121
- ]}
143
+ ]
144
+ }]
145
+ }
146
+
147
+ return uiSchema
148
+ }
149
+ // ]}
122
150
 
123
151
  export const TableSectionSchema = {
124
152
  columns: {
@@ -6,12 +6,7 @@ export default {
6
6
  widget: "InputField",
7
7
  },
8
8
  config: {
9
- layout: {
10
- xs: 11,
11
- sm: 11,
12
- md: 5.5,
13
- lg: 5.5,
14
- },
9
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
15
10
  main: {
16
11
  label: "",
17
12
  },
@@ -0,0 +1,14 @@
1
+ export default {
2
+ type: "Control",
3
+ scope: "#/properties/path",
4
+
5
+ options: {
6
+ widget: "Thought",
7
+ },
8
+ config: {
9
+ layout: { xs: 11.5, sm: 11.5, md: 8, lg: 8 },
10
+ main: {
11
+ },
12
+ },
13
+ };
14
+
@@ -8,25 +8,11 @@ export default {
8
8
  layout: {
9
9
  xs: 12,
10
10
  sm: 12,
11
- md: 12,
12
- lg: 12,
11
+ md: 6,
12
+ lg: 6,
13
13
  },
14
14
  main : {},
15
15
  style : {
16
- digitContainer : {
17
- borderRadius : "4px",
18
- textShawdow : 'none',
19
- width : "22%"
20
- },
21
- container : {
22
- // backgroundColor : "rgb(249 249 249)",
23
- backgroundColor : "#FFFFFF",
24
- borderRadius : "18px"
25
- },
26
-
27
- containerLabelColor : {
28
- color : "red"
29
- }
30
16
  }
31
17
  }
32
18
  }
@@ -18,12 +18,7 @@ export const ValidationSection = {
18
18
  widget: "SelectInputField",
19
19
  },
20
20
  config: {
21
- layout: {
22
- xs: 11,
23
- sm: 11,
24
- md: 5.5,
25
- lg: 5.5,
26
- },
21
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
27
22
  main: {
28
23
  label: "Validation Type",
29
24
  },
@@ -37,16 +32,21 @@ export const ValidationSection = {
37
32
  widget: "InputField",
38
33
  },
39
34
  config: {
40
- layout: {
41
- xs: 11,
42
- sm: 11,
43
- md: 5.5,
44
- lg: 5.5,
45
- },
35
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
46
36
  main: {
47
37
  label: "Validation Value",
48
38
  },
49
39
  },
40
+ },
41
+ {
42
+ type: "Control",
43
+ scope: "#/properties/emptyBox",
44
+ options: {
45
+ widget: "EmptyBox"
46
+ },
47
+ config: {
48
+ layout: {xs: 0, sm: 0, md: 4}
49
+ }
50
50
  }
51
51
  ],
52
52
  },
@@ -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",
@@ -18,12 +18,7 @@ export const ValueTab = {
18
18
  widget: "InputField",
19
19
  },
20
20
  config: {
21
- layout: {
22
- xs: 11,
23
- sm: 11,
24
- md: 5.5,
25
- lg: 5.5,
26
- },
21
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
27
22
  main: {
28
23
  label: "Label",
29
24
  },
@@ -37,18 +32,23 @@ export const ValueTab = {
37
32
  widget: "InputField",
38
33
  },
39
34
  config: {
40
- layout: {
41
- xs: 11,
42
- sm: 11,
43
- md: 5.5,
44
- lg: 5.5,
45
- },
35
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
46
36
  main: {
47
37
  label: "Value",
48
38
 
49
39
  },
50
40
  },
51
41
  },
42
+ {
43
+ type: "Control",
44
+ scope: "#/properties/emptyBox",
45
+ options: {
46
+ widget: "EmptyBox"
47
+ },
48
+ config: {
49
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
50
+ }
51
+ }
52
52
  ],
53
53
  },
54
54
  },
@@ -2,8 +2,9 @@ export default {
2
2
  type: "WrapperLayout",
3
3
  config: {
4
4
  main: {
5
- label: "Default Label",
5
+ rowSpacing: 3,
6
6
  divider: true,
7
+ label: "Default Label",
7
8
  },
8
9
  defaultStyle: true,
9
10
  },
@@ -4,7 +4,7 @@ export const ComponentSchema: any = {
4
4
  type: {
5
5
  // type: "string",
6
6
  oneOf: [
7
- { title: "AadharcardText", const: "AadharcardText"},
7
+ { title: "AadharcardText", const: "AadharcardText" },
8
8
  { title: "Array", const: "Array" },
9
9
  { title: "Button", const: "Button" },
10
10
  { title: "Card", const: "card" },
@@ -12,10 +12,12 @@ export const ComponentSchema: any = {
12
12
  { title: "Container", const: "WrapperSection" },
13
13
  { title: "DataGrid", const: "DataGrid" },
14
14
  { title: "Date", const: "Date" },
15
+ { title: "DateTime", const: "DateTime" },
15
16
  { title: "Download File", const: "DownloadFile" },
16
17
  { title: "Empty Box", const: "EmptyBox" },
17
18
  { title: "File", const: "FileInput" },
18
19
  { title: "Graph", const: "Graph" },
20
+ { title: "Input Slider", const: "InputSlider" },
19
21
  { title: "Label", const: "Box" },
20
22
  { title: "LeaderBoard", const: "LeaderBoard" },
21
23
  { title: "MultipleSelect", const: "MultipleSelect" },
@@ -36,13 +38,25 @@ export const ComponentSchema: any = {
36
38
  { title: "Text", const: "Text" },
37
39
  { title: "Text Area", const: "TextArea" },
38
40
  { title: "Timer", const: "Timer" },
39
- { title: "Upload File", const: "UploadFile" },]
41
+ { title: "Upload File", const: "UploadFile" },
42
+ { title: "TreeMap", const: "TreeMap" },
43
+ { title: "ColumnGroup", const: "ColumnGroup" },
44
+ { title: "Thought of the Day", const: "Thought" },
45
+ ]
46
+ },
47
+ columnFormat: {
48
+ oneOf: [
49
+ { title: "Date Column", const: "date" },
50
+ { title: "DateTime Column", const: "dateTime" },
51
+ { title: "Amount Column", const: "amount" },
52
+ ]
40
53
  },
41
- orientation:{
54
+ orientation: {
42
55
  oneOf: [
43
- { title: "Horizontal", const: "horizontal" },
44
- { title: "Vertical", const: "vertical" },
45
- ]},
56
+ { title: "Horizontal", const: "horizontal" },
57
+ { title: "Vertical", const: "vertical" },
58
+ ]
59
+ },
46
60
  method: {
47
61
  type: "string",
48
62
  oneOf: [
@@ -56,7 +70,7 @@ export const ComponentSchema: any = {
56
70
  type: "array",
57
71
  items: {
58
72
  type: "object",
59
- properties: {
73
+ properties: {
60
74
  key: {
61
75
  type: "string",
62
76
  oneOf: [
@@ -68,7 +82,7 @@ export const ComponentSchema: any = {
68
82
  },
69
83
  value: {
70
84
  // type: "string",
71
-
85
+
72
86
  },
73
87
  },
74
88
  },
@@ -89,7 +103,7 @@ export const ComponentSchema: any = {
89
103
  },
90
104
  value: {
91
105
  // type: "string",
92
-
106
+
93
107
  },
94
108
  },
95
109
  },
@@ -171,12 +185,42 @@ export const ComponentSchema: any = {
171
185
  keyName: {
172
186
  type: "string",
173
187
  },
174
- value:{
175
- type:"string"
188
+ value: {
189
+ type: "string"
176
190
  }
177
191
  },
178
192
  },
179
193
  },
194
+ enableColumnFilter:{
195
+ type: "array",
196
+ items: {
197
+ type: "object",
198
+ properties: {
199
+ keyName: {
200
+ type: "string",
201
+ },
202
+ },
203
+ },
204
+ },
205
+ filteringOptions:{
206
+ type: "array",
207
+ items:{
208
+ oneOf: [
209
+ { const: 'fuzzy', title: 'Fuzzy' },
210
+ { const: 'contains', title: 'Contain' },
211
+ { const: 'startsWith', title: 'Starts with' },
212
+ { const: 'endsWith', title: 'Ends with' },
213
+ { const: 'equals', title: 'Equals' },
214
+ { const: 'notEquals', title: 'Not Equals' },
215
+ { const: 'between', title: 'Between' },
216
+ { const: 'betweenInclusive', title: 'Between inclusive' },
217
+ { const: 'greaterThan', title: 'Greater than' },
218
+ { const: 'greaterThanOrEqualTo', title: 'Greater than or equal to' },
219
+ { const: 'lessThan', title: 'Less than' },
220
+ { const: 'lessThanOrEqualTo', title: 'Less than or equal to' },
221
+ ]
222
+ },
223
+ },
180
224
  legendLabels: {
181
225
  type: "array",
182
226
  items: {
@@ -260,11 +304,12 @@ export const ComponentSchema: any = {
260
304
  { title: "Line Graph", const: "LineGraph" },
261
305
  { title: "Pie Graph", const: "PieGraph" },
262
306
  { title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
307
+ { title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
263
308
  ]
264
309
  },
265
- iconName:{
266
- type:"string",
267
- oneOf:[
310
+ iconName: {
311
+ type: "string",
312
+ oneOf: [
268
313
  { title: "Search Icon", const: "SearchIcon" },
269
314
  { title: "Edit Icon", const: "EditIcon" },
270
315
  { title: "Add Icon", const: "AddIcon" },
@@ -284,8 +329,8 @@ export const ComponentSchema: any = {
284
329
  { title: "Exception Icon", const: "ExceptionIcon" },
285
330
  ]
286
331
  },
287
- color:{
288
- type:"string",
332
+ color: {
333
+ type: "string",
289
334
  oneOf: [
290
335
  { title: "Primary", const: "primary" },
291
336
  { title: "Secondary", const: "secondary" },
@@ -297,8 +342,11 @@ export const ComponentSchema: any = {
297
342
  name: {
298
343
  type: "string",
299
344
  },
300
- label: { type: 'string' }
345
+ label: { type: 'string' },
346
+ RemoveItemButton:{
347
+ disabled: true,
348
+ },
301
349
  },
302
-
303
- required: [ "name", ]
350
+
351
+ required: ["name",]
304
352
  };