diff --git a/studio/src/app/components/editor/actions/footer/app-actions-editor/app-actions-editor.scss b/studio/src/app/components/editor/deck/actions/app-actions-deck-editor/app-actions-deck-editor.scss similarity index 99% rename from studio/src/app/components/editor/actions/footer/app-actions-editor/app-actions-editor.scss rename to studio/src/app/components/editor/deck/actions/app-actions-deck-editor/app-actions-deck-editor.scss index d2c445c82..26d1280ef 100644 --- a/studio/src/app/components/editor/actions/footer/app-actions-editor/app-actions-editor.scss +++ b/studio/src/app/components/editor/deck/actions/app-actions-deck-editor/app-actions-deck-editor.scss @@ -1,6 +1,6 @@ @use "../../../../../../global/theme/mixins/button"; -app-actions-editor { +app-actions-deck-editor { background: transparent; display: block; diff --git a/studio/src/app/components/editor/actions/footer/app-actions-editor/app-actions-editor.tsx b/studio/src/app/components/editor/deck/actions/app-actions-deck-editor/app-actions-deck-editor.tsx similarity index 98% rename from studio/src/app/components/editor/actions/footer/app-actions-editor/app-actions-editor.tsx rename to studio/src/app/components/editor/deck/actions/app-actions-deck-editor/app-actions-deck-editor.tsx index 2586be003..ae0bd5721 100644 --- a/studio/src/app/components/editor/actions/footer/app-actions-editor/app-actions-editor.tsx +++ b/studio/src/app/components/editor/deck/actions/app-actions-deck-editor/app-actions-deck-editor.tsx @@ -8,11 +8,11 @@ import undoRedoStore from '../../../../../stores/undo-redo.store'; import {BreadcrumbsStep} from '../../../../../types/editor/breadcrumbs-step'; @Component({ - tag: 'app-actions-editor', - styleUrl: 'app-actions-editor.scss', + tag: 'app-actions-deck-editor', + styleUrl: 'app-actions-deck-editor.scss', shadow: false }) -export class AppActionsEditor { +export class AppActionsDeckEditor { @Element() el: HTMLElement; @Prop() diff --git a/studio/src/app/components/editor/actions/footer/app-bottom-sheet/app-bottom-sheet.scss b/studio/src/app/components/editor/deck/actions/app-bottom-sheet/app-bottom-sheet.scss similarity index 100% rename from studio/src/app/components/editor/actions/footer/app-bottom-sheet/app-bottom-sheet.scss rename to studio/src/app/components/editor/deck/actions/app-bottom-sheet/app-bottom-sheet.scss diff --git a/studio/src/app/components/editor/actions/footer/app-bottom-sheet/app-bottom-sheet.tsx b/studio/src/app/components/editor/deck/actions/app-bottom-sheet/app-bottom-sheet.tsx similarity index 100% rename from studio/src/app/components/editor/actions/footer/app-bottom-sheet/app-bottom-sheet.tsx rename to studio/src/app/components/editor/deck/actions/app-bottom-sheet/app-bottom-sheet.tsx diff --git a/studio/src/app/components/editor/actions/app-breadcrumbs/app-breadcrumbs.scss b/studio/src/app/components/editor/deck/actions/app-breadcrumbs/app-breadcrumbs.scss similarity index 100% rename from studio/src/app/components/editor/actions/app-breadcrumbs/app-breadcrumbs.scss rename to studio/src/app/components/editor/deck/actions/app-breadcrumbs/app-breadcrumbs.scss diff --git a/studio/src/app/components/editor/actions/app-breadcrumbs/app-breadcrumbs.tsx b/studio/src/app/components/editor/deck/actions/app-breadcrumbs/app-breadcrumbs.tsx similarity index 91% rename from studio/src/app/components/editor/actions/app-breadcrumbs/app-breadcrumbs.tsx rename to studio/src/app/components/editor/deck/actions/app-breadcrumbs/app-breadcrumbs.tsx index 150ca9a95..ef8319ca6 100644 --- a/studio/src/app/components/editor/actions/app-breadcrumbs/app-breadcrumbs.tsx +++ b/studio/src/app/components/editor/deck/actions/app-breadcrumbs/app-breadcrumbs.tsx @@ -2,10 +2,10 @@ import {Component, Prop, h, Host, EventEmitter, Event, Fragment} from '@stencil/ import {deckSelector, selectSlide} from '@deckdeckgo/editor'; -import busyStore from '../../../../stores/busy.store'; -import editorStore from '../../../../stores/editor.store'; +import busyStore from '../../../../../stores/busy.store'; +import editorStore from '../../../../../stores/editor.store'; -import {BreadcrumbsStep} from '../../../../types/editor/breadcrumbs-step'; +import {BreadcrumbsStep} from '../../../../../types/editor/breadcrumbs-step'; @Component({ tag: 'app-breadcrumbs', diff --git a/studio/src/app/components/editor/actions/app-slides-aside/app-slides-aside.scss b/studio/src/app/components/editor/deck/actions/app-slides-aside/app-slides-aside.scss similarity index 96% rename from studio/src/app/components/editor/actions/app-slides-aside/app-slides-aside.scss rename to studio/src/app/components/editor/deck/actions/app-slides-aside/app-slides-aside.scss index 5c9ae2b43..3057b0d5e 100644 --- a/studio/src/app/components/editor/actions/app-slides-aside/app-slides-aside.scss +++ b/studio/src/app/components/editor/deck/actions/app-slides-aside/app-slides-aside.scss @@ -1,4 +1,4 @@ -@use "../../../../../global/theme/mixins/button"; +@use "../../../../../../global/theme/mixins/button"; app-slides-aside { position: relative; diff --git a/studio/src/app/components/editor/actions/app-slides-aside/app-slides-aside.tsx b/studio/src/app/components/editor/deck/actions/app-slides-aside/app-slides-aside.tsx similarity index 98% rename from studio/src/app/components/editor/actions/app-slides-aside/app-slides-aside.tsx rename to studio/src/app/components/editor/deck/actions/app-slides-aside/app-slides-aside.tsx index ef426d242..fd0a380b8 100644 --- a/studio/src/app/components/editor/actions/app-slides-aside/app-slides-aside.tsx +++ b/studio/src/app/components/editor/deck/actions/app-slides-aside/app-slides-aside.tsx @@ -6,7 +6,7 @@ import {debounce} from '@deckdeckgo/utils'; import {isSlide} from '@deckdeckgo/deck-utils'; import {deckSelector, slideTo, selectDeckSlide} from '@deckdeckgo/editor'; -import {SlideUtils} from '../../../../utils/editor/slide.utils'; +import {SlideUtils} from '../../../../../utils/editor/slide.utils'; @Component({ tag: 'app-slides-aside', diff --git a/studio/src/app/components/editor/actions/deck/app-action-add-slide/app-action-add-slide.tsx b/studio/src/app/components/editor/deck/actions/deck/app-action-add-slide/app-action-add-slide.tsx similarity index 96% rename from studio/src/app/components/editor/actions/deck/app-action-add-slide/app-action-add-slide.tsx rename to studio/src/app/components/editor/deck/actions/deck/app-action-add-slide/app-action-add-slide.tsx index 407523ab4..61cb393e3 100644 --- a/studio/src/app/components/editor/actions/deck/app-action-add-slide/app-action-add-slide.tsx +++ b/studio/src/app/components/editor/deck/actions/deck/app-action-add-slide/app-action-add-slide.tsx @@ -5,11 +5,11 @@ import {modalController, popoverController} from '@ionic/core'; import {SlideAttributes, SlideSplitType, SlideTemplate, StorageFile} from '@deckdeckgo/editor'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {CreateSlidesUtils} from '../../../../../utils/editor/create-slides.utils'; -import {PlaygroundAction} from '../../../../../types/editor/playground-action'; -import {DemoAction} from '../../../../../types/editor/demo-action'; +import {CreateSlidesUtils} from '../../../../../../utils/editor/create-slides.utils'; +import {PlaygroundAction} from '../../../../../../types/editor/playground-action'; +import {DemoAction} from '../../../../../../types/editor/demo-action'; @Component({ tag: 'app-action-add-slide', diff --git a/studio/src/app/components/editor/actions/deck/app-action-busy/app-action-busy.scss b/studio/src/app/components/editor/deck/actions/deck/app-action-busy/app-action-busy.scss similarity index 100% rename from studio/src/app/components/editor/actions/deck/app-action-busy/app-action-busy.scss rename to studio/src/app/components/editor/deck/actions/deck/app-action-busy/app-action-busy.scss diff --git a/studio/src/app/components/editor/actions/deck/app-action-busy/app-action-busy.tsx b/studio/src/app/components/editor/deck/actions/deck/app-action-busy/app-action-busy.tsx similarity index 87% rename from studio/src/app/components/editor/actions/deck/app-action-busy/app-action-busy.tsx rename to studio/src/app/components/editor/deck/actions/deck/app-action-busy/app-action-busy.tsx index 6f3185631..63f6bbcac 100644 --- a/studio/src/app/components/editor/actions/deck/app-action-busy/app-action-busy.tsx +++ b/studio/src/app/components/editor/deck/actions/deck/app-action-busy/app-action-busy.tsx @@ -1,7 +1,7 @@ import {Component, Event, EventEmitter, h, Prop} from '@stencil/core'; -import store from '../../../../../stores/busy.store'; -import {AppIcon} from '../../../../core/app-icon/app-icon'; +import store from '../../../../../../stores/busy.store'; +import {AppIcon} from '../../../../../core/app-icon/app-icon'; @Component({ tag: 'app-action-busy', diff --git a/studio/src/app/components/editor/actions/deck/app-action-help/app-action-help.tsx b/studio/src/app/components/editor/deck/actions/deck/app-action-help/app-action-help.tsx similarity index 91% rename from studio/src/app/components/editor/actions/deck/app-action-help/app-action-help.tsx rename to studio/src/app/components/editor/deck/actions/deck/app-action-help/app-action-help.tsx index b7d029c36..e2a4c9225 100644 --- a/studio/src/app/components/editor/actions/deck/app-action-help/app-action-help.tsx +++ b/studio/src/app/components/editor/deck/actions/deck/app-action-help/app-action-help.tsx @@ -2,9 +2,9 @@ import {Component, h, Element, Prop, Event, EventEmitter} from '@stencil/core'; import {popoverController} from '@ionic/core'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {AppIcon} from '../../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../../core/app-icon/app-icon'; @Component({ tag: 'app-action-help' diff --git a/studio/src/app/components/editor/actions/deck/app-action-share/app-action-share.tsx b/studio/src/app/components/editor/deck/actions/deck/app-action-share/app-action-share.tsx similarity index 82% rename from studio/src/app/components/editor/actions/deck/app-action-share/app-action-share.tsx rename to studio/src/app/components/editor/deck/actions/deck/app-action-share/app-action-share.tsx index 21871ad85..5d1c79b2a 100644 --- a/studio/src/app/components/editor/actions/deck/app-action-share/app-action-share.tsx +++ b/studio/src/app/components/editor/deck/actions/deck/app-action-share/app-action-share.tsx @@ -3,15 +3,15 @@ import {Component, Element, Event, EventEmitter, h} from '@stencil/core'; import type {OverlayEventDetail} from '@ionic/core'; import {popoverController} from '@ionic/core'; -import deckStore from '../../../../../stores/deck.store'; -import userStore from '../../../../../stores/user.store'; -import shareStore from '../../../../../stores/share.store'; -import i18n from '../../../../../stores/i18n.store'; +import deckStore from '../../../../../../stores/deck.store'; +import userStore from '../../../../../../stores/user.store'; +import shareStore from '../../../../../../stores/share.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {MoreAction} from '../../../../../types/editor/more-action'; +import {MoreAction} from '../../../../../../types/editor/more-action'; -import {AppIcon} from '../../../../core/app-icon/app-icon'; -import {share} from '../../../../../utils/core/environment.utils'; +import {AppIcon} from '../../../../../core/app-icon/app-icon'; +import {share} from '../../../../../../utils/core/environment.utils'; @Component({ tag: 'app-action-share' diff --git a/studio/src/app/components/editor/actions/deck/app-actions-deck/app-actions-deck.tsx b/studio/src/app/components/editor/deck/actions/deck/app-actions-deck/app-actions-deck.tsx similarity index 95% rename from studio/src/app/components/editor/actions/deck/app-actions-deck/app-actions-deck.tsx rename to studio/src/app/components/editor/deck/actions/deck/app-actions-deck/app-actions-deck.tsx index e4c457a86..6bcd215d8 100644 --- a/studio/src/app/components/editor/actions/deck/app-actions-deck/app-actions-deck.tsx +++ b/studio/src/app/components/editor/deck/actions/deck/app-actions-deck/app-actions-deck.tsx @@ -7,15 +7,15 @@ import {isMobile} from '@deckdeckgo/utils'; import {ConnectionState, DeckdeckgoEventDeckRequest} from '@deckdeckgo/types'; import {selectDeckSlide} from '@deckdeckgo/editor'; -import remoteStore from '../../../../../stores/remote.store'; -import deckStore from '../../../../../stores/deck.store'; -import userStore from '../../../../../stores/user.store'; -import shareStore from '../../../../../stores/share.store'; -import i18n from '../../../../../stores/i18n.store'; +import remoteStore from '../../../../../../stores/remote.store'; +import deckStore from '../../../../../../stores/deck.store'; +import userStore from '../../../../../../stores/user.store'; +import shareStore from '../../../../../../stores/share.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {MoreAction} from '../../../../../types/editor/more-action'; +import {MoreAction} from '../../../../../../types/editor/more-action'; -import {AppIcon} from '../../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../../core/app-icon/app-icon'; @Component({ tag: 'app-actions-deck', diff --git a/studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.scss b/studio/src/app/components/editor/deck/actions/element/app-actions-element/app-actions-element.scss similarity index 100% rename from studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.scss rename to studio/src/app/components/editor/deck/actions/element/app-actions-element/app-actions-element.scss diff --git a/studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.tsx b/studio/src/app/components/editor/deck/actions/element/app-actions-element/app-actions-element.tsx similarity index 96% rename from studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.tsx rename to studio/src/app/components/editor/deck/actions/element/app-actions-element/app-actions-element.tsx index 24d0b87ba..d8eadbaf3 100644 --- a/studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.tsx +++ b/studio/src/app/components/editor/deck/actions/element/app-actions-element/app-actions-element.tsx @@ -8,28 +8,28 @@ import {isSlide} from '@deckdeckgo/deck-utils'; import {SlideScope} from '@deckdeckgo/editor'; -import store from '../../../../../stores/busy.store'; -import i18n from '../../../../../stores/i18n.store'; -import undoRedoStore from '../../../../../stores/undo-redo.store'; - -import {ImageHelper} from '../../../../../helpers/editor/image.helper'; -import {ShapeHelper} from '../../../../../helpers/editor/shape.helper'; - -import {ToggleSlotUtils} from '../../../../../utils/editor/toggle-slot.utils'; -import {RevealSlotUtils} from '../../../../../utils/editor/reveal-slot.utils'; -import {SlotUtils} from '../../../../../utils/editor/slot.utils'; -import {SelectedElementUtils} from '../../../../../utils/editor/selected-element.utils'; - -import {SlotType} from '../../../../../types/editor/slot-type'; -import {EditAction} from '../../../../../types/editor/edit-action'; -import {MoreAction} from '../../../../../types/editor/more-action'; -import {DemoAction} from '../../../../../types/editor/demo-action'; -import {PlaygroundAction} from '../../../../../types/editor/playground-action'; -import {SelectedElement} from '../../../../../types/editor/selected-element'; - -import {InitTemplate} from '../../../../../utils/editor/create-slides.utils'; -import {CloneSlideUtils} from '../../../../../utils/editor/clone-slide.utils'; -import {AppIcon} from '../../../../core/app-icon/app-icon'; +import store from '../../../../../../stores/busy.store'; +import i18n from '../../../../../../stores/i18n.store'; +import undoRedoStore from '../../../../../../stores/undo-redo.store'; + +import {ImageHelper} from '../../../../../../helpers/editor/image.helper'; +import {ShapeHelper} from '../../../../../../helpers/editor/shape.helper'; + +import {ToggleSlotUtils} from '../../../../../../utils/editor/toggle-slot.utils'; +import {RevealSlotUtils} from '../../../../../../utils/editor/reveal-slot.utils'; +import {SlotUtils} from '../../../../../../utils/editor/slot.utils'; +import {SelectedElementUtils} from '../../../../../../utils/editor/selected-element.utils'; + +import {SlotType} from '../../../../../../types/editor/slot-type'; +import {EditAction} from '../../../../../../types/editor/edit-action'; +import {MoreAction} from '../../../../../../types/editor/more-action'; +import {DemoAction} from '../../../../../../types/editor/demo-action'; +import {PlaygroundAction} from '../../../../../../types/editor/playground-action'; +import {SelectedElement} from '../../../../../../types/editor/selected-element'; + +import {InitTemplate} from '../../../../../../utils/editor/create-slides.utils'; +import {CloneSlideUtils} from '../../../../../../utils/editor/clone-slide.utils'; +import {AppIcon} from '../../../../../core/app-icon/app-icon'; @Component({ tag: 'app-actions-element', diff --git a/studio/src/app/components/editor/app-close-menu/app-close-menu.scss b/studio/src/app/components/editor/deck/app-close-menu/app-close-menu.scss similarity index 100% rename from studio/src/app/components/editor/app-close-menu/app-close-menu.scss rename to studio/src/app/components/editor/deck/app-close-menu/app-close-menu.scss diff --git a/studio/src/app/components/editor/app-close-menu/app-close-menu.tsx b/studio/src/app/components/editor/deck/app-close-menu/app-close-menu.tsx similarity index 83% rename from studio/src/app/components/editor/app-close-menu/app-close-menu.tsx rename to studio/src/app/components/editor/deck/app-close-menu/app-close-menu.tsx index 0e023ce81..b22e04256 100644 --- a/studio/src/app/components/editor/app-close-menu/app-close-menu.tsx +++ b/studio/src/app/components/editor/deck/app-close-menu/app-close-menu.tsx @@ -1,7 +1,7 @@ import {Component, EventEmitter, h, Host, Event} from '@stencil/core'; -import i18n from '../../../stores/i18n.store'; -import {AppIcon} from '../../core/app-icon/app-icon'; +import i18n from '../../../../stores/i18n.store'; +import {AppIcon} from '../../../core/app-icon/app-icon'; @Component({ tag: 'app-close-menu', diff --git a/studio/src/app/components/editor/app-playground-placeholder/app-playground-placeholder.scss b/studio/src/app/components/editor/deck/app-playground-placeholder/app-playground-placeholder.scss similarity index 100% rename from studio/src/app/components/editor/app-playground-placeholder/app-playground-placeholder.scss rename to studio/src/app/components/editor/deck/app-playground-placeholder/app-playground-placeholder.scss diff --git a/studio/src/app/components/editor/app-playground-placeholder/app-playground-placeholder.tsx b/studio/src/app/components/editor/deck/app-playground-placeholder/app-playground-placeholder.tsx similarity index 100% rename from studio/src/app/components/editor/app-playground-placeholder/app-playground-placeholder.tsx rename to studio/src/app/components/editor/deck/app-playground-placeholder/app-playground-placeholder.tsx diff --git a/studio/src/app/components/editor/app-select-target-element/app-select-target-element.scss b/studio/src/app/components/editor/deck/app-select-target-element/app-select-target-element.scss similarity index 100% rename from studio/src/app/components/editor/app-select-target-element/app-select-target-element.scss rename to studio/src/app/components/editor/deck/app-select-target-element/app-select-target-element.scss diff --git a/studio/src/app/components/editor/app-select-target-element/app-select-target-element.tsx b/studio/src/app/components/editor/deck/app-select-target-element/app-select-target-element.tsx similarity index 97% rename from studio/src/app/components/editor/app-select-target-element/app-select-target-element.tsx rename to studio/src/app/components/editor/deck/app-select-target-element/app-select-target-element.tsx index d1ee31c49..895b926e9 100644 --- a/studio/src/app/components/editor/app-select-target-element/app-select-target-element.tsx +++ b/studio/src/app/components/editor/deck/app-select-target-element/app-select-target-element.tsx @@ -1,8 +1,8 @@ import {Component, Event, EventEmitter, h, Prop} from '@stencil/core'; -import i18n from '../../../stores/i18n.store'; +import i18n from '../../../../stores/i18n.store'; -import {TargetElement} from '../../../types/editor/target-element'; +import {TargetElement} from '../../../../types/editor/target-element'; @Component({ tag: 'app-select-target-element', diff --git a/studio/src/app/components/editor/app-share-options/app-share-options.scss b/studio/src/app/components/editor/deck/app-share-options/app-share-options.scss similarity index 100% rename from studio/src/app/components/editor/app-share-options/app-share-options.scss rename to studio/src/app/components/editor/deck/app-share-options/app-share-options.scss diff --git a/studio/src/app/components/editor/app-share-options/app-share-options.tsx b/studio/src/app/components/editor/deck/app-share-options/app-share-options.tsx similarity index 88% rename from studio/src/app/components/editor/app-share-options/app-share-options.tsx rename to studio/src/app/components/editor/deck/app-share-options/app-share-options.tsx index 8b5e9c242..2965aed2d 100644 --- a/studio/src/app/components/editor/app-share-options/app-share-options.tsx +++ b/studio/src/app/components/editor/deck/app-share-options/app-share-options.tsx @@ -1,9 +1,9 @@ import {Component, Event, EventEmitter, h, Host} from '@stencil/core'; -import store from '../../../stores/deck.store'; -import i18n from '../../../stores/i18n.store'; +import store from '../../../../stores/deck.store'; +import i18n from '../../../../stores/i18n.store'; -import {MoreAction} from '../../../types/editor/more-action'; +import {MoreAction} from '../../../../types/editor/more-action'; @Component({ tag: 'app-share-options', diff --git a/studio/src/app/components/editor/app-slot-type/app-slot-type.scss b/studio/src/app/components/editor/deck/app-slot-type/app-slot-type.scss similarity index 100% rename from studio/src/app/components/editor/app-slot-type/app-slot-type.scss rename to studio/src/app/components/editor/deck/app-slot-type/app-slot-type.scss diff --git a/studio/src/app/components/editor/app-slot-type/app-slot-type.tsx b/studio/src/app/components/editor/deck/app-slot-type/app-slot-type.tsx similarity index 96% rename from studio/src/app/components/editor/app-slot-type/app-slot-type.tsx rename to studio/src/app/components/editor/deck/app-slot-type/app-slot-type.tsx index 98a5d0a85..84caa031f 100644 --- a/studio/src/app/components/editor/app-slot-type/app-slot-type.tsx +++ b/studio/src/app/components/editor/deck/app-slot-type/app-slot-type.tsx @@ -1,12 +1,12 @@ import {Component, Event, EventEmitter, Fragment, h, JSX, Prop, State} from '@stencil/core'; -import i18n from '../../../stores/i18n.store'; +import i18n from '../../../../stores/i18n.store'; -import {SlotType} from '../../../types/editor/slot-type'; +import {SlotType} from '../../../../types/editor/slot-type'; -import {SlotUtils} from '../../../utils/editor/slot.utils'; +import {SlotUtils} from '../../../../utils/editor/slot.utils'; -import {AppIcon} from '../../core/app-icon/app-icon'; +import {AppIcon} from '../../../core/app-icon/app-icon'; @Component({ tag: 'app-slot-type', diff --git a/studio/src/app/components/editor/publish/app-publish-done/app-publish-done.scss b/studio/src/app/components/editor/deck/publish/app-publish-done/app-publish-done.scss similarity index 100% rename from studio/src/app/components/editor/publish/app-publish-done/app-publish-done.scss rename to studio/src/app/components/editor/deck/publish/app-publish-done/app-publish-done.scss diff --git a/studio/src/app/components/editor/publish/app-publish-done/app-publish-done.tsx b/studio/src/app/components/editor/deck/publish/app-publish-done/app-publish-done.tsx similarity index 86% rename from studio/src/app/components/editor/publish/app-publish-done/app-publish-done.tsx rename to studio/src/app/components/editor/deck/publish/app-publish-done/app-publish-done.tsx index adff97df7..f6a5ca3e9 100644 --- a/studio/src/app/components/editor/publish/app-publish-done/app-publish-done.tsx +++ b/studio/src/app/components/editor/deck/publish/app-publish-done/app-publish-done.tsx @@ -1,14 +1,14 @@ import {Component, Element, h, Prop, State} from '@stencil/core'; -import deckStore from '../../../../stores/deck.store'; -import userStore from '../../../../stores/user.store'; -import shareStore from '../../../../stores/share.store'; -import authStore from '../../../../stores/auth.store'; -import i18n from '../../../../stores/i18n.store'; +import deckStore from '../../../../../stores/deck.store'; +import userStore from '../../../../../stores/user.store'; +import shareStore from '../../../../../stores/share.store'; +import authStore from '../../../../../stores/auth.store'; +import i18n from '../../../../../stores/i18n.store'; -import {renderI18n} from '../../../../utils/core/i18n.utils'; +import {renderI18n} from '../../../../../utils/core/i18n.utils'; -import {AppIcon} from '../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../core/app-icon/app-icon'; @Component({ tag: 'app-publish-done', diff --git a/studio/src/app/components/editor/publish/app-publish-edit/app-publish-edit.scss b/studio/src/app/components/editor/deck/publish/app-publish-edit/app-publish-edit.scss similarity index 100% rename from studio/src/app/components/editor/publish/app-publish-edit/app-publish-edit.scss rename to studio/src/app/components/editor/deck/publish/app-publish-edit/app-publish-edit.scss diff --git a/studio/src/app/components/editor/publish/app-publish-edit/app-publish-edit.tsx b/studio/src/app/components/editor/deck/publish/app-publish-edit/app-publish-edit.tsx similarity index 95% rename from studio/src/app/components/editor/publish/app-publish-edit/app-publish-edit.tsx rename to studio/src/app/components/editor/deck/publish/app-publish-edit/app-publish-edit.tsx index 02438918e..49ff75a53 100644 --- a/studio/src/app/components/editor/publish/app-publish-edit/app-publish-edit.tsx +++ b/studio/src/app/components/editor/deck/publish/app-publish-edit/app-publish-edit.tsx @@ -4,19 +4,19 @@ import {isSlide} from '@deckdeckgo/deck-utils'; import {Deck} from '@deckdeckgo/editor'; -import deckStore from '../../../../stores/deck.store'; -import errorStore from '../../../../stores/error.store'; -import authStore from '../../../../stores/auth.store'; -import i18n from '../../../../stores/i18n.store'; +import deckStore from '../../../../../stores/deck.store'; +import errorStore from '../../../../../stores/error.store'; +import authStore from '../../../../../stores/auth.store'; +import i18n from '../../../../../stores/i18n.store'; -import {Constants} from '../../../../types/core/constants'; +import {Constants} from '../../../../../types/core/constants'; -import {publish} from '../../../../providers/publish/publish.provider'; +import {publish} from '../../../../../providers/publish/publish.provider'; -import {getPublishedUrl} from '../../../../utils/core/share.utils'; -import {renderI18n} from '../../../../utils/core/i18n.utils'; +import {getPublishedUrl} from '../../../../../utils/core/share.utils'; +import {renderI18n} from '../../../../../utils/core/i18n.utils'; -import {AppIcon} from '../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../core/app-icon/app-icon'; interface CustomInputEvent extends KeyboardEvent { data: string | null; diff --git a/studio/src/app/components/editor/publish/app-publish-tags/app-publish-tags.scss b/studio/src/app/components/editor/deck/publish/app-publish-tags/app-publish-tags.scss similarity index 100% rename from studio/src/app/components/editor/publish/app-publish-tags/app-publish-tags.scss rename to studio/src/app/components/editor/deck/publish/app-publish-tags/app-publish-tags.scss diff --git a/studio/src/app/components/editor/publish/app-publish-tags/app-publish-tags.tsx b/studio/src/app/components/editor/deck/publish/app-publish-tags/app-publish-tags.tsx similarity index 90% rename from studio/src/app/components/editor/publish/app-publish-tags/app-publish-tags.tsx rename to studio/src/app/components/editor/deck/publish/app-publish-tags/app-publish-tags.tsx index a3cc4433e..b70dd4c9e 100644 --- a/studio/src/app/components/editor/publish/app-publish-tags/app-publish-tags.tsx +++ b/studio/src/app/components/editor/deck/publish/app-publish-tags/app-publish-tags.tsx @@ -1,8 +1,8 @@ import {Component, EventEmitter, Prop, Event, h} from '@stencil/core'; -import i18n from '../../../../stores/i18n.store'; +import i18n from '../../../../../stores/i18n.store'; -import {AppIcon} from '../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../core/app-icon/app-icon'; @Component({ tag: 'app-publish-tags', diff --git a/studio/src/app/components/editor/slide/app-slide-preview/app-slide-preview.scss b/studio/src/app/components/editor/deck/slide/app-slide-preview/app-slide-preview.scss similarity index 100% rename from studio/src/app/components/editor/slide/app-slide-preview/app-slide-preview.scss rename to studio/src/app/components/editor/deck/slide/app-slide-preview/app-slide-preview.scss diff --git a/studio/src/app/components/editor/slide/app-slide-preview/app-slide-preview.tsx b/studio/src/app/components/editor/deck/slide/app-slide-preview/app-slide-preview.tsx similarity index 98% rename from studio/src/app/components/editor/slide/app-slide-preview/app-slide-preview.tsx rename to studio/src/app/components/editor/deck/slide/app-slide-preview/app-slide-preview.tsx index 3caf18997..f96614f30 100644 --- a/studio/src/app/components/editor/slide/app-slide-preview/app-slide-preview.tsx +++ b/studio/src/app/components/editor/deck/slide/app-slide-preview/app-slide-preview.tsx @@ -4,7 +4,7 @@ import {isSlide} from '@deckdeckgo/deck-utils'; import {debounce, isIOS, isLandscape} from '@deckdeckgo/utils'; import {selectSlide} from '@deckdeckgo/editor'; -import {SlotUtils} from '../../../../utils/editor/slot.utils'; +import {SlotUtils} from '../../../../../utils/editor/slot.utils'; @Component({ tag: 'app-slide-preview', diff --git a/studio/src/app/components/editor/slide/app-slide-thumbnail/app-slide-thumbnail.scss b/studio/src/app/components/editor/deck/slide/app-slide-thumbnail/app-slide-thumbnail.scss similarity index 79% rename from studio/src/app/components/editor/slide/app-slide-thumbnail/app-slide-thumbnail.scss rename to studio/src/app/components/editor/deck/slide/app-slide-thumbnail/app-slide-thumbnail.scss index cd1ba61d1..3965f3b0e 100644 --- a/studio/src/app/components/editor/slide/app-slide-thumbnail/app-slide-thumbnail.scss +++ b/studio/src/app/components/editor/deck/slide/app-slide-thumbnail/app-slide-thumbnail.scss @@ -1,5 +1,5 @@ -@use "../../../../../global/theme/mixins/editor"; -@use "../../../../../global/theme/mixins/deck"; +@use "../../../../../../global/theme/mixins/editor"; +@use "../../../../../../global/theme/mixins/deck"; app-slide-thumbnail { display: block; diff --git a/studio/src/app/components/editor/slide/app-slide-thumbnail/app-slide-thumbnail.tsx b/studio/src/app/components/editor/deck/slide/app-slide-thumbnail/app-slide-thumbnail.tsx similarity index 100% rename from studio/src/app/components/editor/slide/app-slide-thumbnail/app-slide-thumbnail.tsx rename to studio/src/app/components/editor/deck/slide/app-slide-thumbnail/app-slide-thumbnail.tsx diff --git a/studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.scss b/studio/src/app/components/editor/deck/slide/app-slide-warning/app-slide-warning.scss similarity index 100% rename from studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.scss rename to studio/src/app/components/editor/deck/slide/app-slide-warning/app-slide-warning.scss diff --git a/studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.tsx b/studio/src/app/components/editor/deck/slide/app-slide-warning/app-slide-warning.tsx similarity index 95% rename from studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.tsx rename to studio/src/app/components/editor/deck/slide/app-slide-warning/app-slide-warning.tsx index 9f8af4494..b7b0ac164 100644 --- a/studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.tsx +++ b/studio/src/app/components/editor/deck/slide/app-slide-warning/app-slide-warning.tsx @@ -5,15 +5,15 @@ import {popoverController} from '@ionic/core'; import {debounce} from '@deckdeckgo/utils'; import {selectSlide} from '@deckdeckgo/editor'; -import i18n from '../../../../stores/i18n.store'; +import i18n from '../../../../../stores/i18n.store'; -import settingsStore from '../../../../stores/settings.store'; +import settingsStore from '../../../../../stores/settings.store'; -import {ContrastUtils} from '../../../../utils/editor/contrast.utils'; -import {NodeUtils} from '../../../../utils/editor/node.utils'; -import {SlotUtils} from '../../../../utils/editor/slot.utils'; +import {ContrastUtils} from '../../../../../utils/editor/contrast.utils'; +import {NodeUtils} from '../../../../../utils/editor/node.utils'; +import {SlotUtils} from '../../../../../utils/editor/slot.utils'; -import {AppIcon} from '../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../core/app-icon/app-icon'; @Component({ tag: 'app-slide-warning', diff --git a/studio/src/app/components/editor/templates/app-no-templates/app-no-templates.scss b/studio/src/app/components/editor/deck/slide/templates/app-no-templates/app-no-templates.scss similarity index 100% rename from studio/src/app/components/editor/templates/app-no-templates/app-no-templates.scss rename to studio/src/app/components/editor/deck/slide/templates/app-no-templates/app-no-templates.scss diff --git a/studio/src/app/components/editor/templates/app-no-templates/app-no-templates.tsx b/studio/src/app/components/editor/deck/slide/templates/app-no-templates/app-no-templates.tsx similarity index 82% rename from studio/src/app/components/editor/templates/app-no-templates/app-no-templates.tsx rename to studio/src/app/components/editor/deck/slide/templates/app-no-templates/app-no-templates.tsx index 7bdfde480..647b706e3 100644 --- a/studio/src/app/components/editor/templates/app-no-templates/app-no-templates.tsx +++ b/studio/src/app/components/editor/deck/slide/templates/app-no-templates/app-no-templates.tsx @@ -1,8 +1,8 @@ import {Component, h} from '@stencil/core'; -import i18n from '../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {renderI18n} from '../../../../utils/core/i18n.utils'; +import {renderI18n} from '../../../../../../utils/core/i18n.utils'; @Component({ tag: 'app-no-templates', diff --git a/studio/src/app/components/editor/templates/app-templates-community/app-templates-community.tsx b/studio/src/app/components/editor/deck/slide/templates/app-templates-community/app-templates-community.tsx similarity index 89% rename from studio/src/app/components/editor/templates/app-templates-community/app-templates-community.tsx rename to studio/src/app/components/editor/deck/slide/templates/app-templates-community/app-templates-community.tsx index c84822bfe..b6c2c3837 100644 --- a/studio/src/app/components/editor/templates/app-templates-community/app-templates-community.tsx +++ b/studio/src/app/components/editor/deck/slide/templates/app-templates-community/app-templates-community.tsx @@ -2,7 +2,7 @@ import {Component, Event, EventEmitter, h} from '@stencil/core'; import {Template} from '@deckdeckgo/editor'; -import templatesStore from '../../../../stores/templates.store'; +import templatesStore from '../../../../../../stores/templates.store'; @Component({ tag: 'app-templates-community' diff --git a/studio/src/app/components/editor/templates/app-templates-user/app-templates-user.scss b/studio/src/app/components/editor/deck/slide/templates/app-templates-user/app-templates-user.scss similarity index 71% rename from studio/src/app/components/editor/templates/app-templates-user/app-templates-user.scss rename to studio/src/app/components/editor/deck/slide/templates/app-templates-user/app-templates-user.scss index ce1fedf06..1e60494aa 100644 --- a/studio/src/app/components/editor/templates/app-templates-user/app-templates-user.scss +++ b/studio/src/app/components/editor/deck/slide/templates/app-templates-user/app-templates-user.scss @@ -1,4 +1,4 @@ -@use "../../../../../global/theme/mixins/editor"; +@use "../../../../../../../global/theme/mixins/editor"; app-templates-user { div.info { diff --git a/studio/src/app/components/editor/templates/app-templates-user/app-templates-user.tsx b/studio/src/app/components/editor/deck/slide/templates/app-templates-user/app-templates-user.tsx similarity index 79% rename from studio/src/app/components/editor/templates/app-templates-user/app-templates-user.tsx rename to studio/src/app/components/editor/deck/slide/templates/app-templates-user/app-templates-user.tsx index cc9a498c8..d9ee8907a 100644 --- a/studio/src/app/components/editor/templates/app-templates-user/app-templates-user.tsx +++ b/studio/src/app/components/editor/deck/slide/templates/app-templates-user/app-templates-user.tsx @@ -1,17 +1,17 @@ import {Component, Event, EventEmitter, Fragment, h} from '@stencil/core'; -import errorStore from '../../../../stores/error.store'; -import templatesStore from '../../../../stores/templates.store'; -import i18n from '../../../../stores/i18n.store'; +import errorStore from '../../../../../../stores/error.store'; +import templatesStore from '../../../../../../stores/templates.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {signIn} from '../../../../utils/core/signin.utils'; +import {signIn} from '../../../../../../utils/core/signin.utils'; import {Template} from '@deckdeckgo/editor'; -import authStore from '../../../../stores/auth.store'; +import authStore from '../../../../../../stores/auth.store'; -import {renderI18n} from '../../../../utils/core/i18n.utils'; -import {initTemplates} from '../../../../providers/data/template/template.provider'; +import {renderI18n} from '../../../../../../utils/core/i18n.utils'; +import {initTemplates} from '../../../../../../providers/data/template/template.provider'; @Component({ tag: 'app-templates-user', diff --git a/studio/src/app/components/editor/templates/platform/app-templates-charts/app-templates-charts.tsx b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-charts/app-templates-charts.tsx similarity index 98% rename from studio/src/app/components/editor/templates/platform/app-templates-charts/app-templates-charts.tsx rename to studio/src/app/components/editor/deck/slide/templates/platform/app-templates-charts/app-templates-charts.tsx index 96ad8f5a2..b4d605bc6 100644 --- a/studio/src/app/components/editor/templates/platform/app-templates-charts/app-templates-charts.tsx +++ b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-charts/app-templates-charts.tsx @@ -1,7 +1,7 @@ import {Component, Element, Event, EventEmitter, h} from '@stencil/core'; -import assetsStore from '../../../../../stores/assets.store'; -import i18n from '../../../../../stores/i18n.store'; +import assetsStore from '../../../../../../../stores/assets.store'; +import i18n from '../../../../../../../stores/i18n.store'; import {SlideAttributes, SlideChartType, SlideTemplate} from '@deckdeckgo/editor'; diff --git a/studio/src/app/components/editor/templates/platform/app-templates-content/app-templates-content.tsx b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-content/app-templates-content.tsx similarity index 100% rename from studio/src/app/components/editor/templates/platform/app-templates-content/app-templates-content.tsx rename to studio/src/app/components/editor/deck/slide/templates/platform/app-templates-content/app-templates-content.tsx diff --git a/studio/src/app/components/editor/templates/platform/app-templates-default/app-templates-default.tsx b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-default/app-templates-default.tsx similarity index 93% rename from studio/src/app/components/editor/templates/platform/app-templates-default/app-templates-default.tsx rename to studio/src/app/components/editor/deck/slide/templates/platform/app-templates-default/app-templates-default.tsx index 37dba2c5e..a8ea76f5a 100644 --- a/studio/src/app/components/editor/templates/platform/app-templates-default/app-templates-default.tsx +++ b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-default/app-templates-default.tsx @@ -2,20 +2,20 @@ import {Component, Element, Event, EventEmitter, Fragment, h} from '@stencil/cor import {SlideAttributes, SlideSplitType, SlideTemplate, Template} from '@deckdeckgo/editor'; -import userStore from '../../../../../stores/user.store'; -import assetsStore from '../../../../../stores/assets.store'; -import i18n from '../../../../../stores/i18n.store'; -import offlineStore from '../../../../../stores/offline.store'; +import userStore from '../../../../../../../stores/user.store'; +import assetsStore from '../../../../../../../stores/assets.store'; +import i18n from '../../../../../../../stores/i18n.store'; +import offlineStore from '../../../../../../../stores/offline.store'; -import {InitTemplate} from '../../../../../utils/editor/create-slides.utils'; -import {tenor} from '../../../../../utils/core/environment.utils'; +import {InitTemplate} from '../../../../../../../utils/editor/create-slides.utils'; +import {tenor} from '../../../../../../../utils/core/environment.utils'; -import {EnvironmentConfigService} from '../../../../../services/environment/environment-config.service'; +import {EnvironmentConfigService} from '../../../../../../../services/environment/environment-config.service'; -import {EnvironmentDeckDeckGoConfig} from '../../../../../types/core/environment-config'; +import {EnvironmentDeckDeckGoConfig} from '../../../../../../../types/core/environment-config'; import {AppTemplatesFixed} from '../app-templates-fixed/app-templates-fixed'; -import {AppIcon} from '../../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../../../core/app-icon/app-icon'; @Component({ tag: 'app-templates-default' diff --git a/studio/src/app/components/editor/templates/platform/app-templates-fixed/app-templates-fixed.tsx b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-fixed/app-templates-fixed.tsx similarity index 95% rename from studio/src/app/components/editor/templates/platform/app-templates-fixed/app-templates-fixed.tsx rename to studio/src/app/components/editor/deck/slide/templates/platform/app-templates-fixed/app-templates-fixed.tsx index 78aa1af5d..be9c9728f 100644 --- a/studio/src/app/components/editor/templates/platform/app-templates-fixed/app-templates-fixed.tsx +++ b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-fixed/app-templates-fixed.tsx @@ -2,7 +2,7 @@ import {FunctionalComponent, Fragment, h} from '@stencil/core'; import {SlideTemplate} from '@deckdeckgo/editor'; -import {InitTemplate} from '../../../../../utils/editor/create-slides.utils'; +import {InitTemplate} from '../../../../../../../utils/editor/create-slides.utils'; interface AppTemplatesFixedProps { selected?: 'title' | 'content-default' | 'content-bottom' | 'split-horizontal' | 'split-vertical'; diff --git a/studio/src/app/components/editor/templates/platform/app-templates-split/app-templates-split.tsx b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-split/app-templates-split.tsx similarity index 100% rename from studio/src/app/components/editor/templates/platform/app-templates-split/app-templates-split.tsx rename to studio/src/app/components/editor/deck/slide/templates/platform/app-templates-split/app-templates-split.tsx diff --git a/studio/src/app/components/editor/templates/platform/app-templates-title/app-templates-title.tsx b/studio/src/app/components/editor/deck/slide/templates/platform/app-templates-title/app-templates-title.tsx similarity index 100% rename from studio/src/app/components/editor/templates/platform/app-templates-title/app-templates-title.tsx rename to studio/src/app/components/editor/deck/slide/templates/platform/app-templates-title/app-templates-title.tsx diff --git a/studio/src/app/components/editor/styles/app-color-text-background/app-color-text-background.tsx b/studio/src/app/components/editor/deck/styles/app-color-text-background/app-color-text-background.tsx similarity index 90% rename from studio/src/app/components/editor/styles/app-color-text-background/app-color-text-background.tsx rename to studio/src/app/components/editor/deck/styles/app-color-text-background/app-color-text-background.tsx index adca881da..3938c14e3 100644 --- a/studio/src/app/components/editor/styles/app-color-text-background/app-color-text-background.tsx +++ b/studio/src/app/components/editor/deck/styles/app-color-text-background/app-color-text-background.tsx @@ -1,13 +1,13 @@ import {Component, Element, Event, EventEmitter, h, Prop} from '@stencil/core'; -import settingsStore from '../../../../stores/settings.store'; -import i18n from '../../../../stores/i18n.store'; +import settingsStore from '../../../../../stores/settings.store'; +import i18n from '../../../../../stores/i18n.store'; -import {ColorUtils, InitStyleColor} from '../../../../utils/editor/color.utils'; -import {SettingsUtils} from '../../../../utils/core/settings.utils'; -import {setStyle} from '../../../../utils/editor/undo-redo.utils'; +import {ColorUtils, InitStyleColor} from '../../../../../utils/editor/color.utils'; +import {SettingsUtils} from '../../../../../utils/core/settings.utils'; +import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; -import {Expanded} from '../../../../types/core/settings'; +import {Expanded} from '../../../../../types/core/settings'; @Component({ tag: 'app-color-text-background' diff --git a/studio/src/app/components/editor/styles/app-color/app-color.scss b/studio/src/app/components/editor/deck/styles/app-color/app-color.scss similarity index 100% rename from studio/src/app/components/editor/styles/app-color/app-color.scss rename to studio/src/app/components/editor/deck/styles/app-color/app-color.scss diff --git a/studio/src/app/components/editor/styles/app-color/app-color.tsx b/studio/src/app/components/editor/deck/styles/app-color/app-color.tsx similarity index 96% rename from studio/src/app/components/editor/styles/app-color/app-color.tsx rename to studio/src/app/components/editor/deck/styles/app-color/app-color.tsx index 1174c277c..088ab0a92 100644 --- a/studio/src/app/components/editor/styles/app-color/app-color.tsx +++ b/studio/src/app/components/editor/deck/styles/app-color/app-color.tsx @@ -5,15 +5,15 @@ import type {RangeChangeEventDetail} from '@ionic/core'; import {debounce, extractRgb, hexToRgb, rgbToHex} from '@deckdeckgo/utils'; import {DeckdeckgoPaletteColor, DeckdeckgoPalette} from '@deckdeckgo/color'; -import colorStore from '../../../../stores/color.store'; -import i18n from '../../../../stores/i18n.store'; -import settingsStore from '../../../../stores/settings.store'; +import colorStore from '../../../../../stores/color.store'; +import i18n from '../../../../../stores/i18n.store'; +import settingsStore from '../../../../../stores/settings.store'; -import {ColorUtils, InitStyleColor} from '../../../../utils/editor/color.utils'; +import {ColorUtils, InitStyleColor} from '../../../../../utils/editor/color.utils'; -import {EditMode} from '../../../../types/core/settings'; +import {EditMode} from '../../../../../types/core/settings'; -import {AppIcon} from '../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../core/app-icon/app-icon'; @Component({ tag: 'app-color', diff --git a/studio/src/app/components/editor/styles/app-expansion-panel/app-expansion-panel.scss b/studio/src/app/components/editor/deck/styles/app-expansion-panel/app-expansion-panel.scss similarity index 94% rename from studio/src/app/components/editor/styles/app-expansion-panel/app-expansion-panel.scss rename to studio/src/app/components/editor/deck/styles/app-expansion-panel/app-expansion-panel.scss index 84608f78e..c9c23cea7 100644 --- a/studio/src/app/components/editor/styles/app-expansion-panel/app-expansion-panel.scss +++ b/studio/src/app/components/editor/deck/styles/app-expansion-panel/app-expansion-panel.scss @@ -1,4 +1,4 @@ -@use "../../../../../global/theme/mixins/editor"; +@use "../../../../../../global/theme/mixins/editor"; app-expansion-panel { display: block; diff --git a/studio/src/app/components/editor/styles/app-expansion-panel/app-expansion-panel.tsx b/studio/src/app/components/editor/deck/styles/app-expansion-panel/app-expansion-panel.tsx similarity index 95% rename from studio/src/app/components/editor/styles/app-expansion-panel/app-expansion-panel.tsx rename to studio/src/app/components/editor/deck/styles/app-expansion-panel/app-expansion-panel.tsx index 438089bbc..fad53b74b 100644 --- a/studio/src/app/components/editor/styles/app-expansion-panel/app-expansion-panel.tsx +++ b/studio/src/app/components/editor/deck/styles/app-expansion-panel/app-expansion-panel.tsx @@ -1,8 +1,8 @@ import {Component, h, Prop, Event, EventEmitter} from '@stencil/core'; -import {Expanded} from '../../../../types/core/settings'; +import {Expanded} from '../../../../../types/core/settings'; -import {AppIcon} from '../../../core/app-icon/app-icon'; +import {AppIcon} from '../../../../core/app-icon/app-icon'; @Component({ tag: 'app-expansion-panel', diff --git a/studio/src/app/components/editor/styles/deck/app-deck-fonts/app-deck-fonts.scss b/studio/src/app/components/editor/deck/styles/deck/app-deck-fonts/app-deck-fonts.scss similarity index 94% rename from studio/src/app/components/editor/styles/deck/app-deck-fonts/app-deck-fonts.scss rename to studio/src/app/components/editor/deck/styles/deck/app-deck-fonts/app-deck-fonts.scss index 06b66eef9..ceddc872a 100644 --- a/studio/src/app/components/editor/styles/deck/app-deck-fonts/app-deck-fonts.scss +++ b/studio/src/app/components/editor/deck/styles/deck/app-deck-fonts/app-deck-fonts.scss @@ -1,4 +1,4 @@ -@use "../../../../../../global/theme/mixins/editor"; +@use "../../../../../../../global/theme/mixins/editor"; app-deck-fonts { div.container { diff --git a/studio/src/app/components/editor/styles/deck/app-deck-fonts/app-deck-fonts.tsx b/studio/src/app/components/editor/deck/styles/deck/app-deck-fonts/app-deck-fonts.tsx similarity index 93% rename from studio/src/app/components/editor/styles/deck/app-deck-fonts/app-deck-fonts.tsx rename to studio/src/app/components/editor/deck/styles/deck/app-deck-fonts/app-deck-fonts.tsx index 2b1b8ee63..7f3406eb3 100644 --- a/studio/src/app/components/editor/styles/deck/app-deck-fonts/app-deck-fonts.tsx +++ b/studio/src/app/components/editor/deck/styles/deck/app-deck-fonts/app-deck-fonts.tsx @@ -1,10 +1,10 @@ import {Component, Event, EventEmitter, h, Prop, State} from '@stencil/core'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {FontsService} from '../../../../../services/editor/fonts/fonts.service'; +import {FontsService} from '../../../../../../services/editor/fonts/fonts.service'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; @Component({ tag: 'app-deck-fonts', diff --git a/studio/src/app/components/editor/styles/deck/app-deck-header-footer/app-deck-header-footer.scss b/studio/src/app/components/editor/deck/styles/deck/app-deck-header-footer/app-deck-header-footer.scss similarity index 100% rename from studio/src/app/components/editor/styles/deck/app-deck-header-footer/app-deck-header-footer.scss rename to studio/src/app/components/editor/deck/styles/deck/app-deck-header-footer/app-deck-header-footer.scss diff --git a/studio/src/app/components/editor/styles/deck/app-deck-header-footer/app-deck-header-footer.tsx b/studio/src/app/components/editor/deck/styles/deck/app-deck-header-footer/app-deck-header-footer.tsx similarity index 95% rename from studio/src/app/components/editor/styles/deck/app-deck-header-footer/app-deck-header-footer.tsx rename to studio/src/app/components/editor/deck/styles/deck/app-deck-header-footer/app-deck-header-footer.tsx index f6196fac2..489aa0d8a 100644 --- a/studio/src/app/components/editor/styles/deck/app-deck-header-footer/app-deck-header-footer.tsx +++ b/studio/src/app/components/editor/deck/styles/deck/app-deck-header-footer/app-deck-header-footer.tsx @@ -1,14 +1,14 @@ import {Component, Element, h, Prop, Host, JSX, EventEmitter, State, Event} from '@stencil/core'; -import userStore from '../../../../../stores/user.store'; -import authStore from '../../../../../stores/auth.store'; -import i18n from '../../../../../stores/i18n.store'; +import userStore from '../../../../../../stores/user.store'; +import authStore from '../../../../../../stores/auth.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {SocialUtils} from '../../../../../utils/editor/social.utils'; -import {HeaderFooterUtils} from '../../../../../utils/editor/header-footer.utils'; -import navStore, {NavDirection} from '../../../../../stores/nav.store'; +import {SocialUtils} from '../../../../../../utils/editor/social.utils'; +import {HeaderFooterUtils} from '../../../../../../utils/editor/header-footer.utils'; +import navStore, {NavDirection} from '../../../../../../stores/nav.store'; -import {renderI18n} from '../../../../../utils/core/i18n.utils'; +import {renderI18n} from '../../../../../../utils/core/i18n.utils'; @Component({ tag: 'app-deck-header-footer', diff --git a/studio/src/app/components/editor/styles/deck/app-deck-transition/app-deck-transition.scss b/studio/src/app/components/editor/deck/styles/deck/app-deck-transition/app-deck-transition.scss similarity index 100% rename from studio/src/app/components/editor/styles/deck/app-deck-transition/app-deck-transition.scss rename to studio/src/app/components/editor/deck/styles/deck/app-deck-transition/app-deck-transition.scss diff --git a/studio/src/app/components/editor/styles/deck/app-deck-transition/app-deck-transition.tsx b/studio/src/app/components/editor/deck/styles/deck/app-deck-transition/app-deck-transition.tsx similarity index 97% rename from studio/src/app/components/editor/styles/deck/app-deck-transition/app-deck-transition.tsx rename to studio/src/app/components/editor/deck/styles/deck/app-deck-transition/app-deck-transition.tsx index f42e5a007..817f3e91f 100644 --- a/studio/src/app/components/editor/styles/deck/app-deck-transition/app-deck-transition.tsx +++ b/studio/src/app/components/editor/deck/styles/deck/app-deck-transition/app-deck-transition.tsx @@ -1,11 +1,11 @@ import {Component, Element, Event, EventEmitter, Prop, h, State} from '@stencil/core'; -import deckStore from '../../../../../stores/deck.store'; -import i18n from '../../../../../stores/i18n.store'; +import deckStore from '../../../../../../stores/deck.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {DeckAction} from '../../../../../types/editor/deck-action'; +import {DeckAction} from '../../../../../../types/editor/deck-action'; -import {setAttribute} from '../../../../../utils/editor/undo-redo.utils'; +import {setAttribute} from '../../../../../../utils/editor/undo-redo.utils'; @Component({ tag: 'app-deck-transition', diff --git a/studio/src/app/components/editor/styles/element/app-block/app-block.tsx b/studio/src/app/components/editor/deck/styles/element/app-block/app-block.tsx similarity index 95% rename from studio/src/app/components/editor/styles/element/app-block/app-block.tsx rename to studio/src/app/components/editor/deck/styles/element/app-block/app-block.tsx index 58dfbd33c..2fe9d87bb 100644 --- a/studio/src/app/components/editor/styles/element/app-block/app-block.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-block/app-block.tsx @@ -2,14 +2,14 @@ import {Component, Event, EventEmitter, Fragment, h, Prop, State} from '@stencil import type {RangeChangeEventDetail} from '@ionic/core'; -import settingsStore from '../../../../../stores/settings.store'; -import i18n from '../../../../../stores/i18n.store'; +import settingsStore from '../../../../../../stores/settings.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {EditMode, Expanded} from '../../../../../types/core/settings'; -import {SelectedElement} from '../../../../../types/editor/selected-element'; +import {EditMode, Expanded} from '../../../../../../types/core/settings'; +import {SelectedElement} from '../../../../../../types/editor/selected-element'; -import {SettingsUtils} from '../../../../../utils/core/settings.utils'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; +import {SettingsUtils} from '../../../../../../utils/core/settings.utils'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; @Component({ tag: 'app-block' diff --git a/studio/src/app/components/editor/styles/element/app-border-radius/app-border-radius.tsx b/studio/src/app/components/editor/deck/styles/element/app-border-radius/app-border-radius.tsx similarity index 94% rename from studio/src/app/components/editor/styles/element/app-border-radius/app-border-radius.tsx rename to studio/src/app/components/editor/deck/styles/element/app-border-radius/app-border-radius.tsx index e735b7bb4..41a8b6da5 100644 --- a/studio/src/app/components/editor/styles/element/app-border-radius/app-border-radius.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-border-radius/app-border-radius.tsx @@ -2,14 +2,14 @@ import {Component, Event, EventEmitter, h, Prop, State, Fragment} from '@stencil import type {RangeChangeEventDetail} from '@ionic/core'; -import settingsStore from '../../../../../stores/settings.store'; -import i18n from '../../../../../stores/i18n.store'; +import settingsStore from '../../../../../../stores/settings.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {EditMode, Expanded} from '../../../../../types/core/settings'; -import {SelectedElement} from '../../../../../types/editor/selected-element'; +import {EditMode, Expanded} from '../../../../../../types/core/settings'; +import {SelectedElement} from '../../../../../../types/editor/selected-element'; -import {SettingsUtils} from '../../../../../utils/core/settings.utils'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; +import {SettingsUtils} from '../../../../../../utils/core/settings.utils'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; @Component({ tag: 'app-border-radius' diff --git a/studio/src/app/components/editor/styles/element/app-box-shadow/app-box-shadow.tsx b/studio/src/app/components/editor/deck/styles/element/app-box-shadow/app-box-shadow.tsx similarity index 95% rename from studio/src/app/components/editor/styles/element/app-box-shadow/app-box-shadow.tsx rename to studio/src/app/components/editor/deck/styles/element/app-box-shadow/app-box-shadow.tsx index d8fdea437..543a9aabc 100644 --- a/studio/src/app/components/editor/styles/element/app-box-shadow/app-box-shadow.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-box-shadow/app-box-shadow.tsx @@ -2,15 +2,15 @@ import {Component, Event, EventEmitter, h, Prop, State} from '@stencil/core'; import type {RangeChangeEventDetail} from '@ionic/core'; -import settingsStore from '../../../../../stores/settings.store'; -import i18n from '../../../../../stores/i18n.store'; +import settingsStore from '../../../../../../stores/settings.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {ColorUtils, InitStyleColor} from '../../../../../utils/editor/color.utils'; -import {SettingsUtils} from '../../../../../utils/core/settings.utils'; +import {ColorUtils, InitStyleColor} from '../../../../../../utils/editor/color.utils'; +import {SettingsUtils} from '../../../../../../utils/core/settings.utils'; -import {EditMode, Expanded} from '../../../../../types/core/settings'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; -import {SelectedElement} from '../../../../../types/editor/selected-element'; +import {EditMode, Expanded} from '../../../../../../types/core/settings'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; +import {SelectedElement} from '../../../../../../types/editor/selected-element'; @Component({ tag: 'app-box-shadow' diff --git a/studio/src/app/components/editor/styles/element/app-color-code/app-color-code.scss b/studio/src/app/components/editor/deck/styles/element/app-color-code/app-color-code.scss similarity index 100% rename from studio/src/app/components/editor/styles/element/app-color-code/app-color-code.scss rename to studio/src/app/components/editor/deck/styles/element/app-color-code/app-color-code.scss diff --git a/studio/src/app/components/editor/styles/element/app-color-code/app-color-code.tsx b/studio/src/app/components/editor/deck/styles/element/app-color-code/app-color-code.tsx similarity index 98% rename from studio/src/app/components/editor/styles/element/app-color-code/app-color-code.tsx rename to studio/src/app/components/editor/deck/styles/element/app-color-code/app-color-code.tsx index 9fee79bd4..e79ee268d 100644 --- a/studio/src/app/components/editor/styles/element/app-color-code/app-color-code.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-color-code/app-color-code.tsx @@ -1,11 +1,11 @@ import {Component, Event, EventEmitter, h, Prop, State} from '@stencil/core'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; import {DeckdeckgoHighlightCodeCarbonTheme, DeckdeckgoHighlightCodeTerminal} from '@deckdeckgo/highlight-code'; -import {ColorUtils, InitStyleColor} from '../../../../../utils/editor/color.utils'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; +import {ColorUtils, InitStyleColor} from '../../../../../../utils/editor/color.utils'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; enum CodeColorType { COMMENTS, diff --git a/studio/src/app/components/editor/styles/element/app-color-word-cloud/app-color-word-cloud.tsx b/studio/src/app/components/editor/deck/styles/element/app-color-word-cloud/app-color-word-cloud.tsx similarity index 93% rename from studio/src/app/components/editor/styles/element/app-color-word-cloud/app-color-word-cloud.tsx rename to studio/src/app/components/editor/deck/styles/element/app-color-word-cloud/app-color-word-cloud.tsx index c8ccf919a..aa181755d 100644 --- a/studio/src/app/components/editor/styles/element/app-color-word-cloud/app-color-word-cloud.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-color-word-cloud/app-color-word-cloud.tsx @@ -1,9 +1,9 @@ import {Component, Event, EventEmitter, h, Prop, State} from '@stencil/core'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {ColorUtils, InitStyleColor} from '../../../../../utils/editor/color.utils'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; +import {ColorUtils, InitStyleColor} from '../../../../../../utils/editor/color.utils'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; @Component({ tag: 'app-color-word-cloud' diff --git a/studio/src/app/components/editor/styles/element/app-image-style/app-image-style.tsx b/studio/src/app/components/editor/deck/styles/element/app-image-style/app-image-style.tsx similarity index 96% rename from studio/src/app/components/editor/styles/element/app-image-style/app-image-style.tsx rename to studio/src/app/components/editor/deck/styles/element/app-image-style/app-image-style.tsx index b51743643..ff92e2fe0 100644 --- a/studio/src/app/components/editor/styles/element/app-image-style/app-image-style.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-image-style/app-image-style.tsx @@ -2,13 +2,13 @@ import {Component, Element, Prop, State, h, EventEmitter, Event} from '@stencil/ import {isSlide} from '@deckdeckgo/deck-utils'; -import settingsStore from '../../../../../stores/settings.store'; -import i18n from '../../../../../stores/i18n.store'; +import settingsStore from '../../../../../../stores/settings.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {EditMode, Expanded} from '../../../../../types/core/settings'; +import {EditMode, Expanded} from '../../../../../../types/core/settings'; -import {SettingsUtils} from '../../../../../utils/core/settings.utils'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; +import {SettingsUtils} from '../../../../../../utils/core/settings.utils'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; enum ImageSize { SMALL = '25%', diff --git a/studio/src/app/components/editor/styles/element/app-list/app-list.scss b/studio/src/app/components/editor/deck/styles/element/app-list/app-list.scss similarity index 100% rename from studio/src/app/components/editor/styles/element/app-list/app-list.scss rename to studio/src/app/components/editor/deck/styles/element/app-list/app-list.scss diff --git a/studio/src/app/components/editor/styles/element/app-list/app-list.tsx b/studio/src/app/components/editor/deck/styles/element/app-list/app-list.tsx similarity index 90% rename from studio/src/app/components/editor/styles/element/app-list/app-list.tsx rename to studio/src/app/components/editor/deck/styles/element/app-list/app-list.tsx index 361dcccba..f3a562a96 100644 --- a/studio/src/app/components/editor/styles/element/app-list/app-list.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-list/app-list.tsx @@ -1,17 +1,17 @@ import {Component, Event, EventEmitter, h, Prop, State} from '@stencil/core'; -import settingsStore from '../../../../../stores/settings.store'; -import i18n from '../../../../../stores/i18n.store'; -import undoRedoStore from '../../../../../stores/undo-redo.store'; - -import {SlotType} from '../../../../../types/editor/slot-type'; -import {ListStyle} from '../../../../../types/editor/list-style'; -import {EditMode, Expanded} from '../../../../../types/core/settings'; - -import {ListUtils} from '../../../../../utils/editor/list.utils'; -import {SlotUtils} from '../../../../../utils/editor/slot.utils'; -import {SettingsUtils} from '../../../../../utils/core/settings.utils'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; +import settingsStore from '../../../../../../stores/settings.store'; +import i18n from '../../../../../../stores/i18n.store'; +import undoRedoStore from '../../../../../../stores/undo-redo.store'; + +import {SlotType} from '../../../../../../types/editor/slot-type'; +import {ListStyle} from '../../../../../../types/editor/list-style'; +import {EditMode, Expanded} from '../../../../../../types/core/settings'; + +import {ListUtils} from '../../../../../../utils/editor/list.utils'; +import {SlotUtils} from '../../../../../../utils/editor/slot.utils'; +import {SettingsUtils} from '../../../../../../utils/core/settings.utils'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; @Component({ tag: 'app-list', diff --git a/studio/src/app/components/editor/styles/element/app-reveal/app-reveal.scss b/studio/src/app/components/editor/deck/styles/element/app-reveal/app-reveal.scss similarity index 100% rename from studio/src/app/components/editor/styles/element/app-reveal/app-reveal.scss rename to studio/src/app/components/editor/deck/styles/element/app-reveal/app-reveal.scss diff --git a/studio/src/app/components/editor/styles/element/app-reveal/app-reveal.tsx b/studio/src/app/components/editor/deck/styles/element/app-reveal/app-reveal.tsx similarity index 87% rename from studio/src/app/components/editor/styles/element/app-reveal/app-reveal.tsx rename to studio/src/app/components/editor/deck/styles/element/app-reveal/app-reveal.tsx index 0d1791c7d..756f0ee6c 100644 --- a/studio/src/app/components/editor/styles/element/app-reveal/app-reveal.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-reveal/app-reveal.tsx @@ -1,8 +1,8 @@ import {Component, Event, EventEmitter, h, Prop, State} from '@stencil/core'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {SlotUtils} from '../../../../../utils/editor/slot.utils'; +import {SlotUtils} from '../../../../../../utils/editor/slot.utils'; @Component({ tag: 'app-reveal', diff --git a/studio/src/app/components/editor/styles/element/app-text/app-text.tsx b/studio/src/app/components/editor/deck/styles/element/app-text/app-text.tsx similarity index 94% rename from studio/src/app/components/editor/styles/element/app-text/app-text.tsx rename to studio/src/app/components/editor/deck/styles/element/app-text/app-text.tsx index aa80bf54b..53db1d49b 100644 --- a/studio/src/app/components/editor/styles/element/app-text/app-text.tsx +++ b/studio/src/app/components/editor/deck/styles/element/app-text/app-text.tsx @@ -1,17 +1,17 @@ import {Component, Event, EventEmitter, Fragment, h, Prop, State} from '@stencil/core'; -import settingsStore from '../../../../../stores/settings.store'; -import i18n from '../../../../../stores/i18n.store'; +import settingsStore from '../../../../../../stores/settings.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {SettingsUtils} from '../../../../../utils/core/settings.utils'; +import {SettingsUtils} from '../../../../../../utils/core/settings.utils'; -import {EditMode, Expanded} from '../../../../../types/core/settings'; -import {FontSize} from '../../../../../types/editor/font-size'; -import {SelectedElement} from '../../../../../types/editor/selected-element'; +import {EditMode, Expanded} from '../../../../../../types/core/settings'; +import {FontSize} from '../../../../../../types/editor/font-size'; +import {SelectedElement} from '../../../../../../types/editor/selected-element'; -import {AlignUtils, TextAlign} from '../../../../../utils/editor/align.utils'; -import {initFontSize, toggleFontSize} from '../../../../../utils/editor/font-size.utils'; -import {setStyle} from '../../../../../utils/editor/undo-redo.utils'; +import {AlignUtils, TextAlign} from '../../../../../../utils/editor/align.utils'; +import {initFontSize, toggleFontSize} from '../../../../../../utils/editor/font-size.utils'; +import {setStyle} from '../../../../../../utils/editor/undo-redo.utils'; enum LetterSpacing { TIGHTER, diff --git a/studio/src/app/components/editor/styles/image/app-image-choice/app-image-choice.scss b/studio/src/app/components/editor/deck/styles/image/app-image-choice/app-image-choice.scss similarity index 100% rename from studio/src/app/components/editor/styles/image/app-image-choice/app-image-choice.scss rename to studio/src/app/components/editor/deck/styles/image/app-image-choice/app-image-choice.scss diff --git a/studio/src/app/components/editor/styles/image/app-image-choice/app-image-choice.tsx b/studio/src/app/components/editor/deck/styles/image/app-image-choice/app-image-choice.tsx similarity index 86% rename from studio/src/app/components/editor/styles/image/app-image-choice/app-image-choice.tsx rename to studio/src/app/components/editor/deck/styles/image/app-image-choice/app-image-choice.tsx index 257ef98bc..4ca38181c 100644 --- a/studio/src/app/components/editor/styles/image/app-image-choice/app-image-choice.tsx +++ b/studio/src/app/components/editor/deck/styles/image/app-image-choice/app-image-choice.tsx @@ -2,16 +2,16 @@ import {Component, Element, Prop, h, EventEmitter, Event} from '@stencil/core'; import {StorageFile, UnsplashPhoto} from '@deckdeckgo/editor'; -import settingsStore from '../../../../../stores/settings.store'; -import i18n from '../../../../../stores/i18n.store'; -import offlineStore from '../../../../../stores/offline.store'; +import settingsStore from '../../../../../../stores/settings.store'; +import i18n from '../../../../../../stores/i18n.store'; +import offlineStore from '../../../../../../stores/offline.store'; -import {EditAction} from '../../../../../types/editor/edit-action'; -import {ImageAction} from '../../../../../types/editor/image-action'; -import {Expanded} from '../../../../../types/core/settings'; +import {EditAction} from '../../../../../../types/editor/edit-action'; +import {ImageAction} from '../../../../../../types/editor/image-action'; +import {Expanded} from '../../../../../../types/core/settings'; -import {SettingsUtils} from '../../../../../utils/core/settings.utils'; -import {tenor, unsplash} from '../../../../../utils/core/environment.utils'; +import {SettingsUtils} from '../../../../../../utils/core/settings.utils'; +import {tenor, unsplash} from '../../../../../../utils/core/environment.utils'; @Component({ tag: 'app-image-choice', diff --git a/studio/src/app/components/editor/styles/image/app-image-history/app-image-history.scss b/studio/src/app/components/editor/deck/styles/image/app-image-history/app-image-history.scss similarity index 100% rename from studio/src/app/components/editor/styles/image/app-image-history/app-image-history.scss rename to studio/src/app/components/editor/deck/styles/image/app-image-history/app-image-history.scss diff --git a/studio/src/app/components/editor/styles/image/app-image-history/app-image-history.tsx b/studio/src/app/components/editor/deck/styles/image/app-image-history/app-image-history.tsx similarity index 93% rename from studio/src/app/components/editor/styles/image/app-image-history/app-image-history.tsx rename to studio/src/app/components/editor/deck/styles/image/app-image-history/app-image-history.tsx index bb17332f2..962b918bc 100644 --- a/studio/src/app/components/editor/styles/image/app-image-history/app-image-history.tsx +++ b/studio/src/app/components/editor/deck/styles/image/app-image-history/app-image-history.tsx @@ -2,9 +2,9 @@ import {Component, EventEmitter, h, Prop, State, Event} from '@stencil/core'; import {StorageFile, UnsplashPhoto} from '@deckdeckgo/editor'; -import {ImageHistoryService} from '../../../../../services/editor/image-history/image-history.service'; +import {ImageHistoryService} from '../../../../../../services/editor/image-history/image-history.service'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; @Component({ tag: 'app-image-history', diff --git a/studio/src/app/components/editor/styles/slide/app-color-chart/app-color-chart.tsx b/studio/src/app/components/editor/deck/styles/slide/app-color-chart/app-color-chart.tsx similarity index 97% rename from studio/src/app/components/editor/styles/slide/app-color-chart/app-color-chart.tsx rename to studio/src/app/components/editor/deck/styles/slide/app-color-chart/app-color-chart.tsx index c6ac8149c..b9bb48024 100644 --- a/studio/src/app/components/editor/styles/slide/app-color-chart/app-color-chart.tsx +++ b/studio/src/app/components/editor/deck/styles/slide/app-color-chart/app-color-chart.tsx @@ -2,10 +2,10 @@ import {Component, Element, Event, EventEmitter, h, Prop, State} from '@stencil/ import {SlideChartType} from '@deckdeckgo/editor'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {ColorUtils, InitStyleColor} from '../../../../../utils/editor/color.utils'; -import {ChartUtils} from '../../../../../utils/editor/chart.utils'; +import {ColorUtils, InitStyleColor} from '../../../../../../utils/editor/color.utils'; +import {ChartUtils} from '../../../../../../utils/editor/chart.utils'; import {hexToRgb} from '@deckdeckgo/utils'; enum ApplyColorType { diff --git a/studio/src/app/components/editor/styles/slide/app-color-qrcode/app-color-qrcode.tsx b/studio/src/app/components/editor/deck/styles/slide/app-color-qrcode/app-color-qrcode.tsx similarity index 95% rename from studio/src/app/components/editor/styles/slide/app-color-qrcode/app-color-qrcode.tsx rename to studio/src/app/components/editor/deck/styles/slide/app-color-qrcode/app-color-qrcode.tsx index e7384d70b..3d836ed57 100644 --- a/studio/src/app/components/editor/styles/slide/app-color-qrcode/app-color-qrcode.tsx +++ b/studio/src/app/components/editor/deck/styles/slide/app-color-qrcode/app-color-qrcode.tsx @@ -1,8 +1,8 @@ import {Component, Element, Event, EventEmitter, h, Prop, State} from '@stencil/core'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {ColorUtils, InitStyleColor} from '../../../../../utils/editor/color.utils'; +import {ColorUtils, InitStyleColor} from '../../../../../../utils/editor/color.utils'; enum ApplyColorType { QR_CODE, diff --git a/studio/src/app/components/editor/styles/slide/app-color-sides/app-color-sides.tsx b/studio/src/app/components/editor/deck/styles/slide/app-color-sides/app-color-sides.tsx similarity index 97% rename from studio/src/app/components/editor/styles/slide/app-color-sides/app-color-sides.tsx rename to studio/src/app/components/editor/deck/styles/slide/app-color-sides/app-color-sides.tsx index 5ab943ab5..e1f41cee8 100644 --- a/studio/src/app/components/editor/styles/slide/app-color-sides/app-color-sides.tsx +++ b/studio/src/app/components/editor/deck/styles/slide/app-color-sides/app-color-sides.tsx @@ -1,8 +1,8 @@ import {Component, Element, Event, EventEmitter, h, Prop, State} from '@stencil/core'; -import i18n from '../../../../../stores/i18n.store'; +import i18n from '../../../../../../stores/i18n.store'; -import {ColorUtils, InitStyleColor} from '../../../../../utils/editor/color.utils'; +import {ColorUtils, InitStyleColor} from '../../../../../../utils/editor/color.utils'; enum ApplyColorType { FONT, diff --git a/studio/src/app/events/editor/editor/editor.events.ts b/studio/src/app/events/editor/editor/editor.events.ts index bacaced0b..df71791c1 100644 --- a/studio/src/app/events/editor/editor/editor.events.ts +++ b/studio/src/app/events/editor/editor/editor.events.ts @@ -2,9 +2,9 @@ import {redo, undo} from '../../../utils/editor/undo-redo.utils'; export class EditorEvents { private mainRef: HTMLElement; - private actionsEditorRef: HTMLAppActionsEditorElement | undefined; + private actionsEditorRef: HTMLAppActionsDeckEditorElement | undefined; - init({mainRef, actionsEditorRef}: {mainRef: HTMLElement; actionsEditorRef: HTMLAppActionsEditorElement | undefined}): Promise { + init({mainRef, actionsEditorRef}: {mainRef: HTMLElement; actionsEditorRef: HTMLAppActionsDeckEditorElement | undefined}): Promise { return new Promise(async (resolve) => { this.mainRef = mainRef; this.actionsEditorRef = actionsEditorRef; diff --git a/studio/src/app/pages/editor/app-editor/app-editor.tsx b/studio/src/app/pages/editor/app-editor/app-editor.tsx index 1b9ce3320..dc6484ca1 100644 --- a/studio/src/app/pages/editor/app-editor/app-editor.tsx +++ b/studio/src/app/pages/editor/app-editor/app-editor.tsx @@ -115,7 +115,7 @@ export class AppEditor { private destroyAuthListener; private deckRef!: HTMLDeckgoDeckElement; - private actionsEditorRef!: HTMLAppActionsEditorElement; + private actionsEditorRef!: HTMLAppActionsDeckEditorElement; private contentRef!: HTMLElement; private mainRef!: HTMLElement; private breadCrumbsRef!: HTMLAppBreadcrumbsElement; @@ -809,8 +809,8 @@ export class AppEditor { slideNumber={this.activeIndex} onStepTo={($event: CustomEvent) => this.selectStep($event)}> - (this.actionsEditorRef = el as HTMLAppActionsEditorElement)} + (this.actionsEditorRef = el as HTMLAppActionsDeckEditorElement)} hideActions={this.hideActions} fullscreen={this.fullscreen} slides={this.slides} @@ -819,7 +819,7 @@ export class AppEditor { onSlideCopy={($event: CustomEvent) => this.copySlide($event)} onSlideTransform={($event: CustomEvent) => this.transformSlide($event)} onElementFocus={($event: CustomEvent) => this.onElementFocus($event)} - onPresenting={($event: CustomEvent) => this.updatePresenting($event?.detail)}> + onPresenting={($event: CustomEvent) => this.updatePresenting($event?.detail)}> {this.renderSlidePreview()} diff --git a/studio/src/app/popovers/editor/transform/app-transform-slide/app-transform-slide.tsx b/studio/src/app/popovers/editor/transform/app-transform-slide/app-transform-slide.tsx index bff194838..0968d13e3 100644 --- a/studio/src/app/popovers/editor/transform/app-transform-slide/app-transform-slide.tsx +++ b/studio/src/app/popovers/editor/transform/app-transform-slide/app-transform-slide.tsx @@ -4,7 +4,7 @@ import i18n from '../../../../stores/i18n.store'; import {InitTemplate} from '../../../../utils/editor/create-slides.utils'; -import {AppTemplatesFixed} from '../../../../components/editor/templates/platform/app-templates-fixed/app-templates-fixed'; +import {AppTemplatesFixed} from '../../../../components/editor/deck/slide/templates/platform/app-templates-fixed/app-templates-fixed'; @Component({ tag: 'app-transform-slide', diff --git a/studio/src/components.d.ts b/studio/src/components.d.ts index d9375ef95..d0d47b628 100644 --- a/studio/src/components.d.ts +++ b/studio/src/components.d.ts @@ -44,7 +44,7 @@ export namespace Components { "slides": JSX.IntrinsicElements[]; "toggleFullScreen": EventEmitter; } - interface AppActionsEditor { + interface AppActionsDeckEditor { "fullscreen": boolean; "hideActions": boolean; "selectDeck": () => Promise; @@ -451,11 +451,11 @@ declare global { prototype: HTMLAppActionsDeckElement; new (): HTMLAppActionsDeckElement; }; - interface HTMLAppActionsEditorElement extends Components.AppActionsEditor, HTMLStencilElement { + interface HTMLAppActionsDeckEditorElement extends Components.AppActionsDeckEditor, HTMLStencilElement { } - var HTMLAppActionsEditorElement: { - prototype: HTMLAppActionsEditorElement; - new (): HTMLAppActionsEditorElement; + var HTMLAppActionsDeckEditorElement: { + prototype: HTMLAppActionsDeckEditorElement; + new (): HTMLAppActionsDeckEditorElement; }; interface HTMLAppActionsElementElement extends Components.AppActionsElement, HTMLStencilElement { } @@ -1148,7 +1148,7 @@ declare global { "app-action-help": HTMLAppActionHelpElement; "app-action-share": HTMLAppActionShareElement; "app-actions-deck": HTMLAppActionsDeckElement; - "app-actions-editor": HTMLAppActionsEditorElement; + "app-actions-deck-editor": HTMLAppActionsDeckEditorElement; "app-actions-element": HTMLAppActionsElementElement; "app-asset-data": HTMLAppAssetDataElement; "app-asset-image": HTMLAppAssetImageElement; @@ -1296,7 +1296,7 @@ declare namespace LocalJSX { "slides"?: JSX.IntrinsicElements[]; "toggleFullScreen"?: EventEmitter; } - interface AppActionsEditor { + interface AppActionsDeckEditor { "fullscreen"?: boolean; "hideActions"?: boolean; "onActionPublish"?: (event: CustomEvent) => void; @@ -1738,7 +1738,7 @@ declare namespace LocalJSX { "app-action-help": AppActionHelp; "app-action-share": AppActionShare; "app-actions-deck": AppActionsDeck; - "app-actions-editor": AppActionsEditor; + "app-actions-deck-editor": AppActionsDeckEditor; "app-actions-element": AppActionsElement; "app-asset-data": AppAssetData; "app-asset-image": AppAssetImage; @@ -1865,7 +1865,7 @@ declare module "@stencil/core" { "app-action-help": LocalJSX.AppActionHelp & JSXBase.HTMLAttributes; "app-action-share": LocalJSX.AppActionShare & JSXBase.HTMLAttributes; "app-actions-deck": LocalJSX.AppActionsDeck & JSXBase.HTMLAttributes; - "app-actions-editor": LocalJSX.AppActionsEditor & JSXBase.HTMLAttributes; + "app-actions-deck-editor": LocalJSX.AppActionsDeckEditor & JSXBase.HTMLAttributes; "app-actions-element": LocalJSX.AppActionsElement & JSXBase.HTMLAttributes; "app-asset-data": LocalJSX.AppAssetData & JSXBase.HTMLAttributes; "app-asset-image": LocalJSX.AppAssetImage & JSXBase.HTMLAttributes;