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/components | petrpan-code/edp963/davinci/webapp/app/components/StarPanel/types.ts | import { IStarUser } from 'containers/Projects/types'
export interface IStar {
proId: number
isStar: boolean
starNum: number
unStar?: (id: number) => any
userList?: (id: number) => any
starUser?: IStarUser[]
}
export interface IStarUserList {
visible: boolean
starUser: IStarUser[]
closeUserListModal:... | 200 |
0 | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting/Font/Font.less | .setting {
display: flex;
align-items: center;
}
.width1 {
width: 150px !important;
margin-right: 8px;
&:global(.ant-select-sm) {
width: 140px !important;
}
&:global(.ant-select-lg) {
width: 160px !important;
}
}
.width2 {
width: 80px !important;
margin-right: 8px;
&:global(.ant-selec... | 201 |
0 | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting/Font/Setting.tsx | import React, { useState, useCallback, forwardRef } from 'react'
import { IFontSetting, FontStyles } from './types'
import { fontSelect, EmptyFontSetting } from './constants'
import { SelectProps } from 'antd/lib/select'
import { ColorPickerProps } from 'components/ColorPicker'
import Styles from './Font.less'
inte... | 202 |
0 | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting/Font/constants.tsx | import React from 'react'
import { Select } from 'antd'
const { Option } = Select
import ColorPicker from 'components/ColorPicker'
import { IFontSetting } from './types'
import {
PIVOT_CHART_FONT_FAMILIES,
PIVOT_CHART_FONT_SIZES,
PIVOT_CHART_FONT_WEIGHTS,
PIVOT_CHART_FONT_STYLE,
PIVOT_DEFAULT_FONT_COLOR,
... | 203 |
0 | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting/Font/index.ts | export { IFontSetting } from './types'
export { EmptyFontSetting } from './constants'
export { default as FontSetting } from './Setting'
| 204 |
0 | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting | petrpan-code/edp963/davinci/webapp/app/components/StyleSetting/Font/types.ts | export type FontStyles = 'normal' | 'italic' | 'oblique'
export interface IFontSetting {
fontFamily: string
fontStyle: FontStyles
fontSize: string
fontWeight: string
fontColor: string
}
| 205 |
0 | petrpan-code/edp963/davinci/webapp/app/components/Table | petrpan-code/edp963/davinci/webapp/app/components/Table/Editable/Cell.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... | 206 |
0 | petrpan-code/edp963/davinci/webapp/app/components/Table | petrpan-code/edp963/davinci/webapp/app/components/Table/Editable/Table.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... | 207 |
0 | petrpan-code/edp963/davinci/webapp/app/components/Table | petrpan-code/edp963/davinci/webapp/app/components/Table/Editable/index.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... | 208 |
0 | petrpan-code/edp963/davinci/webapp/app/components/Table | petrpan-code/edp963/davinci/webapp/app/components/Table/Editable/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... | 209 |
0 | petrpan-code/edp963/davinci/webapp/app/components/Table | petrpan-code/edp963/davinci/webapp/app/components/Table/Editable/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... | 210 |
0 | petrpan-code/edp963/davinci/webapp/app/components | petrpan-code/edp963/davinci/webapp/app/components/UploadAvatar/UploadAvatar.less | .avatar {
flex-shrink: 0;
width: 100%;
height: 200px;
display: flex;
img{
flex-shrink: 0;
}
.uploadAvatar {
display: flex;
flex-direction: column;
padding: 28px 20px 0 20px;
margin-left: 120px;
.uploadTitle {
font-size: 16px;
font-weight: 600;
margin-bottom: 8px;
... | 211 |
0 | petrpan-code/edp963/davinci/webapp/app/components | petrpan-code/edp963/davinci/webapp/app/components/UploadAvatar/index.tsx | import React, { GetDerivedStateFromProps } from 'react'
import Avatar from '../Avatar'
import { Upload, message as Message, Button } from 'antd'
const styles = require('./UploadAvatar.less')
import api from 'utils/api'
import { setToken, getToken } from 'utils/request'
interface IUploadAvatar {
id?: number
callbac... | 212 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Account/Account.less | @import "~assets/less/variable";
.wrapper {
width: 100%;
height: 100%;
overflow-y: auto;
.container {
width: 100%;
height: auto;
max-width: 970px;
margin: 24px auto;
display: flex;
flex-direction: row;
justify-content: flex-start;
.sidebar {
width: 186px;
margin-righ... | 213 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Account/Loadable.tsx | import React from 'react'
import loadable from 'utils/loadable'
import { Skeleton } from 'antd'
export const Account = loadable(() => import('./'), {
fallback: <Skeleton active={true} paragraph={{ rows: 15 }} />
})
| 214 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Account/index.tsx | import React from 'react'
import { connect } from 'react-redux'
import { compose } from 'redux'
import { withRouter } from 'react-router-dom'
import injectReducer from 'utils/injectReducer'
import injectSaga from 'utils/injectSaga'
import reducer from 'containers/Organizations/reducer'
import saga from 'containers/Orga... | 215 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Account | petrpan-code/edp963/davinci/webapp/app/containers/Account/components/Menus.tsx | import React from 'react'
import { Link } from 'react-router-dom'
import { Menu } from 'antd'
const defaultItems = [
{icons: 'icon-user1', key: '1', text: '个人信息', route: 'profile'},
{icons: 'icon-xiugaimima', key: '2', text: '修改密码', route: 'resetPassword'},
{icons: 'icon-organization', key: '3', text: '我的组织', rou... | 216 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Account | petrpan-code/edp963/davinci/webapp/app/containers/Account/components/checkMemberPermission.tsx | import React from 'react'
import {
CREATE_ORGANIZATION_PROJECT
} from 'containers/App/constants'
import { IOrganization } from 'containers/Organizations/types'
interface IComponentPermissionProps {
size?: string
type?: string
icon?: string
onClick?: any
className?: string
permission?: IOrganization
}
e... | 217 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Account | petrpan-code/edp963/davinci/webapp/app/containers/Account/components/checkMenuPermission.tsx | import React from 'react'
import { IOrganization } from 'containers/Organizations/types'
import { IProject } from 'containers/Projects/types'
interface IModulePermissionProps {
size?: string
type?: string
icon?: string
onClick?: any
className?: string
permission?: IOrganization
indexRoute?: string
acti... | 218 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Account | petrpan-code/edp963/davinci/webapp/app/containers/Account/components/checkModulePermission.tsx | import React from 'react'
import { IProject } from 'containers/Projects/types'
export default function<T> (project?: IProject, route?: string, isDelete?: boolean) {
return (WrapperComponent) => {
class ModulePermission extends React.PureComponent<T, {}> {
private getPermissionByCurrentProject = () => {
... | 219 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Account | petrpan-code/edp963/davinci/webapp/app/containers/Account/components/checkShareDownloadPermission.tsx | import React from 'react'
import { IProject } from 'containers/Projects/types'
export default function<T> (project?: IProject, type?: string) {
return (WrapperComponent) => {
class ShareDownloadPermission extends React.PureComponent<T, {}> {
private getPermissionByCurrentProject = () => {
let permi... | 220 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Account | petrpan-code/edp963/davinci/webapp/app/containers/Account/components/checkUtilPermission.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... | 221 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/App/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... | 222 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/App/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... | 223 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/App/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... | 224 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/App/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... | 225 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/App/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... | 226 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/App/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... | 227 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/App/types.ts | export interface IDownloadRecord {
id: number
name: string
status: number
createTime: string
lastDownloadTime: string
userId?: number
uuid?: string
}
export interface IServerConfigurations {
version: string
jwtToken: {
timeout: number
}
security: {
oauth2: {
enable: boolean
}
... | 228 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Background/Background.less | @import "~assets/less/variable";
.container {
background: @secondary-color;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
&.share {
background: linear-gradient(135deg, @primary-color, @secondary-col... | 229 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Background/Canvas.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... | 230 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Background/Loadable.tsx | import React from 'react'
import loadable from 'utils/loadable'
import { Skeleton } from 'antd'
export const Background = loadable(() => import('./'), {
fallback: <Skeleton active={true} paragraph={{ rows: 15 }} />
})
| 231 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Background/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... | 232 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/ControlPanel/Global.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... | 233 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/ControlPanel/Local.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... | 234 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/ControlPanel/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... | 235 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/ControlPanel/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... | 236 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/ControlPanel/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... | 237 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/ControlPanel/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... | 238 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/ControlPanel/types.ts | import { IMapControlOptions } from 'app/components/Control/types'
export interface IControlState {
globalControlPanelFormValues: object
globalControlPanelSelectOptions: IMapControlOptions
localControlPanelFormValues: {
[itemId: string]: object
}
localControlPanelSelectOptions: {
[itemId: string]: IMa... | 239 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/Dashboard.less | @import "~assets/less/variable";
.grid {
margin-top: -16px;
}
.unit {
height: 120px;
background-color: @body-background;
background-repeat: no-repeat;
background-size: 100%;
background-position: center center;
margin-bottom: 20px;
border-radius: 2px;
box-shadow: @block-box-shadow;
transform: trans... | 240 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/FullScreenPanel.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... | 241 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/Grid.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... | 242 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/Loadable.tsx | import React from 'react'
import loadable from 'utils/loadable'
import { Skeleton } from 'antd'
export const Dashboard = loadable(() => import('./'), {
fallback: <Skeleton active={true} paragraph={{ rows: 15 }} />
})
export const Grid = loadable(() => import('./Grid'), {
fallback: <Skeleton active={true} paragrap... | 243 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/SharePanel.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... | 244 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/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... | 245 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/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... | 246 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/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... | 247 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/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... | 248 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/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... | 249 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/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... | 250 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/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... | 251 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/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... | 252 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/DashboardAction.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... | 253 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/DashboardForm.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... | 254 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/DashboardItem.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... | 255 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/DashboardItemForm.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... | 256 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/DashboardLinkageConfig.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... | 257 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/DrillPathSetting.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... | 258 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/Toolbar.tsx | import React from 'react'
import { Button, Tooltip, Col, Popconfirm } from 'antd'
import { ButtonProps } from 'antd/lib/button/button'
import { IProject } from 'containers/Projects/types'
import { IDashboard } from '../types'
import ModulePermission from 'containers/Account/components/checkModulePermission'
import S... | 259 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/localPositionUtil.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... | 260 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/DashboardItemMask/index.tsx | import React from 'react'
import ChartTypes from 'containers/Widget/config/chart/ChartTypes'
import { Icon } from 'antd'
import styles from './style.less'
export interface IDashboardItemMaskProps {
loading: boolean
chartType: ChartTypes
empty: boolean
hasDataConfig: boolean
children?: React.ReactElement<any>... | 261 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components | petrpan-code/edp963/davinci/webapp/app/containers/Dashboard/components/DashboardItemMask/style.less | @import "~assets/less/variable";
.mask {
background-color: fade(@white, 60);
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
i {
font-size: 1.5em;
&.emptyIcon {
font-size: 2em;
}
}... | 262 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/Display.less | @import '~assets/less/variable';
:global {
.display {
&-layout {
overflow: hidden;
& > .ant-layout-content {
display: flex;
flex-direction: column;
& > div {
flex: 1;
}
}
&-content {
overflow: hidden;
}
&-sider {
ov... | 263 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/Loadable.tsx | import React from 'react'
import loadable from 'utils/loadable'
import { Skeleton } from 'antd'
export const Display = loadable(() => import('./'), {
fallback: <Skeleton active={true} paragraph={{ rows: 15 }} />
})
export const DisplayEditor = loadable(() => import('./Editor'), {
fallback: <Skeleton active={true}... | 264 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/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... | 265 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/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... | 266 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/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... | 267 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/messages.ts | /*
* Display Messages
*
* This contains all the text for the Display component.
*/
import { defineMessages } from 'react-intl'
export default defineMessages({
header: {
id: 'app.containers.Display.header',
defaultMessage: 'This is Display container !'
}
})
| 268 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/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... | 269 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/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... | 270 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/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... | 271 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/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... | 272 |
0 | petrpan-code/edp963/davinci/webapp/app/containers | petrpan-code/edp963/davinci/webapp/app/containers/Display/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... | 273 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Editor/Header.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... | 274 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Editor/Setting.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... | 275 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Editor/SharePanel.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... | 276 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Editor/SlideBaselines.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... | 277 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Editor/SlideEditor.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... | 278 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Editor/SlideLayer.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... | 279 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Editor/SlideLayerList.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... | 280 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Editor/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... | 281 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Preview/Display.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... | 282 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Preview/Layer.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... | 283 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Preview/Preview.less | /*
* <<
* Davinci
* ==
* Copyright (C) 2016 - 2017 EDP
* ==
* Licensed under the Apache License, Version 2.0 (the "License") !important;
* 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... | 284 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Preview/Reveal.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... | 285 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Preview/Slide.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... | 286 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Preview/hooks.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... | 287 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/Preview/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... | 288 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/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... | 289 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/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... | 290 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/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... | 291 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display/components | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container/Bottom.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... | 292 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display/components | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container/Container.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... | 293 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display/components | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container/Container.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... | 294 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display/components | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container/ContainerContext.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... | 295 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display/components | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container/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... | 296 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display/components | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container/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... | 297 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container/Slide/Background.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... | 298 |
0 | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container | petrpan-code/edp963/davinci/webapp/app/containers/Display/components/Container/Slide/Baseline.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... | 299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.