impaktapps-ui-builder 0.0.409 → 0.0.410

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 (49) hide show
  1. package/dist/impaktapps-ui-builder.es.js +602 -218
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +12 -12
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +0 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildDate.d.ts +0 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.d.ts +0 -19
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.d.ts +0 -1
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +0 -1
  10. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +0 -6
  11. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
  12. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +3 -5
  13. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -7
  14. package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +0 -1
  15. package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +0 -1
  16. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +0 -3
  17. package/package.json +1 -1
  18. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +0 -1
  19. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +8 -11
  20. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +1 -11
  21. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +6 -8
  22. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +0 -6
  23. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +23 -22
  24. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +2 -9
  25. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +1 -1
  26. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +5 -14
  27. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +0 -2
  28. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -15
  29. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +0 -20
  30. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
  32. package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -1
  33. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +0 -1
  34. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +4 -2
  35. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -10
  36. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +212 -0
  37. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -8
  38. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +274 -67
  39. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -2
  40. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +104 -1
  41. package/src/impaktapps-ui-builder/builder/services/component.ts +22 -5
  42. package/src/impaktapps-ui-builder/builder/services/event.ts +11 -10
  43. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +22 -13
  44. package/src/impaktapps-ui-builder/builder/services/utils.ts +1 -1
  45. package/src/impaktapps-ui-builder/runtime/services/events.ts +5 -12
  46. package/src/impaktapps-ui-builder/runtime/services/interface.ts +1 -2
  47. package/src/impaktapps-ui-builder/runtime/services/service.ts +14 -24
  48. package/dist/src/impaktapps-ui-builder/builder/build/buildInputSlider.d.ts +0 -1
  49. package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +0 -46
@@ -1,6 +1,5 @@
1
1
  export declare const buildBasicUiSchema: (config: any) => {
2
2
  type: string;
3
3
  pageName: string;
4
- scope: string;
5
4
  elements: any[];
6
5
  };
@@ -1,2 +1 @@
1
1
  export declare const buildDate: (config: any, componentScope: string) => any;
2
- export declare const buildDateTime: (config: any, componentScope: string) => any;
@@ -18,22 +18,3 @@ declare const _default: {
18
18
  };
19
19
  };
20
20
  export default _default;
21
- export declare const DateTime: {
22
- type: string;
23
- scope: string;
24
- options: {
25
- widget: string;
26
- };
27
- config: {
28
- layout: {
29
- xs: number;
30
- sm: number;
31
- md: number;
32
- lg: number;
33
- };
34
- main: {
35
- label: string;
36
- type: string;
37
- };
38
- };
39
- };
@@ -7,7 +7,6 @@ declare const _default: {
7
7
  elements: any[];
8
8
  config: {
9
9
  main: {
10
- onMount: string;
11
10
  columns: {};
12
11
  };
13
12
  };
@@ -7,7 +7,6 @@ declare const _default: {
7
7
  elements: any[];
8
8
  config: {
9
9
  main: {
10
- onMount: string;
11
10
  allRowData: any[];
12
11
  downloadAllData: boolean;
13
12
  columns: {
@@ -22,12 +22,6 @@ export declare const PageMasterSchema: {
22
22
  };
23
23
  };
24
24
  };
25
- template: {
26
- oneOf: {
27
- const: string;
28
- title: string;
29
- }[];
30
- };
31
25
  sectionLabels: {
32
26
  type: string;
33
27
  items: {
@@ -8,11 +8,13 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
8
8
  saveHandler: () => Promise<void>;
9
9
  onChange: () => void;
10
10
  editComponents: () => void;
11
- deleteComponents: () => void;
12
- deleteEvent: () => void;
11
+ deleteComponents: (shouldUpdateDialog?: boolean) => void;
12
+ deleteEvent: (shouldUpdateDialog?: boolean) => void;
13
13
  widgetAddClickHandler: () => void;
14
14
  eventEditHandler: () => void;
15
15
  eventAddHandler: () => void;
16
16
  backHandler: () => void;
17
+ deletePopUpComponent: () => void;
18
+ deletePopUpEvent: () => void;
17
19
  };
18
20
  export default _default;
@@ -1,7 +1,4 @@
1
- declare const _default: (store: any, dynamicData: any, submitHandler: any, service: any, functionsName?: {
2
- const: string;
3
- title: string;
4
- }[]) => {
1
+ declare const _default: (store: any, dynamicData: any, submitHandler: any, service: any) => {
5
2
  setPage: () => Promise<void>;
6
3
  refreshPage: (handlerType: any, store: any) => void;
7
4
  getFormData: () => any;
@@ -84,7 +81,8 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
84
81
  onChange: () => void;
85
82
  addEvent: () => void;
86
83
  editEvent: () => void;
87
- deleteEvent: () => void;
84
+ deleteEvent: () => Promise<void>;
88
85
  backHandler: () => void;
86
+ deletePopUpEvent: () => void;
89
87
  };
90
88
  export default _default;
@@ -33,12 +33,6 @@ declare const _default: (funcParams: funcParamsProps) => {
33
33
  };
34
34
  };
35
35
  };
36
- template: {
37
- oneOf: {
38
- const: string;
39
- title: string;
40
- }[];
41
- };
42
36
  sectionLabels: {
43
37
  type: string;
44
38
  items: {
@@ -57,9 +51,11 @@ declare const _default: (funcParams: funcParamsProps) => {
57
51
  onAddClickHandler: () => void;
58
52
  saveHandler: () => Promise<void>;
59
53
  Edit_Components: () => void;
60
- Delete_Components: () => void;
54
+ Delete_Components: () => Promise<void>;
61
55
  eventAddHandler: () => void;
62
56
  editEvent: () => void;
63
57
  deleteEvent: () => void;
58
+ deletePopUpComponent: () => void;
59
+ deletePopUpEvent: () => void;
64
60
  };
65
61
  export default _default;
@@ -6,4 +6,3 @@ export declare function buildApiPayload(compConfig: any, body: any, headers: any
6
6
  headers: any;
7
7
  }>;
8
8
  export declare function getRefreshElements(eventConfig: any, eventGropus: any): string[];
9
- export declare function asyncOperation(): Promise<unknown>;
@@ -8,5 +8,4 @@ export interface handlersProps {
8
8
  serviceHolder: any;
9
9
  eventGroups?: any;
10
10
  parentEventOutput?: any;
11
- functionsProvider?: Record<string, any>;
12
11
  }
@@ -7,15 +7,12 @@ interface funcParamsProps {
7
7
  schema: any;
8
8
  service: any;
9
9
  userValue: any;
10
- functionsProvider?: Record<string, any>;
11
10
  }
12
11
  declare const _default: (funcParams: funcParamsProps) => {
13
12
  setPage: () => Promise<void>;
14
13
  onClick: () => Promise<void>;
15
- onMount: () => Promise<void>;
16
14
  onFileDownload: () => Promise<void>;
17
15
  onFileUpload: () => Promise<void>;
18
- backHandler: () => void;
19
16
  onPaginationChange: (paginationValues: any) => Promise<any>;
20
17
  getSelectOptions: (param: any) => Promise<any>;
21
18
  onChange: () => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.409",
3
+ "version": "0.0.410",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -2,6 +2,5 @@ export const buildBasicUiSchema = (config)=>{
2
2
  return {
3
3
  "type": "HorizontalLayout",
4
4
  pageName:`${config.name}`,
5
- scope:`${config.name}`,
6
5
  "elements": []}
7
6
  }
@@ -10,10 +10,10 @@ export default (FormData: any) => {
10
10
  // if(!formData.type ){
11
11
  // component.type = "page";
12
12
  // }
13
- if (formData.pageName) {
13
+ if(formData.pageName){
14
14
  delete formData.pageName
15
15
  }
16
- if (formData.eventsSelected) {
16
+ if(formData.eventsSelected){
17
17
  delete formData.eventsSelected
18
18
  }
19
19
  if (formData.type === "Table" ||
@@ -25,7 +25,7 @@ export default (FormData: any) => {
25
25
  delete formData.elements
26
26
  }
27
27
  }
28
- component.events = formData.events || [];
28
+ component.events = formData.events||[];
29
29
  if (formData.events) {
30
30
  delete formData.events
31
31
  }
@@ -34,7 +34,7 @@ export default (FormData: any) => {
34
34
  };
35
35
 
36
36
  export const createLayoutFormat = (config: any[]) => {
37
- if (_.isEmpty(config)) {
37
+ if(_.isEmpty(config)){
38
38
  return {
39
39
  xs: 11,
40
40
  sm: 11,
@@ -43,17 +43,14 @@ export const createLayoutFormat = (config: any[]) => {
43
43
  }
44
44
  }
45
45
  let data: any = {};
46
- config.map((e: any) => {
47
- data[e.key || "xs"] = +e.value || 5.5
46
+ config.map((e:any)=>{
47
+ data[e.key||"xs"] = +e.value||5.5
48
48
  })
49
49
  return data;
50
50
  };
51
- export const flatObjectValueInArray = (config: any[]) => {
52
- if (config[0].length < 1) {
53
- return
54
- }
51
+ export const flatObjectValueInArray = (config:any[])=>{
55
52
  const keyName = Object.keys(config[0])[0]
56
- const data = config.map((e) => {
53
+ const data = config.map((e)=>{
57
54
  return e[keyName]
58
55
  })
59
56
  return data;
@@ -1,4 +1,4 @@
1
- import DateInputField, { DateTime } from "./uischema/dateInputField";
1
+ import DateInputField from "./uischema/dateInputField";
2
2
  import _ from "lodash";
3
3
  import { createLayoutFormat } from "./buildConfig";
4
4
 
@@ -11,14 +11,4 @@ export const buildDate = (config:any,componentScope:string)=>{
11
11
  dateInputField.config.layout = createLayoutFormat(config.layout)
12
12
  }
13
13
  return dateInputField;
14
- }
15
- export const buildDateTime = (config:any,componentScope:string)=>{
16
- const dateTimeInputField: any = _.cloneDeep(DateTime);
17
- dateTimeInputField.config.main.label = config.label;
18
- dateTimeInputField.config.main.errorMessage = `${config.name} is empty or invalid`;
19
- dateTimeInputField.scope = componentScope;
20
- if(config.layout){
21
- dateTimeInputField.config.layout = createLayoutFormat(config.layout)
22
- }
23
- return dateTimeInputField;
24
14
  }
@@ -1,22 +1,20 @@
1
1
  import leaderBoard from "./uischema/leaderBoard";
2
- import buildUiSchema from "./buildUiSchema";
2
+ import buildUiSchema from "./buildUiSchema";
3
3
  import _ from "lodash";
4
- import { createLayoutFormat } from "./buildConfig";
5
4
 
6
5
 
7
6
  export const buildLeaderBoard = (config) => {
8
- const LeaderBoard: any = _.cloneDeep(leaderBoard)
7
+ const LeaderBoard:any = _.cloneDeep(leaderBoard)
9
8
  if (config.elements) {
10
9
  const modifyColumns = config.elements.map((e, i) => {
11
10
  if (!e.type) {
12
- return { accessorKey: e.name, header: e.label || e.name, }
11
+ return {accessorKey: e.name, header: e.label||e.name, }
13
12
  }
14
- const widgetSchema = { widget: buildUiSchema(e), accessorKey: e.name, header: e.label || e.name, };
15
- return { ...widgetSchema };
13
+ const widgetSchema = {widget:buildUiSchema(e), accessorKey: e.name,header: e.label||e.name, };
14
+ return {...widgetSchema };
16
15
  })
17
16
  LeaderBoard.elements[9].elements = modifyColumns;
18
17
  }
19
- LeaderBoard.config.main.label = config.label
20
18
  if (config.name) {
21
19
  LeaderBoard.elements[0].scope = `#/properties/${config.name}/properties/firstImage`;
22
20
  LeaderBoard.elements[3].scope = `#/properties/${config.name}/properties/firstName`
@@ -36,7 +34,7 @@ export const buildLeaderBoard = (config) => {
36
34
  LeaderBoard.elements[2].config.main.url = config.thirdImage;
37
35
  }
38
36
  if (config.layout) {
39
- LeaderBoard.config.layout = createLayoutFormat(config.layout);
37
+ LeaderBoard.config.layout = config.layout;
40
38
  }
41
39
  return LeaderBoard
42
40
  }
@@ -14,12 +14,6 @@ export const buildLineGraph = (config, componentScope) => {
14
14
  if (config.bottomLabel) {
15
15
  lineGraph.config.main.bottomLabel = config.bottomLabel;
16
16
  }
17
- if (config.yAxisValue) {
18
- lineGraph.config.main.yAxisValue = config.yAxisValue;
19
- }
20
- if (config.xAxisValue) {
21
- lineGraph.config.main.xAxisValue = config.xAxisValue;
22
- }
23
17
  if (config.leftLabel) {
24
18
  lineGraph.config.main.leftLabel = config.leftLabel;
25
19
  }
@@ -1,26 +1,27 @@
1
1
  import { createLayoutFormat, flatObjectValueInArray } from "./buildConfig";
2
2
  import { PieGraph } from "./uischema/graph";
3
3
  import _ from "lodash";
4
- export const buildPieGraph = (config, componentScope) => {
5
- const pieGraph: any = _.cloneDeep(PieGraph);
6
- if (config.layout) {
7
- pieGraph.config.layout = createLayoutFormat(config.layout);
8
- }
9
- if (config.height) {
10
- pieGraph.config.style.containerStyle.height = config.height;
11
- }
12
- if (config.legendHide) {
13
- pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
14
- }
15
- pieGraph.scope = componentScope;
16
- pieGraph.config.main.header = config.heading;
17
-
18
- if (config.legendLabels) {
19
- pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
20
- }
21
-
22
- if (config.pieArcColors) {
23
- pieGraph.config.style.pieStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
24
- }
25
- return pieGraph;
4
+ // flatObjectValueInArray
5
+ export const buildPieGraph = (config,componentScope) =>{
6
+ const pieGraph: any = _.cloneDeep(PieGraph);
7
+ if (config.layout) {
8
+ pieGraph.config.layout = createLayoutFormat(config.layout);
9
+ }
10
+ if (config.height) {
11
+ pieGraph.config.style.containerStyle.height = config.height;
12
+ }
13
+ if (config.legendHide) {
14
+ pieGraph.config.main.legendAvailabe = config.legendHide==="YES"?false:true;
15
+ }
16
+ pieGraph.scope = componentScope;
17
+ pieGraph.config.main.header = config.heading;
18
+
19
+ if(config.legendLabels){
20
+ pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
21
+ }
22
+
23
+ if(config.pieArcColors){
24
+ pieGraph.config.style.pieStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
25
+ }
26
+ return pieGraph;
26
27
  }
@@ -1,16 +1,9 @@
1
1
  import Tabsection from "./uischema/tabsection";
2
2
  import _ from "lodash";
3
-
3
+ import buildUiSchema from "./buildUiSchema";
4
+
4
5
  export const buildTabSection = (config:any,componentScope:string) => {
5
6
  const tab: any = _.cloneDeep(Tabsection);
6
- tab.scope = componentScope;
7
-
8
- if(config.lazyLoad){
9
- tab.config.main.lazyLoad = config.lazyLoad === "YES" ?true:false;
10
- }
11
- if(config.orientation){
12
- tab.config.main.orientation = config.orientation === "YES" ?'vertical':'horizontal';
13
- }
14
7
  if (config.sectionLabels) {
15
8
  tab.config.main.tabLabels = config.sectionLabels.map(e => e.label);
16
9
  }
@@ -2,7 +2,7 @@ import Table from "./uischema/table";
2
2
  import _ from "lodash";
3
3
  import buildUiSchema from "./buildUiSchema";
4
4
  import lazyLoadingTable from "./uischema/lazyLoadingTable";
5
-
5
+
6
6
  export const buildTable = (config: any, componentScope: string) => {
7
7
  const table: any = _.cloneDeep(Table);
8
8
  table.scope = componentScope;
@@ -19,7 +19,7 @@ import { buildLabel } from "./buildLabel";
19
19
  import { buildUploadFile } from "./buildUplaodFile";
20
20
  import { buildDownloadFile } from "./buildDownloadFile";
21
21
  import { buildCard } from "./buildCard";
22
- import { buildDate, buildDateTime } from "./buildDate";
22
+ import { buildDate } from "./buildDate";
23
23
  import { buildRankCard } from "./buildRankCard";
24
24
  import { buildRollAndDice } from "./buildRollAndDice";
25
25
  import { buildTimer } from "./buildTimer";
@@ -37,7 +37,6 @@ import { buildFileInput } from "./buildFileInput";
37
37
  import { buildStepper } from "./buildStepper";
38
38
  import { buildPopUp } from "./buildPop";
39
39
  import { buildDataGrid } from "./buildDataGrid";
40
- import { buildInputSlider } from "./buildInputSlider";
41
40
  export let schema = {
42
41
  type: "object",
43
42
  properties: {},
@@ -168,12 +167,6 @@ const buildUiSchema = (config: any) => {
168
167
  let elements: any = {};
169
168
  const componentScope = `#/properties/${config.name}`;
170
169
  switch (config.type) {
171
- case "DateTime":
172
- elements = buildDateTime(config, componentScope);
173
- break;
174
- case "InputSlider":
175
- elements = buildInputSlider(config, componentScope);
176
- break;
177
170
  case "DataGrid":
178
171
  elements = buildDataGrid(config, componentScope);
179
172
  break;
@@ -308,25 +301,23 @@ const buildUiSchema = (config: any) => {
308
301
  else if (config.type == "Table") {
309
302
  const sizeMap = {}
310
303
  if (config.sizeHolder) {
311
- config.sizeHolder.map((e, i) => {
304
+ config.sizeHolder.map((e, i) => {
312
305
  sizeMap[e.keyName] = e.value
313
306
  });
314
307
  }
315
308
  elements.elements = config.elements.map((e, elemInd) => {
316
- if (e.type && e.type !== "date" && e.type !== "dateTime" && e.type !== "amount") {
309
+ if (e.type) {
317
310
  return {
318
311
  accessorKey: e.name,
319
312
  header: e.label || e.name,
320
- size: sizeMap[e.name] || 180,
321
- type: e.type,
313
+ size: sizeMap[e.name]|| 180,
322
314
  widget: buildUiSchema(e)
323
315
  }
324
316
  }
325
317
  return {
326
- type: e.type,
327
318
  accessorKey: e.name,
328
319
  header: e.label || e.name,
329
- size: sizeMap[e.name] || 180
320
+ size: sizeMap[e.name]|| 180
330
321
  }
331
322
  })
332
323
  }
@@ -4,10 +4,8 @@ import _ from "lodash";
4
4
 
5
5
  export const buildWrapperSection = (config,componentScope) =>{
6
6
  const wrapper: any = _.cloneDeep(WrapperSection);
7
- wrapper.scope = componentScope;
8
7
  wrapper.config.main.label = config.label;
9
8
  wrapper.config.main.divider = config.divider === "YES" ? true : false;
10
- wrapper.config.main.isAccordion = config.isAccordion==="YES"?true:false;
11
9
  if (config.style) {
12
10
  wrapper.config.style = JSON.parse(config.style)
13
11
  }
@@ -235,14 +235,6 @@ const GraphSection = {
235
235
  export const buildPropertiesSection = function (type: String) {
236
236
  let uiSchema = _.cloneDeep(GraphSection);
237
237
  switch (type) {
238
- case "InputSlider":
239
- uiSchema.elements = [
240
- getInputField("max", "Max Limit"),
241
- getInputField("step", "Step"),
242
- getInputField("min", "Min Limit"),
243
- getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
244
- ]
245
- break;
246
238
  case "DataGrid":
247
239
  uiSchema.elements = [
248
240
  getRadioInputField("divider", "Use Header divider", ["YES", "NO"]),
@@ -361,22 +353,16 @@ export const buildPropertiesSection = function (type: String) {
361
353
  getInputField("leftLabel", "Left Label"),
362
354
  getInputField("bottomLabel", "Bottom Label"),
363
355
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
364
- getInputField("yAxisValue", "Y-AxisValue"),
365
- getInputField("xAxisValue", "X-AxisValue"),
366
356
  getArrayControl("legendLabels", "label"),
367
357
  getArrayControl("pieArcColors", "color"),
368
358
  ];
369
359
  break;
370
360
  case "WrapperSection":
371
- uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]),
372
- getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
373
- , EmptyBox]
361
+ uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox]
374
362
  break;
375
363
 
376
364
  case "TabSection":
377
365
  uiSchema.elements = [
378
- getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
379
- getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
380
366
  getArrayControl("sectionLabels", "label"),
381
367
  ]
382
368
  break;
@@ -18,23 +18,3 @@ export default {
18
18
  },
19
19
  },
20
20
  };
21
- export const DateTime = {
22
- type: "Control",
23
- scope: "#/properties/date",
24
- options: {
25
- widget: "DateTimeInputField",
26
- },
27
-
28
- config: {
29
- layout: {
30
- xs: 11,
31
- sm: 11,
32
- md: 5.5,
33
- lg: 5.5,
34
- },
35
- main: {
36
- label: "DateTime",
37
- type: "date",
38
- },
39
- },
40
- };
@@ -117,7 +117,7 @@ export const EventSection = {
117
117
  icon: "RejectIcon",
118
118
  color: "error",
119
119
  tooltipMessage: "Reject This Record",
120
- onClick: "deleteEvent",
120
+ onClick: "deletePopUpEvent",
121
121
  },
122
122
  },
123
123
  },
@@ -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,
@@ -7,7 +7,6 @@ export default {
7
7
  elements:[],
8
8
  config: {
9
9
  main: {
10
- onMount:"onMount",
11
10
  columns: {
12
11
  },
13
12
  },
@@ -7,7 +7,6 @@ export default {
7
7
  elements:[],
8
8
  config: {
9
9
  main: {
10
- onMount:"onMount",
11
10
  //@ts-ignore
12
11
  allRowData:[],
13
12
  downloadAllData:false,
@@ -110,14 +110,16 @@ export const TableSection = {
110
110
  main: {
111
111
  icon: "RejectIcon",
112
112
  color: "error",
113
- onClick: "deleteComponents",
113
+ onClick: "deletePopUpComponent",
114
114
  tooltipMessage: "Reject This Record",
115
115
  },
116
116
  },
117
117
  },
118
118
  }
119
119
  ]
120
- }]}
120
+ }
121
+ ]
122
+ }
121
123
  ]}
122
124
 
123
125
  export const TableSectionSchema = {
@@ -12,12 +12,10 @@ 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"},
16
15
  { title: "Download File", const: "DownloadFile" },
17
16
  { title: "Empty Box", const: "EmptyBox" },
18
17
  { title: "File", const: "FileInput" },
19
18
  { title: "Graph", const: "Graph" },
20
- { title: "Input Slider", const: "InputSlider" },
21
19
  { title: "Label", const: "Box" },
22
20
  { title: "LeaderBoard", const: "LeaderBoard" },
23
21
  { title: "MultipleSelect", const: "MultipleSelect" },
@@ -38,14 +36,7 @@ export const ComponentSchema: any = {
38
36
  { title: "Text", const: "Text" },
39
37
  { title: "Text Area", const: "TextArea" },
40
38
  { title: "Timer", const: "Timer" },
41
- { title: "Upload File", const: "UploadFile" },
42
- { title: "Text Area", const: "TextArea" },
43
- { title: "Timer", const: "Timer" },
44
- { title: "Upload File", const: "UploadFile" },
45
- { title: "Date Column", const: "date" },
46
- { title: "DateTime Column", const: "dateTime" },
47
- { title: "Amount Column", const: "amount" },
48
- ]
39
+ { title: "Upload File", const: "UploadFile" },]
49
40
  },
50
41
  orientation:{
51
42
  oneOf: [