blob: 89c6a943e874eb177adbb927ca4e6f2ed8b59dde [file] [log] [blame]
<!-------------------------------------------------------------------------------
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
-------------------------------------------------------------------------------->
<app-workflow-data-side-menu
(appSubmit)="submit($event)"
[appDisabled]="appFormGroup.disabled"
[appLoading]="isStatementLoading$ | async"
[appStatementId]="(task$ | async)?.statementId">
</app-workflow-data-side-menu>
<ng-container [formGroup]="appFormGroup">
<app-collapsible
[appCollapsed]="true"
[appTitle]="'workflowDataForm.container.general' | translate">
<div style="padding: 1em;"> Not yet implemented.</div>
</app-collapsible>
<app-collapsible
[appCollapsed]="true"
[appTitle]="'workflowDataForm.container.inboxAttachments' | translate">
<div style="padding: 1em;"> Not yet implemented.</div>
</app-collapsible>
<app-collapsible
[appCollapsed]="true"
[appTitle]="'workflowDataForm.container.geographicPosition' | translate">
<div style="padding: 1em;"> Not yet implemented.</div>
</app-collapsible>
<app-collapsible
[appTitle]="'workflowDataForm.container.departments' | translate">
<app-select-group
[appGroups]="departmentGroups$ | async"
[appOptions]="departmentOptions$ | async"
[formControlName]="'departments'"
[appIndeterminate]="true"
class="departments">
</app-select-group>
</app-collapsible>
<app-collapsible
[appCollapsed]="true"
[appTitle]="('workflowDataForm.container.linkedIssues' | translate) + ' (' + appFormGroup.value.parentIds?.length + ')'">
<app-statement-select
(appSearch)="search($event)"
[appIsLoading]="isStatementLoading$ | async"
[appSearchContent]="searchContent$ | async"
[appStatementTypeOptions]="statementTypes$ | async"
[formControlName]="'parentIds'"
class="parents">
</app-statement-select>
</app-collapsible>
<ng-content>
</ng-content>
</ng-container>