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/Widget/components/Workbench/Dropbox
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/settings/Color.ts
import { SettingTypes, ItemTypes, ISettingItem } from './types' const Color: ISettingItem = { key: 'color', name: '配置颜色', constrants: [{ settingType: SettingTypes.Color, itemType: ItemTypes.Category, itemValueType: null }], sub: false, items: [{ color: '配置颜色' }] } export default Color
700
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/settings/Field.ts
import { SettingTypes, ItemTypes, ISettingItem } from './types' const Field: ISettingItem = { key: 'field', name: '字段设置', constrants: [{ settingType: SettingTypes.Dimension | SettingTypes.Indicator | SettingTypes.Color | SettingTypes.Tip, itemType: ItemTypes.Category | ItemTypes.Value, itemValueType:...
701
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/settings/Filters.ts
import { SettingTypes, ItemTypes, ISettingItem } from './types' const Filters: ISettingItem = { key: 'filters', name: '配置筛选', constrants: [{ settingType: SettingTypes.Filters, itemType: ItemTypes.Category | ItemTypes.Value, itemValueType: null }], sub: false, items: [{ filters: '配置筛选' }] ...
702
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/settings/Format.ts
import { SettingTypes, ItemTypes, ItemValueTypes, ISettingItem } from './types' const Format: ISettingItem = { key: 'format', name: '格式设置', constrants: [{ settingType: SettingTypes.Indicator | SettingTypes.Tip, itemType: ItemTypes.Value, itemValueType: ItemValueTypes.Number }], // @TODO date dime...
703
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/settings/Sort.ts
import { SettingTypes, ItemTypes, ISettingItem } from './types' const SortDimension: ISettingItem = { key: 'sort', name: '排序', constrants: [{ settingType: SettingTypes.Dimension | SettingTypes.Color | SettingTypes.Tip, itemType: ItemTypes.Category, itemValueType: null }], sub: true, items: [{ ...
704
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/settings/index.tsx
import React from 'react' import Aggregator from './Aggregator' import Field from './Field' import Sort from './Sort' import Format from './Format' import Color from './Color' import Filters from './Filters' import { ViewModelTypes, ViewModelVisualTypes } from 'containers/View/constants' import ChartTypes from 'contai...
705
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/settings/types.ts
export enum SettingTypes { Dimension = 1 << 0, Indicator = 1 << 1, Color = 1 << 2, Filters = 1 << 3, Label = 1 << 4, Tip = 1 << 5 } export enum ItemTypes { Category = 1 << 0, Value = 1 << 1 } export enum ItemValueTypes { Number = 1 << 0, String = 1 << 1, Date = 1 << 2, GeoCountry = 1 << 3, ...
706
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/Reference.less
@import "~assets/less/variable"; .configPanel { height: 480px; } .list { padding: 8px 0; } .listItem { height: 32px; padding: 0 8px 0 16px; line-height: 2.286em; cursor: pointer; &:hover { h4 { color: @primary-color; } } &.selected { background: fade(@primary-color, 15); bor...
707
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/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...
708
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/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...
709
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/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...
710
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/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...
711
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/ReferenceForm/BandForm.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...
712
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/ReferenceForm/LineForm.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...
713
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/ReferenceForm/Options.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...
714
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Reference/ReferenceForm/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...
715
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/index.ts
import pivot from './pivot' import chart from './chart' export default { pivot, chart }
716
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/ChartTypes.ts
/** * 图表类型 * * @export * @enum {number} */ export enum ChartTypes { /** * 表格 */ Table = 1, /** * 折线图 */ Line = 2, /** * 条形图 */ Bar = 3, /** * 散点图 */ Scatter = 4, /** * 饼图 */ Pie = 5, /** * 地图 */ CMap = 7, /** * 平行坐标图 */ Parallel= 8, ...
717
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/DrillableChart.ts
/** * 支持钻取的图表类型 * * @export * @enum {number} */ export const DrillableChart = [ /** * Table * 表格 */ 1, /** * Line * 折线图 */ 2, /** * Bar * 条形图 */ 3, /** * Scatter * 散点图 */ 4, /** * Pie * 饼图 */ 5, /** * CMap * 地图 * 7 */ /** * P...
718
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/area.json
{ "id": 5, "name": "area", "title": "区域图", "renderer": "echarts", "params": [ { "name": "data", "title": "数据项配置", "items": [ { "name": "xAxis", "title": "X轴", "component": "select", "tip": "建议为时间类型数据" }, { "name": ...
719
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/bar.ts
import ChartTypes from './ChartTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_LABEL_POSITIONS } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' import { EmptyStack } from 'app/containers/Widget/components/Con...
720
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/boxplot.json
{ "id": 14, "name": "boxplot", "title": "箱线图", "renderer": "echarts", "params": [ { "name": "data", "title": "数据项配置", "items": [ { "name": "xAxis", "title": "X轴", "component": "select" }, { "name": "metrics", "titl...
721
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/confidenceBand.json
{ "id": 22, "name": "confidenceBand", "title": "置信带", "renderer": "echarts", "params": [{ "name": "data", "title": "数据项配置", "items": [{ "name": "xAxis", "title": "X轴", "component": "select", "tip": "建议为时间类型数据" }, { "name": "metrics", "title": "显示指标", "...
722
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/doubleYAxis.json
{ "id": 13, "name": "doubleYAxis", "title": "双Y轴图", "renderer": "echarts", "params": [ { "name": "data", "title": "数据项配置", "items": [ { "name": "xAxis", "title": "X轴", "component": "select" }, { "name": "yAxisLeft", ...
723
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/doubleYAxis.ts
import ChartTypes from './ChartTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_LABEL_POSITIONS } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const doubleYAxis: IChartInfo = { id: ChartTypes.DoubleYAxis,...
724
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/funnel.ts
import ChartTypes from './ChartTypes' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_FUNNEL_LABEL_POSITIONS, CHART_SORT_MODES, CHART_ALIGNMENT_MODES } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const funnel: IChartInfo = { id: ChartTypes...
725
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/gauge.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...
726
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/graph.json
{ "id": 15, "name": "graph", "title": "关系图", "renderer": "echarts", "params": [ { "name": "data", "title": "数据项配置", "items":[ { "name": "source", "title": "SOURCE", "component": "select" }, { "name": "target", "tit...
727
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/iframe.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...
728
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/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...
729
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/line.ts
import ChartTypes from './ChartTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_LABEL_POSITIONS } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const line: IChartInfo = { id: ChartTypes.Line, name: 'line...
730
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/map.ts
import ChartTypes from './ChartTypes' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_LABEL_POSITIONS, CHART_VISUALMAP_POSITIONS, CHART_LEGEND_POSITIONS, CHART_LINES_SYMBOL_TYPE } from 'app/globalConstants' const defaultTheme = require('assets/json/echartsThemes/default.project.json') co...
731
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/markBoxplot.json
{ "id": 16, "name": "markBoxplot", "title": "标注箱线图", "renderer": "echarts", "params": [ { "name": "data", "title": "数据项配置", "items": [ { "name": "xAxis", "title": "X轴", "component": "select" }, { "name": "metrics", ...
732
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/parallel.ts
import ChartTypes from './ChartTypes' import { PIVOT_BORDER, PIVOT_CHART_ELEMENT_MIN_WIDTH, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_DEFAULT_FONT_COLOR, CHART_PIE_LABEL_POSITIONS, DEFAULT_FONT_STYLE } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/compon...
733
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/pie.ts
import ChartTypes from './ChartTypes' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_PIE_LABEL_POSITIONS } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const pie: IChartInfo = { id: ChartTypes.Pie, name: 'pie', title: '饼图', icon: 'icon-c...
734
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/radar.ts
import ChartTypes from './ChartTypes' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_PIE_LABEL_POSITIONS } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const radar: IChartInfo = { id: ChartTypes.Radar, name: 'radar', title: '雷达图', icon: ...
735
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/richText.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...
736
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/sankey.ts
import ChartTypes from './ChartTypes' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_PIE_LABEL_POSITIONS } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const sankey: IChartInfo = { id: ChartTypes.Sankey, name: 'sankey', title: '桑基图', ico...
737
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/scatter.ts
import ChartTypes from './ChartTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_LABEL_POSITIONS } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const scatter: IChartInfo = { id: ChartTypes.Scatter, name:...
738
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/scorecard.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...
739
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/table.ts
import ChartTypes from './ChartTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const table: IChartInfo = { id: ChartTypes.Ta...
740
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/text.json
{ "id": 20, "name": "text", "title": "富文本", "params": [ { "name": "richText", "title": "富文本格式", "items": [ { "name": "richTextContent", "title": "富文本", "component": "input" }, { "name": "richTextEdited", "title": "已编...
741
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/treemap.json
{ "id": 8, "name": "treemap", "title": "矩形树图", "renderer": "echarts", "params": [ { "name": "tools", "title": "工具", "items": [ { "name": "tooltip", "title": "Tooltip", "component": "checkbox" }, { "name": "toolbox", ...
742
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/waterfall.ts
import ChartTypes from './ChartTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, CHART_LABEL_POSITIONS } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const waterfall: IChartInfo = { id: ChartTypes.Waterfall, n...
743
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/chart/wordCloud.ts
import ChartTypes from './ChartTypes' import { IChartInfo } from 'containers/Widget/components/Widget' const wordCloud: IChartInfo = { id: ChartTypes.WordCloud, name: 'wordCloud', title: '词云', icon: 'icon-chartwordcloud', coordinate: 'other', rules: [{ dimension: 1, metric: 1 }], dimetionAxis: 'col', da...
744
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/pivot/PivotTypes.ts
export enum PivotTypes { PivotTable = 1, Line = 2, Bar = 3, Scatter = 4, Pie = 5 } export default PivotTypes
745
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/pivot/bar.ts
import PivotTypes from './PivotTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const bar: IChartInfo = { id: PivotTypes.Bar,...
746
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/pivot/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...
747
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/pivot/line.ts
import PivotTypes from './PivotTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const line: IChartInfo = { id: PivotTypes.Lin...
748
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/pivot/pie.ts
import PivotTypes from './PivotTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const pie: IChartInfo = { id: PivotTypes.Pie,...
749
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/pivot/pivot.ts
import PivotTypes from './PivotTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const pivot: IChartInfo = { id: PivotTypes.Pi...
750
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/config/pivot/scatter.ts
import PivotTypes from './PivotTypes' import { PIVOT_DEFAULT_AXIS_LINE_COLOR, PIVOT_CHART_FONT_FAMILIES, PIVOT_DEFAULT_FONT_COLOR, PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR } from 'app/globalConstants' import { IChartInfo } from 'containers/Widget/components/Widget' const scatter: IChartInfo = { id: PivotTypes....
751
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/area.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...
752
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/bar.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...
753
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/doubleYAxis.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...
754
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/funnel.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...
755
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/gauge.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...
756
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/helper.ts
import { round } from 'echarts/lib/util/number' import { decodeMetricName } from 'containers/Widget/components/util' type numType = number | string let _boundaryCheckingState = true export function getMetricsMinAndMax(metrics, data, stack) { const metricsSource = metrics.map((metrics) => ['min', 'max'].map((ite...
757
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/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...
758
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/line.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...
759
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/map.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...
760
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/parallel.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...
761
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/pie.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...
762
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/radar.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...
763
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/sankey.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...
764
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/scatter.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...
765
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/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...
766
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/waterfall.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...
767
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/wordCloud.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...
768
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/chart/mapFile/china.js
/*eslint-disable*/ (function (root, factory) { if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { // CommonJS factory(exports, require('echarts/lib/echarts')); } else if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define...
769
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/pivot/bar.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...
770
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/pivot/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...
771
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/pivot/line.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...
772
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/pivot/pie.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...
773
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render
petrpan-code/edp963/davinci/webapp/app/containers/Widget/render/pivot/scatter.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...
774
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/translations/en.json
{ }
775
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/translations/zh.json
{ }
776
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/api.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...
777
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/checkLogin.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...
778
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/checkStore.ts
import conformsTo from 'lodash/conformsTo' import isFunction from 'lodash/isFunction' import isObject from 'lodash/isObject' import invariant from 'invariant' /** * Validate the shape of redux store */ export default function checkStore (store) { const shape = { dispatch: isFunction, subscribe: isFunction,...
779
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/constants.ts
export const RESTART_ON_REMOUNT = '@@saga-injector/restart-on-remount' export const DAEMON = '@@saga-injector/daemon' export const ONCE_TILL_UNMOUNT = '@@saga-injector/once-till-unmount'
780
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/history.ts
import { createHashHistory } from 'history' const history = createHashHistory() export default history
781
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/injectReducer.tsx
import React from 'react' import hoistNonReactStatics from 'hoist-non-react-statics' import { ReactReduxContext } from 'react-redux' import getInjectors from './reducerInjectors' /** * Dynamically injects a reducer * * @param {string} key A key of the reducer * @param {function} reducer A reducer that will be inj...
782
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/injectSaga.tsx
import React from 'react' import hoistNonReactStatics from 'hoist-non-react-statics' import { ReactReduxContext } from 'react-redux' import getInjectors from './sagaInjectors' /** * Dynamically injects a saga, passes component's props as saga arguments * * @param {string} key A key of the saga * @param {function}...
783
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/loadable.tsx
import React, { lazy, Suspense } from 'react' function loadable<P> (importFunc: () => Promise<{default: React.ComponentType<P>}>, { fallback = null } = { fallback: null }) { const LazyComponent = lazy<React.ComponentType<P>>(importFunc) return (props: React.ComponentPropsWithRef<React.ComponentClass<P>>) => ( ...
784
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/operatorTypes.ts
export enum OperatorTypes { Equal = '=', NotEqual = '!=', Contain = 'like', NotContain = 'not like', Between = 'between', In = 'in', NotIn = 'not in', LessThan = '<', GreaterThan = '>', LessThanOrEqual = '<=', GreaterThanOrEqual = '>=' } export const OperatorTypesLocale = { [OperatorTypes.Equal...
785
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/reducerInjectors.ts
import invariant from 'invariant' import { isEmpty, isFunction, isString } from 'lodash' import checkStore from './checkStore' import createReducer from '../reducers' export function injectReducerFactory (store, isValid) { return function injectReducer (key, reducer) { if (!isValid) { checkStore(store) } i...
786
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/redux.ts
type ReturnTypes<EnumTypes> = { [key in keyof EnumTypes]: key } export function createTypes<EnumTypes> (enumTypes: EnumTypes): ReturnTypes<EnumTypes> { // @FIXME temporarily not use Proxy to avoid schedule screenshot error for not support ES6 Proxy // return new Proxy(enumTypes as any, { // get (_, property:...
787
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/request.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...
788
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/router.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...
789
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/sagaInjectors.ts
import invariant from 'invariant' import isEmpty from 'lodash/isEmpty' import isFunction from 'lodash/isFunction' import isString from 'lodash/isString' import conformsTo from 'lodash/conformsTo' import checkStore from './checkStore' import { DAEMON, ONCE_TILL_UNMOUNT, RESTART_ON_REMOUNT } from './constants' const al...
790
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/types.ts
import { RouteComponentProps } from 'react-router-dom' export interface IRouteParams { organizationId?: string projectId?: string portalId?: string dashboardId?: string widgetId?: string displayId?: string slideId?: string viewId?: string scheduleId?: string userId?: string } export type RouteComp...
791
0
petrpan-code/edp963/davinci/webapp/app
petrpan-code/edp963/davinci/webapp/app/utils/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...
792
0
petrpan-code/edp963/davinci/webapp/app/utils
petrpan-code/edp963/davinci/webapp/app/utils/abstract/OperateObjectAbstract.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 ...
793
0
petrpan-code/edp963/davinci/webapp/app/utils
petrpan-code/edp963/davinci/webapp/app/utils/hooks/clientRect.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...
794
0
petrpan-code/edp963/davinci/webapp/app/utils
petrpan-code/edp963/davinci/webapp/app/utils/hooks/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...
795
0
petrpan-code/edp963/davinci/webapp/app/utils
petrpan-code/edp963/davinci/webapp/app/utils/hooks/tablePagination.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...
796
0
petrpan-code/edp963/davinci/webapp/app/utils
petrpan-code/edp963/davinci/webapp/app/utils/migrationRecorders/control.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...
797
0
petrpan-code/edp963/davinci/webapp/app/utils
petrpan-code/edp963/davinci/webapp/app/utils/migrationRecorders/dashboardConfig.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...
798
0
petrpan-code/edp963/davinci/webapp/app/utils
petrpan-code/edp963/davinci/webapp/app/utils/migrationRecorders/displayParams.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...
799