@quickbi/bi-types 3.2.3 → 3.2.4
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 +67 -23
- package/cjs/index.js +27 -1
- package/esm/index.d.ts +67 -23
- package/esm/index.mjs +27 -1
- package/package.json +1 -1
package/cjs/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
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';
|
|
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';
|
|
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, GroupContrast, } 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';
|
|
@@ -42,13 +42,13 @@ declare module '@quickbi/bi-types' {
|
|
|
42
42
|
declare module '@quickbi/bi-types/data-panel' {
|
|
43
43
|
import type { CommonCompInputAreaType, ConfigCellOption, FieldConfigRow } from '@quickbi/bi-types/data-panel/base';
|
|
44
44
|
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';
|
|
45
|
-
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';
|
|
45
|
+
import type { CommonCompInputComplexFilter, TimeTypeFilter, CommonCompInputComplexFilterItem, TableCalculateParam, CalcOrder, TopNParams, CountParams, PercentileParams, RankParams, CompareParams, DateAccumulateParams, ProportionParams, DifferenceParams, MovingCalculationParams, MultiFieldCombinationConfig, MultiFieldCombinationFieldConfig, MultiFieldAdvanceCalConfig, GroupContrast } from '@quickbi/bi-types/data-panel/data-config';
|
|
46
46
|
import { DataConfig, DataConfigAreaItemColumn, TableType, TableDirection, ProportionType, AccumulateCalcType, NumberValueType, ContrastType } from '@quickbi/bi-types/data-panel/data-config';
|
|
47
47
|
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';
|
|
48
48
|
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';
|
|
49
49
|
import { DataPanelDataSchema, ResultDisplay } from '@quickbi/bi-types/data-panel/data-schema';
|
|
50
50
|
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, };
|
|
51
|
-
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, };
|
|
51
|
+
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, GroupContrast, };
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
declare module '@quickbi/bi-types/component-type' {
|
|
@@ -435,7 +435,17 @@ declare module '@quickbi/bi-types/component-type' {
|
|
|
435
435
|
/** 智能解读 */
|
|
436
436
|
SMART_INTERPRETATION = 130,
|
|
437
437
|
/** 探索分析-智能推荐 */
|
|
438
|
-
EXPLORATION_SMART_CHART = 131
|
|
438
|
+
EXPLORATION_SMART_CHART = 131,
|
|
439
|
+
/** 电子表格-AI翻译 */
|
|
440
|
+
QUICK_REPORT_AI_TRANSLATE = 132,
|
|
441
|
+
/** 电子表格-AI分类 */
|
|
442
|
+
QUICK_REPORT_AI_CLASSIFY = 133,
|
|
443
|
+
/** 电子表格-自定义AI函数 */
|
|
444
|
+
QUICK_REPORT_AI_CUSTOM = 134,
|
|
445
|
+
/** 电子表格-AI信息提取 */
|
|
446
|
+
QUICK_REPORT_AI_EXTRACT = 135,
|
|
447
|
+
/** 电子表格-AI总结 */
|
|
448
|
+
QUICK_REPORT_AI_SUMMARIZE = 136
|
|
439
449
|
}
|
|
440
450
|
export const ScreenComponentCode: Record<ScreenComponentType, number>;
|
|
441
451
|
export enum ChartType {
|
|
@@ -552,6 +562,11 @@ declare module '@quickbi/bi-types/component-type' {
|
|
|
552
562
|
QUICK_REPORT_FORM_CHECKBOX = "quick-report-form-checkbox",
|
|
553
563
|
QUICK_REPORT_FORM_FUNCTION = "quick-report-form-function",
|
|
554
564
|
QUICK_REPORT = "quick-report",
|
|
565
|
+
QUICK_REPORT_AI_TRANSLATE = "quick-report-ai-translate",
|
|
566
|
+
QUICK_REPORT_AI_CLASSIFY = "quick-report-ai-classify",
|
|
567
|
+
QUICK_REPORT_AI_CUSTOM = "quick-report-ai-custom",
|
|
568
|
+
QUICK_REPORT_AI_EXTRACT = "quick-report-ai-extract",
|
|
569
|
+
QUICK_REPORT_AI_SUMMARIZE = "quick-report-ai-summarize",
|
|
555
570
|
/** --------------数据填报-------------- */
|
|
556
571
|
DATAFORM_TEXT = "dataform-text",
|
|
557
572
|
DATAFORM_TEXTAREA = "dataform-textarea",
|
|
@@ -2837,6 +2852,10 @@ declare module '@quickbi/bi-types/router/route-key' {
|
|
|
2837
2852
|
orgQueryAgentKnowledgeBaseManage = "orgQueryAgentKnowledgeBaseManage",
|
|
2838
2853
|
/** 组织管理-小Q问数-全局配置 */
|
|
2839
2854
|
orgQueryAgentGlobalConfig = "orgQueryAgentGlobalConfig",
|
|
2855
|
+
/** 组织管理-小Q问数-赞踩知识 */
|
|
2856
|
+
likeAndDislikeKnowledge = "likeAndDislikeKnowledge",
|
|
2857
|
+
/** 组织管理-小Q问数-资产平台接入配置 */
|
|
2858
|
+
orgQueryAgentAssetPlatformConfig = "orgQueryAgentAssetPlatformConfig",
|
|
2840
2859
|
/** 组织管理-小Q问数-问数资源管理 */
|
|
2841
2860
|
orgResourceManage = "orgResourceManage",
|
|
2842
2861
|
/** 组织管理-小Q问数-分析主题管理 */
|
|
@@ -3611,6 +3630,12 @@ declare module '@quickbi/bi-types/router/route-tree' {
|
|
|
3611
3630
|
}, {
|
|
3612
3631
|
readonly key: RouteKey.orgQueryAgentGlobalConfig;
|
|
3613
3632
|
readonly path: "/org/admin/copilot/queryAgent/globalConfig";
|
|
3633
|
+
}, {
|
|
3634
|
+
readonly key: RouteKey.likeAndDislikeKnowledge;
|
|
3635
|
+
readonly path: "/org/admin/copilot/queryAgent/likeAndDislikeKnowledge";
|
|
3636
|
+
}, {
|
|
3637
|
+
readonly key: RouteKey.orgQueryAgentAssetPlatformConfig;
|
|
3638
|
+
readonly path: "/org/admin/copilot/queryAgent/assetPlatformConfig";
|
|
3614
3639
|
}];
|
|
3615
3640
|
}, {
|
|
3616
3641
|
readonly key: RouteKey.orgAdminQMessage;
|
|
@@ -5094,14 +5119,24 @@ declare module '@quickbi/bi-types/data-panel/data-config' {
|
|
|
5094
5119
|
/** 是否虚拟字段,如散点图中的聚类字段、线柱图中的度量名字段 */
|
|
5095
5120
|
isVirtual?: boolean;
|
|
5096
5121
|
/** 分组对比组配置, 如果有 groupContrast, 说明是分组对比字段 */
|
|
5097
|
-
groupContrast?:
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5122
|
+
groupContrast?: GroupContrast[];
|
|
5123
|
+
}
|
|
5124
|
+
export interface GroupContrast<T = DataConfigAreaItemColumn> {
|
|
5125
|
+
/** 分组 id */
|
|
5126
|
+
groupId: string;
|
|
5127
|
+
/** 分组名称 */
|
|
5128
|
+
groupName: string;
|
|
5129
|
+
/** 分组字段 */
|
|
5130
|
+
columnList: Partial<T>[];
|
|
5131
|
+
/** 差值分组配置 */
|
|
5132
|
+
diffConfig?: {
|
|
5133
|
+
/** 差值类型:差值对比/差值百分比 */
|
|
5134
|
+
calcTypes: 'INCREASE_VALUE' | 'INCREASE_RATIO';
|
|
5135
|
+
/** 源分组id(基准分组) */
|
|
5136
|
+
baseGroupId: string;
|
|
5137
|
+
/** 比较分组id(对比分组) */
|
|
5138
|
+
targetGroupId: string;
|
|
5139
|
+
};
|
|
5105
5140
|
}
|
|
5106
5141
|
export enum ContrastType {
|
|
5107
5142
|
DAY_DAY_RING_RATIO = "day_day",
|
|
@@ -5161,7 +5196,7 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5161
5196
|
import type { CubeModel, EmptyValueDisplayConfig } from '@quickbi/bi-types/cube/cube-model';
|
|
5162
5197
|
import type { Aggregator, DateGranularity, Field, FieldAttribute, FolderAndHierarchyNode, RegionGranularity } from '@quickbi/bi-types/cube/cube-schema';
|
|
5163
5198
|
import type { FieldType, QueryAxisType, FieldGroupType, SecondFieldType, ChartStatus, StackedSortType, RetainAreaId, FieldCollectionType } from '@quickbi/bi-types/data-panel/base';
|
|
5164
|
-
import type { DataConfigAreaItemColumn } from '@quickbi/bi-types/data-panel/data-config';
|
|
5199
|
+
import type { DataConfigAreaItemColumn, GroupContrast } from '@quickbi/bi-types/data-panel/data-config';
|
|
5165
5200
|
export interface ValidateResult {
|
|
5166
5201
|
isValid: boolean;
|
|
5167
5202
|
msg?: Message;
|
|
@@ -5197,9 +5232,13 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5197
5232
|
/** 下钻配置的辅助字段(交叉表、明细表) */
|
|
5198
5233
|
auxiliaryField = "auxiliaryField",
|
|
5199
5234
|
/** 空值展示配置 */
|
|
5200
|
-
emptyValueDisplay = "emptyValueDisplay"
|
|
5235
|
+
emptyValueDisplay = "emptyValueDisplay",
|
|
5236
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
5237
|
+
drillSwitch = "drillSwitch",
|
|
5238
|
+
/** 钻取层级配置 */
|
|
5239
|
+
drillConfig = "drillConfig"
|
|
5201
5240
|
}
|
|
5202
|
-
export type DropDownMenuFieldConfig = AggregationConfig | ContrastConfig | AdvancedCalculationConfig | NumberFormatConfig | LabelConfig | AlignConfig | VerticalAlignConfig | SortConfig | FieldGroupConfig | ChartTypeConfig | ImageSizeConfig | TimeFormatConfig | HidenConfig | AuxiliaryFieldConfig | EmptyValueDisplayFieldConfig;
|
|
5241
|
+
export type DropDownMenuFieldConfig = AggregationConfig | ContrastConfig | AdvancedCalculationConfig | NumberFormatConfig | LabelConfig | AlignConfig | VerticalAlignConfig | SortConfig | FieldGroupConfig | ChartTypeConfig | ImageSizeConfig | TimeFormatConfig | HidenConfig | AuxiliaryFieldConfig | EmptyValueDisplayFieldConfig | DrillSwitchConfig | DrillConfigConfig;
|
|
5203
5242
|
export type FieldConfigs = Array<DropDownMenuFieldConfig>;
|
|
5204
5243
|
export type ResetFieldConfigType = {
|
|
5205
5244
|
menuInfo: DropdownMenuItem;
|
|
@@ -5490,6 +5529,14 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5490
5529
|
type: FieldConfigTypes.emptyValueDisplay;
|
|
5491
5530
|
config?: EmptyValueDisplayConfig;
|
|
5492
5531
|
}
|
|
5532
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
5533
|
+
export interface DrillSwitchConfig extends FieldCommonConfig {
|
|
5534
|
+
type: FieldConfigTypes.drillSwitch;
|
|
5535
|
+
}
|
|
5536
|
+
/** 钻取层级配置 */
|
|
5537
|
+
export interface DrillConfigConfig extends FieldCommonConfig {
|
|
5538
|
+
type: FieldConfigTypes.drillConfig;
|
|
5539
|
+
}
|
|
5493
5540
|
/**
|
|
5494
5541
|
* 每个下拉菜单的选项
|
|
5495
5542
|
*/
|
|
@@ -5628,14 +5675,7 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5628
5675
|
/** 触发事件 */
|
|
5629
5676
|
onClick?: Function;
|
|
5630
5677
|
/** 分组对比组配置, 如果有 groupContrast, 说明是分组对比字段 */
|
|
5631
|
-
groupContrast?:
|
|
5632
|
-
/** 分组 id */
|
|
5633
|
-
groupId: string;
|
|
5634
|
-
/** 分组名称 */
|
|
5635
|
-
groupName: string;
|
|
5636
|
-
/** 分组字段 */
|
|
5637
|
-
columnList: Partial<DataConfigAreaItemColumn>[];
|
|
5638
|
-
}[];
|
|
5678
|
+
groupContrast?: GroupContrast<DataConfigAreaItemColumn>[];
|
|
5639
5679
|
}
|
|
5640
5680
|
/** [字段集]FieldCollectionInfo信息 */
|
|
5641
5681
|
export interface FieldCollectionInfo {
|
|
@@ -5931,6 +5971,10 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5931
5971
|
timeCompletion: string;
|
|
5932
5972
|
/** 空值展示配置 */
|
|
5933
5973
|
emptyValueDisplay: string;
|
|
5974
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
5975
|
+
drillSwitch: string;
|
|
5976
|
+
/** 钻取层级配置 */
|
|
5977
|
+
drillConfig: string;
|
|
5934
5978
|
};
|
|
5935
5979
|
export {};
|
|
5936
5980
|
}
|
package/cjs/index.js
CHANGED
|
@@ -477,6 +477,8 @@ var FieldConfigTypes;
|
|
|
477
477
|
FieldConfigTypes2["hideField"] = "hideField";
|
|
478
478
|
FieldConfigTypes2["auxiliaryField"] = "auxiliaryField";
|
|
479
479
|
FieldConfigTypes2["emptyValueDisplay"] = "emptyValueDisplay";
|
|
480
|
+
FieldConfigTypes2["drillSwitch"] = "drillSwitch";
|
|
481
|
+
FieldConfigTypes2["drillConfig"] = "drillConfig";
|
|
480
482
|
})(FieldConfigTypes || (FieldConfigTypes = {}));
|
|
481
483
|
var Aggregators;
|
|
482
484
|
(function(Aggregators2) {
|
|
@@ -725,7 +727,11 @@ var DropDownMenuType = {
|
|
|
725
727
|
/** 时间补齐 */
|
|
726
728
|
timeCompletion: "timeCompletion",
|
|
727
729
|
/** 空值展示配置 */
|
|
728
|
-
emptyValueDisplay: "emptyValueDisplay"
|
|
730
|
+
emptyValueDisplay: "emptyValueDisplay",
|
|
731
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
732
|
+
drillSwitch: "drillSwitch",
|
|
733
|
+
/** 钻取层级配置 */
|
|
734
|
+
drillConfig: "drillConfig"
|
|
729
735
|
};
|
|
730
736
|
|
|
731
737
|
// src/basic/bi-types/src/data-panel/data-schema.ts
|
|
@@ -973,6 +979,11 @@ var ComponentType;
|
|
|
973
979
|
ComponentType2[ComponentType2["UNSTRUCTURED_FREQUENCY"] = 129] = "UNSTRUCTURED_FREQUENCY";
|
|
974
980
|
ComponentType2[ComponentType2["SMART_INTERPRETATION"] = 130] = "SMART_INTERPRETATION";
|
|
975
981
|
ComponentType2[ComponentType2["EXPLORATION_SMART_CHART"] = 131] = "EXPLORATION_SMART_CHART";
|
|
982
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_TRANSLATE"] = 132] = "QUICK_REPORT_AI_TRANSLATE";
|
|
983
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_CLASSIFY"] = 133] = "QUICK_REPORT_AI_CLASSIFY";
|
|
984
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_CUSTOM"] = 134] = "QUICK_REPORT_AI_CUSTOM";
|
|
985
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_EXTRACT"] = 135] = "QUICK_REPORT_AI_EXTRACT";
|
|
986
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_SUMMARIZE"] = 136] = "QUICK_REPORT_AI_SUMMARIZE";
|
|
976
987
|
})(ComponentType || (ComponentType = {}));
|
|
977
988
|
var _obj;
|
|
978
989
|
var ScreenComponentCode = (_obj = {}, _define_property5(_obj, "custom_component", 0), /** 图层组 */
|
|
@@ -1149,6 +1160,11 @@ var ChartType;
|
|
|
1149
1160
|
ChartType2["QUICK_REPORT_FORM_CHECKBOX"] = "quick-report-form-checkbox";
|
|
1150
1161
|
ChartType2["QUICK_REPORT_FORM_FUNCTION"] = "quick-report-form-function";
|
|
1151
1162
|
ChartType2["QUICK_REPORT"] = "quick-report";
|
|
1163
|
+
ChartType2["QUICK_REPORT_AI_TRANSLATE"] = "quick-report-ai-translate";
|
|
1164
|
+
ChartType2["QUICK_REPORT_AI_CLASSIFY"] = "quick-report-ai-classify";
|
|
1165
|
+
ChartType2["QUICK_REPORT_AI_CUSTOM"] = "quick-report-ai-custom";
|
|
1166
|
+
ChartType2["QUICK_REPORT_AI_EXTRACT"] = "quick-report-ai-extract";
|
|
1167
|
+
ChartType2["QUICK_REPORT_AI_SUMMARIZE"] = "quick-report-ai-summarize";
|
|
1152
1168
|
ChartType2["DATAFORM_TEXT"] = "dataform-text";
|
|
1153
1169
|
ChartType2["DATAFORM_TEXTAREA"] = "dataform-textarea";
|
|
1154
1170
|
ChartType2["DATAFORM_DROPDOWN"] = "dataform-dropdown";
|
|
@@ -2292,6 +2308,8 @@ var RouteKey;
|
|
|
2292
2308
|
RouteKey2["orgQueryAgentAnalysisThemeAuth"] = "orgQueryAgentAnalysisThemeAuth";
|
|
2293
2309
|
RouteKey2["orgQueryAgentKnowledgeBaseManage"] = "orgQueryAgentKnowledgeBaseManage";
|
|
2294
2310
|
RouteKey2["orgQueryAgentGlobalConfig"] = "orgQueryAgentGlobalConfig";
|
|
2311
|
+
RouteKey2["likeAndDislikeKnowledge"] = "likeAndDislikeKnowledge";
|
|
2312
|
+
RouteKey2["orgQueryAgentAssetPlatformConfig"] = "orgQueryAgentAssetPlatformConfig";
|
|
2295
2313
|
RouteKey2["orgResourceManage"] = "orgResourceManage";
|
|
2296
2314
|
RouteKey2["orgAnalysisThemeManage"] = "orgAnalysisThemeManage";
|
|
2297
2315
|
RouteKey2["orgDashboardQuestionManage"] = "orgDashboardQuestionManage";
|
|
@@ -2981,6 +2999,14 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2981
2999
|
{
|
|
2982
3000
|
key: RouteKey.orgQueryAgentGlobalConfig,
|
|
2983
3001
|
path: "/org/admin/copilot/queryAgent/globalConfig"
|
|
3002
|
+
},
|
|
3003
|
+
{
|
|
3004
|
+
key: RouteKey.likeAndDislikeKnowledge,
|
|
3005
|
+
path: "/org/admin/copilot/queryAgent/likeAndDislikeKnowledge"
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
key: RouteKey.orgQueryAgentAssetPlatformConfig,
|
|
3009
|
+
path: "/org/admin/copilot/queryAgent/assetPlatformConfig"
|
|
2984
3010
|
}
|
|
2985
3011
|
]
|
|
2986
3012
|
},
|
package/esm/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
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';
|
|
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';
|
|
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, GroupContrast, } 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';
|
|
@@ -42,13 +42,13 @@ declare module '@quickbi/bi-types' {
|
|
|
42
42
|
declare module '@quickbi/bi-types/data-panel' {
|
|
43
43
|
import type { CommonCompInputAreaType, ConfigCellOption, FieldConfigRow } from '@quickbi/bi-types/data-panel/base';
|
|
44
44
|
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';
|
|
45
|
-
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';
|
|
45
|
+
import type { CommonCompInputComplexFilter, TimeTypeFilter, CommonCompInputComplexFilterItem, TableCalculateParam, CalcOrder, TopNParams, CountParams, PercentileParams, RankParams, CompareParams, DateAccumulateParams, ProportionParams, DifferenceParams, MovingCalculationParams, MultiFieldCombinationConfig, MultiFieldCombinationFieldConfig, MultiFieldAdvanceCalConfig, GroupContrast } from '@quickbi/bi-types/data-panel/data-config';
|
|
46
46
|
import { DataConfig, DataConfigAreaItemColumn, TableType, TableDirection, ProportionType, AccumulateCalcType, NumberValueType, ContrastType } from '@quickbi/bi-types/data-panel/data-config';
|
|
47
47
|
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';
|
|
48
48
|
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';
|
|
49
49
|
import { DataPanelDataSchema, ResultDisplay } from '@quickbi/bi-types/data-panel/data-schema';
|
|
50
50
|
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, };
|
|
51
|
-
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, };
|
|
51
|
+
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, GroupContrast, };
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
declare module '@quickbi/bi-types/component-type' {
|
|
@@ -435,7 +435,17 @@ declare module '@quickbi/bi-types/component-type' {
|
|
|
435
435
|
/** 智能解读 */
|
|
436
436
|
SMART_INTERPRETATION = 130,
|
|
437
437
|
/** 探索分析-智能推荐 */
|
|
438
|
-
EXPLORATION_SMART_CHART = 131
|
|
438
|
+
EXPLORATION_SMART_CHART = 131,
|
|
439
|
+
/** 电子表格-AI翻译 */
|
|
440
|
+
QUICK_REPORT_AI_TRANSLATE = 132,
|
|
441
|
+
/** 电子表格-AI分类 */
|
|
442
|
+
QUICK_REPORT_AI_CLASSIFY = 133,
|
|
443
|
+
/** 电子表格-自定义AI函数 */
|
|
444
|
+
QUICK_REPORT_AI_CUSTOM = 134,
|
|
445
|
+
/** 电子表格-AI信息提取 */
|
|
446
|
+
QUICK_REPORT_AI_EXTRACT = 135,
|
|
447
|
+
/** 电子表格-AI总结 */
|
|
448
|
+
QUICK_REPORT_AI_SUMMARIZE = 136
|
|
439
449
|
}
|
|
440
450
|
export const ScreenComponentCode: Record<ScreenComponentType, number>;
|
|
441
451
|
export enum ChartType {
|
|
@@ -552,6 +562,11 @@ declare module '@quickbi/bi-types/component-type' {
|
|
|
552
562
|
QUICK_REPORT_FORM_CHECKBOX = "quick-report-form-checkbox",
|
|
553
563
|
QUICK_REPORT_FORM_FUNCTION = "quick-report-form-function",
|
|
554
564
|
QUICK_REPORT = "quick-report",
|
|
565
|
+
QUICK_REPORT_AI_TRANSLATE = "quick-report-ai-translate",
|
|
566
|
+
QUICK_REPORT_AI_CLASSIFY = "quick-report-ai-classify",
|
|
567
|
+
QUICK_REPORT_AI_CUSTOM = "quick-report-ai-custom",
|
|
568
|
+
QUICK_REPORT_AI_EXTRACT = "quick-report-ai-extract",
|
|
569
|
+
QUICK_REPORT_AI_SUMMARIZE = "quick-report-ai-summarize",
|
|
555
570
|
/** --------------数据填报-------------- */
|
|
556
571
|
DATAFORM_TEXT = "dataform-text",
|
|
557
572
|
DATAFORM_TEXTAREA = "dataform-textarea",
|
|
@@ -2837,6 +2852,10 @@ declare module '@quickbi/bi-types/router/route-key' {
|
|
|
2837
2852
|
orgQueryAgentKnowledgeBaseManage = "orgQueryAgentKnowledgeBaseManage",
|
|
2838
2853
|
/** 组织管理-小Q问数-全局配置 */
|
|
2839
2854
|
orgQueryAgentGlobalConfig = "orgQueryAgentGlobalConfig",
|
|
2855
|
+
/** 组织管理-小Q问数-赞踩知识 */
|
|
2856
|
+
likeAndDislikeKnowledge = "likeAndDislikeKnowledge",
|
|
2857
|
+
/** 组织管理-小Q问数-资产平台接入配置 */
|
|
2858
|
+
orgQueryAgentAssetPlatformConfig = "orgQueryAgentAssetPlatformConfig",
|
|
2840
2859
|
/** 组织管理-小Q问数-问数资源管理 */
|
|
2841
2860
|
orgResourceManage = "orgResourceManage",
|
|
2842
2861
|
/** 组织管理-小Q问数-分析主题管理 */
|
|
@@ -3611,6 +3630,12 @@ declare module '@quickbi/bi-types/router/route-tree' {
|
|
|
3611
3630
|
}, {
|
|
3612
3631
|
readonly key: RouteKey.orgQueryAgentGlobalConfig;
|
|
3613
3632
|
readonly path: "/org/admin/copilot/queryAgent/globalConfig";
|
|
3633
|
+
}, {
|
|
3634
|
+
readonly key: RouteKey.likeAndDislikeKnowledge;
|
|
3635
|
+
readonly path: "/org/admin/copilot/queryAgent/likeAndDislikeKnowledge";
|
|
3636
|
+
}, {
|
|
3637
|
+
readonly key: RouteKey.orgQueryAgentAssetPlatformConfig;
|
|
3638
|
+
readonly path: "/org/admin/copilot/queryAgent/assetPlatformConfig";
|
|
3614
3639
|
}];
|
|
3615
3640
|
}, {
|
|
3616
3641
|
readonly key: RouteKey.orgAdminQMessage;
|
|
@@ -5094,14 +5119,24 @@ declare module '@quickbi/bi-types/data-panel/data-config' {
|
|
|
5094
5119
|
/** 是否虚拟字段,如散点图中的聚类字段、线柱图中的度量名字段 */
|
|
5095
5120
|
isVirtual?: boolean;
|
|
5096
5121
|
/** 分组对比组配置, 如果有 groupContrast, 说明是分组对比字段 */
|
|
5097
|
-
groupContrast?:
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5122
|
+
groupContrast?: GroupContrast[];
|
|
5123
|
+
}
|
|
5124
|
+
export interface GroupContrast<T = DataConfigAreaItemColumn> {
|
|
5125
|
+
/** 分组 id */
|
|
5126
|
+
groupId: string;
|
|
5127
|
+
/** 分组名称 */
|
|
5128
|
+
groupName: string;
|
|
5129
|
+
/** 分组字段 */
|
|
5130
|
+
columnList: Partial<T>[];
|
|
5131
|
+
/** 差值分组配置 */
|
|
5132
|
+
diffConfig?: {
|
|
5133
|
+
/** 差值类型:差值对比/差值百分比 */
|
|
5134
|
+
calcTypes: 'INCREASE_VALUE' | 'INCREASE_RATIO';
|
|
5135
|
+
/** 源分组id(基准分组) */
|
|
5136
|
+
baseGroupId: string;
|
|
5137
|
+
/** 比较分组id(对比分组) */
|
|
5138
|
+
targetGroupId: string;
|
|
5139
|
+
};
|
|
5105
5140
|
}
|
|
5106
5141
|
export enum ContrastType {
|
|
5107
5142
|
DAY_DAY_RING_RATIO = "day_day",
|
|
@@ -5161,7 +5196,7 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5161
5196
|
import type { CubeModel, EmptyValueDisplayConfig } from '@quickbi/bi-types/cube/cube-model';
|
|
5162
5197
|
import type { Aggregator, DateGranularity, Field, FieldAttribute, FolderAndHierarchyNode, RegionGranularity } from '@quickbi/bi-types/cube/cube-schema';
|
|
5163
5198
|
import type { FieldType, QueryAxisType, FieldGroupType, SecondFieldType, ChartStatus, StackedSortType, RetainAreaId, FieldCollectionType } from '@quickbi/bi-types/data-panel/base';
|
|
5164
|
-
import type { DataConfigAreaItemColumn } from '@quickbi/bi-types/data-panel/data-config';
|
|
5199
|
+
import type { DataConfigAreaItemColumn, GroupContrast } from '@quickbi/bi-types/data-panel/data-config';
|
|
5165
5200
|
export interface ValidateResult {
|
|
5166
5201
|
isValid: boolean;
|
|
5167
5202
|
msg?: Message;
|
|
@@ -5197,9 +5232,13 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5197
5232
|
/** 下钻配置的辅助字段(交叉表、明细表) */
|
|
5198
5233
|
auxiliaryField = "auxiliaryField",
|
|
5199
5234
|
/** 空值展示配置 */
|
|
5200
|
-
emptyValueDisplay = "emptyValueDisplay"
|
|
5235
|
+
emptyValueDisplay = "emptyValueDisplay",
|
|
5236
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
5237
|
+
drillSwitch = "drillSwitch",
|
|
5238
|
+
/** 钻取层级配置 */
|
|
5239
|
+
drillConfig = "drillConfig"
|
|
5201
5240
|
}
|
|
5202
|
-
export type DropDownMenuFieldConfig = AggregationConfig | ContrastConfig | AdvancedCalculationConfig | NumberFormatConfig | LabelConfig | AlignConfig | VerticalAlignConfig | SortConfig | FieldGroupConfig | ChartTypeConfig | ImageSizeConfig | TimeFormatConfig | HidenConfig | AuxiliaryFieldConfig | EmptyValueDisplayFieldConfig;
|
|
5241
|
+
export type DropDownMenuFieldConfig = AggregationConfig | ContrastConfig | AdvancedCalculationConfig | NumberFormatConfig | LabelConfig | AlignConfig | VerticalAlignConfig | SortConfig | FieldGroupConfig | ChartTypeConfig | ImageSizeConfig | TimeFormatConfig | HidenConfig | AuxiliaryFieldConfig | EmptyValueDisplayFieldConfig | DrillSwitchConfig | DrillConfigConfig;
|
|
5203
5242
|
export type FieldConfigs = Array<DropDownMenuFieldConfig>;
|
|
5204
5243
|
export type ResetFieldConfigType = {
|
|
5205
5244
|
menuInfo: DropdownMenuItem;
|
|
@@ -5490,6 +5529,14 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5490
5529
|
type: FieldConfigTypes.emptyValueDisplay;
|
|
5491
5530
|
config?: EmptyValueDisplayConfig;
|
|
5492
5531
|
}
|
|
5532
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
5533
|
+
export interface DrillSwitchConfig extends FieldCommonConfig {
|
|
5534
|
+
type: FieldConfigTypes.drillSwitch;
|
|
5535
|
+
}
|
|
5536
|
+
/** 钻取层级配置 */
|
|
5537
|
+
export interface DrillConfigConfig extends FieldCommonConfig {
|
|
5538
|
+
type: FieldConfigTypes.drillConfig;
|
|
5539
|
+
}
|
|
5493
5540
|
/**
|
|
5494
5541
|
* 每个下拉菜单的选项
|
|
5495
5542
|
*/
|
|
@@ -5628,14 +5675,7 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5628
5675
|
/** 触发事件 */
|
|
5629
5676
|
onClick?: Function;
|
|
5630
5677
|
/** 分组对比组配置, 如果有 groupContrast, 说明是分组对比字段 */
|
|
5631
|
-
groupContrast?:
|
|
5632
|
-
/** 分组 id */
|
|
5633
|
-
groupId: string;
|
|
5634
|
-
/** 分组名称 */
|
|
5635
|
-
groupName: string;
|
|
5636
|
-
/** 分组字段 */
|
|
5637
|
-
columnList: Partial<DataConfigAreaItemColumn>[];
|
|
5638
|
-
}[];
|
|
5678
|
+
groupContrast?: GroupContrast<DataConfigAreaItemColumn>[];
|
|
5639
5679
|
}
|
|
5640
5680
|
/** [字段集]FieldCollectionInfo信息 */
|
|
5641
5681
|
export interface FieldCollectionInfo {
|
|
@@ -5931,6 +5971,10 @@ declare module '@quickbi/bi-types/data-panel/data-schema-item' {
|
|
|
5931
5971
|
timeCompletion: string;
|
|
5932
5972
|
/** 空值展示配置 */
|
|
5933
5973
|
emptyValueDisplay: string;
|
|
5974
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
5975
|
+
drillSwitch: string;
|
|
5976
|
+
/** 钻取层级配置 */
|
|
5977
|
+
drillConfig: string;
|
|
5934
5978
|
};
|
|
5935
5979
|
export {};
|
|
5936
5980
|
}
|
package/esm/index.mjs
CHANGED
|
@@ -318,6 +318,8 @@ var FieldConfigTypes;
|
|
|
318
318
|
FieldConfigTypes2["hideField"] = "hideField";
|
|
319
319
|
FieldConfigTypes2["auxiliaryField"] = "auxiliaryField";
|
|
320
320
|
FieldConfigTypes2["emptyValueDisplay"] = "emptyValueDisplay";
|
|
321
|
+
FieldConfigTypes2["drillSwitch"] = "drillSwitch";
|
|
322
|
+
FieldConfigTypes2["drillConfig"] = "drillConfig";
|
|
321
323
|
})(FieldConfigTypes || (FieldConfigTypes = {}));
|
|
322
324
|
var Aggregators;
|
|
323
325
|
(function(Aggregators2) {
|
|
@@ -566,7 +568,11 @@ var DropDownMenuType = {
|
|
|
566
568
|
/** 时间补齐 */
|
|
567
569
|
timeCompletion: "timeCompletion",
|
|
568
570
|
/** 空值展示配置 */
|
|
569
|
-
emptyValueDisplay: "emptyValueDisplay"
|
|
571
|
+
emptyValueDisplay: "emptyValueDisplay",
|
|
572
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
573
|
+
drillSwitch: "drillSwitch",
|
|
574
|
+
/** 钻取层级配置 */
|
|
575
|
+
drillConfig: "drillConfig"
|
|
570
576
|
};
|
|
571
577
|
|
|
572
578
|
// src/basic/bi-types/src/data-panel/data-schema.ts
|
|
@@ -814,6 +820,11 @@ var ComponentType;
|
|
|
814
820
|
ComponentType2[ComponentType2["UNSTRUCTURED_FREQUENCY"] = 129] = "UNSTRUCTURED_FREQUENCY";
|
|
815
821
|
ComponentType2[ComponentType2["SMART_INTERPRETATION"] = 130] = "SMART_INTERPRETATION";
|
|
816
822
|
ComponentType2[ComponentType2["EXPLORATION_SMART_CHART"] = 131] = "EXPLORATION_SMART_CHART";
|
|
823
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_TRANSLATE"] = 132] = "QUICK_REPORT_AI_TRANSLATE";
|
|
824
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_CLASSIFY"] = 133] = "QUICK_REPORT_AI_CLASSIFY";
|
|
825
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_CUSTOM"] = 134] = "QUICK_REPORT_AI_CUSTOM";
|
|
826
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_EXTRACT"] = 135] = "QUICK_REPORT_AI_EXTRACT";
|
|
827
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_SUMMARIZE"] = 136] = "QUICK_REPORT_AI_SUMMARIZE";
|
|
817
828
|
})(ComponentType || (ComponentType = {}));
|
|
818
829
|
var _obj;
|
|
819
830
|
var ScreenComponentCode = (_obj = {}, _define_property5(_obj, "custom_component", 0), /** 图层组 */
|
|
@@ -990,6 +1001,11 @@ var ChartType;
|
|
|
990
1001
|
ChartType2["QUICK_REPORT_FORM_CHECKBOX"] = "quick-report-form-checkbox";
|
|
991
1002
|
ChartType2["QUICK_REPORT_FORM_FUNCTION"] = "quick-report-form-function";
|
|
992
1003
|
ChartType2["QUICK_REPORT"] = "quick-report";
|
|
1004
|
+
ChartType2["QUICK_REPORT_AI_TRANSLATE"] = "quick-report-ai-translate";
|
|
1005
|
+
ChartType2["QUICK_REPORT_AI_CLASSIFY"] = "quick-report-ai-classify";
|
|
1006
|
+
ChartType2["QUICK_REPORT_AI_CUSTOM"] = "quick-report-ai-custom";
|
|
1007
|
+
ChartType2["QUICK_REPORT_AI_EXTRACT"] = "quick-report-ai-extract";
|
|
1008
|
+
ChartType2["QUICK_REPORT_AI_SUMMARIZE"] = "quick-report-ai-summarize";
|
|
993
1009
|
ChartType2["DATAFORM_TEXT"] = "dataform-text";
|
|
994
1010
|
ChartType2["DATAFORM_TEXTAREA"] = "dataform-textarea";
|
|
995
1011
|
ChartType2["DATAFORM_DROPDOWN"] = "dataform-dropdown";
|
|
@@ -2133,6 +2149,8 @@ var RouteKey;
|
|
|
2133
2149
|
RouteKey2["orgQueryAgentAnalysisThemeAuth"] = "orgQueryAgentAnalysisThemeAuth";
|
|
2134
2150
|
RouteKey2["orgQueryAgentKnowledgeBaseManage"] = "orgQueryAgentKnowledgeBaseManage";
|
|
2135
2151
|
RouteKey2["orgQueryAgentGlobalConfig"] = "orgQueryAgentGlobalConfig";
|
|
2152
|
+
RouteKey2["likeAndDislikeKnowledge"] = "likeAndDislikeKnowledge";
|
|
2153
|
+
RouteKey2["orgQueryAgentAssetPlatformConfig"] = "orgQueryAgentAssetPlatformConfig";
|
|
2136
2154
|
RouteKey2["orgResourceManage"] = "orgResourceManage";
|
|
2137
2155
|
RouteKey2["orgAnalysisThemeManage"] = "orgAnalysisThemeManage";
|
|
2138
2156
|
RouteKey2["orgDashboardQuestionManage"] = "orgDashboardQuestionManage";
|
|
@@ -2822,6 +2840,14 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2822
2840
|
{
|
|
2823
2841
|
key: RouteKey.orgQueryAgentGlobalConfig,
|
|
2824
2842
|
path: "/org/admin/copilot/queryAgent/globalConfig"
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
key: RouteKey.likeAndDislikeKnowledge,
|
|
2846
|
+
path: "/org/admin/copilot/queryAgent/likeAndDislikeKnowledge"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
key: RouteKey.orgQueryAgentAssetPlatformConfig,
|
|
2850
|
+
path: "/org/admin/copilot/queryAgent/assetPlatformConfig"
|
|
2825
2851
|
}
|
|
2826
2852
|
]
|
|
2827
2853
|
},
|