nuxeo-development-framework 3.7.4 → 3.7.6-mod
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 +15 -10
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +1 -1
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +2 -2
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +2 -1
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +1 -1
- package/esm2015/lib/shared-services/global-admin.service.js +1 -1
- package/esm2015/lib/shared-services/global-pdftron.service.js +2 -1
- package/esm2015/lib/shared-services/mainfolder.service.js +10 -10
- package/fesm2015/nuxeo-development-framework.js +12 -10
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/shared-services/mainfolder.service.d.ts +3 -3
- package/package.json +1 -1
|
@@ -10956,7 +10956,7 @@
|
|
|
10956
10956
|
return UserSelectorWrapperComponent;
|
|
10957
10957
|
}());
|
|
10958
10958
|
UserSelectorWrapperComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: UserSelectorWrapperComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
10959
|
-
UserSelectorWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: UserSelectorWrapperComponent, selector: "lib-user-selector-wrapper", inputs: { value: "value", multipleMode: "multipleMode", customOptions: "customOptions" }, outputs: { valueChange: "valueChange" }, ngImport: i0__namespace, template: "<cts-dynamic-form-select-users placeholder=\"{{ 'CREATE.PLACE_HOLDER' | translate }} {{'CREATE.USER' | translate}}\"\n [multiple]=\"multipleMode\"\n [searchable]=\"true\"\n [bindLabel]=\"'fullName'\"\n [closeOnSelect]=\"!multipleMode\"\n [searchable]=\"true\"\n [deptTitle]=\"'all'\"\n [preSelectedValues]=\"[]\"\n [usePreSelectedValue]=\"true\"\n (onSelectItems)=\"executeFunction($event)\"\n (ngModelChange)=\"checkChange($event)\"\n [(ngModel)]=\"bindedValue\" >\n</cts-dynamic-form-select-users>\n <!-- -->\n\n<!-- <div>{{customOptions | json}}</div>\n<div>{{multipleMode}}</div> -->", styles: [""], components: [{ type: DynamicFormSelectUsersComponent, selector: "cts-dynamic-form-select-users", inputs: ["deptTitle", "groupName", "label", "bindValue", "bindLabel", "placeholder", "multiple", "searchable", "closeOnSelect", "hideSelectedItems", "preSelectedValues", "usePreSelectedValue", "disabled", "filter"], outputs: ["onSelectItems"] }], directives: [{ type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "translate": i1__namespace$1.TranslatePipe } });
|
|
10959
|
+
UserSelectorWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: UserSelectorWrapperComponent, selector: "lib-user-selector-wrapper", inputs: { value: "value", multipleMode: "multipleMode", customOptions: "customOptions" }, outputs: { valueChange: "valueChange" }, ngImport: i0__namespace, template: "<cts-dynamic-form-select-users placeholder=\"{{ 'CREATE.PLACE_HOLDER' | translate }} {{'CREATE.USER' | translate}}\"\r\n [multiple]=\"multipleMode\"\r\n [searchable]=\"true\"\r\n [bindLabel]=\"'fullName'\"\r\n [closeOnSelect]=\"!multipleMode\"\r\n [searchable]=\"true\"\r\n [deptTitle]=\"'all'\"\r\n [preSelectedValues]=\"[]\"\r\n [usePreSelectedValue]=\"true\"\r\n (onSelectItems)=\"executeFunction($event)\"\r\n (ngModelChange)=\"checkChange($event)\"\r\n [(ngModel)]=\"bindedValue\" >\r\n</cts-dynamic-form-select-users>\r\n <!-- -->\r\n\r\n<!-- <div>{{customOptions | json}}</div>\r\n<div>{{multipleMode}}</div> -->", styles: [""], components: [{ type: DynamicFormSelectUsersComponent, selector: "cts-dynamic-form-select-users", inputs: ["deptTitle", "groupName", "label", "bindValue", "bindLabel", "placeholder", "multiple", "searchable", "closeOnSelect", "hideSelectedItems", "preSelectedValues", "usePreSelectedValue", "disabled", "filter"], outputs: ["onSelectItems"] }], directives: [{ type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "translate": i1__namespace$1.TranslatePipe } });
|
|
10960
10960
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: UserSelectorWrapperComponent, decorators: [{
|
|
10961
10961
|
type: i0.Component,
|
|
10962
10962
|
args: [{
|
|
@@ -21059,6 +21059,7 @@
|
|
|
21059
21059
|
path: this.baseHref + '/assets/pdftrons',
|
|
21060
21060
|
forceClientSideInit: true,
|
|
21061
21061
|
streaming: true,
|
|
21062
|
+
disableLogs: true,
|
|
21062
21063
|
licenseKey: this.environment.pdftronLicenceKey,
|
|
21063
21064
|
css: this.isArabic ? (this.baseHref + '/assets/styles/ar-mypdftron.css') : (this.baseHref + '/assets/styles/en-mypdftron.css'),
|
|
21064
21065
|
annotationUser: this.nuxeo.nuxeoClient.user.properties.firstName + ' ' + this.nuxeo.nuxeoClient.user.properties.lastName,
|
|
@@ -22037,9 +22038,9 @@
|
|
|
22037
22038
|
return rxjs.of(false);
|
|
22038
22039
|
}));
|
|
22039
22040
|
};
|
|
22040
|
-
MainfolderService.prototype.fetchcategory_mainFolderId = function () {
|
|
22041
|
+
MainfolderService.prototype.fetchcategory_mainFolderId = function (api) {
|
|
22041
22042
|
return rxjs.from(this.nuxeoService.nuxeoClient
|
|
22042
|
-
.operation(
|
|
22043
|
+
.operation(api)
|
|
22043
22044
|
.execute()).pipe(operators.tap(function (res) {
|
|
22044
22045
|
// if (!res?.entries?.length) {
|
|
22045
22046
|
// throw Error('Category Folder - empty response');
|
|
@@ -22106,17 +22107,19 @@
|
|
|
22106
22107
|
}
|
|
22107
22108
|
}));
|
|
22108
22109
|
};
|
|
22109
|
-
MainfolderService.prototype.save_categoryObj_ToLocalStorage = function () {
|
|
22110
|
+
MainfolderService.prototype.save_categoryObj_ToLocalStorage = function (key, api) {
|
|
22110
22111
|
var _this = this;
|
|
22111
|
-
|
|
22112
|
+
if (key === void 0) { key = 'categoryObj'; }
|
|
22113
|
+
if (api === void 0) { api = 'AC_UA_GetNCARCategoryID'; }
|
|
22114
|
+
return this.userPreference.hasItem(key)
|
|
22112
22115
|
? rxjs.of(true)
|
|
22113
|
-
: this.fetchcategory_mainFolderId().pipe(operators.tap(function (res) {
|
|
22116
|
+
: this.fetchcategory_mainFolderId(api).pipe(operators.tap(function (res) {
|
|
22114
22117
|
if (res) {
|
|
22115
22118
|
_this.categoryObj = {
|
|
22116
22119
|
id: res.uid,
|
|
22117
22120
|
path: res.path,
|
|
22118
22121
|
};
|
|
22119
|
-
_this.userPreference.set(
|
|
22122
|
+
_this.userPreference.set(key, JSON.stringify(_this.categoryObj));
|
|
22120
22123
|
}
|
|
22121
22124
|
}));
|
|
22122
22125
|
};
|
|
@@ -22138,9 +22141,10 @@
|
|
|
22138
22141
|
}
|
|
22139
22142
|
return null;
|
|
22140
22143
|
};
|
|
22141
|
-
MainfolderService.prototype.get_categoryObj_FromLocalStorage = function () {
|
|
22142
|
-
if (
|
|
22143
|
-
|
|
22144
|
+
MainfolderService.prototype.get_categoryObj_FromLocalStorage = function (key) {
|
|
22145
|
+
if (key === void 0) { key = 'categoryObj'; }
|
|
22146
|
+
if (this.userPreference.hasItem(key)) {
|
|
22147
|
+
return JSON.parse(this.userPreference.get(key));
|
|
22144
22148
|
}
|
|
22145
22149
|
return null;
|
|
22146
22150
|
};
|
|
@@ -26475,6 +26479,7 @@
|
|
|
26475
26479
|
}
|
|
26476
26480
|
WebViewer__default['default']({
|
|
26477
26481
|
path: '/dms/assets/pdftrons',
|
|
26482
|
+
disableLogs: true,
|
|
26478
26483
|
}, document.getElementById('global-pdftron')).then(function (instance) {
|
|
26479
26484
|
_this.saveOptions = instance.CoreControls.SaveOptions;
|
|
26480
26485
|
_this.instance = instance;
|