移除dob 暂时关闭 dat.gui

pull/7/head
lll 7 years ago
parent 34fe9ef050
commit f6685e571e

@ -10,7 +10,6 @@ const vendors = [
"lodash",
"mobx",
"mobx-react",
"mobx-state-tree",
"react",
"react-addons-css-transition-group",
"react-color",

File diff suppressed because one or more lines are too long

@ -1,9 +1,9 @@
import * as dat from "dat.gui"
// import * as dat from "dat.gui"
export class DatGUI
{
//UI.
m_Ctrl_UI: dat.GUI;
m_Ctrl_UI: any; //dat.GUI
color: string = "#ffae23";
constructor()

@ -1,4 +1,3 @@
import { Connect } from 'dob-react';
import * as React from 'react';
import { CSSProperties } from 'react';
@ -6,7 +5,6 @@ import { CommandStore } from '../Store/CommandStore';
import { CommandLineContainer } from './CommandLineContainer';
import { InputHint } from './commandLineInput/InputHint';
@Connect
export class CommandComponent extends React.Component<{ commandStore?: CommandStore }, null>
{
style: CSSProperties = {

@ -1,10 +1,7 @@
import { Connect } from 'dob-react';
import * as React from 'react';
import { CommandMsg } from '../Store/CommandStore';
@Connect
export class CommandLine extends React.Component<{ msg: CommandMsg }, {}>
{
render()

@ -1,10 +1,8 @@
import { Connect } from 'dob-react';
import * as React from 'react';
import { CommandStore } from '../Store/CommandStore';
import { CommandLine } from './CommandLine';
@Connect
export class CommandLineContainer extends React.Component<{ commandStore?: CommandStore }, null>
{

@ -1,9 +1,7 @@
import { Connect } from 'dob-react';
import * as React from 'react';
import { CommandStore } from '../Store/CommandStore';
@Connect
export class CommandLineInput extends React.Component<{ commandStore?: CommandStore }, {}>
{
render()

@ -1,4 +1,3 @@
import { Connect } from 'dob-react';
import * as React from 'react';
import { DownPanelStore } from '../Store/DownPanelStore';
@ -21,9 +20,6 @@ export class TopPanel extends React.Component<{}, {}>
}
}
@Connect
export class DownPanel extends React.Component<{ store?: DownPanelStore }, {}>
{
render()

@ -1,9 +1,9 @@
import { Provider } from 'dob-react';
import GoldenLayout = require('golden-layout');
import { autorun } from 'mobx';
import { Provider } from 'mobx-react';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { end } from 'xaop';
import * as xaop from 'xaop';
import { app, ApplicationService } from '../../ApplicationServices/Application';
import { WebSocketClientServer } from '../../ApplicationServices/WebSocketClientServer';
@ -17,7 +17,6 @@ import { DownPanelStore } from '../Store/DownPanelStore';
import { AppLayoutKey, applicationLayoutConfig } from './ApplicationLayout.config';
import { ContainerComponenName, LayoutRegisterContainerComponent } from './LayoutUtils';
import { MaterialEditorLayout } from './MaterialEditorLayout';
import * as xaop from 'xaop';
export let appUi: WebCAD;

@ -1,5 +1,3 @@
import { observable } from 'dob';
import { KeyWord } from '../../Common/InputState';
import { commandMachine } from '../../Editor/CommandMachine';
import { Editor } from '../../Editor/Editor';
@ -10,7 +8,6 @@ export interface CommandMsg
msg: string;
}
@observable
export class CommandStore
{
constructor(ed: Editor)

Loading…
Cancel
Save