feat(Editor): implement dynamic fields

This commit is contained in:
Ali BARIN
2023-02-28 22:22:08 +00:00
parent d16e292231
commit c6b8f12f9a
11 changed files with 289 additions and 105 deletions

View File

@@ -104,6 +104,7 @@ export interface IFieldDropdown {
dependsOn?: string[];
options?: IFieldDropdownOption[];
source?: IFieldDropdownSource;
additionalFields?: IFieldDropdownAdditionalFields;
}
export interface IFieldDropdownSource {
@@ -114,6 +115,14 @@ export interface IFieldDropdownSource {
value: string;
}[];
}
export interface IFieldDropdownAdditionalFields {
type: string;
name: string;
arguments: {
name: string;
value: string;
}[];
}
export interface IFieldDropdownOption {
label: string;