import React from "react";
import PropertyControlFactory from "./PropertyControlFactory";
import InputTextControl, {
InputControlProps,
} from "../components/propertyControls/InputTextControl";
import DropDownControl, {
DropDownControlProps,
} from "../components/propertyControls/DropDownControl";
import SwitchControl, {
SwitchControlProps,
} from "../components/propertyControls/SwitchControl";
import OptionControl from "../components/propertyControls/OptionControl";
import { ControlProps } from "../components/propertyControls/BaseControl";
import CodeEditorControl from "../components/propertyControls/CodeEditorControl";
import MultiSelectControl, {
MultiSelectControlProps,
} from "../components/propertyControls/MultiSelectControl";
import ActionSelectorControl from "../components/propertyControls/ActionSelector";
class PropertyControlRegistry {
static registerPropertyControlBuilders() {
PropertyControlFactory.registerControlBuilder("INPUT_TEXT", {
buildPropertyControl(controlProps: InputControlProps): JSX.Element {
return ;
},
});
PropertyControlFactory.registerControlBuilder("CODE_EDITOR", {
buildPropertyControl(controlProps: InputControlProps): JSX.Element {
return ;
},
});
PropertyControlFactory.registerControlBuilder("DROP_DOWN", {
buildPropertyControl(controlProps: DropDownControlProps): JSX.Element {
return ;
},
});
PropertyControlFactory.registerControlBuilder("MULTI_SELECT", {
buildPropertyControl(controlProps: MultiSelectControlProps): JSX.Element {
return ;
},
});
PropertyControlFactory.registerControlBuilder("SWITCH", {
buildPropertyControl(controlProps: SwitchControlProps): JSX.Element {
return ;
},
});
PropertyControlFactory.registerControlBuilder("OPTION_INPUT", {
buildPropertyControl(controlProps: ControlProps): JSX.Element {
return ;
},
});
PropertyControlFactory.registerControlBuilder("ACTION_SELECTOR", {
buildPropertyControl(controlProps: ControlProps): JSX.Element {
return ;
},
});
}
}
export default PropertyControlRegistry;