|
|
|
@ -1,6 +1,7 @@ |
|
|
|
import Input from "../common/Input.svelte" |
|
|
|
import OptionSelect from "./OptionSelect.svelte" |
|
|
|
import Checkbox from "../common/Checkbox.svelte" |
|
|
|
import ModelSelect from "components/userInterface/ModelSelect.svelte" |
|
|
|
|
|
|
|
import { all } from "./propertyCategories.js" |
|
|
|
|
|
|
|
@ -273,14 +274,20 @@ export default { |
|
|
|
_component: "@budibase/standard-components/datatable", |
|
|
|
description: "A component that generates a table from your data.", |
|
|
|
icon: "ri-archive-drawer-fill", |
|
|
|
properties: { design: { ...all } }, |
|
|
|
properties: { |
|
|
|
design: { ...all }, |
|
|
|
settings: [{ label: "Model", key: "model", control: ModelSelect }], |
|
|
|
}, |
|
|
|
children: [], |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "Form", |
|
|
|
description: "A component that generates a form from your data.", |
|
|
|
icon: "ri-file-edit-fill", |
|
|
|
properties: { design: { ...all } }, |
|
|
|
properties: { |
|
|
|
design: { ...all }, |
|
|
|
settings: [{ label: "Model", key: "model", control: ModelSelect }], |
|
|
|
}, |
|
|
|
_component: "@budibase/standard-components/dataform", |
|
|
|
template: { |
|
|
|
component: "@budibase/materialdesign-components/Form", |
|
|
|
@ -294,7 +301,10 @@ export default { |
|
|
|
_component: "@budibase/standard-components/datachart", |
|
|
|
description: "Shiny chart", |
|
|
|
icon: "ri-bar-chart-fill", |
|
|
|
properties: { design: { ...all } }, |
|
|
|
properties: { |
|
|
|
design: { ...all }, |
|
|
|
settings: [{ label: "Model", key: "model", control: ModelSelect }], |
|
|
|
}, |
|
|
|
children: [], |
|
|
|
}, |
|
|
|
{ |
|
|
|
@ -302,7 +312,10 @@ export default { |
|
|
|
_component: "@budibase/standard-components/datalist", |
|
|
|
description: "Shiny list", |
|
|
|
icon: "ri-file-list-fill", |
|
|
|
properties: { design: { ...all } }, |
|
|
|
properties: { |
|
|
|
design: { ...all }, |
|
|
|
settings: [{ label: "Model", key: "model", control: ModelSelect }], |
|
|
|
}, |
|
|
|
children: [], |
|
|
|
}, |
|
|
|
{ |
|
|
|
|