@quickbi/bi-types 3.1.1-beta.1 → 3.1.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/cjs/index.d.ts +327 -69
- package/cjs/index.js +110 -9
- package/esm/index.d.ts +327 -69
- package/esm/index.mjs +110 -9
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -82,10 +82,13 @@ __export(src_exports, {
|
|
|
82
82
|
FieldChartTypes: () => FieldChartTypes,
|
|
83
83
|
FieldCollectionType: () => FieldCollectionType,
|
|
84
84
|
FieldConfigTypes: () => FieldConfigTypes,
|
|
85
|
+
FieldExpressionType: () => FieldExpressionType,
|
|
85
86
|
FieldGroupSelectorType: () => FieldGroupSelectorType,
|
|
86
87
|
FieldGroupType: () => FieldGroupType,
|
|
87
88
|
FieldType: () => FieldType,
|
|
88
89
|
FilterAttr: () => FilterAttr,
|
|
90
|
+
GroupOperator: () => GroupOperator,
|
|
91
|
+
GroupType: () => GroupType,
|
|
89
92
|
HintModal: () => HintModal,
|
|
90
93
|
ImageDisplayMode: () => ImageDisplayMode,
|
|
91
94
|
ImageSizes: () => ImageSizes,
|
|
@@ -143,6 +146,7 @@ __export(src_exports, {
|
|
|
143
146
|
TableJoinType: () => TableJoinType,
|
|
144
147
|
TableRelation: () => TableRelation,
|
|
145
148
|
TableType: () => TableType,
|
|
149
|
+
ToolFieldType: () => ToolFieldType,
|
|
146
150
|
UsePermitType: () => UsePermitType,
|
|
147
151
|
VerticalAlignTypes: () => VerticalAlignTypes,
|
|
148
152
|
VirtualFieldOperation: () => VirtualFieldOperation,
|
|
@@ -1925,17 +1929,22 @@ var DsType;
|
|
|
1925
1929
|
DsType2["presto"] = "presto";
|
|
1926
1930
|
DsType2["adb"] = "adb";
|
|
1927
1931
|
DsType2["adbSpark"] = "adb_spark";
|
|
1932
|
+
DsType2["analyticdb_v3"] = "analyticdb_v3";
|
|
1933
|
+
DsType2["analyticdb_v3_spark"] = "analyticdb_v3_spark";
|
|
1934
|
+
DsType2["analyticdb"] = "analyticdb";
|
|
1928
1935
|
DsType2["polardb"] = "polardb";
|
|
1929
1936
|
DsType2["impala"] = "impala";
|
|
1930
1937
|
DsType2["impala_v3"] = "impala_v3";
|
|
1931
1938
|
DsType2["multiDatasource"] = "multiDatasource";
|
|
1932
1939
|
DsType2["tsdb"] = "tsdb";
|
|
1933
1940
|
DsType2["hbase"] = "hbase";
|
|
1941
|
+
DsType2["phoenix_thin"] = "phoenix_thin";
|
|
1934
1942
|
DsType2["dataphin"] = "dataphin";
|
|
1935
1943
|
DsType2["dataphin_odps"] = "dataphin_odps";
|
|
1936
1944
|
DsType2["dataphin_hive"] = "dataphin_hive";
|
|
1937
1945
|
DsType2["dataphin_v2_odps"] = "dataphin_v2_odps";
|
|
1938
1946
|
DsType2["dataphin_v2_hive"] = "dataphin_v2_hive";
|
|
1947
|
+
DsType2["dataphin_jdbc"] = "dataphin_jdbc";
|
|
1939
1948
|
DsType2["kbase"] = "kbase";
|
|
1940
1949
|
DsType2["clickhouse"] = "clickhouse";
|
|
1941
1950
|
DsType2["gbase"] = "gbase";
|
|
@@ -1944,9 +1953,6 @@ var DsType;
|
|
|
1944
1953
|
DsType2["teradata"] = "teradata";
|
|
1945
1954
|
DsType2["spark_sql"] = "spark_sql";
|
|
1946
1955
|
DsType2["dingtalk"] = "dingtalk";
|
|
1947
|
-
DsType2["analyticdb_v3"] = "analyticdb_v3";
|
|
1948
|
-
DsType2["analyticdb_v3_spark"] = "analyticdb_v3_spark";
|
|
1949
|
-
DsType2["analyticdb"] = "analyticdb";
|
|
1950
1956
|
DsType2["elasticsearch"] = "elasticsearch";
|
|
1951
1957
|
DsType2["starrocks"] = "starrocks";
|
|
1952
1958
|
DsType2["apache_doris"] = "apache_doris";
|
|
@@ -1957,12 +1963,15 @@ var DsType;
|
|
|
1957
1963
|
DsType2["api_datasource_realtime"] = "api_datasource_realtime";
|
|
1958
1964
|
DsType2["oceanbase_oracle"] = "oceanbase_oracle";
|
|
1959
1965
|
DsType2["oceanbase_mysql"] = "oceanbase_mysql";
|
|
1960
|
-
DsType2["feishu_bitable"] = "feishu_bitable";
|
|
1961
1966
|
DsType2["lindormMultiMode"] = "lindorm_multi_mode";
|
|
1962
1967
|
DsType2["lindormWideTableEngine"] = "lindorm_wide_table_engine";
|
|
1963
1968
|
DsType2["lindormTsdb"] = "lindorm_tsdb";
|
|
1964
1969
|
DsType2["lindormAll"] = "lindorm_all";
|
|
1970
|
+
DsType2["sql_engine"] = "sql_engine";
|
|
1971
|
+
DsType2["width_table"] = "width_table";
|
|
1972
|
+
DsType2["feishu_bitable"] = "feishu_bitable";
|
|
1965
1973
|
DsType2["feishu_spreadsheet"] = "feishu_spreadsheet";
|
|
1974
|
+
DsType2["dingtalk_ai_table"] = "dingtalk_ai_table";
|
|
1966
1975
|
DsType2["dingtalk_spreadsheet"] = "dingtalk_spreadsheet";
|
|
1967
1976
|
DsType2["lyOne"] = "ly_one";
|
|
1968
1977
|
DsType2["customDs"] = "customDs";
|
|
@@ -1979,6 +1988,17 @@ var DsType;
|
|
|
1979
1988
|
DsType2["bigquery"] = "bigquery";
|
|
1980
1989
|
DsType2["athena"] = "athena";
|
|
1981
1990
|
DsType2["yida"] = "yida";
|
|
1991
|
+
DsType2["emr_spark"] = "emr_spark";
|
|
1992
|
+
DsType2["snowflake"] = "snowflake";
|
|
1993
|
+
DsType2["kylin"] = "kylin";
|
|
1994
|
+
DsType2["redshift"] = "redshift";
|
|
1995
|
+
DsType2["gaussdb"] = "gaussdb";
|
|
1996
|
+
DsType2["gaussdb_dws"] = "gaussdb_dws";
|
|
1997
|
+
DsType2["tdsql"] = "tdsql";
|
|
1998
|
+
DsType2["mongodb"] = "mongodb";
|
|
1999
|
+
DsType2["unicorn"] = "unicorn";
|
|
2000
|
+
DsType2["dm"] = "dm";
|
|
2001
|
+
DsType2["sls"] = "sls";
|
|
1982
2002
|
})(DsType || (DsType = {}));
|
|
1983
2003
|
var AcrossDsType;
|
|
1984
2004
|
(function(AcrossDsType2) {
|
|
@@ -2004,9 +2024,10 @@ var DataSourceSort;
|
|
|
2004
2024
|
DataSourceSort2[DataSourceSort2["API"] = 2] = "API";
|
|
2005
2025
|
DataSourceSort2[DataSourceSort2["FEI_SHU_BITABLE"] = 3] = "FEI_SHU_BITABLE";
|
|
2006
2026
|
DataSourceSort2[DataSourceSort2["FEI_SHU_SPREADSHEET"] = 4] = "FEI_SHU_SPREADSHEET";
|
|
2007
|
-
DataSourceSort2[DataSourceSort2["
|
|
2008
|
-
DataSourceSort2[DataSourceSort2["
|
|
2009
|
-
DataSourceSort2[DataSourceSort2["
|
|
2027
|
+
DataSourceSort2[DataSourceSort2["DING_TALK_AI_TABLE"] = 5] = "DING_TALK_AI_TABLE";
|
|
2028
|
+
DataSourceSort2[DataSourceSort2["DING_TALK_SPREADSHEET"] = 6] = "DING_TALK_SPREADSHEET";
|
|
2029
|
+
DataSourceSort2[DataSourceSort2["LING_YANG_ONE"] = 7] = "LING_YANG_ONE";
|
|
2030
|
+
DataSourceSort2[DataSourceSort2["OTHER_DATASOURCE"] = 8] = "OTHER_DATASOURCE";
|
|
2010
2031
|
})(DataSourceSort || (DataSourceSort = {}));
|
|
2011
2032
|
var DataSourcesConfigId;
|
|
2012
2033
|
(function(DataSourcesConfigId2) {
|
|
@@ -2035,9 +2056,41 @@ var dataBaseType = [
|
|
|
2035
2056
|
var SHEET_TABLE = [
|
|
2036
2057
|
"feishu_bitable",
|
|
2037
2058
|
"feishu_spreadsheet",
|
|
2059
|
+
"dingtalk_ai_table",
|
|
2038
2060
|
"dingtalk_spreadsheet"
|
|
2039
2061
|
];
|
|
2040
2062
|
|
|
2063
|
+
// src/basic/bi-types/src/cube/cube-field-expression.ts
|
|
2064
|
+
var FieldExpressionType;
|
|
2065
|
+
(function(FieldExpressionType2) {
|
|
2066
|
+
FieldExpressionType2["dataGroup"] = "dataGroup";
|
|
2067
|
+
FieldExpressionType2["udf"] = "udf";
|
|
2068
|
+
FieldExpressionType2["system"] = "system";
|
|
2069
|
+
FieldExpressionType2["tool"] = "tool";
|
|
2070
|
+
})(FieldExpressionType || (FieldExpressionType = {}));
|
|
2071
|
+
var ToolFieldType;
|
|
2072
|
+
(function(ToolFieldType2) {
|
|
2073
|
+
ToolFieldType2["DateDifference"] = "dateDifference";
|
|
2074
|
+
ToolFieldType2["MissingValueReplacement"] = "missingValueReplacement";
|
|
2075
|
+
ToolFieldType2["ValueReplacement"] = "valueReplacement";
|
|
2076
|
+
ToolFieldType2["SplitField"] = "SplitField";
|
|
2077
|
+
ToolFieldType2["MergeField"] = "mergeField";
|
|
2078
|
+
})(ToolFieldType || (ToolFieldType = {}));
|
|
2079
|
+
var GroupType;
|
|
2080
|
+
(function(GroupType2) {
|
|
2081
|
+
GroupType2["NormalGroup"] = "NormalGroup";
|
|
2082
|
+
GroupType2["ListGroup"] = "ListGroup";
|
|
2083
|
+
GroupType2["CustomizedGroup"] = "CustomizedGroup";
|
|
2084
|
+
})(GroupType || (GroupType = {}));
|
|
2085
|
+
var GroupOperator;
|
|
2086
|
+
(function(GroupOperator2) {
|
|
2087
|
+
GroupOperator2["LessThan"] = "lessThan";
|
|
2088
|
+
GroupOperator2["LessThanOrEqualTo"] = "lessThanOrEqualTo";
|
|
2089
|
+
GroupOperator2["GreaterThan"] = "greaterThan";
|
|
2090
|
+
GroupOperator2["GreaterThanOrEqualTo"] = "greaterThanOrEqualTo";
|
|
2091
|
+
GroupOperator2["IsNull"] = "isNull";
|
|
2092
|
+
})(GroupOperator || (GroupOperator = {}));
|
|
2093
|
+
|
|
2041
2094
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
2042
2095
|
var CustomMenuMode;
|
|
2043
2096
|
(function(CustomMenuMode2) {
|
|
@@ -2118,6 +2171,10 @@ var RouteKey;
|
|
|
2118
2171
|
RouteKey2["orgAdminSmartQGlobalConfigLlmConfig"] = "orgAdminSmartQGlobalConfigLlmConfig";
|
|
2119
2172
|
RouteKey2["orgAdminSmartQGlobalConfigAgentManage"] = "orgAdminSmartQGlobalConfigAgentManage";
|
|
2120
2173
|
RouteKey2["orgAdminCopilot"] = "orgAdminCopilot";
|
|
2174
|
+
RouteKey2["orgAdminCopilotQueryAgent"] = "orgAdminCopilotQueryAgent";
|
|
2175
|
+
RouteKey2["orgQueryAgentAnalysisThemeManage"] = "orgQueryAgentAnalysisThemeManage";
|
|
2176
|
+
RouteKey2["orgQueryAgentAnalysisThemeAuth"] = "orgQueryAgentAnalysisThemeAuth";
|
|
2177
|
+
RouteKey2["orgQueryAgentKnowledgeBaseManage"] = "orgQueryAgentKnowledgeBaseManage";
|
|
2121
2178
|
RouteKey2["orgResourceManage"] = "orgResourceManage";
|
|
2122
2179
|
RouteKey2["orgAnalysisThemeManage"] = "orgAnalysisThemeManage";
|
|
2123
2180
|
RouteKey2["orgDashboardQuestionManage"] = "orgDashboardQuestionManage";
|
|
@@ -2210,6 +2267,8 @@ var RouteKey;
|
|
|
2210
2267
|
RouteKey2["copilotPage"] = "copilotHome";
|
|
2211
2268
|
RouteKey2["copilotPageSmartQ"] = "copilotPageSuperAgent";
|
|
2212
2269
|
RouteKey2["copilotPageQChat"] = "copilotPageQChat";
|
|
2270
|
+
RouteKey2["copilotPageQChatCube"] = "copilotPageQChatCube";
|
|
2271
|
+
RouteKey2["copilotPageQChatDatasource"] = "copilotPageQChatDatasource";
|
|
2213
2272
|
RouteKey2["copilotPageQInsight"] = "copilotPageQInsight";
|
|
2214
2273
|
RouteKey2["copilotPageQReport"] = "copilotPageQReport";
|
|
2215
2274
|
RouteKey2["copilotPageQDashboard"] = "copilotPageQDashboard";
|
|
@@ -2315,6 +2374,8 @@ var RouteKey;
|
|
|
2315
2374
|
RouteKey2["mobileCard"] = "mobileCard";
|
|
2316
2375
|
RouteKey2["mobileCopilot"] = "mobileCopilot";
|
|
2317
2376
|
RouteKey2["mobileCopilotQChat"] = "mobileCopilotQChat";
|
|
2377
|
+
RouteKey2["mobileCopilotQChatCube"] = "mobileCopilotQChatCube";
|
|
2378
|
+
RouteKey2["mobileCopilotQChatDatasource"] = "mobileCopilotQChatDatasource";
|
|
2318
2379
|
RouteKey2["mobileCopilotAgent"] = "mobileCopilotAgent";
|
|
2319
2380
|
RouteKey2["mobileQMessage"] = "mobileQMessage";
|
|
2320
2381
|
RouteKey2["mobileQMessageHome"] = "mobileQMessageHome";
|
|
@@ -2765,6 +2826,25 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2765
2826
|
}
|
|
2766
2827
|
]
|
|
2767
2828
|
},
|
|
2829
|
+
/** 智能小 Q - 智能问数 - 探索版 */
|
|
2830
|
+
{
|
|
2831
|
+
key: RouteKey.orgAdminCopilotQueryAgent,
|
|
2832
|
+
path: "/org/admin/copilot/queryAgent",
|
|
2833
|
+
children: [
|
|
2834
|
+
{
|
|
2835
|
+
key: RouteKey.orgQueryAgentAnalysisThemeManage,
|
|
2836
|
+
path: "/org/admin/copilot/queryAgent/analysisThemeManage"
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
key: RouteKey.orgQueryAgentAnalysisThemeAuth,
|
|
2840
|
+
path: "/org/admin/copilot/queryAgent/orgAnalysisThemeAuth"
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
key: RouteKey.orgQueryAgentKnowledgeBaseManage,
|
|
2844
|
+
path: "/org/admin/copilot/queryAgent/orgKnowledgeBaseManage"
|
|
2845
|
+
}
|
|
2846
|
+
]
|
|
2847
|
+
},
|
|
2768
2848
|
/** 智能小 Q - 小 Q 发现 */
|
|
2769
2849
|
{
|
|
2770
2850
|
key: RouteKey.orgAdminQMessage,
|
|
@@ -3258,7 +3338,17 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3258
3338
|
},
|
|
3259
3339
|
{
|
|
3260
3340
|
key: RouteKey.copilotPageQChat,
|
|
3261
|
-
path: "/copilotPage/qChat"
|
|
3341
|
+
path: "/copilotPage/qChat",
|
|
3342
|
+
children: [
|
|
3343
|
+
{
|
|
3344
|
+
key: RouteKey.copilotPageQChatCube,
|
|
3345
|
+
path: "/copilotPage/qChat/cube"
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
key: RouteKey.copilotPageQChatDatasource,
|
|
3349
|
+
path: "/copilotPage/qChat/datasource"
|
|
3350
|
+
}
|
|
3351
|
+
]
|
|
3262
3352
|
},
|
|
3263
3353
|
{
|
|
3264
3354
|
key: RouteKey.copilotPageQInsight,
|
|
@@ -3632,7 +3722,17 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3632
3722
|
children: [
|
|
3633
3723
|
{
|
|
3634
3724
|
key: RouteKey.mobileCopilotQChat,
|
|
3635
|
-
path: "/copilot/qChat"
|
|
3725
|
+
path: "/copilot/qChat",
|
|
3726
|
+
children: [
|
|
3727
|
+
{
|
|
3728
|
+
key: RouteKey.mobileCopilotQChatCube,
|
|
3729
|
+
path: "/copilot/qChat/cube"
|
|
3730
|
+
},
|
|
3731
|
+
{
|
|
3732
|
+
key: RouteKey.mobileCopilotQChatDatasource,
|
|
3733
|
+
path: "/copilot/qChat/datasource"
|
|
3734
|
+
}
|
|
3735
|
+
]
|
|
3636
3736
|
},
|
|
3637
3737
|
{
|
|
3638
3738
|
key: RouteKey.mobileCopilotAgent,
|
|
@@ -3956,6 +4056,7 @@ var PermissionPageType;
|
|
|
3956
4056
|
PermissionPageType2["card"] = "card";
|
|
3957
4057
|
PermissionPageType2["llmCube"] = "llmCube";
|
|
3958
4058
|
PermissionPageType2["llmCubeTheme"] = "llmCubeTheme";
|
|
4059
|
+
PermissionPageType2["copilotExplorerTheme"] = "copilotExplorerTheme";
|
|
3959
4060
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
3960
4061
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
3961
4062
|
PermissionPageType2["qReport"] = "qreport";
|