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
package/package.json
CHANGED
|
@@ -72,12 +72,6 @@ export const buildTable = (config: any, componentScope: string) => {
|
|
|
72
72
|
if (config.selectKey) {
|
|
73
73
|
table.config.main.selectKey = config.selectKey
|
|
74
74
|
}
|
|
75
|
-
if (config.expandedKey) {
|
|
76
|
-
table.config.main.expandedKey = config.expandedKey
|
|
77
|
-
}
|
|
78
|
-
if (config.parentIdKey) {
|
|
79
|
-
table.config.main.parentIdKey = config.parentIdKey
|
|
80
|
-
}
|
|
81
75
|
if (config.maxPageSize) {
|
|
82
76
|
table.config.main.maxPageSize = config.maxPageSize
|
|
83
77
|
}
|
|
@@ -661,9 +661,6 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
661
661
|
{ label: "Comfortable", value: "comfortable" },
|
|
662
662
|
{ label: "Spacious", value: "spacious" }
|
|
663
663
|
]),
|
|
664
|
-
getInputField("expandedKey", "Expand Row ID Key"),
|
|
665
|
-
getInputField("parentIdKey", "Expand Parent Key"),
|
|
666
|
-
emptyBox("TreeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
|
|
667
664
|
buildWrapper("Tree Table Properties", [
|
|
668
665
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
669
666
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
@@ -30,7 +30,7 @@ export function downloadFile({ data, name }: { data: string; name: string }) {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export const downloadFileFromUrl = (response: any, service) => {
|
|
33
|
-
let url = `${service.defaults.baseURL}
|
|
33
|
+
let url = `${service.defaults.baseURL}${response.path}`;
|
|
34
34
|
if (response?.params) {
|
|
35
35
|
const keysArray = Object.keys(response?.params);
|
|
36
36
|
keysArray.map((e, i) => {
|
|
@@ -66,7 +66,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
66
66
|
let executeEventsParameters: handlersProps = {
|
|
67
67
|
config: {}, componentName: "",
|
|
68
68
|
store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
|
|
69
|
-
serviceHolder: { downloadFile,
|
|
69
|
+
serviceHolder: { downloadFile, downloadFileFromUrl: downloadFileFromUrl, ...funcParams.functionsProvider }, eventGroups,
|
|
70
70
|
functionsProvider: funcParams.functionsProvider, formDataHolder
|
|
71
71
|
};
|
|
72
72
|
return {
|