Comparing version 2.0.0-beta.3 to 2.0.0-beta.4
@@ -11,24 +11,33 @@ /** | ||
} | ||
export interface ComponentPropsAction { | ||
/** | ||
* | ||
*/ | ||
changeViewConfig: (newViewConfig: { | ||
[key: string]: any; | ||
}) => void; | ||
/** | ||
* 图表选中, 包含下钻/联动/跳转 | ||
*/ | ||
select: (param: { | ||
/** | ||
* 图表选中, 包含下钻/联动/跳转 | ||
*/ | ||
interface ComponentPropsActionSelect { | ||
type: 'select'; | ||
payload: { | ||
dataIndex: number; | ||
}) => void; | ||
/** | ||
* 取消下钻 | ||
*/ | ||
cancelDrill: () => void; | ||
/** | ||
* 取消联动 | ||
*/ | ||
cancelLinkage: () => void; | ||
}; | ||
} | ||
/** | ||
* 修改 viewConfig 的值 | ||
*/ | ||
interface ComponentPropsActionChangeViewConfig { | ||
type: 'changeViewConfig'; | ||
payload: { | ||
[key: string]: any; | ||
}; | ||
} | ||
/** | ||
* 取消下钻 | ||
*/ | ||
interface ComponentPropsActionCancelDrill { | ||
type: 'cancelDrill'; | ||
} | ||
/** | ||
* 取消联动 | ||
*/ | ||
interface ComponentPropsActionCancelLinkage { | ||
type: 'cancelLinkage'; | ||
} | ||
export declare type ComponentPropsDispatch = (param: ComponentPropsActionSelect | ComponentPropsActionChangeViewConfig | ComponentPropsActionCancelDrill | ComponentPropsActionCancelLinkage) => void; | ||
interface ComponentPropsFieldSettingConfig { | ||
@@ -49,3 +58,3 @@ /** 字段别名 */ | ||
/** 色系颜色 */ | ||
colors: string; | ||
colors: string[]; | ||
} | ||
@@ -95,4 +104,4 @@ export interface ComponentPropsViewConfig { | ||
/** 操作 */ | ||
action?: ComponentPropsAction; | ||
dispatch?: ComponentPropsDispatch; | ||
} | ||
export {}; |
@@ -11,2 +11,3 @@ "use strict"; | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _componentProps[key]) return; | ||
Object.defineProperty(exports, key, { | ||
@@ -24,2 +25,3 @@ enumerable: true, | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _componentMeta[key]) return; | ||
Object.defineProperty(exports, key, { | ||
@@ -37,2 +39,3 @@ enumerable: true, | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _componentLifecycle[key]) return; | ||
Object.defineProperty(exports, key, { | ||
@@ -50,2 +53,3 @@ enumerable: true, | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _styleSchema[key]) return; | ||
Object.defineProperty(exports, key, { | ||
@@ -63,2 +67,3 @@ enumerable: true, | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _dataSchema[key]) return; | ||
Object.defineProperty(exports, key, { | ||
@@ -76,2 +81,3 @@ enumerable: true, | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _chartConfig[key]) return; | ||
Object.defineProperty(exports, key, { | ||
@@ -89,2 +95,3 @@ enumerable: true, | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _standardModel[key]) return; | ||
Object.defineProperty(exports, key, { | ||
@@ -91,0 +98,0 @@ enumerable: true, |
{ | ||
"name": "bi-types", | ||
"version": "2.0.0-beta.3", | ||
"version": "2.0.0-beta.4", | ||
"npmVersion": "2.0.0-alpha.3", | ||
"dependencies": {}, | ||
@@ -5,0 +6,0 @@ "main": "dist/main", |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
24093
758
0