diff --git a/frontend/src/builder.d.ts b/frontend/src/builder.d.ts index 6fed9990..ecd5e93c 100644 --- a/frontend/src/builder.d.ts +++ b/frontend/src/builder.d.ts @@ -1,3 +1,11 @@ +declare interface BlockDataKey { + key?: string; + type?: BlockDataKeyType; + property?: string; +} + +declare type BlockDataKeyType = "key" | "attribute" | "style"; + declare type StyleValue = string | number | null | undefined; declare type styleProperty = keyof CSSProperties; @@ -20,6 +28,7 @@ declare interface BlockOptions { attributes?: BlockAttributeMap; classes?: Array; children?: Array; + dynamicValues?: Array; draggable?: boolean; [key: string]: any; } diff --git a/frontend/src/components/Controls/Input.vue b/frontend/src/components/Controls/Input.vue index b616e28a..a26d0675 100644 --- a/frontend/src/components/Controls/Input.vue +++ b/frontend/src/components/Controls/Input.vue @@ -1,5 +1,39 @@