impaktapps-ui-builder 1.0.447 → 1.0.448
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 +6 -1
- 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 +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -0
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -0
package/package.json
CHANGED
|
@@ -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,6 +190,7 @@ 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
195
|
{ key: "startIndex", value: paginationValues.startIndex },
|
|
195
196
|
]
|