kevmodrome
6 years ago
No known key found for this signature in database
GPG Key ID: E8F9CD141E63BF38
3 changed files with
10 additions and
2 deletions
-
packages/builder/src/components/userInterface/temporaryPanelStructure.js
-
packages/standard-components/components.json
-
packages/standard-components/src/DataGrid/Component.svelte
|
|
|
@ -346,6 +346,12 @@ export default { |
|
|
|
], |
|
|
|
placeholder: "alpine", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "Height", |
|
|
|
key: "height", |
|
|
|
defaultValue: "500", |
|
|
|
control: Input |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
children: [], |
|
|
|
|
|
|
|
@ -237,7 +237,8 @@ |
|
|
|
"balham-dark", |
|
|
|
"material" |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
"height": "number" |
|
|
|
} |
|
|
|
}, |
|
|
|
"dataform": { |
|
|
|
|
|
|
|
@ -18,6 +18,7 @@ |
|
|
|
export let datasource = {} |
|
|
|
export let editable |
|
|
|
export let theme = 'alpine' |
|
|
|
export let height; |
|
|
|
|
|
|
|
let dataLoaded = false |
|
|
|
let data |
|
|
|
@ -110,7 +111,7 @@ |
|
|
|
href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css" /> |
|
|
|
</svelte:head> |
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
<div class="container" style="--grid-height: {height}px"> |
|
|
|
{#if dataLoaded} |
|
|
|
{#if editable} |
|
|
|
<div class="controls"> |
|
|
|
|