impaktapps-ui-builder 1.0.441 → 1.0.442
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/dist/impaktapps-ui-builder.es.js +12 -6
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +4 -3
- package/src/impaktapps-ui-builder/runtime/services/service.ts +4 -1
|
@@ -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"),
|
|
@@ -10966,7 +10966,10 @@ var service = (funcParams) => {
|
|
|
10966
10966
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10967
10967
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10968
10968
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10969
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10969
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
|
|
10970
|
+
{ key: "parentId", value: paginationValues.parentId },
|
|
10971
|
+
{ key: "prevRowCount", value: paginationValues.prevRowCount },
|
|
10972
|
+
{ key: "newDataCount", value: paginationValues.newDataCount }
|
|
10970
10973
|
];
|
|
10971
10974
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10972
10975
|
return response == null ? void 0 : response.data;
|
|
@@ -11779,9 +11782,15 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11779
11782
|
if (config2.lazyLoading) {
|
|
11780
11783
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11781
11784
|
}
|
|
11785
|
+
if (config2.lazyLoadTree) {
|
|
11786
|
+
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11787
|
+
}
|
|
11782
11788
|
if (config2.defaultColumnSize) {
|
|
11783
11789
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11784
11790
|
}
|
|
11791
|
+
if (config2.subRowsExpansionPageSize) {
|
|
11792
|
+
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11793
|
+
}
|
|
11785
11794
|
if (config2.enableRowMovement) {
|
|
11786
11795
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11787
11796
|
}
|
|
@@ -11797,9 +11806,6 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11797
11806
|
if (config2.paginateExpandedRows) {
|
|
11798
11807
|
table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
|
|
11799
11808
|
}
|
|
11800
|
-
if (config2.treeStructure) {
|
|
11801
|
-
table.config.main.treeStructure = config2.treeStructure === "YES" ? "flatTreeMap" : false;
|
|
11802
|
-
}
|
|
11803
11809
|
if (config2.SelectionAvailable) {
|
|
11804
11810
|
table.config.main.Selection = config2.SelectionAvailable === "YES" ? true : false;
|
|
11805
11811
|
}
|