@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/esm/index.mjs
CHANGED
|
@@ -187,6 +187,7 @@ var TableType;
|
|
|
187
187
|
TableType2["accumulate"] = "accumulate";
|
|
188
188
|
TableType2["difference"] = "difference";
|
|
189
189
|
TableType2["moving"] = "moving";
|
|
190
|
+
TableType2["multiFieldCombination"] = "multiFieldCombination";
|
|
190
191
|
})(TableType || (TableType = {}));
|
|
191
192
|
var AccumulateCalcType;
|
|
192
193
|
(function(AccumulateCalcType2) {
|
|
@@ -254,11 +255,29 @@ var DataConfigAreaItemColumn = function DataConfigAreaItemColumn2() {
|
|
|
254
255
|
_define_property2(this, "percentileParams", void 0);
|
|
255
256
|
_define_property2(this, "differenceParams", void 0);
|
|
256
257
|
_define_property2(this, "movingCalculationParams", void 0);
|
|
258
|
+
_define_property2(this, "multiFieldCombinationParams", void 0);
|
|
257
259
|
_define_property2(this, "levels", void 0);
|
|
258
260
|
_define_property2(this, "auxiliaryFields", void 0);
|
|
259
261
|
_define_property2(this, "fillDateRange", void 0);
|
|
260
262
|
_define_property2(this, "groupSortInfo", void 0);
|
|
263
|
+
_define_property2(this, "isMultiField", void 0);
|
|
264
|
+
_define_property2(this, "parentFieldGuid", void 0);
|
|
261
265
|
};
|
|
266
|
+
var ContrastType;
|
|
267
|
+
(function(ContrastType2) {
|
|
268
|
+
ContrastType2["DAY_DAY_RING_RATIO"] = "day_day";
|
|
269
|
+
ContrastType2["DAY_WEEK_RATIO"] = "day_week";
|
|
270
|
+
ContrastType2["DAY_MONTH_RATIO"] = "day_month";
|
|
271
|
+
ContrastType2["DAY_YEAR_RATIO"] = "day_year";
|
|
272
|
+
ContrastType2["WEEK_WEEK_RING_RATIO"] = "week_week";
|
|
273
|
+
ContrastType2["WEEK_YEAR_RATIO"] = "week_year";
|
|
274
|
+
ContrastType2["MONTH_MONTH_RING_RATIO"] = "month_month";
|
|
275
|
+
ContrastType2["MONTH_YEAR_RATIO"] = "month_year";
|
|
276
|
+
ContrastType2["QUARTER_QUARTER_RING_RATIO"] = "quarter_quarter";
|
|
277
|
+
ContrastType2["QUARTER_YEAR_RATIO"] = "quarter_year";
|
|
278
|
+
ContrastType2["YEAR_YEAR_RING_RATIO"] = "year_year";
|
|
279
|
+
ContrastType2["DYNAMIC_RING_RATIO"] = "dynamic";
|
|
280
|
+
})(ContrastType || (ContrastType = {}));
|
|
262
281
|
|
|
263
282
|
// src/basic/bi-types/src/data-panel/data-schema-item.ts
|
|
264
283
|
function _class_call_check3(instance, Constructor) {
|
|
@@ -323,19 +342,20 @@ var ContrastTypes;
|
|
|
323
342
|
})(ContrastTypes || (ContrastTypes = {}));
|
|
324
343
|
var AdvanceCalTypes;
|
|
325
344
|
(function(AdvanceCalTypes2) {
|
|
345
|
+
AdvanceCalTypes2["none"] = "none";
|
|
346
|
+
AdvanceCalTypes2["contrast"] = "contrast";
|
|
326
347
|
AdvanceCalTypes2["increase"] = "increase";
|
|
348
|
+
AdvanceCalTypes2["count"] = "count";
|
|
327
349
|
AdvanceCalTypes2["percentRatio"] = "percentRatio";
|
|
350
|
+
AdvanceCalTypes2["proportion"] = "proportion";
|
|
328
351
|
AdvanceCalTypes2["rank"] = "rank";
|
|
329
|
-
AdvanceCalTypes2["none"] = "none";
|
|
330
352
|
AdvanceCalTypes2["topn"] = "topn";
|
|
331
|
-
AdvanceCalTypes2["count"] = "count";
|
|
332
353
|
AdvanceCalTypes2["percentile"] = "percentile";
|
|
333
|
-
AdvanceCalTypes2["
|
|
334
|
-
AdvanceCalTypes2["proportion"] = "proportion";
|
|
354
|
+
AdvanceCalTypes2["difference"] = "difference";
|
|
335
355
|
AdvanceCalTypes2["timeCompletion"] = "timeCompletion";
|
|
336
356
|
AdvanceCalTypes2["combinatorialCalculation"] = "combinatorialCalculation";
|
|
337
|
-
AdvanceCalTypes2["difference"] = "difference";
|
|
338
357
|
AdvanceCalTypes2["movingCalculation"] = "movingCalculation";
|
|
358
|
+
AdvanceCalTypes2["multiFieldCombination"] = "multiFieldCombination";
|
|
339
359
|
})(AdvanceCalTypes || (AdvanceCalTypes = {}));
|
|
340
360
|
var AdvanceCalcDateTypes;
|
|
341
361
|
(function(AdvanceCalcDateTypes2) {
|
|
@@ -625,6 +645,10 @@ var ScreenComponentType;
|
|
|
625
645
|
ScreenComponentType2["THRESHOLD_FLIPPER"] = "threshold_flipper";
|
|
626
646
|
ScreenComponentType2["PROGRESS"] = "progress";
|
|
627
647
|
ScreenComponentType2["CIRCULAR_PROGRESS"] = "circular_progress";
|
|
648
|
+
ScreenComponentType2["WATERWAVE_PROGRESS"] = "waterwave_progress";
|
|
649
|
+
ScreenComponentType2["GAUGE"] = "gauge_chart";
|
|
650
|
+
ScreenComponentType2["BUBBLE"] = "bubble_chart";
|
|
651
|
+
ScreenComponentType2["SANKEY"] = "sankey_chart";
|
|
628
652
|
ScreenComponentType2["RANKING_LIST"] = "ranking_list";
|
|
629
653
|
ScreenComponentType2["PROPORTION_RANKING_LIST"] = "proportion_ranking_list";
|
|
630
654
|
ScreenComponentType2["COMMON_TABLE"] = "common_table";
|
|
@@ -835,7 +859,11 @@ _define_property5(_obj, "multi_layer_map", 1038), /** 大屏日期选择 */
|
|
|
835
859
|
_define_property5(_obj, "date_selector", 1039), /**
|
|
836
860
|
* 富文本组件
|
|
837
861
|
*/
|
|
838
|
-
_define_property5(_obj, "rich_text", 1040),
|
|
862
|
+
_define_property5(_obj, "rich_text", 1040), /** 大屏水波进度条 */
|
|
863
|
+
_define_property5(_obj, "waterwave_progress", 1041), /** 大屏仪表盘 */
|
|
864
|
+
_define_property5(_obj, "gauge_chart", 1042), /** 大屏桑基图 */
|
|
865
|
+
_define_property5(_obj, "sankey_chart", 1043), /** 大屏气泡图 */
|
|
866
|
+
_define_property5(_obj, "bubble_chart", 1044), _obj);
|
|
839
867
|
var ChartType;
|
|
840
868
|
(function(ChartType2) {
|
|
841
869
|
ChartType2["ROOT"] = "root";
|
|
@@ -1153,12 +1181,27 @@ var EtlProductStatus;
|
|
|
1153
1181
|
// src/basic/bi-types/src/ui/page-header.ts
|
|
1154
1182
|
var ResourcePageHeaderGroupEnum;
|
|
1155
1183
|
(function(ResourcePageHeaderGroupEnum2) {
|
|
1184
|
+
ResourcePageHeaderGroupEnum2["auth"] = "auth";
|
|
1156
1185
|
ResourcePageHeaderGroupEnum2["setting"] = "setting";
|
|
1157
1186
|
ResourcePageHeaderGroupEnum2["state"] = "state";
|
|
1158
1187
|
ResourcePageHeaderGroupEnum2["action"] = "action";
|
|
1159
1188
|
ResourcePageHeaderGroupEnum2["menu"] = "menu";
|
|
1160
1189
|
})(ResourcePageHeaderGroupEnum || (ResourcePageHeaderGroupEnum = {}));
|
|
1161
1190
|
|
|
1191
|
+
// src/basic/bi-types/src/ui/theme.ts
|
|
1192
|
+
var PersonalThemeMode;
|
|
1193
|
+
(function(PersonalThemeMode2) {
|
|
1194
|
+
PersonalThemeMode2["light"] = "light";
|
|
1195
|
+
PersonalThemeMode2["dark"] = "dark";
|
|
1196
|
+
PersonalThemeMode2["system"] = "system";
|
|
1197
|
+
})(PersonalThemeMode || (PersonalThemeMode = {}));
|
|
1198
|
+
var OrgThemeMode;
|
|
1199
|
+
(function(OrgThemeMode2) {
|
|
1200
|
+
OrgThemeMode2["light"] = "light";
|
|
1201
|
+
OrgThemeMode2["dark"] = "dark";
|
|
1202
|
+
OrgThemeMode2["common"] = "common";
|
|
1203
|
+
})(OrgThemeMode || (OrgThemeMode = {}));
|
|
1204
|
+
|
|
1162
1205
|
// src/basic/bi-types/src/open/common/event-types.ts
|
|
1163
1206
|
var OpenEventTypeEnum;
|
|
1164
1207
|
(function(OpenEventTypeEnum2) {
|
|
@@ -1769,6 +1812,9 @@ var DsType;
|
|
|
1769
1812
|
DsType2["aloudata_can"] = "aloudata_can";
|
|
1770
1813
|
DsType2["oscar"] = "oscar";
|
|
1771
1814
|
DsType2["dms"] = "dms";
|
|
1815
|
+
DsType2["selectdb"] = "selectdb";
|
|
1816
|
+
DsType2["databricks"] = "databricks";
|
|
1817
|
+
DsType2["bigquery"] = "bigquery";
|
|
1772
1818
|
})(DsType || (DsType = {}));
|
|
1773
1819
|
var AcrossDsType;
|
|
1774
1820
|
(function(AcrossDsType2) {
|
|
@@ -1798,6 +1844,30 @@ var DataSourceSort;
|
|
|
1798
1844
|
DataSourceSort2[DataSourceSort2["LING_YANG_ONE"] = 6] = "LING_YANG_ONE";
|
|
1799
1845
|
DataSourceSort2[DataSourceSort2["OTHER_DATASOURCE"] = 7] = "OTHER_DATASOURCE";
|
|
1800
1846
|
})(DataSourceSort || (DataSourceSort = {}));
|
|
1847
|
+
var DataSourcesConfigId;
|
|
1848
|
+
(function(DataSourcesConfigId2) {
|
|
1849
|
+
DataSourcesConfigId2["cloud"] = "cloud";
|
|
1850
|
+
DataSourcesConfigId2["local"] = "local";
|
|
1851
|
+
DataSourcesConfigId2["database"] = "database";
|
|
1852
|
+
DataSourcesConfigId2["application"] = "application";
|
|
1853
|
+
DataSourcesConfigId2["other"] = "other";
|
|
1854
|
+
DataSourcesConfigId2["api"] = "api";
|
|
1855
|
+
DataSourcesConfigId2["tencent"] = "tencent";
|
|
1856
|
+
DataSourcesConfigId2["huawei"] = "huawei";
|
|
1857
|
+
DataSourcesConfigId2["microsoft"] = "microsoft";
|
|
1858
|
+
DataSourcesConfigId2["aws"] = "aws";
|
|
1859
|
+
DataSourcesConfigId2["google"] = "google";
|
|
1860
|
+
DataSourcesConfigId2["customDs"] = "customDs";
|
|
1861
|
+
})(DataSourcesConfigId || (DataSourcesConfigId = {}));
|
|
1862
|
+
var dataBaseType = [
|
|
1863
|
+
"cloud",
|
|
1864
|
+
"local",
|
|
1865
|
+
"aws",
|
|
1866
|
+
"huawei",
|
|
1867
|
+
"tencent",
|
|
1868
|
+
"microsoft",
|
|
1869
|
+
"google"
|
|
1870
|
+
];
|
|
1801
1871
|
|
|
1802
1872
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
1803
1873
|
var CustomMenuMode;
|
|
@@ -1806,6 +1876,16 @@ var CustomMenuMode;
|
|
|
1806
1876
|
CustomMenuMode2[CustomMenuMode2["pack"] = 2] = "pack";
|
|
1807
1877
|
})(CustomMenuMode || (CustomMenuMode = {}));
|
|
1808
1878
|
|
|
1879
|
+
// src/basic/bi-types/src/open/common/page-types.ts
|
|
1880
|
+
var OpenPageTypeEnum;
|
|
1881
|
+
(function(OpenPageTypeEnum2) {
|
|
1882
|
+
OpenPageTypeEnum2["dashboard"] = "dashboard";
|
|
1883
|
+
OpenPageTypeEnum2["webExcel"] = "webExcel";
|
|
1884
|
+
OpenPageTypeEnum2["screen"] = "screen";
|
|
1885
|
+
OpenPageTypeEnum2["offline"] = "offline";
|
|
1886
|
+
OpenPageTypeEnum2["analysis"] = "analysis";
|
|
1887
|
+
})(OpenPageTypeEnum || (OpenPageTypeEnum = {}));
|
|
1888
|
+
|
|
1809
1889
|
// src/basic/bi-types/src/router/route-key.ts
|
|
1810
1890
|
var RouteKey;
|
|
1811
1891
|
(function(RouteKey2) {
|
|
@@ -1823,6 +1903,7 @@ var RouteKey;
|
|
|
1823
1903
|
RouteKey2["userTagDetailManage"] = "userTagDetailManage";
|
|
1824
1904
|
RouteKey2["tagManage"] = "tagManage";
|
|
1825
1905
|
RouteKey2["userRoleManage"] = "userRoleManage";
|
|
1906
|
+
RouteKey2["orgAdminCommon"] = "orgAdminCommon";
|
|
1826
1907
|
RouteKey2["orgAdminSpace"] = "orgAdminSpace";
|
|
1827
1908
|
RouteKey2["orgAdminWorkspace"] = "orgAdminWorkspace";
|
|
1828
1909
|
RouteKey2["orgAdminWorkspaceInfo"] = "orgAdminWorkspaceInfo";
|
|
@@ -1845,12 +1926,14 @@ var RouteKey;
|
|
|
1845
1926
|
RouteKey2["orgAdminWxApiAuth"] = "orgAdminWxApiAuth";
|
|
1846
1927
|
RouteKey2["orgAdminFeishuApiAuth"] = "orgAdminFeishuApiAuth";
|
|
1847
1928
|
RouteKey2["orgAdminTeamsApiAuth"] = "orgAdminTeamsApiAuth";
|
|
1929
|
+
RouteKey2["orgAdminLarkApiAuth"] = "orgAdminLarkApiAuth";
|
|
1848
1930
|
RouteKey2["orgChannelRobot"] = "orgChannelRobot";
|
|
1849
1931
|
RouteKey2["orgPushLinkConfig"] = "orgPushLinkConfig";
|
|
1850
1932
|
RouteKey2["orgDingBucChannel"] = "orgDingBucChannel";
|
|
1851
1933
|
RouteKey2["orgDingChannel"] = "orgDingChannel";
|
|
1852
1934
|
RouteKey2["orgWeChatChannel"] = "orgWeChatChannel";
|
|
1853
1935
|
RouteKey2["orgFeiShuChannel"] = "orgFeiShuChannel";
|
|
1936
|
+
RouteKey2["orgLarkChannel"] = "orgLarkChannel";
|
|
1854
1937
|
RouteKey2["orgSmsChannel"] = "orgSmsChannel";
|
|
1855
1938
|
RouteKey2["orgEmailChannel"] = "orgEmailChannel";
|
|
1856
1939
|
RouteKey2["orgCustomChannel"] = "orgCustomChannel";
|
|
@@ -1892,14 +1975,15 @@ var RouteKey;
|
|
|
1892
1975
|
RouteKey2["orgDatasetPerformance"] = "orgDatasetPerformance";
|
|
1893
1976
|
RouteKey2["orgDashboardPerformance"] = "orgDashboardPerformance";
|
|
1894
1977
|
RouteKey2["orgAdminAnalysis"] = "orgAdminAnalysis";
|
|
1978
|
+
RouteKey2["orgAdminProductAuthManage"] = "orgAdminProductAuthManage";
|
|
1895
1979
|
RouteKey2["orgAdminResource"] = "orgAdminResource";
|
|
1896
1980
|
RouteKey2["orgAdminResourceConfig"] = "orgAdminResourceConfig";
|
|
1897
1981
|
RouteKey2["orgAdminResourceRecord"] = "orgAdminResourceRecord";
|
|
1898
1982
|
RouteKey2["orgAdminResourceDesc"] = "orgAdminResourceDesc";
|
|
1899
|
-
RouteKey2["
|
|
1900
|
-
RouteKey2["
|
|
1901
|
-
RouteKey2["
|
|
1902
|
-
RouteKey2["
|
|
1983
|
+
RouteKey2["orgAdminQMessage"] = "orgAdminQMessage";
|
|
1984
|
+
RouteKey2["orgAdminQMessageUserManage"] = "orgAdminQMessageUserManage";
|
|
1985
|
+
RouteKey2["orgAdminQMessageUserManageDetail"] = "orgAdminQMessageUserManageDetail";
|
|
1986
|
+
RouteKey2["orgAdminQMessagePerformanceAssistant"] = "orgAdminQMessagePerformanceAssistant";
|
|
1903
1987
|
RouteKey2["companyApply"] = "companyApply";
|
|
1904
1988
|
RouteKey2["downloadTask"] = "downloadTask";
|
|
1905
1989
|
RouteKey2["approvalCenter"] = "approvalCenter";
|
|
@@ -1948,8 +2032,17 @@ var RouteKey;
|
|
|
1948
2032
|
RouteKey2["viewSharedContentOnly"] = "viewSharedContentOnly";
|
|
1949
2033
|
RouteKey2["viewPortal"] = "viewPortal";
|
|
1950
2034
|
RouteKey2["viewCategory"] = "viewCategory";
|
|
1951
|
-
RouteKey2["
|
|
2035
|
+
RouteKey2["copilotPage"] = "copilotHome";
|
|
2036
|
+
RouteKey2["copilotPageSmartQ"] = "copilotPageSuperAgent";
|
|
2037
|
+
RouteKey2["copilotPageQChat"] = "copilotPageQChat";
|
|
2038
|
+
RouteKey2["copilotPageQInsight"] = "copilotPageQInsight";
|
|
2039
|
+
RouteKey2["copilotPageQReport"] = "copilotPageQReport";
|
|
2040
|
+
RouteKey2["copilotPageQDashboard"] = "copilotPageQDashboard";
|
|
2041
|
+
RouteKey2["copilotPageAgentList"] = "copilotPageAgentList";
|
|
2042
|
+
RouteKey2["copilotPageAgent"] = "copilotPageAgent";
|
|
1952
2043
|
RouteKey2["embedModule"] = "embedModule";
|
|
2044
|
+
RouteKey2["upgradeTable"] = "upgradeTable";
|
|
2045
|
+
RouteKey2["accountFailure"] = "accountFailure";
|
|
1953
2046
|
RouteKey2["workPlatform"] = "workPlatform";
|
|
1954
2047
|
RouteKey2["workspace"] = "workspace";
|
|
1955
2048
|
RouteKey2["portalList"] = "portalList";
|
|
@@ -1977,9 +2070,8 @@ var RouteKey;
|
|
|
1977
2070
|
RouteKey2["advanceVersion"] = "advanceVersion";
|
|
1978
2071
|
RouteKey2["workspacePreview"] = "workspacePreview";
|
|
1979
2072
|
RouteKey2["workspaceRecycle"] = "workspaceRecycle";
|
|
1980
|
-
RouteKey2["
|
|
1981
|
-
RouteKey2["
|
|
1982
|
-
RouteKey2["copilotPublicView"] = "copilotPublicView";
|
|
2073
|
+
RouteKey2["qChatEmbed"] = "qChatEmbed";
|
|
2074
|
+
RouteKey2["qChatPublicView"] = "qChatPublicView";
|
|
1983
2075
|
RouteKey2["portalRoot"] = "portalRoot";
|
|
1984
2076
|
RouteKey2["portalEdit"] = "portalEdit";
|
|
1985
2077
|
RouteKey2["portalView"] = "portalView";
|
|
@@ -2035,17 +2127,27 @@ var RouteKey;
|
|
|
2035
2127
|
RouteKey2["opsLicense"] = "opsLicense";
|
|
2036
2128
|
RouteKey2["opsTenantManage"] = "opsTenantManage";
|
|
2037
2129
|
RouteKey2["opsApply"] = "opsApply";
|
|
2130
|
+
RouteKey2["opsCopilotOfficialAgent"] = "opsCopilotOfficialAgent";
|
|
2038
2131
|
RouteKey2["opsLoginConfig"] = "opsLoginConfig";
|
|
2039
2132
|
RouteKey2["opsLoginSystemConfig"] = "opsLoginSystemConfig";
|
|
2040
2133
|
RouteKey2["opsSystemConfig"] = "opsSystemConfig";
|
|
2041
2134
|
RouteKey2["docsManageMenus"] = "docsManageMenus";
|
|
2042
2135
|
RouteKey2["docsManageItems"] = "docsManageItems";
|
|
2043
2136
|
RouteKey2["mobileEntry"] = "mobileEntry";
|
|
2137
|
+
RouteKey2["mobileWebSite"] = "mobileWebSite";
|
|
2138
|
+
RouteKey2["mobileHomeEntry"] = "mobileHomeEntry";
|
|
2044
2139
|
RouteKey2["mobileRoot"] = "mobileRoot";
|
|
2045
2140
|
RouteKey2["mobileHome"] = "mobileHome";
|
|
2046
2141
|
RouteKey2["mobileCommon"] = "mobileCommon";
|
|
2047
2142
|
RouteKey2["mobileCard"] = "mobileCard";
|
|
2048
2143
|
RouteKey2["mobileCopilot"] = "mobileCopilot";
|
|
2144
|
+
RouteKey2["mobileCopilotQChat"] = "mobileCopilotQChat";
|
|
2145
|
+
RouteKey2["mobileCopilotAgent"] = "mobileCopilotAgent";
|
|
2146
|
+
RouteKey2["mobileQMessage"] = "mobileQMessage";
|
|
2147
|
+
RouteKey2["mobileQMessageHome"] = "mobileQMessageHome";
|
|
2148
|
+
RouteKey2["mobileQMessageMine"] = "mobileQMessageMine";
|
|
2149
|
+
RouteKey2["mobileQMessageTeam"] = "mobileQMessageTeam";
|
|
2150
|
+
RouteKey2["mobileQMessagePostDetail"] = "mobileQMessagePostDetail";
|
|
2049
2151
|
RouteKey2["mobileData"] = "mobileData";
|
|
2050
2152
|
RouteKey2["mobileMine"] = "mobileMine";
|
|
2051
2153
|
RouteKey2["mobilePermission"] = "mobilePermission";
|
|
@@ -2078,15 +2180,19 @@ var RouteKey;
|
|
|
2078
2180
|
RouteKey2["templateSuper"] = "templateSuper";
|
|
2079
2181
|
RouteKey2["templateNlPublic"] = "templateNlPublic";
|
|
2080
2182
|
RouteKey2["templateNlPreView"] = "templateNlPreView";
|
|
2081
|
-
RouteKey2["
|
|
2082
|
-
RouteKey2["biAgentHome"] = "biAgentHome";
|
|
2083
|
-
RouteKey2["biAgentTracking"] = "biAgentTracking";
|
|
2084
|
-
RouteKey2["biAgentSmartQ"] = "biAgentSmartQ";
|
|
2085
|
-
RouteKey2["biAgentSettings"] = "biAgentSettings";
|
|
2086
|
-
RouteKey2["biAgentHomePostDetail"] = "biAgentHomePostDetail";
|
|
2087
|
-
RouteKey2["biAgentTrackingPostDetail"] = "biAgentTrackingPostDetail";
|
|
2183
|
+
RouteKey2["templateVisualization"] = "templateVisualization";
|
|
2088
2184
|
RouteKey2["loginRoot"] = "loginRoot";
|
|
2185
|
+
RouteKey2["loginSystemConfig"] = "loginSystemConfig";
|
|
2186
|
+
RouteKey2["loginAuthConfig"] = "loginAuthConfig";
|
|
2187
|
+
RouteKey2["login"] = "login";
|
|
2089
2188
|
RouteKey2["loginMicro"] = "loginMicro";
|
|
2189
|
+
RouteKey2["monitorScreenshot"] = "monitorScreenshot";
|
|
2190
|
+
RouteKey2["dingDoc"] = "dingDoc";
|
|
2191
|
+
RouteKey2["wordAgentRoot"] = "wordAgentRoot";
|
|
2192
|
+
RouteKey2["wordAgentEdit"] = "wordAgentEdit";
|
|
2193
|
+
RouteKey2["wordAgentView"] = "wordAgentView";
|
|
2194
|
+
RouteKey2["wordAgentFilePreview"] = "wordAgentFilePreview";
|
|
2195
|
+
RouteKey2["wordAgentPublicView"] = "wordAgentPublicView";
|
|
2090
2196
|
RouteKey2["dashboardScreenRoot"] = "dashboardScreenRoot";
|
|
2091
2197
|
RouteKey2["dashboardScreenEdit"] = "dashboardScreenEdit";
|
|
2092
2198
|
RouteKey2["dashboardScreenView"] = "dashboardScreenView";
|
|
@@ -2094,7 +2200,105 @@ var RouteKey;
|
|
|
2094
2200
|
})(RouteKey || (RouteKey = {}));
|
|
2095
2201
|
|
|
2096
2202
|
// src/basic/bi-types/src/router/route-tree.ts
|
|
2097
|
-
|
|
2203
|
+
function _array_like_to_array(arr, len) {
|
|
2204
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
2205
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2206
|
+
return arr2;
|
|
2207
|
+
}
|
|
2208
|
+
function _array_with_holes(arr) {
|
|
2209
|
+
if (Array.isArray(arr)) return arr;
|
|
2210
|
+
}
|
|
2211
|
+
function _define_property8(obj, key, value) {
|
|
2212
|
+
if (key in obj) {
|
|
2213
|
+
Object.defineProperty(obj, key, {
|
|
2214
|
+
value,
|
|
2215
|
+
enumerable: true,
|
|
2216
|
+
configurable: true,
|
|
2217
|
+
writable: true
|
|
2218
|
+
});
|
|
2219
|
+
} else {
|
|
2220
|
+
obj[key] = value;
|
|
2221
|
+
}
|
|
2222
|
+
return obj;
|
|
2223
|
+
}
|
|
2224
|
+
function _iterable_to_array_limit(arr, i) {
|
|
2225
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
2226
|
+
if (_i == null) return;
|
|
2227
|
+
var _arr = [];
|
|
2228
|
+
var _n = true;
|
|
2229
|
+
var _d = false;
|
|
2230
|
+
var _s, _e;
|
|
2231
|
+
try {
|
|
2232
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
2233
|
+
_arr.push(_s.value);
|
|
2234
|
+
if (i && _arr.length === i) break;
|
|
2235
|
+
}
|
|
2236
|
+
} catch (err) {
|
|
2237
|
+
_d = true;
|
|
2238
|
+
_e = err;
|
|
2239
|
+
} finally {
|
|
2240
|
+
try {
|
|
2241
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
2242
|
+
} finally {
|
|
2243
|
+
if (_d) throw _e;
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
return _arr;
|
|
2247
|
+
}
|
|
2248
|
+
function _non_iterable_rest() {
|
|
2249
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2250
|
+
}
|
|
2251
|
+
function _object_spread(target) {
|
|
2252
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
2253
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
2254
|
+
var ownKeys2 = Object.keys(source);
|
|
2255
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
2256
|
+
ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
2257
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
2258
|
+
}));
|
|
2259
|
+
}
|
|
2260
|
+
ownKeys2.forEach(function(key) {
|
|
2261
|
+
_define_property8(target, key, source[key]);
|
|
2262
|
+
});
|
|
2263
|
+
}
|
|
2264
|
+
return target;
|
|
2265
|
+
}
|
|
2266
|
+
function ownKeys(object, enumerableOnly) {
|
|
2267
|
+
var keys = Object.keys(object);
|
|
2268
|
+
if (Object.getOwnPropertySymbols) {
|
|
2269
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
2270
|
+
if (enumerableOnly) {
|
|
2271
|
+
symbols = symbols.filter(function(sym) {
|
|
2272
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
2273
|
+
});
|
|
2274
|
+
}
|
|
2275
|
+
keys.push.apply(keys, symbols);
|
|
2276
|
+
}
|
|
2277
|
+
return keys;
|
|
2278
|
+
}
|
|
2279
|
+
function _object_spread_props(target, source) {
|
|
2280
|
+
source = source != null ? source : {};
|
|
2281
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
2282
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
2283
|
+
} else {
|
|
2284
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
2285
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
2286
|
+
});
|
|
2287
|
+
}
|
|
2288
|
+
return target;
|
|
2289
|
+
}
|
|
2290
|
+
function _sliced_to_array(arr, i) {
|
|
2291
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
2292
|
+
}
|
|
2293
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
2294
|
+
if (!o) return;
|
|
2295
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
2296
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2297
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2298
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2299
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2300
|
+
}
|
|
2301
|
+
var ROUTE_TREE_CONFIG = {
|
|
2098
2302
|
key: RouteKey.root,
|
|
2099
2303
|
path: "/",
|
|
2100
2304
|
children: [
|
|
@@ -2112,6 +2316,10 @@ var ROUTE_TREE = {
|
|
|
2112
2316
|
key: RouteKey.orgAdmin,
|
|
2113
2317
|
path: "/org/admin",
|
|
2114
2318
|
children: [
|
|
2319
|
+
{
|
|
2320
|
+
key: RouteKey.orgAdminCommon,
|
|
2321
|
+
path: "/org/admin/:tab/:tag"
|
|
2322
|
+
},
|
|
2115
2323
|
{
|
|
2116
2324
|
key: RouteKey.orgAdminInfo,
|
|
2117
2325
|
path: "/org/admin/info",
|
|
@@ -2253,6 +2461,10 @@ var ROUTE_TREE = {
|
|
|
2253
2461
|
{
|
|
2254
2462
|
key: RouteKey.orgAdminTeamsApiAuth,
|
|
2255
2463
|
path: "/org/admin/software/teamsApiAuth"
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
key: RouteKey.orgAdminLarkApiAuth,
|
|
2467
|
+
path: "/org/admin/software/larkApiAuth"
|
|
2256
2468
|
}
|
|
2257
2469
|
]
|
|
2258
2470
|
},
|
|
@@ -2280,6 +2492,10 @@ var ROUTE_TREE = {
|
|
|
2280
2492
|
key: RouteKey.orgFeiShuChannel,
|
|
2281
2493
|
path: "/org/admin/channelRobot/feiShuChannel"
|
|
2282
2494
|
},
|
|
2495
|
+
{
|
|
2496
|
+
key: RouteKey.orgLarkChannel,
|
|
2497
|
+
path: "/org/admin/channelRobot/larkChannel"
|
|
2498
|
+
},
|
|
2283
2499
|
{
|
|
2284
2500
|
key: RouteKey.orgSmsChannel,
|
|
2285
2501
|
path: "/org/admin/channelRobot/smsChannel"
|
|
@@ -2478,22 +2694,27 @@ var ROUTE_TREE = {
|
|
|
2478
2694
|
},
|
|
2479
2695
|
/** 数据头条 */
|
|
2480
2696
|
{
|
|
2481
|
-
key: RouteKey.
|
|
2482
|
-
path: "/org/admin/
|
|
2697
|
+
key: RouteKey.orgAdminQMessage,
|
|
2698
|
+
path: "/org/admin/qMessage",
|
|
2483
2699
|
children: [
|
|
2484
2700
|
{
|
|
2485
|
-
key: RouteKey.
|
|
2486
|
-
path: "/org/admin/
|
|
2701
|
+
key: RouteKey.orgAdminQMessageUserManage,
|
|
2702
|
+
path: "/org/admin/qMessage/userManage"
|
|
2487
2703
|
},
|
|
2488
2704
|
{
|
|
2489
|
-
key: RouteKey.
|
|
2490
|
-
path: "/org/admin/
|
|
2705
|
+
key: RouteKey.orgAdminQMessageUserManageDetail,
|
|
2706
|
+
path: "/org/admin/qMessage/userManage/userDetail/:userId"
|
|
2491
2707
|
},
|
|
2492
2708
|
{
|
|
2493
|
-
key: RouteKey.
|
|
2494
|
-
path: "/org/admin/
|
|
2709
|
+
key: RouteKey.orgAdminQMessagePerformanceAssistant,
|
|
2710
|
+
path: "/org/admin/qMessage/performanceAssistant"
|
|
2495
2711
|
}
|
|
2496
2712
|
]
|
|
2713
|
+
},
|
|
2714
|
+
/** 组织管理-产品权限管理 */
|
|
2715
|
+
{
|
|
2716
|
+
key: RouteKey.orgAdminProductAuthManage,
|
|
2717
|
+
path: "/org/admin/productAuthManage"
|
|
2497
2718
|
}
|
|
2498
2719
|
]
|
|
2499
2720
|
},
|
|
@@ -2827,29 +3048,66 @@ var ROUTE_TREE = {
|
|
|
2827
3048
|
}
|
|
2828
3049
|
]
|
|
2829
3050
|
},
|
|
2830
|
-
/**
|
|
3051
|
+
/** 智能小Q */
|
|
2831
3052
|
{
|
|
2832
|
-
key: RouteKey.
|
|
2833
|
-
path: "/copilotPage"
|
|
3053
|
+
key: RouteKey.copilotPage,
|
|
3054
|
+
path: "/copilotPage",
|
|
3055
|
+
children: [
|
|
3056
|
+
{
|
|
3057
|
+
key: RouteKey.copilotPageSmartQ,
|
|
3058
|
+
path: "/copilotPage/smartQ"
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
key: RouteKey.copilotPageQChat,
|
|
3062
|
+
path: "/copilotPage/qChat"
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
key: RouteKey.copilotPageQInsight,
|
|
3066
|
+
path: "/copilotPage/qInsight"
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
key: RouteKey.copilotPageQReport,
|
|
3070
|
+
path: "/copilotPage/qreport"
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
key: RouteKey.copilotPageQDashboard,
|
|
3074
|
+
path: "/copilotPage/qDashboard"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
key: RouteKey.copilotPageAgentList,
|
|
3078
|
+
path: "/copilotPage/agentList"
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
key: RouteKey.copilotPageAgent,
|
|
3082
|
+
path: "/copilotPage/agent/:id"
|
|
3083
|
+
}
|
|
3084
|
+
]
|
|
2834
3085
|
},
|
|
2835
3086
|
/** 模块嵌入 */
|
|
2836
3087
|
{
|
|
2837
3088
|
key: RouteKey.embedModule,
|
|
2838
3089
|
path: "/embed/module"
|
|
3090
|
+
},
|
|
3091
|
+
/** 老交叉表、老电子表格升级列表页 */
|
|
3092
|
+
{
|
|
3093
|
+
key: RouteKey.upgradeTable,
|
|
3094
|
+
path: "/upgradeTable.htm"
|
|
3095
|
+
},
|
|
3096
|
+
/** 账号失效页面 */
|
|
3097
|
+
{
|
|
3098
|
+
key: RouteKey.accountFailure,
|
|
3099
|
+
path: "/accountFailure"
|
|
2839
3100
|
}
|
|
2840
3101
|
]
|
|
2841
3102
|
},
|
|
2842
|
-
/**
|
|
3103
|
+
/** 小Q问数嵌入 */
|
|
2843
3104
|
{
|
|
2844
|
-
key: RouteKey.
|
|
3105
|
+
key: RouteKey.qChatEmbed,
|
|
2845
3106
|
path: "/copilot",
|
|
2846
3107
|
children: [
|
|
3108
|
+
/** 小Q问数公开嵌入 */
|
|
2847
3109
|
{
|
|
2848
|
-
key: RouteKey.
|
|
2849
|
-
path: "/copilot"
|
|
2850
|
-
},
|
|
2851
|
-
{
|
|
2852
|
-
key: RouteKey.copilotPublicView,
|
|
3110
|
+
key: RouteKey.qChatPublicView,
|
|
2853
3111
|
path: "/token3rd/copilot"
|
|
2854
3112
|
}
|
|
2855
3113
|
]
|
|
@@ -2911,7 +3169,7 @@ var ROUTE_TREE = {
|
|
|
2911
3169
|
/** 仪表板 */
|
|
2912
3170
|
{
|
|
2913
3171
|
key: RouteKey.dashboardRoot,
|
|
2914
|
-
path: "/
|
|
3172
|
+
path: "/dashboardRoot",
|
|
2915
3173
|
children: [
|
|
2916
3174
|
{
|
|
2917
3175
|
key: RouteKey.dashboardView,
|
|
@@ -3116,6 +3374,10 @@ var ROUTE_TREE = {
|
|
|
3116
3374
|
key: RouteKey.opsLoginSystemConfig,
|
|
3117
3375
|
path: "/opscenter/loginSystemConfig"
|
|
3118
3376
|
},
|
|
3377
|
+
{
|
|
3378
|
+
key: RouteKey.opsCopilotOfficialAgent,
|
|
3379
|
+
path: "/opscenter/copilot/officialAgent"
|
|
3380
|
+
},
|
|
3119
3381
|
{
|
|
3120
3382
|
key: RouteKey.opsSystemConfig,
|
|
3121
3383
|
path: "/opscenter/sysconfig"
|
|
@@ -3130,13 +3392,25 @@ var ROUTE_TREE = {
|
|
|
3130
3392
|
}
|
|
3131
3393
|
]
|
|
3132
3394
|
},
|
|
3133
|
-
/** 移动端入口
|
|
3395
|
+
/** 移动端入口
|
|
3396
|
+
* 不放在移动端Root中是因为不是一个路由环境, 此处仅作为入口
|
|
3397
|
+
*/
|
|
3134
3398
|
{
|
|
3135
3399
|
key: RouteKey.mobileEntry,
|
|
3136
3400
|
path: "/m/"
|
|
3137
3401
|
},
|
|
3402
|
+
/** 移动端免登页 */
|
|
3403
|
+
{
|
|
3404
|
+
key: RouteKey.mobileWebSite,
|
|
3405
|
+
path: "/m/website"
|
|
3406
|
+
},
|
|
3407
|
+
/** 移动端微应用-首页入口 */
|
|
3138
3408
|
{
|
|
3139
|
-
|
|
3409
|
+
key: RouteKey.mobileHomeEntry,
|
|
3410
|
+
path: "/m/home"
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
/** 移动端微应用, 哈希路由 */
|
|
3140
3414
|
key: RouteKey.mobileRoot,
|
|
3141
3415
|
path: "/",
|
|
3142
3416
|
children: [
|
|
@@ -3158,7 +3432,39 @@ var ROUTE_TREE = {
|
|
|
3158
3432
|
},
|
|
3159
3433
|
{
|
|
3160
3434
|
key: RouteKey.mobileCopilot,
|
|
3161
|
-
path: "/copilot"
|
|
3435
|
+
path: "/copilot",
|
|
3436
|
+
children: [
|
|
3437
|
+
{
|
|
3438
|
+
key: RouteKey.mobileCopilotQChat,
|
|
3439
|
+
path: "/copilot/qChat"
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
key: RouteKey.mobileCopilotAgent,
|
|
3443
|
+
path: "/copilot/agent/:id"
|
|
3444
|
+
}
|
|
3445
|
+
]
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
key: RouteKey.mobileQMessage,
|
|
3449
|
+
path: "/qMessage",
|
|
3450
|
+
children: [
|
|
3451
|
+
{
|
|
3452
|
+
key: RouteKey.mobileQMessageHome,
|
|
3453
|
+
path: "/qMessage/home"
|
|
3454
|
+
},
|
|
3455
|
+
{
|
|
3456
|
+
key: RouteKey.mobileQMessageMine,
|
|
3457
|
+
path: "/qMessage/mine"
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
key: RouteKey.mobileQMessageTeam,
|
|
3461
|
+
path: "/qMessage/team"
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
key: RouteKey.mobileQMessagePostDetail,
|
|
3465
|
+
path: "/qMessage/post-detail"
|
|
3466
|
+
}
|
|
3467
|
+
]
|
|
3162
3468
|
},
|
|
3163
3469
|
{
|
|
3164
3470
|
key: RouteKey.mobileData,
|
|
@@ -3268,6 +3574,10 @@ var ROUTE_TREE = {
|
|
|
3268
3574
|
{
|
|
3269
3575
|
key: RouteKey.templateNlPreView,
|
|
3270
3576
|
path: "/template/nl/preview"
|
|
3577
|
+
},
|
|
3578
|
+
{
|
|
3579
|
+
key: RouteKey.templateVisualization,
|
|
3580
|
+
path: "/template/extended_visualization"
|
|
3271
3581
|
}
|
|
3272
3582
|
]
|
|
3273
3583
|
},
|
|
@@ -3285,41 +3595,56 @@ var ROUTE_TREE = {
|
|
|
3285
3595
|
}
|
|
3286
3596
|
]
|
|
3287
3597
|
},
|
|
3288
|
-
/**
|
|
3598
|
+
/** 监控截图 */
|
|
3289
3599
|
{
|
|
3290
|
-
key: RouteKey.
|
|
3291
|
-
path: "/
|
|
3600
|
+
key: RouteKey.monitorScreenshot,
|
|
3601
|
+
path: "/token3rd/monitor/card.htm"
|
|
3602
|
+
},
|
|
3603
|
+
/** 钉钉文档嵌入页 */
|
|
3604
|
+
{
|
|
3605
|
+
key: RouteKey.dingDoc,
|
|
3606
|
+
path: "/dingDoc.htm"
|
|
3607
|
+
},
|
|
3608
|
+
/** 小Q报告 */
|
|
3609
|
+
{
|
|
3610
|
+
key: RouteKey.wordAgentRoot,
|
|
3611
|
+
path: "/qreport",
|
|
3292
3612
|
children: [
|
|
3293
3613
|
{
|
|
3294
|
-
key: RouteKey.
|
|
3295
|
-
path: "/
|
|
3296
|
-
},
|
|
3297
|
-
{
|
|
3298
|
-
key: RouteKey.biAgentTracking,
|
|
3299
|
-
path: "/bi-agent/tracking"
|
|
3300
|
-
},
|
|
3301
|
-
{
|
|
3302
|
-
key: RouteKey.biAgentSmartQ,
|
|
3303
|
-
path: "/bi-agent/copilot"
|
|
3614
|
+
key: RouteKey.wordAgentView,
|
|
3615
|
+
path: "/qreport/view.htm"
|
|
3304
3616
|
},
|
|
3305
3617
|
{
|
|
3306
|
-
key: RouteKey.
|
|
3307
|
-
path: "/
|
|
3618
|
+
key: RouteKey.wordAgentEdit,
|
|
3619
|
+
path: "/qreport/edit.htm"
|
|
3308
3620
|
},
|
|
3309
3621
|
{
|
|
3310
|
-
key: RouteKey.
|
|
3311
|
-
path: "/
|
|
3622
|
+
key: RouteKey.wordAgentPublicView,
|
|
3623
|
+
path: "/token3rd/qreport/view.htm"
|
|
3312
3624
|
},
|
|
3313
3625
|
{
|
|
3314
|
-
key: RouteKey.
|
|
3315
|
-
path: "/
|
|
3626
|
+
key: RouteKey.wordAgentFilePreview,
|
|
3627
|
+
path: "/qreport/file-view.htm"
|
|
3316
3628
|
}
|
|
3317
3629
|
]
|
|
3318
3630
|
},
|
|
3631
|
+
/** 登陆页 */
|
|
3319
3632
|
{
|
|
3320
3633
|
key: RouteKey.loginRoot,
|
|
3321
3634
|
path: "/auth_sso",
|
|
3322
3635
|
children: [
|
|
3636
|
+
{
|
|
3637
|
+
key: RouteKey.loginSystemConfig,
|
|
3638
|
+
path: "/auth_sso/login/systemConfig.htm"
|
|
3639
|
+
},
|
|
3640
|
+
{
|
|
3641
|
+
key: RouteKey.loginAuthConfig,
|
|
3642
|
+
path: "/auth_sso/login/config.htm"
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
key: RouteKey.login,
|
|
3646
|
+
path: "/auth_sso/login/login.htm"
|
|
3647
|
+
},
|
|
3323
3648
|
{
|
|
3324
3649
|
key: RouteKey.loginMicro,
|
|
3325
3650
|
path: "/auth_sso/login/microLogin.htm"
|
|
@@ -3347,20 +3672,77 @@ var ROUTE_TREE = {
|
|
|
3347
3672
|
}
|
|
3348
3673
|
]
|
|
3349
3674
|
};
|
|
3350
|
-
|
|
3351
|
-
var
|
|
3352
|
-
|
|
3675
|
+
function traverseRouteTree(node, fn) {
|
|
3676
|
+
var parent = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
3677
|
+
fn(node, parent);
|
|
3353
3678
|
if (node.children && node.children.length > 0) {
|
|
3354
3679
|
node.children.forEach(function(child) {
|
|
3355
|
-
traverseRouteTree(child,
|
|
3680
|
+
traverseRouteTree(child, fn, node);
|
|
3356
3681
|
});
|
|
3357
3682
|
}
|
|
3683
|
+
}
|
|
3684
|
+
function routeTreeToMap(tree, fn) {
|
|
3685
|
+
var result = {};
|
|
3686
|
+
traverseRouteTree(tree, function(node) {
|
|
3687
|
+
var res = fn(node);
|
|
3688
|
+
if (res) {
|
|
3689
|
+
var _res = _sliced_to_array(res, 2), key = _res[0], value = _res[1];
|
|
3690
|
+
if (result[key]) {
|
|
3691
|
+
throw new Error("Duplicate key found: ".concat(key));
|
|
3692
|
+
}
|
|
3693
|
+
result[key] = value;
|
|
3694
|
+
}
|
|
3695
|
+
});
|
|
3358
3696
|
return result;
|
|
3359
|
-
}
|
|
3360
|
-
|
|
3361
|
-
|
|
3697
|
+
}
|
|
3698
|
+
function routeTreeAddParent(tree) {
|
|
3699
|
+
traverseRouteTree(tree, function(node, parent) {
|
|
3700
|
+
node.parent = parent;
|
|
3701
|
+
});
|
|
3702
|
+
return tree;
|
|
3703
|
+
}
|
|
3704
|
+
var ROUTE_TREE = routeTreeAddParent(ROUTE_TREE_CONFIG);
|
|
3705
|
+
var MOBILE_ROUTE_TREE_CONFIG = ROUTE_TREE.children.find(function(item) {
|
|
3362
3706
|
return item.key === RouteKey.mobileRoot;
|
|
3363
|
-
})
|
|
3707
|
+
});
|
|
3708
|
+
var PC_ROUTE_TREE_CONFIG = _object_spread_props(_object_spread({}, ROUTE_TREE), {
|
|
3709
|
+
children: ROUTE_TREE.children.filter(function(item) {
|
|
3710
|
+
return item.key !== RouteKey.mobileRoot;
|
|
3711
|
+
})
|
|
3712
|
+
});
|
|
3713
|
+
var ROUTE_TREE_MAP = routeTreeToMap(ROUTE_TREE, function(node) {
|
|
3714
|
+
return [
|
|
3715
|
+
node.key,
|
|
3716
|
+
node
|
|
3717
|
+
];
|
|
3718
|
+
});
|
|
3719
|
+
var ROUTE_PATH_MAP = routeTreeToMap(ROUTE_TREE, function(node) {
|
|
3720
|
+
return [
|
|
3721
|
+
node.key,
|
|
3722
|
+
node.path
|
|
3723
|
+
];
|
|
3724
|
+
});
|
|
3725
|
+
var PATH_ROUTE_MAP = routeTreeToMap(PC_ROUTE_TREE_CONFIG, function(node) {
|
|
3726
|
+
return [
|
|
3727
|
+
node.path,
|
|
3728
|
+
node.key
|
|
3729
|
+
];
|
|
3730
|
+
});
|
|
3731
|
+
var DYNAMIC_PATH_ROUTE_MAP = routeTreeToMap(ROUTE_TREE, function(node) {
|
|
3732
|
+
if (node.path.includes(":")) {
|
|
3733
|
+
return [
|
|
3734
|
+
node.path,
|
|
3735
|
+
node.key
|
|
3736
|
+
];
|
|
3737
|
+
}
|
|
3738
|
+
return null;
|
|
3739
|
+
});
|
|
3740
|
+
var MOBILE_PATH_ROUTE_MAP = routeTreeToMap(MOBILE_ROUTE_TREE_CONFIG, function(node) {
|
|
3741
|
+
return [
|
|
3742
|
+
node.path,
|
|
3743
|
+
node.key
|
|
3744
|
+
];
|
|
3745
|
+
});
|
|
3364
3746
|
|
|
3365
3747
|
// src/basic/bi-types/src/permission-type.ts
|
|
3366
3748
|
var PermissionPageType;
|
|
@@ -3384,6 +3766,7 @@ var PermissionPageType;
|
|
|
3384
3766
|
PermissionPageType2["llmCubeTheme"] = "llmCubeTheme";
|
|
3385
3767
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
3386
3768
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
3769
|
+
PermissionPageType2["qReport"] = "qreport";
|
|
3387
3770
|
})(PermissionPageType || (PermissionPageType = {}));
|
|
3388
3771
|
export {
|
|
3389
3772
|
AccumulateCalcType,
|
|
@@ -3408,6 +3791,7 @@ export {
|
|
|
3408
3791
|
ConfigCellType,
|
|
3409
3792
|
ConfigColumnType,
|
|
3410
3793
|
ConstastTypeMap,
|
|
3794
|
+
ContrastType,
|
|
3411
3795
|
ContrastTypes,
|
|
3412
3796
|
CrossTableColumnModel,
|
|
3413
3797
|
CrossTableColumnType,
|
|
@@ -3420,6 +3804,7 @@ export {
|
|
|
3420
3804
|
CustomAreaType,
|
|
3421
3805
|
CustomEventType,
|
|
3422
3806
|
CustomMenuMode,
|
|
3807
|
+
DYNAMIC_PATH_ROUTE_MAP,
|
|
3423
3808
|
DataConfig,
|
|
3424
3809
|
DataConfigAreaItemColumn,
|
|
3425
3810
|
DataLoadMode,
|
|
@@ -3428,6 +3813,7 @@ export {
|
|
|
3428
3813
|
DataSchemaRule,
|
|
3429
3814
|
DataSourcePortValue,
|
|
3430
3815
|
DataSourceSort,
|
|
3816
|
+
DataSourcesConfigId,
|
|
3431
3817
|
DataType,
|
|
3432
3818
|
DateGranularity,
|
|
3433
3819
|
DropDownMenuType,
|
|
@@ -3458,18 +3844,22 @@ export {
|
|
|
3458
3844
|
LegendPositionType,
|
|
3459
3845
|
LegendUnHighLightedValue,
|
|
3460
3846
|
LnglatGroupChildFlags,
|
|
3461
|
-
|
|
3847
|
+
MOBILE_PATH_ROUTE_MAP,
|
|
3462
3848
|
MultiSeparator,
|
|
3463
3849
|
NegativeMode,
|
|
3464
3850
|
NumberFormats,
|
|
3465
3851
|
NumberValueType,
|
|
3466
3852
|
OlapResponseBase,
|
|
3467
3853
|
OpenEventTypeEnum,
|
|
3854
|
+
OpenPageTypeEnum,
|
|
3468
3855
|
OperationMenuItem,
|
|
3469
3856
|
OperationTypes,
|
|
3857
|
+
OrgThemeMode,
|
|
3470
3858
|
OriginDateType,
|
|
3859
|
+
PATH_ROUTE_MAP,
|
|
3471
3860
|
ParamDataType,
|
|
3472
3861
|
PermissionPageType,
|
|
3862
|
+
PersonalThemeMode,
|
|
3473
3863
|
PhysicalSchema,
|
|
3474
3864
|
PhysicalTableType,
|
|
3475
3865
|
PictureCoordinateType,
|
|
@@ -3478,6 +3868,7 @@ export {
|
|
|
3478
3868
|
QueryAxisType,
|
|
3479
3869
|
ROUTE_PATH_MAP,
|
|
3480
3870
|
ROUTE_TREE,
|
|
3871
|
+
ROUTE_TREE_MAP,
|
|
3481
3872
|
RegionGranularity,
|
|
3482
3873
|
ReportSummaryInsightType,
|
|
3483
3874
|
ResourcePageHeaderGroupEnum,
|
|
@@ -3502,5 +3893,6 @@ export {
|
|
|
3502
3893
|
TableType,
|
|
3503
3894
|
UsePermitType,
|
|
3504
3895
|
VerticalAlignTypes,
|
|
3505
|
-
VirtualFieldOperation
|
|
3896
|
+
VirtualFieldOperation,
|
|
3897
|
+
dataBaseType
|
|
3506
3898
|
};
|