How to use the @alfresco/adf-process-services.AppsListComponent.LAYOUT_GRID function in @alfresco/adf-process-services

To help you get started, we’ve selected a few @alfresco/adf-process-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 / process-service / process-service.component.ts View on Github external
this.showTaskTab = this.activeTab === this.tabs.tasks;
        this.route.params.subscribe((params) => {
            const applicationId = params['appId'];

            this.filterSelected = params['filterId'] ? { id: +params['filterId'] } : { index: 0 };

            if (applicationId && applicationId !== '0') {
                this.appId = params['appId'];
            }

            this.taskFilter = null;
            this.currentTaskId = null;
            this.processFilter = null;
            this.currentProcessInstanceId = null;
        });
        this.layoutType = AppsListComponent.LAYOUT_GRID;
    }
github Alfresco / adf-examples / ADF_2.0.0 / upgrade-from-1-9-0 / app / components / activiti / activiti-demo.component.ts View on Github external
if (this.router.url.includes('processes')) {
            this.activeTab = this.tabs.processes;
        }
        this.sub = this.route.params.subscribe(params => {
            let applicationId = params['appId'];
            if (applicationId && applicationId !== '0') {
                this.appId = params['appId'];
            }

            this.taskFilter = null;
            this.currentTaskId = null;
            this.processFilter = null;
            this.currentProcessInstanceId = null;
        });
        this.layoutType = AppsListComponent.LAYOUT_GRID;

    }