[ACA-1591] Load extensions from multiple files (#521)

* rework extension service, separate file with config

* improve loading, optional entries

* simplify config and unify content actions

* load and merge multiple files

* improve plugin loading, introduce second demo

* move demo stuff to a plugin

* rework navbar to make it pluggable

* code and naming convention cleanup

* extension schema

* switch off custom navbar group by default

* hotfix for facetQueries issue

* consolidate files, final renames
This commit is contained in:
Denys Vuika
2018-07-19 20:54:39 +01:00
committed by GitHub
parent 43a71aa1c8
commit 8c9ffc1160
34 changed files with 1209 additions and 1048 deletions

View File

@@ -32,8 +32,8 @@ import { DeleteNodesAction, SetSelectedNodesAction } from '../../store/actions';
import { PageComponent } from '../page.component';
import { ContentApiService } from '../../services/content-api.service';
import { ExtensionService } from '../../extensions/extension.service';
import { OpenWithExtension } from '../../extensions/open-with.extension';
import { ContentManagementService } from '../../services/content-management.service';
import { ContentActionRef } from '../../extensions/action.extensions';
@Component({
selector: 'app-preview',
templateUrl: 'preview.component.html',
@@ -52,7 +52,7 @@ export class PreviewComponent extends PageComponent implements OnInit {
previousNodeId: string;
nextNodeId: string;
navigateMultiple = false;
openWith: Array<OpenWithExtension> = [];
openWith: Array<ContentActionRef> = [];
constructor(
private contentApi: ContentApiService,