2021-02-04 11:22:52 +01:00
|
|
|
import { AbstractControl } from "@angular/forms";
|
|
|
|
|
2021-02-03 11:21:31 +01:00
|
|
|
export interface ToCEntry {
|
|
|
|
id: string;
|
|
|
|
label: string;
|
2021-02-12 12:23:39 +01:00
|
|
|
subEntriesType: ToCEntryType;
|
2021-02-03 11:21:31 +01:00
|
|
|
subEntries: ToCEntry[];
|
2021-02-04 09:33:03 +01:00
|
|
|
type: ToCEntryType;
|
2021-02-04 11:22:52 +01:00
|
|
|
form: AbstractControl;
|
|
|
|
numbering: string;
|
2021-02-03 11:21:31 +01:00
|
|
|
}
|
2021-02-04 09:33:03 +01:00
|
|
|
|
|
|
|
|
2021-02-04 11:22:52 +01:00
|
|
|
export enum ToCEntryType {
|
|
|
|
Page = 0,
|
|
|
|
Section = 1,
|
2021-02-12 12:23:39 +01:00
|
|
|
FieldSet = 2,
|
|
|
|
Field = 3
|
|
|
|
}
|
|
|
|
|
2021-03-31 17:31:57 +02:00
|
|
|
export interface NewEntryType {
|
2021-02-12 12:23:39 +01:00
|
|
|
childType: ToCEntryType,
|
|
|
|
parent: ToCEntry
|
2021-03-23 11:39:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface TableUpdateInfo{
|
|
|
|
draggedItemId?: string;
|
|
|
|
data?:any;
|
2021-02-04 09:33:03 +01:00
|
|
|
}
|