impaktapps-ui-builder 1.0.406 → 1.0.409
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 +10 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- 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 +2 -1
|
@@ -8251,11 +8251,12 @@ const buildPropertiesSection = function(type) {
|
|
|
8251
8251
|
buildWrapper("Tree Table Properties", [
|
|
8252
8252
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8253
8253
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8254
|
+
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8254
8255
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8255
8256
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8256
8257
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8257
8258
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8258
|
-
,
|
|
8259
|
+
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
|
|
8259
8260
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8260
8261
|
]),
|
|
8261
8262
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -10924,7 +10925,8 @@ var service = (funcParams) => {
|
|
|
10924
10925
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10925
10926
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10926
10927
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10927
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10928
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
|
|
10929
|
+
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] }
|
|
10928
10930
|
];
|
|
10929
10931
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10930
10932
|
return response == null ? void 0 : response.data;
|
|
@@ -11721,9 +11723,15 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11721
11723
|
if (config2.lazyLoading) {
|
|
11722
11724
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11723
11725
|
}
|
|
11726
|
+
if (config2.lazyLoadTree) {
|
|
11727
|
+
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11728
|
+
}
|
|
11724
11729
|
if (config2.defaultColumnSize) {
|
|
11725
11730
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11726
11731
|
}
|
|
11732
|
+
if (config2.subRowsExpansionPageSize) {
|
|
11733
|
+
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11734
|
+
}
|
|
11727
11735
|
if (config2.enableRowMovement) {
|
|
11728
11736
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11729
11737
|
}
|