@quickbi/bi-types 3.0.51 → 3.0.52-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.d.ts +1001 -834
- package/cjs/index.js +224 -18
- package/esm/index.d.ts +1001 -834
- package/esm/index.mjs +224 -18
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __export(src_exports, {
|
|
|
41
41
|
ConfigCellType: () => ConfigCellType,
|
|
42
42
|
ConfigColumnType: () => ConfigColumnType,
|
|
43
43
|
ConstastTypeMap: () => ConstastTypeMap,
|
|
44
|
+
ContrastType: () => ContrastType,
|
|
44
45
|
ContrastTypes: () => ContrastTypes,
|
|
45
46
|
CrossTableColumnModel: () => CrossTableColumnModel,
|
|
46
47
|
CrossTableColumnType: () => CrossTableColumnType,
|
|
@@ -53,6 +54,7 @@ __export(src_exports, {
|
|
|
53
54
|
CustomAreaType: () => CustomAreaType,
|
|
54
55
|
CustomEventType: () => CustomEventType,
|
|
55
56
|
CustomMenuMode: () => CustomMenuMode,
|
|
57
|
+
DYNAMIC_PATH_ROUTE_MAP: () => DYNAMIC_PATH_ROUTE_MAP,
|
|
56
58
|
DataConfig: () => DataConfig,
|
|
57
59
|
DataConfigAreaItemColumn: () => DataConfigAreaItemColumn,
|
|
58
60
|
DataLoadMode: () => DataLoadMode,
|
|
@@ -61,6 +63,7 @@ __export(src_exports, {
|
|
|
61
63
|
DataSchemaRule: () => DataSchemaRule,
|
|
62
64
|
DataSourcePortValue: () => DataSourcePortValue,
|
|
63
65
|
DataSourceSort: () => DataSourceSort,
|
|
66
|
+
DataSourcesConfigId: () => DataSourcesConfigId,
|
|
64
67
|
DataType: () => DataType,
|
|
65
68
|
DateGranularity: () => DateGranularity,
|
|
66
69
|
DropDownMenuType: () => DropDownMenuType,
|
|
@@ -91,16 +94,18 @@ __export(src_exports, {
|
|
|
91
94
|
LegendPositionType: () => LegendPositionType,
|
|
92
95
|
LegendUnHighLightedValue: () => LegendUnHighLightedValue,
|
|
93
96
|
LnglatGroupChildFlags: () => LnglatGroupChildFlags,
|
|
94
|
-
|
|
97
|
+
MOBILE_PATH_ROUTE_MAP: () => MOBILE_PATH_ROUTE_MAP,
|
|
95
98
|
MultiSeparator: () => MultiSeparator,
|
|
96
99
|
NegativeMode: () => NegativeMode,
|
|
97
100
|
NumberFormats: () => NumberFormats,
|
|
98
101
|
NumberValueType: () => NumberValueType,
|
|
99
102
|
OlapResponseBase: () => OlapResponseBase,
|
|
100
103
|
OpenEventTypeEnum: () => OpenEventTypeEnum,
|
|
104
|
+
OpenPageTypeEnum: () => OpenPageTypeEnum,
|
|
101
105
|
OperationMenuItem: () => OperationMenuItem,
|
|
102
106
|
OperationTypes: () => OperationTypes,
|
|
103
107
|
OriginDateType: () => OriginDateType,
|
|
108
|
+
PATH_ROUTE_MAP: () => PATH_ROUTE_MAP,
|
|
104
109
|
ParamDataType: () => ParamDataType,
|
|
105
110
|
PermissionPageType: () => PermissionPageType,
|
|
106
111
|
PhysicalSchema: () => PhysicalSchema,
|
|
@@ -135,7 +140,8 @@ __export(src_exports, {
|
|
|
135
140
|
TableType: () => TableType,
|
|
136
141
|
UsePermitType: () => UsePermitType,
|
|
137
142
|
VerticalAlignTypes: () => VerticalAlignTypes,
|
|
138
|
-
VirtualFieldOperation: () => VirtualFieldOperation
|
|
143
|
+
VirtualFieldOperation: () => VirtualFieldOperation,
|
|
144
|
+
dataBaseType: () => dataBaseType
|
|
139
145
|
});
|
|
140
146
|
module.exports = __toCommonJS(src_exports);
|
|
141
147
|
|
|
@@ -400,6 +406,21 @@ var DataConfigAreaItemColumn = function DataConfigAreaItemColumn2() {
|
|
|
400
406
|
_define_property2(this, "fillDateRange", void 0);
|
|
401
407
|
_define_property2(this, "groupSortInfo", void 0);
|
|
402
408
|
};
|
|
409
|
+
var ContrastType;
|
|
410
|
+
(function(ContrastType2) {
|
|
411
|
+
ContrastType2["DAY_DAY_RING_RATIO"] = "day_day";
|
|
412
|
+
ContrastType2["DAY_WEEK_RATIO"] = "day_week";
|
|
413
|
+
ContrastType2["DAY_MONTH_RATIO"] = "day_month";
|
|
414
|
+
ContrastType2["DAY_YEAR_RATIO"] = "day_year";
|
|
415
|
+
ContrastType2["WEEK_WEEK_RING_RATIO"] = "week_week";
|
|
416
|
+
ContrastType2["WEEK_YEAR_RATIO"] = "week_year";
|
|
417
|
+
ContrastType2["MONTH_MONTH_RING_RATIO"] = "month_month";
|
|
418
|
+
ContrastType2["MONTH_YEAR_RATIO"] = "month_year";
|
|
419
|
+
ContrastType2["QUARTER_QUARTER_RING_RATIO"] = "quarter_quarter";
|
|
420
|
+
ContrastType2["QUARTER_YEAR_RATIO"] = "quarter_year";
|
|
421
|
+
ContrastType2["YEAR_YEAR_RING_RATIO"] = "year_year";
|
|
422
|
+
ContrastType2["DYNAMIC_RING_RATIO"] = "dynamic";
|
|
423
|
+
})(ContrastType || (ContrastType = {}));
|
|
403
424
|
|
|
404
425
|
// src/basic/bi-types/src/data-panel/data-schema-item.ts
|
|
405
426
|
function _class_call_check3(instance, Constructor) {
|
|
@@ -766,6 +787,10 @@ var ScreenComponentType;
|
|
|
766
787
|
ScreenComponentType2["THRESHOLD_FLIPPER"] = "threshold_flipper";
|
|
767
788
|
ScreenComponentType2["PROGRESS"] = "progress";
|
|
768
789
|
ScreenComponentType2["CIRCULAR_PROGRESS"] = "circular_progress";
|
|
790
|
+
ScreenComponentType2["WATERWAVE_PROGRESS"] = "waterwave_progress";
|
|
791
|
+
ScreenComponentType2["GAUGE"] = "gauge_chart";
|
|
792
|
+
ScreenComponentType2["BUBBLE"] = "bubble_chart";
|
|
793
|
+
ScreenComponentType2["SANKEY"] = "sankey_chart";
|
|
769
794
|
ScreenComponentType2["RANKING_LIST"] = "ranking_list";
|
|
770
795
|
ScreenComponentType2["PROPORTION_RANKING_LIST"] = "proportion_ranking_list";
|
|
771
796
|
ScreenComponentType2["COMMON_TABLE"] = "common_table";
|
|
@@ -976,7 +1001,11 @@ _define_property5(_obj, "multi_layer_map", 1038), /** 大屏日期选择 */
|
|
|
976
1001
|
_define_property5(_obj, "date_selector", 1039), /**
|
|
977
1002
|
* 富文本组件
|
|
978
1003
|
*/
|
|
979
|
-
_define_property5(_obj, "rich_text", 1040),
|
|
1004
|
+
_define_property5(_obj, "rich_text", 1040), /** 大屏水波进度条 */
|
|
1005
|
+
_define_property5(_obj, "waterwave_progress", 1041), /** 大屏仪表盘 */
|
|
1006
|
+
_define_property5(_obj, "gauge_chart", 1042), /** 大屏桑基图 */
|
|
1007
|
+
_define_property5(_obj, "sankey_chart", 1043), /** 大屏气泡图 */
|
|
1008
|
+
_define_property5(_obj, "bubble_chart", 1044), _obj);
|
|
980
1009
|
var ChartType;
|
|
981
1010
|
(function(ChartType2) {
|
|
982
1011
|
ChartType2["ROOT"] = "root";
|
|
@@ -1294,6 +1323,7 @@ var EtlProductStatus;
|
|
|
1294
1323
|
// src/basic/bi-types/src/ui/page-header.ts
|
|
1295
1324
|
var ResourcePageHeaderGroupEnum;
|
|
1296
1325
|
(function(ResourcePageHeaderGroupEnum2) {
|
|
1326
|
+
ResourcePageHeaderGroupEnum2["auth"] = "auth";
|
|
1297
1327
|
ResourcePageHeaderGroupEnum2["setting"] = "setting";
|
|
1298
1328
|
ResourcePageHeaderGroupEnum2["state"] = "state";
|
|
1299
1329
|
ResourcePageHeaderGroupEnum2["action"] = "action";
|
|
@@ -1910,6 +1940,9 @@ var DsType;
|
|
|
1910
1940
|
DsType2["aloudata_can"] = "aloudata_can";
|
|
1911
1941
|
DsType2["oscar"] = "oscar";
|
|
1912
1942
|
DsType2["dms"] = "dms";
|
|
1943
|
+
DsType2["selectdb"] = "selectdb";
|
|
1944
|
+
DsType2["databricks"] = "databricks";
|
|
1945
|
+
DsType2["bigquery"] = "bigquery";
|
|
1913
1946
|
})(DsType || (DsType = {}));
|
|
1914
1947
|
var AcrossDsType;
|
|
1915
1948
|
(function(AcrossDsType2) {
|
|
@@ -1939,6 +1972,30 @@ var DataSourceSort;
|
|
|
1939
1972
|
DataSourceSort2[DataSourceSort2["LING_YANG_ONE"] = 6] = "LING_YANG_ONE";
|
|
1940
1973
|
DataSourceSort2[DataSourceSort2["OTHER_DATASOURCE"] = 7] = "OTHER_DATASOURCE";
|
|
1941
1974
|
})(DataSourceSort || (DataSourceSort = {}));
|
|
1975
|
+
var DataSourcesConfigId;
|
|
1976
|
+
(function(DataSourcesConfigId2) {
|
|
1977
|
+
DataSourcesConfigId2["cloud"] = "cloud";
|
|
1978
|
+
DataSourcesConfigId2["local"] = "local";
|
|
1979
|
+
DataSourcesConfigId2["database"] = "database";
|
|
1980
|
+
DataSourcesConfigId2["application"] = "application";
|
|
1981
|
+
DataSourcesConfigId2["other"] = "other";
|
|
1982
|
+
DataSourcesConfigId2["api"] = "api";
|
|
1983
|
+
DataSourcesConfigId2["tencent"] = "tencent";
|
|
1984
|
+
DataSourcesConfigId2["huawei"] = "huawei";
|
|
1985
|
+
DataSourcesConfigId2["microsoft"] = "microsoft";
|
|
1986
|
+
DataSourcesConfigId2["aws"] = "aws";
|
|
1987
|
+
DataSourcesConfigId2["google"] = "google";
|
|
1988
|
+
DataSourcesConfigId2["customDs"] = "customDs";
|
|
1989
|
+
})(DataSourcesConfigId || (DataSourcesConfigId = {}));
|
|
1990
|
+
var dataBaseType = [
|
|
1991
|
+
"cloud",
|
|
1992
|
+
"local",
|
|
1993
|
+
"aws",
|
|
1994
|
+
"huawei",
|
|
1995
|
+
"tencent",
|
|
1996
|
+
"microsoft",
|
|
1997
|
+
"google"
|
|
1998
|
+
];
|
|
1942
1999
|
|
|
1943
2000
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
1944
2001
|
var CustomMenuMode;
|
|
@@ -1947,6 +2004,16 @@ var CustomMenuMode;
|
|
|
1947
2004
|
CustomMenuMode2[CustomMenuMode2["pack"] = 2] = "pack";
|
|
1948
2005
|
})(CustomMenuMode || (CustomMenuMode = {}));
|
|
1949
2006
|
|
|
2007
|
+
// src/basic/bi-types/src/open/common/page-types.ts
|
|
2008
|
+
var OpenPageTypeEnum;
|
|
2009
|
+
(function(OpenPageTypeEnum2) {
|
|
2010
|
+
OpenPageTypeEnum2["dashboard"] = "dashboard";
|
|
2011
|
+
OpenPageTypeEnum2["webExcel"] = "webExcel";
|
|
2012
|
+
OpenPageTypeEnum2["screen"] = "screen";
|
|
2013
|
+
OpenPageTypeEnum2["offline"] = "offline";
|
|
2014
|
+
OpenPageTypeEnum2["analysis"] = "analysis";
|
|
2015
|
+
})(OpenPageTypeEnum || (OpenPageTypeEnum = {}));
|
|
2016
|
+
|
|
1950
2017
|
// src/basic/bi-types/src/router/route-key.ts
|
|
1951
2018
|
var RouteKey;
|
|
1952
2019
|
(function(RouteKey2) {
|
|
@@ -1964,6 +2031,7 @@ var RouteKey;
|
|
|
1964
2031
|
RouteKey2["userTagDetailManage"] = "userTagDetailManage";
|
|
1965
2032
|
RouteKey2["tagManage"] = "tagManage";
|
|
1966
2033
|
RouteKey2["userRoleManage"] = "userRoleManage";
|
|
2034
|
+
RouteKey2["orgAdminCommon"] = "orgAdminCommon";
|
|
1967
2035
|
RouteKey2["orgAdminSpace"] = "orgAdminSpace";
|
|
1968
2036
|
RouteKey2["orgAdminWorkspace"] = "orgAdminWorkspace";
|
|
1969
2037
|
RouteKey2["orgAdminWorkspaceInfo"] = "orgAdminWorkspaceInfo";
|
|
@@ -2033,6 +2101,7 @@ var RouteKey;
|
|
|
2033
2101
|
RouteKey2["orgDatasetPerformance"] = "orgDatasetPerformance";
|
|
2034
2102
|
RouteKey2["orgDashboardPerformance"] = "orgDashboardPerformance";
|
|
2035
2103
|
RouteKey2["orgAdminAnalysis"] = "orgAdminAnalysis";
|
|
2104
|
+
RouteKey2["orgAdminProductAuthManage"] = "orgAdminProductAuthManage";
|
|
2036
2105
|
RouteKey2["orgAdminResource"] = "orgAdminResource";
|
|
2037
2106
|
RouteKey2["orgAdminResourceConfig"] = "orgAdminResourceConfig";
|
|
2038
2107
|
RouteKey2["orgAdminResourceRecord"] = "orgAdminResourceRecord";
|
|
@@ -2087,10 +2156,15 @@ var RouteKey;
|
|
|
2087
2156
|
RouteKey2["viewMonitor"] = "viewMonitor";
|
|
2088
2157
|
RouteKey2["viewSearch"] = "viewSearch";
|
|
2089
2158
|
RouteKey2["viewSharedContentOnly"] = "viewSharedContentOnly";
|
|
2159
|
+
RouteKey2["viewWordAgent"] = "viewWordAgent";
|
|
2090
2160
|
RouteKey2["viewPortal"] = "viewPortal";
|
|
2091
2161
|
RouteKey2["viewCategory"] = "viewCategory";
|
|
2092
2162
|
RouteKey2["copilotHome"] = "copilotHome";
|
|
2163
|
+
RouteKey2["wordAgentHome"] = "wordAgentHome";
|
|
2093
2164
|
RouteKey2["embedModule"] = "embedModule";
|
|
2165
|
+
RouteKey2["biAgentUserConfig"] = "biAgentUserConfig";
|
|
2166
|
+
RouteKey2["upgradeTable"] = "upgradeTable";
|
|
2167
|
+
RouteKey2["accountFailure"] = "accountFailure";
|
|
2094
2168
|
RouteKey2["workPlatform"] = "workPlatform";
|
|
2095
2169
|
RouteKey2["workspace"] = "workspace";
|
|
2096
2170
|
RouteKey2["portalList"] = "portalList";
|
|
@@ -2176,12 +2250,15 @@ var RouteKey;
|
|
|
2176
2250
|
RouteKey2["opsLicense"] = "opsLicense";
|
|
2177
2251
|
RouteKey2["opsTenantManage"] = "opsTenantManage";
|
|
2178
2252
|
RouteKey2["opsApply"] = "opsApply";
|
|
2253
|
+
RouteKey2["opsCopilotOfficialAgent"] = "opsCopilotOfficialAgent";
|
|
2179
2254
|
RouteKey2["opsLoginConfig"] = "opsLoginConfig";
|
|
2180
2255
|
RouteKey2["opsLoginSystemConfig"] = "opsLoginSystemConfig";
|
|
2181
2256
|
RouteKey2["opsSystemConfig"] = "opsSystemConfig";
|
|
2182
2257
|
RouteKey2["docsManageMenus"] = "docsManageMenus";
|
|
2183
2258
|
RouteKey2["docsManageItems"] = "docsManageItems";
|
|
2184
2259
|
RouteKey2["mobileEntry"] = "mobileEntry";
|
|
2260
|
+
RouteKey2["mobileWebSite"] = "mobileWebSite";
|
|
2261
|
+
RouteKey2["mobileHomeEntry"] = "mobileHomeEntry";
|
|
2185
2262
|
RouteKey2["mobileRoot"] = "mobileRoot";
|
|
2186
2263
|
RouteKey2["mobileHome"] = "mobileHome";
|
|
2187
2264
|
RouteKey2["mobileCommon"] = "mobileCommon";
|
|
@@ -2219,6 +2296,12 @@ var RouteKey;
|
|
|
2219
2296
|
RouteKey2["templateSuper"] = "templateSuper";
|
|
2220
2297
|
RouteKey2["templateNlPublic"] = "templateNlPublic";
|
|
2221
2298
|
RouteKey2["templateNlPreView"] = "templateNlPreView";
|
|
2299
|
+
RouteKey2["templateVisualization"] = "templateVisualization";
|
|
2300
|
+
RouteKey2["loginRoot"] = "loginRoot";
|
|
2301
|
+
RouteKey2["loginSystemConfig"] = "loginSystemConfig";
|
|
2302
|
+
RouteKey2["loginAuthConfig"] = "loginAuthConfig";
|
|
2303
|
+
RouteKey2["login"] = "login";
|
|
2304
|
+
RouteKey2["loginMicro"] = "loginMicro";
|
|
2222
2305
|
RouteKey2["biAgent"] = "biAgent";
|
|
2223
2306
|
RouteKey2["biAgentHome"] = "biAgentHome";
|
|
2224
2307
|
RouteKey2["biAgentTracking"] = "biAgentTracking";
|
|
@@ -2226,8 +2309,13 @@ var RouteKey;
|
|
|
2226
2309
|
RouteKey2["biAgentSettings"] = "biAgentSettings";
|
|
2227
2310
|
RouteKey2["biAgentHomePostDetail"] = "biAgentHomePostDetail";
|
|
2228
2311
|
RouteKey2["biAgentTrackingPostDetail"] = "biAgentTrackingPostDetail";
|
|
2229
|
-
RouteKey2["
|
|
2230
|
-
RouteKey2["
|
|
2312
|
+
RouteKey2["monitorScreenshot"] = "monitorScreenshot";
|
|
2313
|
+
RouteKey2["dingDoc"] = "dingDoc";
|
|
2314
|
+
RouteKey2["wordAgentRoot"] = "wordAgentRoot";
|
|
2315
|
+
RouteKey2["wordAgentEdit"] = "wordAgentEdit";
|
|
2316
|
+
RouteKey2["wordAgentView"] = "wordAgentView";
|
|
2317
|
+
RouteKey2["wordAgentFilePreview"] = "wordAgentFilePreview";
|
|
2318
|
+
RouteKey2["wordAgentPublicView"] = "wordAgentPublicView";
|
|
2231
2319
|
RouteKey2["dashboardScreenRoot"] = "dashboardScreenRoot";
|
|
2232
2320
|
RouteKey2["dashboardScreenEdit"] = "dashboardScreenEdit";
|
|
2233
2321
|
RouteKey2["dashboardScreenView"] = "dashboardScreenView";
|
|
@@ -2253,6 +2341,10 @@ var ROUTE_TREE = {
|
|
|
2253
2341
|
key: RouteKey.orgAdmin,
|
|
2254
2342
|
path: "/org/admin",
|
|
2255
2343
|
children: [
|
|
2344
|
+
{
|
|
2345
|
+
key: RouteKey.orgAdminCommon,
|
|
2346
|
+
path: "/org/admin/:tab/:tag"
|
|
2347
|
+
},
|
|
2256
2348
|
{
|
|
2257
2349
|
key: RouteKey.orgAdminInfo,
|
|
2258
2350
|
path: "/org/admin/info",
|
|
@@ -2635,6 +2727,11 @@ var ROUTE_TREE = {
|
|
|
2635
2727
|
path: "/org/admin/biAgents/performanceAssistant"
|
|
2636
2728
|
}
|
|
2637
2729
|
]
|
|
2730
|
+
},
|
|
2731
|
+
/** 组织管理-产品权限管理 */
|
|
2732
|
+
{
|
|
2733
|
+
key: RouteKey.orgAdminProductAuthManage,
|
|
2734
|
+
path: "/org/admin/productAuthManage"
|
|
2638
2735
|
}
|
|
2639
2736
|
]
|
|
2640
2737
|
},
|
|
@@ -2973,17 +3070,37 @@ var ROUTE_TREE = {
|
|
|
2973
3070
|
key: RouteKey.copilotHome,
|
|
2974
3071
|
path: "/copilotPage"
|
|
2975
3072
|
},
|
|
3073
|
+
/** 小Q报告 */
|
|
3074
|
+
{
|
|
3075
|
+
key: RouteKey.wordAgentHome,
|
|
3076
|
+
path: "/copilotPage/qreport"
|
|
3077
|
+
},
|
|
2976
3078
|
/** 模块嵌入 */
|
|
2977
3079
|
{
|
|
2978
3080
|
key: RouteKey.embedModule,
|
|
2979
3081
|
path: "/embed/module"
|
|
3082
|
+
},
|
|
3083
|
+
/** biAgent用户配置 */
|
|
3084
|
+
{
|
|
3085
|
+
key: RouteKey.biAgentUserConfig,
|
|
3086
|
+
path: "/biAgents/userConfig"
|
|
3087
|
+
},
|
|
3088
|
+
/** 老交叉表、老电子表格升级列表页 */
|
|
3089
|
+
{
|
|
3090
|
+
key: RouteKey.upgradeTable,
|
|
3091
|
+
path: "/upgradeTable.htm"
|
|
3092
|
+
},
|
|
3093
|
+
/** 账号失效页面 */
|
|
3094
|
+
{
|
|
3095
|
+
key: RouteKey.accountFailure,
|
|
3096
|
+
path: "/accountFailure"
|
|
2980
3097
|
}
|
|
2981
3098
|
]
|
|
2982
3099
|
},
|
|
2983
3100
|
/** 智能小Q */
|
|
2984
3101
|
{
|
|
2985
3102
|
key: RouteKey.copilotRoot,
|
|
2986
|
-
path: "/
|
|
3103
|
+
path: "/copilotRoot",
|
|
2987
3104
|
children: [
|
|
2988
3105
|
{
|
|
2989
3106
|
key: RouteKey.copilotView,
|
|
@@ -3052,7 +3169,7 @@ var ROUTE_TREE = {
|
|
|
3052
3169
|
/** 仪表板 */
|
|
3053
3170
|
{
|
|
3054
3171
|
key: RouteKey.dashboardRoot,
|
|
3055
|
-
path: "/
|
|
3172
|
+
path: "/dashboardRoot",
|
|
3056
3173
|
children: [
|
|
3057
3174
|
{
|
|
3058
3175
|
key: RouteKey.dashboardView,
|
|
@@ -3257,6 +3374,10 @@ var ROUTE_TREE = {
|
|
|
3257
3374
|
key: RouteKey.opsLoginSystemConfig,
|
|
3258
3375
|
path: "/opscenter/loginSystemConfig"
|
|
3259
3376
|
},
|
|
3377
|
+
{
|
|
3378
|
+
key: RouteKey.opsCopilotOfficialAgent,
|
|
3379
|
+
path: "/opscenter/copilot/officialAgent"
|
|
3380
|
+
},
|
|
3260
3381
|
{
|
|
3261
3382
|
key: RouteKey.opsSystemConfig,
|
|
3262
3383
|
path: "/opscenter/sysconfig"
|
|
@@ -3271,11 +3392,23 @@ var ROUTE_TREE = {
|
|
|
3271
3392
|
}
|
|
3272
3393
|
]
|
|
3273
3394
|
},
|
|
3274
|
-
/** 移动端入口
|
|
3395
|
+
/** 移动端入口
|
|
3396
|
+
* 不放在移动端Root中是因为不是一个路由环境, 此处仅作为入口
|
|
3397
|
+
*/
|
|
3275
3398
|
{
|
|
3276
3399
|
key: RouteKey.mobileEntry,
|
|
3277
3400
|
path: "/m/"
|
|
3278
3401
|
},
|
|
3402
|
+
/** 移动端免登页 */
|
|
3403
|
+
{
|
|
3404
|
+
key: RouteKey.mobileWebSite,
|
|
3405
|
+
path: "/m/website"
|
|
3406
|
+
},
|
|
3407
|
+
/** 移动端微应用-首页入口 */
|
|
3408
|
+
{
|
|
3409
|
+
key: RouteKey.mobileHomeEntry,
|
|
3410
|
+
path: "/m/home"
|
|
3411
|
+
},
|
|
3279
3412
|
{
|
|
3280
3413
|
/** 移动端微应用 */
|
|
3281
3414
|
key: RouteKey.mobileRoot,
|
|
@@ -3409,6 +3542,10 @@ var ROUTE_TREE = {
|
|
|
3409
3542
|
{
|
|
3410
3543
|
key: RouteKey.templateNlPreView,
|
|
3411
3544
|
path: "/template/nl/preview"
|
|
3545
|
+
},
|
|
3546
|
+
{
|
|
3547
|
+
key: RouteKey.templateVisualization,
|
|
3548
|
+
path: "/template/extended_visualization"
|
|
3412
3549
|
}
|
|
3413
3550
|
]
|
|
3414
3551
|
},
|
|
@@ -3426,6 +3563,11 @@ var ROUTE_TREE = {
|
|
|
3426
3563
|
}
|
|
3427
3564
|
]
|
|
3428
3565
|
},
|
|
3566
|
+
/** 监控截图 */
|
|
3567
|
+
{
|
|
3568
|
+
key: RouteKey.monitorScreenshot,
|
|
3569
|
+
path: "/token3rd/monitor/card.htm"
|
|
3570
|
+
},
|
|
3429
3571
|
/** 观星台 */
|
|
3430
3572
|
{
|
|
3431
3573
|
key: RouteKey.biAgent,
|
|
@@ -3457,10 +3599,51 @@ var ROUTE_TREE = {
|
|
|
3457
3599
|
}
|
|
3458
3600
|
]
|
|
3459
3601
|
},
|
|
3602
|
+
/** 钉钉文档嵌入页 */
|
|
3603
|
+
{
|
|
3604
|
+
key: RouteKey.dingDoc,
|
|
3605
|
+
path: "/dingDoc.htm"
|
|
3606
|
+
},
|
|
3607
|
+
/** 小Q报告 */
|
|
3608
|
+
{
|
|
3609
|
+
key: RouteKey.wordAgentRoot,
|
|
3610
|
+
path: "/qreport",
|
|
3611
|
+
children: [
|
|
3612
|
+
{
|
|
3613
|
+
key: RouteKey.wordAgentView,
|
|
3614
|
+
path: "/qreport/view.htm"
|
|
3615
|
+
},
|
|
3616
|
+
{
|
|
3617
|
+
key: RouteKey.wordAgentEdit,
|
|
3618
|
+
path: "/qreport/edit.htm"
|
|
3619
|
+
},
|
|
3620
|
+
{
|
|
3621
|
+
key: RouteKey.wordAgentPublicView,
|
|
3622
|
+
path: "/token3rd/qreport/view.htm"
|
|
3623
|
+
},
|
|
3624
|
+
{
|
|
3625
|
+
key: RouteKey.wordAgentFilePreview,
|
|
3626
|
+
path: "/qreport/file-view.htm"
|
|
3627
|
+
}
|
|
3628
|
+
]
|
|
3629
|
+
},
|
|
3630
|
+
/** 登陆页 */
|
|
3460
3631
|
{
|
|
3461
3632
|
key: RouteKey.loginRoot,
|
|
3462
3633
|
path: "/auth_sso",
|
|
3463
3634
|
children: [
|
|
3635
|
+
{
|
|
3636
|
+
key: RouteKey.loginSystemConfig,
|
|
3637
|
+
path: "/auth_sso/login/systemConfig.htm"
|
|
3638
|
+
},
|
|
3639
|
+
{
|
|
3640
|
+
key: RouteKey.loginAuthConfig,
|
|
3641
|
+
path: "/auth_sso/login/config.htm"
|
|
3642
|
+
},
|
|
3643
|
+
{
|
|
3644
|
+
key: RouteKey.login,
|
|
3645
|
+
path: "/auth_sso/login/login.htm"
|
|
3646
|
+
},
|
|
3464
3647
|
{
|
|
3465
3648
|
key: RouteKey.loginMicro,
|
|
3466
3649
|
path: "/auth_sso/login/microLogin.htm"
|
|
@@ -3488,20 +3671,42 @@ var ROUTE_TREE = {
|
|
|
3488
3671
|
}
|
|
3489
3672
|
]
|
|
3490
3673
|
};
|
|
3491
|
-
var
|
|
3492
|
-
|
|
3493
|
-
|
|
3674
|
+
var ROUTE_PATH_MAP = {};
|
|
3675
|
+
var PATH_ROUTE_MAP = {};
|
|
3676
|
+
var DYNAMIC_PATH_ROUTE_MAP = {};
|
|
3677
|
+
var MOBILE_PATH_ROUTE_MAP = {};
|
|
3678
|
+
function traverseRouteTree(node) {
|
|
3679
|
+
var isMobile = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
3680
|
+
if (isMobile) {
|
|
3681
|
+
if (MOBILE_PATH_ROUTE_MAP[node.path]) {
|
|
3682
|
+
throw new Error("Duplicate path found: ".concat(node.path));
|
|
3683
|
+
}
|
|
3684
|
+
MOBILE_PATH_ROUTE_MAP[node.path] = node.key;
|
|
3685
|
+
} else {
|
|
3686
|
+
if (PATH_ROUTE_MAP[node.path]) {
|
|
3687
|
+
throw new Error("Duplicate path found: ".concat(node.path));
|
|
3688
|
+
}
|
|
3689
|
+
PATH_ROUTE_MAP[node.path] = node.key;
|
|
3690
|
+
}
|
|
3691
|
+
if (ROUTE_PATH_MAP[node.key]) {
|
|
3692
|
+
throw new Error("Duplicate RouteKey found: ".concat(node.key));
|
|
3693
|
+
}
|
|
3694
|
+
ROUTE_PATH_MAP[node.key] = node.path;
|
|
3695
|
+
if (node.path.includes(":")) {
|
|
3696
|
+
DYNAMIC_PATH_ROUTE_MAP[node.path] = node.key;
|
|
3697
|
+
}
|
|
3494
3698
|
if (node.children && node.children.length > 0) {
|
|
3495
3699
|
node.children.forEach(function(child) {
|
|
3496
|
-
|
|
3700
|
+
var childIsMobile = isMobile || child.key === RouteKey.mobileRoot;
|
|
3701
|
+
if (child.key === RouteKey.mobileRoot) {
|
|
3702
|
+
traverseRouteTree(child, true);
|
|
3703
|
+
} else {
|
|
3704
|
+
traverseRouteTree(child, childIsMobile);
|
|
3705
|
+
}
|
|
3497
3706
|
});
|
|
3498
3707
|
}
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
var ROUTE_PATH_MAP = traverseRouteTree(ROUTE_TREE);
|
|
3502
|
-
var MOBILE_ROUTE_PATH_MAP = traverseRouteTree(ROUTE_TREE.children.filter(function(item) {
|
|
3503
|
-
return item.key === RouteKey.mobileRoot;
|
|
3504
|
-
})[0]);
|
|
3708
|
+
}
|
|
3709
|
+
traverseRouteTree(ROUTE_TREE);
|
|
3505
3710
|
|
|
3506
3711
|
// src/basic/bi-types/src/permission-type.ts
|
|
3507
3712
|
var PermissionPageType;
|
|
@@ -3525,4 +3730,5 @@ var PermissionPageType;
|
|
|
3525
3730
|
PermissionPageType2["llmCubeTheme"] = "llmCubeTheme";
|
|
3526
3731
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
3527
3732
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
3733
|
+
PermissionPageType2["qReport"] = "qreport";
|
|
3528
3734
|
})(PermissionPageType || (PermissionPageType = {}));
|