impaktapps-ui-builder 1.0.421 → 1.0.424
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 +14 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- 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 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +4 -2
- package/src/impaktapps-ui-builder/runtime/services/service.ts +6 -1
|
@@ -8258,11 +8258,12 @@ 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
8263
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8263
8264
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8264
8265
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8265
|
-
,
|
|
8266
|
+
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
|
|
8266
8267
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8267
8268
|
]),
|
|
8268
8269
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -10931,7 +10932,12 @@ var service = (funcParams) => {
|
|
|
10931
10932
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10932
10933
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10933
10934
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10934
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10935
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
|
|
10936
|
+
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] },
|
|
10937
|
+
{ key: "loadChildOnly", value: paginationValues.loadChildOnly || false },
|
|
10938
|
+
{ key: "parentId", value: paginationValues.parentId },
|
|
10939
|
+
{ key: "prevRowCount", value: paginationValues.prevRowCount },
|
|
10940
|
+
{ key: "newDataCount", value: paginationValues.newDataCount }
|
|
10935
10941
|
];
|
|
10936
10942
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10937
10943
|
return response == null ? void 0 : response.data;
|
|
@@ -11744,9 +11750,15 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11744
11750
|
if (config2.lazyLoading) {
|
|
11745
11751
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11746
11752
|
}
|
|
11753
|
+
if (config2.lazyLoadTree) {
|
|
11754
|
+
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11755
|
+
}
|
|
11747
11756
|
if (config2.defaultColumnSize) {
|
|
11748
11757
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11749
11758
|
}
|
|
11759
|
+
if (config2.subRowsExpansionPageSize) {
|
|
11760
|
+
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11761
|
+
}
|
|
11750
11762
|
if (config2.enableRowMovement) {
|
|
11751
11763
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11752
11764
|
}
|