New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aliyun-sls/interface

Package Overview
Dependencies
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aliyun-sls/interface - npm Package Compare versions

Comparing version 0.3.10-dev-4 to 0.3.10-dev-5

src/dashboard/charts/dropListChart/index.ts

4

package.json
{
"name": "@aliyun-sls/interface",
"version": "0.3.10-dev-4",
"version": "0.3.10-dev-5",
"description": "",

@@ -9,4 +9,4 @@ "main": "dist/interface.cjs.js",

"dependencies": {
"@aliyun-sls/i18n": "0.3.10-dev-4"
"@aliyun-sls/i18n": "0.3.10-dev-5"
}
}

@@ -17,1 +17,2 @@ 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 } from '../charts'
import { PieChartType, PieLabelType, TypeOption, ConnectDirection, DropListOption } from '../charts'
import { AnnotationProps, AnnotationMarkProps } from '../components'

@@ -249,2 +249,3 @@ import { Search } from './registerDatasource'

typeOption?: TypeOption
dropListOption?: DropListOption
/**

@@ -326,2 +327,3 @@ * 是否是时序图,时序图要求x轴是时间戳

tokenType?: 'auto' | 'project' | 'logstore'
multipleTokenMap?: Record<string, any> // 不支持设置默认值
}

@@ -546,2 +548,3 @@

show?: boolean
canAddAnnotation?: boolean
annotations: AnnotationProps[]

@@ -548,0 +551,0 @@ updateAnnotations: (

import { DrilldownVariable, DrilldownVariableItem } from '../components/drilldown'
import type { CustomHandleEventProps } from '../event'
import type { DashboardConfig, UpdateDashboardCallback } from './dashboardChart'
import type { ChartSearchToken, DashboardConfig, UpdateDashboardCallback } from './dashboardChart'

@@ -61,5 +61,9 @@ 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>

@@ -66,0 +70,0 @@ /**

@@ -6,6 +6,7 @@ import React from 'react'

import { DataFieldGroup } from '../data'
import { DashboardChart, DashboardChartState, ToolsConfig, PluginConfig } from './dashboardChart'
import { DashboardChart, DashboardChartState, ToolsConfig, PluginConfig, ChartSearchToken } from './dashboardChart'
import { CustomHandleEventProps } from '../event'
import { DashboardStaticObj } from './dashboardStaticObj'
import { DrilldownVariable } from '../components'
import { LineChartNamespace } from '../charts'

@@ -44,2 +45,4 @@ export interface GetOptionBuilderProps {

pluginConfig?: PluginConfig
// 图例改变
onChartLengendChange?: (legendStates: LineChartNamespace.LegendState[]) => void
}

@@ -77,3 +80,3 @@

onChartMigration?: (dashboardChart: DashboardChart, project: string) => DashboardChart
// 是否是无数据的 chart
// 是否是无数据的 chart 或者 是否不需要统一处理无数据的情况
hasNoData?: boolean

@@ -112,2 +115,23 @@ hasNoHeader?: boolean

ignoreFieldSource?: boolean
// 图表请求数据开关 针对一些特殊的表只会在特定情况请求数据
enableGetLogs?: (chart: DashboardChart) => boolean
// 编辑组件
CoustomEditorComponent?: React.ComponentType<CoustomEditorComponentProps>
// disable 头部错误标识
disableHeadError?: boolean
// disable 头部更多操作 只在非编辑状态下隐藏
disableHeadMoreOption?: 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc