impaktapps-ui-builder 1.0.445 → 1.0.447-test.1
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 -6
- 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 +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -3
- package/src/impaktapps-ui-builder/runtime/services/service.ts +0 -1
package/package.json
CHANGED
|
@@ -17,9 +17,6 @@ export const buildTable = (config: any, componentScope: string) => {
|
|
|
17
17
|
if (config.defaultColumnSize) {
|
|
18
18
|
table.config.main.defaultColumnSize = config.defaultColumnSize
|
|
19
19
|
}
|
|
20
|
-
if (config.subRowsExpansionPageSize) {
|
|
21
|
-
table.config.main.subRowsExpansionPageSize = config.subRowsExpansionPageSize
|
|
22
|
-
}
|
|
23
20
|
if (config.enableRowMovement) {
|
|
24
21
|
table.config.main.enableRowMovement = config.enableRowMovement === "YES" ? true : false;
|
|
25
22
|
}
|
|
@@ -36,6 +33,9 @@ export const buildTable = (config: any, componentScope: string) => {
|
|
|
36
33
|
if (config.paginateExpandedRows) {
|
|
37
34
|
table.config.main.paginateExpandedRows = config.paginateExpandedRows === "YES" ? true : false;
|
|
38
35
|
}
|
|
36
|
+
if (config.treeStructure) {
|
|
37
|
+
table.config.main.treeStructure = config.treeStructure === "YES" ? "flatTreeMap" : false;
|
|
38
|
+
}
|
|
39
39
|
if (config.SelectionAvailable) {
|
|
40
40
|
table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false
|
|
41
41
|
};
|
|
@@ -630,7 +630,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
630
630
|
getRadioInputField("disableDensityToggle", "Disable Density Toggle", ["YES", "NO"]),
|
|
631
631
|
getRadioInputField("disableDownloadFile", "Disable Download File", ["YES", "NO"]),
|
|
632
632
|
getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
|
|
633
|
-
getInputField("selectKey", "Selection Key")
|
|
633
|
+
getInputField("selectKey", "Selection Key"),//defaultColumnSize
|
|
634
634
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
635
635
|
getSelectField("maxPageSize", "Max Page Size", [
|
|
636
636
|
{ label: "10", value: 10 },
|
|
@@ -651,9 +651,9 @@ 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
|
-
getInputField("defaultColumnSize", "Default Column Size"),
|
|
656
|
-
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion") , emptyBox("LazyLoadingTableEmpty3")
|
|
656
|
+
getInputField("defaultColumnSize", "Default Column Size"), , emptyBox("LazyLoadingTableEmpty3")
|
|
657
657
|
]),
|
|
658
658
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
659
659
|
sizeHolder,
|
|
@@ -192,7 +192,6 @@ export default (funcParams: funcParamsProps) => {
|
|
|
192
192
|
{ key: "globalFilter", value: paginationValues.globalFilter ?? '' },
|
|
193
193
|
{ key: "parentId", value: paginationValues.parentId },
|
|
194
194
|
{ key: "startIndex", value: paginationValues.startIndex },
|
|
195
|
-
{ key: "batchSize", value: paginationValues.batchSize },
|
|
196
195
|
]
|
|
197
196
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
198
197
|
return response?.data;
|