nuxeo-development-framework 4.4.2 → 4.4.3
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/bundles/nuxeo-development-framework.umd.js +24 -16
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/shared-services/file-manager.service.js +18 -18
- package/fesm2015/nuxeo-development-framework.js +16 -16
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/shared-services/file-manager.service.d.ts +8 -8
- package/package.json +1 -1
|
@@ -18779,9 +18779,9 @@ class FileManagerService {
|
|
|
18779
18779
|
throw err;
|
|
18780
18780
|
}));
|
|
18781
18781
|
}
|
|
18782
|
-
addToCollection(id, collectionId) {
|
|
18782
|
+
addToCollection(id, collectionId, operation = "Document.AddToCollection") {
|
|
18783
18783
|
return from(this.nuxeoService.nuxeoClient
|
|
18784
|
-
.operation(
|
|
18784
|
+
.operation(operation, {
|
|
18785
18785
|
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
18786
18786
|
})
|
|
18787
18787
|
.params({
|
|
@@ -18815,9 +18815,9 @@ class FileManagerService {
|
|
|
18815
18815
|
.input(id)
|
|
18816
18816
|
.execute()).pipe(catchError((error) => of({ status: "failed", originFile: payload.originFile })));
|
|
18817
18817
|
}
|
|
18818
|
-
createNewCollection(name) {
|
|
18818
|
+
createNewCollection(name, operation = "Collection.Create") {
|
|
18819
18819
|
return from(this.nuxeoService.nuxeoClient
|
|
18820
|
-
.operation(
|
|
18820
|
+
.operation(operation, {
|
|
18821
18821
|
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
18822
18822
|
})
|
|
18823
18823
|
.params({
|
|
@@ -18855,9 +18855,9 @@ class FileManagerService {
|
|
|
18855
18855
|
throw err;
|
|
18856
18856
|
}));
|
|
18857
18857
|
}
|
|
18858
|
-
getCollectionSuggestion(term) {
|
|
18858
|
+
getCollectionSuggestion(term, operation = "Collection.Suggestion") {
|
|
18859
18859
|
return from(this.nuxeoService.nuxeoClient
|
|
18860
|
-
.operation(
|
|
18860
|
+
.operation(operation, {
|
|
18861
18861
|
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
18862
18862
|
})
|
|
18863
18863
|
.params({
|
|
@@ -18869,9 +18869,9 @@ class FileManagerService {
|
|
|
18869
18869
|
throw err;
|
|
18870
18870
|
}));
|
|
18871
18871
|
}
|
|
18872
|
-
getCollectionFromPP(searchTerm) {
|
|
18872
|
+
getCollectionFromPP(searchTerm, pp = "PP_DMS_User_Collections") {
|
|
18873
18873
|
return this.callApi.query({
|
|
18874
|
-
pageProvider:
|
|
18874
|
+
pageProvider: pp,
|
|
18875
18875
|
queryParams: `%${searchTerm}%`,
|
|
18876
18876
|
sortBy: "dc:modified",
|
|
18877
18877
|
sortOrder: "desc",
|
|
@@ -18906,9 +18906,9 @@ class FileManagerService {
|
|
|
18906
18906
|
throw err;
|
|
18907
18907
|
}));
|
|
18908
18908
|
}
|
|
18909
|
-
addToFavorites(id) {
|
|
18909
|
+
addToFavorites(id, operation = "Document.AddToFavorites") {
|
|
18910
18910
|
return from(this.nuxeoService.nuxeoClient
|
|
18911
|
-
.operation(
|
|
18911
|
+
.operation(operation, {
|
|
18912
18912
|
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
18913
18913
|
})
|
|
18914
18914
|
.params({})
|
|
@@ -18931,9 +18931,9 @@ class FileManagerService {
|
|
|
18931
18931
|
throw err;
|
|
18932
18932
|
}));
|
|
18933
18933
|
}
|
|
18934
|
-
addToQuickAccess(id) {
|
|
18934
|
+
addToQuickAccess(id, operation = "AC_UA_Collection_AddDocumentToQuickAccess") {
|
|
18935
18935
|
return from(this.nuxeoService.nuxeoClient
|
|
18936
|
-
.operation(
|
|
18936
|
+
.operation(operation, {
|
|
18937
18937
|
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
18938
18938
|
})
|
|
18939
18939
|
.params({})
|
|
@@ -18942,9 +18942,9 @@ class FileManagerService {
|
|
|
18942
18942
|
throw err;
|
|
18943
18943
|
}));
|
|
18944
18944
|
}
|
|
18945
|
-
removeFromQuickAccess(id) {
|
|
18945
|
+
removeFromQuickAccess(id, operation = "AC_UA_Collection_RemoveDocumentFromQuickAccess") {
|
|
18946
18946
|
return from(this.nuxeoService.nuxeoClient
|
|
18947
|
-
.operation(
|
|
18947
|
+
.operation(operation, {
|
|
18948
18948
|
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
18949
18949
|
})
|
|
18950
18950
|
.params({})
|
|
@@ -18953,9 +18953,9 @@ class FileManagerService {
|
|
|
18953
18953
|
throw err;
|
|
18954
18954
|
}));
|
|
18955
18955
|
}
|
|
18956
|
-
removeFromFavorites(id) {
|
|
18956
|
+
removeFromFavorites(id, operation = "Document.RemoveFromFavorites") {
|
|
18957
18957
|
return from(this.nuxeoService.nuxeoClient
|
|
18958
|
-
.operation(
|
|
18958
|
+
.operation(operation, {
|
|
18959
18959
|
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
18960
18960
|
})
|
|
18961
18961
|
.params({})
|