diff --git a/.vscode/settings.json b/.vscode/settings.json index c91cd66..4f62d6f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -32,5 +32,13 @@ "folderNames": ["icons"], "rootFolderNames": ["icons"] }, + { + "name": "animate", + "base": "animation", + "color": "purple-400", + "lightColor": "purple-100", + "folderNames": ["animatedList"], + "rootFolderNames": ["animatedList"] + }, ] } diff --git a/src/consts.ts b/src/consts.ts index 4e999bf..15f4561 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -82,6 +82,7 @@ export function getNewDatum(): InternalDatum { key: Math.random(), fnType: "linear", graphType: "polyline", + fn: "", }; } diff --git a/src/editor/datum.vue b/src/editor/datum.vue index 698be10..bdb9e44 100644 --- a/src/editor/datum.vue +++ b/src/editor/datum.vue @@ -1,87 +1,104 @@ + + diff --git a/src/editor/inputs/coordArrInputs.vue b/src/editor/inputs/coordArrInputs.vue index f5201cf..7c448ad 100644 --- a/src/editor/inputs/coordArrInputs.vue +++ b/src/editor/inputs/coordArrInputs.vue @@ -6,50 +6,37 @@ :animation="200" handle="span.coordarr-drag" > -
- - - - - - - - - {{ - t(fnType.coordArr.label) + fnType.coordArr.fir - }} - - - {{ fnType.coordArr.sep }} - - - {{ fnType.coordArr.fin }} - - - - - - - -
+ + +
+ + + + {{ + t(fnType.coordArr.label) + fnType.coordArr.fir + }} + + + {{ fnType.coordArr.sep }} + + + {{ fnType.coordArr.fin }} + + + +
+
+
(); type PrivateData = { @@ -108,7 +101,10 @@ onMounted(() => { .coordarr-wrapper { display: flex; flex-direction: column; - gap: 0.8rem; +} + +.input-box.coord.coordarr{ + margin-top: 10px; } .coordarr-drag { @@ -118,7 +114,7 @@ onMounted(() => { border-radius: 5px; } -.sortable-chosen > .coordarr-drag { +.sortable-chosen .coordarr-drag { background: var(--s-color-outline-variant); z-index: 999; } diff --git a/src/ui/animatedList/animatedList.vue b/src/ui/animatedList/animatedList.vue new file mode 100644 index 0000000..52c3ae6 --- /dev/null +++ b/src/ui/animatedList/animatedList.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/ui/animatedList/animatedListItem.vue b/src/ui/animatedList/animatedListItem.vue new file mode 100644 index 0000000..ab80157 --- /dev/null +++ b/src/ui/animatedList/animatedListItem.vue @@ -0,0 +1,24 @@ + + + diff --git a/src/ui/icons/dragalt.vue b/src/ui/icons/dragalt.vue new file mode 100644 index 0000000..18161c2 --- /dev/null +++ b/src/ui/icons/dragalt.vue @@ -0,0 +1,9 @@ +