impaktapps-ui-builder 1.0.446 → 1.0.447-test.2

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,8 +8265,11 @@ 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
- getInputField("defaultColumnSize", "Default Column Size")
8270
+ getInputField("defaultColumnSize", "Default Column Size"),
8271
+ ,
8272
+ emptyBox$1("LazyLoadingTableEmpty3")
8270
8273
  ]),
8271
8274
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
8272
8275
  sizeHolder,
@@ -10962,16 +10965,16 @@ var service = (funcParams) => {
10962
10965
  return response == null ? void 0 : response.data;
10963
10966
  },
10964
10967
  onPaginationChange: async function(paginationValues) {
10965
- var _a;
10968
+ var _a, _b;
10966
10969
  const apiBody = [
10967
10970
  { key: "size", value: paginationValues.pagination.pageSize },
10968
10971
  { key: "pageIndex", value: paginationValues.pagination.pageIndex },
10969
10972
  { key: "sorting", value: paginationValues.sorting || [] },
10970
10973
  { key: "filters", value: paginationValues.tableColumnConfig || [] },
10971
10974
  { key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
10975
+ { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
10972
10976
  { key: "parentId", value: paginationValues.parentId },
10973
- { key: "startIndex", value: paginationValues.startIndex },
10974
- { key: "batchSize", value: paginationValues.batchSize }
10977
+ { key: "startIndex", value: paginationValues.startIndex }
10975
10978
  ];
10976
10979
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
10977
10980
  return response == null ? void 0 : response.data;
@@ -11805,6 +11808,9 @@ const buildTable = (config2, componentScope2) => {
11805
11808
  if (config2.paginateExpandedRows) {
11806
11809
  table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
11807
11810
  }
11811
+ if (config2.treeStructure) {
11812
+ table.config.main.treeStructure = config2.treeStructure === "YES" ? "flatTreeMap" : false;
11813
+ }
11808
11814
  if (config2.SelectionAvailable) {
11809
11815
  table.config.main.Selection = config2.SelectionAvailable === "YES" ? true : false;
11810
11816
  }