2019-11-25 05:07:27 +00:00
|
|
|
import { WidgetCardProps } from "widgets/BaseWidget";
|
|
|
|
|
import { generateReactKey } from "utils/generators";
|
2019-10-31 08:36:04 +00:00
|
|
|
/* eslint-disable no-useless-computed-key */
|
2019-08-21 12:49:16 +00:00
|
|
|
|
2020-12-23 11:32:30 +00:00
|
|
|
const WidgetSidebarResponse: WidgetCardProps[] = [
|
|
|
|
|
{
|
|
|
|
|
type: "BUTTON_WIDGET",
|
|
|
|
|
widgetCardName: "Button",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "CHART_WIDGET",
|
|
|
|
|
widgetCardName: "Chart",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "CHECKBOX_WIDGET",
|
|
|
|
|
widgetCardName: "Checkbox",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "CONTAINER_WIDGET",
|
|
|
|
|
widgetCardName: "Container",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "DATE_PICKER_WIDGET",
|
|
|
|
|
widgetCardName: "DatePicker",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "DROP_DOWN_WIDGET",
|
|
|
|
|
widgetCardName: "Dropdown",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "FILE_PICKER_WIDGET",
|
|
|
|
|
widgetCardName: "FilePicker",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "FORM_WIDGET",
|
|
|
|
|
widgetCardName: "Form",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "IMAGE_WIDGET",
|
|
|
|
|
widgetCardName: "Image",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "INPUT_WIDGET",
|
|
|
|
|
widgetCardName: "Input",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "MAP_WIDGET",
|
|
|
|
|
widgetCardName: "Map",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "RADIO_GROUP_WIDGET",
|
|
|
|
|
widgetCardName: "Radio",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "RICH_TEXT_EDITOR_WIDGET",
|
|
|
|
|
widgetCardName: "Rich Text Editor",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "TABLE_WIDGET",
|
|
|
|
|
widgetCardName: "Table",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "TABS_WIDGET",
|
|
|
|
|
widgetCardName: "Tabs",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "TEXT_WIDGET",
|
|
|
|
|
widgetCardName: "Text",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "VIDEO_WIDGET",
|
|
|
|
|
widgetCardName: "Video",
|
|
|
|
|
key: generateReactKey(),
|
|
|
|
|
},
|
|
|
|
|
];
|
2019-09-06 09:30:22 +00:00
|
|
|
|
2019-10-18 08:16:26 +00:00
|
|
|
export default WidgetSidebarResponse;
|