impaktapps-ui-builder 1.0.280 → 1.0.300

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 (30) hide show
  1. package/dist/impaktapps-ui-builder.es.js +140 -92
  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/buildStackBarLineGraph.d.ts +2 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +1 -0
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +25 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +3 -1
  9. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +0 -1
  10. package/package.json +1 -1
  11. package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +2 -2
  12. package/src/impaktapps-ui-builder/builder/build/buildArray.ts +10 -6
  13. package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +1 -1
  14. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +3 -0
  15. package/src/impaktapps-ui-builder/builder/build/buildImage.ts +6 -3
  16. package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +66 -0
  17. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +4 -4
  18. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +7 -3
  19. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +2 -1
  20. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +26 -23
  21. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +16 -0
  22. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +3 -1
  23. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -8
  24. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +17 -0
  25. package/src/impaktapps-ui-builder/builder/services/component.ts +102 -103
  26. package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -8
  27. package/dist/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.d.ts +0 -1
  28. package/dist/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.d.ts +0 -22
  29. package/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.ts +0 -38
  30. package/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.ts +0 -13
@@ -96,6 +96,22 @@ const PageMasterUiSchema = (theme) => {
96
96
  }
97
97
  }
98
98
  },
99
+ {
100
+ type: "Control",
101
+ scope: "#/properties/pageIconUrl",
102
+ options: {
103
+ widget: "InputField"
104
+ },
105
+ config: {
106
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
107
+ main: {
108
+ label: "Page Icon URL",
109
+ options: [],
110
+ color: "secondary",
111
+ required: true
112
+ }
113
+ }
114
+ },
99
115
  {
100
116
  type: "Control",
101
117
  scope: "#/properties/hasBackIcon",
@@ -6256,7 +6272,6 @@ const ComponentSchema = {
6256
6272
  { title: "Rank", const: "Rank" },
6257
6273
  { title: "Rank Card", const: "RankCard" },
6258
6274
  { title: "Metric Card", const: "MetricCard" },
6259
- { title: "Hierarchy Chart", const: "HierarchyChart" },
6260
6275
  { title: "Runner Boy", const: "RunnerBoyProgressBar" },
6261
6276
  { title: "Table", const: "Table" },
6262
6277
  { title: "Tabs", const: "TabSection" },
@@ -6319,13 +6334,6 @@ const ComponentSchema = {
6319
6334
  { title: "Standard", const: "standard" }
6320
6335
  ]
6321
6336
  },
6322
- linkType: {
6323
- oneOf: [
6324
- { title: "Step", const: "step" },
6325
- { title: "Diagonal", const: "diagonal" },
6326
- { title: "Line", const: "line" }
6327
- ]
6328
- },
6329
6337
  positionVertical: {
6330
6338
  oneOf: [
6331
6339
  { title: "Top", const: "top" },
@@ -6648,7 +6656,8 @@ const ComponentSchema = {
6648
6656
  title: "Stack Horizontal Bar Graph",
6649
6657
  const: "HorizontalStackBarGraph"
6650
6658
  },
6651
- { title: "Area Graph", const: "AreaGraph" }
6659
+ { title: "Area Graph", const: "AreaGraph" },
6660
+ { title: "StackBar And Line Graph", const: "StackBarLineGraph" }
6652
6661
  ]
6653
6662
  },
6654
6663
  iconName: {
@@ -7996,6 +8005,10 @@ const buildPropertiesSection = function(type) {
7996
8005
  getRadioInputField("disableExpandAllButton", "Disable Expand Buttons", ["YES", "NO"]),
7997
8006
  getRadioInputField("disableRowActions", "Disable Row Actions", ["YES", "NO"]),
7998
8007
  getInputField("childElementLabel", "Child Element Label"),
8008
+ getInputField("showKeyAsLabel", "ShowKey As Label"),
8009
+ getInputField("rowSpacing", "Row Spacing"),
8010
+ getInputField("columnSpacing", "Column Spacing"),
8011
+ getInputField("spacing", "Spacing"),
7999
8012
  emptyBox$1("empty1", { xs: 12, sm: 6, md: 4, lg: 3 })
8000
8013
  ];
8001
8014
  break;
@@ -8136,18 +8149,6 @@ const buildPropertiesSection = function(type) {
8136
8149
  emptyBox$1("cardEmpty", { xs: 0, sm: 0, md: 8, lg: 8 })
8137
8150
  ];
8138
8151
  break;
8139
- case "HierarchyChart":
8140
- uiSchema.elements = [
8141
- getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
8142
- getSelectField("linkType", "Link Type"),
8143
- getInputField("nodeWidth", "Node Width"),
8144
- getInputField("nodeHeight", "Node Height"),
8145
- getRadioInputField("isExpandAll", "Expand All", ["YES", "NO"]),
8146
- getInputField("chartHeight", "Chart Height"),
8147
- getInputField("stepPercent", "Link Bend Position"),
8148
- emptyBox$1("HierarchyChart", { xs: 6, sm: 6, md: 0, lg: 3 })
8149
- ];
8150
- break;
8151
8152
  case "MetricCard":
8152
8153
  uiSchema.elements = [
8153
8154
  getInputField("url", "Image Url"),
@@ -8156,7 +8157,7 @@ const buildPropertiesSection = function(type) {
8156
8157
  getInputField("description", "Description"),
8157
8158
  getSelectField("growthRate", "Growth Rate"),
8158
8159
  getInputField("color", "Card Color"),
8159
- emptyBox$1("MetricEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 })
8160
+ emptyBox$1("MetricEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 })
8160
8161
  ];
8161
8162
  break;
8162
8163
  case "Button":
@@ -8190,6 +8191,7 @@ const buildPropertiesSection = function(type) {
8190
8191
  getInputField("subHeader", "Sub Header"),
8191
8192
  getSelectField("graphType", "Graph Type"),
8192
8193
  getInputField("leftLabel", "Left Label"),
8194
+ getInputField("rightLabel", "Right Label"),
8193
8195
  getRadioInputField("disableLeftLabel", "Disable Left Label", ["YES", "No"]),
8194
8196
  getInputField("bottomLabel", "Bottom Label"),
8195
8197
  emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
@@ -8200,7 +8202,7 @@ const buildPropertiesSection = function(type) {
8200
8202
  getSelectField("xAxisType", "X-AxisType"),
8201
8203
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
8202
8204
  getInputField("leftMargin", "Left Margin"),
8203
- getInputField("xAxisTickCount", "X Axis TickCount"),
8205
+ getInputField("xAxisLabelMinWidth", "X Axis Label Width"),
8204
8206
  getInputField("yAxisTickCount", "Y Axis TickCount"),
8205
8207
  getSelectField("xAxisFormatType", "X Axis Format Type"),
8206
8208
  emptyBox$1("GraphEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
@@ -8213,9 +8215,12 @@ const buildPropertiesSection = function(type) {
8213
8215
  getRadioInputField("divider", "Divider", ["YES", "No"]),
8214
8216
  getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
8215
8217
  getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
8216
- getInputField("rowSpacing", "Row Spacing"),
8217
8218
  getRadioInputField("defaultClosed", "Default Closed", ["YES", "No"]),
8218
- emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
8219
+ getInputField("rowSpacing", "Row Spacing"),
8220
+ getInputField("columnSpacing", "Column Spacing"),
8221
+ getInputField("spacing", "Spacing"),
8222
+ getInputField("iconUrl", "Icon Url"),
8223
+ emptyBox$1("WrapperSectionEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
8219
8224
  emptyBox$1("WrapperSectionEmpty2")
8220
8225
  ];
8221
8226
  break;
@@ -8313,6 +8318,8 @@ const buildPropertiesSection = function(type) {
8313
8318
  uiSchema.elements = [
8314
8319
  getInputField("imageUrl", "Image URL"),
8315
8320
  getInputField("height", "Image Height"),
8321
+ getInputField("toolTip", "Tooltip"),
8322
+ getSelectField("toolTipPosition", "Tooltip Position"),
8316
8323
  emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
8317
8324
  ];
8318
8325
  break;
@@ -8327,7 +8334,9 @@ const buildPropertiesSection = function(type) {
8327
8334
  getSelectField("toolTipPosition", "Tooltip Position"),
8328
8335
  getInputField("chooseButtonLabel", "ChooseButton Label"),
8329
8336
  getInputField("noFileAvailableMessage", "No Found Message"),
8330
- emptyBox$1("FileInputEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
8337
+ getRadioInputField("useLabel", "Use Button", ["YES", "NO"]),
8338
+ getRadioInputField("externalUpload", "External Upload", ["YES", "NO"]),
8339
+ emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
8331
8340
  ];
8332
8341
  break;
8333
8342
  case "Camera":
@@ -8848,13 +8857,12 @@ const sectionLabels = {
8848
8857
  ProgressBar: ["Core", "Properties", "Events", "Style"],
8849
8858
  RankCard: ["Core", "Properties", "Events", "Style"],
8850
8859
  MetricCard: ["Core", "Properties", "Events", "Style", "Validation"],
8851
- HierarchyChart: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8852
8860
  Slider: ["Core", "Components", "Events", "Style", "Validation"],
8853
8861
  Timer: ["Core", "Events", "Style"],
8854
8862
  Rank: ["Core", "Events", "Style"],
8855
8863
  Button: ["Core", "Properties", "Events", "Style", "Validation"],
8856
8864
  ButtonGroup: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8857
- Array: ["Core", "Components", "Properties", "Events", "Validation"],
8865
+ Array: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8858
8866
  Radio: ["Core", "Properties", "Events", "Style", "Validation"],
8859
8867
  Text: ["Core", "Properties", "Events", "Style", "Validation"],
8860
8868
  TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -8868,7 +8876,7 @@ const sectionLabels = {
8868
8876
  Thought: ["Core", "Properties", "Events", "Style"],
8869
8877
  Date: ["Core", "Properties", "Events", "Style", "Validation"],
8870
8878
  DateTime: ["Core", "Properties", "Events", "Style", "Validation"],
8871
- Image: ["Core", "Properties", "Style"],
8879
+ Image: ["Core", "Properties", "Events", "Style"],
8872
8880
  FileInput: ["Core", "Properties", "Events", "Style", "Validation"],
8873
8881
  Camera: ["Core", "Properties", "Events", "Style", "Validation"],
8874
8882
  OTP_Input: ["Core", "Properties", "Events", "Style", "Validation"]
@@ -10786,7 +10794,7 @@ var service = (funcParams) => {
10786
10794
  const config2 = pageData == null ? void 0 : pageData.config;
10787
10795
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
10788
10796
  const event2 = new CustomEvent("pageNameChanged", {
10789
- detail: { pageName: config2.label, hasBackIcon: config2.hasBackIcon === "NO" ? false : true }
10797
+ detail: { pageName: config2.label, pageIconUrl: config2.pageIconUrl, hasBackIcon: config2.hasBackIcon === "NO" ? false : true }
10790
10798
  });
10791
10799
  window.dispatchEvent(event2);
10792
10800
  (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
@@ -10893,13 +10901,6 @@ var service = (funcParams) => {
10893
10901
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
10894
10902
  return response == null ? void 0 : response.data;
10895
10903
  },
10896
- onNodeExpandChange: async function(param) {
10897
- const apiBody = [
10898
- { key: "expandedNodeId", value: param.expandedNodeId }
10899
- ];
10900
- const response = await this.callExecuteEvents(param, apiBody, "onLoad");
10901
- return response == null ? void 0 : response.data;
10902
- },
10903
10904
  getSelectOptions: async function(param) {
10904
10905
  if (param.serachValue !== "" && param.serachValue !== void 0) {
10905
10906
  const apiBody = [
@@ -11214,6 +11215,21 @@ const AreaBarGraph = {
11214
11215
  style: { containerStyle: {}, labelStyle: { margin: {} } }
11215
11216
  }
11216
11217
  };
11218
+ const StackBarLineG = {
11219
+ type: "Control",
11220
+ scope: "#/properties/graph",
11221
+ options: {
11222
+ widget: "Graph"
11223
+ },
11224
+ config: {
11225
+ layout: { xs: 12, sm: 12, md: 12, lg: 12 },
11226
+ main: {
11227
+ type: "StackBarLineGraph",
11228
+ legendLabels: null
11229
+ },
11230
+ style: { containerStyle: {}, labelStyle: { margin: {} } }
11231
+ }
11232
+ };
11217
11233
  const buildHorizontalBarGraph = (config2, componentScope2) => {
11218
11234
  const horizontalBarGraph = _.cloneDeep(HorizontalBarGraph);
11219
11235
  horizontalBarGraph.scope = componentScope2;
@@ -11481,9 +11497,11 @@ var WrapperSection = {
11481
11497
  config: {
11482
11498
  layout: 12,
11483
11499
  main: {
11484
- rowSpacing: 3,
11485
11500
  divider: true,
11486
- label: "Default Label"
11501
+ label: "Default Label",
11502
+ rowSpacing: 2,
11503
+ columnSpacing: 2,
11504
+ spacing: 2
11487
11505
  },
11488
11506
  defaultStyle: true
11489
11507
  },
@@ -11496,6 +11514,10 @@ const buildWrapperSection = (config2, componentScope2) => {
11496
11514
  wrapper.config.main.divider = config2.divider === "YES" ? true : false;
11497
11515
  wrapper.config.main.isAccordion = config2.isAccordion === "No" ? false : true;
11498
11516
  wrapper.config.main.defaultClosed = config2.defaultClosed === "YES" ? true : false;
11517
+ wrapper.config.main.icon = config2.iconUrl;
11518
+ wrapper.config.main.rowSpacing = Number(config2.rowSpacing);
11519
+ wrapper.config.main.columnSpacing = Number(config2.columnSpacing);
11520
+ wrapper.config.main.spacing = Number(config2.spacing);
11499
11521
  if (config2.defaultStyle) {
11500
11522
  wrapper.config.defaultStyle = config2.defaultStyle === "YES" ? true : false;
11501
11523
  }
@@ -11770,7 +11792,8 @@ const Box = {
11770
11792
  config: {
11771
11793
  layout: { xs: 6, sm: 6, md: 4, lg: 3 },
11772
11794
  main: {
11773
- iconName: ""
11795
+ iconName: "",
11796
+ onClick: "onClick"
11774
11797
  },
11775
11798
  style: {}
11776
11799
  }
@@ -12534,7 +12557,11 @@ const buildArray = (config2, componentScope2) => {
12534
12557
  if (config2.style) {
12535
12558
  array.config.style = JSON.parse(config2.style);
12536
12559
  }
12560
+ array.config.main.rowSpacing = Number(config2.rowSpacing);
12561
+ array.config.main.columnSpacing = Number(config2.columnSpacing);
12562
+ array.config.main.spacing = Number(config2.spacing);
12537
12563
  array.config.main.childElementLabel = config2.childElementLabel;
12564
+ array.config.main.showKeyAsLabel = config2.showKeyAsLabel;
12538
12565
  array.config.main.label = config2.label;
12539
12566
  array.scope = componentScope2;
12540
12567
  return array;
@@ -12609,7 +12636,8 @@ const FileInput = {
12609
12636
  required: false,
12610
12637
  onUpload: "onFileUpload",
12611
12638
  onDownload: "onFileDownload",
12612
- label: "Aggrement Copy"
12639
+ label: "Aggrement Copy",
12640
+ "onClick": "onClick"
12613
12641
  },
12614
12642
  style: {
12615
12643
  backgroundColor: "none"
@@ -12630,6 +12658,7 @@ const buildFileInput = (config2, componentScope2) => {
12630
12658
  box.config.main.disableUpload = config2.disableUpload === "YES" ? true : false;
12631
12659
  box.config.main.disableDownload = config2.disableDownload === "YES" ? true : false;
12632
12660
  box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
12661
+ box.config.main.useLabel = config2.useLabel === "YES" ? true : false;
12633
12662
  box.config.main.description = config2.description;
12634
12663
  box.config.main.toolTip = config2.toolTip;
12635
12664
  box.config.main.chooseButtonLabel = config2.chooseButtonLabel;
@@ -12637,6 +12666,7 @@ const buildFileInput = (config2, componentScope2) => {
12637
12666
  if (config2.toolTipPosition) {
12638
12667
  box.config.main.toolTipPosition = config2.toolTipPosition;
12639
12668
  }
12669
+ box.config.main.externalUpload = config2.externalUpload === "YES" ? true : false;
12640
12670
  return box;
12641
12671
  };
12642
12672
  const Stepper = {
@@ -12916,7 +12946,8 @@ const imageUiSchema = {
12916
12946
  config: {
12917
12947
  layout: 3,
12918
12948
  main: {
12919
- url: ""
12949
+ url: "",
12950
+ onClick: "onClick"
12920
12951
  },
12921
12952
  style: {}
12922
12953
  }
@@ -12934,6 +12965,8 @@ const buildImage = (config2, componentScope2) => {
12934
12965
  if (config2.height) {
12935
12966
  image.config.style.imageStyle = { ...image.config.style.imageStyle, height: config2.height };
12936
12967
  }
12968
+ image.config.main.toolTip = config2.toolTip;
12969
+ image.config.main.toolTipPosition = config2.toolTipPosition;
12937
12970
  return image;
12938
12971
  };
12939
12972
  const buildAreaGraph = (config2, componentScope2) => {
@@ -12967,8 +13000,8 @@ const buildAreaGraph = (config2, componentScope2) => {
12967
13000
  if (config2.xAxisFormatType) {
12968
13001
  AreaGraph.config.main.xAxisFormatType = config2.xAxisFormatType;
12969
13002
  }
12970
- if (config2.xAxisTickCount) {
12971
- AreaGraph.config.main.xAxisTickCount = config2.xAxisTickCount;
13003
+ if (config2.xAxisLabelMinWidth) {
13004
+ AreaGraph.config.main.xAxisLabelMinWidth = config2.xAxisLabelMinWidth;
12972
13005
  }
12973
13006
  if (config2.yAxisTickCount) {
12974
13007
  AreaGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
@@ -12995,6 +13028,65 @@ const buildAreaGraph = (config2, componentScope2) => {
12995
13028
  }
12996
13029
  return AreaGraph;
12997
13030
  };
13031
+ const buildStackBarLineGraph = (config2, componentScope2) => {
13032
+ const StackBarLineGraph = _.cloneDeep(StackBarLineG);
13033
+ StackBarLineGraph.scope = componentScope2;
13034
+ if (config2.layout) {
13035
+ StackBarLineGraph.config.layout = createLayoutFormat(config2.layout, config2.type);
13036
+ }
13037
+ StackBarLineGraph.config.main.type = config2.graphType;
13038
+ StackBarLineGraph.scope = componentScope2;
13039
+ StackBarLineGraph.config.main.header = config2.heading;
13040
+ StackBarLineGraph.config.main.subHeader = config2.subHeader;
13041
+ if (config2.legendHide) {
13042
+ StackBarLineGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
13043
+ }
13044
+ if (config2.bottomAxisAngle) {
13045
+ StackBarLineGraph.config.main.bottomAxisAngle = config2.bottomAxisAngle === "YES" ? true : false;
13046
+ }
13047
+ if (config2.legendLabels) {
13048
+ StackBarLineGraph.config.main.legendLabels = createKeyValueMap(config2.legendLabels);
13049
+ }
13050
+ if (config2.legendDirection) {
13051
+ StackBarLineGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
13052
+ }
13053
+ if (config2.height) {
13054
+ StackBarLineGraph.config.style.containerStyle.height = config2.height;
13055
+ }
13056
+ if (config2.pieArcColors) {
13057
+ StackBarLineGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
13058
+ }
13059
+ if (config2.xAxisLabelMinWidth) {
13060
+ StackBarLineGraph.config.main.xAxisLabelMinWidth = config2.xAxisLabelMinWidth;
13061
+ }
13062
+ if (config2.yAxisTickCount) {
13063
+ StackBarLineGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
13064
+ }
13065
+ if (config2.xAxisValue) {
13066
+ StackBarLineGraph.config.main.xAxisValue = config2.xAxisValue;
13067
+ }
13068
+ if (config2.xAxisType) {
13069
+ StackBarLineGraph.config.main.xAxisType = config2.xAxisType;
13070
+ }
13071
+ if (config2.bottomLabel) {
13072
+ StackBarLineGraph.config.main.bottomLabel = config2.bottomLabel;
13073
+ }
13074
+ if (config2.leftLabel) {
13075
+ StackBarLineGraph.config.main.leftLabel = config2.leftLabel;
13076
+ }
13077
+ if (config2.rightLabel) {
13078
+ StackBarLineGraph.config.main.rightLabel = config2.rightLabel;
13079
+ }
13080
+ if (config2.disableLeftLabel) {
13081
+ StackBarLineGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
13082
+ }
13083
+ if (config2.leftMargin) {
13084
+ StackBarLineGraph.config.style.labelStyle.margin = {
13085
+ left: config2.leftMargin
13086
+ };
13087
+ }
13088
+ return StackBarLineGraph;
13089
+ };
12998
13090
  const cameraUiSchema = {
12999
13091
  type: "Control",
13000
13092
  scope: "#/properties/camera",
@@ -13035,7 +13127,7 @@ const buildCamera = (config2, componentScope2) => {
13035
13127
  camera.config.main.color = config2.color;
13036
13128
  }
13037
13129
  if (config2.label) {
13038
- camera.config.main.name = config2.label;
13130
+ camera.config.main.label = config2.label;
13039
13131
  }
13040
13132
  return camera;
13041
13133
  };
@@ -13148,50 +13240,6 @@ const buildOTP_Input = (config2, componentScope2) => {
13148
13240
  OTP.config.main.length = +config2.length;
13149
13241
  return OTP;
13150
13242
  };
13151
- const HierarchyChart = {
13152
- type: "Control",
13153
- scope: "#/properties/HierarchyChart",
13154
- options: {
13155
- widget: "HierarchyChart"
13156
- },
13157
- config: {
13158
- layout: { xs: 12, sm: 12, md: 12, lg: 12 },
13159
- main: {},
13160
- style: { containerStyle: {}, labelStyle: { margin: {} } }
13161
- }
13162
- };
13163
- const buildHierarchyChart = (config2, componentScope2, store2) => {
13164
- const hierarchyChart = _.cloneDeep(HierarchyChart);
13165
- hierarchyChart.scope = componentScope2;
13166
- if (config2.style) {
13167
- hierarchyChart.config.style = JSON.parse(config2.style);
13168
- }
13169
- if (config2.layout) {
13170
- hierarchyChart.config.layout = createLayoutFormat(config2.layout);
13171
- }
13172
- if (config2.linkType) {
13173
- hierarchyChart.config.main.linkType = config2.linkType;
13174
- }
13175
- if (config2.stepPercent) {
13176
- hierarchyChart.config.main.stepPercent = config2.stepPercent;
13177
- }
13178
- if (config2.nodeWidth) {
13179
- hierarchyChart.config.main.nodeWidth = config2.nodeWidth;
13180
- }
13181
- if (config2.nodeHeight) {
13182
- hierarchyChart.config.main.nodeHeight = config2.nodeHeight;
13183
- }
13184
- if (config2.chartHeight) {
13185
- hierarchyChart.config.main.chartHeight = config2.chartHeight;
13186
- }
13187
- if (config2.lazyLoading) {
13188
- hierarchyChart.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
13189
- }
13190
- if (config2.isExpandAll) {
13191
- hierarchyChart.config.main.isExpandAll = config2.isExpandAll === "YES" ? true : false;
13192
- }
13193
- return hierarchyChart;
13194
- };
13195
13243
  let schema = {
13196
13244
  type: "object",
13197
13245
  properties: {},
@@ -13355,9 +13403,6 @@ const buildUiSchema = (config2, store2) => {
13355
13403
  case "MetricCard":
13356
13404
  elements = buildMetricCard(config2, componentScope2);
13357
13405
  break;
13358
- case "HierarchyChart":
13359
- elements = buildHierarchyChart(config2, componentScope2);
13360
- break;
13361
13406
  case "Graph":
13362
13407
  switch (config2.graphType) {
13363
13408
  case "BarGraph":
@@ -13377,6 +13422,9 @@ const buildUiSchema = (config2, store2) => {
13377
13422
  case "AreaGraph":
13378
13423
  elements = buildAreaGraph(config2, componentScope2);
13379
13424
  break;
13425
+ case "StackBarLineGraph":
13426
+ elements = buildStackBarLineGraph(config2, componentScope2);
13427
+ break;
13380
13428
  default:
13381
13429
  elements = buildStackbarGraph(config2, componentScope2);
13382
13430
  break;