impaktapps-ui-builder 1.0.197 → 1.0.198
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 +2 -11
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- 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 +0 -3
- package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -1
|
@@ -8280,9 +8280,6 @@ const buildPropertiesSection = function(type) {
|
|
|
8280
8280
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
8281
8281
|
getSelectField("maxPageSize", "Max Page Size"),
|
|
8282
8282
|
getSelectField("initialDensity", "Initial Toggle Density"),
|
|
8283
|
-
getInputField("expandedKey", "Expand Row ID Key"),
|
|
8284
|
-
getInputField("parentIdKey", "Expand Parent Key"),
|
|
8285
|
-
emptyBox$1("TreeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
|
|
8286
8283
|
buildWrapper("Tree Table Properties", [
|
|
8287
8284
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8288
8285
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
@@ -10513,7 +10510,7 @@ function downloadFile$1({ data, name }) {
|
|
|
10513
10510
|
URL.revokeObjectURL(url);
|
|
10514
10511
|
}
|
|
10515
10512
|
const downloadFileFromUrl = (response, service2) => {
|
|
10516
|
-
let url = `${service2.defaults.baseURL}
|
|
10513
|
+
let url = `${service2.defaults.baseURL}${response.path}`;
|
|
10517
10514
|
if (response == null ? void 0 : response.params) {
|
|
10518
10515
|
const keysArray = Object.keys(response == null ? void 0 : response.params);
|
|
10519
10516
|
keysArray.map((e, i) => {
|
|
@@ -10854,7 +10851,7 @@ var service = (funcParams) => {
|
|
|
10854
10851
|
dynamicData: funcParams.dynamicData,
|
|
10855
10852
|
userValue: funcParams.userValue,
|
|
10856
10853
|
service: funcParams.service,
|
|
10857
|
-
serviceHolder: { downloadFile: downloadFile$1,
|
|
10854
|
+
serviceHolder: { downloadFile: downloadFile$1, downloadFileFromUrl, ...funcParams.functionsProvider },
|
|
10858
10855
|
eventGroups,
|
|
10859
10856
|
functionsProvider: funcParams.functionsProvider,
|
|
10860
10857
|
formDataHolder
|
|
@@ -11879,12 +11876,6 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11879
11876
|
if (config2.selectKey) {
|
|
11880
11877
|
table.config.main.selectKey = config2.selectKey;
|
|
11881
11878
|
}
|
|
11882
|
-
if (config2.expandedKey) {
|
|
11883
|
-
table.config.main.expandedKey = config2.expandedKey;
|
|
11884
|
-
}
|
|
11885
|
-
if (config2.parentIdKey) {
|
|
11886
|
-
table.config.main.parentIdKey = config2.parentIdKey;
|
|
11887
|
-
}
|
|
11888
11879
|
if (config2.maxPageSize) {
|
|
11889
11880
|
table.config.main.maxPageSize = config2.maxPageSize;
|
|
11890
11881
|
}
|