mirror of https://github.com/apache/druid.git
switch to use exInterlop (#7853)
This commit is contained in:
parent
3fbb0a5e00
commit
53b9fc4eb0
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Button, Classes, HTMLSelect } from '@blueprintjs/core';
|
import { Button, Classes, HTMLSelect } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import './react-table-custom-pagination.scss';
|
import './react-table-custom-pagination.scss';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { Filter, ReactTableDefaults } from 'react-table';
|
import { Filter, ReactTableDefaults } from 'react-table';
|
||||||
|
|
||||||
import { Loader } from '../components/loader/loader';
|
import { Loader } from '../components/loader/loader';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { ActionCell } from './action-cell';
|
import { ActionCell } from './action-cell';
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
import { Popover, Position } from '@blueprintjs/core';
|
import { Popover, Position } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { BasicAction, basicActionsToMenu } from '../../utils/basic-action';
|
import { BasicAction, basicActionsToMenu } from '../../utils/basic-action';
|
||||||
import { ActionIcon } from '../action-icon/action-icon';
|
import { ActionIcon } from '../action-icon/action-icon';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { ActionIcon } from './action-icon';
|
import { ActionIcon } from './action-icon';
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
import { Icon, IconName } from '@blueprintjs/core';
|
import { Icon, IconName } from '@blueprintjs/core';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import './action-icon.scss';
|
import './action-icon.scss';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { ArrayInput } from './array-input';
|
import { ArrayInput } from './array-input';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { ITagInputProps, TextArea } from '@blueprintjs/core';
|
import { ITagInputProps, TextArea } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
export interface ArrayInputProps {
|
export interface ArrayInputProps {
|
||||||
className?: string;
|
className?: string;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { AutoForm } from './auto-form';
|
import { AutoForm } from './auto-form';
|
||||||
|
|
|
@ -29,7 +29,7 @@ import {
|
||||||
Position
|
Position
|
||||||
} from '@blueprintjs/core';
|
} from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { deepDelete, deepGet, deepSet } from '../../utils/object-change';
|
import { deepDelete, deepGet, deepSet } from '../../utils/object-change';
|
||||||
import { ArrayInput } from '../array-input/array-input';
|
import { ArrayInput } from '../array-input/array-input';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { CenterMessage } from './center-message';
|
import { CenterMessage } from './center-message';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import './center-message.scss';
|
import './center-message.scss';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { ClearableInput } from './clearable-input';
|
import { ClearableInput } from './clearable-input';
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import { Button, InputGroup } from '@blueprintjs/core';
|
import { Button, InputGroup } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
export interface ClearableInputProps extends React.Props<any> {
|
export interface ClearableInputProps extends React.Props<any> {
|
||||||
className?: string;
|
className?: string;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { ExternalLink } from './external-link';
|
import { ExternalLink } from './external-link';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
export interface ExternalLinkProps extends React.Props<any> {
|
export interface ExternalLinkProps extends React.Props<any> {
|
||||||
href: string;
|
href: string;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { HeaderBar } from './header-bar';
|
import { HeaderBar } from './header-bar';
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ import {
|
||||||
} from '@blueprintjs/core';
|
} from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { AboutDialog } from '../../dialogs/about-dialog/about-dialog';
|
import { AboutDialog } from '../../dialogs/about-dialog/about-dialog';
|
||||||
import { CoordinatorDynamicConfigDialog } from '../../dialogs/coordinator-dynamic-config/coordinator-dynamic-config';
|
import { CoordinatorDynamicConfigDialog } from '../../dialogs/coordinator-dynamic-config/coordinator-dynamic-config';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { JSONCollapse } from './json-collapse';
|
import { JSONCollapse } from './json-collapse';
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
import { Button, Collapse, TextArea } from '@blueprintjs/core';
|
import { Button, Collapse, TextArea } from '@blueprintjs/core';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
interface JSONCollapseProps extends React.Props<any> {
|
interface JSONCollapseProps extends React.Props<any> {
|
||||||
stringValue: string;
|
stringValue: string;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { JSONInput } from './json-input';
|
import { JSONInput } from './json-input';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import AceEditor from 'react-ace';
|
import AceEditor from 'react-ace';
|
||||||
|
|
||||||
import { parseStringToJSON, stringifyJSON, validJson } from '../../utils';
|
import { parseStringToJSON, stringifyJSON, validJson } from '../../utils';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { Loader } from './loader';
|
import { Loader } from './loader';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import './loader.scss';
|
import './loader.scss';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { MenuCheckbox } from './menu-checkbox';
|
import { MenuCheckbox } from './menu-checkbox';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Checkbox, ICheckboxProps } from '@blueprintjs/core';
|
import { Checkbox, ICheckboxProps } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import './menu-checkbox.scss';
|
import './menu-checkbox.scss';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { Rule, RuleEditor } from './rule-editor';
|
import { Rule, RuleEditor } from './rule-editor';
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import { Button, Card, Collapse, ControlGroup, FormGroup, HTMLSelect, InputGroup, NumericInput, TagInput } from '@blueprintjs/core';
|
import { Button, Card, Collapse, ControlGroup, FormGroup, HTMLSelect, InputGroup, NumericInput, TagInput } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import './rule-editor.scss';
|
import './rule-editor.scss';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { ShowJson } from './show-json';
|
import { ShowJson } from './show-json';
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
|
|
||||||
import { Button, ButtonGroup, InputGroup, Intent, TextArea } from '@blueprintjs/core';
|
import { Button, ButtonGroup, InputGroup, Intent, TextArea } from '@blueprintjs/core';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as copy from 'copy-to-clipboard';
|
import copy from 'copy-to-clipboard';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { AppToaster } from '../../singletons/toaster';
|
import { AppToaster } from '../../singletons/toaster';
|
||||||
import { UrlBaser } from '../../singletons/url-baser';
|
import { UrlBaser } from '../../singletons/url-baser';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { ShowLog } from './show-log';
|
import { ShowLog } from './show-log';
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
|
|
||||||
import { Button, ButtonGroup, Checkbox, InputGroup, Intent, TextArea } from '@blueprintjs/core';
|
import { Button, ButtonGroup, Checkbox, InputGroup, Intent, TextArea } from '@blueprintjs/core';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as copy from 'copy-to-clipboard';
|
import copy from 'copy-to-clipboard';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { AppToaster } from '../../singletons/toaster';
|
import { AppToaster } from '../../singletons/toaster';
|
||||||
import { UrlBaser } from '../../singletons/url-baser';
|
import { UrlBaser } from '../../singletons/url-baser';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { SqlControl } from './sql-control';
|
import { SqlControl } from './sql-control';
|
||||||
|
|
|
@ -28,15 +28,15 @@ import {
|
||||||
import { Hotkey, Hotkeys, HotkeysTarget } from '@blueprintjs/core';
|
import { Hotkey, Hotkeys, HotkeysTarget } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as ace from 'brace';
|
import ace from 'brace';
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
import 'brace/mode/hjson';
|
import 'brace/mode/hjson';
|
||||||
import 'brace/mode/sql';
|
import 'brace/mode/sql';
|
||||||
import 'brace/theme/solarized_dark';
|
import 'brace/theme/solarized_dark';
|
||||||
import * as Hjson from 'hjson';
|
import Hjson from 'hjson';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import AceEditor from 'react-ace';
|
import AceEditor from 'react-ace';
|
||||||
import * as ReactDOMServer from 'react-dom/server';
|
import ReactDOMServer from 'react-dom/server';
|
||||||
|
|
||||||
import { SQLFunctionDoc } from '../../../lib/sql-function-doc';
|
import { SQLFunctionDoc } from '../../../lib/sql-function-doc';
|
||||||
import { AppToaster } from '../../singletons/toaster';
|
import { AppToaster } from '../../singletons/toaster';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { TableCell } from './table-cell';
|
import { TableCell } from './table-cell';
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
|
|
||||||
import { Intent } from '@blueprintjs/core';
|
import { Intent } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import * as copy from 'copy-to-clipboard';
|
import copy from 'copy-to-clipboard';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { AppToaster } from '../../singletons/toaster';
|
import { AppToaster } from '../../singletons/toaster';
|
||||||
import { ActionIcon } from '../action-icon/action-icon';
|
import { ActionIcon } from '../action-icon/action-icon';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { TableColumnSelector } from './table-column-selector';
|
import { TableColumnSelector } from './table-column-selector';
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
import { Button, Checkbox, FormGroup, Menu, Popover, Position } from '@blueprintjs/core';
|
import { Button, Checkbox, FormGroup, Menu, Popover, Position } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { MenuCheckbox } from '../menu-checkbox/menu-checkbox';
|
import { MenuCheckbox } from '../menu-checkbox/menu-checkbox';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { ViewControlBar } from './view-control-bar';
|
import { ViewControlBar } from './view-control-bar';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import './view-control-bar.scss';
|
import './view-control-bar.scss';
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
import { Intent } from '@blueprintjs/core';
|
import { Intent } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { HashRouter, Route, Switch } from 'react-router-dom';
|
import { HashRouter, Route, Switch } from 'react-router-dom';
|
||||||
|
|
||||||
import { ExternalLink } from './components/external-link/external-link';
|
import { ExternalLink } from './components/external-link/external-link';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { AboutDialog } from './about-dialog';
|
import { AboutDialog } from './about-dialog';
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
import { AnchorButton, Button, Classes, Dialog, Intent } from '@blueprintjs/core';
|
import { AnchorButton, Button, Classes, Dialog, Intent } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { ExternalLink } from '../../components';
|
import { ExternalLink } from '../../components';
|
||||||
import { DRUID_COMMUNITY, DRUID_DEVELOPER_GROUP, DRUID_USER_GROUP, DRUID_WEBSITE } from '../../variables';
|
import { DRUID_COMMUNITY, DRUID_DEVELOPER_GROUP, DRUID_USER_GROUP, DRUID_WEBSITE } from '../../variables';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { AsyncActionDialog } from './async-action-dialog';
|
import { AsyncActionDialog } from './async-action-dialog';
|
||||||
|
|
|
@ -26,7 +26,7 @@ import {
|
||||||
} from '@blueprintjs/core';
|
} from '@blueprintjs/core';
|
||||||
import { IconName } from '@blueprintjs/icons';
|
import { IconName } from '@blueprintjs/icons';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { AppToaster } from '../../singletons/toaster';
|
import { AppToaster } from '../../singletons/toaster';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { CompactionDialog } from './compaction-dialog';
|
import { CompactionDialog } from './compaction-dialog';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Button, Classes, Dialog, Intent } from '@blueprintjs/core';
|
import { Button, Classes, Dialog, Intent } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { AutoForm } from '../../components';
|
import { AutoForm } from '../../components';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { CoordinatorDynamicConfigDialog } from './coordinator-dynamic-config';
|
import { CoordinatorDynamicConfigDialog } from './coordinator-dynamic-config';
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import { Intent } from '@blueprintjs/core';
|
import { Intent } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { AutoForm, ExternalLink } from '../../components';
|
import { AutoForm, ExternalLink } from '../../components';
|
||||||
import { AppToaster } from '../../singletons/toaster';
|
import { AppToaster } from '../../singletons/toaster';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { HistoryDialog } from './history-dialog';
|
import { HistoryDialog } from './history-dialog';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Card, Dialog, Divider, IDialogProps } from '@blueprintjs/core';
|
import { Card, Dialog, Divider, IDialogProps } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { JSONCollapse } from '../../components';
|
import { JSONCollapse } from '../../components';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { LookupEditDialog } from './lookup-edit-dialog';
|
import { LookupEditDialog } from './lookup-edit-dialog';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Button, Classes, Dialog, FormGroup, HTMLSelect, InputGroup, Intent } from '@blueprintjs/core';
|
import { Button, Classes, Dialog, FormGroup, HTMLSelect, InputGroup, Intent } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import AceEditor from 'react-ace';
|
import AceEditor from 'react-ace';
|
||||||
|
|
||||||
import { validJson } from '../../utils';
|
import { validJson } from '../../utils';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { LookupEditDialog } from '../lookup-edit-dialog/lookup-edit-dialog';
|
import { LookupEditDialog } from '../lookup-edit-dialog/lookup-edit-dialog';
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import { Intent } from '@blueprintjs/core';
|
import { Intent } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { AutoForm, ExternalLink } from '../../components';
|
import { AutoForm, ExternalLink } from '../../components';
|
||||||
import { AppToaster } from '../../singletons/toaster';
|
import { AppToaster } from '../../singletons/toaster';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { QueryPlanDialog } from './query-plan-dialog';
|
import { QueryPlanDialog } from './query-plan-dialog';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Button, Classes, Dialog, FormGroup, InputGroup, TextArea } from '@blueprintjs/core';
|
import { Button, Classes, Dialog, FormGroup, InputGroup, TextArea } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { BasicQueryExplanation, SemiJoinQueryExplanation } from '../../utils';
|
import { BasicQueryExplanation, SemiJoinQueryExplanation } from '../../utils';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { reorderArray } from './retention-dialog';
|
import { reorderArray } from './retention-dialog';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { RetentionDialog } from './retention-dialog';
|
import { RetentionDialog } from './retention-dialog';
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import { Button, FormGroup } from '@blueprintjs/core';
|
import { Button, FormGroup } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { Rule, RuleEditor } from '../../components';
|
import { Rule, RuleEditor } from '../../components';
|
||||||
import { QueryManager } from '../../utils';
|
import { QueryManager } from '../../utils';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { SnitchDialog } from './snitch-dialog';
|
import { SnitchDialog } from './snitch-dialog';
|
||||||
|
|
|
@ -27,7 +27,7 @@ import {
|
||||||
} from '@blueprintjs/core';
|
} from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import classNames = require('classnames');
|
import classNames = require('classnames');
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { HistoryDialog } from '../history-dialog/history-dialog';
|
import { HistoryDialog } from '../history-dialog/history-dialog';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { SpecDialog } from './spec-dialog';
|
import { SpecDialog } from './spec-dialog';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Button, Classes, Dialog, Intent } from '@blueprintjs/core';
|
import { Button, Classes, Dialog, Intent } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import AceEditor from 'react-ace';
|
import AceEditor from 'react-ace';
|
||||||
|
|
||||||
import './spec-dialog.scss';
|
import './spec-dialog.scss';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { SupervisorTableActionDialog } from './supervisor-table-action-dialog';
|
import { SupervisorTableActionDialog } from './supervisor-table-action-dialog';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { IDialogProps } from '@blueprintjs/core';
|
import { IDialogProps } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { ShowJson } from '../../components';
|
import { ShowJson } from '../../components';
|
||||||
import { BasicAction, basicActionsToButtons } from '../../utils/basic-action';
|
import { BasicAction, basicActionsToButtons } from '../../utils/basic-action';
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { TableActionDialog } from './table-action-dialog';
|
import { TableActionDialog } from './table-action-dialog';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Button, Classes, Dialog, Icon, IconName, IDialogProps, Intent } from '@blueprintjs/core';
|
import { Button, Classes, Dialog, Icon, IconName, IDialogProps, Intent } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import './table-action-dialog.scss';
|
import './table-action-dialog.scss';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { render } from 'react-testing-library';
|
import { render } from 'react-testing-library';
|
||||||
|
|
||||||
import { TaskTableActionDialog } from './task-table-action-dialog';
|
import { TaskTableActionDialog } from './task-table-action-dialog';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { IDialogProps } from '@blueprintjs/core';
|
import { IDialogProps } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { ShowJson, ShowLog } from '../../components';
|
import { ShowJson, ShowLog } from '../../components';
|
||||||
import { BasicAction, basicActionsToButtons } from '../../utils/basic-action';
|
import { BasicAction, basicActionsToButtons } from '../../utils/basic-action';
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
|
|
||||||
import 'es6-shim/es6-shim';
|
import 'es6-shim/es6-shim';
|
||||||
import 'es7-shim'; // Webpack with automatically pick browser.js which does the shim()
|
import 'es7-shim'; // Webpack with automatically pick browser.js which does the shim()
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import * as ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
|
||||||
import './bootstrap/react-table-defaults';
|
import './bootstrap/react-table-defaults';
|
||||||
import { ConsoleApplication } from './console-application';
|
import { ConsoleApplication } from './console-application';
|
||||||
|
|
|
@ -17,6 +17,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { configure } from 'enzyme';
|
import { configure } from 'enzyme';
|
||||||
import * as enzymeAdapterReact16 from 'enzyme-adapter-react-16';
|
import enzymeAdapterReact16 from 'enzyme-adapter-react-16';
|
||||||
|
|
||||||
configure({ adapter: new enzymeAdapterReact16() });
|
configure({ adapter: new (enzymeAdapterReact16 as any)() });
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Button, IconName, Intent, Menu, MenuItem } from '@blueprintjs/core';
|
import { Button, IconName, Intent, Menu, MenuItem } from '@blueprintjs/core';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
export interface BasicAction {
|
export interface BasicAction {
|
||||||
icon?: IconName;
|
icon?: IconName;
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
|
|
||||||
import { Button, HTMLSelect, InputGroup, Intent } from '@blueprintjs/core';
|
import { Button, HTMLSelect, InputGroup, Intent } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import * as FileSaver from 'file-saver';
|
import FileSaver from 'file-saver';
|
||||||
import * as numeral from 'numeral';
|
import numeral from 'numeral';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import { Filter, FilterRender } from 'react-table';
|
import { Filter, FilterRender } from 'react-table';
|
||||||
|
|
||||||
export function addFilter(filters: Filter[], id: string, value: string): Filter[] {
|
export function addFilter(filters: Filter[], id: string, value: string): Filter[] {
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
import { Code } from '@blueprintjs/core';
|
import { Code } from '@blueprintjs/core';
|
||||||
import { number } from 'prop-types';
|
import { number } from 'prop-types';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { Field } from '../components/auto-form/auto-form';
|
import { Field } from '../components/auto-form/auto-form';
|
||||||
import { ExternalLink } from '../components/external-link/external-link';
|
import { ExternalLink } from '../components/external-link/external-link';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { DatasourcesView } from './datasource-view';
|
import { DatasourcesView } from './datasource-view';
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import { Button, FormGroup, Icon, InputGroup, Intent, Popover, Position, Switch } from '@blueprintjs/core';
|
import { Button, FormGroup, Icon, InputGroup, Intent, Popover, Position, Switch } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import ReactTable, { Filter } from 'react-table';
|
import ReactTable, { Filter } from 'react-table';
|
||||||
|
|
||||||
import { ActionCell, RuleEditor, TableColumnSelector, ViewControlBar } from '../../components';
|
import { ActionCell, RuleEditor, TableColumnSelector, ViewControlBar } from '../../components';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { HomeView } from './home-view';
|
import { HomeView } from './home-view';
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import { Card, H5, Icon } from '@blueprintjs/core';
|
import { Card, H5, Icon } from '@blueprintjs/core';
|
||||||
import { IconName, IconNames } from '@blueprintjs/icons';
|
import { IconName, IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { UrlBaser } from '../../singletons/url-baser';
|
import { UrlBaser } from '../../singletons/url-baser';
|
||||||
import { getHeadProp, lookupBy, pluralIfNeeded, queryDruidSql, QueryManager } from '../../utils';
|
import { getHeadProp, lookupBy, pluralIfNeeded, queryDruidSql, QueryManager } from '../../utils';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { LoadDataView } from './load-data-view';
|
import { LoadDataView } from './load-data-view';
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,8 @@ import {
|
||||||
} from '@blueprintjs/core';
|
} from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import ReactTable from 'react-table';
|
import ReactTable from 'react-table';
|
||||||
|
|
||||||
import { AutoForm, CenterMessage, ClearableInput, ExternalLink, JSONInput, Loader, TableCell } from '../../components';
|
import { AutoForm, CenterMessage, ClearableInput, ExternalLink, JSONInput, Loader, TableCell } from '../../components';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { LookupsView } from './lookups-view';
|
import { LookupsView } from './lookups-view';
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
import { Button, Icon, Intent, Popover, Position } from '@blueprintjs/core';
|
import { Button, Icon, Intent, Popover, Position } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import ReactTable from 'react-table';
|
import ReactTable from 'react-table';
|
||||||
|
|
||||||
import { ActionCell, TableColumnSelector, ViewControlBar } from '../../components';
|
import { ActionCell, TableColumnSelector, ViewControlBar } from '../../components';
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { SegmentsView } from '../segments-view/segments-view';
|
import { SegmentsView } from '../segments-view/segments-view';
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ import { Button, Intent } from '@blueprintjs/core';
|
||||||
import { H5 } from '@blueprintjs/core';
|
import { H5 } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import ReactTable from 'react-table';
|
import ReactTable from 'react-table';
|
||||||
import { Filter } from 'react-table';
|
import { Filter } from 'react-table';
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { ServersView } from './servers-view';
|
import { ServersView } from './servers-view';
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ import { Button, ButtonGroup, Intent, Label } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { sum } from 'd3-array';
|
import { sum } from 'd3-array';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import ReactTable from 'react-table';
|
import ReactTable from 'react-table';
|
||||||
import { Filter } from 'react-table';
|
import { Filter } from 'react-table';
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { SqlView } from './sql-view';
|
import { SqlView } from './sql-view';
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as Hjson from 'hjson';
|
import Hjson from 'hjson';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import SplitterLayout from 'react-splitter-layout';
|
import SplitterLayout from 'react-splitter-layout';
|
||||||
import ReactTable from 'react-table';
|
import ReactTable from 'react-table';
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { TasksView } from './tasks-view';
|
import { TasksView } from './tasks-view';
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import { Alert, Button, ButtonGroup, Intent, Label, Menu, MenuItem, Popover, Position } from '@blueprintjs/core';
|
import { Alert, Button, ButtonGroup, Intent, Label, Menu, MenuItem, Popover, Position } from '@blueprintjs/core';
|
||||||
import { IconNames } from '@blueprintjs/icons';
|
import { IconNames } from '@blueprintjs/icons';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
import SplitterLayout from 'react-splitter-layout';
|
import SplitterLayout from 'react-splitter-layout';
|
||||||
import ReactTable from 'react-table';
|
import ReactTable from 'react-table';
|
||||||
import { Filter } from 'react-table';
|
import { Filter } from 'react-table';
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
"strictFunctionTypes": false,
|
"strictFunctionTypes": false,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
|
Loading…
Reference in New Issue