diff --git a/src/views/_element/EditableElement.vue b/src/views/Editor/Canvas/EditableElement.vue similarity index 94% rename from src/views/_element/EditableElement.vue rename to src/views/Editor/Canvas/EditableElement.vue index d30c4b3..1e84b44 100644 --- a/src/views/_element/EditableElement.vue +++ b/src/views/Editor/Canvas/EditableElement.vue @@ -1,143 +1,143 @@ - - - \ No newline at end of file diff --git a/src/views/Editor/Canvas/index.vue b/src/views/Editor/Canvas/index.vue index 8be4f01..98a28fe 100644 --- a/src/views/Editor/Canvas/index.vue +++ b/src/views/Editor/Canvas/index.vue @@ -95,7 +95,7 @@ import useCopyAndPasteElement from '@/hooks/useCopyAndPasteElement' import useSelectAllElement from '@/hooks/useSelectAllElement' import useScaleCanvas from '@/hooks/useScaleCanvas' -import EditableElement from '@/views/_element/EditableElement.vue' +import EditableElement from './EditableElement.vue' import MouseSelection from './MouseSelection.vue' import SlideBackground from './SlideBackground.vue' import AlignmentLine from './AlignmentLine.vue' diff --git a/src/views/Editor/Thumbnails/index.vue b/src/views/Editor/Thumbnails/index.vue index f5c3834..da3efd9 100644 --- a/src/views/Editor/Thumbnails/index.vue +++ b/src/views/Editor/Thumbnails/index.vue @@ -42,7 +42,7 @@ import { fillDigit } from '@/utils/common' import { ContextmenuItem } from '@/components/Contextmenu/types' import useSlideHandler from '@/hooks/useSlideHandler' -import ThumbnailSlide from '@/views/ThumbnailSlide.vue' +import ThumbnailSlide from '@/views/components/ThumbnailSlide/index.vue' export default defineComponent({ name: 'thumbnails', diff --git a/src/views/_element/ScreenElement.vue b/src/views/Screen/ScreenElement.vue similarity index 89% rename from src/views/_element/ScreenElement.vue rename to src/views/Screen/ScreenElement.vue index fda0f58..2b1c315 100644 --- a/src/views/_element/ScreenElement.vue +++ b/src/views/Screen/ScreenElement.vue @@ -19,8 +19,8 @@ import { useStore } from 'vuex' import { State } from '@/store' import { PPTElement, Slide } from '@/types/slides' -import BaseImageElement from './ImageElement/BaseImageElement.vue' -import BaseTextElement from './TextElement/BaseTextElement.vue' +import BaseImageElement from '@/views/components/element/ImageElement/BaseImageElement.vue' +import BaseTextElement from '@/views/components/element/TextElement/BaseTextElement.vue' export default defineComponent({ name: 'screen-element', diff --git a/src/views/Screen/ScreenSlide.vue b/src/views/Screen/ScreenSlide.vue index b8065fa..fb8cece 100644 --- a/src/views/Screen/ScreenSlide.vue +++ b/src/views/Screen/ScreenSlide.vue @@ -25,7 +25,7 @@ import { Slide } from '@/types/slides' import { VIEWPORT_SIZE, VIEWPORT_ASPECT_RATIO } from '@/configs/canvas' import useSlideBackgroundStyle from '@/hooks/useSlideBackgroundStyle' -import ScreenElement from '@/views/_element/ScreenElement.vue' +import ScreenElement from './ScreenElement.vue' export default defineComponent({ name: 'screen-slide', diff --git a/src/views/_element/BaseElement.vue b/src/views/components/ThumbnailSlide/ThumbnailElement.vue similarity index 82% rename from src/views/_element/BaseElement.vue rename to src/views/components/ThumbnailSlide/ThumbnailElement.vue index 147622c..cc27684 100644 --- a/src/views/_element/BaseElement.vue +++ b/src/views/components/ThumbnailSlide/ThumbnailElement.vue @@ -14,8 +14,8 @@ import { computed, defineComponent, PropType } from 'vue' import { PPTElement } from '@/types/slides' -import BaseImageElement from './ImageElement/BaseImageElement.vue' -import BaseTextElement from './TextElement/BaseTextElement.vue' +import BaseImageElement from '@/views/components/element/ImageElement/BaseImageElement.vue' +import BaseTextElement from '@/views/components/element/TextElement/BaseTextElement.vue' export default defineComponent({ name: 'base-element', diff --git a/src/views/ThumbnailSlide.vue b/src/views/components/ThumbnailSlide/index.vue similarity index 93% rename from src/views/ThumbnailSlide.vue rename to src/views/components/ThumbnailSlide/index.vue index 71eeaf5..35bd54f 100644 --- a/src/views/ThumbnailSlide.vue +++ b/src/views/components/ThumbnailSlide/index.vue @@ -14,7 +14,7 @@ }" >
- - - - - - - - - \ No newline at end of file diff --git a/src/views/_element/ImageElement/BaseImageElement.vue b/src/views/components/element/ImageElement/BaseImageElement.vue similarity index 98% rename from src/views/_element/ImageElement/BaseImageElement.vue rename to src/views/components/element/ImageElement/BaseImageElement.vue index adf8f69..5219159 100644 --- a/src/views/_element/ImageElement/BaseImageElement.vue +++ b/src/views/components/element/ImageElement/BaseImageElement.vue @@ -65,7 +65,7 @@ import ImageRectOutline from './ImageRectOutline.vue' import ImageEllipseOutline from './ImageEllipseOutline.vue' import ImagePolygonOutline from './ImagePolygonOutline.vue' -import useElementShadow from '@/views/_element/hooks/useElementShadow' +import useElementShadow from '@/views/components/element/hooks/useElementShadow' export default defineComponent({ name: 'base-element-image', diff --git a/src/views/_element/ImageElement/ImageEllipseOutline.vue b/src/views/components/element/ImageElement/ImageEllipseOutline.vue similarity index 90% rename from src/views/_element/ImageElement/ImageEllipseOutline.vue rename to src/views/components/element/ImageElement/ImageEllipseOutline.vue index 1c05129..92b56b9 100644 --- a/src/views/_element/ImageElement/ImageEllipseOutline.vue +++ b/src/views/components/element/ImageElement/ImageEllipseOutline.vue @@ -1,74 +1,74 @@ - - - - - \ No newline at end of file diff --git a/src/views/_element/ImageElement/ImagePolygonOutline.vue b/src/views/components/element/ImageElement/ImagePolygonOutline.vue similarity index 90% rename from src/views/_element/ImageElement/ImagePolygonOutline.vue rename to src/views/components/element/ImageElement/ImagePolygonOutline.vue index 7e02e5f..ffc10c3 100644 --- a/src/views/_element/ImageElement/ImagePolygonOutline.vue +++ b/src/views/components/element/ImageElement/ImagePolygonOutline.vue @@ -1,75 +1,75 @@ - - - - - \ No newline at end of file diff --git a/src/views/_element/ImageElement/ImageRectOutline.vue b/src/views/components/element/ImageElement/ImageRectOutline.vue similarity index 90% rename from src/views/_element/ImageElement/ImageRectOutline.vue rename to src/views/components/element/ImageElement/ImageRectOutline.vue index d360878..18b56b9 100644 --- a/src/views/_element/ImageElement/ImageRectOutline.vue +++ b/src/views/components/element/ImageElement/ImageRectOutline.vue @@ -1,78 +1,78 @@ - - - - - \ No newline at end of file diff --git a/src/views/_element/ImageElement/index.vue b/src/views/components/element/ImageElement/index.vue similarity index 98% rename from src/views/_element/ImageElement/index.vue rename to src/views/components/element/ImageElement/index.vue index b9e4e68..61b3748 100644 --- a/src/views/_element/ImageElement/index.vue +++ b/src/views/components/element/ImageElement/index.vue @@ -64,7 +64,7 @@ import { computed, defineComponent, PropType } from 'vue' import { PPTImageElement } from '@/types/slides' import { ContextmenuItem } from '@/components/Contextmenu/types' import { CLIPPATHS, ClipPathTypes } from '@/configs/imageClip' -import useElementShadow from '@/views/_element/hooks/useElementShadow' +import useElementShadow from '@/views/components/element/hooks/useElementShadow' import ImageRectOutline from './ImageRectOutline.vue' import ImageEllipseOutline from './ImageEllipseOutline.vue' diff --git a/src/views/_element/TextElement/BaseTextElement.vue b/src/views/components/element/TextElement/BaseTextElement.vue similarity index 90% rename from src/views/_element/TextElement/BaseTextElement.vue rename to src/views/components/element/TextElement/BaseTextElement.vue index b4a3697..bc04574 100644 --- a/src/views/_element/TextElement/BaseTextElement.vue +++ b/src/views/components/element/TextElement/BaseTextElement.vue @@ -28,9 +28,9 @@