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/utils | petrpan-code/edp963/davinci/webapp/app/utils/migrationRecorders/index.ts | import widgetConfig from './widgetConfig'
import dashboardConfig from './dashboardConfig'
import scheduleConfig from './scheduleConfig'
import { IWidgetConfig } from 'app/containers/Widget/components/Widget'
import { IDashboardConfig } from 'app/containers/Dashboard/types'
import {
IScheduleMailConfig,
IScheduleWeC... | 800 |
0 | petrpan-code/edp963/davinci/webapp/app/utils | petrpan-code/edp963/davinci/webapp/app/utils/migrationRecorders/scheduleConfig.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... | 801 |
0 | petrpan-code/edp963/davinci/webapp/app/utils | petrpan-code/edp963/davinci/webapp/app/utils/migrationRecorders/widgetConfig.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... | 802 |
0 | petrpan-code/edp963/davinci/webapp/app/utils | petrpan-code/edp963/davinci/webapp/app/utils/statistic/apiInterceptorMiddleware.ts | import {monitoreAction} from './monitoredAction'
export const apiInterceptorMiddleware = ({dispatch, getState}) => (next) => (action) => {
monitoreAction(action)
const nextAction = next(action)
return nextAction
}
| 803 |
0 | petrpan-code/edp963/davinci/webapp/app/utils | petrpan-code/edp963/davinci/webapp/app/utils/statistic/monitoredAction.ts | import {ActionTypes} from 'containers/View/constants'
import {
LOGIN,
LOGGED,
DOWNLOAD_FILE
} from 'containers/App/constants'
import { ActionTypes as DashboardActionTypes } from 'containers/Dashboard/constants'
import { IDataDownloadStatistic } from 'app/containers/Dashboard/types'
import {uuid} from 'utils/util... | 804 |
0 | petrpan-code/edp963/davinci/webapp/app/utils | petrpan-code/edp963/davinci/webapp/app/utils/statistic/statistic.dv.ts | import UAParser from 'ua-parser-js'
import moment, { Moment } from 'moment'
import request from 'utils/request'
import api from 'utils/api'
export interface IUserData {
user_id?: number
email?: string
}
export interface IVizData {
org_id: number
project_id: number
project_name: string
viz_type: 'dashboard... | 805 |
0 | petrpan-code/edp963/davinci/webapp/internals | petrpan-code/edp963/davinci/webapp/internals/scripts/analyze.js | #!/usr/bin/env node
const shelljs = require('shelljs')
const animateProgress = require('./helpers/progress')
const chalk = require('chalk')
const addCheckMark = require('./helpers/checkmark')
const progress = animateProgress('Generating stats')
// Generate stats.json file with webpack
shelljs.exec(
'webpack --conf... | 806 |
0 | petrpan-code/edp963/davinci/webapp/internals | petrpan-code/edp963/davinci/webapp/internals/scripts/extract-intl.js | /**
* This script will extract the internationalization messages from all components
and package them in the translation json files in the translations file.
*/
require('shelljs/global')
const fs = require('fs')
const nodeGlob = require('glob')
const { transform } = require('@babel/core')
const get = require('lo... | 807 |
0 | petrpan-code/edp963/davinci/webapp/internals | petrpan-code/edp963/davinci/webapp/internals/scripts/npmcheckversion.js | const { exec } = require('child_process')
exec('npm -v', (err, stdout) => {
if (err) throw err
if (parseFloat(stdout) < 5) {
// NOTE: This can happen if you have a dependency which lists an old version of npm in its own dependencies.
throw new Error(`[ERROR] You need npm version @>=5 but you have ${stdout}`... | 808 |
0 | petrpan-code/edp963/davinci/webapp/internals/scripts | petrpan-code/edp963/davinci/webapp/internals/scripts/helpers/checkmark.js | const chalk = require('chalk')
/**
* Adds mark check symbol
*/
function addCheckMark (callback) {
process.stdout.write(chalk.green(' ✓'))
if (callback) callback()
}
module.exports = addCheckMark
| 809 |
0 | petrpan-code/edp963/davinci/webapp/internals/scripts | petrpan-code/edp963/davinci/webapp/internals/scripts/helpers/progress.js | 'use strict'
const readline = require('readline')
/**
* Adds an animated progress indicator
*
* @param {string} message The message to write next to the indicator
* @param {number} amountOfDots The amount of dots you want to animate
*/
function animateProgress (message, amountOfDots) {
if (typeof amount... | 810 |
0 | petrpan-code/edp963/davinci/webapp/internals | petrpan-code/edp963/davinci/webapp/internals/webpack/webpack.base.babel.js | /**
* COMMON WEBPACK CONFIGURATION
*/
const os = require('os')
const path = require('path')
const webpack = require('webpack')
const HappyPack = require('happypack')
const happyThreadPool = HappyPack.ThreadPool({ size: os.cpus().length })
const overrideLessVariables = require('../../app/assets/override/lessVariables... | 811 |
0 | petrpan-code/edp963/davinci/webapp/internals | petrpan-code/edp963/davinci/webapp/internals/webpack/webpack.dev.babel.js | /**
* DEVELOPMENT WEBPACK CONFIGURATION
*/
const path = require('path')
const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const CircularDependencyPlugin = require('circular-dependency-plugin')
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
modu... | 812 |
0 | petrpan-code/edp963/davinci/webapp/internals | petrpan-code/edp963/davinci/webapp/internals/webpack/webpack.dv.babel.js | // Important modules this config uses
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const { HashedModuleIdsPlugin } = require('webpack')
const TerserPlugin = require('terser-webpack-plugin')
const CompressionPlugin = require('compression-webpack-plugin')
const BundleAnalyzerPlugi... | 813 |
0 | petrpan-code/edp963/davinci/webapp/internals | petrpan-code/edp963/davinci/webapp/internals/webpack/webpack.prod.babel.js | // Important modules this config uses
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const { HashedModuleIdsPlugin } = require('webpack')
const TerserPlugin = require('terser-webpack-plugin')
const CompressionPlugin = require('compression-webpack-plugin')
const CaseSensitivePathsP... | 814 |
0 | petrpan-code/edp963/davinci/webapp | petrpan-code/edp963/davinci/webapp/libs/README.md | # node_modules Library Localization List
## 1. react-grid-layout@0.16.6
## 2. react-dragglable@3.0.5
## 3. react-resizable@1.7.5
| 815 |
0 | petrpan-code/edp963/davinci/webapp/libs | petrpan-code/edp963/davinci/webapp/libs/react-resizable/index.ts | import Resizable from './lib/Resizable'
export * from './lib/types'
import ResizableBox from './lib/ResizableBox'
export {
Resizable,
ResizableBox
}
| 816 |
0 | petrpan-code/edp963/davinci/webapp/libs/react-resizable | petrpan-code/edp963/davinci/webapp/libs/react-resizable/css/styles.css | .react-resizable {
position: relative;
}
.react-resizable-handle {
position: absolute;
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-origin: content-box;
box-sizing: border-box;
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZ... | 817 |
0 | petrpan-code/edp963/davinci/webapp/libs/react-resizable | petrpan-code/edp963/davinci/webapp/libs/react-resizable/lib/Resizable.tsx | import React, { ReactNode, SyntheticEvent } from 'react'
import { DraggableCore, DraggableData, DraggableEvent } from 'react-draggable'
import { cloneElement } from './utils'
import { ResizableProps, ResizeHandle } from './types'
type ResizableState = {
slackW: number
slackH: number
}
export default class Resiza... | 818 |
0 | petrpan-code/edp963/davinci/webapp/libs/react-resizable | petrpan-code/edp963/davinci/webapp/libs/react-resizable/lib/ResizableBox.tsx | import React, { SyntheticEvent } from 'react'
import Resizable from './Resizable'
import { ResizableProps, ResizeCallbackData } from './types'
type ResizableBoxState = {
width: number
height: number
propsWidth: number
propsHeight: number
}
// An example use of Resizable.
export default class ResizableBox exte... | 819 |
0 | petrpan-code/edp963/davinci/webapp/libs/react-resizable | petrpan-code/edp963/davinci/webapp/libs/react-resizable/lib/types.ts | import { ReactElement, SyntheticEvent } from 'react'
type Axis = 'both' | 'x' | 'y' | 'none'
export type ResizeHandle = 's' | 'w' | 'e' | 'n' | 'sw' | 'nw' | 'se' | 'ne'
export type ResizeCallbackData = {
node: HTMLElement
size: { width: number; height: number }
handle: ResizeHandle
}
export type ResizableProps... | 820 |
0 | petrpan-code/edp963/davinci/webapp/libs/react-resizable | petrpan-code/edp963/davinci/webapp/libs/react-resizable/lib/utils.ts | import React, { PropsWithChildren } from 'react'
// React.addons.cloneWithProps look-alike that merges style & className.
export function cloneElement(
element: React.ReactElement<any>,
props: PropsWithChildren<{ style?: React.CSSProperties; className?: string }>
): React.ReactElement<any> {
if (props.style && e... | 821 |
0 | petrpan-code/edp963/davinci/webapp | petrpan-code/edp963/davinci/webapp/server/argv.js | module.exports = require('minimist')(process.argv.slice(2))
| 822 |
0 | petrpan-code/edp963/davinci/webapp | petrpan-code/edp963/davinci/webapp/server/index.js | /* eslint consistent-return:0 */
const express = require('express')
const logger = require('./logger')
const argv = require('./argv')
const port = require('./port')
const setup = require('./middlewares/frontendMiddleware')
const { resolve } = require('path')
const app = express()
// If you need a backend, e.g. an AP... | 823 |
0 | petrpan-code/edp963/davinci/webapp | petrpan-code/edp963/davinci/webapp/server/logger.js | /* eslint-disable no-console */
const chalk = require('chalk')
const ip = require('ip')
const divider = chalk.gray('\n-----------------------------------')
/**
* Logger middleware, you can customize it to make messages more personal
*/
const logger = {
// Called whenever there's an error on the server we want to... | 824 |
0 | petrpan-code/edp963/davinci/webapp | petrpan-code/edp963/davinci/webapp/server/port.js | const argv = require('./argv')
module.exports = parseInt(argv.port || process.env.PORT || '5002', 10)
| 825 |
0 | petrpan-code/edp963/davinci/webapp/server | petrpan-code/edp963/davinci/webapp/server/middlewares/addDevMiddlewares.js | const path = require('path')
const webpack = require('webpack')
const webpackDevMiddleware = require('webpack-dev-middleware')
const webpackHotMiddleware = require('webpack-hot-middleware')
const proxy = require('http-proxy-middleware')
const fs = require('fs')
function createWebpackMiddleware(compiler, publicPath) {... | 826 |
0 | petrpan-code/edp963/davinci/webapp/server | petrpan-code/edp963/davinci/webapp/server/middlewares/addProdMiddlewares.js | const path = require('path')
const express = require('express')
const compression = require('compression')
module.exports = function addProdMiddlewares (app, options) {
const publicPath = options.publicPath || '/'
const outputPath = options.outputPath || path.resolve(process.cwd(), 'build')
// compression middl... | 827 |
0 | petrpan-code/edp963/davinci/webapp/server | petrpan-code/edp963/davinci/webapp/server/middlewares/frontendMiddleware.js | /* eslint-disable global-require */
/**
* Front-end middleware
*/
module.exports = (app, options) => {
const isProd = process.env.NODE_ENV === 'production'
if (isProd) {
const addProdMiddlewares = require('./addProdMiddlewares')
addProdMiddlewares(app, options)
} else {
const webpackConfig = requi... | 828 |
0 | petrpan-code/edp963/davinci/webapp | petrpan-code/edp963/davinci/webapp/share/app.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... | 829 |
0 | petrpan-code/edp963/davinci/webapp | petrpan-code/edp963/davinci/webapp/share/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... | 830 |
0 | petrpan-code/edp963/davinci/webapp | petrpan-code/edp963/davinci/webapp/share/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... | 831 |
0 | petrpan-code/edp963/davinci/webapp/share/components | petrpan-code/edp963/davinci/webapp/share/components/Background/index.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... | 832 |
0 | petrpan-code/edp963/davinci/webapp/share/components | petrpan-code/edp963/davinci/webapp/share/components/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... | 833 |
0 | petrpan-code/edp963/davinci/webapp/share/components | petrpan-code/edp963/davinci/webapp/share/components/ExternalLogin/ExternalLogin.less | .externalauth {
a {
display: block;
width: 240px;
height: 36px;
margin-top: 10px;
line-height: 36px;
text-align:center;
border: 1px solid #fff;
border-radius: 3px;
color:#fff;
font-weight: bold;
}
}
| 834 |
0 | petrpan-code/edp963/davinci/webapp/share/components | petrpan-code/edp963/davinci/webapp/share/components/ExternalLogin/index.tsx | import React from 'react'
import { connect } from 'react-redux'
import { compose } from 'redux'
import { createStructuredSelector } from 'reselect'
import { AppActions } from 'share/containers/App/actions'
import { makeSelectExternalAuthProviders } from 'share/containers/App/selectors'
const styles = require('./Externa... | 835 |
0 | petrpan-code/edp963/davinci/webapp/share/components | petrpan-code/edp963/davinci/webapp/share/components/HeadlessBrowserIdentifier/index.tsx | import React from 'react'
interface IHeadlessBrowserIdentifierProps {
renderSign: boolean
parentNode: HTMLElement
}
function HeadlessBrowserIdentifier (props: IHeadlessBrowserIdentifierProps) {
if (!props.renderSign) {
return (
<span />
)
} else {
const { offsetWidth, offsetHeight } = props.... | 836 |
0 | petrpan-code/edp963/davinci/webapp/share/components | petrpan-code/edp963/davinci/webapp/share/components/Login/Loadable.tsx | import React from 'react'
import loadable from 'utils/loadable'
import { Skeleton } from 'antd'
export const Login = loadable(() => import('./'), {
fallback: <Skeleton active={true} paragraph={{ rows: 15 }} />
})
| 837 |
0 | petrpan-code/edp963/davinci/webapp/share/components | petrpan-code/edp963/davinci/webapp/share/components/Login/index.tsx | import React, { ChangeEvent, FormEvent } from 'react'
import { connect } from 'react-redux'
import { createStructuredSelector } from 'reselect'
import { makeSelectOauth2Enabled } from 'share/containers/App/selectors'
import LoginForm from 'app/containers/Login/LoginForm'
import Background from 'share/components/Backgro... | 838 |
0 | petrpan-code/edp963/davinci/webapp/share/components | petrpan-code/edp963/davinci/webapp/share/components/Password/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... | 839 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/containers/App/Interceptor.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... | 840 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 841 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 842 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 843 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 844 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 845 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 846 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 847 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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 }} />
})
| 848 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 849 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 850 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 851 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 852 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 853 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 854 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/containers/Dashboard/types.ts | import {
IDashboardRaw,
IDashboardItem,
IDashboard,
IDashboardItemInfo
} from 'app/containers/Dashboard/types'
import { DashboardItemStatus } from './constants'
import { IWidgetRaw, IWidgetFormed } from 'app/containers/Widget/types'
import { IShareFormedViews, IView } from 'app/containers/View/types'
import { I... | 855 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 856 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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 }} />
})
| 857 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 858 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 859 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 860 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 861 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 862 |
0 | petrpan-code/edp963/davinci/webapp/share/containers | petrpan-code/edp963/davinci/webapp/share/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... | 863 |
0 | petrpan-code/edp963/davinci/webapp/share/containers/Display | petrpan-code/edp963/davinci/webapp/share/containers/Display/Reveal/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... | 864 |
0 | petrpan-code/edp963/davinci/webapp/share/containers/Display | petrpan-code/edp963/davinci/webapp/share/containers/Display/Reveal/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... | 865 |
0 | petrpan-code/edp963/davinci/webapp/share/containers/Display | petrpan-code/edp963/davinci/webapp/share/containers/Display/Reveal/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... | 866 |
0 | petrpan-code/edp963/davinci/webapp/share/containers/Display | petrpan-code/edp963/davinci/webapp/share/containers/Display/Reveal/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... | 867 |
0 | petrpan-code/edp963/davinci/webapp/share/containers/Display | petrpan-code/edp963/davinci/webapp/share/containers/Display/Reveal/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... | 868 |
0 | petrpan-code/edp963/davinci/webapp/test | petrpan-code/edp963/davinci/webapp/test/app/i18n.test.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... | 869 |
0 | petrpan-code/edp963/davinci/webapp/test | petrpan-code/edp963/davinci/webapp/test/app/store.test.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... | 870 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Display/actions.test.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... | 871 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Display/fixtures.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... | 872 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Display/reducer.test.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... | 873 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Display/sagas.test.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... | 874 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Display/selectors.test.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... | 875 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Organizations/actions.test.ts | import { ActionTypes } from 'app/containers/Organizations/constants'
import actions from 'app/containers/Organizations/actions'
import { mockStore } from './fixtures'
describe('Organizations Actions', () => {
const {
orgId,
projects,
member,
members,
role,
roles,
resolve,
organization... | 876 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Organizations/fixtures.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... | 877 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Organizations/reducer.test.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... | 878 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Organizations/saga.test.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... | 879 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Organizations/selectors.test.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... | 880 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Profile/actions.test.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... | 881 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Profile/fixtures.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... | 882 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Profile/reducer.test.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... | 883 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Profile/sagas.test.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... | 884 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Profile/selectors.test.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... | 885 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Projects/actions.test.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... | 886 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Projects/fixtures.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... | 887 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Projects/reducer.test.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... | 888 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Projects/sagas.test.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... | 889 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Projects/selectors.test.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... | 890 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Schedule/actions.test.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... | 891 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Schedule/fixtures.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... | 892 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Schedule/reducer.test.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... | 893 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Schedule/sagas.test.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... | 894 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Schedule/selectors.test.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... | 895 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Source/actions.test.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... | 896 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Source/fixtures.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... | 897 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Source/reducer.test.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... | 898 |
0 | petrpan-code/edp963/davinci/webapp/test/app/containers | petrpan-code/edp963/davinci/webapp/test/app/containers/Source/sagas.test.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... | 899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.