Move Orientation enum to enum folder

This commit is contained in:
Eric NGUYEN 2022-09-29 11:56:23 +02:00
parent fbc5d0ec27
commit 417829945f
14 changed files with 13 additions and 13 deletions

View file

@ -11,7 +11,7 @@ import { TextInputGroup } from '../InputGroup/TextInputGroup';
import { RadioGroupButtons } from '../RadioGroupButtons/RadioGroupButtons';
import { Select } from '../Select/Select';
import { ToggleButton, ToggleType } from '../ToggleButton/ToggleButton';
import { Orientation } from '../../Interfaces/Orientation';
import { Orientation } from '../../Enums/Orientation';
interface IContainerFormProps {
properties: IContainerProperties

View file

@ -3,7 +3,7 @@ import * as React from 'react';
import { expect, describe, it, vi } from 'vitest';
import { PositionReference } from '../../Enums/PositionReference';
import { IContainerProperties } from '../../Interfaces/IContainerProperties';
import { Orientation } from '../../Interfaces/Orientation';
import { Orientation } from '../../Enums/Orientation';
import { Properties } from './ContainerProperties';
describe.concurrent('Properties', () => {

View file

@ -9,7 +9,7 @@ import { IContainerModel, ContainerModel } from '../../../Interfaces/IContainerM
import { IHistoryState } from '../../../Interfaces/IHistoryState';
import { IPattern, GetPattern, ContainerOrPattern } from '../../../Interfaces/IPattern';
import { ISymbolModel } from '../../../Interfaces/ISymbolModel';
import { Orientation } from '../../../Interfaces/Orientation';
import { Orientation } from '../../../Enums/Orientation';
import { GetDefaultContainerProps, DEFAULTCHILDTYPE_MAX_DEPTH, DEFAULTCHILDTYPE_ALLOW_CYCLIC } from '../../../utils/default';
import { FindContainerById } from '../../../utils/itertools';
import { ApplyMargin } from '../../../utils/svg';

View file

@ -7,7 +7,7 @@ import { ISymbolModel } from '../../../Interfaces/ISymbolModel';
import Swal from 'sweetalert2';
import { PropertyType } from '../../../Enums/PropertyType';
import { TransformX, TransformY } from '../../../utils/svg';
import { Orientation } from '../../../Interfaces/Orientation';
import { Orientation } from '../../../Enums/Orientation';
/**
* Select a container

View file

@ -14,7 +14,7 @@
*/
import { IContainerModel } from '../../../Interfaces/IContainerModel';
import { Orientation } from '../../../Interfaces/Orientation';
import { Orientation } from '../../../Enums/Orientation';
import { ConstraintBodyInsideUnallocatedWidth } from './RigidBodyBehaviors';
/**

View file

@ -1,5 +1,5 @@
import { IContainerModel } from '../../../Interfaces/IContainerModel';
import { Orientation } from '../../../Interfaces/Orientation';
import { Orientation } from '../../../Enums/Orientation';
import { Simplex } from '../../../utils/simplex';
import { ApplyWidthMargin, ApplyXMargin } from '../../../utils/svg';

View file

@ -1,5 +1,5 @@
import { IContainerModel } from '../../../Interfaces/IContainerModel';
import { Orientation } from '../../../Interfaces/Orientation';
import { Orientation } from '../../../Enums/Orientation';
import { ReversePairwise } from '../../../utils/itertools';
import { Flex } from './FlexBehaviors';

View file

@ -8,7 +8,7 @@
import { IContainerModel } from '../../../Interfaces/IContainerModel';
import { ISizePointer } from '../../../Interfaces/ISizePointer';
import { Orientation } from '../../../Interfaces/Orientation';
import { Orientation } from '../../../Enums/Orientation';
import { ENABLE_HARD_RIGID } from '../../../utils/default';
/**

View file

@ -3,7 +3,7 @@
*/
import { IContainerModel } from '../../../Interfaces/IContainerModel';
import { Orientation } from '../../../Interfaces/Orientation';
import { Orientation } from '../../../Enums/Orientation';
import { GetHorizontallyOverlappingContainers, GetVerticallyOverlappingContainers } from './AnchorBehaviors';
export function ApplySwap(container: IContainerModel, parent: IContainerModel): void {

View file

@ -6,7 +6,7 @@ import { IContainerModel } from '../../Interfaces/IContainerModel';
import { PositionReference } from '../../Enums/PositionReference';
import { FindContainerById } from '../../utils/itertools';
import { DEFAULT_MAINCONTAINER_PROPS } from '../../utils/default';
import { Orientation } from '../../Interfaces/Orientation';
import { Orientation } from '../../Enums/Orientation';
describe.concurrent('Elements sidebar', () => {
it('With a MainContainer', () => {