impaktapps-ui-builder 0.0.412-mtreemap.9 → 0.0.591

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 (53) hide show
  1. package/dist/impaktapps-ui-builder.es.js +1082 -351
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +13 -13
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +2 -2
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +18 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -6
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -12
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +2 -2
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +5 -0
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +58 -45
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +25 -1
  17. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
  18. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +2 -1
  19. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
  20. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +2 -1
  21. package/package.json +1 -1
  22. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -1
  23. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +5 -5
  24. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +1 -1
  25. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  26. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  27. package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +0 -1
  28. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -5
  29. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +17 -1
  30. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +3 -2
  32. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +78 -33
  33. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
  34. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +88 -90
  35. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +10 -0
  36. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
  37. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +6 -55
  38. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
  39. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +6 -118
  40. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +82 -72
  41. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -7
  42. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +93 -137
  43. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
  44. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +206 -74
  45. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +195 -120
  46. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -0
  47. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +118 -128
  48. package/src/impaktapps-ui-builder/builder/services/component.ts +26 -9
  49. package/src/impaktapps-ui-builder/builder/services/event.ts +17 -9
  50. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -2
  51. package/src/impaktapps-ui-builder/builder/services/utils.ts +0 -1
  52. package/src/impaktapps-ui-builder/runtime/services/events.ts +14 -20
  53. package/src/impaktapps-ui-builder/runtime/services/service.ts +128 -9
@@ -3,6 +3,6 @@ export declare const buildBasicUiSchema: (config: any) => {
3
3
  pageName: any;
4
4
  name: any;
5
5
  accessorKey: any;
6
- headeing: any;
6
+ heading: any;
7
7
  elements: any[];
8
8
  };
@@ -1,4 +1,4 @@
1
1
  declare const _default: (FormData: any) => any;
2
2
  export default _default;
3
3
  export declare const createLayoutFormat: (config: any[]) => any;
4
- export declare const flatObjectValueInArray: (config: any[]) => any[];
4
+ export declare const flatObjectValueInArray: (config?: any[]) => any[];
@@ -1,4 +1,4 @@
1
- declare const _default: {
1
+ declare const Box: {
2
2
  type: string;
3
3
  scope: string;
4
4
  options: {
@@ -10,4 +10,4 @@ declare const _default: {
10
10
  style: {};
11
11
  };
12
12
  };
13
- export default _default;
13
+ export default Box;
@@ -17,6 +17,24 @@ export declare const getRadioInputField: (scope: String, label: String, options:
17
17
  };
18
18
  };
19
19
  };
20
+ export declare const buildWrapper: (label: string, elements: any[]) => {
21
+ type: string;
22
+ config: {
23
+ main: {
24
+ label: string;
25
+ isAccordion: boolean;
26
+ };
27
+ wrapperStyle: {
28
+ marginTop: string;
29
+ marginBottom: string;
30
+ };
31
+ componentsBoxStyle: {
32
+ marginLeft: string;
33
+ };
34
+ defaultStyle: boolean;
35
+ };
36
+ elements: any[];
37
+ };
20
38
  export declare const getTextArea: (scope: string, heading: string, hideButton: boolean, layout?: any) => {
21
39
  type: string;
22
40
  scope: string;
@@ -5,12 +5,7 @@ declare const _default: {
5
5
  widget: string;
6
6
  };
7
7
  config: {
8
- layout: {
9
- xs: number;
10
- sm: number;
11
- md: number;
12
- lg: number;
13
- };
8
+ layout: number;
14
9
  main: {
15
10
  name: string;
16
11
  variant: string;
@@ -4,19 +4,17 @@ declare const _default: {
4
4
  main: {
5
5
  rowSpacing: number;
6
6
  };
7
- style: {
8
- componentsBoxStyle: {
9
- position: string;
10
- color: string;
11
- height: {
12
- xs: string;
13
- md: string;
14
- };
15
- width: string;
16
- textAlign: string;
17
- background: string;
18
- borderRadius: string;
7
+ componentsBoxStyle: {
8
+ position: string;
9
+ color: string;
10
+ height: {
11
+ xs: string;
12
+ md: string;
19
13
  };
14
+ width: string;
15
+ textAlign: string;
16
+ background: string;
17
+ borderRadius: string;
20
18
  };
21
19
  layout: {
22
20
  xs: number;
@@ -1,4 +1,4 @@
1
- export declare const EventSection: {
1
+ export declare const EventSection: (theme: any) => {
2
2
  type: string;
3
3
  elements: {
4
4
  type: string;
@@ -59,7 +59,7 @@ export declare const EventSection: {
59
59
  onClick: string;
60
60
  };
61
61
  style: {
62
- color: string;
62
+ color: any;
63
63
  };
64
64
  };
65
65
  accessorKeyName?: undefined;
@@ -12,10 +12,10 @@ export declare const uploadFile: {
12
12
  backgroundColor: string;
13
13
  };
14
14
  layout: {
15
- lg: number;
16
- md: number;
17
- sm: number;
18
15
  xs: number;
16
+ sm: number;
17
+ md: number;
18
+ lg: number;
19
19
  };
20
20
  };
21
21
  options: {
@@ -34,10 +34,10 @@ export declare const downloadFile: {
34
34
  backgroundColor: string;
35
35
  };
36
36
  layout: {
37
- lg: number;
38
- md: number;
39
- sm: number;
40
37
  xs: number;
38
+ sm: number;
39
+ md: number;
40
+ lg: number;
41
41
  };
42
42
  };
43
43
  options: {
@@ -6,6 +6,9 @@ export declare const BarGraph: {
6
6
  };
7
7
  config: {
8
8
  main: {};
9
+ style: {
10
+ containerStyle: {};
11
+ };
9
12
  };
10
13
  };
11
14
  export declare const PieGraph: {
@@ -18,6 +21,7 @@ export declare const PieGraph: {
18
21
  main: {
19
22
  type: string;
20
23
  };
24
+ style: {};
21
25
  };
22
26
  };
23
27
  export declare const LineGraph: {
@@ -66,5 +70,6 @@ export declare const HorizontalBarGraph: {
66
70
  main: {
67
71
  type: string;
68
72
  };
73
+ style: {};
69
74
  };
70
75
  };
@@ -7,18 +7,16 @@ declare const _default: {
7
7
  label: string;
8
8
  divider: boolean;
9
9
  };
10
- style: {
11
- wrapperStyle: {
12
- height: {
13
- xs: number;
14
- sm: number;
15
- };
16
- };
17
- };
10
+ style: {};
18
11
  wrapperStyle: {
19
12
  position: string;
20
13
  width: string;
21
14
  };
15
+ componentsBoxStyle: {
16
+ display: string;
17
+ flexDirection: string;
18
+ gap: string;
19
+ };
22
20
  };
23
21
  elements: ({
24
22
  type: string;
@@ -30,36 +28,39 @@ declare const _default: {
30
28
  disableAction?: undefined;
31
29
  disableSelection?: undefined;
32
30
  };
33
- containerStyle: {
34
- objectFit: string;
35
- position: string;
36
- top: {
37
- xs: string;
38
- md: string;
39
- };
40
- left: {
41
- xs: string;
42
- sm: string;
43
- md: string;
44
- };
45
- width: {
46
- xs: string;
47
- sm: string;
48
- md: string;
31
+ style: {
32
+ imageStyle: {
33
+ objectFit: string;
34
+ width: string;
35
+ height: string;
36
+ borderRadius: string;
49
37
  };
50
- border: string;
51
- height: {
52
- xs: string;
53
- sm: string;
54
- md: string;
38
+ containerStyle: {
39
+ objectFit: string;
40
+ position: string;
41
+ top: {
42
+ xs: string;
43
+ md: string;
44
+ };
45
+ left: {
46
+ xs: string;
47
+ sm: string;
48
+ md: string;
49
+ };
50
+ width: {
51
+ xs: string;
52
+ sm: string;
53
+ md: string;
54
+ };
55
+ border: string;
56
+ height: {
57
+ xs: string;
58
+ sm: string;
59
+ md: string;
60
+ };
61
+ borderRadius: string;
55
62
  };
56
- borderRadius: string;
57
- };
58
- style: {
59
- objectFit: string;
60
- width: string;
61
- height: string;
62
- borderRadius: string;
63
+ objectFit?: undefined;
63
64
  position?: undefined;
64
65
  display?: undefined;
65
66
  justifyContent?: undefined;
@@ -68,14 +69,18 @@ declare const _default: {
68
69
  top?: undefined;
69
70
  fontSize?: undefined;
70
71
  left?: undefined;
72
+ width?: undefined;
71
73
  fontWeight?: undefined;
74
+ borderRadius?: undefined;
72
75
  zIndex?: undefined;
73
76
  textShadow?: undefined;
74
77
  background?: undefined;
75
78
  border?: undefined;
79
+ height?: undefined;
76
80
  '@keyframes rotateAnimation'?: undefined;
77
81
  animation?: undefined;
78
82
  tableHeadstyle?: undefined;
83
+ margin?: undefined;
79
84
  };
80
85
  layout: number;
81
86
  };
@@ -115,16 +120,18 @@ declare const _default: {
115
120
  fontWeight: string;
116
121
  borderRadius: string;
117
122
  zIndex: number;
118
- height?: undefined;
123
+ imageStyle?: undefined;
124
+ containerStyle?: undefined;
119
125
  textShadow?: undefined;
120
126
  background?: undefined;
121
127
  border?: undefined;
128
+ height?: undefined;
122
129
  '@keyframes rotateAnimation'?: undefined;
123
130
  animation?: undefined;
124
131
  tableHeadstyle?: undefined;
132
+ margin?: undefined;
125
133
  };
126
134
  layout: number;
127
- containerStyle?: undefined;
128
135
  };
129
136
  options: {
130
137
  widget: string;
@@ -161,17 +168,19 @@ declare const _default: {
161
168
  width: string;
162
169
  fontWeight: string;
163
170
  borderRadius: string;
164
- height?: undefined;
171
+ imageStyle?: undefined;
172
+ containerStyle?: undefined;
165
173
  zIndex?: undefined;
166
174
  textShadow?: undefined;
167
175
  background?: undefined;
168
176
  border?: undefined;
177
+ height?: undefined;
169
178
  '@keyframes rotateAnimation'?: undefined;
170
179
  animation?: undefined;
171
180
  tableHeadstyle?: undefined;
181
+ margin?: undefined;
172
182
  };
173
183
  layout: number;
174
- containerStyle?: undefined;
175
184
  };
176
185
  options: {
177
186
  widget: string;
@@ -233,11 +242,13 @@ declare const _default: {
233
242
  animation: string;
234
243
  borderRadius: string;
235
244
  zIndex: number;
245
+ imageStyle?: undefined;
246
+ containerStyle?: undefined;
236
247
  fontWeight?: undefined;
237
248
  tableHeadstyle?: undefined;
249
+ margin?: undefined;
238
250
  };
239
251
  layout: number;
240
- containerStyle?: undefined;
241
252
  };
242
253
  options: {
243
254
  widget: string;
@@ -256,7 +267,6 @@ declare const _default: {
256
267
  fontWeight: number;
257
268
  background: string;
258
269
  };
259
- position: string;
260
270
  top: {
261
271
  xs: string;
262
272
  sm: string;
@@ -266,18 +276,22 @@ declare const _default: {
266
276
  border: string;
267
277
  width: string;
268
278
  left: string;
279
+ margin: string;
280
+ imageStyle?: undefined;
281
+ containerStyle?: undefined;
269
282
  objectFit?: undefined;
270
- height?: undefined;
271
- borderRadius?: undefined;
283
+ position?: undefined;
272
284
  display?: undefined;
273
285
  justifyContent?: undefined;
274
286
  alignItems?: undefined;
275
287
  color?: undefined;
276
288
  fontSize?: undefined;
277
289
  fontWeight?: undefined;
290
+ borderRadius?: undefined;
278
291
  zIndex?: undefined;
279
292
  textShadow?: undefined;
280
293
  background?: undefined;
294
+ height?: undefined;
281
295
  '@keyframes rotateAnimation'?: undefined;
282
296
  animation?: undefined;
283
297
  };
@@ -287,7 +301,6 @@ declare const _default: {
287
301
  url?: undefined;
288
302
  heading?: undefined;
289
303
  };
290
- containerStyle?: undefined;
291
304
  layout?: undefined;
292
305
  };
293
306
  })[];
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  config: {
9
9
  main: {
10
10
  onMount: string;
11
+ enableExpandAll: boolean;
11
12
  allRowData: any[];
12
13
  downloadAllData: boolean;
13
14
  columns: {
@@ -1,4 +1,4 @@
1
- export declare const TableSection: {
1
+ export declare const TableSection: (theme: any) => {
2
2
  type: string;
3
3
  elements: {
4
4
  type: string;
@@ -60,6 +60,30 @@ export declare const TableSection: {
60
60
  onClick: string;
61
61
  tooltipMessage: string;
62
62
  };
63
+ style: {
64
+ color: any;
65
+ };
66
+ };
67
+ };
68
+ accessorKey?: undefined;
69
+ } | {
70
+ header: string;
71
+ field: string;
72
+ flex: number;
73
+ widget: {
74
+ type: string;
75
+ scope: string;
76
+ options: {
77
+ widget: string;
78
+ };
79
+ config: {
80
+ main: {
81
+ icon: string;
82
+ color: string;
83
+ onClick: string;
84
+ tooltipMessage: string;
85
+ };
86
+ style?: undefined;
63
87
  };
64
88
  };
65
89
  accessorKey?: undefined;
@@ -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;
@@ -84,7 +84,8 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
84
84
  onChange: () => void;
85
85
  addEvent: () => void;
86
86
  editEvent: () => void;
87
- deleteEvent: () => void;
87
+ deleteEvent: () => Promise<void>;
88
88
  backHandler: () => void;
89
+ deletePopUpEvent: () => void;
89
90
  };
90
91
  export default _default;
@@ -57,9 +57,11 @@ declare const _default: (funcParams: funcParamsProps) => {
57
57
  onAddClickHandler: () => void;
58
58
  saveHandler: () => Promise<void>;
59
59
  Edit_Components: () => void;
60
- Delete_Components: () => void;
60
+ Delete_Components: () => Promise<void>;
61
61
  eventAddHandler: () => void;
62
62
  editEvent: () => void;
63
63
  deleteEvent: () => void;
64
+ deletePopUpComponent: () => void;
65
+ deletePopUpEvent: () => void;
64
66
  };
65
67
  export default _default;
@@ -15,10 +15,11 @@ declare const _default: (funcParams: funcParamsProps) => {
15
15
  onFileDownload: () => void;
16
16
  onFileUpload: () => void;
17
17
  backHandler: () => void;
18
+ onRowMovement: (paginationValues: any) => Promise<any>;
18
19
  onPaginationChange: (paginationValues: any) => Promise<any>;
19
20
  getSelectOptions: (param: any) => Promise<any>;
20
21
  onChange: () => Promise<void>;
21
- updateConfigApiBody: (paramValue: any, apiBody: any) => Promise<any>;
22
+ callExecuteEvents: (paramValue: any, apiBody: any, eventType: string) => Promise<any>;
22
23
  onBack: (functionParameters: any) => Promise<void>;
23
24
  onNext: (functionParameters: any) => Promise<void>;
24
25
  onReset: (functionParameters: any) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.412-mtreemap.9",
3
+ "version": "0.0.591",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -4,7 +4,7 @@ export const buildBasicUiSchema = (config) => {
4
4
  pageName: config.name,
5
5
  name: config.name,
6
6
  accessorKey: config.name,
7
- headeing: config.label || config.name,
7
+ heading: config.label || config.name,
8
8
  "elements": []
9
9
  }
10
10
  }
@@ -29,10 +29,10 @@ export default (FormData: any) => {
29
29
  export const createLayoutFormat = (config: any[]) => {
30
30
  if (_.isEmpty(config)) {
31
31
  return {
32
- xs: 11,
33
- sm: 11,
34
- md: 5.5,
35
- lg: 5.5,
32
+ xs: 12,
33
+ sm: 12,
34
+ md: 12,
35
+ lg: 12,
36
36
  }
37
37
  }
38
38
  let data: any = {};
@@ -41,7 +41,7 @@ export const createLayoutFormat = (config: any[]) => {
41
41
  })
42
42
  return data;
43
43
  };
44
- export const flatObjectValueInArray = (config: any[]) => {
44
+ export const flatObjectValueInArray = (config: any[]=[]) => {
45
45
  if (config[0].length < 1) {
46
46
  return
47
47
  }
@@ -2,7 +2,7 @@ import DateInputField, { DateTime } from "./uischema/dateInputField";
2
2
  import _ from "lodash";
3
3
  import { createLayoutFormat } from "./buildConfig";
4
4
 
5
- export const buildDate = (config:any,componentScope:string)=>{
5
+ export const buildDate = (config:any,componentScope:string)=> {
6
6
  const dateInputField: any = _.cloneDeep(DateInputField);
7
7
  dateInputField.config.main.label = config.label;
8
8
  dateInputField.config.main.errorMessage = `${config.name} is empty or invalid`;
@@ -8,7 +8,7 @@ const FileInput = {
8
8
  widget: "FileInputField",
9
9
  },
10
10
  config: {
11
- layout: 11.5,
11
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
12
12
  main: {
13
13
  required: false,
14
14
  onUpload: "onFileUpload",
@@ -9,7 +9,7 @@ const RadioUiSchema = {
9
9
  widget: "RadioInputField",
10
10
  },
11
11
  config: {
12
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
12
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
13
13
  main: {
14
14
  label: "Enabled",
15
15
  options: ["YES", "NO"],
@@ -25,7 +25,6 @@ export const buildSchema = (config: any) => {
25
25
 
26
26
  }
27
27
  buildRule(config)
28
- console.log(schema)
29
28
  window.localStorage.setItem("schemaDemo",JSON.stringify(schema))
30
29
  return schema;
31
30
  };
@@ -15,10 +15,6 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
15
15
  if (config.barColor) {
16
16
  barGraph.config.barStyle.color = config.barColor;
17
17
  }
18
- // if (config.containerBackground) {
19
- // barGraph.config.containerStyle.background =
20
- // config.containerBackground;
21
- // }
22
18
  if (config.height) {
23
19
  barGraph.config.style.containerStyle.height = config.height;
24
20
  }
@@ -28,6 +24,6 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
28
24
  if (config.leftLabel) {
29
25
  barGraph.config.main.leftLabel = config.leftLabel;
30
26
  }
31
- // barGraph.scope = componentScope;
27
+ barGraph.scope = componentScope;
32
28
  return barGraph;
33
29
  }
@@ -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;
@@ -12,6 +12,22 @@ export const buildTable = (config: any, componentScope: string) => {
12
12
  if (config.lazyLoading) {
13
13
  table.config.main.lazyLoading = config.lazyLoading === "YES" ? true : false;
14
14
  }
15
+ if (config.enableRowMovement) {
16
+ table.config.main.enableRowMovement = config.enableRowMovement === "YES" ? true : false;
17
+ }
18
+ if (config.enableExpanding) {
19
+ table.config.main.enableExpanding = config.enableExpanding === "YES" ? true : false;
20
+ }
21
+
22
+ if (config.enableExpandAll) {
23
+ table.config.main.enableExpandAll = config.enableExpandAll === "YES" ? true : false;
24
+ }
25
+ if (config.paginateExpandedRows) {
26
+ table.config.main.paginateExpandedRows = config.paginateExpandedRows === "YES" ? true : false;
27
+ }
28
+ if (config.treeStructure) {
29
+ table.config.main.treeStructure = config.treeStructure === "YES" ? "flatTreeMap" : false;
30
+ }
15
31
  if (config.SelectionAvailable) {
16
32
  table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false
17
33
  };
@@ -7,7 +7,7 @@ export const buildWrapperSection = (config, componentScope) => {
7
7
  wrapper.scope = componentScope;
8
8
  wrapper.config.main.label = config.label;
9
9
  wrapper.config.main.divider = config.divider === "YES" ? true : false;
10
- wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
10
+ wrapper.config.main.isAccordion = config.isAccordion === "No" ? false : true;
11
11
  if(config.defaultStyle){
12
12
  wrapper.config.defaultStyle = config.defaultStyle ==="YES" ? true : false;
13
13
  }
@@ -1,5 +1,5 @@
1
1
 
2
- export default {
2
+ const Box = {
3
3
  type: "Control",
4
4
  scope: "#/properties/emptyBox",
5
5
  options: {
@@ -12,4 +12,5 @@
12
12
  // fontWeight:300
13
13
  }
14
14
  },
15
- };
15
+ };
16
+ export default Box;