remove test wizard window

This commit is contained in:
Val Erastov 2018-01-22 01:01:07 -08:00
parent 5bffdfbded
commit 9c77cb8006
2 changed files with 5 additions and 42 deletions

View file

@ -1,28 +1,11 @@
import React from 'react';
import PropTypes from 'prop-types';
import PlugableControlBar from './PlugableControlBar';
import ls from './View3d.less';
import ObjectExplorer from './ObjectExplorer';
import OperationHistory from './OperationHistory';
import Toolbar, {ToolbarButton} from 'ui/components/Toolbar';
import ImgIcon from 'ui/components/ImgIcon';
import Fa from 'ui/components/Fa';
import Abs from 'ui/components/Abs';
import {PlugableToolbarLeft, PlugableToolbarLeftSecondary, PlugableToolbarRight} from "./PlugableToolbar";
import MenuHolder from "../menu/MenuHolder";
import {TOKENS as MENU_TOKENS} from '../menu/menuPlugin';
import WindowSystem from 'ui/WindowSystem';
import Window from "ui/components/Window";
import Stack from "ui/components/Stack";
import Field from "ui/components/controls/Field";
import Label from "ui/components/controls/Label";
import NumberControl from "ui/components/controls/NumberControl";
import ButtonGroup from "ui/components/controls/ButtonGroup";
import Button from "ui/components/controls/Button";
import TextControl from './../../../../../modules/ui/components/controls/TextControl';
import UISystem from './UISystem';
import WizardManager from './wizard/WizardManager';
@ -50,23 +33,6 @@ export default class View3d extends React.Component {
</Abs>
<PlugableControlBar />
<WizardManager />
<Window initWidth={250} initLeft={500} title="Test">
<Stack >
<Field>
<Label>Width</Label>
<NumberControl initValue={5} onChange={val => console.log(val)}/>
</Field>
<Field>
<Label>Face</Label>
<TextControl initValue='face1' onChange={val => console.log(val)}/>
</Field>
<ButtonGroup>
<Button text='Cancel' />
<Button text='OK' type='accent' />
</ButtonGroup>
</Stack>
</Window>
</div>
</UISystem>
}

View file

@ -1,12 +1,9 @@
import {NurbsCurve, NurbsCurveImpl} from '../../../brep/geom/impl/nurbs'
import {Point} from '../../../brep/geom/point'
import {Line} from '../../../brep/geom/impl/line'
import {LUT} from '../../../math/bezier-cubic'
import {isCCW} from '../../../math/math'
import {AXIS} from '../../../math/l3space'
import {distanceAB, makeAngle0_360} from '../../../math/math'
import verb from 'verb-nurbs'
import {normalizeCurveEnds} from "../../../brep/geom/impl/nurbs-ext";
import {NurbsCurve, NurbsCurveImpl} from '../../brep/geom/impl/nurbs'
import {Point} from '../../brep/geom/point'
import {LUT} from '../../math/bezier-cubic'
import {distanceAB, isCCW, makeAngle0_360} from '../../math/math'
import {normalizeCurveEnds} from '../../brep/geom/impl/nurbs-ext';
const RESOLUTION = 20;