impaktapps-ui-builder 1.0.407 → 1.0.409

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.
@@ -6657,8 +6657,7 @@ const ComponentSchema = {
6657
6657
  title: "Stack Horizontal Bar Graph",
6658
6658
  const: "HorizontalStackBarGraph"
6659
6659
  },
6660
- { title: "Area Graph", const: "AreaGraph" },
6661
- { title: "StackBar And Line Graph", const: "StackBarLineGraph" }
6660
+ { title: "Area Graph", const: "AreaGraph" }
6662
6661
  ]
6663
6662
  },
6664
6663
  iconName: {
@@ -8192,7 +8191,6 @@ const buildPropertiesSection = function(type) {
8192
8191
  getInputField("subHeader", "Sub Header"),
8193
8192
  getSelectField("graphType", "Graph Type"),
8194
8193
  getInputField("leftLabel", "Left Label"),
8195
- getInputField("rightLabel", "Right Label"),
8196
8194
  getRadioInputField("disableLeftLabel", "Disable Left Label", ["YES", "No"]),
8197
8195
  getInputField("bottomLabel", "Bottom Label"),
8198
8196
  emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
@@ -8203,7 +8201,7 @@ const buildPropertiesSection = function(type) {
8203
8201
  getSelectField("xAxisType", "X-AxisType"),
8204
8202
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
8205
8203
  getInputField("leftMargin", "Left Margin"),
8206
- getInputField("xAxisLabelMinWidth", "X Axis Label Width"),
8204
+ getInputField("xAxisTickCount", "X Axis TickCount"),
8207
8205
  getInputField("yAxisTickCount", "Y Axis TickCount"),
8208
8206
  getSelectField("xAxisFormatType", "X Axis Format Type"),
8209
8207
  emptyBox$1("GraphEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
@@ -8220,9 +8218,7 @@ const buildPropertiesSection = function(type) {
8220
8218
  getInputField("rowSpacing", "Row Spacing"),
8221
8219
  getInputField("columnSpacing", "Column Spacing"),
8222
8220
  getInputField("spacing", "Spacing"),
8223
- getInputField("iconUrl", "Icon Url"),
8224
- emptyBox$1("WrapperSectionEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
8225
- emptyBox$1("WrapperSectionEmpty2")
8221
+ emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 3 })
8226
8222
  ];
8227
8223
  break;
8228
8224
  case "TabSection":
@@ -8255,11 +8251,12 @@ const buildPropertiesSection = function(type) {
8255
8251
  buildWrapper("Tree Table Properties", [
8256
8252
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
8257
8253
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
8254
+ getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
8258
8255
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
8259
8256
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
8260
8257
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
8261
8258
  getInputField("defaultColumnSize", "Default Column Size"),
8262
- ,
8259
+ getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
8263
8260
  emptyBox$1("LazyLoadingTableEmpty3")
8264
8261
  ]),
8265
8262
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
@@ -10928,7 +10925,8 @@ var service = (funcParams) => {
10928
10925
  { key: "sorting", value: paginationValues.sorting || [] },
10929
10926
  { key: "filters", value: paginationValues.tableColumnConfig || [] },
10930
10927
  { key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
10931
- { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
10928
+ { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
10929
+ { key: "subRowsPagination", value: paginationValues.subRowsPagination || [] }
10932
10930
  ];
10933
10931
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
10934
10932
  return response == null ? void 0 : response.data;
@@ -11247,21 +11245,6 @@ const AreaBarGraph = {
11247
11245
  style: { containerStyle: {}, labelStyle: { margin: {} } }
11248
11246
  }
11249
11247
  };
11250
- const StackBarLineG = {
11251
- type: "Control",
11252
- scope: "#/properties/graph",
11253
- options: {
11254
- widget: "Graph"
11255
- },
11256
- config: {
11257
- layout: { xs: 12, sm: 12, md: 12, lg: 12 },
11258
- main: {
11259
- type: "StackBarLineGraph",
11260
- legendLabels: null
11261
- },
11262
- style: { containerStyle: {}, labelStyle: { margin: {} } }
11263
- }
11264
- };
11265
11248
  const buildHorizontalBarGraph = (config2, componentScope2) => {
11266
11249
  const horizontalBarGraph = _.cloneDeep(HorizontalBarGraph);
11267
11250
  horizontalBarGraph.scope = componentScope2;
@@ -11546,7 +11529,6 @@ const buildWrapperSection = (config2, componentScope2) => {
11546
11529
  wrapper.config.main.divider = config2.divider === "YES" ? true : false;
11547
11530
  wrapper.config.main.isAccordion = config2.isAccordion === "No" ? false : true;
11548
11531
  wrapper.config.main.defaultClosed = config2.defaultClosed === "YES" ? true : false;
11549
- wrapper.config.main.icon = config2.iconUrl;
11550
11532
  wrapper.config.main.rowSpacing = Number(config2.rowSpacing);
11551
11533
  wrapper.config.main.columnSpacing = Number(config2.columnSpacing);
11552
11534
  wrapper.config.main.spacing = Number(config2.spacing);
@@ -11741,9 +11723,15 @@ const buildTable = (config2, componentScope2) => {
11741
11723
  if (config2.lazyLoading) {
11742
11724
  table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
11743
11725
  }
11726
+ if (config2.lazyLoadTree) {
11727
+ table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
11728
+ }
11744
11729
  if (config2.defaultColumnSize) {
11745
11730
  table.config.main.defaultColumnSize = config2.defaultColumnSize;
11746
11731
  }
11732
+ if (config2.subRowsExpansionPageSize) {
11733
+ table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
11734
+ }
11747
11735
  if (config2.enableRowMovement) {
11748
11736
  table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
11749
11737
  }
@@ -13031,8 +13019,8 @@ const buildAreaGraph = (config2, componentScope2) => {
13031
13019
  if (config2.xAxisFormatType) {
13032
13020
  AreaGraph.config.main.xAxisFormatType = config2.xAxisFormatType;
13033
13021
  }
13034
- if (config2.xAxisLabelMinWidth) {
13035
- AreaGraph.config.main.xAxisLabelMinWidth = config2.xAxisLabelMinWidth;
13022
+ if (config2.xAxisTickCount) {
13023
+ AreaGraph.config.main.xAxisTickCount = config2.xAxisTickCount;
13036
13024
  }
13037
13025
  if (config2.yAxisTickCount) {
13038
13026
  AreaGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
@@ -13059,65 +13047,6 @@ const buildAreaGraph = (config2, componentScope2) => {
13059
13047
  }
13060
13048
  return AreaGraph;
13061
13049
  };
13062
- const buildStackBarLineGraph = (config2, componentScope2) => {
13063
- const StackBarLineGraph = _.cloneDeep(StackBarLineG);
13064
- StackBarLineGraph.scope = componentScope2;
13065
- if (config2.layout) {
13066
- StackBarLineGraph.config.layout = createLayoutFormat(config2.layout, config2.type);
13067
- }
13068
- StackBarLineGraph.config.main.type = config2.graphType;
13069
- StackBarLineGraph.scope = componentScope2;
13070
- StackBarLineGraph.config.main.header = config2.heading;
13071
- StackBarLineGraph.config.main.subHeader = config2.subHeader;
13072
- if (config2.legendHide) {
13073
- StackBarLineGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
13074
- }
13075
- if (config2.bottomAxisAngle) {
13076
- StackBarLineGraph.config.main.bottomAxisAngle = config2.bottomAxisAngle === "YES" ? true : false;
13077
- }
13078
- if (config2.legendLabels) {
13079
- StackBarLineGraph.config.main.legendLabels = createKeyValueMap(config2.legendLabels);
13080
- }
13081
- if (config2.legendDirection) {
13082
- StackBarLineGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
13083
- }
13084
- if (config2.height) {
13085
- StackBarLineGraph.config.style.containerStyle.height = config2.height;
13086
- }
13087
- if (config2.pieArcColors) {
13088
- StackBarLineGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
13089
- }
13090
- if (config2.xAxisLabelMinWidth) {
13091
- StackBarLineGraph.config.main.xAxisLabelMinWidth = config2.xAxisLabelMinWidth;
13092
- }
13093
- if (config2.yAxisTickCount) {
13094
- StackBarLineGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
13095
- }
13096
- if (config2.xAxisValue) {
13097
- StackBarLineGraph.config.main.xAxisValue = config2.xAxisValue;
13098
- }
13099
- if (config2.xAxisType) {
13100
- StackBarLineGraph.config.main.xAxisType = config2.xAxisType;
13101
- }
13102
- if (config2.bottomLabel) {
13103
- StackBarLineGraph.config.main.bottomLabel = config2.bottomLabel;
13104
- }
13105
- if (config2.leftLabel) {
13106
- StackBarLineGraph.config.main.leftLabel = config2.leftLabel;
13107
- }
13108
- if (config2.rightLabel) {
13109
- StackBarLineGraph.config.main.rightLabel = config2.rightLabel;
13110
- }
13111
- if (config2.disableLeftLabel) {
13112
- StackBarLineGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
13113
- }
13114
- if (config2.leftMargin) {
13115
- StackBarLineGraph.config.style.labelStyle.margin = {
13116
- left: config2.leftMargin
13117
- };
13118
- }
13119
- return StackBarLineGraph;
13120
- };
13121
13050
  const cameraUiSchema = {
13122
13051
  type: "Control",
13123
13052
  scope: "#/properties/camera",
@@ -13483,9 +13412,6 @@ const buildUiSchema = (config2, store2) => {
13483
13412
  case "AreaGraph":
13484
13413
  elements = buildAreaGraph(config2, componentScope2);
13485
13414
  break;
13486
- case "StackBarLineGraph":
13487
- elements = buildStackBarLineGraph(config2, componentScope2);
13488
- break;
13489
13415
  default:
13490
13416
  elements = buildStackbarGraph(config2, componentScope2);
13491
13417
  break;