@aliyun-sls/interface
Advanced tools
Comparing version 0.3.10-dev-1 to 0.3.10-dev-2
{ | ||
"name": "@aliyun-sls/interface", | ||
"version": "0.3.10-dev-1", | ||
"version": "0.3.10-dev-2", | ||
"description": "", | ||
@@ -9,4 +9,4 @@ "main": "dist/interface.cjs.js", | ||
"dependencies": { | ||
"@aliyun-sls/i18n": "0.3.10-dev-1" | ||
"@aliyun-sls/i18n": "0.3.10-dev-2" | ||
} | ||
} |
@@ -17,2 +17,1 @@ export * from './connectChart' | ||
export * from './core' | ||
export * from './dropListChart' |
@@ -5,3 +5,3 @@ import { ChartNamespace } from './chartNamespace' | ||
import { Transformer, Point } from '../../base' | ||
import { PieChartType, PieLabelType, TypeOption, ConnectDirection, DropListOption } from '../charts' | ||
import { PieChartType, PieLabelType, TypeOption, ConnectDirection } from '../charts' | ||
import { AnnotationProps, AnnotationMarkProps } from '../components' | ||
@@ -249,3 +249,2 @@ import { Search } from './registerDatasource' | ||
typeOption?: TypeOption | ||
dropListOption?: DropListOption | ||
/** | ||
@@ -327,3 +326,2 @@ * 是否是时序图,时序图要求x轴是时间戳 | ||
tokenType?: 'auto' | 'project' | 'logstore' | ||
multipleTokenMap?: Record<string, any> // 不支持设置默认值 | ||
} | ||
@@ -330,0 +328,0 @@ |
import { DrilldownVariable, DrilldownVariableItem } from '../components/drilldown' | ||
import type { CustomHandleEventProps } from '../event' | ||
import type { ChartSearchToken, DashboardConfig, UpdateDashboardCallback } from './dashboardChart' | ||
import type { DashboardConfig, UpdateDashboardCallback } from './dashboardChart' | ||
@@ -61,9 +61,5 @@ export interface DashboardBaseContextProps { | ||
*/ | ||
tokenTag: ChartSearchToken[] | ||
setTokenTag: (t: any[]) => void | ||
filterTag: string[] | ||
setFilterTag: (t: string[]) => void | ||
filterTagNot: string[] | ||
setFilterTagNot: (t: string[]) => void | ||
multipeTokenMap: Record<string, any> | ||
@@ -70,0 +66,0 @@ /** |
@@ -6,3 +6,3 @@ import React from 'react' | ||
import { DataFieldGroup } from '../data' | ||
import { DashboardChart, DashboardChartState, ToolsConfig, PluginConfig, ChartSearchToken } from './dashboardChart' | ||
import { DashboardChart, DashboardChartState, ToolsConfig, PluginConfig } from './dashboardChart' | ||
import { CustomHandleEventProps } from '../event' | ||
@@ -76,3 +76,3 @@ import { DashboardStaticObj } from './dashboardStaticObj' | ||
onChartMigration?: (dashboardChart: DashboardChart, project: string) => DashboardChart | ||
// 是否是无数据的 chart 或者 是否不需要统一处理无数据的情况 | ||
// 是否是无数据的 chart | ||
hasNoData?: boolean | ||
@@ -111,21 +111,2 @@ hasNoHeader?: boolean | ||
ignoreFieldSource?: boolean | ||
// 图表请求数据开关 针对一些特殊的表只会在特定情况请求数据 | ||
enableGetLogs?: (chart: DashboardChart) => boolean | ||
// 编辑组件 | ||
CoustomEditorComponent?: React.ComponentType<CoustomEditorComponentProps> | ||
// disable 头部错误标识 | ||
disableHeadError?: boolean | ||
} | ||
export interface CoustomEditorComponentProps { | ||
[propsName: string]: any | ||
dashboardChart: DashboardChart | ||
visible: boolean | ||
defaultProject: string | ||
defaultLogstore: string | ||
onClose: () => void | ||
onOk: (dashboardChart: DashboardChart) => void | ||
tokenTag?: ChartSearchToken[] | ||
filterTag?: string[] | ||
filterTagNot?: string[] | ||
} |
Sorry, the diff of this file is too big to display
206997
106
7138
+ Added@aliyun-sls/i18n@0.3.10-dev-2(transitive)
- Removed@aliyun-sls/i18n@0.3.10-dev-1(transitive)