mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-2302] upgrade to ADF 3.2.0 beta (#1049)
* upgrade to ADF 3.2.0 beta 2 * remove deprecated extension classes * fix some DL style issues * update class names * update cell classes * update viewer * fix test * update angular dependencies * cleanup login component * update tests * fix selector * fix document list cell selector * fix viewer extension test * upgrade to beta3 * fix some tests and disable tests until regression is fixed on ADF side * disable hyperlink e2e for now * upgrade to latest alpha * restore tests
This commit is contained in:
@@ -36,7 +36,6 @@ import {
|
||||
NavigationState,
|
||||
ExtensionConfig,
|
||||
RuleEvaluator,
|
||||
ViewerExtensionRef,
|
||||
ContentActionRef,
|
||||
ContentActionType,
|
||||
ExtensionLoaderService,
|
||||
@@ -48,19 +47,19 @@ import {
|
||||
ExtensionService,
|
||||
ProfileState,
|
||||
mergeObjects,
|
||||
ExtensionRef
|
||||
ExtensionRef,
|
||||
RuleContext,
|
||||
DocumentListPresetRef,
|
||||
IconRef
|
||||
} from '@alfresco/adf-extensions';
|
||||
import { AppConfigService, AuthenticationService } from '@alfresco/adf-core';
|
||||
import { DocumentListPresetRef } from './document-list.extensions';
|
||||
import { BehaviorSubject, Observable } from 'rxjs';
|
||||
import { IconRef } from './icon.extensions';
|
||||
import { AppRuleContext } from './app.interface';
|
||||
import { RepositoryInfo } from '@alfresco/js-api';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class AppExtensionService implements AppRuleContext {
|
||||
export class AppExtensionService implements RuleContext {
|
||||
private _references = new BehaviorSubject<ExtensionRef[]>([]);
|
||||
|
||||
defaults = {
|
||||
@@ -72,7 +71,6 @@ export class AppExtensionService implements AppRuleContext {
|
||||
toolbarActions: Array<ContentActionRef> = [];
|
||||
viewerToolbarActions: Array<ContentActionRef> = [];
|
||||
sharedLinkViewerToolbarActions: Array<ContentActionRef> = [];
|
||||
viewerContentExtensions: Array<ViewerExtensionRef> = [];
|
||||
contextMenuActions: Array<ContentActionRef> = [];
|
||||
openWithActions: Array<ContentActionRef> = [];
|
||||
createActions: Array<ContentActionRef> = [];
|
||||
@@ -154,10 +152,6 @@ export class AppExtensionService implements AppRuleContext {
|
||||
'features.viewer.shared.toolbarActions'
|
||||
);
|
||||
|
||||
this.viewerContentExtensions = this.loader
|
||||
.getElements<ViewerExtensionRef>(config, 'features.viewer.content')
|
||||
.filter(ref => !this.isViewerExtensionDisabled(ref));
|
||||
|
||||
this.contextMenuActions = this.loader.getContentActions(
|
||||
config,
|
||||
'features.contextMenu'
|
||||
|
Reference in New Issue
Block a user