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/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Format/FormatConfigModal.tsx
import React from 'react' import { fromJS } from 'immutable' import { IFieldFormatConfig } from './types' import { getDefaultFieldFormatConfig } from './util' import { ViewModelVisualTypes } from 'containers/View/constants' import { NumericUnitList, FieldFormatTypes, FieldFormatTypesLocale, FieldFormatTypesSetting, def...
600
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Format/constants.ts
import { IFieldFormatConfig } from './types' import { ViewModelVisualTypes } from 'containers/View/constants' export enum FieldFormatTypes { Default = 'default', Numeric = 'numeric', Currency = 'currency', Percentage = 'percentage', ScientificNotation = 'scientificNotation', Date = 'date', Custom = 'cust...
601
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Format/index.ts
/** To solve the reexport problem, https://github.com/babel/babel/issues/8361 */ import * as Types from './types' export type IFieldFormatConfig = Types.IFieldFormatConfig export { FieldFormatTypes, FieldFormatTypesLocale, defaultFormatConfig } from './constants' export { getDefaultFieldFormatConfig, getFormattedValue...
602
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Format/types.ts
import { FieldFormatTypes, NumericUnit } from './constants' export interface IFieldFormatConfig { formatType: FieldFormatTypes [FieldFormatTypes.Numeric]?: { decimalPlaces: number unit: NumericUnit useThousandSeparator: boolean } [FieldFormatTypes.Currency]?: { decimalPlaces: number unit: ...
603
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Format/util.ts
import moment from 'moment' import { IFieldFormatConfig } from './types' import { NumericUnit, FieldFormatTypes } from './constants' export function getDefaultFieldFormatConfig (): IFieldFormatConfig { return { formatType: FieldFormatTypes.Default } } export function getFormattedValue (value: number | string,...
604
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Sort/Sort.less
@import "~assets/less/variable"; .sortList { padding: 0 16px; max-height: 500px; overflow-y: auto; } .sortItem { border: 1px solid @border-color-base; padding: 8px 16px 8px 0; margin-bottom: 8px; cursor: move; .ellipsis } .sortInfo { margin-left: 8px; &:hover { cursor: pointer; } } .sort...
605
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Sort/SortConfigModal.tsx
import React from 'react' import { DndProvider } from 'react-dnd' import HTML5Backend from 'react-dnd-html5-backend' import { IFieldSortConfig } from './types' import { FieldSortTypes } from './constants' import { Icon, Button, Tooltip, Modal } from 'antd' import SortItem from './SortItem' import Styles from './Sort...
606
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Sort/SortItem.tsx
import React from 'react' import { useDrag, useDrop } from 'react-dnd' import { SortItemType } from './constants' import { Icon } from 'antd' import { ISortDragItem, ISortCollectedProps } from './types' import Styles from './Sort.less' interface ISortItemProps { value: string onSort: (draggedValue: string, nextI...
607
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Sort/constants.ts
export enum FieldSortTypes { Default = 'default', Asc = 'asc', Desc = 'desc', Custom = 'custom' } export const SortItemType = 'FieldCustomSort'
608
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Sort/index.ts
import * as Types from './types' export type IFieldSortConfig = Types.IFieldSortConfig export type IFieldSortDescriptor = Types.IFieldSortDescriptor export { FieldSortTypes } from './constants' export { fieldGroupedSort } from './util' import loadable from 'utils/loadable' import { ISortConfigModalProps } from './Sort...
609
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Sort/types.ts
import { FieldSortTypes } from './constants' import { DragObjectWithType } from 'react-dnd' export interface IFieldSortConfig { sortType: FieldSortTypes [FieldSortTypes.Custom]?: { sortList: string[] } } export interface IFieldSortDescriptor { name: string list: string[] } export interface ISortDragIte...
610
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Sort/util.ts
import { IFieldSortDescriptor } from './types' export function fieldGroupedSort (data: object[], descriptors: IFieldSortDescriptor[]) { if (!Array.isArray(descriptors) || !descriptors.length) { return data } data.sort((r1, r2) => { let result = 0 descriptors.some(({ name, list }) => { const v1 = r1[...
611
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/MetricItem.tsx
import React from 'react' import { useDrag } from 'react-dnd' import { StackItemType } from './constants' import Styles from './Stack.less' interface IMetricItemProps { id: string name: string } const MetricItem: React.FC<IMetricItemProps> = (props) => { const { id, name } = props const [{ isDragging }, dra...
612
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/Stack.less
@import "~assets/less/variable"; .stackItem { width: 168px; height: 168px; margin-bottom: 24px; border: @border-width-base @border-style-base @border-color-base; border-radius: @border-radius-base; overflow-y: hidden; &:hover { overflow-y: auto; } &.active { background: lighten(@light-gree...
613
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/StackConfigModal.tsx
import React from 'react' import produce from 'immer' import { StackGroup, IStackConfig, IStackMetrics } from './types' import { EmptyStack } from './constants' import { Row, Col, Form, Button, Tooltip, Icon, Checkbox, Modal } from 'antd' const FormItem = Form.Item import { CheckboxChangeEvent } from 'antd/lib/checkb...
614
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/StackContainer.tsx
import React, { useCallback } from 'react' import produce from 'immer' import { DndProvider } from 'react-dnd' import HTML5Backend from 'react-dnd-html5-backend' import { Icon, Tooltip } from 'antd' import { StackGroup, IStackMetrics } from './types' import MetricItem from './MetricItem' import StackItem from './Stack...
615
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/StackItem.tsx
import React from 'react' import classnames from 'classnames' import { useDrop } from 'react-dnd' import { StackItemType } from './constants' import Styles from './Stack.less' interface IStackItemProps { onDrop: (item: any) => void className: string } const StackItem: React.FC<IStackItemProps> = (props) => { ...
616
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/constants.ts
import { IStackConfig } from './types' import { EmptyFontSetting } from 'components/StyleSetting/Font' export const StackItemType = 'MetricCustomStack' export const EmptyStack: IStackConfig = { on: false, percentage: false, group: [], sum: { show: false, font: { ...EmptyFontSetting } } }
617
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/index.ts
import * as Types from './types' export type StackGroup = Types.StackGroup export type StackMetrics = Types.IStackMetrics export type StackConfig = Types.IStackConfig import loadable from 'utils/loadable' import { IStackConfigModalProps } from './StackConfigModal' export const StackConfigModal = loadable<IStackConfi...
618
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/types.ts
import { IFontSetting } from 'components/StyleSetting/Font' export type StackGroup = string[][] export interface IStackMetrics { [id: string]: string } export interface IStackConfig { on: boolean percentage: boolean group: StackGroup sum: { show: boolean font: IFontSetting } }
619
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Stack/util.ts
import { IStackConfig } from './types' const prefixStack = 'stack_' export function getStackName (metricName: string, stackConfig: IStackConfig) { if (!stackConfig || !stackConfig.group) { return prefixStack + metricName } let stackName = prefixStack stackConfig.group.some((config, idx) => { if (config.inc...
620
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/constants.tsx
import React from 'react' import { Select } from 'antd' const { Option } = Select import { PIVOT_CHART_FONT_FAMILIES, PIVOT_CHART_FONT_SIZES, PIVOT_CHART_FONT_WEIGHTS, PIVOT_CHART_FONT_STYLE, PIVOT_DEFAULT_FONT_COLOR, DEFAULT_FONT_STYLE} from 'app/globalConstants' import { ITableCellStyle } from './types...
621
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/index.ts
export { ITableConfig, ITableCellStyle } from './types' export { ITableHeaderConfig } from './Header/types' export { ITableColumnConfig, ITableConditionStyle } from './Column/types' export { DefaultTableCellStyle } from './constants' export { TableCellStyleTypes } from './Column/constants'
622
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/styles.less
.rows { padding: 8px; .rowBlock { min-height: 40px; } } .color { width: 28px; } .colControl { width: 100%; }
623
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/types.ts
import { ITableHeaderConfig } from './Header/types' import { ITableColumnConfig } from './Column/types' export interface ITableCellStyle { fontSize: string fontFamily: string fontWeight: string fontColor: string fontStyle: 'normal' | 'oblique' backgroundColor: string justifyContent: 'flex-start' | 'cente...
624
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Column/ColumnConfigModal.tsx
import React from 'react' import classnames from 'classnames' import produce from 'immer' import set from 'lodash/set' import { uuid } from 'utils/util' import { fontWeightOptions, fontStyleOptions, fontFamilyOptions, fontSizeOptions } from '../constants' import { defaultConditionStyle, AvailableTableConditionStyleType...
625
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Column/ConditionStyleConfigModal.tsx
import React from 'react' import { fromJS } from 'immutable' import { Icon, Row, Col, Modal, InputNumber, Button, Radio, Select } from 'antd' const RadioGroup = Radio.Group const Option = Select.Option import ColorPicker from 'components/ColorPicker' import ConditionValuesControl from 'components/ConditionValuesContr...
626
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Column/constants.tsx
import OperatorTypes from 'utils/operatorTypes' import { ITableConditionStyle } from './types' export enum TableCellStyleTypes { Column, RowTotal, ColumnTotal } export enum TableConditionStyleTypes { BackgroundColor = 'backgroundColor', TextColor = 'textColor', NumericBar = 'numericBar', Custom = 'custo...
627
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Column/index.ts
export { TableConditionStyleTypes } from './constants'
628
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Column/styles.less
@import '~assets/less/variable'; .columnStyleConfig { display: flex; flex-direction: row; border-bottom: 1px solid @border-color-base; padding: 8px; max-height: 500px; .title { display: flex; flex-direction: row; border-width: 1px 0; border-style: solid; border-color: @border-color-bas...
629
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Column/types.ts
import { ViewModelVisualTypes } from 'containers/View/constants' import { TableConditionStyleTypes, TableCellStyleTypes } from './constants' import OperatorTypes from 'utils/operatorTypes' import { ITableCellStyle } from '../types' export interface ITableConditionStyle { key: string type: TableConditionStyleTypes,...
630
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Column/util.ts
// @TODO optimize ts type and refactor to Widget util export function getColumnIconByType (type: string) { switch (type) { case 'number': return 'icon-values' case 'date': return `icon-calendar` case 'geoCountry': case 'geoProvince': case 'geoCity': return 'icon-map' default: return 'icon-cate...
631
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Header/HeaderConfigModal.tsx
import React from 'react' import classnames from 'classnames' import { uuid } from 'utils/util' import { fontWeightOptions, fontStyleOptions, fontFamilyOptions, fontSizeOptions, DefaultTableCellStyle } from '../constants' import { ITableHeaderConfig } from './types' import { Icon, Row, Col, Modal, Input, Button, Radio...
632
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Header/index.ts
export { default as HeaderConfigModal } from './HeaderConfigModal'
633
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Header/styles.less
.tableInput { // width: calc(~"100% - 32px"); width: 80px; // @FIXME auto size according to tree node depth margin-right: 8px; } .tableEditCell { i { margin-left: 8px; &:hover { cursor: pointer; } } } .headerTable { max-height: 600px; overflow-y: auto; }
634
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Config/Table/Header/types.ts
import { ViewModelVisualTypes } from 'containers/View/constants' import { ITableCellStyle } from '../types' export interface ITableHeaderConfig { key: string headerName: string alias: string visualType: ViewModelVisualTypes isGroup: boolean style: ITableCellStyle children: ITableHeaderConfig[] }
635
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/Cell.tsx
import React from 'react' import { IWidgetMetric, IChartStyles } from '../Widget' import { ILegend } from './Pivot' import { IDataParamProperty } from '../Workbench/OperatingPanel' import { DEFAULT_SPLITER } from 'app/globalConstants' import { decodeMetricName } from 'containers/Widget/components/util' import { getForm...
636
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/Chart.tsx
import React from 'react' import * as echarts from 'echarts/lib/echarts' import { IDrawingData, IMetricAxisConfig, ILegend } from './Pivot' import { IWidgetMetric, DimetionType, RenderType, IChartStyles } from '../Widget' import chartOptionGenerator from '../../render/pivot' import { PIVOT_DEFAULT_SCATTER_SIZE } from '...
637
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/ColumnFooter.tsx
import React from 'react' import { IDrawingData, IMetricAxisConfig } from './Pivot' import { IWidgetMetric , DimetionType, IChartStyles } from '../Widget' import { IChartLine } from './Chart' import Xaxis from './Xaxis' import { getAxisData, decodeMetricName } from '../util' const styles = require('./Pivot.less') int...
638
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/ColumnHeader.tsx
import React from 'react' import classnames from 'classnames' import { IDrawingData } from './Pivot' import { IWidgetMetric, DimetionType, IChartStyles } from '../Widget' import { spanSize, getPivotCellWidth, getAggregatorLocale, getPivot, getStyleConfig } from '../util' import { DEFAULT_SPLITER } from 'app/globalConst...
639
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/ColumnTitle.tsx
import React from 'react' import { IDrawingData } from './Pivot' import { DimetionType, IChartStyles } from '../Widget' import { getPivotCellWidth, getPivot, getStyleConfig } from '../util' const styles = require('./Pivot.less') interface IColumnTitleProps { cols: string[] colKeys: string[][] colTree: object ...
640
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/Corner.tsx
import React from 'react' import classnames from 'classnames' import { DimetionType, IChartStyles } from '../Widget' import { getPivotCellWidth, getPivotCellHeight, getPivot, getStyleConfig } from '../util' const styles = require('./Pivot.less') interface ICornerProps { cols: string[] rows: string[] rowWidths: ...
641
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/Legend.tsx
import React from 'react' import classnames from 'classnames' import { IDataParamProperty } from '../Workbench/OperatingPanel' import { IDataParamSource } from '../Workbench/Dropbox' import { IChartStyles } from 'containers/Widget/components/Widget' import { getStyleConfig } from 'containers/Widget/components/util' co...
642
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/Pivot.less
@import '~assets/less/variable'; .wrapper { flex: 1; display: flex; flex-direction: column; min-height: 0; position: relative; } .block { flex: 1; display: flex; flex-direction: row; min-height: 0; .leftSide { flex-shrink: 0; display: flex; flex-direction: column; .corner { ...
643
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/Pivot.tsx
import React from 'react' import { findDOMNode } from 'react-dom' import { naturalSort, decodeMetricName, getPivotContentTextWidth, getTableBodyWidth, getTableBodyHeight, getChartElementSize, shouldTableBodyCollapsed, getChartUnitMetricWidth, getChartUnitMetricHeight, getAxisInterval, getTextWidth...
644
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/RowFooter.tsx
import React from 'react' const styles = require('./Pivot.less') export function RowFooter () { return ( <div className={styles.rowFooter} /> ) } export default RowFooter
645
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/RowHeader.tsx
import React from 'react' import classnames from 'classnames' import Yaxis from './Yaxis' import { IDrawingData, IMetricAxisConfig } from './Pivot' import { IWidgetMetric, DimetionType, IChartStyles, IWidgetDimension } from '../Widget' import { spanSize, getPivotCellWidth, getPivotCellHeight, getAxisDat...
646
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/RowTitle.tsx
import React from 'react' import { DimetionType, IChartStyles } from '../Widget' import { IDrawingData } from './Pivot' import { getPivotContentTextWidth, getPivotCellHeight, getPivot, getStyleConfig } from '../util' const styles = require('./Pivot.less') interface IRowTitleProps { rows: string[] rowKeys: string[...
647
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/TableBody.tsx
import React from 'react' import classnames from 'classnames' import { IDrawingData, IMetricAxisConfig, ILegend } from './Pivot' import { IWidgetMetric, DimetionType, RenderType, IChartStyles } from '../Widget' import Cell from './Cell' import Chart, { IChartUnit, IChartLine, IChartBlock } from './Chart' import { PIVOT...
648
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/Xaxis.tsx
import React from 'react' import * as echarts from 'echarts/lib/echarts' import { IMetricAxisConfig } from './Pivot' import { IWidgetMetric, DimetionType, IChartStyles } from '../Widget' import { IChartLine, IChartUnit } from './Chart' import { metricAxisLabelFormatter, getXaxisLabel, decodeMetricName } from '../util' ...
649
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/Yaxis.tsx
import React from 'react' import * as echarts from 'echarts/lib/echarts' import { IMetricAxisConfig } from './Pivot' import { IWidgetMetric, DimetionType, IChartStyles } from '../Widget' import { IChartLine, IChartUnit } from './Chart' import { metricAxisLabelFormatter, decodeMetricName } from '../util' import { PIVOT_...
650
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Pivot/index.tsx
import React from 'react' import Pivot, { IPivotProps } from './Pivot' type ScrollConfigType = 'vertical' | 'horizontal' | 'duplex' type ScrollRole = 'header' | 'body' export class ScrollablePivot extends React.Component<IPivotProps, {}> { private scrollThrottle: boolean = false private scrollEnd: number privat...
651
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Widget/index.tsx
import React, { createRef } from 'react' import classnames from 'classnames' import Pivot from '../Pivot' import Chart from '../Chart' import { Icon } from 'antd' import { AggregatorType, DragType, IDataParamConfig } from '../Workbench/Dropbox' import { IDataParamProperty } from '../Workbench/OperatingPanel' impo...
652
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ActOnSettingForm.tsx
import React from 'react' import { IDataParamSource, IDataParamConfig } from './Dropbox' import { decodeMetricName } from '../util' import { Radio, Button } from 'antd' const RadioGroup = Radio.Group const styles = require('./Workbench.less') interface IActOnSettingFormProps { list: IDataParamSource[] config: IDat...
653
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ChartIndicator.tsx
import React from 'react' import classnames from 'classnames' import { IChartInfo } from '../Widget' import { checkChartEnable } from '../util' import { Tooltip } from 'antd' const styles = require('./Workbench.less') interface IChartIndicatorProps { chartInfo: IChartInfo dimetionsCount: number metricsCount: num...
654
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ColorPanel.tsx
import React from 'react' import classnames from 'classnames' import { SketchPicker } from 'react-color' import { IDataParamSource } from './Dropbox' import { getAggregatorLocale, decodeMetricName } from '../util' const defaultTheme = require('assets/json/echartsThemes/default.project.json') const defaultThemeColors = ...
655
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ColorSettingForm.tsx
import React from 'react' import classnames from 'classnames' import { SketchPicker } from 'react-color' import { decodeMetricName } from '../util' import { IDataParamSource, IDataParamConfig } from './Dropbox' import { WidgetMode } from '../Widget' import { Radio, Button } from 'antd' const RadioGroup = Radio.Group co...
656
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConditionalFilterForm.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...
657
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/FilterSettingForm.tsx
import React, { createRef, PureComponent } from 'react' import classnames from 'classnames' import moment, { Moment } from 'moment' import { IDataParamConfig, IDataParamSource } from './Dropbox' import ConditionalFilterForm, { ConditionalFilterPanel } from './ConditionalFilterForm' import { DEFAULT_DATETIME_FORMAT, DEF...
658
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/OperatingPanel.tsx
import React from 'react' import classnames from 'classnames' import set from 'lodash/set' import debounce from 'lodash/debounce' import widgetlibs from '../../config' import { IDataRequestBody } from 'app/containers/Dashboard/types' import { IViewBase, IFormedViews, IView } from 'containers/View/types' import { ViewM...
659
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/PivotChartSelector.tsx
import React from 'react' import widgetlibs from '../../config' const pivotlibs = widgetlibs['pivot'] import { Dropdown, Menu } from 'antd' const MenuItem = Menu.Item import { checkChartEnable, getPivot } from '../util' import { IChartInfo } from '../Widget' const styles = require('./Workbench.less') interface IPivotC...
660
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/SizePanel.tsx
import React from 'react' import { IDataParamSource } from './Dropbox' import { getAggregatorLocale, decodeMetricName } from '../util' import { PIVOT_DEFAULT_SCATTER_SIZE_TIMES } from 'app/globalConstants' import { Tabs, Slider } from 'antd' const TabPane = Tabs.TabPane const styles = require('./Workbench.less') const...
661
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Workbench.less
@import "~assets/less/variable"; .workbench { background-color: @body-bg; font-size: 12px; position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; .header { flex-shrink: 0; } .body { position: relative; min-height: 0; flex: 1; displ...
662
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/WorkbenchSettingForm.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...
663
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/index.tsx
import React, { Suspense } from 'react' import { compose } from 'redux' import { connect } from 'react-redux' import { createStructuredSelector } from 'reselect' import injectReducer from 'utils/injectReducer' import injectSaga from 'utils/injectSaga' import reducer from 'containers/Widget/reducer' import viewReducer ...
664
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/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...
665
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/AreaSelectSection.tsx
import React from 'react' import { Row, Col, InputNumber } from 'antd' import ColorPicker from 'components/ColorPicker' const styles = require('../Workbench.less') export interface IAreaSelectConfig { width: number borderWidth: number borderColor: string color: string opacity: number } interface IAreaSelect...
666
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/AxisSection.tsx
import React from 'react' import { Row, Col, Checkbox, Select, InputNumber } from 'antd' const Option = Select.Option import ColorPicker from 'components/ColorPicker' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_CHART_LINE_STYLES, PIVOT_CHART_FONT_SIZES } from 'app/globalConstants' import { getCorrectInputNumber } from '....
667
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/BarSection.tsx
import React from 'react' import { Row, Col, Modal, Icon, InputNumber, Select, Checkbox } from 'antd' const Option = Select.Option import { CheckboxChangeEvent } from 'antd/lib/checkbox' import ColorPicker from 'components/ColorPicker' import { PIVOT_CHART_LINE_STYLES } from 'app/globalConstants' import { getAggregator...
668
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/DoubleYAxisSection.tsx
import React from 'react' import Row from 'antd/lib/row' import Col from 'antd/lib/col' import Checkbox from 'antd/lib/checkbox' import Select from 'antd/lib/select' const Option = Select.Option import InputNumber from 'antd/lib/input-number' import ColorPicker from 'components/ColorPicker' import { PIVOT_CHART_YAXIS_O...
669
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/GaugeSection.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...
670
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/IframeSection.tsx
import React from 'react' import debounce from 'lodash/debounce' import { Row, Col, Input } from 'antd' const styles = require('../Workbench.less') export interface IframeConfig { src: string } interface IframeSectionProps { title: string config: IframeConfig onChange: (prop: string, value: any) => void } ex...
671
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/LabelSection.tsx
import React from 'react' import { Row, Col, Checkbox, Select } from 'antd' const Option = Select.Option const CheckboxGroup = Checkbox.Group import ColorPicker from 'components/ColorPicker' import { CHART_LABEL_POSITIONS, CHART_PIE_LABEL_POSITIONS, CHART_FUNNEL_LABEL_POSITIONS } from 'app/globalConstants' import...
672
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/LegendSection.tsx
import React from 'react' import { Row, Col, Checkbox, Select } from 'antd' const Option = Select.Option import ColorPicker from 'components/ColorPicker' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_CHART_LINE_STYLES, PIVOT_CHART_FONT_SIZES, CHART_LEGEND_POSITIONS, CHART_LEGEND_TYPE } from 'app/globalConstants' ...
673
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/PivotSection.tsx
import React from 'react' import { Row, Col, Select } from 'antd' const Option = Select.Option import ColorPicker from 'components/ColorPicker' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_CHART_FONT_SIZES, PIVOT_CHART_LINE_STYLES } from 'app/globalConstants' const styles = require('../Workbench.less') export interface I...
674
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/RadarSection.tsx
import React from 'react' import { Row, Col, Select, Checkbox, InputNumber } from 'antd' const Option = Select.Option import { CheckboxChangeEvent } from 'antd/lib/checkbox' import ColorPicker from 'components/ColorPicker' import { IRadarConfig } from './' import { chartFontFamilyOptions, chartFontSizeOptions } from...
675
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/ScorecardSection.tsx
import React from 'react' import { Row, Col, Input, Checkbox, Select } from 'antd' const Option = Select.Option import ColorPicker from 'components/ColorPicker' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_CHART_LINE_STYLES, PIVOT_CHART_FONT_SIZES, CHART_LABEL_POSITIONS, CHART_PIE_LABEL_POSITIONS, CHART_FUNNE...
676
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SplitLineSection.tsx
import React from 'react' import { Row, Col, Checkbox, Select} from 'antd' const Option = Select.Option import ColorPicker from 'components/ColorPicker' import { PIVOT_CHART_LINE_STYLES } from 'app/globalConstants' const styles = require('../Workbench.less') export interface ISplitLineConfig { showHorizontalLine: bo...
677
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/ToolboxSection.tsx
import React from 'react' import { Row, Col, Checkbox } from 'antd' const styles = require('../Workbench.less') export interface IToolboxConfig { showToolbox: boolean } interface IToolboxSectionProps { title: string config: IToolboxConfig onChange: (prop: string, value: any) => void } export class ToolboxSec...
678
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/VisualMapSection.tsx
import React from 'react' import { Row, Col, Checkbox, Select, InputNumber } from 'antd' const Option = Select.Option import ColorPicker from 'components/ColorPicker' import { PIVOT_CHART_FONT_FAMILIES, PIVOT_CHART_LINE_STYLES, PIVOT_CHART_FONT_SIZES, CHART_VISUALMAP_POSITIONS, CHART_VISUALMAP_DIRECYTIONS } from 'app/g...
679
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/constants.tsx
import React from 'react' import { Select } from 'antd' const Option = Select.Option import { PIVOT_CHART_FONT_FAMILIES, PIVOT_CHART_FONT_SIZES, CHART_SORT_MODES, CHART_ALIGNMENT_MODES, CHART_LAYER_TYPES, CHART_LINES_SYMBOL_TYPE } from 'app/globalConstants' export const chartFontFamilyOptions = PIVOT_CHART_FONT_FAMILI...
680
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/index.d.ts
import { StackConfig } from '../../Config/Stack' import { RichTextNode } from 'components/RichText' export interface IRichTextConfig { content: string | RichTextNode[] } export interface IBarConfig { barChart: boolean border: { color: string width: number type: 'solid' | 'dashed' | 'dotted' radi...
681
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/SpecSection.tsx
import React from 'react' import { ISpecConfig } from './types' import { LineSection, PieSection, FunnelSection, MapSection, ParallelSection, SankeySection, DoubleYAxisSection } from './specs' interface ISpecSectionProps { name: string title: string config: ISpecConfig onChange: (value: string |...
682
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/index.tsx
export { ISpecConfig } from './types' export { default } from './SpecSection'
683
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/types.ts
export interface ISpecConfig { smooth?: boolean stack?: boolean barChart?: boolean percentage?: boolean step?: boolean roseType?: boolean circle?: boolean sortMode?: string alignmentMode?: string gapNumber?: number shape?: 'polygon' | 'circle' roam?: boolean layerType?: string linesSpeed: nu...
684
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/DoubleYAxis.tsx
import React from 'react' import { Row, Col, Checkbox } from 'antd' import { onSectionChange } from './util' import { ISpecConfig } from '../types' import styles from '../../../Workbench.less' interface ISpecSectionDoubleYAxisProps { spec: ISpecConfig title: string onChange: (value: string | number, propPath: ...
685
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Funnel.tsx
import React from 'react' import { Row, Col, Checkbox, InputNumber, Select } from 'antd' import { onSectionChange } from './util' import { ISpecConfig } from '../types' import { chartSortModeOptions, chartAlignmentModeOptions } from '../../constants' import styles from '../../../Workbench.less' interface ISpecSectio...
686
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Line.tsx
import React from 'react' import { Row, Col, Checkbox } from 'antd' import { onSectionChange } from './util' import { ISpecConfig } from '../types' import styles from '../../../Workbench.less' interface ISpecSectionLineProps { spec: ISpecConfig title: string onChange: (value: string | number, propPath: string ...
687
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Map.tsx
import React from 'react' import { Row, Col, Checkbox, Select, InputNumber } from 'antd' import { onSectionChange } from './util' import { ISpecConfig } from '../types' import { chartLayerTypeOptions, chartSymbolTypeOptions } from '../../constants' import styles from '../../../Workbench.less' interface ISpecSectionM...
688
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Parallel.tsx
import React from 'react' import { Row, Col, Checkbox, Select } from 'antd' const Option = Select.Option import { onSectionChange } from './util' import { ISpecConfig } from '../types' import styles from '../../../Workbench.less' interface ISpecSectionParallelProps { spec: ISpecConfig title: string onChange: (...
689
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Pie.tsx
import React from 'react' import { Row, Col, Checkbox } from 'antd' import { onSectionChange } from './util' import { ISpecConfig } from '../types' import styles from '../../../Workbench.less' interface ISpecSectionPieProps { spec: ISpecConfig title: string onChange: (value: string | number, propPath: string |...
690
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Sankey.tsx
import React from 'react' import { Row, Col, Select, Checkbox, InputNumber } from 'antd' const Option = Select.Option import { onSectionChange } from './util' import { ISpecConfig } from '../types' import styles from '../../../Workbench.less' interface ISpecSectionSankeyProps { spec: ISpecConfig title: string ...
691
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/index.tsx
import React from 'react' import loadable from 'utils/loadable' import { Skeleton } from 'antd' const fallback = <Skeleton paragraph={{ rows: 4 }} /> export const LineSection = loadable(() => import('./Line'), { fallback }) export const PieSection = loadable(() => import('./Pie'), { fallback }) export const FunnelS...
692
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/util.ts
import { CheckboxChangeEvent } from 'antd/lib/checkbox' import { ISpecConfig } from '../types' export const onSectionChange = ( onChange: ( value: string | number | boolean, propPath: string | string[] ) => void, propPath: keyof ISpecConfig ) => (e: CheckboxChangeEvent | string | number) => { const val...
693
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/TableSection/constants.tsx
import React from 'react' import { Select } from 'antd' const { Option } = Select import { TABLE_PAGE_SIZES } from 'app/globalConstants' export const pageSizeOptions = TABLE_PAGE_SIZES.map((s) => ( <Option value={s.toString()} key={s.toString()}>{s}条/页</Option> ))
694
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/ConfigSections/TableSection/index.tsx
import React from 'react' import produce from 'immer' import { uuid } from 'utils/util' import { IDataParams } from '../../OperatingPanel' import { IDataParamSource } from '../../Dropbox' import { getFieldAlias } from 'containers/Widget/components/Config/Field' import { decodeMetricName, getAggregatorLocale } from 'con...
695
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/DropboxContent.tsx
import React from 'react' import { DropboxType, IDataParamSource } from './' import ColorPanel from '../ColorPanel' import { Icon } from 'antd' const styles = require('../Workbench.less') interface IDropboxContentProps { title: string type: DropboxType } export class DropboxContent extends React.PureComponent<IDr...
696
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/DropboxItem.tsx
import React from 'react' import classnames from 'classnames' import { AggregatorType, IDataParamSource, IDataParamSourceInBox } from '../Dropbox' import PivotChartSelector from '../PivotChartSelector' import { getFieldAlias } from '../../Config/Field' import { FieldSortTypes } from '../../Config/Sort' import { getAggr...
697
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/index.tsx
import React from 'react' import classnames from 'classnames' import { ViewModelVisualTypes } from 'containers/View/constants' import DropboxItem from './DropboxItem' import DropboxContent from './DropboxContent' import ColorPanel from '../ColorPanel' import SizePanel from '../SizePanel' import { IChartInfo, WidgetMod...
698
0
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox
petrpan-code/edp963/davinci/webapp/app/containers/Widget/components/Workbench/Dropbox/settings/Aggregator.ts
import { SettingTypes, ItemTypes, ItemValueTypes, ISettingItem } from './types' import { getAggregatorLocale } from 'containers/Widget/components/util' const AggregatorIndicator: ISettingItem = { key: 'aggregator', name: '聚合计算', constrants: [{ settingType: SettingTypes.Indicator | SettingTypes.Tip, ite...
699