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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.447",
3
+ "version": "1.0.449",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -33,6 +33,9 @@ export const buildTable = (config: any, componentScope: string) => {
33
33
  if (config.paginateExpandedRows) {
34
34
  table.config.main.paginateExpandedRows = config.paginateExpandedRows === "YES" ? true : false;
35
35
  }
36
+ if (config.treeStructure) {
37
+ table.config.main.treeStructure = config.treeStructure === "YES" ? "flatTreeMap" : false;
38
+ }
36
39
  if (config.SelectionAvailable) {
37
40
  table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false
38
41
  };
@@ -651,6 +651,7 @@ export const buildPropertiesSection = function (type: String) {
651
651
  getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
652
652
  // getRadioInputField("enableExpandAll", "Use All Row Expanding", ["YES", "NO"]),
653
653
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
654
+ getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
654
655
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
655
656
  getInputField("defaultColumnSize", "Default Column Size"), , emptyBox("LazyLoadingTableEmpty3")
656
657
  ]),
@@ -190,8 +190,8 @@ export default (funcParams: funcParamsProps) => {
190
190
  { key: "sorting", value: paginationValues.sorting || [] },
191
191
  { key: "filters", value: paginationValues.tableColumnConfig || [] },
192
192
  { key: "globalFilter", value: paginationValues.globalFilter ?? '' },
193
+ { key: "expandedRowIds", value: paginationValues.expandedRowIds ?? [] },
193
194
  { key: "parentId", value: paginationValues.parentId },
194
- { key: "startIndex", value: paginationValues.startIndex },
195
195
  ]
196
196
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
197
197
  return response?.data;