Comparing version 2.0.2 to 2.0.5
@@ -6,2 +6,3 @@ /** | ||
import { DataSchema } from './data-schema'; | ||
import { MenuSchema } from './menu-schema'; | ||
import { StyleSchema } from './style-schema'; | ||
@@ -18,2 +19,4 @@ /** | ||
advancedSchema?: StyleSchema; | ||
/** 自定义菜单配置 */ | ||
menuSchema?: MenuSchema; | ||
} | ||
@@ -20,0 +23,0 @@ /** |
@@ -21,2 +21,8 @@ /** | ||
/** | ||
* 图表取消选中, 包含下钻/联动/跳转 | ||
*/ | ||
interface ComponentPropsActionCancelSelect { | ||
type: 'cancelSelect'; | ||
} | ||
/** | ||
* 修改 viewConfig 的值 | ||
@@ -42,3 +48,3 @@ */ | ||
} | ||
export declare type ComponentPropsDispatch = (param: ComponentPropsActionSelect | ComponentPropsActionChangeViewConfig | ComponentPropsActionCancelDrill | ComponentPropsActionCancelLinkage) => void; | ||
export declare type ComponentPropsDispatch = (param: ComponentPropsActionSelect | ComponentPropsActionCancelSelect | ComponentPropsActionChangeViewConfig | ComponentPropsActionCancelDrill | ComponentPropsActionCancelLinkage) => void; | ||
interface ComponentPropsFieldSettingConfig { | ||
@@ -45,0 +51,0 @@ /** 字段别名 */ |
@@ -38,3 +38,3 @@ /** | ||
/** id */ | ||
id?: string; | ||
id?: DataSchemaAreaId; | ||
/** | ||
@@ -61,3 +61,2 @@ * 设置轴查询时对应的类型 | ||
/** 是否显示该区块 */ | ||
show?: boolean; | ||
/** 其他扩展字段 */ | ||
@@ -64,0 +63,0 @@ [key: string]: any; |
@@ -8,1 +8,3 @@ export * from './component-props'; | ||
export * from './standard-model'; | ||
export * from './style-schema'; | ||
export * from './menu-schema'; |
@@ -53,2 +53,6 @@ /** | ||
uuid: string; | ||
/** 字段排名信息 */ | ||
rank?: string; | ||
/** 累计计算日期类型 */ | ||
granularity?: string; | ||
/** [FBI特有] 时间类型 */ | ||
@@ -58,2 +62,3 @@ dateStep?: 'year' | 'year-financial' | 'quarter' | 'month' | 'week-last7' | 'week' | 'week-monday' | 'week-tuesday' | 'week-wednesday' | 'week-thursday' | 'week-friday' | 'week-saturday' | 'day' | 'hour' | 'minute' | 'second'; | ||
extends?: FieldModelExtends; | ||
fdow?: number; | ||
} | ||
@@ -204,8 +209,16 @@ /** 通用字段聚合方式 */ | ||
originDrillDimPathId?: string; | ||
/** 图表接收的卡片上手工标注的信息 */ | ||
annotationParam?: any; | ||
/** 图表接收的卡片上交互式分析的信息, 栈结构保留了历史操作记录 */ | ||
circleParams?: Array<{ | ||
items: { | ||
[field: string]: string | number | number[] | null | undefined | Array<any> | boolean; | ||
}; | ||
/** 操作:in=只看,not-in=排除,mark=标注,view=查看数据 */ | ||
action: '' | 'in' | 'not-in' | 'mark' | 'view'; | ||
}>; | ||
/** 图表接收到卡片通过右上角菜单进入标注模式 */ | ||
annotationParam: { | ||
isEnter: boolean; | ||
}; | ||
/** 当前被钻取到的维度 */ | ||
currentDrillDimPathId?: string; | ||
/** 开启圈选交互 */ | ||
isRangeFilter: boolean; | ||
/** 联动维度 */ | ||
@@ -212,0 +225,0 @@ relationDim?: string; |
@@ -13,4 +13,4 @@ /** | ||
interface PatternDepend { | ||
id: StyleSchemaDependId; | ||
pattern: string; | ||
id?: StyleSchemaDependId; | ||
pattern?: string; | ||
} | ||
@@ -17,0 +17,0 @@ declare type StyleSchemaBaseDepend = ValueDepend | PatternDepend; |
@@ -7,2 +7,4 @@ export * from './component-props'; | ||
export * from './chart-config'; | ||
export * from './standard-model'; | ||
export * from './standard-model'; | ||
export * from './style-schema'; | ||
export * from './menu-schema'; |
@@ -96,2 +96,15 @@ "use strict"; | ||
}); | ||
}); | ||
var _menuSchema = require("./menu-schema"); | ||
Object.keys(_menuSchema).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _menuSchema[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _menuSchema[key]; | ||
} | ||
}); | ||
}); |
@@ -7,2 +7,4 @@ export * from "./component-props"; | ||
export * from "./chart-config"; | ||
export * from "./standard-model"; | ||
export * from "./standard-model"; | ||
export * from "./style-schema"; | ||
export * from "./menu-schema"; |
{ | ||
"name": "bi-types", | ||
"version": "2.0.2", | ||
"npmVersion": "2.0.1", | ||
"version": "2.0.5", | ||
"dependencies": {}, | ||
@@ -6,0 +5,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
28206
37
872
0