How to use the @alfresco/adf-content-services.ContentNodeDialogService.nonDocumentSiteContent function in @alfresco/adf-content-services

To help you get started, we’ve selected a few @alfresco/adf-content-services examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Alfresco / alfresco-ng2-components / demo-shell / src / app / components / content-node-selector / content-node-selector.component.ts View on Github external
constructor(private thumbnailService: ThumbnailService) {
    }

    dropdownHideMyFiles = false;
    showFiles = false;
    showFolders = false;
    enableImageResolver = false;
    validSelection = false;

    customSideGuid = '';
    customSideTitle = '';
    actualPageSize = 2;

    rowFilterFunction: RowFilter = null;
    excludeSiteContentList: string[] = ContentNodeDialogService.nonDocumentSiteContent;
    customImageResolver: any = null;

    defaultSites: SiteEntry[] = [
        new SiteEntry({ entry: { title: 'MINE', guid: '-my-' } }),
        new SiteEntry({ entry: { title: 'ROOTY', guid: '-root-' } })];

    customSites: SitePaging = new SitePaging({
        list: {
            entries: [
                { entry: { title: 'MINE', guid: '-my-' } },
                { entry: { title: 'ROOTY', guid: '-root-' } }],
            pagination: {}
        }
    });

    onClickAddSite() {