diff --git a/src/lib/listing/listing-component.directive.ts b/src/lib/listing/listing-component.directive.ts index 3352b07..c35fac9 100644 --- a/src/lib/listing/listing-component.directive.ts +++ b/src/lib/listing/listing-component.directive.ts @@ -28,7 +28,6 @@ export abstract class ListingComponent, Prim abstract readonly tableHeaderLabel: string; @ViewChild('tableItemTemplate') readonly tableItemTemplate?: TemplateRef; - @ViewChild('workflowItemTemplate') readonly workflowItemTemplate?: TemplateRef; get allEntities(): Class[] { return this.entitiesService.all; diff --git a/src/lib/listing/workflow/workflow.component.html b/src/lib/listing/workflow/workflow.component.html index 9159965..fac4614 100644 --- a/src/lib/listing/workflow/workflow.component.html +++ b/src/lib/listing/workflow/workflow.component.html @@ -1,9 +1,9 @@ - - + + -
+
- + -
+
- +
{ + noData: boolean; + draggingEntities: T[]; updateConfigItems: unknown; setupResizeObserver: unknown; } @@ -36,7 +38,7 @@ interface WorkflowContext { styleUrls: ['./workflow.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) -export class WorkflowComponent extends ContextComponent implements OnInit { +export class WorkflowComponent extends ContextComponent> implements OnInit { @Input() config!: WorkflowConfig; @Input() itemClasses!: Record boolean>; @Input() addElementIcon!: string; @@ -95,6 +97,8 @@ export class WorkflowComponent extends Co this._setupResizeObserver(); super._initContext({ + noData: this.entitiesService.noData$, + draggingEntities: this.draggingEntities$, updateConfigItems: updateConfigItems$, setupResizeObserver: setupResizeObserver$, });