impaktapps-ui-builder 1.0.428 → 1.0.430
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 +12 -18
- 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 +0 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -4
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +11 -6
- package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -7
|
@@ -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,12 +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"]),
|
|
8261
|
-
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8262
8266
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8263
8267
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8264
8268
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8265
8269
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8266
|
-
|
|
8270
|
+
,
|
|
8267
8271
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8268
8272
|
]),
|
|
8269
8273
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -10925,18 +10929,14 @@ var service = (funcParams) => {
|
|
|
10925
10929
|
return response == null ? void 0 : response.data;
|
|
10926
10930
|
},
|
|
10927
10931
|
onPaginationChange: async function(paginationValues) {
|
|
10928
|
-
var _a, _b
|
|
10932
|
+
var _a, _b;
|
|
10929
10933
|
const apiBody = [
|
|
10930
|
-
{ key: "size", value:
|
|
10931
|
-
{ key: "pageIndex", value:
|
|
10934
|
+
{ key: "size", value: paginationValues.pagination.pageSize },
|
|
10935
|
+
{ key: "pageIndex", value: paginationValues.pagination.pageIndex },
|
|
10932
10936
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10933
10937
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10934
|
-
{ key: "globalFilter", value: (
|
|
10935
|
-
{ key: "expandedRowIds", value: (
|
|
10936
|
-
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] },
|
|
10937
|
-
{ key: "parentId", value: paginationValues.parentId },
|
|
10938
|
-
{ key: "prevRowCount", value: paginationValues.prevRowCount },
|
|
10939
|
-
{ key: "newDataCount", value: paginationValues.newDataCount }
|
|
10938
|
+
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10939
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10940
10940
|
];
|
|
10941
10941
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10942
10942
|
return response == null ? void 0 : response.data;
|
|
@@ -11749,15 +11749,9 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11749
11749
|
if (config2.lazyLoading) {
|
|
11750
11750
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11751
11751
|
}
|
|
11752
|
-
if (config2.lazyLoadTree) {
|
|
11753
|
-
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11754
|
-
}
|
|
11755
11752
|
if (config2.defaultColumnSize) {
|
|
11756
11753
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11757
11754
|
}
|
|
11758
|
-
if (config2.subRowsExpansionPageSize) {
|
|
11759
|
-
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11760
|
-
}
|
|
11761
11755
|
if (config2.enableRowMovement) {
|
|
11762
11756
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11763
11757
|
}
|