impaktapps-ui-builder 1.0.447 → 1.0.448

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,13 +10965,14 @@ 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 : "" },
10975
+ { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
10974
10976
  { key: "parentId", value: paginationValues.parentId },
10975
10977
  { key: "startIndex", value: paginationValues.startIndex }
10976
10978
  ];
@@ -11806,6 +11808,9 @@ const buildTable = (config2, componentScope2) => {
11806
11808
  if (config2.paginateExpandedRows) {
11807
11809
  table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
11808
11810
  }
11811
+ if (config2.treeStructure) {
11812
+ table.config.main.treeStructure = config2.treeStructure === "YES" ? "flatTreeMap" : false;
11813
+ }
11809
11814
  if (config2.SelectionAvailable) {
11810
11815
  table.config.main.Selection = config2.SelectionAvailable === "YES" ? true : false;
11811
11816
  }