index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Source/Source.less
.hide { display: none !important; } .formStepArea { padding: 0 5%; margin: 10px 0 30px; }
500
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Source/actions.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
501
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Source/constants.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
502
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Source/index.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
503
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Source/reducer.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
504
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Source/sagas.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
505
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Source/selectors.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
506
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Source/types.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
507
0
petrpan-code/edp963/davinci/webapp/app/containers/Source
petrpan-code/edp963/davinci/webapp/app/containers/Source/components/ResetConnectionModal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
508
0
petrpan-code/edp963/davinci/webapp/app/containers/Source
petrpan-code/edp963/davinci/webapp/app/containers/Source/components/SourceConfigModal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
509
0
petrpan-code/edp963/davinci/webapp/app/containers/Source
petrpan-code/edp963/davinci/webapp/app/containers/Source/components/UploadCsvModal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
510
0
petrpan-code/edp963/davinci/webapp/app/containers/Source
petrpan-code/edp963/davinci/webapp/app/containers/Source/components/types.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
511
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/Editor.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
512
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/Loadable.tsx
import React from 'react' import loadable from 'utils/loadable' import { Skeleton } from 'antd' export const View = loadable(() => import('./'), { fallback: <Skeleton active={true} paragraph={{ rows: 15 }} /> }) export const ViewEditor = loadable(() => import('./Editor'), { fallback: <Skeleton active={true} parag...
513
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/View.less
@import "~assets/less/variable"; .viewEditor { flex: 1; display: flex; flex-direction: column; overflow-y: scroll; .header { height: 64px; line-height: 64px; background-color: @light-bg; border-bottom: 1px solid @border-color-base; } .steps { width: 33.33%; margin: auto; hei...
514
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/actions.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
515
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/constants.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
516
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/index.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
517
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/reducer.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
518
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/sagas.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
519
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/selectors.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
520
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/types.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
521
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/View/util.ts
import { IViewModel, ISqlColumn, IView, IFormedView, IViewRoleRaw, IViewRole, IKeyOfViewModelProps } from './types' import { SqlTypes } from 'app/globalConstants' import { DefaultModelTypeSqlTypeSetting, VisualTypeSqlTypeSetting, ViewModelVisualTypes, ViewModelTypes } from './constants' import { hasProperty } from 'ut...
522
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/CopyModal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
523
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/EditorBottom.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
524
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/EditorContainer.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
525
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/EditorSteps.tsx
import React from 'react' import { Steps } from 'antd' const Step = Steps.Step interface IEditorStepProps { current: number } export const EditorSteps: React.FunctionComponent<IEditorStepProps> = (props) => { const { current } = props return ( <Steps current={current}> <Step title="编写 SQL" /> <...
526
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/ModelAuth.tsx
import React from 'react' import classnames from 'classnames' import memoizeOne from 'memoize-one' import { Table, Tabs, Radio, Checkbox, Select, Row, Col, Button, Tag, Tooltip, Icon } from 'antd' const { Column } = Table const { TabPane } = Tabs const RadioGroup = Radio.Group const { Option } = Select import { RadioCh...
527
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/ModelAuthModal.tsx
import React from 'react' import { Modal, Button, List, Checkbox } from 'antd' const ListItem = List.Item import { CheckboxChangeEvent } from 'antd/lib/checkbox' import { IViewModel } from '../types' interface IModelAuthModalProps { visible: boolean model: IViewModel roleId: number auth: string[] onSave: (au...
528
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/SourceTable.tsx
import React from 'react' import memoizeOne from 'memoize-one' import { Input, Select, Row, Col, Tree, Icon } from 'antd' import { AntTreeNode, AntTreeNodeSelectedEvent, AntTreeNodeExpandedEvent } from 'antd/lib/tree/Tree' const { Search } = Input const { Option } = Select const { TreeNode } = Tree import { ISource, ...
529
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/SqlEditor.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
530
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/SqlEditorByAce.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
531
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/SqlPreview.tsx
import React from 'react' import { findDOMNode } from 'react-dom' import memoizeOne from 'memoize-one' import { Table } from 'antd' import { ColumnProps, TableProps } from 'antd/lib/table' import { PaginationConfig } from 'antd/lib/pagination' import Styles from '../View.less' import { IExecuteSqlResponse, ISqlColumn...
532
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/VariableModal.tsx
import React from 'react' import { Modal, Form, Input, Select, Checkbox, Button, Row, Col } from 'antd' const FormItem = Form.Item const TextArea = Input.TextArea const { Option } = Select import { CheckboxChangeEvent } from 'antd/lib/checkbox' import { FormComponentProps } from 'antd/lib/form/Form' import ConditionVal...
533
0
petrpan-code/edp963/davinci/webapp/app/containers/View
petrpan-code/edp963/davinci/webapp/app/containers/View/components/ViewVariableList.tsx
import React from 'react' import { List, Icon, Tooltip, Popconfirm, Tag } from 'antd' import { IViewVariable } from 'containers/View/types' import { ViewVariableTypes } from '../constants' import Styles from '../View.less' export interface IViewVariableListProps { variables: IViewVariable[] className?: string ...
534
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/Loadable.tsx
import React from 'react' import loadable from 'utils/loadable' import { Skeleton } from 'antd' export const Viz = loadable(() => import('./'), { fallback: <Skeleton active={true} paragraph={{ rows: 15 }} /> }) export const VizList = loadable(() => import('./VizList'), { fallback: <Skeleton active={true} paragrap...
535
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/Portal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
536
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/Viz.less
@import "~assets/less/variable"; .slides { position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow-y: auto; } .unit { height: 120px; background-color: @body-background; background-repeat: no-repeat; background-size: 100%; background-position: center center; margin-bottom: 20px; ...
537
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/VizList.tsx
import React from 'react' import classnames from 'classnames' import Helmet from 'react-helmet' import { Link } from 'react-router-dom' import { compose } from 'redux' import { connect } from 'react-redux' import { createStructuredSelector } from 'reselect' import { checkNameUniqueAction } from '../App/actions' impor...
538
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/actions.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
539
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/constants.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
540
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/index.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
541
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/reducer.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
542
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/sagas.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
543
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/selectors.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
544
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/types.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
545
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Viz/util.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
546
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/Display/Editor.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
547
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/Display/Loadable.tsx
import React from 'react' import loadable from 'utils/loadable' import { Skeleton } from 'antd' export const VizDisplayEditor = loadable(() => import('./Editor'), { fallback: <Skeleton active={true} paragraph={{ rows: 15 }} /> })
548
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/Display/index.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
549
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/DashboardConfigModal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
550
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/DisplayFormModal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
551
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/DisplayList.tsx
import React from 'react' import classnames from 'classnames' import { createStructuredSelector } from 'reselect' import { makeSelectProjectRoles } from 'containers/Projects/selectors' import { connect } from 'react-redux' import {compose} from 'redux' import { Col, Tooltip, Icon, Popconfirm, Row } from 'antd' import {...
552
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/PollingConfig.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
553
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/PortalForm.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
554
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/PortalList.tsx
import React from 'react' import classnames from 'classnames' import { createStructuredSelector } from 'reselect' import { compose } from 'redux' import { connect } from 'react-redux' import { Icon, Col, Button, Tooltip, Popconfirm, Modal, Row } from 'antd' import { IconProps } from 'antd/lib/icon' import AntdFormType ...
555
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/WidgetSelectModal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
556
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/types.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
557
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/SlideThumbnail/Item.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
558
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/SlideThumbnail/List.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
559
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/SlideThumbnail/SlideThumbnail.less
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
560
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components
petrpan-code/edp963/davinci/webapp/app/containers/Viz/components/SlideThumbnail/index.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
561
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/hooks/dashboardConfigMenu.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
562
0
petrpan-code/edp963/davinci/webapp/app/containers/Viz
petrpan-code/edp963/davinci/webapp/app/containers/Viz/hooks/dashboardTreeNodes.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
563
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/List.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
564
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/Loadable.tsx
import React from 'react' import loadable from 'utils/loadable' import { Skeleton } from 'antd' export const Widget = loadable(() => import('./'), { fallback: <Skeleton active={true} paragraph={{ rows: 15 }} /> }) export const WidgetList = loadable(() => import('./List'), { fallback: <Skeleton active={true} parag...
565
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/Widget.less
@import "~assets/less/variable"; .widget { height: 120px; background-color: @body-background; margin-bottom: 20px; border-radius: 2px; box-shadow: @block-box-shadow; transform: translate3d(0, 0, 0); transition: all 200ms linear; position: relative; cursor: pointer; &:hover { box-shadow: @block...
566
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/actions.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
567
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/constants.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
568
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/index.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
569
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/reducer.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
570
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/sagas.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
571
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/selectors.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
572
0
petrpan-code/edp963/davinci/webapp/app/containers
petrpan-code/edp963/davinci/webapp/app/containers/Widget/types.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
573
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/ComputedConfigForm.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
574
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/CopyModal.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
575
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/WidgetSelector.tsx
import React from 'react' import classnames from 'classnames' import { iconMapping } from './util' import { IWidgetFormed } from '../types' import { Icon, Row, Col, Checkbox, Pagination, Input } from 'antd' const Search = Input.Search const styles = require('../Widget.less') export interface IWidgetSelectorProps { ...
576
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/util.ts
import { DEFAULT_SPLITER, DEFAULT_FONT_SIZE, DEFAULT_FONT_WEIGHT, DEFAULT_FONT_FAMILY, PIVOT_CELL_PADDING, PIVOT_CELL_BORDER, PIVOT_LINE_HEIGHT, PIVOT_MAX_CONTENT_WIDTH, PIVOT_CHART_ELEMENT_MIN_WIDTH, PIVOT_CHART_ELEMENT_MAX_WIDTH, PIVOT_CHART_METRIC_AXIS_MIN_SIZE, PIVOT_CHART_POINT_LIMIT, PIV...
577
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Chart.less
@import '~assets/less/variable'; .chartContainer { flex: 1; } .scorecard { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; .scorecardContainer { max-width: 100%; .scorecardTitle { padding: 8px 0 0; display: block; .ellipsis; ...
578
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Chart.tsx
import React from 'react' import { IChartProps } from './index' import chartlibs from '../../config/chart' import echarts from 'echarts/lib/echarts' import { ECharts } from 'echarts' import chartOptionGenerator from '../../render/chart' const styles = require('./Chart.less') interface IChartStates { seriesItems: str...
579
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Iframe.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
580
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Scorecard.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
581
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/index.tsx
import React, { Component } from 'react' import { IWidgetProps } from '../Widget' import Table from './Table' import Scorecard from './Scorecard' import Iframe from './Iframe' import RichText from './RichText' import Chart from './Chart' import ChartTypes from '../../config/chart/ChartTypes' export interface IChartPro...
582
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/RichText/Editor.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
583
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/RichText/Preview.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
584
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/RichText/RichText.less
.richText { flex: 1; display: flex; flex-direction: column; font-size: 14px; overflow: hidden; } .editor { flex: 1; }
585
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/RichText/constants.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
586
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/RichText/index.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
587
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table/Table.less
.table { &.noBorder { :global { .ant-table-thead > tr > th { border: none; } .ant-table-tbody > tr > td { border: none; } } } :global { .ant-table, .ant-pagination, .ant-select { font-style: 12px; } .ant-table-fixed-header .ant-table-sc...
588
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table/constants.ts
import { SortOrder } from 'antd/lib/table' import { FieldSortTypes } from '../../Config/Sort' export const MapAntSortOrder: { [key in SortOrder]: FieldSortTypes } = { ascend: FieldSortTypes.Asc, descend: FieldSortTypes.Desc }
589
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table/index.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
590
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table/util.ts
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
591
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table/components/BodyCell.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
592
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table/components/HeadCell.tsx
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
593
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Chart/Table/components/index.tsx
import HeadCell from './HeadCell' import BodyCell from './BodyCell' import { TableComponents } from 'antd/lib/table' export const tableComponents: TableComponents = { header: { cell: HeadCell }, body: { cell: BodyCell } }
594
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Field/AliasExpressionTest.tsx
import React from 'react' import { Input, Button, Form, Modal } from 'antd' import { FormComponentProps } from 'antd/lib/form' const FormItem = Form.Item import { IQueryVariableMap } from 'app/containers/Dashboard/types' interface IAliasExpressionTestProps extends FormComponentProps { visible: boolean queryVariab...
595
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Field/FieldConfigModal.tsx
import React from 'react' import classnames from 'classnames' import { findDOMNode } from 'react-dom' import { Icon, Row, Col, Form, Input, Checkbox, Select, Button, Popover, Modal, message } from 'antd' import { FormComponentProps } from 'antd/lib/form' import { WrappedFormUtils } from 'antd/lib/form/Form' import { C...
596
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Field/index.ts
export { IFieldConfig } from './types' export { getDefaultFieldConfig, getFieldAlias } from './util' export { default as FieldConfigModal } from './FieldConfigModal'
597
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Field/types.ts
export interface IFieldConfig { alias: string useExpression: boolean desc: string }
598
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Field/util.ts
import moment from 'moment' import { message } from 'antd' import { IFieldConfig } from './types' import { IQueryVariableMap } from 'app/containers/Dashboard/types' export function getDefaultFieldConfig (): IFieldConfig { return { alias: '', desc: '', useExpression: false } } export function extractQu...
599