@eo-sdk/client 9.2.0 → 9.3.0-rc.2
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-framework/actions/actions/delete-action/delete/delete.component.d.ts +2 -1
- package/app/eo-framework/app-shell/app-bar/app-search/app-search.component.d.ts +4 -3
- package/app/eo-framework/ui/signature-tab/signature-tab.component.d.ts +10 -0
- package/app/eo-framework-core/search/app-search.service.d.ts +5 -0
- package/assets/_default/config/main.json +1 -1
- package/assets/_default/i18n/de.json +17 -0
- package/assets/_default/i18n/en.json +16 -0
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +71 -61
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +2 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +153 -80
- package/bundles/eo-sdk-client.umd.js.map +1 -1
- package/bundles/eo-sdk-client.umd.min.js +1 -1
- package/bundles/eo-sdk-client.umd.min.js.map +1 -1
- package/eo-sdk-client.d.ts +65 -64
- package/eo-sdk-client.metadata.json +1 -1
- package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
- package/esm2015/app/eo-framework/actions/action-menu/action-menu.component.js +6 -5
- package/esm2015/app/eo-framework/actions/actions/delete-action/delete/delete.component.js +14 -6
- package/esm2015/app/eo-framework/app-shell/app-bar/app-search/app-search.component.js +10 -4
- package/esm2015/app/eo-framework/object-details/object-details.component.js +2 -2
- package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +2 -2
- package/esm2015/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.js +2 -2
- package/esm2015/app/eo-framework/ui/signature-tab/signature-tab.component.js +35 -0
- package/esm2015/app/eo-framework/ui/ui.module.js +5 -2
- package/esm2015/app/eo-framework-core/search/app-search.service.js +15 -1
- package/esm2015/eo-sdk-client.js +66 -65
- package/esm2015/projects/eo-sdk/core/lib/service/dms/dms.service.js +6 -2
- package/esm2015/projects/eo-sdk/core/lib/service/search/search-query.model.js +64 -62
- package/esm2015/projects/eo-sdk/core/lib/service/search/search.service.js +5 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +71 -62
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +81 -17
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/misc/scripts/mvn-deploy.js +66 -0
- package/package.json +8 -2
- package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
- package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts +2 -1
- package/projects/eo-sdk/core/lib/service/search/search-query.model.d.ts +3 -1
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -18,12 +18,13 @@ export declare class DeleteComponent implements OnInit, ActionComponent {
|
|
|
18
18
|
count: string;
|
|
19
19
|
retentionTime: string;
|
|
20
20
|
datePipe: LocaleDatePipe;
|
|
21
|
+
showForceDeleteDialog: boolean;
|
|
21
22
|
selection: DmsObject[];
|
|
22
23
|
finished: EventEmitter<any>;
|
|
23
24
|
canceled: EventEmitter<any>;
|
|
24
25
|
constructor(translate: TranslateService, backend: BackendService, toast: NotificationsService, router: Router, capabilitiesService: CapabilitiesService, dmsService: DmsService, elemRef: ElementRef, eventService: EventService);
|
|
25
26
|
private isAllowedState;
|
|
26
|
-
deleteDmsObject(dmsObject: DmsObject): void;
|
|
27
|
+
deleteDmsObject(dmsObject: DmsObject, force?: boolean): void;
|
|
27
28
|
run(): void;
|
|
28
29
|
cancel(): void;
|
|
29
30
|
isExpired(dateString: string): boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { PageTitleService } from '../../../../eo-framework-core/title/page-title.service';
|
|
4
4
|
import { ObjectFormComponent } from '../../../object-form/object-form/object-form.component';
|
|
5
|
-
import {
|
|
5
|
+
import { FormStatusChangedEvent, ObjectFormOptions } from '../../../object-form/index';
|
|
6
6
|
import { AutoComplete } from 'primeng/primeng';
|
|
7
7
|
import { NgForm } from '@angular/forms';
|
|
8
8
|
import { LocaleDatePipe } from '../../../../eo-framework-core/pipes/locale-date.pipe';
|
|
9
9
|
import { AppSearchService } from '../../../../eo-framework-core/search/app-search.service';
|
|
10
|
-
import {
|
|
10
|
+
import { Capabilities, CapabilitiesService, Logger, NotificationsService, ObjectType, PrepareService, QueryScope, SearchFilter, SearchQuery, SearchService, SearchState, StoredQueriesService, StoredQuery, SystemService, TranslateService, UserService } from '@eo-sdk/core';
|
|
11
11
|
export interface IdxSearch {
|
|
12
12
|
type: ObjectType;
|
|
13
13
|
contextFolderType: ObjectType;
|
|
@@ -43,6 +43,7 @@ export declare class AppSearchComponent implements OnInit, AfterViewInit, OnDest
|
|
|
43
43
|
FILESIZE: string;
|
|
44
44
|
FILENAME: string;
|
|
45
45
|
MIMETYPEGROUP: string;
|
|
46
|
+
FOLDER: string;
|
|
46
47
|
};
|
|
47
48
|
OPERATOR: {
|
|
48
49
|
EQUAL: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DmsObject, EoUser, UserService } from '@eo-sdk/core';
|
|
2
|
+
export declare class SignatureTabComponent {
|
|
3
|
+
private userService;
|
|
4
|
+
private _dmsObject;
|
|
5
|
+
user: EoUser;
|
|
6
|
+
set dmsObject(item: DmsObject);
|
|
7
|
+
get dmsObject(): DmsObject;
|
|
8
|
+
constructor(userService: UserService);
|
|
9
|
+
isUserAdmin(): any;
|
|
10
|
+
}
|
|
@@ -70,6 +70,11 @@ export declare class AppSearchService {
|
|
|
70
70
|
* @param filter - the filter to be toggled
|
|
71
71
|
*/
|
|
72
72
|
toggleQueryFilter(filter: SearchFilter, override?: boolean): void;
|
|
73
|
+
/**
|
|
74
|
+
* Toggles created filters and aggregates them together.
|
|
75
|
+
* @param filters - the filters to be toggled
|
|
76
|
+
*/
|
|
77
|
+
toggleQueryFilters(filters: SearchFilter[], override?: boolean): void;
|
|
73
78
|
/**
|
|
74
79
|
* Adds a filter to the query.
|
|
75
80
|
* @param filter - the filter to be added
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"about": {
|
|
31
31
|
"docu": {
|
|
32
|
-
"link": "https://help.optimal-systems.com/yuuvisRAD/
|
|
32
|
+
"link": "https://help.optimal-systems.com/yuuvisRAD/v80/user/client/###userLang###/index.html",
|
|
33
33
|
"label": "eo.sidebar.help.manual"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -114,6 +114,18 @@
|
|
|
114
114
|
"eo.search.mode.expert.support.type": "Typ",
|
|
115
115
|
"eo.search.mode.expert.support.field": "Feld",
|
|
116
116
|
"eo.object.links.title": "Referenzen",
|
|
117
|
+
"eo.object.signature.title":"Unterschriften",
|
|
118
|
+
"eo.object.signature-tab.title":"Unterschriften",
|
|
119
|
+
"eo.object.signature-tab.label.date": "Anfragedatum",
|
|
120
|
+
"eo.object.signature-tab.label.requester": "Angefragt von",
|
|
121
|
+
"eo.object.signature-tab.label.signers": "Unterschriftgeber",
|
|
122
|
+
"eo.object.signature-tab.label.subject": "Betreff",
|
|
123
|
+
"eo.object.signature-tab.label.body": "E-Mail-Nachricht",
|
|
124
|
+
"eo.object.signature-tab.label.status": "Status",
|
|
125
|
+
"eo.object.signature-tab.label.error": "Fehlermeldung",
|
|
126
|
+
"eo.object.signature-tab.label.signingPlatform": "Signaturplattform",
|
|
127
|
+
"eo.object.signature-tab.label.signingPlatformId": "Signaturplattform-ID",
|
|
128
|
+
"eo.object.signature-tab.order.tooltip": "Unterschriftenfolge",
|
|
117
129
|
"eo.form.property.dynamic.list.empty": "Es sind keine Einträge vorhanden oder in diesem Kontext nicht verfügbar",
|
|
118
130
|
"eo.process.task.due": "Fällig am {{date}}",
|
|
119
131
|
"eo.process.task.overdue": "Überfällig seit {{date}}",
|
|
@@ -863,8 +875,13 @@
|
|
|
863
875
|
"eo.upload.global.notarget.message": "Die Dateien können nicht abgelegt werden, da es keine validen Ablageorte gibt. Bitte überprüfen Sie Ihre Berechtigungen.",
|
|
864
876
|
"eo.action.delete.dms.object.confirm.context.folder.title": "Der Ordner '{{folder}}' enthält {{count}} Objekte. Sind Sie sicher, dass der Ordner und Objekte gelöscht werden sollen?",
|
|
865
877
|
"eo.action.delete.dms.object.error.retention.title": "Dieses Objekt kann nicht gelöscht werden bis einschließlich {{retentionTime}}.",
|
|
878
|
+
"eo.action.delete.dms.dialog.title": "Löschung erwirken",
|
|
879
|
+
"eo.action.delete.dms.dialog.message": "Dieses Objekt ist in einer Prozessakte enthalten. Soll es dennoch gelöscht werden?",
|
|
880
|
+
"eo.action.delete.dms.dialog.cancel": "Abbrechen",
|
|
881
|
+
"eo.action.delete.dms.dialog.delete": "Löschen",
|
|
866
882
|
"eo.action.menu.custom.run.success": "Die Aktion {{title}} wurde ausgeführt.",
|
|
867
883
|
"eo.action.menu.custom.run.error": "Die Aktion {{title}} konnte leider nicht ausgeführt werden.",
|
|
884
|
+
"eo.search.agg.filesize.none": "Ohne Datei",
|
|
868
885
|
"eo.search.agg.filesize.lt1MB": "Klein (< 1 MB)",
|
|
869
886
|
"eo.search.agg.filesize.lt10MB": "Mittel (1 MB - 10 MB)",
|
|
870
887
|
"eo.search.agg.filesize.lt100MB": "Groß (10 MB - 100 MB)",
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
"eo.stored.queries.list.empty": "No saved searches available",
|
|
29
29
|
"eo.action.delete.dms.object.confirm.context.folder.title": "Folder '{{folder}}' contains {{count}} objects. Are you sure you want to delete the folder and objects?",
|
|
30
30
|
"eo.action.delete.dms.object.error.retention.title": "This object cannot be deleted until {{retentionTime}}.",
|
|
31
|
+
"eo.action.delete.dms.dialog.title": "Effect deletion",
|
|
32
|
+
"eo.action.delete.dms.dialog.message": "This object is contained in a process file. Do you want to delete it nevertheless?",
|
|
33
|
+
"eo.action.delete.dms.dialog.cancel": "Cancel",
|
|
34
|
+
"eo.action.delete.dms.dialog.delete": "Delete",
|
|
31
35
|
"eo.prepare.list.item.file": "file",
|
|
32
36
|
"eo.prepare.list.item.files": "files",
|
|
33
37
|
"eo.add.prepare.fail.title": "The object could not be created",
|
|
@@ -114,6 +118,17 @@
|
|
|
114
118
|
"eo.search.mode.expert.support.type": "Type",
|
|
115
119
|
"eo.search.mode.expert.support.field": "Field",
|
|
116
120
|
"eo.object.links.title": "References",
|
|
121
|
+
"eo.object.signature-tab.title":"Signatures",
|
|
122
|
+
"eo.object.signature-tab.label.date": "Request date",
|
|
123
|
+
"eo.object.signature-tab.label.requester": "Requested by",
|
|
124
|
+
"eo.object.signature-tab.label.signers": "Signers",
|
|
125
|
+
"eo.object.signature-tab.label.subject": "Subject",
|
|
126
|
+
"eo.object.signature-tab.label.body": "Email message",
|
|
127
|
+
"eo.object.signature-tab.label.status": "Status",
|
|
128
|
+
"eo.object.signature-tab.label.error": "Error message",
|
|
129
|
+
"eo.object.signature-tab.label.signingPlatform": "Signing platform",
|
|
130
|
+
"eo.object.signature-tab.label.signingPlatformId": "Signing platform ID",
|
|
131
|
+
"eo.object.signature-tab.order.tooltip": "Signing order",
|
|
117
132
|
"eo.form.property.dynamic.list.empty": "There are no entries or they are not available in this context",
|
|
118
133
|
"eo.process.task.due": "Due on {{date}}",
|
|
119
134
|
"eo.process.task.overdue": "Overdue since {{date}}",
|
|
@@ -866,6 +881,7 @@
|
|
|
866
881
|
"eo.upload.global.notarget.message": "The files could not be filed, as there are no valid filing locations. Please check your permissions.",
|
|
867
882
|
"eo.action.menu.custom.run.success": "Action {{title}} was executed.",
|
|
868
883
|
"eo.action.menu.custom.run.error": "Unfortunately, action {{title}} could not be executed.",
|
|
884
|
+
"eo.search.agg.filesize.none": "Without file",
|
|
869
885
|
"eo.search.agg.filesize.lt1MB": "Small (< 1 MB)",
|
|
870
886
|
"eo.search.agg.filesize.lt10MB": "Medium (1–10 MB)",
|
|
871
887
|
"eo.search.agg.filesize.lt100MB": "Large (10–100 MB)",
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
var queryJson = {};
|
|
417
417
|
// add type filters
|
|
418
418
|
if (this.types.length > 0) {
|
|
419
|
-
queryJson.types = this.types.map(function (t) { return typeof t ===
|
|
419
|
+
queryJson.types = this.types.map(function (t) { return typeof t === 'string' ? t : t.name; });
|
|
420
420
|
}
|
|
421
421
|
// add context folder type filters
|
|
422
422
|
if (this.contextFolderTypes.length > 0) {
|
|
@@ -487,73 +487,75 @@
|
|
|
487
487
|
* Base Parameters for a Search Query
|
|
488
488
|
*/
|
|
489
489
|
SearchQuery.BASE_PARAMS = {
|
|
490
|
-
TYPE:
|
|
491
|
-
CREATOR:
|
|
492
|
-
CREATED:
|
|
493
|
-
MODIFIER:
|
|
494
|
-
MODIFIED:
|
|
495
|
-
FILESIZE:
|
|
496
|
-
FILENAME:
|
|
497
|
-
MIMETYPEGROUP:
|
|
490
|
+
TYPE: 'type',
|
|
491
|
+
CREATOR: 'creator',
|
|
492
|
+
CREATED: 'created',
|
|
493
|
+
MODIFIER: 'modifier',
|
|
494
|
+
MODIFIED: 'modified',
|
|
495
|
+
FILESIZE: 'filesize',
|
|
496
|
+
FILENAME: 'filename',
|
|
497
|
+
MIMETYPEGROUP: 'mimetypegroup',
|
|
498
|
+
FOLDER: 'folder'
|
|
498
499
|
};
|
|
499
500
|
/**
|
|
500
501
|
* Time period buckets property names
|
|
501
502
|
*/
|
|
502
503
|
SearchQuery.TIME_PERIOD_BUCKETS = {
|
|
503
|
-
TODAY:
|
|
504
|
-
YESTERDAY:
|
|
505
|
-
THIS_WEEK:
|
|
506
|
-
LAST_WEEK:
|
|
507
|
-
THIS_MONTH:
|
|
508
|
-
LAST_MONTH:
|
|
509
|
-
THIS_YEAR:
|
|
510
|
-
LAST_YEAR:
|
|
504
|
+
TODAY: 'today',
|
|
505
|
+
YESTERDAY: 'yesterday',
|
|
506
|
+
THIS_WEEK: 'thisweek',
|
|
507
|
+
LAST_WEEK: 'lastweek',
|
|
508
|
+
THIS_MONTH: 'thismonth',
|
|
509
|
+
LAST_MONTH: 'lastmonth',
|
|
510
|
+
THIS_YEAR: 'thisyear',
|
|
511
|
+
LAST_YEAR: 'lastyear'
|
|
511
512
|
};
|
|
512
513
|
/**
|
|
513
514
|
* mimetype buckets property names
|
|
514
515
|
*/
|
|
515
516
|
SearchQuery.MIMETYPEGROUP_BUCKETS = {
|
|
516
|
-
PDF:
|
|
517
|
-
MAIL:
|
|
518
|
-
WORD:
|
|
519
|
-
IMAGE:
|
|
520
|
-
OCTET_STREAM:
|
|
521
|
-
TXT:
|
|
522
|
-
EXCEL:
|
|
523
|
-
POWERPOINT:
|
|
524
|
-
VIDEO:
|
|
525
|
-
HTML:
|
|
526
|
-
AUDIO:
|
|
527
|
-
ZIP:
|
|
517
|
+
PDF: 'pdf',
|
|
518
|
+
MAIL: 'mail',
|
|
519
|
+
WORD: 'word',
|
|
520
|
+
IMAGE: 'image',
|
|
521
|
+
OCTET_STREAM: 'octet-stream',
|
|
522
|
+
TXT: 'txt',
|
|
523
|
+
EXCEL: 'excel',
|
|
524
|
+
POWERPOINT: 'powerpoint',
|
|
525
|
+
VIDEO: 'video',
|
|
526
|
+
HTML: 'html',
|
|
527
|
+
AUDIO: 'audio',
|
|
528
|
+
ZIP: 'zip'
|
|
528
529
|
};
|
|
529
530
|
/**
|
|
530
531
|
* filesize buckets property names
|
|
531
532
|
*/
|
|
532
533
|
SearchQuery.FILE_SIZE_BUCKETS = {
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
534
|
+
NONE: 'none',
|
|
535
|
+
LT1MB: 'lt1MB',
|
|
536
|
+
LT10MB: 'lt10MB',
|
|
537
|
+
LT100MB: 'lt100MB',
|
|
538
|
+
GT100MB: 'gt100MB'
|
|
537
539
|
};
|
|
538
540
|
// list of things that may have changed the current query
|
|
539
541
|
SearchQuery.UPDATE_CAUSE = {
|
|
540
|
-
TOGGLED_TYPE:
|
|
541
|
-
TOGGLED_EXPERTMODE:
|
|
542
|
-
TERM_SET:
|
|
543
|
-
TYPES_SET:
|
|
544
|
-
CONTEXT_FOLDER_SET:
|
|
545
|
-
TOGGLED_FILTER:
|
|
546
|
-
ADDED_FILTER:
|
|
547
|
-
REMOVED_FILTER:
|
|
542
|
+
TOGGLED_TYPE: 'cause.type.toggled',
|
|
543
|
+
TOGGLED_EXPERTMODE: 'cause.expertmode.toggled',
|
|
544
|
+
TERM_SET: 'cause.term.set',
|
|
545
|
+
TYPES_SET: 'cause.types.set',
|
|
546
|
+
CONTEXT_FOLDER_SET: 'cause.contextfolder.set',
|
|
547
|
+
TOGGLED_FILTER: 'cause.filter.toggled',
|
|
548
|
+
ADDED_FILTER: 'cause.filter.added',
|
|
549
|
+
REMOVED_FILTER: 'cause.filter.removed',
|
|
548
550
|
};
|
|
549
551
|
/**
|
|
550
552
|
* Detault Search mode Index
|
|
551
553
|
*/
|
|
552
|
-
SearchQuery.DEFAULT_SEARCH_MODE =
|
|
554
|
+
SearchQuery.DEFAULT_SEARCH_MODE = 'idxs';
|
|
553
555
|
/**
|
|
554
556
|
* Search mode for Full test Search
|
|
555
557
|
*/
|
|
556
|
-
SearchQuery.FULLTEXT_SEARCH_MODE =
|
|
558
|
+
SearchQuery.FULLTEXT_SEARCH_MODE = 'fts';
|
|
557
559
|
/**
|
|
558
560
|
* @ignore
|
|
559
561
|
* Creates the Model of Sort Options
|
|
@@ -620,7 +622,7 @@
|
|
|
620
622
|
});
|
|
621
623
|
SearchState.prototype.addAggregations = function (type, key, value, agg) {
|
|
622
624
|
switch (type) {
|
|
623
|
-
case
|
|
625
|
+
case 'contexttype': {
|
|
624
626
|
this.aggregations.contextType.set(key, value);
|
|
625
627
|
break;
|
|
626
628
|
}
|
|
@@ -655,7 +657,7 @@
|
|
|
655
657
|
value: value,
|
|
656
658
|
from: agg.from,
|
|
657
659
|
to: agg.to || Infinity,
|
|
658
|
-
label: key.replace(
|
|
660
|
+
label: key.replace('gt', '> ').replace('lt', '< ')
|
|
659
661
|
});
|
|
660
662
|
break;
|
|
661
663
|
}
|
|
@@ -692,10 +694,10 @@
|
|
|
692
694
|
SearchFilter.prototype.formatDate = function (value) {
|
|
693
695
|
return this.transformDate && value
|
|
694
696
|
? this.transformDate.timezone
|
|
695
|
-
? new common.DatePipe(
|
|
697
|
+
? new common.DatePipe('en').transform(value, 'yyyy-MM-ddTZ')
|
|
696
698
|
: this.transformDate.time
|
|
697
|
-
? new Date(value).toISOString().slice(0, 16) +
|
|
698
|
-
: new common.DatePipe(
|
|
699
|
+
? new Date(value).toISOString().slice(0, 16) + 'Z'
|
|
700
|
+
: new common.DatePipe('en').transform(value, 'yyyy-MM-dd')
|
|
699
701
|
: value;
|
|
700
702
|
};
|
|
701
703
|
SearchFilter.prototype.toQuery = function () {
|
|
@@ -751,22 +753,22 @@
|
|
|
751
753
|
*/
|
|
752
754
|
SearchFilter.OPERATOR = {
|
|
753
755
|
/** equal */
|
|
754
|
-
EQUAL:
|
|
756
|
+
EQUAL: 'eq',
|
|
755
757
|
/** match (for string with classification "path6666") */
|
|
756
|
-
MATCH:
|
|
758
|
+
MATCH: 'match',
|
|
757
759
|
/** match at least one of the provided values (value has to be an array) */
|
|
758
|
-
IN:
|
|
760
|
+
IN: 'in',
|
|
759
761
|
/** greater than */
|
|
760
|
-
GREATER_THAN:
|
|
762
|
+
GREATER_THAN: 'gt',
|
|
761
763
|
/** greater than or equal */
|
|
762
|
-
GREATER_OR_EQUAL:
|
|
763
|
-
LESS_THAN:
|
|
764
|
-
LESS_OR_EQUAL:
|
|
765
|
-
INTERVAL:
|
|
766
|
-
INTERVAL_INCLUDE_BOTH:
|
|
767
|
-
INTERVAL_INCLUDE_TO:
|
|
768
|
-
INTERVAL_INCLUDE_FROM:
|
|
769
|
-
RANGE:
|
|
764
|
+
GREATER_OR_EQUAL: 'gte',
|
|
765
|
+
LESS_THAN: 'lt',
|
|
766
|
+
LESS_OR_EQUAL: 'lte',
|
|
767
|
+
INTERVAL: 'gtlt',
|
|
768
|
+
INTERVAL_INCLUDE_BOTH: 'gtelte',
|
|
769
|
+
INTERVAL_INCLUDE_TO: 'gtlte',
|
|
770
|
+
INTERVAL_INCLUDE_FROM: 'gtelt',
|
|
771
|
+
RANGE: 'rg' // aggegation ranges
|
|
770
772
|
};
|
|
771
773
|
|
|
772
774
|
/**
|
|
@@ -4951,8 +4953,10 @@
|
|
|
4951
4953
|
* @param id The id of the dms object to be deleted.
|
|
4952
4954
|
* @param type Type of object
|
|
4953
4955
|
* @param hardDelete If object should really be deleted or only put into the recycle bin
|
|
4956
|
+
* @param force If object should be forced to be deleted, even if it is used inside of a process. Default: false
|
|
4954
4957
|
*/
|
|
4955
|
-
DmsService.prototype.deleteDmsObject = function (id, type, hardDelete) {
|
|
4958
|
+
DmsService.prototype.deleteDmsObject = function (id, type, hardDelete, force) {
|
|
4959
|
+
if (force === void 0) { force = false; }
|
|
4956
4960
|
var url = "/dms/" + id;
|
|
4957
4961
|
var params = {};
|
|
4958
4962
|
if (type && type.length > 0) {
|
|
@@ -4961,6 +4965,9 @@
|
|
|
4961
4965
|
if (hardDelete) {
|
|
4962
4966
|
params['harddelete'] = hardDelete;
|
|
4963
4967
|
}
|
|
4968
|
+
if (force) {
|
|
4969
|
+
params['forcedelete'] = force;
|
|
4970
|
+
}
|
|
4964
4971
|
return this.backend.del(Utils.buildUri(url, params));
|
|
4965
4972
|
};
|
|
4966
4973
|
/**
|
|
@@ -5613,6 +5620,9 @@
|
|
|
5613
5620
|
: [];
|
|
5614
5621
|
aggregations.forEach(function (aggregation) {
|
|
5615
5622
|
var key = aggregation.key, doc_count = aggregation.doc_count, contextfoldertype = aggregation.contextfoldertype;
|
|
5623
|
+
if (baseParam === 'filesize') {
|
|
5624
|
+
doc_count = aggregation['filter#documents'].doc_count;
|
|
5625
|
+
}
|
|
5616
5626
|
state.addAggregations(baseParam, key, doc_count, aggregation);
|
|
5617
5627
|
/**
|
|
5618
5628
|
* type aggregations may also contain buckets for their context types
|