impaktapps-ui-builder 1.0.441 → 1.0.443
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 +18 -7
- 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 +6 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +4 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +11 -6
- package/src/impaktapps-ui-builder/runtime/services/service.ts +4 -1
|
@@ -6711,7 +6711,12 @@ 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" }
|
|
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" }
|
|
6715
6720
|
]
|
|
6716
6721
|
},
|
|
6717
6722
|
color: {
|
|
@@ -8258,11 +8263,11 @@ const buildPropertiesSection = function(type) {
|
|
|
8258
8263
|
buildWrapper("Tree Table Properties", [
|
|
8259
8264
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8260
8265
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8266
|
+
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8261
8267
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8262
|
-
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8263
8268
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8264
8269
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8265
|
-
,
|
|
8270
|
+
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
|
|
8266
8271
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8267
8272
|
]),
|
|
8268
8273
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -10966,7 +10971,10 @@ var service = (funcParams) => {
|
|
|
10966
10971
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10967
10972
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10968
10973
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10969
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10974
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
|
|
10975
|
+
{ key: "parentId", value: paginationValues.parentId },
|
|
10976
|
+
{ key: "prevRowCount", value: paginationValues.prevRowCount },
|
|
10977
|
+
{ key: "newDataCount", value: paginationValues.newDataCount }
|
|
10970
10978
|
];
|
|
10971
10979
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10972
10980
|
return response == null ? void 0 : response.data;
|
|
@@ -11779,9 +11787,15 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11779
11787
|
if (config2.lazyLoading) {
|
|
11780
11788
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11781
11789
|
}
|
|
11790
|
+
if (config2.lazyLoadTree) {
|
|
11791
|
+
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11792
|
+
}
|
|
11782
11793
|
if (config2.defaultColumnSize) {
|
|
11783
11794
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11784
11795
|
}
|
|
11796
|
+
if (config2.subRowsExpansionPageSize) {
|
|
11797
|
+
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11798
|
+
}
|
|
11785
11799
|
if (config2.enableRowMovement) {
|
|
11786
11800
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11787
11801
|
}
|
|
@@ -11797,9 +11811,6 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11797
11811
|
if (config2.paginateExpandedRows) {
|
|
11798
11812
|
table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
|
|
11799
11813
|
}
|
|
11800
|
-
if (config2.treeStructure) {
|
|
11801
|
-
table.config.main.treeStructure = config2.treeStructure === "YES" ? "flatTreeMap" : false;
|
|
11802
|
-
}
|
|
11803
11814
|
if (config2.SelectionAvailable) {
|
|
11804
11815
|
table.config.main.Selection = config2.SelectionAvailable === "YES" ? true : false;
|
|
11805
11816
|
}
|