impaktapps-ui-builder 0.0.101-alpha.262 → 0.0.101-alpha.264
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 +8 -6
- 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/builder/build/uischema/table.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +6 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -1
|
@@ -10551,7 +10551,7 @@ var service = (funcParams) => {
|
|
|
10551
10551
|
{ key: "searchValue", value: param.serachValue },
|
|
10552
10552
|
{ key: "currentValue", value: param.currentValue }
|
|
10553
10553
|
];
|
|
10554
|
-
const response = await this.callExecuteEvents(param, apiBody);
|
|
10554
|
+
const response = await this.callExecuteEvents(param, apiBody, "onLoad");
|
|
10555
10555
|
return response == null ? void 0 : response.data;
|
|
10556
10556
|
}
|
|
10557
10557
|
},
|
|
@@ -11215,6 +11215,7 @@ var Table = {
|
|
|
11215
11215
|
main: {
|
|
11216
11216
|
onMount: "onMount",
|
|
11217
11217
|
enableExpandAll: true,
|
|
11218
|
+
headerIcons: {},
|
|
11218
11219
|
allRowData: [],
|
|
11219
11220
|
downloadAllData: false,
|
|
11220
11221
|
columns: {
|
|
@@ -12623,18 +12624,19 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12623
12624
|
tableHeaderElements.push(headerElem);
|
|
12624
12625
|
return false;
|
|
12625
12626
|
}
|
|
12626
|
-
|
|
12627
|
+
const tableElem = {
|
|
12627
12628
|
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
|
|
12628
12629
|
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
|
|
12629
12630
|
...commonProperties
|
|
12630
|
-
}
|
|
12631
|
+
};
|
|
12632
|
+
rowElements.push(tableElem);
|
|
12631
12633
|
} else {
|
|
12632
|
-
rowElements.push(commonProperties);
|
|
12634
|
+
rowElements.push({ ...commonProperties });
|
|
12633
12635
|
}
|
|
12634
12636
|
});
|
|
12635
12637
|
elements.elements = rowElements;
|
|
12636
|
-
elements.config.
|
|
12637
|
-
elements.config.main.headerIcons = tableHeaderElements;
|
|
12638
|
+
elements.config.action = tableActionElement;
|
|
12639
|
+
elements.config.main.headerIcons.elements = tableHeaderElements;
|
|
12638
12640
|
} else if (config2.type == "Array") {
|
|
12639
12641
|
elements.options.detail.elements = config2.elements.map((e, elemInd) => {
|
|
12640
12642
|
return buildUiSchema(e, store2);
|