File tree Expand file tree Collapse file tree 4 files changed +40
-4
lines changed
Expand file tree Collapse file tree 4 files changed +40
-4
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ import DataItem from "./data.vue";
3636
3737import { useProfile } from " @/states" ;
3838const profile = useProfile ();
39+
40+ import " ./inputs/inputs.scss" ;
3941 </script >
4042
4143<style >
Original file line number Diff line number Diff line change @@ -44,5 +44,4 @@ import FilledTextfield from "@/editor/inputs/subblocks/function.vue";
4444import AnimatedFold from " @/ui/animated/animatedFold.vue" ;
4545import ColorPicker from " ./subblocks/colorPicker.vue" ;
4646import HelpIcon from " ./subblocks/helpIcon.vue" ;
47- import " ./inputs.scss" ;
4847 </script >
Original file line number Diff line number Diff line change @@ -82,6 +82,5 @@ import HelpIcon from "./subblocks/helpIcon.vue";
8282import ColorPicker from " ./subblocks/colorPicker.vue" ;
8383import Domain from " ./subblocks/domain.vue" ;
8484import DerivatePane from " ./subblocks/derivatePane.vue" ;
85- import AnimatedFold from " @/ui/animated/animatedFold.vue" ;
86- import " ./inputs.scss" ;
85+ import AnimatedFold from " @/ui/animated/animatedFold.vue"
8786 </script >
Original file line number Diff line number Diff line change 99 v-model =" self.r"
1010 />
1111 </div >
12+ <AnimatedFold :folded =" props.folded" >
13+ <s-divider >{{ t("data.more.dividerTitle") }}</s-divider >
14+ <div class =" input-inner-optional" >
15+ <div class =" fields" >
16+ <!-- range -->
17+ <span class =" label" > {{ t("data.more.range") }} </span >
18+ <Domain :self =" self" />
19+ <!-- color -->
20+ <span class =" label" >
21+ {{ t("data.more.color") }}
22+ <HelpIcon > {{ t("data.more.colorHelp") }} </HelpIcon >
23+ </span >
24+ <ColorPicker v-model =" self.color" />
25+ <!-- nSamples -->
26+ <span class =" label" > {{ t("data.more.nSamples") }} </span >
27+ <s-text-field
28+ class =" input monospace-inner"
29+ type =" number"
30+ :label =" t('data.more.nSamples')"
31+ v-model =" self.nSamples"
32+ :min =" 1"
33+ @blur =" if (!self.nSamples) self.nSamples = undefined;"
34+ ></s-text-field >
35+ </div >
36+ <div class =" switches" >
37+ <!-- closed -->
38+ <s-checkbox type =" checkbox" v-model.lazy =" self.closed" >
39+ {{ t("data.more.closed") }}
40+ </s-checkbox >
41+ </div >
42+ </div >
43+ </AnimatedFold >
1244 </div >
13-
1445</template >
1546
1647<script setup lang="ts">
@@ -27,4 +58,9 @@ const props = defineProps<{
2758 index: number ;
2859}>();
2960const self = toRef (props , " self" );
61+
62+ import HelpIcon from " ./subblocks/helpIcon.vue" ;
63+ import ColorPicker from " ./subblocks/colorPicker.vue" ;
64+ import Domain from " ./subblocks/domain.vue" ;
65+ import AnimatedFold from " @/ui/animated/animatedFold.vue" ;
3066 </script >
You can’t perform that action at this time.
0 commit comments