@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/cjs/index.d.ts +404 -105
- package/cjs/index.js +465 -73
- package/esm/index.d.ts +404 -105
- package/esm/index.mjs +465 -73
- 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,18 +94,22 @@ __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,
|
|
107
|
+
OrgThemeMode: () => OrgThemeMode,
|
|
103
108
|
OriginDateType: () => OriginDateType,
|
|
109
|
+
PATH_ROUTE_MAP: () => PATH_ROUTE_MAP,
|
|
104
110
|
ParamDataType: () => ParamDataType,
|
|
105
111
|
PermissionPageType: () => PermissionPageType,
|
|
112
|
+
PersonalThemeMode: () => PersonalThemeMode,
|
|
106
113
|
PhysicalSchema: () => PhysicalSchema,
|
|
107
114
|
PhysicalTableType: () => PhysicalTableType,
|
|
108
115
|
PictureCoordinateType: () => PictureCoordinateType,
|
|
@@ -111,6 +118,7 @@ __export(src_exports, {
|
|
|
111
118
|
QueryAxisType: () => QueryAxisType,
|
|
112
119
|
ROUTE_PATH_MAP: () => ROUTE_PATH_MAP,
|
|
113
120
|
ROUTE_TREE: () => ROUTE_TREE,
|
|
121
|
+
ROUTE_TREE_MAP: () => ROUTE_TREE_MAP,
|
|
114
122
|
RegionGranularity: () => RegionGranularity,
|
|
115
123
|
ReportSummaryInsightType: () => ReportSummaryInsightType,
|
|
116
124
|
ResourcePageHeaderGroupEnum: () => ResourcePageHeaderGroupEnum,
|
|
@@ -135,7 +143,8 @@ __export(src_exports, {
|
|
|
135
143
|
TableType: () => TableType,
|
|
136
144
|
UsePermitType: () => UsePermitType,
|
|
137
145
|
VerticalAlignTypes: () => VerticalAlignTypes,
|
|
138
|
-
VirtualFieldOperation: () => VirtualFieldOperation
|
|
146
|
+
VirtualFieldOperation: () => VirtualFieldOperation,
|
|
147
|
+
dataBaseType: () => dataBaseType
|
|
139
148
|
});
|
|
140
149
|
module.exports = __toCommonJS(src_exports);
|
|
141
150
|
|
|
@@ -328,6 +337,7 @@ var TableType;
|
|
|
328
337
|
TableType2["accumulate"] = "accumulate";
|
|
329
338
|
TableType2["difference"] = "difference";
|
|
330
339
|
TableType2["moving"] = "moving";
|
|
340
|
+
TableType2["multiFieldCombination"] = "multiFieldCombination";
|
|
331
341
|
})(TableType || (TableType = {}));
|
|
332
342
|
var AccumulateCalcType;
|
|
333
343
|
(function(AccumulateCalcType2) {
|
|
@@ -395,11 +405,29 @@ var DataConfigAreaItemColumn = function DataConfigAreaItemColumn2() {
|
|
|
395
405
|
_define_property2(this, "percentileParams", void 0);
|
|
396
406
|
_define_property2(this, "differenceParams", void 0);
|
|
397
407
|
_define_property2(this, "movingCalculationParams", void 0);
|
|
408
|
+
_define_property2(this, "multiFieldCombinationParams", void 0);
|
|
398
409
|
_define_property2(this, "levels", void 0);
|
|
399
410
|
_define_property2(this, "auxiliaryFields", void 0);
|
|
400
411
|
_define_property2(this, "fillDateRange", void 0);
|
|
401
412
|
_define_property2(this, "groupSortInfo", void 0);
|
|
413
|
+
_define_property2(this, "isMultiField", void 0);
|
|
414
|
+
_define_property2(this, "parentFieldGuid", void 0);
|
|
402
415
|
};
|
|
416
|
+
var ContrastType;
|
|
417
|
+
(function(ContrastType2) {
|
|
418
|
+
ContrastType2["DAY_DAY_RING_RATIO"] = "day_day";
|
|
419
|
+
ContrastType2["DAY_WEEK_RATIO"] = "day_week";
|
|
420
|
+
ContrastType2["DAY_MONTH_RATIO"] = "day_month";
|
|
421
|
+
ContrastType2["DAY_YEAR_RATIO"] = "day_year";
|
|
422
|
+
ContrastType2["WEEK_WEEK_RING_RATIO"] = "week_week";
|
|
423
|
+
ContrastType2["WEEK_YEAR_RATIO"] = "week_year";
|
|
424
|
+
ContrastType2["MONTH_MONTH_RING_RATIO"] = "month_month";
|
|
425
|
+
ContrastType2["MONTH_YEAR_RATIO"] = "month_year";
|
|
426
|
+
ContrastType2["QUARTER_QUARTER_RING_RATIO"] = "quarter_quarter";
|
|
427
|
+
ContrastType2["QUARTER_YEAR_RATIO"] = "quarter_year";
|
|
428
|
+
ContrastType2["YEAR_YEAR_RING_RATIO"] = "year_year";
|
|
429
|
+
ContrastType2["DYNAMIC_RING_RATIO"] = "dynamic";
|
|
430
|
+
})(ContrastType || (ContrastType = {}));
|
|
403
431
|
|
|
404
432
|
// src/basic/bi-types/src/data-panel/data-schema-item.ts
|
|
405
433
|
function _class_call_check3(instance, Constructor) {
|
|
@@ -464,19 +492,20 @@ var ContrastTypes;
|
|
|
464
492
|
})(ContrastTypes || (ContrastTypes = {}));
|
|
465
493
|
var AdvanceCalTypes;
|
|
466
494
|
(function(AdvanceCalTypes2) {
|
|
495
|
+
AdvanceCalTypes2["none"] = "none";
|
|
496
|
+
AdvanceCalTypes2["contrast"] = "contrast";
|
|
467
497
|
AdvanceCalTypes2["increase"] = "increase";
|
|
498
|
+
AdvanceCalTypes2["count"] = "count";
|
|
468
499
|
AdvanceCalTypes2["percentRatio"] = "percentRatio";
|
|
500
|
+
AdvanceCalTypes2["proportion"] = "proportion";
|
|
469
501
|
AdvanceCalTypes2["rank"] = "rank";
|
|
470
|
-
AdvanceCalTypes2["none"] = "none";
|
|
471
502
|
AdvanceCalTypes2["topn"] = "topn";
|
|
472
|
-
AdvanceCalTypes2["count"] = "count";
|
|
473
503
|
AdvanceCalTypes2["percentile"] = "percentile";
|
|
474
|
-
AdvanceCalTypes2["
|
|
475
|
-
AdvanceCalTypes2["proportion"] = "proportion";
|
|
504
|
+
AdvanceCalTypes2["difference"] = "difference";
|
|
476
505
|
AdvanceCalTypes2["timeCompletion"] = "timeCompletion";
|
|
477
506
|
AdvanceCalTypes2["combinatorialCalculation"] = "combinatorialCalculation";
|
|
478
|
-
AdvanceCalTypes2["difference"] = "difference";
|
|
479
507
|
AdvanceCalTypes2["movingCalculation"] = "movingCalculation";
|
|
508
|
+
AdvanceCalTypes2["multiFieldCombination"] = "multiFieldCombination";
|
|
480
509
|
})(AdvanceCalTypes || (AdvanceCalTypes = {}));
|
|
481
510
|
var AdvanceCalcDateTypes;
|
|
482
511
|
(function(AdvanceCalcDateTypes2) {
|
|
@@ -766,6 +795,10 @@ var ScreenComponentType;
|
|
|
766
795
|
ScreenComponentType2["THRESHOLD_FLIPPER"] = "threshold_flipper";
|
|
767
796
|
ScreenComponentType2["PROGRESS"] = "progress";
|
|
768
797
|
ScreenComponentType2["CIRCULAR_PROGRESS"] = "circular_progress";
|
|
798
|
+
ScreenComponentType2["WATERWAVE_PROGRESS"] = "waterwave_progress";
|
|
799
|
+
ScreenComponentType2["GAUGE"] = "gauge_chart";
|
|
800
|
+
ScreenComponentType2["BUBBLE"] = "bubble_chart";
|
|
801
|
+
ScreenComponentType2["SANKEY"] = "sankey_chart";
|
|
769
802
|
ScreenComponentType2["RANKING_LIST"] = "ranking_list";
|
|
770
803
|
ScreenComponentType2["PROPORTION_RANKING_LIST"] = "proportion_ranking_list";
|
|
771
804
|
ScreenComponentType2["COMMON_TABLE"] = "common_table";
|
|
@@ -976,7 +1009,11 @@ _define_property5(_obj, "multi_layer_map", 1038), /** 大屏日期选择 */
|
|
|
976
1009
|
_define_property5(_obj, "date_selector", 1039), /**
|
|
977
1010
|
* 富文本组件
|
|
978
1011
|
*/
|
|
979
|
-
_define_property5(_obj, "rich_text", 1040),
|
|
1012
|
+
_define_property5(_obj, "rich_text", 1040), /** 大屏水波进度条 */
|
|
1013
|
+
_define_property5(_obj, "waterwave_progress", 1041), /** 大屏仪表盘 */
|
|
1014
|
+
_define_property5(_obj, "gauge_chart", 1042), /** 大屏桑基图 */
|
|
1015
|
+
_define_property5(_obj, "sankey_chart", 1043), /** 大屏气泡图 */
|
|
1016
|
+
_define_property5(_obj, "bubble_chart", 1044), _obj);
|
|
980
1017
|
var ChartType;
|
|
981
1018
|
(function(ChartType2) {
|
|
982
1019
|
ChartType2["ROOT"] = "root";
|
|
@@ -1294,12 +1331,27 @@ var EtlProductStatus;
|
|
|
1294
1331
|
// src/basic/bi-types/src/ui/page-header.ts
|
|
1295
1332
|
var ResourcePageHeaderGroupEnum;
|
|
1296
1333
|
(function(ResourcePageHeaderGroupEnum2) {
|
|
1334
|
+
ResourcePageHeaderGroupEnum2["auth"] = "auth";
|
|
1297
1335
|
ResourcePageHeaderGroupEnum2["setting"] = "setting";
|
|
1298
1336
|
ResourcePageHeaderGroupEnum2["state"] = "state";
|
|
1299
1337
|
ResourcePageHeaderGroupEnum2["action"] = "action";
|
|
1300
1338
|
ResourcePageHeaderGroupEnum2["menu"] = "menu";
|
|
1301
1339
|
})(ResourcePageHeaderGroupEnum || (ResourcePageHeaderGroupEnum = {}));
|
|
1302
1340
|
|
|
1341
|
+
// src/basic/bi-types/src/ui/theme.ts
|
|
1342
|
+
var PersonalThemeMode;
|
|
1343
|
+
(function(PersonalThemeMode2) {
|
|
1344
|
+
PersonalThemeMode2["light"] = "light";
|
|
1345
|
+
PersonalThemeMode2["dark"] = "dark";
|
|
1346
|
+
PersonalThemeMode2["system"] = "system";
|
|
1347
|
+
})(PersonalThemeMode || (PersonalThemeMode = {}));
|
|
1348
|
+
var OrgThemeMode;
|
|
1349
|
+
(function(OrgThemeMode2) {
|
|
1350
|
+
OrgThemeMode2["light"] = "light";
|
|
1351
|
+
OrgThemeMode2["dark"] = "dark";
|
|
1352
|
+
OrgThemeMode2["common"] = "common";
|
|
1353
|
+
})(OrgThemeMode || (OrgThemeMode = {}));
|
|
1354
|
+
|
|
1303
1355
|
// src/basic/bi-types/src/open/common/event-types.ts
|
|
1304
1356
|
var OpenEventTypeEnum;
|
|
1305
1357
|
(function(OpenEventTypeEnum2) {
|
|
@@ -1910,6 +1962,9 @@ var DsType;
|
|
|
1910
1962
|
DsType2["aloudata_can"] = "aloudata_can";
|
|
1911
1963
|
DsType2["oscar"] = "oscar";
|
|
1912
1964
|
DsType2["dms"] = "dms";
|
|
1965
|
+
DsType2["selectdb"] = "selectdb";
|
|
1966
|
+
DsType2["databricks"] = "databricks";
|
|
1967
|
+
DsType2["bigquery"] = "bigquery";
|
|
1913
1968
|
})(DsType || (DsType = {}));
|
|
1914
1969
|
var AcrossDsType;
|
|
1915
1970
|
(function(AcrossDsType2) {
|
|
@@ -1939,6 +1994,30 @@ var DataSourceSort;
|
|
|
1939
1994
|
DataSourceSort2[DataSourceSort2["LING_YANG_ONE"] = 6] = "LING_YANG_ONE";
|
|
1940
1995
|
DataSourceSort2[DataSourceSort2["OTHER_DATASOURCE"] = 7] = "OTHER_DATASOURCE";
|
|
1941
1996
|
})(DataSourceSort || (DataSourceSort = {}));
|
|
1997
|
+
var DataSourcesConfigId;
|
|
1998
|
+
(function(DataSourcesConfigId2) {
|
|
1999
|
+
DataSourcesConfigId2["cloud"] = "cloud";
|
|
2000
|
+
DataSourcesConfigId2["local"] = "local";
|
|
2001
|
+
DataSourcesConfigId2["database"] = "database";
|
|
2002
|
+
DataSourcesConfigId2["application"] = "application";
|
|
2003
|
+
DataSourcesConfigId2["other"] = "other";
|
|
2004
|
+
DataSourcesConfigId2["api"] = "api";
|
|
2005
|
+
DataSourcesConfigId2["tencent"] = "tencent";
|
|
2006
|
+
DataSourcesConfigId2["huawei"] = "huawei";
|
|
2007
|
+
DataSourcesConfigId2["microsoft"] = "microsoft";
|
|
2008
|
+
DataSourcesConfigId2["aws"] = "aws";
|
|
2009
|
+
DataSourcesConfigId2["google"] = "google";
|
|
2010
|
+
DataSourcesConfigId2["customDs"] = "customDs";
|
|
2011
|
+
})(DataSourcesConfigId || (DataSourcesConfigId = {}));
|
|
2012
|
+
var dataBaseType = [
|
|
2013
|
+
"cloud",
|
|
2014
|
+
"local",
|
|
2015
|
+
"aws",
|
|
2016
|
+
"huawei",
|
|
2017
|
+
"tencent",
|
|
2018
|
+
"microsoft",
|
|
2019
|
+
"google"
|
|
2020
|
+
];
|
|
1942
2021
|
|
|
1943
2022
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
1944
2023
|
var CustomMenuMode;
|
|
@@ -1947,6 +2026,16 @@ var CustomMenuMode;
|
|
|
1947
2026
|
CustomMenuMode2[CustomMenuMode2["pack"] = 2] = "pack";
|
|
1948
2027
|
})(CustomMenuMode || (CustomMenuMode = {}));
|
|
1949
2028
|
|
|
2029
|
+
// src/basic/bi-types/src/open/common/page-types.ts
|
|
2030
|
+
var OpenPageTypeEnum;
|
|
2031
|
+
(function(OpenPageTypeEnum2) {
|
|
2032
|
+
OpenPageTypeEnum2["dashboard"] = "dashboard";
|
|
2033
|
+
OpenPageTypeEnum2["webExcel"] = "webExcel";
|
|
2034
|
+
OpenPageTypeEnum2["screen"] = "screen";
|
|
2035
|
+
OpenPageTypeEnum2["offline"] = "offline";
|
|
2036
|
+
OpenPageTypeEnum2["analysis"] = "analysis";
|
|
2037
|
+
})(OpenPageTypeEnum || (OpenPageTypeEnum = {}));
|
|
2038
|
+
|
|
1950
2039
|
// src/basic/bi-types/src/router/route-key.ts
|
|
1951
2040
|
var RouteKey;
|
|
1952
2041
|
(function(RouteKey2) {
|
|
@@ -1964,6 +2053,7 @@ var RouteKey;
|
|
|
1964
2053
|
RouteKey2["userTagDetailManage"] = "userTagDetailManage";
|
|
1965
2054
|
RouteKey2["tagManage"] = "tagManage";
|
|
1966
2055
|
RouteKey2["userRoleManage"] = "userRoleManage";
|
|
2056
|
+
RouteKey2["orgAdminCommon"] = "orgAdminCommon";
|
|
1967
2057
|
RouteKey2["orgAdminSpace"] = "orgAdminSpace";
|
|
1968
2058
|
RouteKey2["orgAdminWorkspace"] = "orgAdminWorkspace";
|
|
1969
2059
|
RouteKey2["orgAdminWorkspaceInfo"] = "orgAdminWorkspaceInfo";
|
|
@@ -1986,12 +2076,14 @@ var RouteKey;
|
|
|
1986
2076
|
RouteKey2["orgAdminWxApiAuth"] = "orgAdminWxApiAuth";
|
|
1987
2077
|
RouteKey2["orgAdminFeishuApiAuth"] = "orgAdminFeishuApiAuth";
|
|
1988
2078
|
RouteKey2["orgAdminTeamsApiAuth"] = "orgAdminTeamsApiAuth";
|
|
2079
|
+
RouteKey2["orgAdminLarkApiAuth"] = "orgAdminLarkApiAuth";
|
|
1989
2080
|
RouteKey2["orgChannelRobot"] = "orgChannelRobot";
|
|
1990
2081
|
RouteKey2["orgPushLinkConfig"] = "orgPushLinkConfig";
|
|
1991
2082
|
RouteKey2["orgDingBucChannel"] = "orgDingBucChannel";
|
|
1992
2083
|
RouteKey2["orgDingChannel"] = "orgDingChannel";
|
|
1993
2084
|
RouteKey2["orgWeChatChannel"] = "orgWeChatChannel";
|
|
1994
2085
|
RouteKey2["orgFeiShuChannel"] = "orgFeiShuChannel";
|
|
2086
|
+
RouteKey2["orgLarkChannel"] = "orgLarkChannel";
|
|
1995
2087
|
RouteKey2["orgSmsChannel"] = "orgSmsChannel";
|
|
1996
2088
|
RouteKey2["orgEmailChannel"] = "orgEmailChannel";
|
|
1997
2089
|
RouteKey2["orgCustomChannel"] = "orgCustomChannel";
|
|
@@ -2033,14 +2125,15 @@ var RouteKey;
|
|
|
2033
2125
|
RouteKey2["orgDatasetPerformance"] = "orgDatasetPerformance";
|
|
2034
2126
|
RouteKey2["orgDashboardPerformance"] = "orgDashboardPerformance";
|
|
2035
2127
|
RouteKey2["orgAdminAnalysis"] = "orgAdminAnalysis";
|
|
2128
|
+
RouteKey2["orgAdminProductAuthManage"] = "orgAdminProductAuthManage";
|
|
2036
2129
|
RouteKey2["orgAdminResource"] = "orgAdminResource";
|
|
2037
2130
|
RouteKey2["orgAdminResourceConfig"] = "orgAdminResourceConfig";
|
|
2038
2131
|
RouteKey2["orgAdminResourceRecord"] = "orgAdminResourceRecord";
|
|
2039
2132
|
RouteKey2["orgAdminResourceDesc"] = "orgAdminResourceDesc";
|
|
2040
|
-
RouteKey2["
|
|
2041
|
-
RouteKey2["
|
|
2042
|
-
RouteKey2["
|
|
2043
|
-
RouteKey2["
|
|
2133
|
+
RouteKey2["orgAdminQMessage"] = "orgAdminQMessage";
|
|
2134
|
+
RouteKey2["orgAdminQMessageUserManage"] = "orgAdminQMessageUserManage";
|
|
2135
|
+
RouteKey2["orgAdminQMessageUserManageDetail"] = "orgAdminQMessageUserManageDetail";
|
|
2136
|
+
RouteKey2["orgAdminQMessagePerformanceAssistant"] = "orgAdminQMessagePerformanceAssistant";
|
|
2044
2137
|
RouteKey2["companyApply"] = "companyApply";
|
|
2045
2138
|
RouteKey2["downloadTask"] = "downloadTask";
|
|
2046
2139
|
RouteKey2["approvalCenter"] = "approvalCenter";
|
|
@@ -2089,8 +2182,17 @@ var RouteKey;
|
|
|
2089
2182
|
RouteKey2["viewSharedContentOnly"] = "viewSharedContentOnly";
|
|
2090
2183
|
RouteKey2["viewPortal"] = "viewPortal";
|
|
2091
2184
|
RouteKey2["viewCategory"] = "viewCategory";
|
|
2092
|
-
RouteKey2["
|
|
2185
|
+
RouteKey2["copilotPage"] = "copilotHome";
|
|
2186
|
+
RouteKey2["copilotPageSmartQ"] = "copilotPageSuperAgent";
|
|
2187
|
+
RouteKey2["copilotPageQChat"] = "copilotPageQChat";
|
|
2188
|
+
RouteKey2["copilotPageQInsight"] = "copilotPageQInsight";
|
|
2189
|
+
RouteKey2["copilotPageQReport"] = "copilotPageQReport";
|
|
2190
|
+
RouteKey2["copilotPageQDashboard"] = "copilotPageQDashboard";
|
|
2191
|
+
RouteKey2["copilotPageAgentList"] = "copilotPageAgentList";
|
|
2192
|
+
RouteKey2["copilotPageAgent"] = "copilotPageAgent";
|
|
2093
2193
|
RouteKey2["embedModule"] = "embedModule";
|
|
2194
|
+
RouteKey2["upgradeTable"] = "upgradeTable";
|
|
2195
|
+
RouteKey2["accountFailure"] = "accountFailure";
|
|
2094
2196
|
RouteKey2["workPlatform"] = "workPlatform";
|
|
2095
2197
|
RouteKey2["workspace"] = "workspace";
|
|
2096
2198
|
RouteKey2["portalList"] = "portalList";
|
|
@@ -2118,9 +2220,8 @@ var RouteKey;
|
|
|
2118
2220
|
RouteKey2["advanceVersion"] = "advanceVersion";
|
|
2119
2221
|
RouteKey2["workspacePreview"] = "workspacePreview";
|
|
2120
2222
|
RouteKey2["workspaceRecycle"] = "workspaceRecycle";
|
|
2121
|
-
RouteKey2["
|
|
2122
|
-
RouteKey2["
|
|
2123
|
-
RouteKey2["copilotPublicView"] = "copilotPublicView";
|
|
2223
|
+
RouteKey2["qChatEmbed"] = "qChatEmbed";
|
|
2224
|
+
RouteKey2["qChatPublicView"] = "qChatPublicView";
|
|
2124
2225
|
RouteKey2["portalRoot"] = "portalRoot";
|
|
2125
2226
|
RouteKey2["portalEdit"] = "portalEdit";
|
|
2126
2227
|
RouteKey2["portalView"] = "portalView";
|
|
@@ -2176,17 +2277,27 @@ var RouteKey;
|
|
|
2176
2277
|
RouteKey2["opsLicense"] = "opsLicense";
|
|
2177
2278
|
RouteKey2["opsTenantManage"] = "opsTenantManage";
|
|
2178
2279
|
RouteKey2["opsApply"] = "opsApply";
|
|
2280
|
+
RouteKey2["opsCopilotOfficialAgent"] = "opsCopilotOfficialAgent";
|
|
2179
2281
|
RouteKey2["opsLoginConfig"] = "opsLoginConfig";
|
|
2180
2282
|
RouteKey2["opsLoginSystemConfig"] = "opsLoginSystemConfig";
|
|
2181
2283
|
RouteKey2["opsSystemConfig"] = "opsSystemConfig";
|
|
2182
2284
|
RouteKey2["docsManageMenus"] = "docsManageMenus";
|
|
2183
2285
|
RouteKey2["docsManageItems"] = "docsManageItems";
|
|
2184
2286
|
RouteKey2["mobileEntry"] = "mobileEntry";
|
|
2287
|
+
RouteKey2["mobileWebSite"] = "mobileWebSite";
|
|
2288
|
+
RouteKey2["mobileHomeEntry"] = "mobileHomeEntry";
|
|
2185
2289
|
RouteKey2["mobileRoot"] = "mobileRoot";
|
|
2186
2290
|
RouteKey2["mobileHome"] = "mobileHome";
|
|
2187
2291
|
RouteKey2["mobileCommon"] = "mobileCommon";
|
|
2188
2292
|
RouteKey2["mobileCard"] = "mobileCard";
|
|
2189
2293
|
RouteKey2["mobileCopilot"] = "mobileCopilot";
|
|
2294
|
+
RouteKey2["mobileCopilotQChat"] = "mobileCopilotQChat";
|
|
2295
|
+
RouteKey2["mobileCopilotAgent"] = "mobileCopilotAgent";
|
|
2296
|
+
RouteKey2["mobileQMessage"] = "mobileQMessage";
|
|
2297
|
+
RouteKey2["mobileQMessageHome"] = "mobileQMessageHome";
|
|
2298
|
+
RouteKey2["mobileQMessageMine"] = "mobileQMessageMine";
|
|
2299
|
+
RouteKey2["mobileQMessageTeam"] = "mobileQMessageTeam";
|
|
2300
|
+
RouteKey2["mobileQMessagePostDetail"] = "mobileQMessagePostDetail";
|
|
2190
2301
|
RouteKey2["mobileData"] = "mobileData";
|
|
2191
2302
|
RouteKey2["mobileMine"] = "mobileMine";
|
|
2192
2303
|
RouteKey2["mobilePermission"] = "mobilePermission";
|
|
@@ -2219,15 +2330,19 @@ var RouteKey;
|
|
|
2219
2330
|
RouteKey2["templateSuper"] = "templateSuper";
|
|
2220
2331
|
RouteKey2["templateNlPublic"] = "templateNlPublic";
|
|
2221
2332
|
RouteKey2["templateNlPreView"] = "templateNlPreView";
|
|
2222
|
-
RouteKey2["
|
|
2223
|
-
RouteKey2["biAgentHome"] = "biAgentHome";
|
|
2224
|
-
RouteKey2["biAgentTracking"] = "biAgentTracking";
|
|
2225
|
-
RouteKey2["biAgentSmartQ"] = "biAgentSmartQ";
|
|
2226
|
-
RouteKey2["biAgentSettings"] = "biAgentSettings";
|
|
2227
|
-
RouteKey2["biAgentHomePostDetail"] = "biAgentHomePostDetail";
|
|
2228
|
-
RouteKey2["biAgentTrackingPostDetail"] = "biAgentTrackingPostDetail";
|
|
2333
|
+
RouteKey2["templateVisualization"] = "templateVisualization";
|
|
2229
2334
|
RouteKey2["loginRoot"] = "loginRoot";
|
|
2335
|
+
RouteKey2["loginSystemConfig"] = "loginSystemConfig";
|
|
2336
|
+
RouteKey2["loginAuthConfig"] = "loginAuthConfig";
|
|
2337
|
+
RouteKey2["login"] = "login";
|
|
2230
2338
|
RouteKey2["loginMicro"] = "loginMicro";
|
|
2339
|
+
RouteKey2["monitorScreenshot"] = "monitorScreenshot";
|
|
2340
|
+
RouteKey2["dingDoc"] = "dingDoc";
|
|
2341
|
+
RouteKey2["wordAgentRoot"] = "wordAgentRoot";
|
|
2342
|
+
RouteKey2["wordAgentEdit"] = "wordAgentEdit";
|
|
2343
|
+
RouteKey2["wordAgentView"] = "wordAgentView";
|
|
2344
|
+
RouteKey2["wordAgentFilePreview"] = "wordAgentFilePreview";
|
|
2345
|
+
RouteKey2["wordAgentPublicView"] = "wordAgentPublicView";
|
|
2231
2346
|
RouteKey2["dashboardScreenRoot"] = "dashboardScreenRoot";
|
|
2232
2347
|
RouteKey2["dashboardScreenEdit"] = "dashboardScreenEdit";
|
|
2233
2348
|
RouteKey2["dashboardScreenView"] = "dashboardScreenView";
|
|
@@ -2235,7 +2350,105 @@ var RouteKey;
|
|
|
2235
2350
|
})(RouteKey || (RouteKey = {}));
|
|
2236
2351
|
|
|
2237
2352
|
// src/basic/bi-types/src/router/route-tree.ts
|
|
2238
|
-
|
|
2353
|
+
function _array_like_to_array(arr, len) {
|
|
2354
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
2355
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2356
|
+
return arr2;
|
|
2357
|
+
}
|
|
2358
|
+
function _array_with_holes(arr) {
|
|
2359
|
+
if (Array.isArray(arr)) return arr;
|
|
2360
|
+
}
|
|
2361
|
+
function _define_property8(obj, key, value) {
|
|
2362
|
+
if (key in obj) {
|
|
2363
|
+
Object.defineProperty(obj, key, {
|
|
2364
|
+
value,
|
|
2365
|
+
enumerable: true,
|
|
2366
|
+
configurable: true,
|
|
2367
|
+
writable: true
|
|
2368
|
+
});
|
|
2369
|
+
} else {
|
|
2370
|
+
obj[key] = value;
|
|
2371
|
+
}
|
|
2372
|
+
return obj;
|
|
2373
|
+
}
|
|
2374
|
+
function _iterable_to_array_limit(arr, i) {
|
|
2375
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
2376
|
+
if (_i == null) return;
|
|
2377
|
+
var _arr = [];
|
|
2378
|
+
var _n = true;
|
|
2379
|
+
var _d = false;
|
|
2380
|
+
var _s, _e;
|
|
2381
|
+
try {
|
|
2382
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
2383
|
+
_arr.push(_s.value);
|
|
2384
|
+
if (i && _arr.length === i) break;
|
|
2385
|
+
}
|
|
2386
|
+
} catch (err) {
|
|
2387
|
+
_d = true;
|
|
2388
|
+
_e = err;
|
|
2389
|
+
} finally {
|
|
2390
|
+
try {
|
|
2391
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
2392
|
+
} finally {
|
|
2393
|
+
if (_d) throw _e;
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
return _arr;
|
|
2397
|
+
}
|
|
2398
|
+
function _non_iterable_rest() {
|
|
2399
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2400
|
+
}
|
|
2401
|
+
function _object_spread(target) {
|
|
2402
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
2403
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
2404
|
+
var ownKeys2 = Object.keys(source);
|
|
2405
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
2406
|
+
ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
2407
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
2408
|
+
}));
|
|
2409
|
+
}
|
|
2410
|
+
ownKeys2.forEach(function(key) {
|
|
2411
|
+
_define_property8(target, key, source[key]);
|
|
2412
|
+
});
|
|
2413
|
+
}
|
|
2414
|
+
return target;
|
|
2415
|
+
}
|
|
2416
|
+
function ownKeys(object, enumerableOnly) {
|
|
2417
|
+
var keys = Object.keys(object);
|
|
2418
|
+
if (Object.getOwnPropertySymbols) {
|
|
2419
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
2420
|
+
if (enumerableOnly) {
|
|
2421
|
+
symbols = symbols.filter(function(sym) {
|
|
2422
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
2423
|
+
});
|
|
2424
|
+
}
|
|
2425
|
+
keys.push.apply(keys, symbols);
|
|
2426
|
+
}
|
|
2427
|
+
return keys;
|
|
2428
|
+
}
|
|
2429
|
+
function _object_spread_props(target, source) {
|
|
2430
|
+
source = source != null ? source : {};
|
|
2431
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
2432
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
2433
|
+
} else {
|
|
2434
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
2435
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
2436
|
+
});
|
|
2437
|
+
}
|
|
2438
|
+
return target;
|
|
2439
|
+
}
|
|
2440
|
+
function _sliced_to_array(arr, i) {
|
|
2441
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
2442
|
+
}
|
|
2443
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
2444
|
+
if (!o) return;
|
|
2445
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
2446
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2447
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2448
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2449
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2450
|
+
}
|
|
2451
|
+
var ROUTE_TREE_CONFIG = {
|
|
2239
2452
|
key: RouteKey.root,
|
|
2240
2453
|
path: "/",
|
|
2241
2454
|
children: [
|
|
@@ -2253,6 +2466,10 @@ var ROUTE_TREE = {
|
|
|
2253
2466
|
key: RouteKey.orgAdmin,
|
|
2254
2467
|
path: "/org/admin",
|
|
2255
2468
|
children: [
|
|
2469
|
+
{
|
|
2470
|
+
key: RouteKey.orgAdminCommon,
|
|
2471
|
+
path: "/org/admin/:tab/:tag"
|
|
2472
|
+
},
|
|
2256
2473
|
{
|
|
2257
2474
|
key: RouteKey.orgAdminInfo,
|
|
2258
2475
|
path: "/org/admin/info",
|
|
@@ -2394,6 +2611,10 @@ var ROUTE_TREE = {
|
|
|
2394
2611
|
{
|
|
2395
2612
|
key: RouteKey.orgAdminTeamsApiAuth,
|
|
2396
2613
|
path: "/org/admin/software/teamsApiAuth"
|
|
2614
|
+
},
|
|
2615
|
+
{
|
|
2616
|
+
key: RouteKey.orgAdminLarkApiAuth,
|
|
2617
|
+
path: "/org/admin/software/larkApiAuth"
|
|
2397
2618
|
}
|
|
2398
2619
|
]
|
|
2399
2620
|
},
|
|
@@ -2421,6 +2642,10 @@ var ROUTE_TREE = {
|
|
|
2421
2642
|
key: RouteKey.orgFeiShuChannel,
|
|
2422
2643
|
path: "/org/admin/channelRobot/feiShuChannel"
|
|
2423
2644
|
},
|
|
2645
|
+
{
|
|
2646
|
+
key: RouteKey.orgLarkChannel,
|
|
2647
|
+
path: "/org/admin/channelRobot/larkChannel"
|
|
2648
|
+
},
|
|
2424
2649
|
{
|
|
2425
2650
|
key: RouteKey.orgSmsChannel,
|
|
2426
2651
|
path: "/org/admin/channelRobot/smsChannel"
|
|
@@ -2619,22 +2844,27 @@ var ROUTE_TREE = {
|
|
|
2619
2844
|
},
|
|
2620
2845
|
/** 数据头条 */
|
|
2621
2846
|
{
|
|
2622
|
-
key: RouteKey.
|
|
2623
|
-
path: "/org/admin/
|
|
2847
|
+
key: RouteKey.orgAdminQMessage,
|
|
2848
|
+
path: "/org/admin/qMessage",
|
|
2624
2849
|
children: [
|
|
2625
2850
|
{
|
|
2626
|
-
key: RouteKey.
|
|
2627
|
-
path: "/org/admin/
|
|
2851
|
+
key: RouteKey.orgAdminQMessageUserManage,
|
|
2852
|
+
path: "/org/admin/qMessage/userManage"
|
|
2628
2853
|
},
|
|
2629
2854
|
{
|
|
2630
|
-
key: RouteKey.
|
|
2631
|
-
path: "/org/admin/
|
|
2855
|
+
key: RouteKey.orgAdminQMessageUserManageDetail,
|
|
2856
|
+
path: "/org/admin/qMessage/userManage/userDetail/:userId"
|
|
2632
2857
|
},
|
|
2633
2858
|
{
|
|
2634
|
-
key: RouteKey.
|
|
2635
|
-
path: "/org/admin/
|
|
2859
|
+
key: RouteKey.orgAdminQMessagePerformanceAssistant,
|
|
2860
|
+
path: "/org/admin/qMessage/performanceAssistant"
|
|
2636
2861
|
}
|
|
2637
2862
|
]
|
|
2863
|
+
},
|
|
2864
|
+
/** 组织管理-产品权限管理 */
|
|
2865
|
+
{
|
|
2866
|
+
key: RouteKey.orgAdminProductAuthManage,
|
|
2867
|
+
path: "/org/admin/productAuthManage"
|
|
2638
2868
|
}
|
|
2639
2869
|
]
|
|
2640
2870
|
},
|
|
@@ -2968,29 +3198,66 @@ var ROUTE_TREE = {
|
|
|
2968
3198
|
}
|
|
2969
3199
|
]
|
|
2970
3200
|
},
|
|
2971
|
-
/**
|
|
3201
|
+
/** 智能小Q */
|
|
2972
3202
|
{
|
|
2973
|
-
key: RouteKey.
|
|
2974
|
-
path: "/copilotPage"
|
|
3203
|
+
key: RouteKey.copilotPage,
|
|
3204
|
+
path: "/copilotPage",
|
|
3205
|
+
children: [
|
|
3206
|
+
{
|
|
3207
|
+
key: RouteKey.copilotPageSmartQ,
|
|
3208
|
+
path: "/copilotPage/smartQ"
|
|
3209
|
+
},
|
|
3210
|
+
{
|
|
3211
|
+
key: RouteKey.copilotPageQChat,
|
|
3212
|
+
path: "/copilotPage/qChat"
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
key: RouteKey.copilotPageQInsight,
|
|
3216
|
+
path: "/copilotPage/qInsight"
|
|
3217
|
+
},
|
|
3218
|
+
{
|
|
3219
|
+
key: RouteKey.copilotPageQReport,
|
|
3220
|
+
path: "/copilotPage/qreport"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
key: RouteKey.copilotPageQDashboard,
|
|
3224
|
+
path: "/copilotPage/qDashboard"
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
key: RouteKey.copilotPageAgentList,
|
|
3228
|
+
path: "/copilotPage/agentList"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
key: RouteKey.copilotPageAgent,
|
|
3232
|
+
path: "/copilotPage/agent/:id"
|
|
3233
|
+
}
|
|
3234
|
+
]
|
|
2975
3235
|
},
|
|
2976
3236
|
/** 模块嵌入 */
|
|
2977
3237
|
{
|
|
2978
3238
|
key: RouteKey.embedModule,
|
|
2979
3239
|
path: "/embed/module"
|
|
3240
|
+
},
|
|
3241
|
+
/** 老交叉表、老电子表格升级列表页 */
|
|
3242
|
+
{
|
|
3243
|
+
key: RouteKey.upgradeTable,
|
|
3244
|
+
path: "/upgradeTable.htm"
|
|
3245
|
+
},
|
|
3246
|
+
/** 账号失效页面 */
|
|
3247
|
+
{
|
|
3248
|
+
key: RouteKey.accountFailure,
|
|
3249
|
+
path: "/accountFailure"
|
|
2980
3250
|
}
|
|
2981
3251
|
]
|
|
2982
3252
|
},
|
|
2983
|
-
/**
|
|
3253
|
+
/** 小Q问数嵌入 */
|
|
2984
3254
|
{
|
|
2985
|
-
key: RouteKey.
|
|
3255
|
+
key: RouteKey.qChatEmbed,
|
|
2986
3256
|
path: "/copilot",
|
|
2987
3257
|
children: [
|
|
3258
|
+
/** 小Q问数公开嵌入 */
|
|
2988
3259
|
{
|
|
2989
|
-
key: RouteKey.
|
|
2990
|
-
path: "/copilot"
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
key: RouteKey.copilotPublicView,
|
|
3260
|
+
key: RouteKey.qChatPublicView,
|
|
2994
3261
|
path: "/token3rd/copilot"
|
|
2995
3262
|
}
|
|
2996
3263
|
]
|
|
@@ -3052,7 +3319,7 @@ var ROUTE_TREE = {
|
|
|
3052
3319
|
/** 仪表板 */
|
|
3053
3320
|
{
|
|
3054
3321
|
key: RouteKey.dashboardRoot,
|
|
3055
|
-
path: "/
|
|
3322
|
+
path: "/dashboardRoot",
|
|
3056
3323
|
children: [
|
|
3057
3324
|
{
|
|
3058
3325
|
key: RouteKey.dashboardView,
|
|
@@ -3257,6 +3524,10 @@ var ROUTE_TREE = {
|
|
|
3257
3524
|
key: RouteKey.opsLoginSystemConfig,
|
|
3258
3525
|
path: "/opscenter/loginSystemConfig"
|
|
3259
3526
|
},
|
|
3527
|
+
{
|
|
3528
|
+
key: RouteKey.opsCopilotOfficialAgent,
|
|
3529
|
+
path: "/opscenter/copilot/officialAgent"
|
|
3530
|
+
},
|
|
3260
3531
|
{
|
|
3261
3532
|
key: RouteKey.opsSystemConfig,
|
|
3262
3533
|
path: "/opscenter/sysconfig"
|
|
@@ -3271,13 +3542,25 @@ var ROUTE_TREE = {
|
|
|
3271
3542
|
}
|
|
3272
3543
|
]
|
|
3273
3544
|
},
|
|
3274
|
-
/** 移动端入口
|
|
3545
|
+
/** 移动端入口
|
|
3546
|
+
* 不放在移动端Root中是因为不是一个路由环境, 此处仅作为入口
|
|
3547
|
+
*/
|
|
3275
3548
|
{
|
|
3276
3549
|
key: RouteKey.mobileEntry,
|
|
3277
3550
|
path: "/m/"
|
|
3278
3551
|
},
|
|
3552
|
+
/** 移动端免登页 */
|
|
3553
|
+
{
|
|
3554
|
+
key: RouteKey.mobileWebSite,
|
|
3555
|
+
path: "/m/website"
|
|
3556
|
+
},
|
|
3557
|
+
/** 移动端微应用-首页入口 */
|
|
3279
3558
|
{
|
|
3280
|
-
|
|
3559
|
+
key: RouteKey.mobileHomeEntry,
|
|
3560
|
+
path: "/m/home"
|
|
3561
|
+
},
|
|
3562
|
+
{
|
|
3563
|
+
/** 移动端微应用, 哈希路由 */
|
|
3281
3564
|
key: RouteKey.mobileRoot,
|
|
3282
3565
|
path: "/",
|
|
3283
3566
|
children: [
|
|
@@ -3299,7 +3582,39 @@ var ROUTE_TREE = {
|
|
|
3299
3582
|
},
|
|
3300
3583
|
{
|
|
3301
3584
|
key: RouteKey.mobileCopilot,
|
|
3302
|
-
path: "/copilot"
|
|
3585
|
+
path: "/copilot",
|
|
3586
|
+
children: [
|
|
3587
|
+
{
|
|
3588
|
+
key: RouteKey.mobileCopilotQChat,
|
|
3589
|
+
path: "/copilot/qChat"
|
|
3590
|
+
},
|
|
3591
|
+
{
|
|
3592
|
+
key: RouteKey.mobileCopilotAgent,
|
|
3593
|
+
path: "/copilot/agent/:id"
|
|
3594
|
+
}
|
|
3595
|
+
]
|
|
3596
|
+
},
|
|
3597
|
+
{
|
|
3598
|
+
key: RouteKey.mobileQMessage,
|
|
3599
|
+
path: "/qMessage",
|
|
3600
|
+
children: [
|
|
3601
|
+
{
|
|
3602
|
+
key: RouteKey.mobileQMessageHome,
|
|
3603
|
+
path: "/qMessage/home"
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
key: RouteKey.mobileQMessageMine,
|
|
3607
|
+
path: "/qMessage/mine"
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
key: RouteKey.mobileQMessageTeam,
|
|
3611
|
+
path: "/qMessage/team"
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
key: RouteKey.mobileQMessagePostDetail,
|
|
3615
|
+
path: "/qMessage/post-detail"
|
|
3616
|
+
}
|
|
3617
|
+
]
|
|
3303
3618
|
},
|
|
3304
3619
|
{
|
|
3305
3620
|
key: RouteKey.mobileData,
|
|
@@ -3409,6 +3724,10 @@ var ROUTE_TREE = {
|
|
|
3409
3724
|
{
|
|
3410
3725
|
key: RouteKey.templateNlPreView,
|
|
3411
3726
|
path: "/template/nl/preview"
|
|
3727
|
+
},
|
|
3728
|
+
{
|
|
3729
|
+
key: RouteKey.templateVisualization,
|
|
3730
|
+
path: "/template/extended_visualization"
|
|
3412
3731
|
}
|
|
3413
3732
|
]
|
|
3414
3733
|
},
|
|
@@ -3426,41 +3745,56 @@ var ROUTE_TREE = {
|
|
|
3426
3745
|
}
|
|
3427
3746
|
]
|
|
3428
3747
|
},
|
|
3429
|
-
/**
|
|
3748
|
+
/** 监控截图 */
|
|
3749
|
+
{
|
|
3750
|
+
key: RouteKey.monitorScreenshot,
|
|
3751
|
+
path: "/token3rd/monitor/card.htm"
|
|
3752
|
+
},
|
|
3753
|
+
/** 钉钉文档嵌入页 */
|
|
3430
3754
|
{
|
|
3431
|
-
key: RouteKey.
|
|
3432
|
-
path: "/
|
|
3755
|
+
key: RouteKey.dingDoc,
|
|
3756
|
+
path: "/dingDoc.htm"
|
|
3757
|
+
},
|
|
3758
|
+
/** 小Q报告 */
|
|
3759
|
+
{
|
|
3760
|
+
key: RouteKey.wordAgentRoot,
|
|
3761
|
+
path: "/qreport",
|
|
3433
3762
|
children: [
|
|
3434
3763
|
{
|
|
3435
|
-
key: RouteKey.
|
|
3436
|
-
path: "/
|
|
3437
|
-
},
|
|
3438
|
-
{
|
|
3439
|
-
key: RouteKey.biAgentTracking,
|
|
3440
|
-
path: "/bi-agent/tracking"
|
|
3764
|
+
key: RouteKey.wordAgentView,
|
|
3765
|
+
path: "/qreport/view.htm"
|
|
3441
3766
|
},
|
|
3442
3767
|
{
|
|
3443
|
-
key: RouteKey.
|
|
3444
|
-
path: "/
|
|
3768
|
+
key: RouteKey.wordAgentEdit,
|
|
3769
|
+
path: "/qreport/edit.htm"
|
|
3445
3770
|
},
|
|
3446
3771
|
{
|
|
3447
|
-
key: RouteKey.
|
|
3448
|
-
path: "/
|
|
3772
|
+
key: RouteKey.wordAgentPublicView,
|
|
3773
|
+
path: "/token3rd/qreport/view.htm"
|
|
3449
3774
|
},
|
|
3450
3775
|
{
|
|
3451
|
-
key: RouteKey.
|
|
3452
|
-
path: "/
|
|
3453
|
-
},
|
|
3454
|
-
{
|
|
3455
|
-
key: RouteKey.biAgentTrackingPostDetail,
|
|
3456
|
-
path: "/bi-agent/tracking-post-detail"
|
|
3776
|
+
key: RouteKey.wordAgentFilePreview,
|
|
3777
|
+
path: "/qreport/file-view.htm"
|
|
3457
3778
|
}
|
|
3458
3779
|
]
|
|
3459
3780
|
},
|
|
3781
|
+
/** 登陆页 */
|
|
3460
3782
|
{
|
|
3461
3783
|
key: RouteKey.loginRoot,
|
|
3462
3784
|
path: "/auth_sso",
|
|
3463
3785
|
children: [
|
|
3786
|
+
{
|
|
3787
|
+
key: RouteKey.loginSystemConfig,
|
|
3788
|
+
path: "/auth_sso/login/systemConfig.htm"
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
key: RouteKey.loginAuthConfig,
|
|
3792
|
+
path: "/auth_sso/login/config.htm"
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
key: RouteKey.login,
|
|
3796
|
+
path: "/auth_sso/login/login.htm"
|
|
3797
|
+
},
|
|
3464
3798
|
{
|
|
3465
3799
|
key: RouteKey.loginMicro,
|
|
3466
3800
|
path: "/auth_sso/login/microLogin.htm"
|
|
@@ -3488,20 +3822,77 @@ var ROUTE_TREE = {
|
|
|
3488
3822
|
}
|
|
3489
3823
|
]
|
|
3490
3824
|
};
|
|
3491
|
-
|
|
3492
|
-
var
|
|
3493
|
-
|
|
3825
|
+
function traverseRouteTree(node, fn) {
|
|
3826
|
+
var parent = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
3827
|
+
fn(node, parent);
|
|
3494
3828
|
if (node.children && node.children.length > 0) {
|
|
3495
3829
|
node.children.forEach(function(child) {
|
|
3496
|
-
traverseRouteTree(child,
|
|
3830
|
+
traverseRouteTree(child, fn, node);
|
|
3497
3831
|
});
|
|
3498
3832
|
}
|
|
3833
|
+
}
|
|
3834
|
+
function routeTreeToMap(tree, fn) {
|
|
3835
|
+
var result = {};
|
|
3836
|
+
traverseRouteTree(tree, function(node) {
|
|
3837
|
+
var res = fn(node);
|
|
3838
|
+
if (res) {
|
|
3839
|
+
var _res = _sliced_to_array(res, 2), key = _res[0], value = _res[1];
|
|
3840
|
+
if (result[key]) {
|
|
3841
|
+
throw new Error("Duplicate key found: ".concat(key));
|
|
3842
|
+
}
|
|
3843
|
+
result[key] = value;
|
|
3844
|
+
}
|
|
3845
|
+
});
|
|
3499
3846
|
return result;
|
|
3500
|
-
}
|
|
3501
|
-
|
|
3502
|
-
|
|
3847
|
+
}
|
|
3848
|
+
function routeTreeAddParent(tree) {
|
|
3849
|
+
traverseRouteTree(tree, function(node, parent) {
|
|
3850
|
+
node.parent = parent;
|
|
3851
|
+
});
|
|
3852
|
+
return tree;
|
|
3853
|
+
}
|
|
3854
|
+
var ROUTE_TREE = routeTreeAddParent(ROUTE_TREE_CONFIG);
|
|
3855
|
+
var MOBILE_ROUTE_TREE_CONFIG = ROUTE_TREE.children.find(function(item) {
|
|
3503
3856
|
return item.key === RouteKey.mobileRoot;
|
|
3504
|
-
})
|
|
3857
|
+
});
|
|
3858
|
+
var PC_ROUTE_TREE_CONFIG = _object_spread_props(_object_spread({}, ROUTE_TREE), {
|
|
3859
|
+
children: ROUTE_TREE.children.filter(function(item) {
|
|
3860
|
+
return item.key !== RouteKey.mobileRoot;
|
|
3861
|
+
})
|
|
3862
|
+
});
|
|
3863
|
+
var ROUTE_TREE_MAP = routeTreeToMap(ROUTE_TREE, function(node) {
|
|
3864
|
+
return [
|
|
3865
|
+
node.key,
|
|
3866
|
+
node
|
|
3867
|
+
];
|
|
3868
|
+
});
|
|
3869
|
+
var ROUTE_PATH_MAP = routeTreeToMap(ROUTE_TREE, function(node) {
|
|
3870
|
+
return [
|
|
3871
|
+
node.key,
|
|
3872
|
+
node.path
|
|
3873
|
+
];
|
|
3874
|
+
});
|
|
3875
|
+
var PATH_ROUTE_MAP = routeTreeToMap(PC_ROUTE_TREE_CONFIG, function(node) {
|
|
3876
|
+
return [
|
|
3877
|
+
node.path,
|
|
3878
|
+
node.key
|
|
3879
|
+
];
|
|
3880
|
+
});
|
|
3881
|
+
var DYNAMIC_PATH_ROUTE_MAP = routeTreeToMap(ROUTE_TREE, function(node) {
|
|
3882
|
+
if (node.path.includes(":")) {
|
|
3883
|
+
return [
|
|
3884
|
+
node.path,
|
|
3885
|
+
node.key
|
|
3886
|
+
];
|
|
3887
|
+
}
|
|
3888
|
+
return null;
|
|
3889
|
+
});
|
|
3890
|
+
var MOBILE_PATH_ROUTE_MAP = routeTreeToMap(MOBILE_ROUTE_TREE_CONFIG, function(node) {
|
|
3891
|
+
return [
|
|
3892
|
+
node.path,
|
|
3893
|
+
node.key
|
|
3894
|
+
];
|
|
3895
|
+
});
|
|
3505
3896
|
|
|
3506
3897
|
// src/basic/bi-types/src/permission-type.ts
|
|
3507
3898
|
var PermissionPageType;
|
|
@@ -3525,4 +3916,5 @@ var PermissionPageType;
|
|
|
3525
3916
|
PermissionPageType2["llmCubeTheme"] = "llmCubeTheme";
|
|
3526
3917
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
3527
3918
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
3919
|
+
PermissionPageType2["qReport"] = "qreport";
|
|
3528
3920
|
})(PermissionPageType || (PermissionPageType = {}));
|