@quickbi/bi-types 3.0.51 → 3.0.52-beta.1

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/esm/index.d.ts CHANGED
@@ -3,14 +3,15 @@
3
3
  // ../../../../../react
4
4
 
5
5
  declare module '@quickbi/bi-types' {
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, } from '@quickbi/bi-types/data-panel';
7
- export type { CommonCompInputAreaType, FieldConfigs, FieldInfo, ChildFieldInfo, DropDownMenuFieldConfig, AlignConfig, AggregationConfig, AdvancedCalculationConfig, ContrastConfig, NumberFormatConfig, FieldRuntime, CompFieldConfig, LabelConfig, TimeTypeFilter, CommonCompInputComplexFilter, CommonCompInputComplexFilterItem, AreaMapItem, AreaMap, VirtualFieldInfo, ResetFieldConfigType, ResetMenuType, SortConfig, Message, OnFreshComponentType, OnFreshComponentOptions, OnChangeCubeOptions, ConfigCellOption, FieldConfigRow, FieldMenuConfig, ChangeFieldMenuConfigs, ColumnFieldInfo, FieldCollectionInfo, ValidateResult, TableCalculateParam, CalcOrder, TopNParams, AuxiliaryFieldConfig, EmptyValueDisplayFieldConfig, CountParams, PercentileParams, RankParams, CompareParams, DateAccumulateParams, ProportionParams, DifferenceParams, MovingCalculationParams, } from '@quickbi/bi-types/data-panel';
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';
7
+ export type { CommonCompInputAreaType, FieldConfigs, FieldInfo, ChildFieldInfo, DropDownMenuFieldConfig, AlignConfig, AggregationConfig, AdvancedCalculationConfig, ContrastConfig, NumberFormatConfig, FieldRuntime, CompFieldConfig, LabelConfig, TimeTypeFilter, CommonCompInputComplexFilter, CommonCompInputComplexFilterItem, AreaMapItem, AreaMap, VirtualFieldInfo, ResetFieldConfigType, ResetMenuType, SortConfig, Message, OnFreshComponentType, OnFreshComponentOptions, OnChangeCubeOptions, ConfigCellOption, FieldConfigRow, FieldMenuConfig, ChangeFieldMenuConfigs, ColumnFieldInfo, FieldCollectionInfo, ValidateResult, TableCalculateParam, CalcOrder, TopNParams, AuxiliaryFieldConfig, EmptyValueDisplayFieldConfig, CountParams, PercentileParams, RankParams, CompareParams, DateAccumulateParams, ProportionParams, DifferenceParams, MovingCalculationParams, MultiFieldCombinationConfig, MultiFieldCombinationFieldConfig, MultiFieldAdvanceCalConfig, } from '@quickbi/bi-types/data-panel';
8
8
  export { ComponentType, ChartType, ScreenComponentType, ScreenComponentCode } from '@quickbi/bi-types/component-type';
9
9
  export { OlapResponseBase, CellMeta, RowColumnMeta, CrossTableColumnType, CrossTableColumnModel, CrossTableFieldSetting, CrossTableRowModel, CrossTableRowType, CrossTableTotalConfig, } from '@quickbi/bi-types/cross-table';
10
10
  export type { CrossTableHeaderMeta } from '@quickbi/bi-types/cross-table';
11
11
  export type { IEtlMeta } from '@quickbi/bi-types/etl';
12
12
  export { EtlPublishStatus, EtlScheduleStatus, EtlProductStatus } from '@quickbi/bi-types/etl';
13
13
  export { ResourcePageHeaderGroupEnum } from '@quickbi/bi-types/ui/page-header';
14
+ export { PersonalThemeMode, OrgThemeMode } from '@quickbi/bi-types/ui/theme';
14
15
  export { CustomEventType } from '@quickbi/bi-types/open/events/event-props';
15
16
  export type { CustomEventModalPayload, CustomEventPageConfig, CustomEventPropsDispatch, CustomEventProps, } from '@quickbi/bi-types/open/events/event-props';
16
17
  export type { CustomEventMeta } from '@quickbi/bi-types/open/events/event-schema';
@@ -26,12 +27,12 @@ declare module '@quickbi/bi-types' {
26
27
  export type { MenuMeta, MenuProps, MenuSchema, MenuSchemaBase, MenuSchemaItem } from '@quickbi/bi-types/open/menus/menu-schema';
27
28
  export * from '@quickbi/bi-types/open/menus/menu-props';
28
29
  export type { EmbedBaseSrc, EmbedBaseFeature, EmbedBaseEventMessageDTO, EmbedBaseEventMessageContent, EmbedBaseEventListener, EmbedBaseEventListenerReturn, } from '@quickbi/bi-types/open/embed/core';
29
- export type { OpenPageTypeEnum } from '@quickbi/bi-types/open/common/page-types';
30
+ export { OpenPageTypeEnum } from '@quickbi/bi-types/open/common/page-types';
30
31
  export { OpenEventTypeEnum } from '@quickbi/bi-types/open/common/event-types';
31
32
  export type { OpenDeviceTypeEnum } from '@quickbi/bi-types/open/common/misc';
32
33
  export type { EnumAsUnion, Implements } from '@quickbi/bi-types/open/common/tools';
33
34
  export { RouteKey } from '@quickbi/bi-types/router/route-key';
34
- export { ROUTE_TREE, ROUTE_PATH_MAP, MOBILE_ROUTE_PATH_MAP } from '@quickbi/bi-types/router/route-tree';
35
+ export { ROUTE_TREE, ROUTE_TREE_MAP, ROUTE_PATH_MAP, PATH_ROUTE_MAP, DYNAMIC_PATH_ROUTE_MAP, MOBILE_PATH_ROUTE_MAP, } from '@quickbi/bi-types/router/route-tree';
35
36
  export type { RouteTreeNode } from '@quickbi/bi-types/router/route-tree';
36
37
  export { PermissionPageType } from '@quickbi/bi-types/permission-type';
37
38
  }
@@ -39,13 +40,13 @@ declare module '@quickbi/bi-types' {
39
40
  declare module '@quickbi/bi-types/data-panel' {
40
41
  import type { CommonCompInputAreaType, ConfigCellOption, FieldConfigRow } from '@quickbi/bi-types/data-panel/base';
41
42
  import { CommonCompInputAreaTypeEnum, QueryAxisType, FieldType, CUSTOM_FIELD_TYPES, SecondFieldType, ChartStatus, StackedSortType, ResultMode, RetainAreaId, ConfigCellType, ConfigColumnType, CheckBoxState, FieldGroupType, FieldCollectionType, LnglatGroupChildFlags } from '@quickbi/bi-types/data-panel/base';
42
- import type { CommonCompInputComplexFilter, TimeTypeFilter, CommonCompInputComplexFilterItem, TableCalculateParam, CalcOrder, TopNParams, CountParams, PercentileParams, RankParams, CompareParams, DateAccumulateParams, ProportionParams, DifferenceParams, MovingCalculationParams } from '@quickbi/bi-types/data-panel/data-config';
43
- import { DataConfig, DataConfigAreaItemColumn, TableType, TableDirection, ProportionType, AccumulateCalcType, NumberValueType } from '@quickbi/bi-types/data-panel/data-config';
43
+ import type { CommonCompInputComplexFilter, TimeTypeFilter, CommonCompInputComplexFilterItem, TableCalculateParam, CalcOrder, TopNParams, CountParams, PercentileParams, RankParams, CompareParams, DateAccumulateParams, ProportionParams, DifferenceParams, MovingCalculationParams, MultiFieldCombinationConfig, MultiFieldCombinationFieldConfig, MultiFieldAdvanceCalConfig } from '@quickbi/bi-types/data-panel/data-config';
44
+ import { DataConfig, DataConfigAreaItemColumn, TableType, TableDirection, ProportionType, AccumulateCalcType, NumberValueType, ContrastType } from '@quickbi/bi-types/data-panel/data-config';
44
45
  import type { FieldConfigs, FieldInfo, ChildFieldInfo, DropDownMenuFieldConfig, AlignConfig, AggregationConfig, AdvancedCalculationConfig, ContrastConfig, NumberFormatConfig, FieldRuntime, CompFieldConfig, LabelConfig, AreaMapItem, AreaMap, VirtualFieldInfo, ResetFieldConfigType, ResetMenuType, SortConfig, Message, OnFreshComponentType, OnFreshComponentOptions, OnChangeCubeOptions, FieldMenuConfig, ChangeFieldMenuConfigs, ColumnFieldInfo, FieldCollectionInfo, ValidateResult, AuxiliaryFieldConfig, EmptyValueDisplayFieldConfig } from '@quickbi/bi-types/data-panel/data-schema-item';
45
46
  import { DataSchemaAreaItem, OperationMenuItem, DropdownMenuItem, OperationTypes, Aggregators, FieldConfigTypes, ContrastTypes, AdvanceCalTypes, AdvanceCalcDateTypes, NumberFormats, AlignTypes, VerticalAlignTypes, AlignmentCategory, SortTypes, FieldChartTypes, ImageSizes, DropDownMenuType, DataSchemaRule, FieldGroupSelectorType, VirtualFieldOperation } from '@quickbi/bi-types/data-panel/data-schema-item';
46
47
  import { DataPanelDataSchema, ResultDisplay } from '@quickbi/bi-types/data-panel/data-schema';
47
- export { DataSchemaRule, CommonCompInputAreaTypeEnum, DataConfig, DataConfigAreaItemColumn, TableType, TableDirection, DataPanelDataSchema, DataSchemaAreaItem, OperationMenuItem, DropdownMenuItem, OperationTypes, Aggregators, FieldConfigTypes, ContrastTypes, AdvanceCalTypes, AdvanceCalcDateTypes, NumberFormats, AlignTypes, VerticalAlignTypes, AlignmentCategory, SortTypes, FieldGroupSelectorType, FieldChartTypes, ImageSizes, CUSTOM_FIELD_TYPES, FieldType, QueryAxisType, DropDownMenuType, SecondFieldType, ChartStatus, StackedSortType, ResultMode, RetainAreaId, ConfigCellType, ConfigColumnType, CheckBoxState, ResultDisplay, FieldGroupType, ProportionType, AccumulateCalcType, FieldCollectionType, LnglatGroupChildFlags, VirtualFieldOperation, NumberValueType, };
48
- export type { CommonCompInputAreaType, FieldInfo, ChildFieldInfo, FieldConfigs, DropDownMenuFieldConfig, AlignConfig, AggregationConfig, AdvancedCalculationConfig, ContrastConfig, NumberFormatConfig, FieldRuntime, CompFieldConfig, LabelConfig, TimeTypeFilter, CommonCompInputComplexFilter, ResetFieldConfigType, CommonCompInputComplexFilterItem, AreaMapItem, AreaMap, VirtualFieldInfo, ResetMenuType, SortConfig, Message, OnFreshComponentType, OnFreshComponentOptions, OnChangeCubeOptions, ConfigCellOption, FieldConfigRow, FieldMenuConfig, ChangeFieldMenuConfigs, ColumnFieldInfo, FieldCollectionInfo, AuxiliaryFieldConfig, ValidateResult, TableCalculateParam, CalcOrder, TopNParams, EmptyValueDisplayFieldConfig, CountParams, PercentileParams, RankParams, CompareParams, DateAccumulateParams, ProportionParams, DifferenceParams, MovingCalculationParams, };
48
+ export { DataSchemaRule, CommonCompInputAreaTypeEnum, DataConfig, DataConfigAreaItemColumn, TableType, TableDirection, DataPanelDataSchema, DataSchemaAreaItem, OperationMenuItem, DropdownMenuItem, OperationTypes, Aggregators, FieldConfigTypes, ContrastTypes, AdvanceCalTypes, AdvanceCalcDateTypes, NumberFormats, AlignTypes, VerticalAlignTypes, AlignmentCategory, SortTypes, FieldGroupSelectorType, FieldChartTypes, ImageSizes, CUSTOM_FIELD_TYPES, FieldType, QueryAxisType, DropDownMenuType, SecondFieldType, ChartStatus, StackedSortType, ResultMode, RetainAreaId, ConfigCellType, ConfigColumnType, CheckBoxState, ResultDisplay, FieldGroupType, ProportionType, AccumulateCalcType, FieldCollectionType, LnglatGroupChildFlags, VirtualFieldOperation, NumberValueType, ContrastType, };
49
+ export type { CommonCompInputAreaType, FieldInfo, ChildFieldInfo, FieldConfigs, DropDownMenuFieldConfig, AlignConfig, AggregationConfig, AdvancedCalculationConfig, ContrastConfig, NumberFormatConfig, FieldRuntime, CompFieldConfig, LabelConfig, TimeTypeFilter, CommonCompInputComplexFilter, ResetFieldConfigType, CommonCompInputComplexFilterItem, AreaMapItem, AreaMap, VirtualFieldInfo, ResetMenuType, SortConfig, Message, OnFreshComponentType, OnFreshComponentOptions, OnChangeCubeOptions, ConfigCellOption, FieldConfigRow, FieldMenuConfig, ChangeFieldMenuConfigs, ColumnFieldInfo, FieldCollectionInfo, AuxiliaryFieldConfig, ValidateResult, TableCalculateParam, CalcOrder, TopNParams, EmptyValueDisplayFieldConfig, CountParams, PercentileParams, RankParams, CompareParams, DateAccumulateParams, ProportionParams, DifferenceParams, MovingCalculationParams, MultiFieldCombinationConfig, MultiFieldCombinationFieldConfig, MultiFieldAdvanceCalConfig, };
49
50
  }
50
51
 
51
52
  declare module '@quickbi/bi-types/component-type' {
@@ -109,6 +110,14 @@ declare module '@quickbi/bi-types/component-type' {
109
110
  PROGRESS = "progress",
110
111
  /** 环形进度条 */
111
112
  CIRCULAR_PROGRESS = "circular_progress",
113
+ /** 水波进度条 */
114
+ WATERWAVE_PROGRESS = "waterwave_progress",
115
+ /** 仪表盘 */
116
+ GAUGE = "gauge_chart",
117
+ /** 气泡图 */
118
+ BUBBLE = "bubble_chart",
119
+ /** 桑基图 */
120
+ SANKEY = "sankey_chart",
112
121
  /** 排行榜 */
113
122
  RANKING_LIST = "ranking_list",
114
123
  /** 占比滚动排行榜 */
@@ -771,6 +780,8 @@ declare module '@quickbi/bi-types/etl' {
771
780
  declare module '@quickbi/bi-types/ui/page-header' {
772
781
  /** 各个资源页头部按钮组别枚举 */
773
782
  export enum ResourcePageHeaderGroupEnum {
783
+ /** 权限相关操作按钮组 例如 抢锁 */
784
+ auth = "auth",
774
785
  /** 设置操作按钮组 例如 页面设置、全局参数、替换数据集 */
775
786
  setting = "setting",
776
787
  /** 状态操作按钮组 例如 预览、保存、发布 */
@@ -782,6 +793,27 @@ declare module '@quickbi/bi-types/ui/page-header' {
782
793
  }
783
794
  }
784
795
 
796
+ declare module '@quickbi/bi-types/ui/theme' {
797
+ /** 个人级别的主题模式 */
798
+ export enum PersonalThemeMode {
799
+ /** 亮色主题 */
800
+ light = "light",
801
+ /** 暗色主题 */
802
+ dark = "dark",
803
+ /** 跟随系统 */
804
+ system = "system"
805
+ }
806
+ /** 组织级别的主题模式 */
807
+ export enum OrgThemeMode {
808
+ /** 亮色主题 */
809
+ light = "light",
810
+ /** 暗色主题 */
811
+ dark = "dark",
812
+ /** 常规:兼容主题, header是深色主题,其它是浅色主题 */
813
+ common = "common"
814
+ }
815
+ }
816
+
785
817
  declare module '@quickbi/bi-types/open/events/event-props' {
786
818
  /**
787
819
  * @author 唯毅
@@ -953,7 +985,7 @@ declare module '@quickbi/bi-types/open/components/component-props' {
953
985
  /**
954
986
  * formatAllGranularityTime dimGranularity 枚举值
955
987
  */
956
- export type DimGranularity = 'year' | 'year-quarter' | 'year-month' | 'year-week' | 'year-month-day' | 'hour' | 'hour-minute' | 'hour-minute-second' | 'datetime';
988
+ 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';
957
989
  export type ComponentPageConfig = CommonPageConfig;
958
990
  /**
959
991
  * bi 组件通用属性模型
@@ -983,7 +1015,6 @@ declare module '@quickbi/bi-types/open/components/component-props' {
983
1015
  utils?: {
984
1016
  formatNumberWithConfig: (num: number | string, config: any) => void;
985
1017
  formatAllGranularityTime: (dimGranularity: DimGranularity, formatType: string, raw: string) => void;
986
- [key: string]: any;
987
1018
  };
988
1019
  /** 数据集配置 */
989
1020
  cubeConfig?: ComponentPropsCubeConfig[];
@@ -1685,7 +1716,7 @@ declare module '@quickbi/bi-types/standard-model' {
1685
1716
  */
1686
1717
  import type { EmptyValueDisplayConfig, SecondDataType } from '@quickbi/bi-types/cube/cube-model';
1687
1718
  import type { CountParams, FieldCollectionType, PercentileParams, TopNParams, CompareParams, DateAccumulateParams, ProportionParams } from '@quickbi/bi-types/data-panel';
1688
- import type { DifferenceParams, MovingCalculationParams, RankParams } from '@quickbi/bi-types/data-panel/data-config';
1719
+ import type { DifferenceParams, MovingCalculationParams, MultiFieldCombinationConfig, RankParams } from '@quickbi/bi-types/data-panel/data-config';
1689
1720
  /** 字段信息 */
1690
1721
  export interface FieldModel {
1691
1722
  /** @deprecated 请优先使用 uuid
@@ -1762,6 +1793,8 @@ declare module '@quickbi/bi-types/standard-model' {
1762
1793
  differenceParams?: DifferenceParams;
1763
1794
  /** 移动计算参数 */
1764
1795
  movingCalculationParams?: MovingCalculationParams;
1796
+ /** 多字段组合参数 */
1797
+ multiFieldCombinationParams?: MultiFieldCombinationConfig;
1765
1798
  /** 字段集类型 */
1766
1799
  fieldCollectionType?: FieldCollectionType | null;
1767
1800
  /** 是否来自于字段组全选字段 */
@@ -1782,7 +1815,7 @@ declare module '@quickbi/bi-types/standard-model' {
1782
1815
  /** 不同图表字段特殊扩展信息 */
1783
1816
  export type FieldModelExtends = any;
1784
1817
  /** 区域信息,例如:区分x值轴、y值轴、颜色、细分、尺寸等等,qbi、fbi 要统一映射 */
1785
- export type AreaType = 'row' | 'column' | 'xAxis' | 'yAxis' | 'yMainAxis' | 'ySecondaryAxis' | 'color' | 'shape' | 'legend' | 'size' | 'tooltip' | 'drill' | 'filters' | 'dimValues' | 'area_measure' | 'area_target_measure' | 'area_value' | 'time' | 'mainMeasure' | 'secondaryMeasure' | 'from_dim' | 'to_dim' | 'tooltip' | 'floor' | 'facet' | 'image' | 'sampling';
1818
+ export type AreaType = 'row' | 'column' | 'secondaryColumn' | 'xAxis' | 'yAxis' | 'yMainAxis' | 'ySecondaryAxis' | 'color' | 'shape' | 'legend' | 'size' | 'tooltip' | 'drill' | 'filters' | 'dimValues' | 'area_measure' | 'area_target_measure' | 'area_value' | 'time' | 'mainMeasure' | 'secondaryMeasure' | 'from_dim' | 'to_dim' | 'tooltip' | 'floor' | 'facet' | 'image' | 'sampling';
1786
1819
  export interface AreaModel {
1787
1820
  /** 区域类型 */
1788
1821
  areaType: AreaType;
@@ -2438,8 +2471,8 @@ declare module '@quickbi/bi-types/open/embed/core' {
2438
2471
  /** 额外的哈希值 */
2439
2472
  hash?: string;
2440
2473
  };
2441
- /** 嵌入特性项取值类型, 只能是基本类型 */
2442
- export type EmbedBaseFeatureValue = string | number | boolean | null | undefined;
2474
+ /** 嵌入特性项取值类型, 只能是基本类型或数组 */
2475
+ export type EmbedBaseFeatureValue = string | number | boolean | null | undefined | string[];
2443
2476
  /** 嵌入特性配置项 */
2444
2477
  export interface EmbedBaseFeatureItem extends Record<string, EmbedBaseFeatureValue | EmbedBaseFeatureItem> {
2445
2478
  /** 特性是否显示 */
@@ -2461,7 +2494,7 @@ declare module '@quickbi/bi-types/open/embed/core' {
2461
2494
  /** 行为类型 */
2462
2495
  type: K;
2463
2496
  /** 行为传参, 必须能序列化 */
2464
- payload: T;
2497
+ payload?: T;
2465
2498
  };
2466
2499
  /** 页面事件对应的监听函数返回值 */
2467
2500
  export type EmbedBaseEventListenerReturn<T extends EmbedBaseEventMessageContent, R = any> = {
@@ -2470,7 +2503,7 @@ declare module '@quickbi/bi-types/open/embed/core' {
2470
2503
  };
2471
2504
  /** 页面事件对应的监听函数 */
2472
2505
  export type EmbedBaseEventListener<U extends EmbedBaseEventMessageContent, T extends EmbedBaseEventListenerReturn<U>> = {
2473
- [K in U['type']]: (payload: Extract<U, {
2506
+ [K in U['type']]?: (payload: Extract<U, {
2474
2507
  type: K;
2475
2508
  }>) => Promise<T extends {
2476
2509
  content: {
@@ -2508,11 +2541,11 @@ declare module '@quickbi/bi-types/open/common/event-types' {
2508
2541
  export enum OpenEventTypeEnum {
2509
2542
  /** 嵌入事件-页面跳转前 */
2510
2543
  'before-page-change-event' = "before-page-change-event",
2511
- /** 自定义事件-下载前 */
2544
+ /** 导出前事件 */
2512
2545
  'before-download-event' = "before-download-event",
2513
- /** 自定义事件-页面加载前 */
2546
+ /** 页面加载前事件 */
2514
2547
  'before-page-loaded-event' = "before-page-loaded-event",
2515
- /** 自定义事件-发布前 */
2548
+ /** 发布前事件 */
2516
2549
  'before-publish-event' = "before-publish-event"
2517
2550
  }
2518
2551
  /** 开放相关事件取值固定为 before-xxx-event, after-xxx-event */
@@ -2589,6 +2622,8 @@ declare module '@quickbi/bi-types/router/route-key' {
2589
2622
  tagManage = "tagManage",
2590
2623
  /** 组织管理-用户管理-角色管理, [注意] 该值已被模块嵌入功能落库, 禁止修改枚举值 */
2591
2624
  userRoleManage = "userRoleManage",
2625
+ /** 组织管理-tab通配 */
2626
+ orgAdminCommon = "orgAdminCommon",
2592
2627
  /** 组织管理-工作空间管理 */
2593
2628
  orgAdminSpace = "orgAdminSpace",
2594
2629
  /** 组织管理-工作空间管理-工作空间 */
@@ -2633,6 +2668,8 @@ declare module '@quickbi/bi-types/router/route-key' {
2633
2668
  orgAdminFeishuApiAuth = "orgAdminFeishuApiAuth",
2634
2669
  /** 组织管理-办公软件接入- Teams授权 */
2635
2670
  orgAdminTeamsApiAuth = "orgAdminTeamsApiAuth",
2671
+ /** 组织管理-办公软件接入-Lark授权 */
2672
+ orgAdminLarkApiAuth = "orgAdminLarkApiAuth",
2636
2673
  /** 组织管理-推送渠道管理 */
2637
2674
  orgChannelRobot = "orgChannelRobot",
2638
2675
  /** 组织管理-推送渠道管理-推送链接设置 */
@@ -2645,6 +2682,8 @@ declare module '@quickbi/bi-types/router/route-key' {
2645
2682
  orgWeChatChannel = "orgWeChatChannel",
2646
2683
  /** 组织管理-推送渠道管理-飞书 */
2647
2684
  orgFeiShuChannel = "orgFeiShuChannel",
2685
+ /** 组织管理-推送渠道管理-Lark */
2686
+ orgLarkChannel = "orgLarkChannel",
2648
2687
  /** 组织管理-推送渠道管理-短信 */
2649
2688
  orgSmsChannel = "orgSmsChannel",
2650
2689
  /** 组织管理-推送渠道管理-邮件 */
@@ -2661,25 +2700,25 @@ declare module '@quickbi/bi-types/router/route-key' {
2661
2700
  orgAdminFavorites = "orgAdminFavorites",
2662
2701
  /** 组织管理-报表配置 */
2663
2702
  orgDashboardConfig = "orgDashboardConfig",
2664
- /** 组织管理-智能问数 */
2703
+ /** 组织管理-小Q问数 */
2665
2704
  orgAdminCopilot = "orgAdminCopilot",
2666
- /** 组织管理-智能问数-问数资源管理 */
2705
+ /** 组织管理-小Q问数-问数资源管理 */
2667
2706
  orgResourceManage = "orgResourceManage",
2668
- /** 组织管理-智能问数-分析主题管理 */
2707
+ /** 组织管理-小Q问数-分析主题管理 */
2669
2708
  orgAnalysisThemeManage = "orgAnalysisThemeManage",
2670
- /** 组织管理-智能问数-智能体管理 */
2709
+ /** 组织管理-小Q问数-智能体管理 */
2671
2710
  orgAgentManage = "orgAgentManage",
2672
- /** 组织管理-智能问数-仪表板管理 */
2711
+ /** 组织管理-小Q问数-仪表板管理 */
2673
2712
  orgDashboardQuestionManage = "orgDashboardQuestionManage",
2674
- /** 组织管理-智能问数-授权管理 */
2713
+ /** 组织管理-小Q问数-授权管理 */
2675
2714
  orgResourceAuth = "orgResourceAuth",
2676
- /** 组织管理-智能问数-知识库管理 */
2715
+ /** 组织管理-小Q问数-知识库管理 */
2677
2716
  orgKnowledgeBaseManage = "orgKnowledgeBaseManage",
2678
- /** 组织管理-智能问数-嵌入管理 */
2717
+ /** 组织管理-小Q问数-嵌入管理 */
2679
2718
  orgEmbedManage = "orgEmbedManage",
2680
- /** 组织管理-智能问数-问数运营 */
2719
+ /** 组织管理-小Q问数-问数运营 */
2681
2720
  orgQuestionOperations = "orgQuestionOperations",
2682
- /** 组织管理-智能问数-全局配置 */
2721
+ /** 组织管理-小Q问数-全局配置 */
2683
2722
  orgGlobalConfig = "orgGlobalConfig",
2684
2723
  /** 组织管理-地图配置 */
2685
2724
  orgAdminMap = "orgAdminMap",
@@ -2727,6 +2766,8 @@ declare module '@quickbi/bi-types/router/route-key' {
2727
2766
  orgDashboardPerformance = "orgDashboardPerformance",
2728
2767
  /** 组织管理-血缘分析 */
2729
2768
  orgAdminAnalysis = "orgAdminAnalysis",
2769
+ /** 组织管理-产品权限管理 */
2770
+ orgAdminProductAuthManage = "orgAdminProductAuthManage",
2730
2771
  /** 资源包管理 */
2731
2772
  orgAdminResource = "orgAdminResource",
2732
2773
  /** 资源包配置 */
@@ -2735,14 +2776,14 @@ declare module '@quickbi/bi-types/router/route-key' {
2735
2776
  orgAdminResourceRecord = "orgAdminResourceRecord",
2736
2777
  /** 功能介绍 */
2737
2778
  orgAdminResourceDesc = "orgAdminResourceDesc",
2738
- /** 数据头条 */
2739
- orgAdminBiAgent = "orgAdminBIAgent",
2740
- /** 数据头条-用户管理 */
2741
- orgAdminBiManage = "orgAdminBiManage",
2742
- /** 数据头条-用户详情 */
2743
- orgAdminBiManageDetail = "orgAdminBiManageDetail",
2744
- /** 数据头条-业绩助手配置 */
2745
- orgAdminBiManagePerformanceAssistant = "orgAdminBiManagePerformanceAssistant",
2779
+ /** 小Q发现 */
2780
+ orgAdminQMessage = "orgAdminQMessage",
2781
+ /** 小Q发现-用户管理 */
2782
+ orgAdminQMessageUserManage = "orgAdminQMessageUserManage",
2783
+ /** 小Q发现-用户详情 */
2784
+ orgAdminQMessageUserManageDetail = "orgAdminQMessageUserManageDetail",
2785
+ /** 小Q发现-业绩助手配置 */
2786
+ orgAdminQMessagePerformanceAssistant = "orgAdminQMessagePerformanceAssistant",
2746
2787
  /** 企业应用 */
2747
2788
  companyApply = "companyApply",
2748
2789
  /** 取数中心-下载任务 */
@@ -2839,9 +2880,27 @@ declare module '@quickbi/bi-types/router/route-key' {
2839
2880
  /** 业务类目 */
2840
2881
  viewCategory = "viewCategory",
2841
2882
  /** 首页下的智能小Q页 */
2842
- copilotHome = "copilotHome",
2883
+ copilotPage = "copilotHome",
2884
+ /** 首页下的超级智能体(智能小Q) */
2885
+ copilotPageSmartQ = "copilotPageSuperAgent",
2886
+ /** 首页下的小Q问数 */
2887
+ copilotPageQChat = "copilotPageQChat",
2888
+ /** 首页下的小Q解读 */
2889
+ copilotPageQInsight = "copilotPageQInsight",
2890
+ /** 首页下的小Q报告 */
2891
+ copilotPageQReport = "copilotPageQReport",
2892
+ /** 首页下的小Q搭建 */
2893
+ copilotPageQDashboard = "copilotPageQDashboard",
2894
+ /** 首页下的自定义智能体列表页 */
2895
+ copilotPageAgentList = "copilotPageAgentList",
2896
+ /** 首页下的自定义智能体 */
2897
+ copilotPageAgent = "copilotPageAgent",
2843
2898
  /** 模块嵌入 */
2844
2899
  embedModule = "embedModule",
2900
+ /** 老交叉表、老电子表格升级列表页 */
2901
+ upgradeTable = "upgradeTable",
2902
+ /** 账号失效页面 */
2903
+ accountFailure = "accountFailure",
2845
2904
  /** 工作台 会跳到很多地方 */
2846
2905
  workPlatform = "workPlatform",
2847
2906
  /** 工作空间 */
@@ -2896,12 +2955,10 @@ declare module '@quickbi/bi-types/router/route-key' {
2896
2955
  workspacePreview = "workspacePreview",
2897
2956
  /** 回收站 */
2898
2957
  workspaceRecycle = "workspaceRecycle",
2899
- /** 智能小Q */
2900
- copilotRoot = "copilotRoot",
2901
- /** 智能小Q 单独预览页 */
2902
- copilotView = "copilotView",
2903
- /** 智能小Q 单独预览-公开预览 */
2904
- copilotPublicView = "copilotPublicView",
2958
+ /** Q问数嵌入 */
2959
+ qChatEmbed = "qChatEmbed",
2960
+ /** Q问数公开嵌入 */
2961
+ qChatPublicView = "qChatPublicView",
2905
2962
  /** 数据门户 */
2906
2963
  portalRoot = "portalRoot",
2907
2964
  /** 数据门户编辑页 */
@@ -3011,6 +3068,8 @@ declare module '@quickbi/bi-types/router/route-key' {
3011
3068
  opsTenantManage = "opsTenantManage",
3012
3069
  /** 试用申请列表 */
3013
3070
  opsApply = "opsApply",
3071
+ /** 官方智能体管理 */
3072
+ opsCopilotOfficialAgent = "opsCopilotOfficialAgent",
3014
3073
  /** 登录策略管理 */
3015
3074
  opsLoginConfig = "opsLoginConfig",
3016
3075
  /** 登录系统管理 */
@@ -3023,6 +3082,10 @@ declare module '@quickbi/bi-types/router/route-key' {
3023
3082
  docsManageItems = "docsManageItems",
3024
3083
  /** 移动端入口 */
3025
3084
  mobileEntry = "mobileEntry",
3085
+ /** 移动端免登页 */
3086
+ mobileWebSite = "mobileWebSite",
3087
+ /** 移动端微应用-首页 */
3088
+ mobileHomeEntry = "mobileHomeEntry",
3026
3089
  /** 移动端微应用 */
3027
3090
  mobileRoot = "mobileRoot",
3028
3091
  /** 移动端微应用-首页 */
@@ -3031,8 +3094,22 @@ declare module '@quickbi/bi-types/router/route-key' {
3031
3094
  mobileCommon = "mobileCommon",
3032
3095
  /** 移动端微应用-卡片页 */
3033
3096
  mobileCard = "mobileCard",
3034
- /** 移动端微应用-智能小Q */
3097
+ /** 移动端微应用-智能小Q总入口 */
3035
3098
  mobileCopilot = "mobileCopilot",
3099
+ /** 移动端微应用-小Q问数 */
3100
+ mobileCopilotQChat = "mobileCopilotQChat",
3101
+ /** 移动端微应用-自定义应用 */
3102
+ mobileCopilotAgent = "mobileCopilotAgent",
3103
+ /** 移动端微应用-小Q发现 */
3104
+ mobileQMessage = "mobileQMessage",
3105
+ /** 移动端微应用-小Q发现-首页 */
3106
+ mobileQMessageHome = "mobileQMessageHome",
3107
+ /** 移动端微应用-小Q发现-我的 */
3108
+ mobileQMessageMine = "mobileQMessageMine",
3109
+ /** 移动端微应用-小Q发现-团队 */
3110
+ mobileQMessageTeam = "mobileQMessageTeam",
3111
+ /** 移动端微应用-小Q发现-帖子详情 */
3112
+ mobileQMessagePostDetail = "mobileQMessagePostDetail",
3036
3113
  /** 移动端微应用-数据页 */
3037
3114
  mobileData = "mobileData",
3038
3115
  /** 移动端微应用-我的 */
@@ -3097,24 +3174,32 @@ declare module '@quickbi/bi-types/router/route-key' {
3097
3174
  templateNlPublic = "templateNlPublic",
3098
3175
  /** 模版市场-非登录态模板预览页 */
3099
3176
  templateNlPreView = "templateNlPreView",
3100
- /** 观星台 */
3101
- biAgent = "biAgent",
3102
- /** 观星台首页 */
3103
- biAgentHome = "biAgentHome",
3104
- /** 观星台追踪 */
3105
- biAgentTracking = "biAgentTracking",
3106
- /** 观星台智能小Q */
3107
- biAgentSmartQ = "biAgentSmartQ",
3108
- /** 观星台设置 */
3109
- biAgentSettings = "biAgentSettings",
3110
- /** 观星台动态详情 */
3111
- biAgentHomePostDetail = "biAgentHomePostDetail",
3112
- /** 观星台动态详情追踪 */
3113
- biAgentTrackingPostDetail = "biAgentTrackingPostDetail",
3114
- /** 登录页根 */
3177
+ /** 模版市场-可视化模版 */
3178
+ templateVisualization = "templateVisualization",
3179
+ /** 登陆页 */
3115
3180
  loginRoot = "loginRoot",
3181
+ /** 登陆页-系统配置 */
3182
+ loginSystemConfig = "loginSystemConfig",
3183
+ /** 登陆页-配置 */
3184
+ loginAuthConfig = "loginAuthConfig",
3185
+ /** 登陆页-登录 */
3186
+ login = "login",
3116
3187
  /** 微应用端内登录页 */
3117
3188
  loginMicro = "loginMicro",
3189
+ /** 监控截图 */
3190
+ monitorScreenshot = "monitorScreenshot",
3191
+ /** 钉钉文档嵌入页 */
3192
+ dingDoc = "dingDoc",
3193
+ /** 小Q报告 */
3194
+ wordAgentRoot = "wordAgentRoot",
3195
+ /** 小Q报告编辑 */
3196
+ wordAgentEdit = "wordAgentEdit",
3197
+ /** 小Q报告预览 */
3198
+ wordAgentView = "wordAgentView",
3199
+ /** 小Q报告文件预览 */
3200
+ wordAgentFilePreview = "wordAgentFilePreview",
3201
+ /** 第三方token预览 */
3202
+ wordAgentPublicView = "wordAgentPublicView",
3118
3203
  /** 老大屏应用页面 */
3119
3204
  dashboardScreenRoot = "dashboardScreenRoot",
3120
3205
  /** 老大屏编辑页 */
@@ -3136,9 +3221,10 @@ declare module '@quickbi/bi-types/router/route-tree' {
3136
3221
  export type RouteTreeNode<P extends string = string> = {
3137
3222
  key: RouteKey;
3138
3223
  path: P;
3224
+ parent?: RouteTreeNode;
3139
3225
  children?: RouteTreeNode<string>[];
3140
3226
  };
3141
- /** 全局路由树 */
3227
+ /** 转为双向链表 */
3142
3228
  export const ROUTE_TREE: {
3143
3229
  readonly key: RouteKey.root;
3144
3230
  readonly path: "/";
@@ -3152,6 +3238,9 @@ declare module '@quickbi/bi-types/router/route-tree' {
3152
3238
  readonly key: RouteKey.orgAdmin;
3153
3239
  readonly path: "/org/admin";
3154
3240
  readonly children: [{
3241
+ readonly key: RouteKey.orgAdminCommon;
3242
+ readonly path: "/org/admin/:tab/:tag";
3243
+ }, {
3155
3244
  readonly key: RouteKey.orgAdminInfo;
3156
3245
  readonly path: "/org/admin/info";
3157
3246
  readonly children: [{
@@ -3254,6 +3343,9 @@ declare module '@quickbi/bi-types/router/route-tree' {
3254
3343
  }, {
3255
3344
  readonly key: RouteKey.orgAdminTeamsApiAuth;
3256
3345
  readonly path: "/org/admin/software/teamsApiAuth";
3346
+ }, {
3347
+ readonly key: RouteKey.orgAdminLarkApiAuth;
3348
+ readonly path: "/org/admin/software/larkApiAuth";
3257
3349
  }];
3258
3350
  }, {
3259
3351
  readonly key: RouteKey.orgChannelRobot;
@@ -3273,6 +3365,9 @@ declare module '@quickbi/bi-types/router/route-tree' {
3273
3365
  }, {
3274
3366
  readonly key: RouteKey.orgFeiShuChannel;
3275
3367
  readonly path: "/org/admin/channelRobot/feiShuChannel";
3368
+ }, {
3369
+ readonly key: RouteKey.orgLarkChannel;
3370
+ readonly path: "/org/admin/channelRobot/larkChannel";
3276
3371
  }, {
3277
3372
  readonly key: RouteKey.orgSmsChannel;
3278
3373
  readonly path: "/org/admin/channelRobot/smsChannel";
@@ -3417,18 +3512,21 @@ declare module '@quickbi/bi-types/router/route-tree' {
3417
3512
  readonly path: "/org/admin/resource/desc";
3418
3513
  }];
3419
3514
  }, {
3420
- readonly key: RouteKey.orgAdminBiAgent;
3421
- readonly path: "/org/admin/biAgents";
3515
+ readonly key: RouteKey.orgAdminQMessage;
3516
+ readonly path: "/org/admin/qMessage";
3422
3517
  readonly children: [{
3423
- readonly key: RouteKey.orgAdminBiManage;
3424
- readonly path: "/org/admin/biAgents/userManage";
3518
+ readonly key: RouteKey.orgAdminQMessageUserManage;
3519
+ readonly path: "/org/admin/qMessage/userManage";
3425
3520
  }, {
3426
- readonly key: RouteKey.orgAdminBiManageDetail;
3427
- readonly path: "/org/admin/biAgents/userManage/userDetail/:userId";
3521
+ readonly key: RouteKey.orgAdminQMessageUserManageDetail;
3522
+ readonly path: "/org/admin/qMessage/userManage/userDetail/:userId";
3428
3523
  }, {
3429
- readonly key: RouteKey.orgAdminBiManagePerformanceAssistant;
3430
- readonly path: "/org/admin/biAgents/performanceAssistant";
3524
+ readonly key: RouteKey.orgAdminQMessagePerformanceAssistant;
3525
+ readonly path: "/org/admin/qMessage/performanceAssistant";
3431
3526
  }];
3527
+ }, {
3528
+ readonly key: RouteKey.orgAdminProductAuthManage;
3529
+ readonly path: "/org/admin/productAuthManage";
3432
3530
  }];
3433
3531
  }, {
3434
3532
  readonly key: RouteKey.downloadTask;
@@ -3665,20 +3763,45 @@ declare module '@quickbi/bi-types/router/route-tree' {
3665
3763
  readonly path: "/workspace/preview";
3666
3764
  }];
3667
3765
  }, {
3668
- readonly key: RouteKey.copilotHome;
3766
+ readonly key: RouteKey.copilotPage;
3669
3767
  readonly path: "/copilotPage";
3768
+ readonly children: [{
3769
+ readonly key: RouteKey.copilotPageSmartQ;
3770
+ readonly path: "/copilotPage/smartQ";
3771
+ }, {
3772
+ readonly key: RouteKey.copilotPageQChat;
3773
+ readonly path: "/copilotPage/qChat";
3774
+ }, {
3775
+ readonly key: RouteKey.copilotPageQInsight;
3776
+ readonly path: "/copilotPage/qInsight";
3777
+ }, {
3778
+ readonly key: RouteKey.copilotPageQReport;
3779
+ readonly path: "/copilotPage/qreport";
3780
+ }, {
3781
+ readonly key: RouteKey.copilotPageQDashboard;
3782
+ readonly path: "/copilotPage/qDashboard";
3783
+ }, {
3784
+ readonly key: RouteKey.copilotPageAgentList;
3785
+ readonly path: "/copilotPage/agentList";
3786
+ }, {
3787
+ readonly key: RouteKey.copilotPageAgent;
3788
+ readonly path: "/copilotPage/agent/:id";
3789
+ }];
3670
3790
  }, {
3671
3791
  readonly key: RouteKey.embedModule;
3672
3792
  readonly path: "/embed/module";
3793
+ }, {
3794
+ readonly key: RouteKey.upgradeTable;
3795
+ readonly path: "/upgradeTable.htm";
3796
+ }, {
3797
+ readonly key: RouteKey.accountFailure;
3798
+ readonly path: "/accountFailure";
3673
3799
  }];
3674
3800
  }, {
3675
- readonly key: RouteKey.copilotRoot;
3801
+ readonly key: RouteKey.qChatEmbed;
3676
3802
  readonly path: "/copilot";
3677
3803
  readonly children: [{
3678
- readonly key: RouteKey.copilotView;
3679
- readonly path: "/copilot";
3680
- }, {
3681
- readonly key: RouteKey.copilotPublicView;
3804
+ readonly key: RouteKey.qChatPublicView;
3682
3805
  readonly path: "/token3rd/copilot";
3683
3806
  }];
3684
3807
  }, {
@@ -3721,7 +3844,7 @@ declare module '@quickbi/bi-types/router/route-tree' {
3721
3844
  }];
3722
3845
  }, {
3723
3846
  readonly key: RouteKey.dashboardRoot;
3724
- readonly path: "/dashboard";
3847
+ readonly path: "/dashboardRoot";
3725
3848
  readonly children: [{
3726
3849
  readonly key: RouteKey.dashboardView;
3727
3850
  readonly path: "/dashboard/view/pc.htm";
@@ -3862,6 +3985,9 @@ declare module '@quickbi/bi-types/router/route-tree' {
3862
3985
  }, {
3863
3986
  readonly key: RouteKey.opsLoginSystemConfig;
3864
3987
  readonly path: "/opscenter/loginSystemConfig";
3988
+ }, {
3989
+ readonly key: RouteKey.opsCopilotOfficialAgent;
3990
+ readonly path: "/opscenter/copilot/officialAgent";
3865
3991
  }, {
3866
3992
  readonly key: RouteKey.opsSystemConfig;
3867
3993
  readonly path: "/opscenter/sysconfig";
@@ -3876,7 +4002,13 @@ declare module '@quickbi/bi-types/router/route-tree' {
3876
4002
  readonly key: RouteKey.mobileEntry;
3877
4003
  readonly path: "/m/";
3878
4004
  }, {
3879
- /** 移动端微应用 */
4005
+ readonly key: RouteKey.mobileWebSite;
4006
+ readonly path: "/m/website";
4007
+ }, {
4008
+ readonly key: RouteKey.mobileHomeEntry;
4009
+ readonly path: "/m/home";
4010
+ }, {
4011
+ /** 移动端微应用, 哈希路由 */
3880
4012
  readonly key: RouteKey.mobileRoot;
3881
4013
  readonly path: "/";
3882
4014
  readonly children: [{
@@ -3894,6 +4026,29 @@ declare module '@quickbi/bi-types/router/route-tree' {
3894
4026
  }, {
3895
4027
  readonly key: RouteKey.mobileCopilot;
3896
4028
  readonly path: "/copilot";
4029
+ readonly children: [{
4030
+ readonly key: RouteKey.mobileCopilotQChat;
4031
+ readonly path: "/copilot/qChat";
4032
+ }, {
4033
+ readonly key: RouteKey.mobileCopilotAgent;
4034
+ readonly path: "/copilot/agent/:id";
4035
+ }];
4036
+ }, {
4037
+ readonly key: RouteKey.mobileQMessage;
4038
+ readonly path: "/qMessage";
4039
+ readonly children: [{
4040
+ readonly key: RouteKey.mobileQMessageHome;
4041
+ readonly path: "/qMessage/home";
4042
+ }, {
4043
+ readonly key: RouteKey.mobileQMessageMine;
4044
+ readonly path: "/qMessage/mine";
4045
+ }, {
4046
+ readonly key: RouteKey.mobileQMessageTeam;
4047
+ readonly path: "/qMessage/team";
4048
+ }, {
4049
+ readonly key: RouteKey.mobileQMessagePostDetail;
4050
+ readonly path: "/qMessage/post-detail";
4051
+ }];
3897
4052
  }, {
3898
4053
  readonly key: RouteKey.mobileData;
3899
4054
  readonly path: "/data";
@@ -3974,6 +4129,9 @@ declare module '@quickbi/bi-types/router/route-tree' {
3974
4129
  }, {
3975
4130
  readonly key: RouteKey.templateNlPreView;
3976
4131
  readonly path: "/template/nl/preview";
4132
+ }, {
4133
+ readonly key: RouteKey.templateVisualization;
4134
+ readonly path: "/template/extended_visualization";
3977
4135
  }];
3978
4136
  }, {
3979
4137
  readonly key: RouteKey.cardRoot;
@@ -3986,31 +4144,40 @@ declare module '@quickbi/bi-types/router/route-tree' {
3986
4144
  readonly path: "/card/snapshot.htm";
3987
4145
  }];
3988
4146
  }, {
3989
- readonly key: RouteKey.biAgent;
3990
- readonly path: "/bi-agent";
4147
+ readonly key: RouteKey.monitorScreenshot;
4148
+ readonly path: "/token3rd/monitor/card.htm";
4149
+ }, {
4150
+ readonly key: RouteKey.dingDoc;
4151
+ readonly path: "/dingDoc.htm";
4152
+ }, {
4153
+ readonly key: RouteKey.wordAgentRoot;
4154
+ readonly path: "/qreport";
3991
4155
  readonly children: [{
3992
- readonly key: RouteKey.biAgentHome;
3993
- readonly path: "/bi-agent/home";
3994
- }, {
3995
- readonly key: RouteKey.biAgentTracking;
3996
- readonly path: "/bi-agent/tracking";
4156
+ readonly key: RouteKey.wordAgentView;
4157
+ readonly path: "/qreport/view.htm";
3997
4158
  }, {
3998
- readonly key: RouteKey.biAgentSmartQ;
3999
- readonly path: "/bi-agent/copilot";
4159
+ readonly key: RouteKey.wordAgentEdit;
4160
+ readonly path: "/qreport/edit.htm";
4000
4161
  }, {
4001
- readonly key: RouteKey.biAgentSettings;
4002
- readonly path: "/bi-agent/settings";
4162
+ readonly key: RouteKey.wordAgentPublicView;
4163
+ readonly path: "/token3rd/qreport/view.htm";
4003
4164
  }, {
4004
- readonly key: RouteKey.biAgentHomePostDetail;
4005
- readonly path: "/bi-agent/home-post-detail";
4006
- }, {
4007
- readonly key: RouteKey.biAgentTrackingPostDetail;
4008
- readonly path: "/bi-agent/tracking-post-detail";
4165
+ readonly key: RouteKey.wordAgentFilePreview;
4166
+ readonly path: "/qreport/file-view.htm";
4009
4167
  }];
4010
4168
  }, {
4011
4169
  readonly key: RouteKey.loginRoot;
4012
4170
  readonly path: "/auth_sso";
4013
4171
  readonly children: [{
4172
+ readonly key: RouteKey.loginSystemConfig;
4173
+ readonly path: "/auth_sso/login/systemConfig.htm";
4174
+ }, {
4175
+ readonly key: RouteKey.loginAuthConfig;
4176
+ readonly path: "/auth_sso/login/config.htm";
4177
+ }, {
4178
+ readonly key: RouteKey.login;
4179
+ readonly path: "/auth_sso/login/login.htm";
4180
+ }, {
4014
4181
  readonly key: RouteKey.loginMicro;
4015
4182
  readonly path: "/auth_sso/login/microLogin.htm";
4016
4183
  }];
@@ -4029,10 +4196,16 @@ declare module '@quickbi/bi-types/router/route-tree' {
4029
4196
  }];
4030
4197
  }];
4031
4198
  };
4199
+ /** 路由树打平,根据key索引 */
4200
+ export const ROUTE_TREE_MAP: Record<RouteKey, RouteTreeNode<string>>;
4032
4201
  /** 将整颗路径树打平,根据key索引 */
4033
4202
  export const ROUTE_PATH_MAP: Record<RouteKey, string>;
4203
+ /** 静态路由树 */
4204
+ export const PATH_ROUTE_MAP: Record<string, RouteKey>;
4205
+ /** 动态路由树 */
4206
+ export const DYNAMIC_PATH_ROUTE_MAP: Record<string, RouteKey>;
4034
4207
  /** 移动端微应用很多path重复,构建一个移动端的路径索引,用于在hash路由下匹配 */
4035
- export const MOBILE_ROUTE_PATH_MAP: Record<RouteKey, string>;
4208
+ export const MOBILE_PATH_ROUTE_MAP: Record<string, RouteKey>;
4036
4209
  }
4037
4210
 
4038
4211
  declare module '@quickbi/bi-types/permission-type' {
@@ -4076,7 +4249,9 @@ declare module '@quickbi/bi-types/permission-type' {
4076
4249
  /** 仪表板问数 */
4077
4250
  dashboardNl2sql = "dashboardNl2sql",
4078
4251
  /** 资源包管理 */
4079
- resourceConfig = "resourceConfig"
4252
+ resourceConfig = "resourceConfig",
4253
+ /** 小Q报告 */
4254
+ qReport = "qreport"
4080
4255
  }
4081
4256
  }
4082
4257
 
@@ -4312,7 +4487,9 @@ declare module '@quickbi/bi-types/data-panel/data-config' {
4312
4487
  /** 差异计算 */
4313
4488
  difference = "difference",
4314
4489
  /** 移动计算 */
4315
- moving = "moving"
4490
+ moving = "moving",
4491
+ /** 多字段组合 */
4492
+ multiFieldCombination = "multiFieldCombination"
4316
4493
  }
4317
4494
  export type CalcOrder = 'asc' | 'desc';
4318
4495
  /** 累计计算类型 */
@@ -4458,6 +4635,10 @@ declare module '@quickbi/bi-types/data-panel/data-config' {
4458
4635
  prevDirection?: string;
4459
4636
  /** 计算范围 右 N数目 */
4460
4637
  nextDirection?: string;
4638
+ /** 四则运算表达式 guid2在不同数据集间也是唯一的 */
4639
+ expression?: string;
4640
+ /** 主字段的guid */
4641
+ mainGuid?: string;
4461
4642
  }
4462
4643
  /** 同环比参数 */
4463
4644
  export interface CompareParams {
@@ -4467,6 +4648,12 @@ declare module '@quickbi/bi-types/data-panel/data-config' {
4467
4648
  contrastValueType: string;
4468
4649
  contrastWithQuery: boolean;
4469
4650
  ratioCalcType: string;
4651
+ /** 自定义-对比日期数值 */
4652
+ periodValue?: number;
4653
+ /** 自定义-对比日期数值类型 */
4654
+ periodType?: string;
4655
+ /** 高级配置-对比日期类型 */
4656
+ periodIdentifier?: string;
4470
4657
  }
4471
4658
  /** 日期累计参数 */
4472
4659
  export interface DateAccumulateParams {
@@ -4530,6 +4717,33 @@ declare module '@quickbi/bi-types/data-panel/data-config' {
4530
4717
  /** 数值筛选条件下数值的类型 */
4531
4718
  numberValueType?: NumberValueType;
4532
4719
  }
4720
+ export interface MultiFieldCombinationFieldConfig {
4721
+ /** 字段唯一标识 */
4722
+ uuid: string;
4723
+ /** 对应在数据集中的字段id */
4724
+ pathId: string;
4725
+ /** 数据集ID */
4726
+ cubeId: string;
4727
+ /** 字段标题 */
4728
+ title: string;
4729
+ /** 该字段的聚合方式 */
4730
+ aggregator: string;
4731
+ /** 该字段的高级计算类型 */
4732
+ advanceCalType?: string;
4733
+ /** 该字段的高级计算配置 */
4734
+ advanceCalConfig?: MultiFieldAdvanceCalConfig;
4735
+ }
4736
+ /**
4737
+ * 多字段组合配置
4738
+ */
4739
+ export interface MultiFieldCombinationConfig {
4740
+ /** 参数类型 */
4741
+ key: string;
4742
+ /** 组合表达式,如 "$u0003A-guid$u0003+$u0003B-guid$u0003" */
4743
+ expression: string;
4744
+ /** 参与组合的字段及其高级计算配置 */
4745
+ fields: MultiFieldCombinationFieldConfig[];
4746
+ }
4533
4747
  /** 字段详细信息
4534
4748
  */
4535
4749
  export class DataConfigAreaItemColumn {
@@ -4625,6 +4839,8 @@ declare module '@quickbi/bi-types/data-panel/data-config' {
4625
4839
  differenceParams?: DifferenceParams;
4626
4840
  /** 移动计算参数 */
4627
4841
  movingCalculationParams?: MovingCalculationParams;
4842
+ /** 多字段组合参数 */
4843
+ multiFieldCombinationParams?: MultiFieldCombinationConfig;
4628
4844
  /** 存在表示维度 */
4629
4845
  levels?: any[];
4630
4846
  /** 下钻辅助字段,目前仅交叉表、明细表的drill会存在 */
@@ -4640,7 +4856,57 @@ declare module '@quickbi/bi-types/data-panel/data-config' {
4640
4856
  /** 排序序号 从0开始 */
4641
4857
  sortNum: number;
4642
4858
  };
4859
+ /** 是否是多字段组合的 */
4860
+ isMultiField?: boolean;
4861
+ /** 父字段的guid */
4862
+ parentFieldGuid?: string;
4863
+ }
4864
+ export enum ContrastType {
4865
+ DAY_DAY_RING_RATIO = "day_day",
4866
+ DAY_WEEK_RATIO = "day_week",
4867
+ DAY_MONTH_RATIO = "day_month",
4868
+ DAY_YEAR_RATIO = "day_year",
4869
+ WEEK_WEEK_RING_RATIO = "week_week",
4870
+ WEEK_YEAR_RATIO = "week_year",
4871
+ MONTH_MONTH_RING_RATIO = "month_month",
4872
+ MONTH_YEAR_RATIO = "month_year",
4873
+ QUARTER_QUARTER_RING_RATIO = "quarter_quarter",
4874
+ QUARTER_YEAR_RATIO = "quarter_year",
4875
+ YEAR_YEAR_RING_RATIO = "year_year",
4876
+ DYNAMIC_RING_RATIO = "dynamic"
4643
4877
  }
4878
+ /**
4879
+ * 多字段组合-只允许出现一种高级计算参数
4880
+ * 目前只支持以下高级计算参数
4881
+ * 1. 同环比
4882
+ * 2. 日期累计
4883
+ * 3. 累计计算
4884
+ * 4. 占比
4885
+ * 5. 排名
4886
+ * 6. topN
4887
+ * 7. 百分位
4888
+ * 8. 差异
4889
+ * 9. 移动计算
4890
+ */
4891
+ export type MultiFieldAdvanceCalConfig = {
4892
+ compareParams: CompareParams;
4893
+ } | {
4894
+ dateAccumulateParams: DateAccumulateParams;
4895
+ } | {
4896
+ countParams: CountParams;
4897
+ } | {
4898
+ proportionParams: ProportionParams;
4899
+ } | {
4900
+ rank: RankParams;
4901
+ } | {
4902
+ topNParams: TopNParams;
4903
+ } | {
4904
+ percentileParams: PercentileParams;
4905
+ } | {
4906
+ differenceParams: DifferenceParams;
4907
+ } | {
4908
+ movingCalculationParams: MovingCalculationParams;
4909
+ };
4644
4910
  }
4645
4911
 
4646
4912
  declare module '@quickbi/bi-types/data-panel/data-schema-item' {
@@ -4793,23 +5059,34 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
4793
5059
  hideValues?: ContrastTypes[];
4794
5060
  }
4795
5061
  export enum AdvanceCalTypes {
5062
+ /** 无 */
5063
+ none = "none",
5064
+ /** 同环比 */
5065
+ contrast = "contrast",
5066
+ /** 日期累计 */
4796
5067
  increase = "increase",
5068
+ /** 累计计算 */
5069
+ count = "count",
5070
+ /** 占比(交叉表使用) */
4797
5071
  percentRatio = "percentRatio",
5072
+ /** 占比 (其他图表使用) */
5073
+ proportion = "proportion",
5074
+ /** 排名 */
4798
5075
  rank = "rank",
4799
- none = "none",
5076
+ /** TopN */
4800
5077
  topn = "topn",
4801
- count = "count",
5078
+ /** 百分位 */
4802
5079
  percentile = "percentile",
4803
- contrast = "contrast",
4804
- proportion = "proportion",
5080
+ /** 差异 */
5081
+ difference = "difference",
4805
5082
  /** 时间补齐 */
4806
5083
  timeCompletion = "timeCompletion",
4807
- /** 组合计算 */
5084
+ /** 嵌套计算 */
4808
5085
  combinatorialCalculation = "combinatorialCalculation",
4809
- /** 差异 */
4810
- difference = "difference",
4811
5086
  /** 移动计算 */
4812
- movingCalculation = "movingCalculation"
5087
+ movingCalculation = "movingCalculation",
5088
+ /** 多字段组合 */
5089
+ multiFieldCombination = "multiFieldCombination"
4813
5090
  }
4814
5091
  export enum AdvanceCalcDateTypes {
4815
5092
  day = "day",
@@ -5341,6 +5618,8 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
5341
5618
  * 目前逻辑是切换数据集组合对关联字段需要保留,编辑数据集组合后,之前设置的字段关联会被重置(会存在主副数据集切换的场景,之前设置的关联字段会失效)
5342
5619
  */
5343
5620
  isExtendAssociateFields?: boolean;
5621
+ /** 是否切换数据集 */
5622
+ isSwitchCube?: boolean;
5344
5623
  }
5345
5624
  export type OnChangeCubeOptions = Omit<OnFreshComponentOptions, 'isClickButton' | 'refreshMobileChart' | 'ReloadCube' | 'noPollingCache'>;
5346
5625
  export type OnFreshComponentType = (comp: any, changeAttributeList?: string[], isFresh?: boolean, options?: OnFreshComponentOptions) => any;
@@ -6386,7 +6665,10 @@ declare module '@quickbi/bi-types/cube/data-source' {
6386
6665
  aurora_postgresql = "aurora_postgresql",
6387
6666
  aloudata_can = "aloudata_can",
6388
6667
  oscar = "oscar",
6389
- dms = "dms"
6668
+ dms = "dms",
6669
+ selectdb = "selectdb",
6670
+ databricks = "databricks",
6671
+ bigquery = "bigquery"
6390
6672
  }
6391
6673
  export enum AcrossDsType {
6392
6674
  UN_SET,
@@ -6428,6 +6710,23 @@ declare module '@quickbi/bi-types/cube/data-source' {
6428
6710
  /** 其他类型的数据源 按返回的顺序排序在后面 */
6429
6711
  OTHER_DATASOURCE = 7
6430
6712
  }
6713
+ /** 数据源类型 */
6714
+ export enum DataSourcesConfigId {
6715
+ cloud = "cloud",
6716
+ local = "local",
6717
+ database = "database",
6718
+ application = "application",
6719
+ other = "other",
6720
+ api = "api",
6721
+ tencent = "tencent",
6722
+ huawei = "huawei",
6723
+ microsoft = "microsoft",
6724
+ aws = "aws",
6725
+ google = "google",
6726
+ customDs = "customDs"
6727
+ }
6728
+ /** 数据库数据源类型 */
6729
+ export const dataBaseType: DataSourcesConfigId[];
6431
6730
  }
6432
6731
 
6433
6732
  declare module '@quickbi/bi-types/cube/cube-links' {