@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/esm/index.mjs
CHANGED
|
@@ -259,6 +259,21 @@ var DataConfigAreaItemColumn = function DataConfigAreaItemColumn2() {
|
|
|
259
259
|
_define_property2(this, "fillDateRange", void 0);
|
|
260
260
|
_define_property2(this, "groupSortInfo", void 0);
|
|
261
261
|
};
|
|
262
|
+
var ContrastType;
|
|
263
|
+
(function(ContrastType2) {
|
|
264
|
+
ContrastType2["DAY_DAY_RING_RATIO"] = "day_day";
|
|
265
|
+
ContrastType2["DAY_WEEK_RATIO"] = "day_week";
|
|
266
|
+
ContrastType2["DAY_MONTH_RATIO"] = "day_month";
|
|
267
|
+
ContrastType2["DAY_YEAR_RATIO"] = "day_year";
|
|
268
|
+
ContrastType2["WEEK_WEEK_RING_RATIO"] = "week_week";
|
|
269
|
+
ContrastType2["WEEK_YEAR_RATIO"] = "week_year";
|
|
270
|
+
ContrastType2["MONTH_MONTH_RING_RATIO"] = "month_month";
|
|
271
|
+
ContrastType2["MONTH_YEAR_RATIO"] = "month_year";
|
|
272
|
+
ContrastType2["QUARTER_QUARTER_RING_RATIO"] = "quarter_quarter";
|
|
273
|
+
ContrastType2["QUARTER_YEAR_RATIO"] = "quarter_year";
|
|
274
|
+
ContrastType2["YEAR_YEAR_RING_RATIO"] = "year_year";
|
|
275
|
+
ContrastType2["DYNAMIC_RING_RATIO"] = "dynamic";
|
|
276
|
+
})(ContrastType || (ContrastType = {}));
|
|
262
277
|
|
|
263
278
|
// src/basic/bi-types/src/data-panel/data-schema-item.ts
|
|
264
279
|
function _class_call_check3(instance, Constructor) {
|
|
@@ -625,6 +640,10 @@ var ScreenComponentType;
|
|
|
625
640
|
ScreenComponentType2["THRESHOLD_FLIPPER"] = "threshold_flipper";
|
|
626
641
|
ScreenComponentType2["PROGRESS"] = "progress";
|
|
627
642
|
ScreenComponentType2["CIRCULAR_PROGRESS"] = "circular_progress";
|
|
643
|
+
ScreenComponentType2["WATERWAVE_PROGRESS"] = "waterwave_progress";
|
|
644
|
+
ScreenComponentType2["GAUGE"] = "gauge_chart";
|
|
645
|
+
ScreenComponentType2["BUBBLE"] = "bubble_chart";
|
|
646
|
+
ScreenComponentType2["SANKEY"] = "sankey_chart";
|
|
628
647
|
ScreenComponentType2["RANKING_LIST"] = "ranking_list";
|
|
629
648
|
ScreenComponentType2["PROPORTION_RANKING_LIST"] = "proportion_ranking_list";
|
|
630
649
|
ScreenComponentType2["COMMON_TABLE"] = "common_table";
|
|
@@ -835,7 +854,11 @@ _define_property5(_obj, "multi_layer_map", 1038), /** 大屏日期选择 */
|
|
|
835
854
|
_define_property5(_obj, "date_selector", 1039), /**
|
|
836
855
|
* 富文本组件
|
|
837
856
|
*/
|
|
838
|
-
_define_property5(_obj, "rich_text", 1040),
|
|
857
|
+
_define_property5(_obj, "rich_text", 1040), /** 大屏水波进度条 */
|
|
858
|
+
_define_property5(_obj, "waterwave_progress", 1041), /** 大屏仪表盘 */
|
|
859
|
+
_define_property5(_obj, "gauge_chart", 1042), /** 大屏桑基图 */
|
|
860
|
+
_define_property5(_obj, "sankey_chart", 1043), /** 大屏气泡图 */
|
|
861
|
+
_define_property5(_obj, "bubble_chart", 1044), _obj);
|
|
839
862
|
var ChartType;
|
|
840
863
|
(function(ChartType2) {
|
|
841
864
|
ChartType2["ROOT"] = "root";
|
|
@@ -1153,6 +1176,7 @@ var EtlProductStatus;
|
|
|
1153
1176
|
// src/basic/bi-types/src/ui/page-header.ts
|
|
1154
1177
|
var ResourcePageHeaderGroupEnum;
|
|
1155
1178
|
(function(ResourcePageHeaderGroupEnum2) {
|
|
1179
|
+
ResourcePageHeaderGroupEnum2["auth"] = "auth";
|
|
1156
1180
|
ResourcePageHeaderGroupEnum2["setting"] = "setting";
|
|
1157
1181
|
ResourcePageHeaderGroupEnum2["state"] = "state";
|
|
1158
1182
|
ResourcePageHeaderGroupEnum2["action"] = "action";
|
|
@@ -1769,6 +1793,9 @@ var DsType;
|
|
|
1769
1793
|
DsType2["aloudata_can"] = "aloudata_can";
|
|
1770
1794
|
DsType2["oscar"] = "oscar";
|
|
1771
1795
|
DsType2["dms"] = "dms";
|
|
1796
|
+
DsType2["selectdb"] = "selectdb";
|
|
1797
|
+
DsType2["databricks"] = "databricks";
|
|
1798
|
+
DsType2["bigquery"] = "bigquery";
|
|
1772
1799
|
})(DsType || (DsType = {}));
|
|
1773
1800
|
var AcrossDsType;
|
|
1774
1801
|
(function(AcrossDsType2) {
|
|
@@ -1798,6 +1825,30 @@ var DataSourceSort;
|
|
|
1798
1825
|
DataSourceSort2[DataSourceSort2["LING_YANG_ONE"] = 6] = "LING_YANG_ONE";
|
|
1799
1826
|
DataSourceSort2[DataSourceSort2["OTHER_DATASOURCE"] = 7] = "OTHER_DATASOURCE";
|
|
1800
1827
|
})(DataSourceSort || (DataSourceSort = {}));
|
|
1828
|
+
var DataSourcesConfigId;
|
|
1829
|
+
(function(DataSourcesConfigId2) {
|
|
1830
|
+
DataSourcesConfigId2["cloud"] = "cloud";
|
|
1831
|
+
DataSourcesConfigId2["local"] = "local";
|
|
1832
|
+
DataSourcesConfigId2["database"] = "database";
|
|
1833
|
+
DataSourcesConfigId2["application"] = "application";
|
|
1834
|
+
DataSourcesConfigId2["other"] = "other";
|
|
1835
|
+
DataSourcesConfigId2["api"] = "api";
|
|
1836
|
+
DataSourcesConfigId2["tencent"] = "tencent";
|
|
1837
|
+
DataSourcesConfigId2["huawei"] = "huawei";
|
|
1838
|
+
DataSourcesConfigId2["microsoft"] = "microsoft";
|
|
1839
|
+
DataSourcesConfigId2["aws"] = "aws";
|
|
1840
|
+
DataSourcesConfigId2["google"] = "google";
|
|
1841
|
+
DataSourcesConfigId2["customDs"] = "customDs";
|
|
1842
|
+
})(DataSourcesConfigId || (DataSourcesConfigId = {}));
|
|
1843
|
+
var dataBaseType = [
|
|
1844
|
+
"cloud",
|
|
1845
|
+
"local",
|
|
1846
|
+
"aws",
|
|
1847
|
+
"huawei",
|
|
1848
|
+
"tencent",
|
|
1849
|
+
"microsoft",
|
|
1850
|
+
"google"
|
|
1851
|
+
];
|
|
1801
1852
|
|
|
1802
1853
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
1803
1854
|
var CustomMenuMode;
|
|
@@ -1806,6 +1857,16 @@ var CustomMenuMode;
|
|
|
1806
1857
|
CustomMenuMode2[CustomMenuMode2["pack"] = 2] = "pack";
|
|
1807
1858
|
})(CustomMenuMode || (CustomMenuMode = {}));
|
|
1808
1859
|
|
|
1860
|
+
// src/basic/bi-types/src/open/common/page-types.ts
|
|
1861
|
+
var OpenPageTypeEnum;
|
|
1862
|
+
(function(OpenPageTypeEnum2) {
|
|
1863
|
+
OpenPageTypeEnum2["dashboard"] = "dashboard";
|
|
1864
|
+
OpenPageTypeEnum2["webExcel"] = "webExcel";
|
|
1865
|
+
OpenPageTypeEnum2["screen"] = "screen";
|
|
1866
|
+
OpenPageTypeEnum2["offline"] = "offline";
|
|
1867
|
+
OpenPageTypeEnum2["analysis"] = "analysis";
|
|
1868
|
+
})(OpenPageTypeEnum || (OpenPageTypeEnum = {}));
|
|
1869
|
+
|
|
1809
1870
|
// src/basic/bi-types/src/router/route-key.ts
|
|
1810
1871
|
var RouteKey;
|
|
1811
1872
|
(function(RouteKey2) {
|
|
@@ -1823,6 +1884,7 @@ var RouteKey;
|
|
|
1823
1884
|
RouteKey2["userTagDetailManage"] = "userTagDetailManage";
|
|
1824
1885
|
RouteKey2["tagManage"] = "tagManage";
|
|
1825
1886
|
RouteKey2["userRoleManage"] = "userRoleManage";
|
|
1887
|
+
RouteKey2["orgAdminCommon"] = "orgAdminCommon";
|
|
1826
1888
|
RouteKey2["orgAdminSpace"] = "orgAdminSpace";
|
|
1827
1889
|
RouteKey2["orgAdminWorkspace"] = "orgAdminWorkspace";
|
|
1828
1890
|
RouteKey2["orgAdminWorkspaceInfo"] = "orgAdminWorkspaceInfo";
|
|
@@ -1892,6 +1954,7 @@ var RouteKey;
|
|
|
1892
1954
|
RouteKey2["orgDatasetPerformance"] = "orgDatasetPerformance";
|
|
1893
1955
|
RouteKey2["orgDashboardPerformance"] = "orgDashboardPerformance";
|
|
1894
1956
|
RouteKey2["orgAdminAnalysis"] = "orgAdminAnalysis";
|
|
1957
|
+
RouteKey2["orgAdminProductAuthManage"] = "orgAdminProductAuthManage";
|
|
1895
1958
|
RouteKey2["orgAdminResource"] = "orgAdminResource";
|
|
1896
1959
|
RouteKey2["orgAdminResourceConfig"] = "orgAdminResourceConfig";
|
|
1897
1960
|
RouteKey2["orgAdminResourceRecord"] = "orgAdminResourceRecord";
|
|
@@ -1946,10 +2009,15 @@ var RouteKey;
|
|
|
1946
2009
|
RouteKey2["viewMonitor"] = "viewMonitor";
|
|
1947
2010
|
RouteKey2["viewSearch"] = "viewSearch";
|
|
1948
2011
|
RouteKey2["viewSharedContentOnly"] = "viewSharedContentOnly";
|
|
2012
|
+
RouteKey2["viewWordAgent"] = "viewWordAgent";
|
|
1949
2013
|
RouteKey2["viewPortal"] = "viewPortal";
|
|
1950
2014
|
RouteKey2["viewCategory"] = "viewCategory";
|
|
1951
2015
|
RouteKey2["copilotHome"] = "copilotHome";
|
|
2016
|
+
RouteKey2["wordAgentHome"] = "wordAgentHome";
|
|
1952
2017
|
RouteKey2["embedModule"] = "embedModule";
|
|
2018
|
+
RouteKey2["biAgentUserConfig"] = "biAgentUserConfig";
|
|
2019
|
+
RouteKey2["upgradeTable"] = "upgradeTable";
|
|
2020
|
+
RouteKey2["accountFailure"] = "accountFailure";
|
|
1953
2021
|
RouteKey2["workPlatform"] = "workPlatform";
|
|
1954
2022
|
RouteKey2["workspace"] = "workspace";
|
|
1955
2023
|
RouteKey2["portalList"] = "portalList";
|
|
@@ -2035,12 +2103,15 @@ var RouteKey;
|
|
|
2035
2103
|
RouteKey2["opsLicense"] = "opsLicense";
|
|
2036
2104
|
RouteKey2["opsTenantManage"] = "opsTenantManage";
|
|
2037
2105
|
RouteKey2["opsApply"] = "opsApply";
|
|
2106
|
+
RouteKey2["opsCopilotOfficialAgent"] = "opsCopilotOfficialAgent";
|
|
2038
2107
|
RouteKey2["opsLoginConfig"] = "opsLoginConfig";
|
|
2039
2108
|
RouteKey2["opsLoginSystemConfig"] = "opsLoginSystemConfig";
|
|
2040
2109
|
RouteKey2["opsSystemConfig"] = "opsSystemConfig";
|
|
2041
2110
|
RouteKey2["docsManageMenus"] = "docsManageMenus";
|
|
2042
2111
|
RouteKey2["docsManageItems"] = "docsManageItems";
|
|
2043
2112
|
RouteKey2["mobileEntry"] = "mobileEntry";
|
|
2113
|
+
RouteKey2["mobileWebSite"] = "mobileWebSite";
|
|
2114
|
+
RouteKey2["mobileHomeEntry"] = "mobileHomeEntry";
|
|
2044
2115
|
RouteKey2["mobileRoot"] = "mobileRoot";
|
|
2045
2116
|
RouteKey2["mobileHome"] = "mobileHome";
|
|
2046
2117
|
RouteKey2["mobileCommon"] = "mobileCommon";
|
|
@@ -2078,6 +2149,12 @@ var RouteKey;
|
|
|
2078
2149
|
RouteKey2["templateSuper"] = "templateSuper";
|
|
2079
2150
|
RouteKey2["templateNlPublic"] = "templateNlPublic";
|
|
2080
2151
|
RouteKey2["templateNlPreView"] = "templateNlPreView";
|
|
2152
|
+
RouteKey2["templateVisualization"] = "templateVisualization";
|
|
2153
|
+
RouteKey2["loginRoot"] = "loginRoot";
|
|
2154
|
+
RouteKey2["loginSystemConfig"] = "loginSystemConfig";
|
|
2155
|
+
RouteKey2["loginAuthConfig"] = "loginAuthConfig";
|
|
2156
|
+
RouteKey2["login"] = "login";
|
|
2157
|
+
RouteKey2["loginMicro"] = "loginMicro";
|
|
2081
2158
|
RouteKey2["biAgent"] = "biAgent";
|
|
2082
2159
|
RouteKey2["biAgentHome"] = "biAgentHome";
|
|
2083
2160
|
RouteKey2["biAgentTracking"] = "biAgentTracking";
|
|
@@ -2085,8 +2162,13 @@ var RouteKey;
|
|
|
2085
2162
|
RouteKey2["biAgentSettings"] = "biAgentSettings";
|
|
2086
2163
|
RouteKey2["biAgentHomePostDetail"] = "biAgentHomePostDetail";
|
|
2087
2164
|
RouteKey2["biAgentTrackingPostDetail"] = "biAgentTrackingPostDetail";
|
|
2088
|
-
RouteKey2["
|
|
2089
|
-
RouteKey2["
|
|
2165
|
+
RouteKey2["monitorScreenshot"] = "monitorScreenshot";
|
|
2166
|
+
RouteKey2["dingDoc"] = "dingDoc";
|
|
2167
|
+
RouteKey2["wordAgentRoot"] = "wordAgentRoot";
|
|
2168
|
+
RouteKey2["wordAgentEdit"] = "wordAgentEdit";
|
|
2169
|
+
RouteKey2["wordAgentView"] = "wordAgentView";
|
|
2170
|
+
RouteKey2["wordAgentFilePreview"] = "wordAgentFilePreview";
|
|
2171
|
+
RouteKey2["wordAgentPublicView"] = "wordAgentPublicView";
|
|
2090
2172
|
RouteKey2["dashboardScreenRoot"] = "dashboardScreenRoot";
|
|
2091
2173
|
RouteKey2["dashboardScreenEdit"] = "dashboardScreenEdit";
|
|
2092
2174
|
RouteKey2["dashboardScreenView"] = "dashboardScreenView";
|
|
@@ -2112,6 +2194,10 @@ var ROUTE_TREE = {
|
|
|
2112
2194
|
key: RouteKey.orgAdmin,
|
|
2113
2195
|
path: "/org/admin",
|
|
2114
2196
|
children: [
|
|
2197
|
+
{
|
|
2198
|
+
key: RouteKey.orgAdminCommon,
|
|
2199
|
+
path: "/org/admin/:tab/:tag"
|
|
2200
|
+
},
|
|
2115
2201
|
{
|
|
2116
2202
|
key: RouteKey.orgAdminInfo,
|
|
2117
2203
|
path: "/org/admin/info",
|
|
@@ -2494,6 +2580,11 @@ var ROUTE_TREE = {
|
|
|
2494
2580
|
path: "/org/admin/biAgents/performanceAssistant"
|
|
2495
2581
|
}
|
|
2496
2582
|
]
|
|
2583
|
+
},
|
|
2584
|
+
/** 组织管理-产品权限管理 */
|
|
2585
|
+
{
|
|
2586
|
+
key: RouteKey.orgAdminProductAuthManage,
|
|
2587
|
+
path: "/org/admin/productAuthManage"
|
|
2497
2588
|
}
|
|
2498
2589
|
]
|
|
2499
2590
|
},
|
|
@@ -2832,17 +2923,37 @@ var ROUTE_TREE = {
|
|
|
2832
2923
|
key: RouteKey.copilotHome,
|
|
2833
2924
|
path: "/copilotPage"
|
|
2834
2925
|
},
|
|
2926
|
+
/** 小Q报告 */
|
|
2927
|
+
{
|
|
2928
|
+
key: RouteKey.wordAgentHome,
|
|
2929
|
+
path: "/copilotPage/qreport"
|
|
2930
|
+
},
|
|
2835
2931
|
/** 模块嵌入 */
|
|
2836
2932
|
{
|
|
2837
2933
|
key: RouteKey.embedModule,
|
|
2838
2934
|
path: "/embed/module"
|
|
2935
|
+
},
|
|
2936
|
+
/** biAgent用户配置 */
|
|
2937
|
+
{
|
|
2938
|
+
key: RouteKey.biAgentUserConfig,
|
|
2939
|
+
path: "/biAgents/userConfig"
|
|
2940
|
+
},
|
|
2941
|
+
/** 老交叉表、老电子表格升级列表页 */
|
|
2942
|
+
{
|
|
2943
|
+
key: RouteKey.upgradeTable,
|
|
2944
|
+
path: "/upgradeTable.htm"
|
|
2945
|
+
},
|
|
2946
|
+
/** 账号失效页面 */
|
|
2947
|
+
{
|
|
2948
|
+
key: RouteKey.accountFailure,
|
|
2949
|
+
path: "/accountFailure"
|
|
2839
2950
|
}
|
|
2840
2951
|
]
|
|
2841
2952
|
},
|
|
2842
2953
|
/** 智能小Q */
|
|
2843
2954
|
{
|
|
2844
2955
|
key: RouteKey.copilotRoot,
|
|
2845
|
-
path: "/
|
|
2956
|
+
path: "/copilotRoot",
|
|
2846
2957
|
children: [
|
|
2847
2958
|
{
|
|
2848
2959
|
key: RouteKey.copilotView,
|
|
@@ -2911,7 +3022,7 @@ var ROUTE_TREE = {
|
|
|
2911
3022
|
/** 仪表板 */
|
|
2912
3023
|
{
|
|
2913
3024
|
key: RouteKey.dashboardRoot,
|
|
2914
|
-
path: "/
|
|
3025
|
+
path: "/dashboardRoot",
|
|
2915
3026
|
children: [
|
|
2916
3027
|
{
|
|
2917
3028
|
key: RouteKey.dashboardView,
|
|
@@ -3116,6 +3227,10 @@ var ROUTE_TREE = {
|
|
|
3116
3227
|
key: RouteKey.opsLoginSystemConfig,
|
|
3117
3228
|
path: "/opscenter/loginSystemConfig"
|
|
3118
3229
|
},
|
|
3230
|
+
{
|
|
3231
|
+
key: RouteKey.opsCopilotOfficialAgent,
|
|
3232
|
+
path: "/opscenter/copilot/officialAgent"
|
|
3233
|
+
},
|
|
3119
3234
|
{
|
|
3120
3235
|
key: RouteKey.opsSystemConfig,
|
|
3121
3236
|
path: "/opscenter/sysconfig"
|
|
@@ -3130,11 +3245,23 @@ var ROUTE_TREE = {
|
|
|
3130
3245
|
}
|
|
3131
3246
|
]
|
|
3132
3247
|
},
|
|
3133
|
-
/** 移动端入口
|
|
3248
|
+
/** 移动端入口
|
|
3249
|
+
* 不放在移动端Root中是因为不是一个路由环境, 此处仅作为入口
|
|
3250
|
+
*/
|
|
3134
3251
|
{
|
|
3135
3252
|
key: RouteKey.mobileEntry,
|
|
3136
3253
|
path: "/m/"
|
|
3137
3254
|
},
|
|
3255
|
+
/** 移动端免登页 */
|
|
3256
|
+
{
|
|
3257
|
+
key: RouteKey.mobileWebSite,
|
|
3258
|
+
path: "/m/website"
|
|
3259
|
+
},
|
|
3260
|
+
/** 移动端微应用-首页入口 */
|
|
3261
|
+
{
|
|
3262
|
+
key: RouteKey.mobileHomeEntry,
|
|
3263
|
+
path: "/m/home"
|
|
3264
|
+
},
|
|
3138
3265
|
{
|
|
3139
3266
|
/** 移动端微应用 */
|
|
3140
3267
|
key: RouteKey.mobileRoot,
|
|
@@ -3268,6 +3395,10 @@ var ROUTE_TREE = {
|
|
|
3268
3395
|
{
|
|
3269
3396
|
key: RouteKey.templateNlPreView,
|
|
3270
3397
|
path: "/template/nl/preview"
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
key: RouteKey.templateVisualization,
|
|
3401
|
+
path: "/template/extended_visualization"
|
|
3271
3402
|
}
|
|
3272
3403
|
]
|
|
3273
3404
|
},
|
|
@@ -3285,6 +3416,11 @@ var ROUTE_TREE = {
|
|
|
3285
3416
|
}
|
|
3286
3417
|
]
|
|
3287
3418
|
},
|
|
3419
|
+
/** 监控截图 */
|
|
3420
|
+
{
|
|
3421
|
+
key: RouteKey.monitorScreenshot,
|
|
3422
|
+
path: "/token3rd/monitor/card.htm"
|
|
3423
|
+
},
|
|
3288
3424
|
/** 观星台 */
|
|
3289
3425
|
{
|
|
3290
3426
|
key: RouteKey.biAgent,
|
|
@@ -3316,10 +3452,51 @@ var ROUTE_TREE = {
|
|
|
3316
3452
|
}
|
|
3317
3453
|
]
|
|
3318
3454
|
},
|
|
3455
|
+
/** 钉钉文档嵌入页 */
|
|
3456
|
+
{
|
|
3457
|
+
key: RouteKey.dingDoc,
|
|
3458
|
+
path: "/dingDoc.htm"
|
|
3459
|
+
},
|
|
3460
|
+
/** 小Q报告 */
|
|
3461
|
+
{
|
|
3462
|
+
key: RouteKey.wordAgentRoot,
|
|
3463
|
+
path: "/qreport",
|
|
3464
|
+
children: [
|
|
3465
|
+
{
|
|
3466
|
+
key: RouteKey.wordAgentView,
|
|
3467
|
+
path: "/qreport/view.htm"
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
key: RouteKey.wordAgentEdit,
|
|
3471
|
+
path: "/qreport/edit.htm"
|
|
3472
|
+
},
|
|
3473
|
+
{
|
|
3474
|
+
key: RouteKey.wordAgentPublicView,
|
|
3475
|
+
path: "/token3rd/qreport/view.htm"
|
|
3476
|
+
},
|
|
3477
|
+
{
|
|
3478
|
+
key: RouteKey.wordAgentFilePreview,
|
|
3479
|
+
path: "/qreport/file-view.htm"
|
|
3480
|
+
}
|
|
3481
|
+
]
|
|
3482
|
+
},
|
|
3483
|
+
/** 登陆页 */
|
|
3319
3484
|
{
|
|
3320
3485
|
key: RouteKey.loginRoot,
|
|
3321
3486
|
path: "/auth_sso",
|
|
3322
3487
|
children: [
|
|
3488
|
+
{
|
|
3489
|
+
key: RouteKey.loginSystemConfig,
|
|
3490
|
+
path: "/auth_sso/login/systemConfig.htm"
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
key: RouteKey.loginAuthConfig,
|
|
3494
|
+
path: "/auth_sso/login/config.htm"
|
|
3495
|
+
},
|
|
3496
|
+
{
|
|
3497
|
+
key: RouteKey.login,
|
|
3498
|
+
path: "/auth_sso/login/login.htm"
|
|
3499
|
+
},
|
|
3323
3500
|
{
|
|
3324
3501
|
key: RouteKey.loginMicro,
|
|
3325
3502
|
path: "/auth_sso/login/microLogin.htm"
|
|
@@ -3347,20 +3524,42 @@ var ROUTE_TREE = {
|
|
|
3347
3524
|
}
|
|
3348
3525
|
]
|
|
3349
3526
|
};
|
|
3350
|
-
var
|
|
3351
|
-
|
|
3352
|
-
|
|
3527
|
+
var ROUTE_PATH_MAP = {};
|
|
3528
|
+
var PATH_ROUTE_MAP = {};
|
|
3529
|
+
var DYNAMIC_PATH_ROUTE_MAP = {};
|
|
3530
|
+
var MOBILE_PATH_ROUTE_MAP = {};
|
|
3531
|
+
function traverseRouteTree(node) {
|
|
3532
|
+
var isMobile = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
3533
|
+
if (isMobile) {
|
|
3534
|
+
if (MOBILE_PATH_ROUTE_MAP[node.path]) {
|
|
3535
|
+
throw new Error("Duplicate path found: ".concat(node.path));
|
|
3536
|
+
}
|
|
3537
|
+
MOBILE_PATH_ROUTE_MAP[node.path] = node.key;
|
|
3538
|
+
} else {
|
|
3539
|
+
if (PATH_ROUTE_MAP[node.path]) {
|
|
3540
|
+
throw new Error("Duplicate path found: ".concat(node.path));
|
|
3541
|
+
}
|
|
3542
|
+
PATH_ROUTE_MAP[node.path] = node.key;
|
|
3543
|
+
}
|
|
3544
|
+
if (ROUTE_PATH_MAP[node.key]) {
|
|
3545
|
+
throw new Error("Duplicate RouteKey found: ".concat(node.key));
|
|
3546
|
+
}
|
|
3547
|
+
ROUTE_PATH_MAP[node.key] = node.path;
|
|
3548
|
+
if (node.path.includes(":")) {
|
|
3549
|
+
DYNAMIC_PATH_ROUTE_MAP[node.path] = node.key;
|
|
3550
|
+
}
|
|
3353
3551
|
if (node.children && node.children.length > 0) {
|
|
3354
3552
|
node.children.forEach(function(child) {
|
|
3355
|
-
|
|
3553
|
+
var childIsMobile = isMobile || child.key === RouteKey.mobileRoot;
|
|
3554
|
+
if (child.key === RouteKey.mobileRoot) {
|
|
3555
|
+
traverseRouteTree(child, true);
|
|
3556
|
+
} else {
|
|
3557
|
+
traverseRouteTree(child, childIsMobile);
|
|
3558
|
+
}
|
|
3356
3559
|
});
|
|
3357
3560
|
}
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
var ROUTE_PATH_MAP = traverseRouteTree(ROUTE_TREE);
|
|
3361
|
-
var MOBILE_ROUTE_PATH_MAP = traverseRouteTree(ROUTE_TREE.children.filter(function(item) {
|
|
3362
|
-
return item.key === RouteKey.mobileRoot;
|
|
3363
|
-
})[0]);
|
|
3561
|
+
}
|
|
3562
|
+
traverseRouteTree(ROUTE_TREE);
|
|
3364
3563
|
|
|
3365
3564
|
// src/basic/bi-types/src/permission-type.ts
|
|
3366
3565
|
var PermissionPageType;
|
|
@@ -3384,6 +3583,7 @@ var PermissionPageType;
|
|
|
3384
3583
|
PermissionPageType2["llmCubeTheme"] = "llmCubeTheme";
|
|
3385
3584
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
3386
3585
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
3586
|
+
PermissionPageType2["qReport"] = "qreport";
|
|
3387
3587
|
})(PermissionPageType || (PermissionPageType = {}));
|
|
3388
3588
|
export {
|
|
3389
3589
|
AccumulateCalcType,
|
|
@@ -3408,6 +3608,7 @@ export {
|
|
|
3408
3608
|
ConfigCellType,
|
|
3409
3609
|
ConfigColumnType,
|
|
3410
3610
|
ConstastTypeMap,
|
|
3611
|
+
ContrastType,
|
|
3411
3612
|
ContrastTypes,
|
|
3412
3613
|
CrossTableColumnModel,
|
|
3413
3614
|
CrossTableColumnType,
|
|
@@ -3420,6 +3621,7 @@ export {
|
|
|
3420
3621
|
CustomAreaType,
|
|
3421
3622
|
CustomEventType,
|
|
3422
3623
|
CustomMenuMode,
|
|
3624
|
+
DYNAMIC_PATH_ROUTE_MAP,
|
|
3423
3625
|
DataConfig,
|
|
3424
3626
|
DataConfigAreaItemColumn,
|
|
3425
3627
|
DataLoadMode,
|
|
@@ -3428,6 +3630,7 @@ export {
|
|
|
3428
3630
|
DataSchemaRule,
|
|
3429
3631
|
DataSourcePortValue,
|
|
3430
3632
|
DataSourceSort,
|
|
3633
|
+
DataSourcesConfigId,
|
|
3431
3634
|
DataType,
|
|
3432
3635
|
DateGranularity,
|
|
3433
3636
|
DropDownMenuType,
|
|
@@ -3458,16 +3661,18 @@ export {
|
|
|
3458
3661
|
LegendPositionType,
|
|
3459
3662
|
LegendUnHighLightedValue,
|
|
3460
3663
|
LnglatGroupChildFlags,
|
|
3461
|
-
|
|
3664
|
+
MOBILE_PATH_ROUTE_MAP,
|
|
3462
3665
|
MultiSeparator,
|
|
3463
3666
|
NegativeMode,
|
|
3464
3667
|
NumberFormats,
|
|
3465
3668
|
NumberValueType,
|
|
3466
3669
|
OlapResponseBase,
|
|
3467
3670
|
OpenEventTypeEnum,
|
|
3671
|
+
OpenPageTypeEnum,
|
|
3468
3672
|
OperationMenuItem,
|
|
3469
3673
|
OperationTypes,
|
|
3470
3674
|
OriginDateType,
|
|
3675
|
+
PATH_ROUTE_MAP,
|
|
3471
3676
|
ParamDataType,
|
|
3472
3677
|
PermissionPageType,
|
|
3473
3678
|
PhysicalSchema,
|
|
@@ -3502,5 +3707,6 @@ export {
|
|
|
3502
3707
|
TableType,
|
|
3503
3708
|
UsePermitType,
|
|
3504
3709
|
VerticalAlignTypes,
|
|
3505
|
-
VirtualFieldOperation
|
|
3710
|
+
VirtualFieldOperation,
|
|
3711
|
+
dataBaseType
|
|
3506
3712
|
};
|