1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

link to docs, disable some settings, check result set

This commit is contained in:
lana-k
2025-11-01 15:49:34 +01:00
parent 3d6479be7a
commit 3d1e822cdc
13 changed files with 173 additions and 56 deletions

View File

@@ -1,5 +1,12 @@
<template>
<Field label="Adjust sizes">
<Field label="Scaling ratio">
<NumericInput
:value="modelValue.scalingRatio"
@update="update('scalingRatio', $event)"
/>
</Field>
<Field label="Prevent overlapping">
<RadioBlocks
:options="booleanOptions"
:activeOption="modelValue.adjustSizes"
@@ -22,13 +29,6 @@
/>
</Field>
<Field label="Gravity">
<NumericInput
:value="modelValue.gravity"
@update="update('gravity', $event)"
/>
</Field>
<Field label="Strong gravity mode">
<RadioBlocks
:options="booleanOptions"

View File

@@ -39,7 +39,10 @@
</template>
</Field>
<Field v-if="modelValue.type !== 'constant'" label="Color as">
<Field
v-if="modelValue.type !== 'constant' && modelValue.sourceUsage === 'map_to'"
label="Color as"
>
<RadioBlocks
:options="сolorAsOptions"
:activeOption="modelValue.mode"
@@ -47,7 +50,10 @@
/>
</Field>
<Field v-if="modelValue.type !== 'constant'" label="Colorscale direction">
<Field
v-if="modelValue.type !== 'constant' && modelValue.sourceUsage === 'map_to'"
label="Colorscale direction"
>
<RadioBlocks
:options="сolorscaleDirections"
:activeOption="modelValue.colorscaleDirection"

View File

@@ -7,10 +7,10 @@
/>
</Field>
<Field label="Scaling ratio">
<Field label="Gravity">
<NumericInput
:value="modelValue.scalingRatio"
@update="update('scalingRatio', $event)"
:value="modelValue.gravity"
@update="update('gravity', $event)"
/>
</Field>
</template>

View File

@@ -27,7 +27,7 @@
/>
</Field>
<Field>
<Field v-if="modelValue.type === 'variable'">
<RadioBlocks
:options="colorSourceUsageOptions"
:activeOption="modelValue.sourceUsage"
@@ -45,7 +45,10 @@
</template>
</Field>
<Field v-if="modelValue.type !== 'constant'" label="Color as">
<Field
v-if="modelValue.type !== 'constant' && modelValue.sourceUsage === 'map_to'"
label="Color as"
>
<RadioBlocks
:options="сolorAsOptions"
:activeOption="modelValue.mode"
@@ -53,7 +56,10 @@
/>
</Field>
<Field v-if="modelValue.type !== 'constant'" label="Colorscale direction">
<Field
v-if="modelValue.type !== 'constant' && modelValue.sourceUsage === 'map_to'"
label="Colorscale direction"
>
<RadioBlocks
:options="сolorscaleDirections"
:activeOption="modelValue.colorscaleDirection"