refactor: stricter domain: theme
This commit is contained in:
@@ -14,7 +14,7 @@ import {
|
||||
ThemeGridEditorItem,
|
||||
ThemeGridRect,
|
||||
ThemeLayoutContainerDefinition
|
||||
} from '../../domain/theme.models';
|
||||
} from '../../domain/models/theme.model';
|
||||
|
||||
type DragMode = 'move' | 'resize';
|
||||
|
||||
|
||||
@@ -13,19 +13,19 @@ import {
|
||||
ThemeContainerKey,
|
||||
ThemeElementStyleProperty,
|
||||
ThemeRegistryEntry
|
||||
} from '../../domain/theme.models';
|
||||
} from '../../domain/models/theme.model';
|
||||
import {
|
||||
THEME_ANIMATION_FIELDS as THEME_ANIMATION_FIELD_HINTS,
|
||||
THEME_ELEMENT_STYLE_FIELDS,
|
||||
createAnimationStarterDefinition,
|
||||
getSuggestedFieldDefault
|
||||
} from '../../domain/theme.schema';
|
||||
import { ElementPickerService } from '../../application/element-picker.service';
|
||||
import { LayoutSyncService } from '../../application/layout-sync.service';
|
||||
import { ThemeLibraryService } from '../../application/theme-library.service';
|
||||
import { ThemeRegistryService } from '../../application/theme-registry.service';
|
||||
import { ThemeService } from '../../application/theme.service';
|
||||
import { THEME_LLM_GUIDE } from '../../domain/theme-llm-guide';
|
||||
} from '../../domain/logic/theme-schema.logic';
|
||||
import { ElementPickerService } from '../../application/services/element-picker.service';
|
||||
import { LayoutSyncService } from '../../application/services/layout-sync.service';
|
||||
import { ThemeLibraryService } from '../../application/services/theme-library.service';
|
||||
import { ThemeRegistryService } from '../../application/services/theme-registry.service';
|
||||
import { ThemeService } from '../../application/services/theme.service';
|
||||
import { THEME_LLM_GUIDE } from '../../domain/constants/theme-llm-guide.constants';
|
||||
import { ThemeGridEditorComponent } from './theme-grid-editor.component';
|
||||
import { ThemeJsonCodeEditorComponent } from './theme-json-code-editor.component';
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ import {
|
||||
} from '@angular/core';
|
||||
|
||||
import { ExternalLinkService } from '../../../core/platform';
|
||||
import { ElementPickerService } from '../application/element-picker.service';
|
||||
import { ThemeRegistryService } from '../application/theme-registry.service';
|
||||
import { ThemeService } from '../application/theme.service';
|
||||
import { ElementPickerService } from '../application/services/element-picker.service';
|
||||
import { ThemeRegistryService } from '../application/services/theme-registry.service';
|
||||
import { ThemeService } from '../application/services/theme.service';
|
||||
|
||||
function looksLikeImageReference(value: string): boolean {
|
||||
return value.startsWith('url(')
|
||||
|
||||
@@ -5,8 +5,8 @@ import {
|
||||
} from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
|
||||
import { ElementPickerService } from '../application/element-picker.service';
|
||||
import { ThemeRegistryService } from '../application/theme-registry.service';
|
||||
import { ElementPickerService } from '../application/services/element-picker.service';
|
||||
import { ThemeRegistryService } from '../application/services/theme-registry.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-theme-picker-overlay',
|
||||
|
||||
Reference in New Issue
Block a user