Skip to content

Commit

Permalink
pages --> modules
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjlockwood committed Aug 20, 2018
1 parent 7edd825 commit 0590dff
Show file tree
Hide file tree
Showing 259 changed files with 461 additions and 461 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Command } from 'app/pages/editor/model/paths';
import { MathUtil, Matrix, Point } from 'app/pages/editor/scripts/common';
import { Command } from 'app/modules/editor/model/paths';
import { MathUtil, Matrix, Point } from 'app/modules/editor/scripts/common';

type Context = CanvasRenderingContext2D;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ActionMode, ActionSource, HoverType } from 'app/pages/editor/model/actionmode';
import { Point } from 'app/pages/editor/scripts/common';
import { ActionModeService } from 'app/pages/editor/services';
import { ActionMode, ActionSource, HoverType } from 'app/modules/editor/model/actionmode';
import { Point } from 'app/modules/editor/scripts/common';
import { ActionModeService } from 'app/modules/editor/services';
import * as _ from 'lodash';

import { CanvasOverlayDirective } from './canvasoverlay.directive';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ActionMode, ActionSource } from 'app/pages/editor/model/actionmode';
import { ProjectionOntoPath } from 'app/pages/editor/model/paths';
import { Point } from 'app/pages/editor/scripts/common';
import { ActionModeService } from 'app/pages/editor/services';
import { ActionMode, ActionSource } from 'app/modules/editor/model/actionmode';
import { ProjectionOntoPath } from 'app/modules/editor/model/paths';
import { Point } from 'app/modules/editor/scripts/common';
import { ActionModeService } from 'app/modules/editor/services';

import { CanvasOverlayDirective } from './canvasoverlay.directive';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ActionSource, HoverType } from 'app/pages/editor/model/actionmode';
import { LayerUtil } from 'app/pages/editor/model/layers';
import { ProjectionOntoPath } from 'app/pages/editor/model/paths';
import { MathUtil, Point } from 'app/pages/editor/scripts/common';
import { ActionModeService } from 'app/pages/editor/services';
import { ActionSource, HoverType } from 'app/modules/editor/model/actionmode';
import { LayerUtil } from 'app/modules/editor/model/layers';
import { ProjectionOntoPath } from 'app/modules/editor/model/paths';
import { MathUtil, Point } from 'app/modules/editor/scripts/common';
import { ActionModeService } from 'app/modules/editor/services';
import * as _ from 'lodash';

import { CanvasOverlayDirective } from './canvasoverlay.directive';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ActionMode } from 'app/pages/editor/model/actionmode';
import { HitResult, ProjectionOntoPath } from 'app/pages/editor/model/paths';
import { Point } from 'app/pages/editor/scripts/common';
import { ActionModeService } from 'app/pages/editor/services';
import { ActionMode } from 'app/modules/editor/model/actionmode';
import { HitResult, ProjectionOntoPath } from 'app/modules/editor/model/paths';
import { Point } from 'app/modules/editor/scripts/common';
import { ActionModeService } from 'app/modules/editor/services';
import * as _ from 'lodash';

import { CanvasOverlayDirective } from './canvasoverlay.directive';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import {
QueryList,
ViewChildren,
} from '@angular/core';
import { ActionSource } from 'app/pages/editor/model/actionmode';
import { MathUtil, Matrix } from 'app/pages/editor/scripts/common';
import { DestroyableMixin } from 'app/pages/editor/scripts/mixins';
import { ThemeService } from 'app/pages/editor/services';
import { State, Store } from 'app/pages/editor/store';
import { isActionMode } from 'app/pages/editor/store/actionmode/selectors';
import { getVectorLayer } from 'app/pages/editor/store/layers/selectors';
import { getZoomPanInfo } from 'app/pages/editor/store/paper/selectors';
import { ActionSource } from 'app/modules/editor/model/actionmode';
import { MathUtil, Matrix } from 'app/modules/editor/scripts/common';
import { DestroyableMixin } from 'app/modules/editor/scripts/mixins';
import { ThemeService } from 'app/modules/editor/services';
import { State, Store } from 'app/modules/editor/store';
import { isActionMode } from 'app/modules/editor/store/actionmode/selectors';
import { getVectorLayer } from 'app/modules/editor/store/layers/selectors';
import { getZoomPanInfo } from 'app/modules/editor/store/paper/selectors';
import { environment } from 'environments/environment';
import * as $ from 'jquery';
import * as _ from 'lodash';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { AfterViewInit, Directive, ElementRef, Input } from '@angular/core';
import { ActionSource } from 'app/pages/editor/model/actionmode';
import { ActionSource } from 'app/modules/editor/model/actionmode';
import {
ClipPathLayer,
Layer,
LayerUtil,
PathLayer,
VectorLayer,
} from 'app/pages/editor/model/layers';
import { ColorUtil } from 'app/pages/editor/scripts/common';
import { DestroyableMixin } from 'app/pages/editor/scripts/mixins';
import { PlaybackService } from 'app/pages/editor/services';
import { State, Store } from 'app/pages/editor/store';
} from 'app/modules/editor/model/layers';
import { ColorUtil } from 'app/modules/editor/scripts/common';
import { DestroyableMixin } from 'app/modules/editor/scripts/mixins';
import { PlaybackService } from 'app/modules/editor/services';
import { State, Store } from 'app/modules/editor/store';
import {
getActionModeEndState,
getActionModeStartState,
} from 'app/pages/editor/store/actionmode/selectors';
import { getHiddenLayerIds, getVectorLayer } from 'app/pages/editor/store/layers/selectors';
} from 'app/modules/editor/store/actionmode/selectors';
import { getHiddenLayerIds, getVectorLayer } from 'app/modules/editor/store/layers/selectors';
import * as $ from 'jquery';
import { combineLatest, merge } from 'rxjs';
import { map } from 'rxjs/operators';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
HoverType,
Selection,
SelectionType,
} from 'app/pages/editor/model/actionmode';
} from 'app/modules/editor/model/actionmode';
import {
ClipPathLayer,
GroupLayer,
Expand All @@ -15,25 +15,25 @@ import {
MorphableLayer,
PathLayer,
VectorLayer,
} from 'app/pages/editor/model/layers';
import { Command, HitResult, Path, SubPath } from 'app/pages/editor/model/paths';
import { MathUtil, Matrix, Point } from 'app/pages/editor/scripts/common';
import { DestroyableMixin } from 'app/pages/editor/scripts/mixins';
} from 'app/modules/editor/model/layers';
import { Command, HitResult, Path, SubPath } from 'app/modules/editor/model/paths';
import { MathUtil, Matrix, Point } from 'app/modules/editor/scripts/common';
import { DestroyableMixin } from 'app/modules/editor/scripts/mixins';
import {
ActionModeService,
LayerTimelineService,
PlaybackService,
ShortcutService,
} from 'app/pages/editor/services';
import { State, Store } from 'app/pages/editor/store';
} from 'app/modules/editor/services';
import { State, Store } from 'app/modules/editor/store';
import {
getActionMode,
getActionModeEndState,
getActionModeHover,
getActionModeStartState,
} from 'app/pages/editor/store/actionmode/selectors';
import { getCanvasOverlayState } from 'app/pages/editor/store/common/selectors';
import { getVectorLayer } from 'app/pages/editor/store/layers/selectors';
} from 'app/modules/editor/store/actionmode/selectors';
import { getCanvasOverlayState } from 'app/modules/editor/store/common/selectors';
import { getVectorLayer } from 'app/modules/editor/store/layers/selectors';
import * as $ from 'jquery';
import * as _ from 'lodash';
import { combineLatest , merge } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { AfterViewInit, Directive, ElementRef, Input, OnDestroy } from '@angular/core';
import { ActionSource } from 'app/pages/editor/model/actionmode';
import { DestroyableMixin } from 'app/pages/editor/scripts/mixins';
import { PaperProject } from 'app/pages/editor/scripts/paper';
import { PaperService } from 'app/pages/editor/services';
import { State, Store } from 'app/pages/editor/store';
import { ActionSource } from 'app/modules/editor/model/actionmode';
import { DestroyableMixin } from 'app/modules/editor/scripts/mixins';
import { PaperProject } from 'app/modules/editor/scripts/paper';
import { PaperService } from 'app/modules/editor/services';
import { State, Store } from 'app/modules/editor/store';
import * as $ from 'jquery';

import { CanvasLayoutMixin } from './CanvasLayoutMixin';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Directive, ElementRef, Input } from '@angular/core';
import { MathUtil, Point } from 'app/pages/editor/scripts/common';
import { ThemeService } from 'app/pages/editor/services';
import { MathUtil, Point } from 'app/modules/editor/scripts/common';
import { ThemeService } from 'app/modules/editor/services';
import * as $ from 'jquery';

import { CanvasLayoutMixin } from './CanvasLayoutMixin';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { MatDialogRef } from '@angular/material';
import { DEMO_INFOS } from 'app/pages/editor/scripts/demos';
import { DEMO_INFOS } from 'app/modules/editor/scripts/demos';

@Component({
selector: 'app-demodialog',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Injectable } from '@angular/core';
import { MatDialog, MatDialogConfig } from '@angular/material';
import { ConfirmDialogComponent } from 'app/pages/editor/components/dialogs/confirmdialog.component';
import { DemoDialogComponent } from 'app/pages/editor/components/dialogs/demodialog.component';
import { ConfirmDialogComponent } from 'app/modules/editor/components/dialogs/confirmdialog.component';
import { DemoDialogComponent } from 'app/modules/editor/components/dialogs/demodialog.component';
import {
DropFilesAction,
DropFilesDialogComponent,
} from 'app/pages/editor/components/dialogs/dropfilesdialog.component';
import { DemoInfo } from 'app/pages/editor/scripts/demos';
} from 'app/modules/editor/components/dialogs/dropfilesdialog.component';
import { DemoInfo } from 'app/modules/editor/scripts/demos';
import { Observable } from 'rxjs';

@Injectable({ providedIn: 'root' })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import {
OnInit,
Output,
} from '@angular/core';
import { ClipPathLayer, GroupLayer, Layer, PathLayer, VectorLayer } from 'app/pages/editor/model/layers';
import { Animation, PathAnimationBlock } from 'app/pages/editor/model/timeline';
import { ModelUtil } from 'app/pages/editor/scripts/common';
import { ActionModeService } from 'app/pages/editor/services';
import { State, Store } from 'app/pages/editor/store';
import { getLayerListTreeState } from 'app/pages/editor/store/common/selectors';
import { ClipPathLayer, GroupLayer, Layer, PathLayer, VectorLayer } from 'app/modules/editor/model/layers';
import { Animation, PathAnimationBlock } from 'app/modules/editor/model/timeline';
import { ModelUtil } from 'app/modules/editor/scripts/common';
import { ActionModeService } from 'app/modules/editor/services';
import { State, Store } from 'app/modules/editor/store';
import { getLayerListTreeState } from 'app/modules/editor/store/common/selectors';
import * as _ from 'lodash';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,39 @@ import {
ViewChild,
ViewChildren,
} from '@angular/core';
import { DialogService } from 'app/pages/editor/components/dialogs';
import { ProjectService } from 'app/pages/editor/components/project';
import { ActionMode } from 'app/pages/editor/model/actionmode';
import { DialogService } from 'app/modules/editor/components/dialogs';
import { ProjectService } from 'app/modules/editor/components/project';
import { ActionMode } from 'app/modules/editor/model/actionmode';
import {
ClipPathLayer,
GroupLayer,
Layer,
LayerUtil,
PathLayer,
VectorLayer,
} from 'app/pages/editor/model/layers';
import { Animation, AnimationBlock } from 'app/pages/editor/model/timeline';
import { ModelUtil } from 'app/pages/editor/scripts/common';
import { Dragger } from 'app/pages/editor/scripts/dragger';
import { IntervalTree } from 'app/pages/editor/scripts/intervals';
import { DestroyableMixin } from 'app/pages/editor/scripts/mixins';
} from 'app/modules/editor/model/layers';
import { Animation, AnimationBlock } from 'app/modules/editor/model/timeline';
import { ModelUtil } from 'app/modules/editor/scripts/common';
import { Dragger } from 'app/modules/editor/scripts/dragger';
import { IntervalTree } from 'app/modules/editor/scripts/intervals';
import { DestroyableMixin } from 'app/modules/editor/scripts/mixins';
import {
ActionModeService,
FileExportService,
FileImportService,
LayerTimelineService,
PlaybackService,
ThemeService,
} from 'app/pages/editor/services';
import { Shortcut, ShortcutService } from 'app/pages/editor/services/shortcut.service';
import { Duration, SnackBarService } from 'app/pages/editor/services/snackbar.service';
import { State, Store } from 'app/pages/editor/store';
import { BatchAction } from 'app/pages/editor/store/batch/actions';
import { getLayerTimelineState, isWorkspaceDirty } from 'app/pages/editor/store/common/selectors';
import { SetSelectedLayers, SetVectorLayer } from 'app/pages/editor/store/layers/actions';
import { getVectorLayer } from 'app/pages/editor/store/layers/selectors';
import { ResetWorkspace } from 'app/pages/editor/store/reset/actions';
import { getAnimation } from 'app/pages/editor/store/timeline/selectors';
} from 'app/modules/editor/services';
import { Shortcut, ShortcutService } from 'app/modules/editor/services/shortcut.service';
import { Duration, SnackBarService } from 'app/modules/editor/services/snackbar.service';
import { State, Store } from 'app/modules/editor/store';
import { BatchAction } from 'app/modules/editor/store/batch/actions';
import { getLayerTimelineState, isWorkspaceDirty } from 'app/modules/editor/store/common/selectors';
import { SetSelectedLayers, SetVectorLayer } from 'app/modules/editor/store/layers/actions';
import { getVectorLayer } from 'app/modules/editor/store/layers/selectors';
import { ResetWorkspace } from 'app/modules/editor/store/reset/actions';
import { getAnimation } from 'app/modules/editor/store/timeline/selectors';
import { environment } from 'environments/environment';
import * as $ from 'jquery';
import * as _ from 'lodash';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import {
OnInit,
Output,
} from '@angular/core';
import { Animation } from 'app/pages/editor/model/timeline';
import { Dragger } from 'app/pages/editor/scripts/dragger';
import { DestroyableMixin } from 'app/pages/editor/scripts/mixins';
import { ShortcutService, ThemeService } from 'app/pages/editor/services';
import { Animation } from 'app/modules/editor/model/timeline';
import { Dragger } from 'app/modules/editor/scripts/dragger';
import { DestroyableMixin } from 'app/modules/editor/scripts/mixins';
import { ShortcutService, ThemeService } from 'app/modules/editor/services';
import * as $ from 'jquery';
import * as _ from 'lodash';
import { filter } from 'rxjs/operators';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import {
OnInit,
Output,
} from '@angular/core';
import { Layer } from 'app/pages/editor/model/layers';
import { Animation, AnimationBlock } from 'app/pages/editor/model/timeline';
import { ModelUtil } from 'app/pages/editor/scripts/common';
import { ActionModeService } from 'app/pages/editor/services';
import { State, Store } from 'app/pages/editor/store';
import { getTimelineAnimationRowState } from 'app/pages/editor/store/common/selectors';
import { Layer } from 'app/modules/editor/model/layers';
import { Animation, AnimationBlock } from 'app/modules/editor/model/timeline';
import { ModelUtil } from 'app/modules/editor/scripts/common';
import { ActionModeService } from 'app/modules/editor/services';
import { State, Store } from 'app/modules/editor/store';
import { getTimelineAnimationRowState } from 'app/modules/editor/store/common/selectors';
import * as _ from 'lodash';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { PlaybackService } from 'app/pages/editor/services';
import { State, Store } from 'app/pages/editor/store';
import { getPlaybackState } from 'app/pages/editor/store/playback/selectors';
import { PlaybackService } from 'app/modules/editor/services';
import { State, Store } from 'app/modules/editor/store';
import { getPlaybackState } from 'app/modules/editor/store/playback/selectors';
import { Observable } from 'rxjs';

@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { VectorLayer } from 'app/pages/editor/model/layers';
import { Animation } from 'app/pages/editor/model/timeline';
import { ModelUtil } from 'app/pages/editor/scripts/common';
import { FileExportService } from 'app/pages/editor/services/fileexport.service';
import { VectorLayer } from 'app/modules/editor/model/layers';
import { Animation } from 'app/modules/editor/model/timeline';
import { ModelUtil } from 'app/modules/editor/scripts/common';
import { FileExportService } from 'app/modules/editor/services/fileexport.service';

// TODO: store hidden layer IDs and vector layer inside the animations?
interface Project {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Property } from 'app/pages/editor/model/properties';
import { Property } from 'app/modules/editor/model/properties';

/**
* Stores information about an inspected property.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { ActionMode } from 'app/pages/editor/model/actionmode';
import { ActionMode } from 'app/modules/editor/model/actionmode';
import {
ClipPathLayer,
GroupLayer,
Layer,
LayerUtil,
PathLayer,
VectorLayer,
} from 'app/pages/editor/model/layers';
import { FractionProperty, NameProperty, Option } from 'app/pages/editor/model/properties';
import { Animation, PathAnimationBlock } from 'app/pages/editor/model/timeline';
import { ColorUtil, ModelUtil } from 'app/pages/editor/scripts/common';
} from 'app/modules/editor/model/layers';
import { FractionProperty, NameProperty, Option } from 'app/modules/editor/model/properties';
import { Animation, PathAnimationBlock } from 'app/modules/editor/model/timeline';
import { ColorUtil, ModelUtil } from 'app/modules/editor/scripts/common';
import {
ActionModeService,
LayerTimelineService,
PlaybackService,
ShortcutService,
ThemeService,
} from 'app/pages/editor/services';
import { State, Store } from 'app/pages/editor/store';
import { getPropertyInputState } from 'app/pages/editor/store/common/selectors';
import { ThemeType } from 'app/pages/editor/store/theme/reducer';
import { SetAnimation } from 'app/pages/editor/store/timeline/actions';
} from 'app/modules/editor/services';
import { State, Store } from 'app/modules/editor/store';
import { getPropertyInputState } from 'app/modules/editor/store/common/selectors';
import { ThemeType } from 'app/modules/editor/store/theme/reducer';
import { SetAnimation } from 'app/modules/editor/store/timeline/actions';
import * as $ from 'jquery';
import * as _ from 'lodash';
import { Observable , combineLatest } from 'rxjs';
Expand Down
Loading

0 comments on commit 0590dff

Please sign in to comment.