impaktapps-ui-builder 0.0.54 → 0.0.56
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 -13
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +9 -9
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -5
|
@@ -7507,18 +7507,18 @@ const buildPropertiesSection = function(type) {
|
|
|
7507
7507
|
case "Table":
|
|
7508
7508
|
case "LazyLoadingTable":
|
|
7509
7509
|
uiSchema.elements = [
|
|
7510
|
-
getRadioInputField("lazyLoading", "
|
|
7511
|
-
getRadioInputField("SelectionAvailable", "
|
|
7512
|
-
getRadioInputField("ColumnResizingAvailable", "
|
|
7513
|
-
getRadioInputField("DragAvailable", "
|
|
7510
|
+
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7511
|
+
getRadioInputField("SelectionAvailable", "Row Selection", ["YES", "NO"]),
|
|
7512
|
+
getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
|
|
7513
|
+
getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
|
|
7514
7514
|
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
7515
7515
|
getInputField("selectKey", "Selection Key"),
|
|
7516
7516
|
emptyBox,
|
|
7517
7517
|
buildWrapper("Tree Table Properties", [
|
|
7518
|
-
getRadioInputField("enableRowMovement", "
|
|
7519
|
-
getRadioInputField("enableExpanding", "
|
|
7520
|
-
getRadioInputField("paginateExpandedRows", "
|
|
7521
|
-
getRadioInputField("treeStructure", "
|
|
7518
|
+
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
7519
|
+
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
7520
|
+
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
7521
|
+
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
7522
7522
|
emptyBox,
|
|
7523
7523
|
emptyBox
|
|
7524
7524
|
]),
|
|
@@ -9575,8 +9575,8 @@ var service = (funcParams) => {
|
|
|
9575
9575
|
{ key: "movedRowId", value: paginationValues.rowMovement.movedRowId },
|
|
9576
9576
|
{ key: "targetRowId", value: paginationValues.rowMovement.targetRowId || [] }
|
|
9577
9577
|
];
|
|
9578
|
-
await this.
|
|
9579
|
-
const response = await this.
|
|
9578
|
+
await this.callExecuteEvents({ path: paginationValues == null ? void 0 : paginationValues.path }, apiBody, "onRowMovement");
|
|
9579
|
+
const response = await this.callExecuteEvents({ path: paginationValues == null ? void 0 : paginationValues.path }, apiBody, "onLoad");
|
|
9580
9580
|
return response == null ? void 0 : response.data;
|
|
9581
9581
|
},
|
|
9582
9582
|
onPaginationChange: async function(paginationValues) {
|
|
@@ -9588,7 +9588,7 @@ var service = (funcParams) => {
|
|
|
9588
9588
|
{ key: "filters", value: paginationValues.columnFilters || [] },
|
|
9589
9589
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" }
|
|
9590
9590
|
];
|
|
9591
|
-
const response = await this.
|
|
9591
|
+
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
9592
9592
|
return response == null ? void 0 : response.data;
|
|
9593
9593
|
},
|
|
9594
9594
|
getSelectOptions: async function(param) {
|
|
@@ -9597,7 +9597,7 @@ var service = (funcParams) => {
|
|
|
9597
9597
|
{ key: "searchValue", value: param.serachValue },
|
|
9598
9598
|
{ key: "currentValue", value: param.currentValue }
|
|
9599
9599
|
];
|
|
9600
|
-
const response = await this.
|
|
9600
|
+
const response = await this.callExecuteEvents(param, apiBody);
|
|
9601
9601
|
return response == null ? void 0 : response.data;
|
|
9602
9602
|
}
|
|
9603
9603
|
},
|
|
@@ -9618,7 +9618,7 @@ var service = (funcParams) => {
|
|
|
9618
9618
|
}));
|
|
9619
9619
|
}
|
|
9620
9620
|
},
|
|
9621
|
-
|
|
9621
|
+
callExecuteEvents: async function(paramValue, apiBody, eventType) {
|
|
9622
9622
|
var _a, _b;
|
|
9623
9623
|
let LastCallResponse = void 0;
|
|
9624
9624
|
for (const eventConfig of (_a = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _a[paramValue.path]) {
|