impaktapps-ui-builder 1.0.430 → 1.0.431
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 +13 -12
- 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 +9 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +5 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +6 -11
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -1
|
@@ -6711,12 +6711,7 @@ const ComponentSchema = {
|
|
|
6711
6711
|
{ title: "Clone Icon", const: "CloneIcon" },
|
|
6712
6712
|
{ title: "Detail Icon", const: "DetailIcon" },
|
|
6713
6713
|
{ title: "Report View Icon", const: "ReportViewIcon" },
|
|
6714
|
-
{ title: "Payout", const: "Payout" }
|
|
6715
|
-
{ title: "Info Outlined", const: "InfoOutlinedIcon" },
|
|
6716
|
-
{ title: "Territory Add", const: "TerritoryAdd" },
|
|
6717
|
-
{ title: "Territory Edit", const: "TerritoryEdit" },
|
|
6718
|
-
{ title: "Territory Delete", const: "TerritoryDelete" },
|
|
6719
|
-
{ title: "Git Compare", const: "GitCompare" }
|
|
6714
|
+
{ title: "Payout", const: "Payout" }
|
|
6720
6715
|
]
|
|
6721
6716
|
},
|
|
6722
6717
|
color: {
|
|
@@ -8263,11 +8258,11 @@ const buildPropertiesSection = function(type) {
|
|
|
8263
8258
|
buildWrapper("Tree Table Properties", [
|
|
8264
8259
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8265
8260
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8261
|
+
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8266
8262
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8267
|
-
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8268
8263
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8269
8264
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8270
|
-
,
|
|
8265
|
+
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
|
|
8271
8266
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8272
8267
|
]),
|
|
8273
8268
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -10936,7 +10931,10 @@ var service = (funcParams) => {
|
|
|
10936
10931
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10937
10932
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10938
10933
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10939
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10934
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
|
|
10935
|
+
{ key: "parentId", value: paginationValues.parentId },
|
|
10936
|
+
{ key: "prevRowCount", value: paginationValues.prevRowCount },
|
|
10937
|
+
{ key: "newDataCount", value: paginationValues.newDataCount }
|
|
10940
10938
|
];
|
|
10941
10939
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10942
10940
|
return response == null ? void 0 : response.data;
|
|
@@ -11749,9 +11747,15 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11749
11747
|
if (config2.lazyLoading) {
|
|
11750
11748
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11751
11749
|
}
|
|
11750
|
+
if (config2.lazyLoadTree) {
|
|
11751
|
+
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11752
|
+
}
|
|
11752
11753
|
if (config2.defaultColumnSize) {
|
|
11753
11754
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11754
11755
|
}
|
|
11756
|
+
if (config2.subRowsExpansionPageSize) {
|
|
11757
|
+
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11758
|
+
}
|
|
11755
11759
|
if (config2.enableRowMovement) {
|
|
11756
11760
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11757
11761
|
}
|
|
@@ -11767,9 +11771,6 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11767
11771
|
if (config2.paginateExpandedRows) {
|
|
11768
11772
|
table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
|
|
11769
11773
|
}
|
|
11770
|
-
if (config2.treeStructure) {
|
|
11771
|
-
table.config.main.treeStructure = config2.treeStructure === "YES" ? "flatTreeMap" : false;
|
|
11772
|
-
}
|
|
11773
11774
|
if (config2.SelectionAvailable) {
|
|
11774
11775
|
table.config.main.Selection = config2.SelectionAvailable === "YES" ? true : false;
|
|
11775
11776
|
}
|