impaktapps-ui-builder 1.0.447 → 1.0.449

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.
@@ -8265,6 +8265,7 @@ const buildPropertiesSection = function(type) {
8265
8265
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
8266
8266
  getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
8267
8267
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
8268
+ getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
8268
8269
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
8269
8270
  getInputField("defaultColumnSize", "Default Column Size"),
8270
8271
  ,
@@ -10964,15 +10965,15 @@ var service = (funcParams) => {
10964
10965
  return response == null ? void 0 : response.data;
10965
10966
  },
10966
10967
  onPaginationChange: async function(paginationValues) {
10967
- var _a;
10968
+ var _a, _b;
10968
10969
  const apiBody = [
10969
10970
  { key: "size", value: paginationValues.pagination.pageSize },
10970
10971
  { key: "pageIndex", value: paginationValues.pagination.pageIndex },
10971
10972
  { key: "sorting", value: paginationValues.sorting || [] },
10972
10973
  { key: "filters", value: paginationValues.tableColumnConfig || [] },
10973
10974
  { key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
10974
- { key: "parentId", value: paginationValues.parentId },
10975
- { key: "startIndex", value: paginationValues.startIndex }
10975
+ { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
10976
+ { key: "parentId", value: paginationValues.parentId }
10976
10977
  ];
10977
10978
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
10978
10979
  return response == null ? void 0 : response.data;
@@ -11806,6 +11807,9 @@ const buildTable = (config2, componentScope2) => {
11806
11807
  if (config2.paginateExpandedRows) {
11807
11808
  table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
11808
11809
  }
11810
+ if (config2.treeStructure) {
11811
+ table.config.main.treeStructure = config2.treeStructure === "YES" ? "flatTreeMap" : false;
11812
+ }
11809
11813
  if (config2.SelectionAvailable) {
11810
11814
  table.config.main.Selection = config2.SelectionAvailable === "YES" ? true : false;
11811
11815
  }