This commit is contained in:
Elad Iwanir 2017-08-24 15:42:34 +03:00
Родитель aa984e0045
Коммит 4c37980efb
16 изменённых файлов: 580 добавлений и 660 удалений

Просмотреть файл

@ -24,6 +24,6 @@ class RefreshStore extends AbstractStoreModel<IRefreshStoreState> implements IRe
}
}
const refreshStore = alt.createStore<IRefreshStoreState>(RefreshStore, 'RefreshStore');
const refreshStore = alt.createStore<IRefreshStoreState>(RefreshStore as AltJS.StoreModel<any>, 'RefreshStore');
export default refreshStore;

Просмотреть файл

@ -308,6 +308,7 @@ class CardSettingsStore extends AbstractStoreModel<ICardSettingsStoreState> impl
}
const cardSettingsStore = alt.createStore<ICardSettingsStoreState>(CardSettingsStore, 'CardSettingsStore');
const cardSettingsStore =
alt.createStore<ICardSettingsStoreState>(CardSettingsStore as AltJS.StoreModel<any>, 'CardSettingsStore');
export default cardSettingsStore;

Просмотреть файл

@ -145,9 +145,9 @@ export default class Editor extends React.PureComponent<IEditorProps, IEditorSta
tabIndex={-1}
/>
),
<Button icon tooltipLabel="Undo" onClick={this.undo} tabIndex={-1}>undo</Button>,
<Button icon tooltipLabel="Redo" onClick={this.redo} tabIndex={-1}>redo</Button>,
<Button icon tooltipLabel="Copy document" onClick={this.copy} tabIndex={-1}>content_copy</Button>,
<Button icon key={0} tooltipLabel="Undo" onClick={this.undo} tabIndex={-1}>undo</Button>,
<Button icon key={1} tooltipLabel="Redo" onClick={this.redo} tabIndex={-1}>redo</Button>,
<Button icon key={2} tooltipLabel="Copy document" onClick={this.copy} tabIndex={-1}>content_copy</Button>,
(
<Button
flat

Просмотреть файл

@ -58,6 +58,6 @@ class EditorStore extends AbstractStoreModel<IEditorStoreState> implements IEdit
}
}
const editorStore = alt.createStore<IEditorStoreState>(EditorStore, 'EditorStore');
const editorStore = alt.createStore<IEditorStoreState>(EditorStore as AltJS.StoreModel<any>, 'EditorStore');
export default editorStore;

Просмотреть файл

@ -112,6 +112,7 @@ export default class Home extends React.Component<any, IHomeState> {
this.updateFileName = this.updateFileName.bind(this);
this.onExportTemplate = this.onExportTemplate.bind(this);
this.downloadTemplate = this.downloadTemplate.bind(this);
this.onOpenImport = this.onOpenImport.bind(this);
}
updateConfiguration(state: {
@ -339,7 +340,7 @@ export default class Home extends React.Component<any, IHomeState> {
<Button
flat
tooltipLabel="Import dashboard"
onClick={this.onOpenImport.bind(this)}
onClick={this.onOpenImport}
label="Import dashboard"
>file_upload
</Button>

Просмотреть файл

@ -70,6 +70,6 @@ class ToastStore extends AbstractStoreModel<IToastStoreState> implements IToastS
}
}
const toastStore = alt.createStore<IToastStoreState>(ToastStore, 'ToastStore');
const toastStore = alt.createStore<IToastStoreState>(ToastStore as AltJS.StoreModel<any>, 'ToastStore');
export default toastStore;

Просмотреть файл

@ -43,6 +43,6 @@ class DialogsStore extends AbstractStoreModel<IDialogsStoreState> implements IDi
}
}
const dialogsStore = alt.createStore<IDialogsStoreState>(DialogsStore, 'DialogsStore');
const dialogsStore = alt.createStore<IDialogsStoreState>(DialogsStore as AltJS.StoreModel<any>, 'DialogsStore');
export default dialogsStore;

Просмотреть файл

@ -29,7 +29,7 @@ const styles = {
height: 'calc(100% - 200px)',
width: 'calc(100% - 48px)',
position: 'absolute'
}
} as React.CSSProperties
};
export default class QueryTester extends React.Component<IQueryTesterProps, IQueryTesterState> {

Просмотреть файл

@ -25,6 +25,6 @@ class AccountStore extends AbstractStoreModel<IAccountStoreState> implements IAc
}
}
const accountStore = alt.createStore<IAccountStoreState>(AccountStore, 'AccountStore');
const accountStore = alt.createStore<IAccountStoreState>((AccountStore as AltJS.StoreModel<any>), 'AccountStore');
export default accountStore;

Просмотреть файл

@ -159,6 +159,7 @@ class ConfigurationsStore extends AbstractStoreModel<IConfigurationsStoreState>
}
}
const configurationsStore = alt.createStore<IConfigurationsStoreState>(ConfigurationsStore, 'ConfigurationsStore');
const configurationsStore =
alt.createStore<IConfigurationsStoreState>(ConfigurationsStore as AltJS.StoreModel<any>, 'ConfigurationsStore');
export default configurationsStore;

Просмотреть файл

@ -25,6 +25,7 @@ class ConnectionsStore extends AbstractStoreModel<IConnectionsStoreState> implem
}
}
const connectionsStore = alt.createStore<IConnectionsStoreState>(ConnectionsStore, 'ConnectionsStore');
const connectionsStore =
alt.createStore<IConnectionsStoreState>((ConnectionsStore as AltJS.StoreModel<any>), 'ConnectionsStore');
export default connectionsStore;

Просмотреть файл

@ -27,6 +27,6 @@ class SettingsStore extends AbstractStoreModel<ISettingsStoreState> implements I
}
}
const settingsStore = alt.createStore<ISettingsStoreState>(SettingsStore, 'SettingsStore');
const settingsStore = alt.createStore<ISettingsStoreState>((SettingsStore as AltJS.StoreModel<any>), 'SettingsStore');
export default settingsStore;

Просмотреть файл

@ -62,6 +62,6 @@ class SetupStore extends AbstractStoreModel<ISetupStoreState> implements ISetupS
}
}
const setupStore = alt.createStore<ISetupStoreState>(SetupStore, 'SetupStore');
const setupStore = alt.createStore<ISetupStoreState>((SetupStore as AltJS.StoreModel<any>), 'SetupStore');
export default setupStore;

Просмотреть файл

@ -25,6 +25,6 @@ class VisibilityStore extends AbstractStoreModel<any> {
}
}
const visibilityStore = alt.createStore<any>(VisibilityStore, 'VisibilityStore');
const visibilityStore = alt.createStore<any>((VisibilityStore as AltJS.StoreModel<any>) , 'VisibilityStore');
export default visibilityStore;

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -77,13 +77,14 @@ error-ex@^1.2.0:
is-arrayish "^0.2.1"
es-abstract@^1.4.3:
version "1.7.0"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c"
version "1.8.0"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.8.0.tgz#3b00385e85729932beffa9163bbea1234e932914"
dependencies:
es-to-primitive "^1.1.1"
function-bind "^1.1.0"
has "^1.0.1"
is-callable "^1.1.3"
is-regex "^1.0.3"
is-regex "^1.0.4"
es-to-primitive@^1.1.1:
version "1.1.1"
@ -159,7 +160,7 @@ is-date-object@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
is-regex@^1.0.3:
is-regex@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
dependencies:
@ -269,8 +270,8 @@ read-pkg@^2.0.0:
path-type "^2.0.0"
"semver@2 || 3 || 4 || 5":
version "5.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
version "5.4.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
shebang-command@^1.2.0:
version "1.2.0"
@ -351,8 +352,8 @@ validate-npm-package-license@^3.0.1:
spdx-expression-parse "~1.0.0"
which@^1.2.9:
version "1.2.14"
resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
version "1.3.0"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
dependencies:
isexe "^2.0.0"