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
|
@@ -20304,9 +20304,10 @@
|
|
|
20304
20304
|
throw err;
|
|
20305
20305
|
}));
|
|
20306
20306
|
};
|
|
20307
|
-
FileManagerService.prototype.addToCollection = function (id, collectionId) {
|
|
20307
|
+
FileManagerService.prototype.addToCollection = function (id, collectionId, operation) {
|
|
20308
|
+
if (operation === void 0) { operation = "Document.AddToCollection"; }
|
|
20308
20309
|
return rxjs.from(this.nuxeoService.nuxeoClient
|
|
20309
|
-
.operation(
|
|
20310
|
+
.operation(operation, {
|
|
20310
20311
|
url: "" + this.environment.nuxeo + this.environment.customAutomation,
|
|
20311
20312
|
})
|
|
20312
20313
|
.params({
|
|
@@ -20340,9 +20341,10 @@
|
|
|
20340
20341
|
.input(id)
|
|
20341
20342
|
.execute()).pipe(operators.catchError(function (error) { return rxjs.of({ status: "failed", originFile: payload.originFile }); }));
|
|
20342
20343
|
};
|
|
20343
|
-
FileManagerService.prototype.createNewCollection = function (name) {
|
|
20344
|
+
FileManagerService.prototype.createNewCollection = function (name, operation) {
|
|
20345
|
+
if (operation === void 0) { operation = "Collection.Create"; }
|
|
20344
20346
|
return rxjs.from(this.nuxeoService.nuxeoClient
|
|
20345
|
-
.operation(
|
|
20347
|
+
.operation(operation, {
|
|
20346
20348
|
url: "" + this.environment.nuxeo + this.environment.customAutomation,
|
|
20347
20349
|
})
|
|
20348
20350
|
.params({
|
|
@@ -20380,9 +20382,10 @@
|
|
|
20380
20382
|
throw err;
|
|
20381
20383
|
}));
|
|
20382
20384
|
};
|
|
20383
|
-
FileManagerService.prototype.getCollectionSuggestion = function (term) {
|
|
20385
|
+
FileManagerService.prototype.getCollectionSuggestion = function (term, operation) {
|
|
20386
|
+
if (operation === void 0) { operation = "Collection.Suggestion"; }
|
|
20384
20387
|
return rxjs.from(this.nuxeoService.nuxeoClient
|
|
20385
|
-
.operation(
|
|
20388
|
+
.operation(operation, {
|
|
20386
20389
|
url: "" + this.environment.nuxeo + this.environment.customAutomation,
|
|
20387
20390
|
})
|
|
20388
20391
|
.params({
|
|
@@ -20394,9 +20397,10 @@
|
|
|
20394
20397
|
throw err;
|
|
20395
20398
|
}));
|
|
20396
20399
|
};
|
|
20397
|
-
FileManagerService.prototype.getCollectionFromPP = function (searchTerm) {
|
|
20400
|
+
FileManagerService.prototype.getCollectionFromPP = function (searchTerm, pp) {
|
|
20401
|
+
if (pp === void 0) { pp = "PP_DMS_User_Collections"; }
|
|
20398
20402
|
return this.callApi.query({
|
|
20399
|
-
pageProvider:
|
|
20403
|
+
pageProvider: pp,
|
|
20400
20404
|
queryParams: "%" + searchTerm + "%",
|
|
20401
20405
|
sortBy: "dc:modified",
|
|
20402
20406
|
sortOrder: "desc",
|
|
@@ -20431,9 +20435,10 @@
|
|
|
20431
20435
|
throw err;
|
|
20432
20436
|
}));
|
|
20433
20437
|
};
|
|
20434
|
-
FileManagerService.prototype.addToFavorites = function (id) {
|
|
20438
|
+
FileManagerService.prototype.addToFavorites = function (id, operation) {
|
|
20439
|
+
if (operation === void 0) { operation = "Document.AddToFavorites"; }
|
|
20435
20440
|
return rxjs.from(this.nuxeoService.nuxeoClient
|
|
20436
|
-
.operation(
|
|
20441
|
+
.operation(operation, {
|
|
20437
20442
|
url: "" + this.environment.nuxeo + this.environment.customAutomation,
|
|
20438
20443
|
})
|
|
20439
20444
|
.params({})
|
|
@@ -20456,9 +20461,10 @@
|
|
|
20456
20461
|
throw err;
|
|
20457
20462
|
}));
|
|
20458
20463
|
};
|
|
20459
|
-
FileManagerService.prototype.addToQuickAccess = function (id) {
|
|
20464
|
+
FileManagerService.prototype.addToQuickAccess = function (id, operation) {
|
|
20465
|
+
if (operation === void 0) { operation = "AC_UA_Collection_AddDocumentToQuickAccess"; }
|
|
20460
20466
|
return rxjs.from(this.nuxeoService.nuxeoClient
|
|
20461
|
-
.operation(
|
|
20467
|
+
.operation(operation, {
|
|
20462
20468
|
url: "" + this.environment.nuxeo + this.environment.customAutomation,
|
|
20463
20469
|
})
|
|
20464
20470
|
.params({})
|
|
@@ -20467,9 +20473,10 @@
|
|
|
20467
20473
|
throw err;
|
|
20468
20474
|
}));
|
|
20469
20475
|
};
|
|
20470
|
-
FileManagerService.prototype.removeFromQuickAccess = function (id) {
|
|
20476
|
+
FileManagerService.prototype.removeFromQuickAccess = function (id, operation) {
|
|
20477
|
+
if (operation === void 0) { operation = "AC_UA_Collection_RemoveDocumentFromQuickAccess"; }
|
|
20471
20478
|
return rxjs.from(this.nuxeoService.nuxeoClient
|
|
20472
|
-
.operation(
|
|
20479
|
+
.operation(operation, {
|
|
20473
20480
|
url: "" + this.environment.nuxeo + this.environment.customAutomation,
|
|
20474
20481
|
})
|
|
20475
20482
|
.params({})
|
|
@@ -20478,9 +20485,10 @@
|
|
|
20478
20485
|
throw err;
|
|
20479
20486
|
}));
|
|
20480
20487
|
};
|
|
20481
|
-
FileManagerService.prototype.removeFromFavorites = function (id) {
|
|
20488
|
+
FileManagerService.prototype.removeFromFavorites = function (id, operation) {
|
|
20489
|
+
if (operation === void 0) { operation = "Document.RemoveFromFavorites"; }
|
|
20482
20490
|
return rxjs.from(this.nuxeoService.nuxeoClient
|
|
20483
|
-
.operation(
|
|
20491
|
+
.operation(operation, {
|
|
20484
20492
|
url: "" + this.environment.nuxeo + this.environment.customAutomation,
|
|
20485
20493
|
})
|
|
20486
20494
|
.params({})
|