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