impaktapps-ui-builder 1.0.433 → 1.0.435

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.
@@ -8160,7 +8160,7 @@ const buildPropertiesSection = function(type) {
8160
8160
  getInputField("description", "Description"),
8161
8161
  getSelectField("growthRate", "Growth Rate"),
8162
8162
  getInputField("color", "Card Color"),
8163
- emptyBox$1("MetricEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 })
8163
+ emptyBox$1("MetricEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 })
8164
8164
  ];
8165
8165
  break;
8166
8166
  case "Button":
@@ -8206,10 +8206,10 @@ const buildPropertiesSection = function(type) {
8206
8206
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
8207
8207
  getInputField("leftMargin", "Left Margin"),
8208
8208
  getInputField("yAxisTickCount", "Y Axis TickCount"),
8209
+ getInputField("xAxisTickCount", "X Axis TickCount"),
8209
8210
  getSelectField("xAxisFormatType", "X Axis Format Type"),
8210
8211
  getInputField("growthRateKey", "Growth Rate Key"),
8211
8212
  getInputField("tooltipUnit", "Tooltip Unit"),
8212
- emptyBox$1("GraphEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
8213
8213
  getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label", "Configure Bar Labels"),
8214
8214
  getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color", "Configure Bar Colors")
8215
8215
  ];
@@ -8258,11 +8258,11 @@ const buildPropertiesSection = function(type) {
8258
8258
  buildWrapper("Tree Table Properties", [
8259
8259
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
8260
8260
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
8261
+ getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
8261
8262
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
8262
- getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
8263
8263
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
8264
8264
  getInputField("defaultColumnSize", "Default Column Size"),
8265
- ,
8265
+ getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
8266
8266
  emptyBox$1("LazyLoadingTableEmpty3")
8267
8267
  ]),
8268
8268
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
@@ -8282,18 +8282,16 @@ const buildPropertiesSection = function(type) {
8282
8282
  case "Select":
8283
8283
  uiSchema.elements = [
8284
8284
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
8285
- getInputField("pageSize", "Single Page Size"),
8286
8285
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
8287
8286
  getSelectField("variant", "Variant"),
8288
8287
  getInputField("toolTip", "Tooltip"),
8289
8288
  getSelectField("toolTipPosition", "Tooltip Position"),
8290
- emptyBox$1("SelectEmpty", { xs: 0, sm: 0, md: 0, lg: 6 })
8289
+ emptyBox$1("SelectEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
8291
8290
  ];
8292
8291
  break;
8293
8292
  case "MultipleSelect":
8294
8293
  uiSchema.elements = [
8295
8294
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
8296
- getInputField("pageSize", "Single Page Size"),
8297
8295
  getSelectField("variant", "Variant"),
8298
8296
  getInputField("toolTip", "Tooltip"),
8299
8297
  getSelectField("toolTipPosition", "Tooltip Position")
@@ -10933,28 +10931,31 @@ var service = (funcParams) => {
10933
10931
  { key: "sorting", value: paginationValues.sorting || [] },
10934
10932
  { key: "filters", value: paginationValues.tableColumnConfig || [] },
10935
10933
  { key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
10936
- { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
10934
+ { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
10935
+ { key: "parentId", value: paginationValues.parentId },
10936
+ { key: "prevRowCount", value: paginationValues.prevRowCount },
10937
+ { key: "newDataCount", value: paginationValues.newDataCount }
10937
10938
  ];
10938
10939
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
10939
10940
  return response == null ? void 0 : response.data;
10940
10941
  },
10941
10942
  getSelectOptions: async function(param) {
10942
- const apiBody = [
10943
- { key: "searchValue", value: param.searchValue },
10944
- { key: "currentValue", value: param.currentValue },
10945
- { key: "currentItemCount", value: param.currentItemCount },
10946
- { key: "limit", value: param.limit }
10947
- ];
10948
- const response = await this.callExecuteEvents(param, apiBody, "onLoad");
10949
- return response == null ? void 0 : response.data;
10943
+ if (param.serachValue !== "" && param.serachValue !== void 0) {
10944
+ const apiBody = [
10945
+ { key: "searchValue", value: param.serachValue },
10946
+ { key: "currentValue", value: param.currentValue }
10947
+ ];
10948
+ const response = await this.callExecuteEvents(param, apiBody, "onLoad");
10949
+ return response == null ? void 0 : response.data;
10950
+ }
10950
10951
  },
10951
10952
  onChange: function() {
10952
10953
  if (!eventGroups.onChange)
10953
10954
  return;
10954
10955
  const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
10955
10956
  const promises = ChangeEventsKeysArray.flatMap((componentName) => {
10956
- var _a, _b;
10957
- if (((_a = funcParams.store) == null ? void 0 : _a.formData[componentName]) === funcParams.store.newData[componentName] || ((_b = funcParams.store) == null ? void 0 : _b.newData[componentName]) === void 0) {
10957
+ var _a;
10958
+ if (((_a = funcParams.store) == null ? void 0 : _a.formData[componentName]) === funcParams.store.newData[componentName]) {
10958
10959
  return [];
10959
10960
  }
10960
10961
  return eventGroups.onChange[componentName].map(
@@ -11641,9 +11642,6 @@ const buildSelect = (config2, componentScope2) => {
11641
11642
  }
11642
11643
  if (config2.lazyLoading) {
11643
11644
  selectInputField.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
11644
- if (config2.lazyLoading === "YES" && config2.pageSize) {
11645
- selectInputField.config.main.pageSize = config2.pageSize;
11646
- }
11647
11645
  }
11648
11646
  if (config2.variant) {
11649
11647
  selectInputField.config.main.variant = config2.variant;
@@ -11749,9 +11747,15 @@ const buildTable = (config2, componentScope2) => {
11749
11747
  if (config2.lazyLoading) {
11750
11748
  table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
11751
11749
  }
11750
+ if (config2.lazyLoadTree) {
11751
+ table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
11752
+ }
11752
11753
  if (config2.defaultColumnSize) {
11753
11754
  table.config.main.defaultColumnSize = config2.defaultColumnSize;
11754
11755
  }
11756
+ if (config2.subRowsExpansionPageSize) {
11757
+ table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
11758
+ }
11755
11759
  if (config2.enableRowMovement) {
11756
11760
  table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
11757
11761
  }
@@ -11767,9 +11771,6 @@ const buildTable = (config2, componentScope2) => {
11767
11771
  if (config2.paginateExpandedRows) {
11768
11772
  table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
11769
11773
  }
11770
- if (config2.treeStructure) {
11771
- table.config.main.treeStructure = config2.treeStructure === "YES" ? "flatTreeMap" : false;
11772
- }
11773
11774
  if (config2.SelectionAvailable) {
11774
11775
  table.config.main.Selection = config2.SelectionAvailable === "YES" ? true : false;
11775
11776
  }
@@ -12347,9 +12348,6 @@ const buildMultiSelect = (config2, componentScope2) => {
12347
12348
  }
12348
12349
  if (config2.lazyLoading) {
12349
12350
  multipleSelect.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
12350
- if (config2.lazyLoading === "YES" && config2.pageSize) {
12351
- multipleSelect.config.main.pageSize = config2.pageSize;
12352
- }
12353
12351
  }
12354
12352
  if (config2.toolTip) {
12355
12353
  multipleSelect.config.main.toolTip = config2.toolTip;
@@ -13045,6 +13043,9 @@ const buildAreaGraph = (config2, componentScope2) => {
13045
13043
  if (config2.yAxisTickCount) {
13046
13044
  AreaGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
13047
13045
  }
13046
+ if (config2.xAxisTickCount) {
13047
+ AreaGraph.config.main.xAxisTickCount = config2.xAxisTickCount;
13048
+ }
13048
13049
  if (config2.xAxisValue) {
13049
13050
  AreaGraph.config.main.xAxisValue = config2.xAxisValue;
13050
13051
  }
@@ -13098,6 +13099,9 @@ const buildStackBarLineGraph = (config2, componentScope2) => {
13098
13099
  if (config2.yAxisTickCount) {
13099
13100
  StackBarLineGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
13100
13101
  }
13102
+ if (config2.xAxisTickCount) {
13103
+ StackBarLineGraph.config.main.xAxisTickCount = config2.xAxisTickCount;
13104
+ }
13101
13105
  if (config2.xAxisValue) {
13102
13106
  StackBarLineGraph.config.main.xAxisValue = config2.xAxisValue;
13103
13107
  }