@quickbi/bi-types 3.1.2 → 3.1.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.d.ts +21 -24
- package/cjs/index.js +4753 -3701
- package/esm/index.d.ts +21 -24
- package/esm/index.mjs +2 -0
- package/package.json +1 -1
package/cjs/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare module '@quickbi/bi-types' {
|
|
|
15
15
|
export { CustomEventType } from '@quickbi/bi-types/open/events/event-props';
|
|
16
16
|
export type { CustomEventModalPayload, CustomEventPageConfig, CustomEventPropsDispatch, CustomEventProps, } from '@quickbi/bi-types/open/events/event-props';
|
|
17
17
|
export type { CustomEventMeta } from '@quickbi/bi-types/open/events/event-schema';
|
|
18
|
-
export type {
|
|
18
|
+
export type { ComponentErrorType, ComponentProps, ComponentPropsColorSeries, ComponentPropsCubeConfig, ComponentPropsDispatch, ComponentPropsGlobalConfig, ComponentPropsSkin, ComponentPropsViewConfig, DimGranularity, } from '@quickbi/bi-types/open/components/component-props';
|
|
19
19
|
export type { ComponentMeta, ComponentMetaPropsSchema } from '@quickbi/bi-types/open/components/component-meta';
|
|
20
20
|
export type { Lifecycle, LifecycleBootstrap, LifecycleMount, LifecycleProps, LifecycleUnmount, LifecycleUpdate, } from '@quickbi/bi-types/open/components/component-lifecycle';
|
|
21
21
|
export * from '@quickbi/bi-types/open/components/style-schema';
|
|
@@ -429,7 +429,9 @@ declare module '@quickbi/bi-types/component-type' {
|
|
|
429
429
|
/** 非结构化图表-层级(漏斗图) */
|
|
430
430
|
UNSTRUCTURED_HIERARCHICAL = 128,
|
|
431
431
|
/** 非结构化图表-词频(词云图,已下线) */
|
|
432
|
-
UNSTRUCTURED_FREQUENCY = 129
|
|
432
|
+
UNSTRUCTURED_FREQUENCY = 129,
|
|
433
|
+
/** 智能解读 */
|
|
434
|
+
SMART_INTERPRETATION = 130
|
|
433
435
|
}
|
|
434
436
|
export const ScreenComponentCode: Record<ScreenComponentType, number>;
|
|
435
437
|
export enum ChartType {
|
|
@@ -525,6 +527,7 @@ declare module '@quickbi/bi-types/component-type' {
|
|
|
525
527
|
MULTIPLE_DIM_TABLE = "multiple-dim-table",
|
|
526
528
|
CONCAT_CONTAINER = "concat-container",
|
|
527
529
|
INDICATOR_RELATION = "indicator-relation",
|
|
530
|
+
SMART_INTERPRETATION = "smart-interpretation",
|
|
528
531
|
/** ------------非结构化图表 ------------ */
|
|
529
532
|
UNSTRUCTURED_PARALLEL = "parallel",
|
|
530
533
|
UNSTRUCTURED_CONTRAST = "contrast",
|
|
@@ -1011,26 +1014,20 @@ declare module '@quickbi/bi-types/open/components/component-props' {
|
|
|
1011
1014
|
*/
|
|
1012
1015
|
export type DimGranularity = 'year' | 'fiscal-year' | 'fiscal-year-quarter' | 'year-quarter' | 'year-month' | 'year-week' | 'year-month-day' | 'hour' | 'hour-minute' | 'hour-minute-second' | 'datetime';
|
|
1013
1016
|
export type ComponentPageConfig = CommonPageConfig;
|
|
1014
|
-
/**
|
|
1015
|
-
export type
|
|
1016
|
-
/**
|
|
1017
|
-
'
|
|
1018
|
-
/**
|
|
1019
|
-
| '
|
|
1020
|
-
/**
|
|
1021
|
-
| '
|
|
1022
|
-
/** 脱敏出错 */
|
|
1023
|
-
| 'DataMask'
|
|
1024
|
-
/** 第三方插件查询出错 */
|
|
1025
|
-
| 'ThirdPlugin'
|
|
1026
|
-
/** 图表校验出错 */
|
|
1027
|
-
| 'Validate'
|
|
1017
|
+
/** 对外图表组件错误类型 */
|
|
1018
|
+
export type ComponentErrorType =
|
|
1019
|
+
/** 图表配置错误 */
|
|
1020
|
+
'ConfigurationError'
|
|
1021
|
+
/** 权限错误 */
|
|
1022
|
+
| 'NoPermission'
|
|
1023
|
+
/** 数据脱敏错误 */
|
|
1024
|
+
| 'DataMaskError'
|
|
1028
1025
|
/** 数据为空 */
|
|
1029
|
-
| '
|
|
1030
|
-
/**
|
|
1031
|
-
| '
|
|
1032
|
-
/**
|
|
1033
|
-
| '
|
|
1026
|
+
| 'NoData'
|
|
1027
|
+
/** 渲染错误 */
|
|
1028
|
+
| 'RenderError'
|
|
1029
|
+
/** 未知错误 */
|
|
1030
|
+
| 'Unknown';
|
|
1034
1031
|
/**
|
|
1035
1032
|
* bi 组件通用属性模型
|
|
1036
1033
|
*/
|
|
@@ -1038,11 +1035,11 @@ declare module '@quickbi/bi-types/open/components/component-props' {
|
|
|
1038
1035
|
/** 组件状态(是否正常渲染) */
|
|
1039
1036
|
status?: 'success' | 'error';
|
|
1040
1037
|
/** 错误信息 */
|
|
1041
|
-
|
|
1038
|
+
error?: {
|
|
1042
1039
|
/** 错误类型 */
|
|
1043
|
-
type:
|
|
1040
|
+
type: ComponentErrorType;
|
|
1044
1041
|
/** 错误信息 */
|
|
1045
|
-
|
|
1042
|
+
message?: string;
|
|
1046
1043
|
};
|
|
1047
1044
|
/** 组件类型 */
|
|
1048
1045
|
componentType: ComponentType;
|