nuxeo-development-framework 4.4.4 → 4.4.6

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.
@@ -20674,6 +20674,9 @@
20674
20674
  _this.fileManagerService = fileManagerService;
20675
20675
  _this.customToastrService = customToastrService;
20676
20676
  _this.nuxeoDialogService = nuxeoDialogService;
20677
+ _this.createOperation = 'Collection.Create';
20678
+ _this.addOperation = 'Document.AddToCollection';
20679
+ _this.getCollectionPP = 'PP_DMS_User_Collections';
20677
20680
  _this.visibleChange = new i0.EventEmitter();
20678
20681
  _this.rtlEnabled = false;
20679
20682
  _this.isSelected = true;
@@ -20683,9 +20686,7 @@
20683
20686
  _this.onFormCollectionSubmit = function (e) {
20684
20687
  e.preventDefault();
20685
20688
  _this.loading = true;
20686
- return _this.fileManagerService
20687
- .addToCollection(_this.selectedItems, _this.collectionid)
20688
- .pipe(operators.tap(function (res) {
20689
+ return _this.fileManagerService.addToCollection(_this.selectedItems, _this.collectionid, _this.addOperation).pipe(operators.tap(function (res) {
20689
20690
  _this.loading = false;
20690
20691
  _this.form.instance.resetValues();
20691
20692
  _this.selectedTags = null;
@@ -20718,6 +20719,7 @@
20718
20719
  AddToCollectionComponent.prototype.ngOnInit = function () { };
20719
20720
  AddToCollectionComponent.prototype.openDialog = function () {
20720
20721
  var _this = this;
20722
+ this.loadItems();
20721
20723
  var options = {
20722
20724
  component: NdfNuxeoDialog,
20723
20725
  //TODO [Asem] how to put the wrapper ID
@@ -20738,9 +20740,7 @@
20738
20740
  AddToCollectionComponent.prototype.emitSelection = function (event) {
20739
20741
  var _this = this;
20740
20742
  if (this.isSelected) {
20741
- this.fileManagerService
20742
- .createNewCollection(event.displayLabel)
20743
- .subscribe(function (res) {
20743
+ this.fileManagerService.createNewCollection(event.displayLabel, this.createOperation).subscribe(function (res) {
20744
20744
  _this.collectionid = res.uid;
20745
20745
  });
20746
20746
  }
@@ -20752,19 +20752,21 @@
20752
20752
  var searchterm = '';
20753
20753
  this.isSelected = false;
20754
20754
  var mycategories = [];
20755
- this.items$ = rxjs.concat(this.fileManagerService.getCollectionFromPP(searchterm).pipe(operators.switchMap(function (res) {
20755
+ this.items$ = rxjs.concat(this.fileManagerService.getCollectionFromPP(searchterm, this.getCollectionPP).pipe(operators.switchMap(function (res) {
20756
20756
  res.entries.map(function (entry) {
20757
- mycategories.push({
20758
- displayLabel: entry.title,
20759
- id: entry.uid,
20760
- path: entry.path,
20761
- icon: entry.properties['common:icon']
20762
- });
20757
+ if (!_this.enableMemberInCollections || !_this.memberInCollections.includes(entry.id)) {
20758
+ mycategories.push({
20759
+ displayLabel: entry.title,
20760
+ id: entry.uid,
20761
+ path: entry.path,
20762
+ icon: entry.properties['common:icon']
20763
+ });
20764
+ }
20763
20765
  });
20764
20766
  return rxjs.of(mycategories);
20765
20767
  })), // default items
20766
20768
  this.tagsInput$.pipe(operators.debounceTime(200), operators.distinctUntilChanged(), operators.tap(function () { return (_this.tagsLoading = true); }), operators.switchMap(function (searchterm) {
20767
- return _this.fileManagerService.getCollectionFromPP(searchterm).pipe(operators.catchError(function () { return rxjs.of([]); }), // empty list on error
20769
+ return _this.fileManagerService.getCollectionFromPP(searchterm, _this.getCollectionPP).pipe(operators.catchError(function () { return rxjs.of([]); }), // empty list on error
20768
20770
  operators.switchMap(function (searchCat) {
20769
20771
  var myInerCateg = [];
20770
20772
  _this.tagsLoading = false;
@@ -20784,7 +20786,7 @@
20784
20786
  return AddToCollectionComponent;
20785
20787
  }(BaseComponent));
20786
20788
  AddToCollectionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AddToCollectionComponent, deps: [{ token: FileManagerService }, { token: CustomToastrService }, { token: NuxeoDialogService }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
20787
- AddToCollectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AddToCollectionComponent, selector: "app-add-to-collection", inputs: { visible: "visible", rtlEnabled: "rtlEnabled", selectedItems: "selectedItems" }, outputs: { visibleChange: "visibleChange" }, viewQueries: [{ propertyName: "form", first: true, predicate: i4$4.DxFormComponent, descendants: true }, { propertyName: "contentTemplate", first: true, predicate: ["contentTemplate"], descendants: true }, { propertyName: "actionsTemplate", first: true, predicate: ["actionsTemplate"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #contentTemplate>\r\n\t<form>\r\n\t\t<dx-form\r\n\t\t\tclass=\"collection-form-wrapper\"\r\n\t\t\t#createForm\r\n\t\t\t[formData]=\"formData\"\r\n\t\t\t[disabled]=\"loading\"\r\n\t\t>\r\n\t\t\t<dxi-item editorType=\"dxTextBox\">\r\n\t\t\t\t<ng-select\r\n\t\t\t\t\t[items]=\"items$ | async\"\r\n\t\t\t\t\tbindLabel=\"displayLabel\"\r\n\t\t\t\t\t[addTag]=\"true\"\r\n\t\t\t\t\taddTagText=\"Add collection\"\r\n\t\t\t\t\t[multiple]=\"false\"\r\n\t\t\t\t\t[hideSelected]=\"true\"\r\n\t\t\t\t\t[minTermLength]=\"0\"\r\n\t\t\t\t\t[loading]=\"tagsLoading\"\r\n\t\t\t\t\ttypeToSearchText=\"search\"\r\n\t\t\t\t\t[typeahead]=\"tagsInput$\"\r\n\t\t\t\t\t[(ngModel)]=\"selectedTags\"\r\n\t\t\t\t\trequired\r\n\t\t\t\t\tplaceholder=\"{{ 'VOCABULARY.SELECT_ITEM' | translate }}\"\r\n\t\t\t\t\tname=\"selectedItem\"\r\n\t\t\t\t\t(change)=\"emitSelection($event)\"\r\n\t\t\t\t>\r\n\t\t\t\t</ng-select>\r\n\t\t\t</dxi-item>\r\n\t\t</dx-form>\r\n\t</form>\r\n</ng-template>\r\n\r\n<ng-template #actionsTemplate let-dialog=\"dialog\">\r\n\t<span\r\n\t\tclass=\"dx-button-text\"\r\n\t\t(click)=\"dialog.executeAction(onFormCollectionSubmit, [$event])\"\r\n\t>\r\n\t\t{{ 'FILE_MANAGER.ADD' | translate }}\r\n\t</span>\r\n</ng-template>\r\n", styles: [""], components: [{ type: i4__namespace$4.DxFormComponent, selector: "dx-form", inputs: ["accessKey", "activeStateEnabled", "alignItemLabels", "alignItemLabelsInAllGroups", "colCount", "colCountByScreen", "customizeItem", "disabled", "elementAttr", "focusStateEnabled", "formData", "height", "hint", "hoverStateEnabled", "items", "labelLocation", "labelMode", "minColWidth", "optionalMark", "readOnly", "requiredMark", "requiredMessage", "rtlEnabled", "screenByWidth", "scrollingEnabled", "showColonAfterLabel", "showOptionalMark", "showRequiredMark", "showValidationSummary", "tabIndex", "validationGroup", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onEditorEnterKey", "onFieldDataChanged", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "alignItemLabelsChange", "alignItemLabelsInAllGroupsChange", "colCountChange", "colCountByScreenChange", "customizeItemChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "formDataChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemsChange", "labelLocationChange", "labelModeChange", "minColWidthChange", "optionalMarkChange", "readOnlyChange", "requiredMarkChange", "requiredMessageChange", "rtlEnabledChange", "screenByWidthChange", "scrollingEnabledChange", "showColonAfterLabelChange", "showOptionalMarkChange", "showRequiredMarkChange", "showValidationSummaryChange", "tabIndexChange", "validationGroupChange", "visibleChange", "widthChange"] }, { type: i5__namespace$2.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "linkAttr", "url", "heightRatio", "widthRatio", "expanded", "hasItems", "id", "parentId"] }, { type: i3__namespace$3.NgSelectComponent, selector: "ng-select", inputs: ["markFirst", "dropdownPosition", "loading", "closeOnSelect", "hideSelected", "selectOnTab", "bufferAmount", "selectableGroup", "selectableGroupAsModel", "searchFn", "trackByFn", "clearOnBackspace", "labelForId", "inputAttrs", "readonly", "searchWhileComposing", "minTermLength", "editableSearchTerm", "keyDownFn", "multiple", "addTag", "searchable", "clearable", "isOpen", "items", "compareWith", "clearSearchOnAdd", "bindLabel", "placeholder", "notFoundText", "typeToSearchText", "addTagText", "loadingText", "clearAllText", "virtualScroll", "openOnEnter", "appendTo", "bindValue", "appearance", "maxSelectedItems", "groupBy", "groupValue", "tabIndex", "typeahead"], outputs: ["blur", "focus", "change", "open", "close", "search", "clear", "add", "remove", "scroll", "scrollToEnd"] }], directives: [{ type: i2__namespace$6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2__namespace$6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2__namespace$6.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i2__namespace$6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace$6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "async": i4__namespace$1.AsyncPipe, "translate": i1__namespace.TranslatePipe } });
20789
+ AddToCollectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AddToCollectionComponent, selector: "app-add-to-collection", inputs: { createOperation: "createOperation", addOperation: "addOperation", getCollectionPP: "getCollectionPP", memberInCollections: "memberInCollections", enableMemberInCollections: "enableMemberInCollections", visible: "visible", rtlEnabled: "rtlEnabled", selectedItems: "selectedItems" }, outputs: { visibleChange: "visibleChange" }, viewQueries: [{ propertyName: "form", first: true, predicate: i4$4.DxFormComponent, descendants: true }, { propertyName: "contentTemplate", first: true, predicate: ["contentTemplate"], descendants: true }, { propertyName: "actionsTemplate", first: true, predicate: ["actionsTemplate"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #contentTemplate>\r\n\t<form>\r\n\t\t<dx-form class=\"collection-form-wrapper\" #createForm [formData]=\"formData\" [disabled]=\"loading\">\r\n\t\t\t<dxi-item editorType=\"dxTextBox\">\r\n\t\t\t\t<ng-select\r\n\t\t\t\t\t[items]=\"items$ | async\"\r\n\t\t\t\t\tbindLabel=\"displayLabel\"\r\n\t\t\t\t\t[addTag]=\"true\"\r\n\t\t\t\t\taddTagText=\"Add collection\"\r\n\t\t\t\t\t[multiple]=\"false\"\r\n\t\t\t\t\t[hideSelected]=\"true\"\r\n\t\t\t\t\t[minTermLength]=\"0\"\r\n\t\t\t\t\t[loading]=\"tagsLoading\"\r\n\t\t\t\t\ttypeToSearchText=\"search\"\r\n\t\t\t\t\t[typeahead]=\"tagsInput$\"\r\n\t\t\t\t\t[(ngModel)]=\"selectedTags\"\r\n\t\t\t\t\trequired\r\n\t\t\t\t\tplaceholder=\"{{ 'VOCABULARY.SELECT_ITEM' | translate }}\"\r\n\t\t\t\t\tname=\"selectedItem\"\r\n\t\t\t\t\t(change)=\"emitSelection($event)\"\r\n\t\t\t\t>\r\n\t\t\t\t</ng-select>\r\n\t\t\t</dxi-item>\r\n\t\t</dx-form>\r\n\t</form>\r\n</ng-template>\r\n\r\n<ng-template #actionsTemplate let-dialog=\"dialog\">\r\n\t<span class=\"submission-button px-5\" (click)=\"dialog.executeAction(onFormCollectionSubmit, [$event])\">\r\n\t\t{{ 'FILE_MANAGER.ADD' | translate }}\r\n\t</span>\r\n</ng-template>\r\n", styles: [""], components: [{ type: i4__namespace$4.DxFormComponent, selector: "dx-form", inputs: ["accessKey", "activeStateEnabled", "alignItemLabels", "alignItemLabelsInAllGroups", "colCount", "colCountByScreen", "customizeItem", "disabled", "elementAttr", "focusStateEnabled", "formData", "height", "hint", "hoverStateEnabled", "items", "labelLocation", "labelMode", "minColWidth", "optionalMark", "readOnly", "requiredMark", "requiredMessage", "rtlEnabled", "screenByWidth", "scrollingEnabled", "showColonAfterLabel", "showOptionalMark", "showRequiredMark", "showValidationSummary", "tabIndex", "validationGroup", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onEditorEnterKey", "onFieldDataChanged", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "alignItemLabelsChange", "alignItemLabelsInAllGroupsChange", "colCountChange", "colCountByScreenChange", "customizeItemChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "formDataChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemsChange", "labelLocationChange", "labelModeChange", "minColWidthChange", "optionalMarkChange", "readOnlyChange", "requiredMarkChange", "requiredMessageChange", "rtlEnabledChange", "screenByWidthChange", "scrollingEnabledChange", "showColonAfterLabelChange", "showOptionalMarkChange", "showRequiredMarkChange", "showValidationSummaryChange", "tabIndexChange", "validationGroupChange", "visibleChange", "widthChange"] }, { type: i5__namespace$2.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "linkAttr", "url", "heightRatio", "widthRatio", "expanded", "hasItems", "id", "parentId"] }, { type: i3__namespace$3.NgSelectComponent, selector: "ng-select", inputs: ["markFirst", "dropdownPosition", "loading", "closeOnSelect", "hideSelected", "selectOnTab", "bufferAmount", "selectableGroup", "selectableGroupAsModel", "searchFn", "trackByFn", "clearOnBackspace", "labelForId", "inputAttrs", "readonly", "searchWhileComposing", "minTermLength", "editableSearchTerm", "keyDownFn", "multiple", "addTag", "searchable", "clearable", "isOpen", "items", "compareWith", "clearSearchOnAdd", "bindLabel", "placeholder", "notFoundText", "typeToSearchText", "addTagText", "loadingText", "clearAllText", "virtualScroll", "openOnEnter", "appendTo", "bindValue", "appearance", "maxSelectedItems", "groupBy", "groupValue", "tabIndex", "typeahead"], outputs: ["blur", "focus", "change", "open", "close", "search", "clear", "add", "remove", "scroll", "scrollToEnd"] }], directives: [{ type: i2__namespace$6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2__namespace$6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2__namespace$6.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i2__namespace$6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace$6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "async": i4__namespace$1.AsyncPipe, "translate": i1__namespace.TranslatePipe } });
20788
20790
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AddToCollectionComponent, decorators: [{
20789
20791
  type: i0.Component,
20790
20792
  args: [{
@@ -20801,6 +20803,16 @@
20801
20803
  }], actionsTemplate: [{
20802
20804
  type: i0.ViewChild,
20803
20805
  args: ['actionsTemplate']
20806
+ }], createOperation: [{
20807
+ type: i0.Input
20808
+ }], addOperation: [{
20809
+ type: i0.Input
20810
+ }], getCollectionPP: [{
20811
+ type: i0.Input
20812
+ }], memberInCollections: [{
20813
+ type: i0.Input
20814
+ }], enableMemberInCollections: [{
20815
+ type: i0.Input
20804
20816
  }], visible: [{
20805
20817
  type: i0.Input
20806
20818
  }], visibleChange: [{
@@ -27091,8 +27103,7 @@
27091
27103
  }
27092
27104
  };
27093
27105
  this.refresh = function () {
27094
- if (_this.myPageConfiguration.fileMangerObjectName ===
27095
- 'externalshareFileMangerObj') {
27106
+ if (_this.myPageConfiguration.fileMangerObjectName === 'externalshareFileMangerObj') {
27096
27107
  _this.fileManagerService.customEvent.emit('refresh');
27097
27108
  }
27098
27109
  else {
@@ -27184,8 +27195,7 @@
27184
27195
  ? (successMessage = 'unsubscribe_To_Item_success')
27185
27196
  : (successMessage = 'subscribe_To_Item_success');
27186
27197
  _this.customToastrService.show('success', 'TOASTER.SUCCESS', "TOASTER." + successMessage);
27187
- _this.selectedItem.isUserSubscriberToFile =
27188
- !_this.selectedItem.isUserSubscriberToFile;
27198
+ _this.selectedItem.isUserSubscriberToFile = !_this.selectedItem.isUserSubscriberToFile;
27189
27199
  _this.multiSelectedkeys = [''];
27190
27200
  }
27191
27201
  }, function (err) {
@@ -27222,10 +27232,7 @@
27222
27232
  });
27223
27233
  });
27224
27234
  newSelectedWithArrPrefix_1.map(function (item, index) {
27225
- _this.newSelectedWithIdPrefix +=
27226
- index == newSelectedWithArrPrefix_1.length - 1
27227
- ? item.id
27228
- : item.id + ',';
27235
+ _this.newSelectedWithIdPrefix += index == newSelectedWithArrPrefix_1.length - 1 ? item.id : item.id + ',';
27229
27236
  item.type == 'Folder' ? (myType = 'Folder') : null;
27230
27237
  });
27231
27238
  }
@@ -27235,23 +27242,15 @@
27235
27242
  height: '400px',
27236
27243
  panelClass: 'watcher-dialog-container',
27237
27244
  data: {
27238
- id: _this.multipleItems.length > 1
27239
- ? _this.newSelectedWithIdPrefix
27240
- : _this.selectedItem.id,
27241
- PublishType: _this.multipleItems.length > 1
27242
- ? myType
27243
- : _this.selectedItem.isDirectory
27244
- ? 'Folder'
27245
- : 'File'
27245
+ id: _this.multipleItems.length > 1 ? _this.newSelectedWithIdPrefix : _this.selectedItem.id,
27246
+ PublishType: _this.multipleItems.length > 1 ? myType : _this.selectedItem.isDirectory ? 'Folder' : 'File'
27246
27247
  }
27247
27248
  });
27248
27249
  };
27249
27250
  this.addToClipboard = function () {
27250
27251
  var selectedItemsIds = _this.selectedItems.split(',');
27251
27252
  var directory = _this.getCurrentDirectory();
27252
- var id = directory.dataItem === undefined
27253
- ? _this.mainFolder
27254
- : _this.getCurrentFolderId(directory);
27253
+ var id = directory.dataItem === undefined ? _this.mainFolder : _this.getCurrentFolderId(directory);
27255
27254
  if (selectedItemsIds.length === 1 &&
27256
27255
  _this.clipboardItems.length > 0 &&
27257
27256
  _this.clipboardItems.indexOf(selectedItemsIds[0]) > -1) {
@@ -27304,8 +27303,7 @@
27304
27303
  this.nuxeoService = this.injectorObj.get(NuxeoService);
27305
27304
  this.nuxeoDialogService = this.injectorObj.get(NuxeoDialogService);
27306
27305
  this.multiSelectedkeys = [''];
27307
- this.myPageConfiguration =
27308
- this.appConfService.myConfiguration.fileManger[this.myPageConfName];
27306
+ this.myPageConfiguration = this.appConfService.myConfiguration.fileManger[this.myPageConfName];
27309
27307
  this.subscriptions.concat([
27310
27308
  this.router.events.subscribe(function (event) {
27311
27309
  if (event.navigationTrigger === 'popstate') {
@@ -27347,9 +27345,7 @@
27347
27345
  this.subscriptions.concat([
27348
27346
  this.translationService.isArabic.subscribe(function (res) {
27349
27347
  _this.isArabic = res;
27350
- _this.isArabic
27351
- ? (_this.menuDirection = 'before')
27352
- : (_this.menuDirection = 'after');
27348
+ _this.isArabic ? (_this.menuDirection = 'before') : (_this.menuDirection = 'after');
27353
27349
  })
27354
27350
  ]);
27355
27351
  if (this.userPreferenceService) {
@@ -27397,18 +27393,14 @@
27397
27393
  };
27398
27394
  FileManagerAbstract.prototype.ngAfterViewChecked = function () {
27399
27395
  var _this = this;
27400
- this.fileManager.instance._filesTreeView._filesTreeView._dataAdapter.options.onNodeChanged =
27401
- function (node) {
27402
- var _a;
27403
- if (!(node === null || node === void 0 ? void 0 : node.itemsLoaded)) {
27404
- _this.reinitializeFolderTree((_a = node === null || node === void 0 ? void 0 : node.fileItem.dataItem) === null || _a === void 0 ? void 0 : _a.id, node.fileItem, node);
27405
- }
27406
- };
27407
- this.fileManager.instance._breadcrumbs._currentDirectory.fileItem
27408
- .path === ''
27409
- ? document
27410
- .getElementsByClassName('dx-menu-item-content')[0]
27411
- .classList.add('custom')
27396
+ this.fileManager.instance._filesTreeView._filesTreeView._dataAdapter.options.onNodeChanged = function (node) {
27397
+ var _a;
27398
+ if (!(node === null || node === void 0 ? void 0 : node.itemsLoaded)) {
27399
+ _this.reinitializeFolderTree((_a = node === null || node === void 0 ? void 0 : node.fileItem.dataItem) === null || _a === void 0 ? void 0 : _a.id, node.fileItem, node);
27400
+ }
27401
+ };
27402
+ this.fileManager.instance._breadcrumbs._currentDirectory.fileItem.path === ''
27403
+ ? document.getElementsByClassName('dx-menu-item-content')[0].classList.add('custom')
27412
27404
  : '';
27413
27405
  };
27414
27406
  FileManagerAbstract.prototype.init = function (id, breadcrumbs, currentFolder) {
@@ -27423,9 +27415,7 @@
27423
27415
  var _a, _b, _c;
27424
27416
  var toSubstr;
27425
27417
  if (_this.mainFolder === 'sharedDocumentsRoot') {
27426
- toSubstr = _this.fileManagerService.sharedFiles.entries.filter(function (item) { return _this.path.includes(item.contextParameters.breadcrumb.entries
27427
- .map(function (item) { return item.title; })
27428
- .join('/')); });
27418
+ toSubstr = _this.fileManagerService.sharedFiles.entries.filter(function (item) { return _this.path.includes(item.contextParameters.breadcrumb.entries.map(function (item) { return item.title; }).join('/')); });
27429
27419
  var pathSplit = (_a = toSubstr[0]) === null || _a === void 0 ? void 0 : _a.contextParameters.breadcrumb.entries.map(function (item) { return item.title; });
27430
27420
  _this.currentPath = pathSplit[pathSplit.length - 1];
27431
27421
  }
@@ -27437,14 +27427,11 @@
27437
27427
  else {
27438
27428
  // if not static root then there is multiple objects in storag
27439
27429
  // if user was admin then use the full path
27440
- if (_this.nuxeoService.nuxeoClient.user.isAdministrator ||
27441
- _this.myPageConfiguration.useFullPath) {
27430
+ if (_this.nuxeoService.nuxeoClient.user.isAdministrator || _this.myPageConfiguration.useFullPath) {
27442
27431
  _this.currentPath = _this.path;
27443
27432
  }
27444
27433
  else {
27445
- toSubstr = _this.fileManagerObj.entries.filter(function (item) { return _this.path.includes(item.contextParameters.breadcrumb.entries
27446
- .map(function (item) { return item.title; })
27447
- .join('/')); });
27434
+ toSubstr = _this.fileManagerObj.entries.filter(function (item) { var _a, _b, _c, _d; return _this.path.includes((_d = (_c = (_b = (_a = item.contextParameters) === null || _a === void 0 ? void 0 : _a.breadcrumb) === null || _b === void 0 ? void 0 : _b.entries) === null || _c === void 0 ? void 0 : _c.map(function (item) { return item.title; })) === null || _d === void 0 ? void 0 : _d.join('/')); });
27448
27435
  var pathSplit = (_b = toSubstr[0]) === null || _b === void 0 ? void 0 : _b.contextParameters.breadcrumb.entries.map(function (item) { return item.title; });
27449
27436
  var x = pathSplit ? (_c = pathSplit[0]) === null || _c === void 0 ? void 0 : _c.length : 0;
27450
27437
  _this.currentPath = _this.path.substr(x);
@@ -27453,20 +27440,14 @@
27453
27440
  }
27454
27441
  _this.fileItems = d;
27455
27442
  var directory = _this.getCurrentDirectory();
27456
- _this.currentFolder =
27457
- directory.dataItem === undefined
27458
- ? _this.canCreate
27459
- : directory.dataItem.canCreate;
27443
+ _this.currentFolder = directory.dataItem === undefined ? _this.canCreate : directory.dataItem.canCreate;
27460
27444
  });
27461
27445
  }
27462
27446
  else {
27463
27447
  this.getFolderChildren(id, payload).subscribe(function (data) {
27464
27448
  _this.fileItems = data;
27465
27449
  var directory = _this.getCurrentDirectory();
27466
- _this.currentFolder =
27467
- directory.dataItem === undefined
27468
- ? _this.canCreate
27469
- : directory.dataItem.canCreate;
27450
+ _this.currentFolder = directory.dataItem === undefined ? _this.canCreate : directory.dataItem.canCreate;
27470
27451
  // this is required to redraw the tree to make it show up to solve issue with the tree not showing in the first time load
27471
27452
  setTimeout(function () {
27472
27453
  _this.fileItems = __spreadArray([], __read(data));
@@ -27543,13 +27524,9 @@
27543
27524
  };
27544
27525
  if (!(directory.dataItem === undefined)) return [3 /*break*/, 1];
27545
27526
  __classPrivateFieldGet(this, _FileManagerAbstract_instances, "m", _FileManagerAbstract_resetPagination).call(this, this.mainFolder);
27546
- this.fileManagerService
27547
- .refreshData(this.mainFolder, payload)
27548
- .subscribe(function (result) {
27527
+ this.fileManagerService.refreshData(this.mainFolder, payload).subscribe(function (result) {
27549
27528
  __classPrivateFieldGet(_this, _FileManagerAbstract_instances, "m", _FileManagerAbstract_initPagination).call(_this, _this.mainFolder, result);
27550
- var data = payload && FileManagerPaginationConfig.Enable
27551
- ? result.data
27552
- : result;
27529
+ var data = payload && FileManagerPaginationConfig.Enable ? result.data : result;
27553
27530
  _this.showNoDataImage(data);
27554
27531
  _this.fileItems = data;
27555
27532
  _this.clicked = false;
@@ -27563,9 +27540,7 @@
27563
27540
  .pipe(operators.map(function (result) {
27564
27541
  __classPrivateFieldGet(_this, _FileManagerAbstract_instances, "m", _FileManagerAbstract_initPagination).call(_this, id, result);
27565
27542
  _this.startLoading({ directory: directory });
27566
- var data = payload && FileManagerPaginationConfig.Enable
27567
- ? result.data
27568
- : result;
27543
+ var data = payload && FileManagerPaginationConfig.Enable ? result.data : result;
27569
27544
  _this.showNoDataImage(data);
27570
27545
  _this.clicked = false;
27571
27546
  return data;
@@ -27588,12 +27563,10 @@
27588
27563
  var _a, _b;
27589
27564
  if (this.itemListView) {
27590
27565
  if ((data === null || data === void 0 ? void 0 : data.length) === 0) {
27591
- (_a = document
27592
- .getElementsByClassName('dx-filemanager-thumbnails-view-port')[0]) === null || _a === void 0 ? void 0 : _a.classList.add('empty-collection');
27566
+ (_a = document.getElementsByClassName('dx-filemanager-thumbnails-view-port')[0]) === null || _a === void 0 ? void 0 : _a.classList.add('empty-collection');
27593
27567
  }
27594
27568
  else {
27595
- (_b = document
27596
- .getElementsByClassName('dx-filemanager-thumbnails-view-port')[0]) === null || _b === void 0 ? void 0 : _b.classList.remove('empty-collection');
27569
+ (_b = document.getElementsByClassName('dx-filemanager-thumbnails-view-port')[0]) === null || _b === void 0 ? void 0 : _b.classList.remove('empty-collection');
27597
27570
  }
27598
27571
  }
27599
27572
  else {
@@ -27623,9 +27596,7 @@
27623
27596
  this.path = res.path;
27624
27597
  }
27625
27598
  else {
27626
- this.path = res.contextParameters.breadcrumb.entries
27627
- .map(function (item) { return item.title; })
27628
- .join('/');
27599
+ this.path = res.contextParameters.breadcrumb.entries.map(function (item) { return item.title; }).join('/');
27629
27600
  }
27630
27601
  if (this.route.snapshot.queryParams['fromSharedDocument']) {
27631
27602
  res.contextParameters.breadcrumb.entries = __spreadArray([
@@ -27666,17 +27637,14 @@
27666
27637
  });
27667
27638
  };
27668
27639
  FileManagerAbstract.prototype.getSelectedItem = function (directory) {
27669
- var selectedItem = (directory === null || directory === void 0 ? void 0 : directory.dataItem) && directory.dataItem.id
27670
- ? directory.dataItem.id
27671
- : this.mainFolder;
27640
+ var selectedItem = (directory === null || directory === void 0 ? void 0 : directory.dataItem) && directory.dataItem.id ? directory.dataItem.id : this.mainFolder;
27672
27641
  return selectedItem;
27673
27642
  };
27674
27643
  FileManagerAbstract.prototype.contextItemsParser = function (items) {
27675
27644
  if (items === void 0) { items = []; }
27676
27645
  return items.map(function (item) {
27677
27646
  var parsed = Object.assign({}, item);
27678
- if (parsed.visibleEvaluator &&
27679
- typeof parsed.visibleEvaluator == 'function') {
27647
+ if (parsed.visibleEvaluator && typeof parsed.visibleEvaluator == 'function') {
27680
27648
  parsed.visible = parsed.visibleEvaluator();
27681
27649
  }
27682
27650
  return parsed;
@@ -27696,9 +27664,7 @@
27696
27664
  if (selectedItem.some(function (q) { var _a; return !((_a = q === null || q === void 0 ? void 0 : q.dataItem) === null || _a === void 0 ? void 0 : _a.isReady); }))
27697
27665
  return;
27698
27666
  this.itemsSelected =
27699
- (e === null || e === void 0 ? void 0 : e.selectedItems.length) > 1
27700
- ? (e === null || e === void 0 ? void 0 : e.selectedItems.length) + " items"
27701
- : (_a = e === null || e === void 0 ? void 0 : e.selectedItems[0]) === null || _a === void 0 ? void 0 : _a.dataItem.name;
27667
+ (e === null || e === void 0 ? void 0 : e.selectedItems.length) > 1 ? (e === null || e === void 0 ? void 0 : e.selectedItems.length) + " items" : (_a = e === null || e === void 0 ? void 0 : e.selectedItems[0]) === null || _a === void 0 ? void 0 : _a.dataItem.name;
27702
27668
  this.isItemSelected = (e === null || e === void 0 ? void 0 : e.selectedItems.length) > 0 ? true : false;
27703
27669
  this.selectedItemLength = selectedItem.length > 1 ? false : true;
27704
27670
  if ((_b = e === null || e === void 0 ? void 0 : e.selectedItems[0]) === null || _b === void 0 ? void 0 : _b.dataItem) {
@@ -27733,9 +27699,7 @@
27733
27699
  text: this.isArabic ? 'مجلد جديد' : 'New Directory',
27734
27700
  action: this.createFolder,
27735
27701
  visibleEvaluator: function () {
27736
- return (_this.selectedItem.isDirectory &&
27737
- _this.selectedItemLength &&
27738
- _this.selectedItem.canCreate);
27702
+ return _this.selectedItem.isDirectory && _this.selectedItemLength && _this.selectedItem.canCreate;
27739
27703
  }
27740
27704
  }
27741
27705
  ]);
@@ -27757,10 +27721,7 @@
27757
27721
  var itemData = _q.itemData, viewArea = _q.viewArea, fileSystemItem = _q.fileSystemItem;
27758
27722
  var _a;
27759
27723
  var selectedItem = this.fileManager.instance.getSelectedItems();
27760
- this.itemToDisplay =
27761
- viewArea === 'navPane'
27762
- ? fileSystemItem.dataItem
27763
- : (_a = selectedItem[0]) === null || _a === void 0 ? void 0 : _a.dataItem;
27724
+ this.itemToDisplay = viewArea === 'navPane' ? fileSystemItem.dataItem : (_a = selectedItem[0]) === null || _a === void 0 ? void 0 : _a.dataItem;
27764
27725
  var directory = this.getCurrentDirectory();
27765
27726
  var id = this.getCurrentFolderId(directory);
27766
27727
  itemData.action();
@@ -27777,9 +27738,7 @@
27777
27738
  };
27778
27739
  FileManagerAbstract.prototype.getCurrentFolderId = function (directory) {
27779
27740
  var _a, _b;
27780
- var id = directory.dataItem === undefined
27781
- ? (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.id
27782
- : (_b = directory.dataItem) === null || _b === void 0 ? void 0 : _b.id;
27741
+ var id = directory.dataItem === undefined ? (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.id : (_b = directory.dataItem) === null || _b === void 0 ? void 0 : _b.id;
27783
27742
  return id;
27784
27743
  };
27785
27744
  // ------------------------------------------------------------
@@ -27801,18 +27760,14 @@
27801
27760
  this.selectedFolderPath = (_b = (_a = e.directory.dataItem) === null || _a === void 0 ? void 0 : _a.entity) === null || _b === void 0 ? void 0 : _b.path;
27802
27761
  if (((_c = e.directory.dataItem) === null || _c === void 0 ? void 0 : _c.id) === undefined) {
27803
27762
  if (this.mainFolder === 'sharedDocumentsRoot') {
27804
- this.fileManagerService
27805
- .getChildrenForSharedDocumentRoot(this.mainFolder)
27806
- .subscribe(function (data) {
27763
+ this.fileManagerService.getChildrenForSharedDocumentRoot(this.mainFolder).subscribe(function (data) {
27807
27764
  _this.showNoDataImage(data);
27808
27765
  _this.fileItems = data;
27809
27766
  return _this.fileItems;
27810
27767
  });
27811
27768
  }
27812
27769
  else {
27813
- this.fileManagerService
27814
- .refreshData(this.mainFolder)
27815
- .subscribe(function (data) {
27770
+ this.fileManagerService.refreshData(this.mainFolder).subscribe(function (data) {
27816
27771
  _this.showNoDataImage(data);
27817
27772
  _this.fileItems = data;
27818
27773
  return _this.fileItems;
@@ -27842,9 +27797,7 @@
27842
27797
  }
27843
27798
  this.itemListView = e.component._itemView._itemList;
27844
27799
  if (this.itemListView) {
27845
- document
27846
- .getElementsByClassName('dx-filemanager-thumbnails-view-port')[0]
27847
- .classList.remove('empty-collection');
27800
+ document.getElementsByClassName('dx-filemanager-thumbnails-view-port')[0].classList.remove('empty-collection');
27848
27801
  }
27849
27802
  else {
27850
27803
  loadPanelElement = document.getElementsByClassName('dx-loadpanel-content')[0];
@@ -27855,19 +27808,15 @@
27855
27808
  }
27856
27809
  }
27857
27810
  elem = ((_j = e === null || e === void 0 ? void 0 : e.directory) === null || _j === void 0 ? void 0 : _j.path) === ''
27858
- ? document
27859
- .getElementsByClassName('dx-menu-item-content')[0]
27860
- .classList.add('custom')
27811
+ ? document.getElementsByClassName('dx-menu-item-content')[0].classList.add('custom')
27861
27812
  : '';
27862
27813
  id = (_l = (_k = e === null || e === void 0 ? void 0 : e.directory) === null || _k === void 0 ? void 0 : _k.dataItem) === null || _l === void 0 ? void 0 : _l.id;
27863
- this.fileManagerService.selectedFolderId =
27864
- (e === null || e === void 0 ? void 0 : e.directory) && ((_m = e === null || e === void 0 ? void 0 : e.directory) === null || _m === void 0 ? void 0 : _m.dataItem) ? id : this.mainFolder;
27814
+ this.fileManagerService.selectedFolderId = (e === null || e === void 0 ? void 0 : e.directory) && ((_m = e === null || e === void 0 ? void 0 : e.directory) === null || _m === void 0 ? void 0 : _m.dataItem) ? id : this.mainFolder;
27865
27815
  queryParams = {
27866
27816
  id: (e === null || e === void 0 ? void 0 : e.directory) && ((_o = e === null || e === void 0 ? void 0 : e.directory) === null || _o === void 0 ? void 0 : _o.dataItem) ? id : this.mainFolder
27867
27817
  };
27868
27818
  _.each(this.fileManager.instance._filesTreeView._filesTreeView._dataAdapter.getExpandedNodesKeys(), function (key) {
27869
- if (key.includes(e.directory.path) &&
27870
- key.replace('FIK_', '') !== e.directory.path) {
27819
+ if (key.includes(e.directory.path) && key.replace('FIK_', '') !== e.directory.path) {
27871
27820
  _this.fileManager.instance._filesTreeView._filesTreeView._toggleExpandedState(key, false);
27872
27821
  }
27873
27822
  });
@@ -27892,9 +27841,7 @@
27892
27841
  currentPageIndex: 0
27893
27842
  };
27894
27843
  if (!!e.directory.dataItem.isReady) return [3 /*break*/, 2];
27895
- return [4 /*yield*/, this.fileManagerService
27896
- .getMapedFolder(id)
27897
- .toPromise()];
27844
+ return [4 /*yield*/, this.fileManagerService.getMapedFolder(id).toPromise()];
27898
27845
  case 1:
27899
27846
  newDataItem = _r.sent();
27900
27847
  _.assign(e.directory.dataItem, newDataItem);
@@ -27918,17 +27865,12 @@
27918
27865
  }
27919
27866
  catch (e) { }
27920
27867
  if (!this.itemListView) {
27921
- document
27922
- .getElementsByClassName('dx-loadpanel-content')[0]
27923
- .classList.remove('hide-loadpanel');
27868
+ document.getElementsByClassName('dx-loadpanel-content')[0].classList.remove('hide-loadpanel');
27924
27869
  }
27925
27870
  _r.label = 4;
27926
27871
  case 4:
27927
27872
  directory = this.getCurrentDirectory();
27928
- this.currentFolder =
27929
- directory.dataItem === undefined
27930
- ? this.canCreate
27931
- : directory.dataItem.canCreate;
27873
+ this.currentFolder = directory.dataItem === undefined ? this.canCreate : directory.dataItem.canCreate;
27932
27874
  return [2 /*return*/];
27933
27875
  }
27934
27876
  });
@@ -27952,15 +27894,11 @@
27952
27894
  dialogRef.afterClosed().subscribe(function (res) {
27953
27895
  if (res) {
27954
27896
  if (_this.dialogMangmentService.creationMode === 'upload') {
27955
- _this.dialogMangmentService.openMinimzedModalV2(CreateModalComponent, '70%', '85%', !_this.myPageConfiguration.isStaticRoot
27956
- ? _this.selectedFolderPath
27957
- : '' // send path in case of file list or other page with none static root and not send it in case of my files or any other page with static root
27897
+ _this.dialogMangmentService.openMinimzedModalV2(CreateModalComponent, '70%', '85%', !_this.myPageConfiguration.isStaticRoot ? _this.selectedFolderPath : '' // send path in case of file list or other page with none static root and not send it in case of my files or any other page with static root
27958
27898
  );
27959
27899
  }
27960
27900
  else if (_this.dialogMangmentService.creationMode === 'scan') {
27961
- _this.dialogMangmentService.openMinimzedModalV2(ScanModalComponent, '90%', '90%', !_this.myPageConfiguration.isStaticRoot
27962
- ? _this.selectedFolderPath
27963
- : '' // send path in case of file list or other page with none static root and not send it in case of my files or any other page with static root
27901
+ _this.dialogMangmentService.openMinimzedModalV2(ScanModalComponent, '90%', '90%', !_this.myPageConfiguration.isStaticRoot ? _this.selectedFolderPath : '' // send path in case of file list or other page with none static root and not send it in case of my files or any other page with static root
27964
27902
  );
27965
27903
  }
27966
27904
  }
@@ -28035,15 +27973,11 @@
28035
27973
  dialogRef.afterClosed().subscribe(function (res) {
28036
27974
  if (res) {
28037
27975
  if (_this.dialogMangmentService.creationMode === 'upload') {
28038
- _this.dialogMangmentService.openMinimzedModalV2(CreateModalComponent, '70%', '85%', !_this.myPageConfiguration.isStaticRoot
28039
- ? _this.selectedFolderPath
28040
- : '' // send path in case of file list or other page with none static root and not send it in case of my files or any other page with static root
27976
+ _this.dialogMangmentService.openMinimzedModalV2(CreateModalComponent, '70%', '85%', !_this.myPageConfiguration.isStaticRoot ? _this.selectedFolderPath : '' // send path in case of file list or other page with none static root and not send it in case of my files or any other page with static root
28041
27977
  );
28042
27978
  }
28043
27979
  else if (_this.dialogMangmentService.creationMode === 'scan') {
28044
- _this.dialogMangmentService.openMinimzedModalV2(ScanModalComponent, '90%', '90%', !_this.myPageConfiguration.isStaticRoot
28045
- ? _this.selectedFolderPath
28046
- : '' // send path in case of file list or other page with none static root and not send it in case of my files or any other page with static root
27980
+ _this.dialogMangmentService.openMinimzedModalV2(ScanModalComponent, '90%', '90%', !_this.myPageConfiguration.isStaticRoot ? _this.selectedFolderPath : '' // send path in case of file list or other page with none static root and not send it in case of my files or any other page with static root
28047
27981
  );
28048
27982
  }
28049
27983
  }
@@ -28080,12 +28014,7 @@
28080
28014
  };
28081
28015
  //--------------------------------- may be unused funtions -------------------
28082
28016
  FileManagerAbstract.prototype.checkForClass = function (className) {
28083
- var classes = [
28084
- 'detailed-menu',
28085
- 'ng-tag-label',
28086
- 'ng-option-label',
28087
- 'ng-star-inserted'
28088
- ];
28017
+ var classes = ['detailed-menu', 'ng-tag-label', 'ng-option-label', 'ng-star-inserted'];
28089
28018
  var classFounded = false;
28090
28019
  classes.map(function (item) {
28091
28020
  if (className.includes(item)) {
@@ -28194,10 +28123,8 @@
28194
28123
  };
28195
28124
  }, _FileManagerAbstract_getNode = function _FileManagerAbstract_getNode(id) {
28196
28125
  var fm = this.fileManager.instance;
28197
- var dataStructure = fm._filesTreeView._filesTreeView._dataAdapter
28198
- ._dataStructure;
28199
- var dataItem = dataStructure.find(function (q) { var _a, _b; return ((_b = (_a = q.fileItem) === null || _a === void 0 ? void 0 : _a.dataItem) === null || _b === void 0 ? void 0 : _b.id) == id; }) ||
28200
- dataStructure[0];
28126
+ var dataStructure = fm._filesTreeView._filesTreeView._dataAdapter._dataStructure;
28127
+ var dataItem = dataStructure.find(function (q) { var _a, _b; return ((_b = (_a = q.fileItem) === null || _a === void 0 ? void 0 : _a.dataItem) === null || _b === void 0 ? void 0 : _b.id) == id; }) || dataStructure[0];
28201
28128
  return fm._filesTreeView._filesTreeView._getNode(dataItem.internalFields.key);
28202
28129
  }, _FileManagerAbstract_addOrReplace = function _FileManagerAbstract_addOrReplace(data, items) {
28203
28130
  var itemMap = _.keyBy(data, 'id');
@@ -30869,11 +30796,7 @@
30869
30796
  }());
30870
30797
  NuxeoCoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NuxeoCoreModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
30871
30798
  NuxeoCoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NuxeoCoreModule, imports: [i4.CommonModule, i1__namespace$6.TreeviewModule, i1.HttpClientModule, i1__namespace.TranslateModule, i1__namespace$1.ToastrModule, i2$1.KeycloakAngularModule,
30872
- reactiveFormValidators.RxReactiveFormsModule], exports: [i2$1.KeycloakAngularModule,
30873
- i1$1.TranslateModule,
30874
- i1$6.TreeviewModule,
30875
- i1$2.ToastrModule,
30876
- reactiveFormValidators.RxReactiveFormsModule] });
30799
+ reactiveFormValidators.RxReactiveFormsModule], exports: [i2$1.KeycloakAngularModule, i1$1.TranslateModule, i1$6.TreeviewModule, i1$2.ToastrModule, reactiveFormValidators.RxReactiveFormsModule] });
30877
30800
  NuxeoCoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NuxeoCoreModule, providers: [
30878
30801
  i1$1.TranslateStore,
30879
30802
  i1$1.TranslateService,
@@ -30902,11 +30825,7 @@
30902
30825
  }),
30903
30826
  i2$1.KeycloakAngularModule,
30904
30827
  reactiveFormValidators.RxReactiveFormsModule
30905
- ], i2$1.KeycloakAngularModule,
30906
- i1$1.TranslateModule,
30907
- i1$6.TreeviewModule,
30908
- i1$2.ToastrModule,
30909
- reactiveFormValidators.RxReactiveFormsModule] });
30828
+ ], i2$1.KeycloakAngularModule, i1$1.TranslateModule, i1$6.TreeviewModule, i1$2.ToastrModule, reactiveFormValidators.RxReactiveFormsModule] });
30910
30829
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NuxeoCoreModule, decorators: [{
30911
30830
  type: i0.NgModule,
30912
30831
  args: [{
@@ -30922,13 +30841,7 @@
30922
30841
  i2$1.KeycloakAngularModule,
30923
30842
  reactiveFormValidators.RxReactiveFormsModule
30924
30843
  ],
30925
- exports: [
30926
- i2$1.KeycloakAngularModule,
30927
- i1$1.TranslateModule,
30928
- i1$6.TreeviewModule,
30929
- i1$2.ToastrModule,
30930
- reactiveFormValidators.RxReactiveFormsModule
30931
- ],
30844
+ exports: [i2$1.KeycloakAngularModule, i1$1.TranslateModule, i1$6.TreeviewModule, i1$2.ToastrModule, reactiveFormValidators.RxReactiveFormsModule],
30932
30845
  providers: [
30933
30846
  i1$1.TranslateStore,
30934
30847
  i1$1.TranslateService,