added dropdown and form layout to model view (#1269)

* added dropdown and form layout to model view
This commit is contained in:
Leila Lali
2018-04-27 15:43:23 -07:00
committed by GitHub
parent 26b27a616a
commit 886717d330
13 changed files with 569 additions and 45 deletions

View File

@@ -68,14 +68,17 @@ export enum ModelComponentTypes {
FlexContainer,
Card,
InputBox,
DropDown,
Button,
DashboardWidget,
DashboardWebview
DashboardWebview,
Form
}
export interface IComponentShape {
type: ModelComponentTypes;
id: string;
properties?: { [key: string]: any };
properties?: { [key: string]: any };
layout?: any;
itemConfigs?: IItemConfig[];
}
@@ -87,7 +90,8 @@ export interface IItemConfig {
export enum ComponentEventType {
PropertiesChanged,
onDidChange
onDidChange,
onDidClick
}
export interface IComponentEventArgs {