@quickbi/bi-types 3.1.3-beta.9 → 3.1.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  // Generated by dts-bundle v0.7.3
2
2
  // Dependencies for this module:
3
- // ../../../../../react
3
+ // ../../../../../../../../../../react
4
4
 
5
5
  declare module '@quickbi/bi-types' {
6
6
  export { CommonCompInputAreaTypeEnum, DataConfig, DataConfigAreaItemColumn, DataPanelDataSchema, DataSchemaAreaItem, OperationMenuItem, DropdownMenuItem, OperationTypes, Aggregators, FieldConfigTypes, ContrastTypes, AdvanceCalTypes, AdvanceCalcDateTypes, NumberFormats, AlignTypes, VerticalAlignTypes, AlignmentCategory, SortTypes, FieldChartTypes, ImageSizes, CUSTOM_FIELD_TYPES, FieldType, QueryAxisType, DropDownMenuType, SecondFieldType, ChartStatus, StackedSortType, ResultMode, RetainAreaId, ConfigCellType, ConfigColumnType, CheckBoxState, FieldGroupType, DataSchemaRule, TableType, TableDirection, ProportionType, AccumulateCalcType, FieldCollectionType, LnglatGroupChildFlags, FieldGroupSelectorType, VirtualFieldOperation, NumberValueType, ContrastType, } from '@quickbi/bi-types/data-panel';
@@ -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 { ComponentErrorType, ComponentProps, ComponentPropsColorSeries, ComponentPropsCubeConfig, ComponentPropsDispatch, ComponentPropsGlobalConfig, ComponentPropsSkin, ComponentPropsViewConfig, DimGranularity, } from '@quickbi/bi-types/open/components/component-props';
18
+ export type { ComponentError, ComponentConfigError, ComponentNoPermissionError, ComponentDataMaskError, ComponentNoDataError, ComponentRenderError, 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';
@@ -26,6 +26,7 @@ declare module '@quickbi/bi-types' {
26
26
  export * from '@quickbi/bi-types/open/components/style-schema';
27
27
  export type { MenuMeta, MenuProps, MenuSchema, MenuSchemaBase, MenuSchemaItem } from '@quickbi/bi-types/open/menus/menu-schema';
28
28
  export * from '@quickbi/bi-types/open/menus/menu-props';
29
+ export type { CustomPageConfig, CustomPageProps } from '@quickbi/bi-types/open/custom-page/pages-props';
29
30
  export type { EmbedBaseSrc, EmbedBaseFeature, EmbedBaseEventMessageDTO, EmbedBaseEventMessageContent, EmbedBaseEventListener, EmbedBaseEventListenerReturn, } from '@quickbi/bi-types/open/embed/core';
30
31
  export { OpenPageTypeEnum } from '@quickbi/bi-types/open/common/page-types';
31
32
  export { OpenEventTypeEnum } from '@quickbi/bi-types/open/common/event-types';
@@ -1014,20 +1015,26 @@ declare module '@quickbi/bi-types/open/components/component-props' {
1014
1015
  */
1015
1016
  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';
1016
1017
  export type ComponentPageConfig = CommonPageConfig;
1017
- /** 对外图表组件错误类型 */
1018
- export type ComponentErrorType =
1018
+ /**
1019
+ * 组件错误类型(泛型)
1020
+ * @template T - 错误名称,默认为 'ComponentError' 表示未知错误
1021
+ */
1022
+ export interface ComponentError<T extends string = 'ComponentError'> {
1023
+ /** 错误名称,用于类型判断 */
1024
+ name: T;
1025
+ /** 错误信息 */
1026
+ message?: string;
1027
+ }
1019
1028
  /** 图表配置错误 */
1020
- 'ConfigurationError'
1029
+ export type ComponentConfigError = ComponentError<'ComponentConfigError'>;
1021
1030
  /** 权限错误 */
1022
- | 'NoPermission'
1031
+ export type ComponentNoPermissionError = ComponentError<'ComponentNoPermissionError'>;
1023
1032
  /** 数据脱敏错误 */
1024
- | 'DataMaskError'
1025
- /** 数据为空 */
1026
- | 'NoData'
1033
+ export type ComponentDataMaskError = ComponentError<'ComponentDataMaskError'>;
1034
+ /** 数据为空错误 */
1035
+ export type ComponentNoDataError = ComponentError<'ComponentNoDataError'>;
1027
1036
  /** 渲染错误 */
1028
- | 'RenderError'
1029
- /** 未知错误 */
1030
- | 'Unknown';
1037
+ export type ComponentRenderError = ComponentError<'ComponentRenderError'>;
1031
1038
  /**
1032
1039
  * bi 组件通用属性模型
1033
1040
  */
@@ -1035,12 +1042,7 @@ declare module '@quickbi/bi-types/open/components/component-props' {
1035
1042
  /** 组件状态(是否正常渲染) */
1036
1043
  status?: 'success' | 'error';
1037
1044
  /** 错误信息 */
1038
- error?: {
1039
- /** 错误类型 */
1040
- type: ComponentErrorType;
1041
- /** 错误信息 */
1042
- message?: string;
1043
- };
1045
+ error?: ComponentError | ComponentConfigError | ComponentNoPermissionError | ComponentDataMaskError | ComponentNoDataError | ComponentRenderError;
1044
1046
  /** 组件类型 */
1045
1047
  componentType: ComponentType;
1046
1048
  /** 自定义组件实例 id */
@@ -1526,6 +1528,13 @@ declare module '@quickbi/bi-types/chart-config' {
1526
1528
  /** 空 */
1527
1529
  empty = ""
1528
1530
  }
1531
+ /** 图例显示百分比位置 */
1532
+ export enum LegendDisplayPercentPositionValue {
1533
+ /** 默认值为'-' */
1534
+ Bottom = "bottom",
1535
+ /** 空 */
1536
+ Right = "right"
1537
+ }
1529
1538
  /** 钻取 面包屑的文字样式 */
1530
1539
  export interface DrillBreadcrumbTextStyle {
1531
1540
  fontSize: number;
@@ -2323,6 +2332,7 @@ declare module '@quickbi/bi-types/open/menus/menu-props' {
2323
2332
  import type { EnumAsUnion } from '@quickbi/bi-types/open/common/tools';
2324
2333
  import type { OpenPageTypeEnum } from '@quickbi/bi-types/open/common/page-types';
2325
2334
  import type { OpenDeviceTypeEnum } from '@quickbi/bi-types/open/common/misc';
2335
+ import type { RouteKey } from '@quickbi/bi-types/router/route-key';
2326
2336
  /**
2327
2337
  * 事件/菜单通用的页面信息
2328
2338
  */
@@ -2347,8 +2357,10 @@ declare module '@quickbi/bi-types/open/menus/menu-props' {
2347
2357
  ownerUserName: string;
2348
2358
  /** 页面标题 */
2349
2359
  title: string;
2350
- /** 页面类型 */
2351
- pageType: EnumAsUnion<typeof OpenPageTypeEnum>;
2360
+ /** @deprecated 页面类型, 已废弃, 后续请用routeKey判断页面类型 */
2361
+ pageType?: EnumAsUnion<typeof OpenPageTypeEnum>;
2362
+ /** 页面路由 key */
2363
+ routeKey?: RouteKey;
2352
2364
  }
2353
2365
  /**
2354
2366
  * 事件/菜单通用的工具方法
@@ -2496,6 +2508,19 @@ declare module '@quickbi/bi-types/open/menus/menu-props' {
2496
2508
  }
2497
2509
  }
2498
2510
 
2511
+ declare module '@quickbi/bi-types/open/custom-page/pages-props' {
2512
+ import type { CommonPageConfig } from '@quickbi/bi-types/open/menus/menu-props';
2513
+ /** 自定义页面的页面信息 */
2514
+ export type CustomPageConfig = Pick<CommonPageConfig, 'userId' | 'userName' | 'routeKey'>;
2515
+ /**
2516
+ * 自定义页面 props 接口
2517
+ */
2518
+ export interface CustomPageProps {
2519
+ /** 页面信息 */
2520
+ pageConfig: CustomPageConfig;
2521
+ }
2522
+ }
2523
+
2499
2524
  declare module '@quickbi/bi-types/open/embed/core' {
2500
2525
  /**
2501
2526
  * @author 海狸
@@ -2566,7 +2591,7 @@ declare module '@quickbi/bi-types/open/embed/core' {
2566
2591
 
2567
2592
  declare module '@quickbi/bi-types/open/common/page-types' {
2568
2593
  /**
2569
- * @deprecated 开放相关页面类型枚举, 注意要和 routerKkey 做区分, 这个 key 后续要废弃
2594
+ * @deprecated 开放相关页面类型枚举, 注意要和 routerKey 做区分, 这个 key 后续要废弃
2570
2595
  * */
2571
2596
  export enum OpenPageTypeEnum {
2572
2597
  /** 仪表板 */
@@ -6832,7 +6857,9 @@ declare module '@quickbi/bi-types/cube/data-source' {
6832
6857
  /** 达梦 */
6833
6858
  dm = "dm",
6834
6859
  /** 日志服务SLS */
6835
- sls = "sls"
6860
+ sls = "sls",
6861
+ /** RDS MySQL DuckDB */
6862
+ mysql_duckdb = "mysql_duckdb"
6836
6863
  }
6837
6864
  export enum AcrossDsType {
6838
6865
  UN_SET,
@@ -6855,7 +6882,9 @@ declare module '@quickbi/bi-types/cube/data-source' {
6855
6882
  /** 端口号为8242 此后所有注释 皆为表明 变量代表的端口号码 */
6856
6883
  eight_two_four_two = "8242",
6857
6884
  three_three_zero_six_zero = "33060",
6858
- three_zero_zero_six_zero = "30060"
6885
+ three_zero_zero_six_zero = "30060",
6886
+ three_three_zero_six = "33306",
6887
+ one_zero_zero_zero_zero = "10000"
6859
6888
  }
6860
6889
  /** 数据源 - 根据类型 - 排序 */
6861
6890
  export enum DataSourceSort {
@@ -6891,8 +6920,6 @@ declare module '@quickbi/bi-types/cube/data-source' {
6891
6920
  google = "google",
6892
6921
  customDs = "customDs"
6893
6922
  }
6894
- /** 数据库数据源类型 */
6895
- export const dataBaseType: DataSourcesConfigId[];
6896
6923
  /** 文档数据源 */
6897
6924
  export const SHEET_TABLE: DsType[];
6898
6925
  }
package/cjs/index.js CHANGED
@@ -94,6 +94,7 @@ __export(src_exports, {
94
94
  ImageSizes: () => ImageSizes,
95
95
  JoinCondition: () => JoinCondition,
96
96
  LegendAlignType: () => LegendAlignType,
97
+ LegendDisplayPercentPositionValue: () => LegendDisplayPercentPositionValue,
97
98
  LegendPositionType: () => LegendPositionType,
98
99
  LegendUnHighLightedValue: () => LegendUnHighLightedValue,
99
100
  LnglatGroupChildFlags: () => LnglatGroupChildFlags,
@@ -149,8 +150,7 @@ __export(src_exports, {
149
150
  ToolFieldType: () => ToolFieldType,
150
151
  UsePermitType: () => UsePermitType,
151
152
  VerticalAlignTypes: () => VerticalAlignTypes,
152
- VirtualFieldOperation: () => VirtualFieldOperation,
153
- dataBaseType: () => dataBaseType
153
+ VirtualFieldOperation: () => VirtualFieldOperation
154
154
  });
155
155
  module.exports = __toCommonJS(src_exports);
156
156
 
@@ -1460,6 +1460,11 @@ var LegendUnHighLightedValue;
1460
1460
  LegendUnHighLightedValue2["default"] = "-";
1461
1461
  LegendUnHighLightedValue2["empty"] = "";
1462
1462
  })(LegendUnHighLightedValue || (LegendUnHighLightedValue = {}));
1463
+ var LegendDisplayPercentPositionValue;
1464
+ (function(LegendDisplayPercentPositionValue2) {
1465
+ LegendDisplayPercentPositionValue2["Bottom"] = "bottom";
1466
+ LegendDisplayPercentPositionValue2["Right"] = "right";
1467
+ })(LegendDisplayPercentPositionValue || (LegendDisplayPercentPositionValue = {}));
1463
1468
  var ConstastTypeMap = {
1464
1469
  dateRegion: [
1465
1470
  "DAY_DAY_RING_RATIO",
@@ -2016,6 +2021,7 @@ var DsType;
2016
2021
  DsType2["unicorn"] = "unicorn";
2017
2022
  DsType2["dm"] = "dm";
2018
2023
  DsType2["sls"] = "sls";
2024
+ DsType2["mysql_duckdb"] = "mysql_duckdb";
2019
2025
  })(DsType || (DsType = {}));
2020
2026
  var AcrossDsType;
2021
2027
  (function(AcrossDsType2) {
@@ -2034,6 +2040,8 @@ var DataSourcePortValue;
2034
2040
  DataSourcePortValue2["eight_two_four_two"] = "8242";
2035
2041
  DataSourcePortValue2["three_three_zero_six_zero"] = "33060";
2036
2042
  DataSourcePortValue2["three_zero_zero_six_zero"] = "30060";
2043
+ DataSourcePortValue2["three_three_zero_six"] = "33306";
2044
+ DataSourcePortValue2["one_zero_zero_zero_zero"] = "10000";
2037
2045
  })(DataSourcePortValue || (DataSourcePortValue = {}));
2038
2046
  var DataSourceSort;
2039
2047
  (function(DataSourceSort2) {
@@ -2061,15 +2069,6 @@ var DataSourcesConfigId;
2061
2069
  DataSourcesConfigId2["google"] = "google";
2062
2070
  DataSourcesConfigId2["customDs"] = "customDs";
2063
2071
  })(DataSourcesConfigId || (DataSourcesConfigId = {}));
2064
- var dataBaseType = [
2065
- "cloud",
2066
- "local",
2067
- "aws",
2068
- "huawei",
2069
- "tencent",
2070
- "microsoft",
2071
- "google"
2072
- ];
2073
2072
  var SHEET_TABLE = [
2074
2073
  "feishu_bitable",
2075
2074
  "feishu_spreadsheet",
package/esm/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // Generated by dts-bundle v0.7.3
2
2
  // Dependencies for this module:
3
- // ../../../../../react
3
+ // ../../../../../../../../../../react
4
4
 
5
5
  declare module '@quickbi/bi-types' {
6
6
  export { CommonCompInputAreaTypeEnum, DataConfig, DataConfigAreaItemColumn, DataPanelDataSchema, DataSchemaAreaItem, OperationMenuItem, DropdownMenuItem, OperationTypes, Aggregators, FieldConfigTypes, ContrastTypes, AdvanceCalTypes, AdvanceCalcDateTypes, NumberFormats, AlignTypes, VerticalAlignTypes, AlignmentCategory, SortTypes, FieldChartTypes, ImageSizes, CUSTOM_FIELD_TYPES, FieldType, QueryAxisType, DropDownMenuType, SecondFieldType, ChartStatus, StackedSortType, ResultMode, RetainAreaId, ConfigCellType, ConfigColumnType, CheckBoxState, FieldGroupType, DataSchemaRule, TableType, TableDirection, ProportionType, AccumulateCalcType, FieldCollectionType, LnglatGroupChildFlags, FieldGroupSelectorType, VirtualFieldOperation, NumberValueType, ContrastType, } from '@quickbi/bi-types/data-panel';
@@ -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 { ComponentErrorType, ComponentProps, ComponentPropsColorSeries, ComponentPropsCubeConfig, ComponentPropsDispatch, ComponentPropsGlobalConfig, ComponentPropsSkin, ComponentPropsViewConfig, DimGranularity, } from '@quickbi/bi-types/open/components/component-props';
18
+ export type { ComponentError, ComponentConfigError, ComponentNoPermissionError, ComponentDataMaskError, ComponentNoDataError, ComponentRenderError, 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';
@@ -26,6 +26,7 @@ declare module '@quickbi/bi-types' {
26
26
  export * from '@quickbi/bi-types/open/components/style-schema';
27
27
  export type { MenuMeta, MenuProps, MenuSchema, MenuSchemaBase, MenuSchemaItem } from '@quickbi/bi-types/open/menus/menu-schema';
28
28
  export * from '@quickbi/bi-types/open/menus/menu-props';
29
+ export type { CustomPageConfig, CustomPageProps } from '@quickbi/bi-types/open/custom-page/pages-props';
29
30
  export type { EmbedBaseSrc, EmbedBaseFeature, EmbedBaseEventMessageDTO, EmbedBaseEventMessageContent, EmbedBaseEventListener, EmbedBaseEventListenerReturn, } from '@quickbi/bi-types/open/embed/core';
30
31
  export { OpenPageTypeEnum } from '@quickbi/bi-types/open/common/page-types';
31
32
  export { OpenEventTypeEnum } from '@quickbi/bi-types/open/common/event-types';
@@ -1014,20 +1015,26 @@ declare module '@quickbi/bi-types/open/components/component-props' {
1014
1015
  */
1015
1016
  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';
1016
1017
  export type ComponentPageConfig = CommonPageConfig;
1017
- /** 对外图表组件错误类型 */
1018
- export type ComponentErrorType =
1018
+ /**
1019
+ * 组件错误类型(泛型)
1020
+ * @template T - 错误名称,默认为 'ComponentError' 表示未知错误
1021
+ */
1022
+ export interface ComponentError<T extends string = 'ComponentError'> {
1023
+ /** 错误名称,用于类型判断 */
1024
+ name: T;
1025
+ /** 错误信息 */
1026
+ message?: string;
1027
+ }
1019
1028
  /** 图表配置错误 */
1020
- 'ConfigurationError'
1029
+ export type ComponentConfigError = ComponentError<'ComponentConfigError'>;
1021
1030
  /** 权限错误 */
1022
- | 'NoPermission'
1031
+ export type ComponentNoPermissionError = ComponentError<'ComponentNoPermissionError'>;
1023
1032
  /** 数据脱敏错误 */
1024
- | 'DataMaskError'
1025
- /** 数据为空 */
1026
- | 'NoData'
1033
+ export type ComponentDataMaskError = ComponentError<'ComponentDataMaskError'>;
1034
+ /** 数据为空错误 */
1035
+ export type ComponentNoDataError = ComponentError<'ComponentNoDataError'>;
1027
1036
  /** 渲染错误 */
1028
- | 'RenderError'
1029
- /** 未知错误 */
1030
- | 'Unknown';
1037
+ export type ComponentRenderError = ComponentError<'ComponentRenderError'>;
1031
1038
  /**
1032
1039
  * bi 组件通用属性模型
1033
1040
  */
@@ -1035,12 +1042,7 @@ declare module '@quickbi/bi-types/open/components/component-props' {
1035
1042
  /** 组件状态(是否正常渲染) */
1036
1043
  status?: 'success' | 'error';
1037
1044
  /** 错误信息 */
1038
- error?: {
1039
- /** 错误类型 */
1040
- type: ComponentErrorType;
1041
- /** 错误信息 */
1042
- message?: string;
1043
- };
1045
+ error?: ComponentError | ComponentConfigError | ComponentNoPermissionError | ComponentDataMaskError | ComponentNoDataError | ComponentRenderError;
1044
1046
  /** 组件类型 */
1045
1047
  componentType: ComponentType;
1046
1048
  /** 自定义组件实例 id */
@@ -1526,6 +1528,13 @@ declare module '@quickbi/bi-types/chart-config' {
1526
1528
  /** 空 */
1527
1529
  empty = ""
1528
1530
  }
1531
+ /** 图例显示百分比位置 */
1532
+ export enum LegendDisplayPercentPositionValue {
1533
+ /** 默认值为'-' */
1534
+ Bottom = "bottom",
1535
+ /** 空 */
1536
+ Right = "right"
1537
+ }
1529
1538
  /** 钻取 面包屑的文字样式 */
1530
1539
  export interface DrillBreadcrumbTextStyle {
1531
1540
  fontSize: number;
@@ -2323,6 +2332,7 @@ declare module '@quickbi/bi-types/open/menus/menu-props' {
2323
2332
  import type { EnumAsUnion } from '@quickbi/bi-types/open/common/tools';
2324
2333
  import type { OpenPageTypeEnum } from '@quickbi/bi-types/open/common/page-types';
2325
2334
  import type { OpenDeviceTypeEnum } from '@quickbi/bi-types/open/common/misc';
2335
+ import type { RouteKey } from '@quickbi/bi-types/router/route-key';
2326
2336
  /**
2327
2337
  * 事件/菜单通用的页面信息
2328
2338
  */
@@ -2347,8 +2357,10 @@ declare module '@quickbi/bi-types/open/menus/menu-props' {
2347
2357
  ownerUserName: string;
2348
2358
  /** 页面标题 */
2349
2359
  title: string;
2350
- /** 页面类型 */
2351
- pageType: EnumAsUnion<typeof OpenPageTypeEnum>;
2360
+ /** @deprecated 页面类型, 已废弃, 后续请用routeKey判断页面类型 */
2361
+ pageType?: EnumAsUnion<typeof OpenPageTypeEnum>;
2362
+ /** 页面路由 key */
2363
+ routeKey?: RouteKey;
2352
2364
  }
2353
2365
  /**
2354
2366
  * 事件/菜单通用的工具方法
@@ -2496,6 +2508,19 @@ declare module '@quickbi/bi-types/open/menus/menu-props' {
2496
2508
  }
2497
2509
  }
2498
2510
 
2511
+ declare module '@quickbi/bi-types/open/custom-page/pages-props' {
2512
+ import type { CommonPageConfig } from '@quickbi/bi-types/open/menus/menu-props';
2513
+ /** 自定义页面的页面信息 */
2514
+ export type CustomPageConfig = Pick<CommonPageConfig, 'userId' | 'userName' | 'routeKey'>;
2515
+ /**
2516
+ * 自定义页面 props 接口
2517
+ */
2518
+ export interface CustomPageProps {
2519
+ /** 页面信息 */
2520
+ pageConfig: CustomPageConfig;
2521
+ }
2522
+ }
2523
+
2499
2524
  declare module '@quickbi/bi-types/open/embed/core' {
2500
2525
  /**
2501
2526
  * @author 海狸
@@ -2566,7 +2591,7 @@ declare module '@quickbi/bi-types/open/embed/core' {
2566
2591
 
2567
2592
  declare module '@quickbi/bi-types/open/common/page-types' {
2568
2593
  /**
2569
- * @deprecated 开放相关页面类型枚举, 注意要和 routerKkey 做区分, 这个 key 后续要废弃
2594
+ * @deprecated 开放相关页面类型枚举, 注意要和 routerKey 做区分, 这个 key 后续要废弃
2570
2595
  * */
2571
2596
  export enum OpenPageTypeEnum {
2572
2597
  /** 仪表板 */
@@ -6832,7 +6857,9 @@ declare module '@quickbi/bi-types/cube/data-source' {
6832
6857
  /** 达梦 */
6833
6858
  dm = "dm",
6834
6859
  /** 日志服务SLS */
6835
- sls = "sls"
6860
+ sls = "sls",
6861
+ /** RDS MySQL DuckDB */
6862
+ mysql_duckdb = "mysql_duckdb"
6836
6863
  }
6837
6864
  export enum AcrossDsType {
6838
6865
  UN_SET,
@@ -6855,7 +6882,9 @@ declare module '@quickbi/bi-types/cube/data-source' {
6855
6882
  /** 端口号为8242 此后所有注释 皆为表明 变量代表的端口号码 */
6856
6883
  eight_two_four_two = "8242",
6857
6884
  three_three_zero_six_zero = "33060",
6858
- three_zero_zero_six_zero = "30060"
6885
+ three_zero_zero_six_zero = "30060",
6886
+ three_three_zero_six = "33306",
6887
+ one_zero_zero_zero_zero = "10000"
6859
6888
  }
6860
6889
  /** 数据源 - 根据类型 - 排序 */
6861
6890
  export enum DataSourceSort {
@@ -6891,8 +6920,6 @@ declare module '@quickbi/bi-types/cube/data-source' {
6891
6920
  google = "google",
6892
6921
  customDs = "customDs"
6893
6922
  }
6894
- /** 数据库数据源类型 */
6895
- export const dataBaseType: DataSourcesConfigId[];
6896
6923
  /** 文档数据源 */
6897
6924
  export const SHEET_TABLE: DsType[];
6898
6925
  }
package/esm/index.mjs CHANGED
@@ -1304,6 +1304,11 @@ var LegendUnHighLightedValue;
1304
1304
  LegendUnHighLightedValue2["default"] = "-";
1305
1305
  LegendUnHighLightedValue2["empty"] = "";
1306
1306
  })(LegendUnHighLightedValue || (LegendUnHighLightedValue = {}));
1307
+ var LegendDisplayPercentPositionValue;
1308
+ (function(LegendDisplayPercentPositionValue2) {
1309
+ LegendDisplayPercentPositionValue2["Bottom"] = "bottom";
1310
+ LegendDisplayPercentPositionValue2["Right"] = "right";
1311
+ })(LegendDisplayPercentPositionValue || (LegendDisplayPercentPositionValue = {}));
1307
1312
  var ConstastTypeMap = {
1308
1313
  dateRegion: [
1309
1314
  "DAY_DAY_RING_RATIO",
@@ -1860,6 +1865,7 @@ var DsType;
1860
1865
  DsType2["unicorn"] = "unicorn";
1861
1866
  DsType2["dm"] = "dm";
1862
1867
  DsType2["sls"] = "sls";
1868
+ DsType2["mysql_duckdb"] = "mysql_duckdb";
1863
1869
  })(DsType || (DsType = {}));
1864
1870
  var AcrossDsType;
1865
1871
  (function(AcrossDsType2) {
@@ -1878,6 +1884,8 @@ var DataSourcePortValue;
1878
1884
  DataSourcePortValue2["eight_two_four_two"] = "8242";
1879
1885
  DataSourcePortValue2["three_three_zero_six_zero"] = "33060";
1880
1886
  DataSourcePortValue2["three_zero_zero_six_zero"] = "30060";
1887
+ DataSourcePortValue2["three_three_zero_six"] = "33306";
1888
+ DataSourcePortValue2["one_zero_zero_zero_zero"] = "10000";
1881
1889
  })(DataSourcePortValue || (DataSourcePortValue = {}));
1882
1890
  var DataSourceSort;
1883
1891
  (function(DataSourceSort2) {
@@ -1905,15 +1913,6 @@ var DataSourcesConfigId;
1905
1913
  DataSourcesConfigId2["google"] = "google";
1906
1914
  DataSourcesConfigId2["customDs"] = "customDs";
1907
1915
  })(DataSourcesConfigId || (DataSourcesConfigId = {}));
1908
- var dataBaseType = [
1909
- "cloud",
1910
- "local",
1911
- "aws",
1912
- "huawei",
1913
- "tencent",
1914
- "microsoft",
1915
- "google"
1916
- ];
1917
1916
  var SHEET_TABLE = [
1918
1917
  "feishu_bitable",
1919
1918
  "feishu_spreadsheet",
@@ -4003,6 +4002,7 @@ export {
4003
4002
  ImageSizes,
4004
4003
  JoinCondition,
4005
4004
  LegendAlignType,
4005
+ LegendDisplayPercentPositionValue,
4006
4006
  LegendPositionType,
4007
4007
  LegendUnHighLightedValue,
4008
4008
  LnglatGroupChildFlags,
@@ -4058,6 +4058,5 @@ export {
4058
4058
  ToolFieldType,
4059
4059
  UsePermitType,
4060
4060
  VerticalAlignTypes,
4061
- VirtualFieldOperation,
4062
- dataBaseType
4061
+ VirtualFieldOperation
4063
4062
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quickbi/bi-types",
3
- "version": "3.1.3-beta.9",
3
+ "version": "3.1.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"