forked from MapComplete/MapComplete
Add various improvements and fixes to studio, should fix #2055
This commit is contained in:
parent
3dc0014f35
commit
5d1c93396d
19 changed files with 531 additions and 418 deletions
|
|
@ -1,14 +1,15 @@
|
|||
<script lang="ts">
|
||||
import type { ConfigMeta } from "./configMeta"
|
||||
import SchemaBasedField from "./SchemaBasedField.svelte"
|
||||
import EditLayerState from "./EditLayerState"
|
||||
import { EditJsonState } from "./EditLayerState"
|
||||
import SchemaBasedArray from "./SchemaBasedArray.svelte"
|
||||
import SchemaBasedMultiType from "./SchemaBasedMultiType.svelte"
|
||||
import ArrayMultiAnswer from "./ArrayMultiAnswer.svelte"
|
||||
|
||||
export let schema: ConfigMeta
|
||||
export let state: EditLayerState
|
||||
export let state: EditJsonState<any>
|
||||
export let path: (string | number)[] = []
|
||||
console.log("Fetched schema:", path, state.getSchema(<any> path))
|
||||
let schema: ConfigMeta = state.getSchema(<any> path)[0]
|
||||
let expertMode = state.expertMode
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue