@eo-sdk/client 10.6.8 → 10.6.10
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/app/eo-client/about-state/about-state.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/charts-widget/charts-setup/charts-setup.component.d.ts +3 -2
- package/app/eo-client/dashboard/widgets/charts-widget/charts-setup/charts-setup.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-setup/hitlist-setup.component.d.ts +3 -2
- package/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-setup/hitlist-setup.component.d.ts.map +1 -1
- package/app/eo-framework/app-shell/app-bar/app-search/app-search.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/datetime-range/datetime-range.component.d.ts.map +1 -1
- package/app/eo-framework/object-details/object-details.component.d.ts +1 -0
- package/app/eo-framework/object-details/object-details.component.d.ts.map +1 -1
- package/app/eo-framework/prepare-details/prepare-details.component.d.ts.map +1 -1
- package/assets/_default/i18n/de.json +1 -0
- package/assets/_default/i18n/en.json +1 -0
- package/esm2020/app/eo-client/about-state/about-state.component.mjs +3 -3
- package/esm2020/app/eo-client/dashboard/widgets/charts-widget/charts-setup/charts-setup.component.mjs +16 -10
- package/esm2020/app/eo-client/dashboard/widgets/charts-widget/charts-widget.component.mjs +2 -2
- package/esm2020/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-setup/hitlist-setup.component.mjs +17 -10
- package/esm2020/app/eo-client/settings/settings.component.mjs +2 -2
- package/esm2020/app/eo-framework/actions/actions/signature-action/signature/signature.component.mjs +3 -3
- package/esm2020/app/eo-framework/app-shell/app-bar/app-search/app-search.component.mjs +3 -2
- package/esm2020/app/eo-framework/form-elements/datetime-range/datetime-range.component.mjs +12 -9
- package/esm2020/app/eo-framework/grid/grid.component.mjs +2 -2
- package/esm2020/app/eo-framework/inbox-details/inbox-details.component.mjs +3 -3
- package/esm2020/app/eo-framework/object-details/object-details.component.mjs +14 -7
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.mjs +2 -2
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.mjs +2 -2
- package/esm2020/app/eo-framework/prepare-details/prepare-details.component.mjs +15 -4
- package/esm2020/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.mjs +2 -2
- package/esm2020/projects/eo-sdk/core/lib/service/backend/backend.service.mjs +7 -5
- package/esm2020/projects/eo-sdk/core/lib/service/search/search.service.mjs +8 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs +13 -5
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2015/eo-sdk-client.mjs +92 -58
- package/fesm2015/eo-sdk-client.mjs.map +1 -1
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs +13 -5
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2020/eo-sdk-client.mjs +92 -58
- package/fesm2020/eo-sdk-client.mjs.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts.map +1 -1
- package/projects/eo-sdk/core/lib/service/search/search.service.d.ts.map +1 -1
|
@@ -1750,7 +1750,7 @@ class BackendService {
|
|
|
1750
1750
|
const item = dmsObjects[0];
|
|
1751
1751
|
if (dmsObjects.length === 1) {
|
|
1752
1752
|
if (item.content) {
|
|
1753
|
-
let uri =
|
|
1753
|
+
let uri = `/dms/${item.content.id}/content?type=${item.content.type}&asdownload=true&recyclebin=${!!recyclebin}`;
|
|
1754
1754
|
if (rendition) {
|
|
1755
1755
|
uri += `&rendition=${rendition}&_intent=DOWNLOAD_${rendition}`;
|
|
1756
1756
|
}
|
|
@@ -1767,7 +1767,7 @@ class BackendService {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
}
|
|
1769
1769
|
if (dmsObjects.length > 1) {
|
|
1770
|
-
let uri =
|
|
1770
|
+
let uri = '/dms/batch/export';
|
|
1771
1771
|
if (item.content) {
|
|
1772
1772
|
const expressions = dmsObjects.map(obj => obj.content.id);
|
|
1773
1773
|
const data = {
|
|
@@ -1787,13 +1787,15 @@ class BackendService {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
}
|
|
1789
1789
|
download(uri, version) {
|
|
1790
|
-
|
|
1790
|
+
const baseUri = this.getContextPath();
|
|
1791
|
+
this.http.get(`${baseUri}${uri}`, { observe: 'response', responseType: 'blob', withCredentials: this.coreConfig.withCredentials })
|
|
1791
1792
|
.subscribe((res) => {
|
|
1792
1793
|
FileSaver.saveAs(res.body, this.getFileNameFromHttpResponse(res, version));
|
|
1793
1794
|
});
|
|
1794
1795
|
}
|
|
1795
1796
|
downloadMulti(uri, version, _body) {
|
|
1796
|
-
|
|
1797
|
+
const baseUri = this.getContextPath();
|
|
1798
|
+
this.http.post(`${baseUri}${uri}`, _body, { observe: 'response', responseType: 'blob', withCredentials: this.coreConfig.withCredentials })
|
|
1797
1799
|
.subscribe((res) => {
|
|
1798
1800
|
FileSaver.saveAs(res.body, this.getFileNameFromHttpResponse(res, version));
|
|
1799
1801
|
});
|
|
@@ -5326,6 +5328,7 @@ class SearchService {
|
|
|
5326
5328
|
const aggregations = res.aggregations[baseParam]
|
|
5327
5329
|
? res.aggregations[baseParam].buckets
|
|
5328
5330
|
: [];
|
|
5331
|
+
let aggs = {};
|
|
5329
5332
|
aggregations.forEach(aggregation => {
|
|
5330
5333
|
let { key, doc_count, contextfoldertype } = aggregation;
|
|
5331
5334
|
if (baseParam === 'filesize') {
|
|
@@ -5338,10 +5341,15 @@ class SearchService {
|
|
|
5338
5341
|
if (baseParam === SearchQuery.BASE_PARAMS.TYPE &&
|
|
5339
5342
|
contextfoldertype) {
|
|
5340
5343
|
contextfoldertype.buckets.forEach(ctxAgg => {
|
|
5341
|
-
|
|
5344
|
+
aggs[ctxAgg.key] = aggs[ctxAgg.key] ? aggs[ctxAgg.key] + ctxAgg.doc_count : ctxAgg.doc_count;
|
|
5342
5345
|
});
|
|
5343
5346
|
}
|
|
5344
5347
|
});
|
|
5348
|
+
if (baseParam === SearchQuery.BASE_PARAMS.TYPE) {
|
|
5349
|
+
Object.keys(aggs).forEach((key) => {
|
|
5350
|
+
state.addAggregations('contexttype', key, aggs[key]);
|
|
5351
|
+
});
|
|
5352
|
+
}
|
|
5345
5353
|
});
|
|
5346
5354
|
return state;
|
|
5347
5355
|
}));
|