@alfresco/aca-shared 4.2.0-6050748504 → 4.2.0-6050827185

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.
@@ -1288,8 +1288,8 @@ class AppExtensionService {
1288
1288
  this._createActions = new BehaviorSubject([]);
1289
1289
  this._mainActions = new BehaviorSubject(null);
1290
1290
  this._sidebarActions = new BehaviorSubject([]);
1291
+ this._filesDocumentListPreset = new BehaviorSubject([]);
1291
1292
  this.documentListPresets = {
1292
- files: [],
1293
1293
  libraries: [],
1294
1294
  favoriteLibraries: [],
1295
1295
  shared: [],
@@ -1298,6 +1298,7 @@ class AppExtensionService {
1298
1298
  trashcan: [],
1299
1299
  searchLibraries: []
1300
1300
  };
1301
+ this.filesDocumentListPreset$ = this._filesDocumentListPreset.asObservable();
1301
1302
  this.references$ = this._references.asObservable();
1302
1303
  this.store.select(getRuleContext).subscribe((result) => {
1303
1304
  this.selection = result.selection;
@@ -1328,12 +1329,12 @@ class AppExtensionService {
1328
1329
  this._openWithActions.next(this.loader.getContentActions(config, 'features.viewer.openWith'));
1329
1330
  this._createActions.next(this.loader.getElements(config, 'features.create'));
1330
1331
  this._mainActions.next(this.loader.getFeatures(config).mainAction);
1332
+ this._filesDocumentListPreset.next(this.getDocumentListPreset(config, 'files'));
1331
1333
  this.navbar = this.loadNavBar(config);
1332
1334
  this.sidebarTabs = this.loader.getElements(config, 'features.sidebar.tabs');
1333
1335
  this.contentMetadata = this.loadContentMetadata(config);
1334
1336
  this.search = this.loadSearchForms(config);
1335
1337
  this.documentListPresets = {
1336
- files: this.getDocumentListPreset(config, 'files'),
1337
1338
  libraries: this.getDocumentListPreset(config, 'libraries'),
1338
1339
  favoriteLibraries: this.getDocumentListPreset(config, 'favoriteLibraries'),
1339
1340
  shared: this.getDocumentListPreset(config, 'shared'),