@quickbi/bi-types 3.2.6 → 3.2.7
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 +1128 -808
- package/cjs/index.js +481 -244
- package/esm/index.d.ts +1128 -808
- package/esm/index.mjs +481 -244
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -87,6 +87,7 @@ __export(src_exports, {
|
|
|
87
87
|
FieldGroupType: () => FieldGroupType,
|
|
88
88
|
FieldType: () => FieldType,
|
|
89
89
|
FilterAttr: () => FilterAttr,
|
|
90
|
+
FormatType: () => FormatType,
|
|
90
91
|
GroupOperator: () => GroupOperator,
|
|
91
92
|
GroupType: () => GroupType,
|
|
92
93
|
HintModal: () => HintModal,
|
|
@@ -94,9 +95,13 @@ __export(src_exports, {
|
|
|
94
95
|
ImageSizes: () => ImageSizes,
|
|
95
96
|
JoinCondition: () => JoinCondition,
|
|
96
97
|
LegendAlignType: () => LegendAlignType,
|
|
98
|
+
LegendDisplayPercentPositionValue: () => LegendDisplayPercentPositionValue,
|
|
97
99
|
LegendPositionType: () => LegendPositionType,
|
|
98
100
|
LegendUnHighLightedValue: () => LegendUnHighLightedValue,
|
|
99
101
|
LnglatGroupChildFlags: () => LnglatGroupChildFlags,
|
|
102
|
+
LogicalSchema: () => LogicalSchema,
|
|
103
|
+
LogicalTable: () => LogicalTable,
|
|
104
|
+
LogicalTree: () => LogicalTree,
|
|
100
105
|
MOBILE_PATH_ROUTE_MAP: () => MOBILE_PATH_ROUTE_MAP,
|
|
101
106
|
MultiSeparator: () => MultiSeparator,
|
|
102
107
|
NegativeMode: () => NegativeMode,
|
|
@@ -108,7 +113,6 @@ __export(src_exports, {
|
|
|
108
113
|
OperationMenuItem: () => OperationMenuItem,
|
|
109
114
|
OperationTypes: () => OperationTypes,
|
|
110
115
|
OrgThemeMode: () => OrgThemeMode,
|
|
111
|
-
OriginDateType: () => OriginDateType,
|
|
112
116
|
PATH_ROUTE_MAP: () => PATH_ROUTE_MAP,
|
|
113
117
|
ParamDataType: () => ParamDataType,
|
|
114
118
|
ParamStyleType: () => ParamStyleType,
|
|
@@ -123,6 +127,7 @@ __export(src_exports, {
|
|
|
123
127
|
ROUTE_PATH_MAP: () => ROUTE_PATH_MAP,
|
|
124
128
|
ROUTE_TREE: () => ROUTE_TREE,
|
|
125
129
|
ROUTE_TREE_MAP: () => ROUTE_TREE_MAP,
|
|
130
|
+
ReferentialIntegrity: () => ReferentialIntegrity,
|
|
126
131
|
RegionGranularity: () => RegionGranularity,
|
|
127
132
|
ReportSummaryInsightType: () => ReportSummaryInsightType,
|
|
128
133
|
ResourcePageHeaderGroupEnum: () => ResourcePageHeaderGroupEnum,
|
|
@@ -149,8 +154,7 @@ __export(src_exports, {
|
|
|
149
154
|
ToolFieldType: () => ToolFieldType,
|
|
150
155
|
UsePermitType: () => UsePermitType,
|
|
151
156
|
VerticalAlignTypes: () => VerticalAlignTypes,
|
|
152
|
-
VirtualFieldOperation: () => VirtualFieldOperation
|
|
153
|
-
dataBaseType: () => dataBaseType
|
|
157
|
+
VirtualFieldOperation: () => VirtualFieldOperation
|
|
154
158
|
});
|
|
155
159
|
module.exports = __toCommonJS(src_exports);
|
|
156
160
|
|
|
@@ -231,6 +235,7 @@ var CUSTOM_FIELD_TYPES;
|
|
|
231
235
|
CUSTOM_FIELD_TYPES2["FIELD_GROUP"] = "FIELD_GROUP";
|
|
232
236
|
CUSTOM_FIELD_TYPES2["AGGREGATE_FIELD"] = "AGGREGATE_FIELD";
|
|
233
237
|
CUSTOM_FIELD_TYPES2["STRING_FIELD"] = "STRING_FIELD";
|
|
238
|
+
CUSTOM_FIELD_TYPES2["GROUP_CONTRAST"] = "GROUP_CONTRAST";
|
|
234
239
|
})(CUSTOM_FIELD_TYPES || (CUSTOM_FIELD_TYPES = {}));
|
|
235
240
|
var ResultMode;
|
|
236
241
|
(function(ResultMode2) {
|
|
@@ -418,6 +423,8 @@ var DataConfigAreaItemColumn = function DataConfigAreaItemColumn2() {
|
|
|
418
423
|
_define_property2(this, "groupSortInfo", void 0);
|
|
419
424
|
_define_property2(this, "isMultiField", void 0);
|
|
420
425
|
_define_property2(this, "parentFieldGuid", void 0);
|
|
426
|
+
_define_property2(this, "isVirtual", void 0);
|
|
427
|
+
_define_property2(this, "groupContrast", void 0);
|
|
421
428
|
};
|
|
422
429
|
var ContrastType;
|
|
423
430
|
(function(ContrastType2) {
|
|
@@ -471,6 +478,8 @@ var FieldConfigTypes;
|
|
|
471
478
|
FieldConfigTypes2["hideField"] = "hideField";
|
|
472
479
|
FieldConfigTypes2["auxiliaryField"] = "auxiliaryField";
|
|
473
480
|
FieldConfigTypes2["emptyValueDisplay"] = "emptyValueDisplay";
|
|
481
|
+
FieldConfigTypes2["drillSwitch"] = "drillSwitch";
|
|
482
|
+
FieldConfigTypes2["drillConfig"] = "drillConfig";
|
|
474
483
|
})(FieldConfigTypes || (FieldConfigTypes = {}));
|
|
475
484
|
var Aggregators;
|
|
476
485
|
(function(Aggregators2) {
|
|
@@ -478,6 +487,7 @@ var Aggregators;
|
|
|
478
487
|
Aggregators2["avg"] = "avg";
|
|
479
488
|
Aggregators2["count"] = "count";
|
|
480
489
|
Aggregators2["countd"] = "countd";
|
|
490
|
+
Aggregators2["approx_distinct"] = "approx_distinct";
|
|
481
491
|
Aggregators2["null"] = "null";
|
|
482
492
|
Aggregators2["more"] = "more";
|
|
483
493
|
Aggregators2["max"] = "max";
|
|
@@ -524,6 +534,7 @@ var AdvanceCalcDateTypes;
|
|
|
524
534
|
var NumberFormats;
|
|
525
535
|
(function(NumberFormats2) {
|
|
526
536
|
NumberFormats2["auto"] = "auto";
|
|
537
|
+
NumberFormats2["general"] = "general";
|
|
527
538
|
NumberFormats2["int"] = "int";
|
|
528
539
|
NumberFormats2["oneDecimal"] = "oneDecimal";
|
|
529
540
|
NumberFormats2["twoDecimal"] = "twoDecimal";
|
|
@@ -655,6 +666,7 @@ var DataSchemaAreaItem = function DataSchemaAreaItem2() {
|
|
|
655
666
|
_define_property3(this, "namePrefixIcon", void 0);
|
|
656
667
|
_define_property3(this, "nameSuffix", void 0);
|
|
657
668
|
_define_property3(this, "chartStatus", void 0);
|
|
669
|
+
_define_property3(this, "geomType", void 0);
|
|
658
670
|
_define_property3(this, "chartStatusExclude", void 0);
|
|
659
671
|
_define_property3(this, "stackedSortType", void 0);
|
|
660
672
|
_define_property3(this, "isMultiMeasureWithColorLegend", void 0);
|
|
@@ -718,7 +730,11 @@ var DropDownMenuType = {
|
|
|
718
730
|
/** 时间补齐 */
|
|
719
731
|
timeCompletion: "timeCompletion",
|
|
720
732
|
/** 空值展示配置 */
|
|
721
|
-
emptyValueDisplay: "emptyValueDisplay"
|
|
733
|
+
emptyValueDisplay: "emptyValueDisplay",
|
|
734
|
+
/** 钻取开关(开启下钻/取消下钻) */
|
|
735
|
+
drillSwitch: "drillSwitch",
|
|
736
|
+
/** 钻取层级配置 */
|
|
737
|
+
drillConfig: "drillConfig"
|
|
722
738
|
};
|
|
723
739
|
|
|
724
740
|
// src/basic/bi-types/src/data-panel/data-schema.ts
|
|
@@ -965,6 +981,15 @@ var ComponentType;
|
|
|
965
981
|
ComponentType2[ComponentType2["UNSTRUCTURED_HIERARCHICAL"] = 128] = "UNSTRUCTURED_HIERARCHICAL";
|
|
966
982
|
ComponentType2[ComponentType2["UNSTRUCTURED_FREQUENCY"] = 129] = "UNSTRUCTURED_FREQUENCY";
|
|
967
983
|
ComponentType2[ComponentType2["SMART_INTERPRETATION"] = 130] = "SMART_INTERPRETATION";
|
|
984
|
+
ComponentType2[ComponentType2["EXPLORATION_SMART_CHART"] = 131] = "EXPLORATION_SMART_CHART";
|
|
985
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_TRANSLATE"] = 132] = "QUICK_REPORT_AI_TRANSLATE";
|
|
986
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_CLASSIFY"] = 133] = "QUICK_REPORT_AI_CLASSIFY";
|
|
987
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_CUSTOM"] = 134] = "QUICK_REPORT_AI_CUSTOM";
|
|
988
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_EXTRACT"] = 135] = "QUICK_REPORT_AI_EXTRACT";
|
|
989
|
+
ComponentType2[ComponentType2["QUICK_REPORT_AI_SUMMARIZE"] = 136] = "QUICK_REPORT_AI_SUMMARIZE";
|
|
990
|
+
ComponentType2[ComponentType2["ANALYTICAL_METRIC_NODE"] = 137] = "ANALYTICAL_METRIC_NODE";
|
|
991
|
+
ComponentType2[ComponentType2["ANALYTICAL_TEXT_NODE"] = 138] = "ANALYTICAL_TEXT_NODE";
|
|
992
|
+
ComponentType2[ComponentType2["INSIGHT_ANALYTICAL"] = 139] = "INSIGHT_ANALYTICAL";
|
|
968
993
|
})(ComponentType || (ComponentType = {}));
|
|
969
994
|
var _obj;
|
|
970
995
|
var ScreenComponentCode = (_obj = {}, _define_property5(_obj, "custom_component", 0), /** 图层组 */
|
|
@@ -1124,6 +1149,7 @@ var ChartType;
|
|
|
1124
1149
|
ChartType2["CONCAT_CONTAINER"] = "concat-container";
|
|
1125
1150
|
ChartType2["INDICATOR_RELATION"] = "indicator-relation";
|
|
1126
1151
|
ChartType2["SMART_INTERPRETATION"] = "smart-interpretation";
|
|
1152
|
+
ChartType2["EXPLORATION_SMART_CHART"] = "exploration-smart-chart";
|
|
1127
1153
|
ChartType2["UNSTRUCTURED_PARALLEL"] = "parallel";
|
|
1128
1154
|
ChartType2["UNSTRUCTURED_CONTRAST"] = "contrast";
|
|
1129
1155
|
ChartType2["UNSTRUCTURED_TIMELINE"] = "timeline";
|
|
@@ -1140,6 +1166,11 @@ var ChartType;
|
|
|
1140
1166
|
ChartType2["QUICK_REPORT_FORM_CHECKBOX"] = "quick-report-form-checkbox";
|
|
1141
1167
|
ChartType2["QUICK_REPORT_FORM_FUNCTION"] = "quick-report-form-function";
|
|
1142
1168
|
ChartType2["QUICK_REPORT"] = "quick-report";
|
|
1169
|
+
ChartType2["QUICK_REPORT_AI_TRANSLATE"] = "quick-report-ai-translate";
|
|
1170
|
+
ChartType2["QUICK_REPORT_AI_CLASSIFY"] = "quick-report-ai-classify";
|
|
1171
|
+
ChartType2["QUICK_REPORT_AI_CUSTOM"] = "quick-report-ai-custom";
|
|
1172
|
+
ChartType2["QUICK_REPORT_AI_EXTRACT"] = "quick-report-ai-extract";
|
|
1173
|
+
ChartType2["QUICK_REPORT_AI_SUMMARIZE"] = "quick-report-ai-summarize";
|
|
1143
1174
|
ChartType2["DATAFORM_TEXT"] = "dataform-text";
|
|
1144
1175
|
ChartType2["DATAFORM_TEXTAREA"] = "dataform-textarea";
|
|
1145
1176
|
ChartType2["DATAFORM_DROPDOWN"] = "dataform-dropdown";
|
|
@@ -1162,6 +1193,8 @@ var ChartType;
|
|
|
1162
1193
|
ChartType2["DATAFORM_USER_SELECT_SINGLE"] = "dataform-user-select-single";
|
|
1163
1194
|
ChartType2["DATAFORM_USER_SELECT_MULTI"] = "dataform-user-select-multi";
|
|
1164
1195
|
ChartType2["DATAFORM_SUBMIT_USER"] = "dataform-submit-user";
|
|
1196
|
+
ChartType2["ANALYTICAL_METRIC_NODE"] = "analytical-metric-node";
|
|
1197
|
+
ChartType2["ANALYTICAL_TEXT_NODE"] = "analytical-text-node";
|
|
1165
1198
|
})(ChartType || (ChartType = {}));
|
|
1166
1199
|
|
|
1167
1200
|
// src/basic/bi-types/src/cross-table.ts
|
|
@@ -1409,9 +1442,17 @@ var NegativeMode;
|
|
|
1409
1442
|
NegativeMode2["negative"] = "0";
|
|
1410
1443
|
NegativeMode2["bracket"] = "1";
|
|
1411
1444
|
})(NegativeMode || (NegativeMode = {}));
|
|
1445
|
+
var FormatType;
|
|
1446
|
+
(function(FormatType2) {
|
|
1447
|
+
FormatType2[FormatType2["Number"] = 0] = "Number";
|
|
1448
|
+
FormatType2[FormatType2["Percent"] = 1] = "Percent";
|
|
1449
|
+
FormatType2[FormatType2["Custom"] = 2] = "Custom";
|
|
1450
|
+
FormatType2[FormatType2["Auto"] = 3] = "Auto";
|
|
1451
|
+
})(FormatType || (FormatType = {}));
|
|
1412
1452
|
var SelectType;
|
|
1413
1453
|
(function(SelectType2) {
|
|
1414
1454
|
SelectType2["auto"] = "auto";
|
|
1455
|
+
SelectType2["general"] = "general";
|
|
1415
1456
|
SelectType2["int"] = "int";
|
|
1416
1457
|
SelectType2["oneDecimal"] = "oneDecimal";
|
|
1417
1458
|
SelectType2["twoDecimal"] = "twoDecimal";
|
|
@@ -1462,6 +1503,11 @@ var LegendUnHighLightedValue;
|
|
|
1462
1503
|
LegendUnHighLightedValue2["default"] = "-";
|
|
1463
1504
|
LegendUnHighLightedValue2["empty"] = "";
|
|
1464
1505
|
})(LegendUnHighLightedValue || (LegendUnHighLightedValue = {}));
|
|
1506
|
+
var LegendDisplayPercentPositionValue;
|
|
1507
|
+
(function(LegendDisplayPercentPositionValue2) {
|
|
1508
|
+
LegendDisplayPercentPositionValue2["Bottom"] = "bottom";
|
|
1509
|
+
LegendDisplayPercentPositionValue2["Right"] = "right";
|
|
1510
|
+
})(LegendDisplayPercentPositionValue || (LegendDisplayPercentPositionValue = {}));
|
|
1465
1511
|
var ConstastTypeMap = {
|
|
1466
1512
|
dateRegion: [
|
|
1467
1513
|
"DAY_DAY_RING_RATIO",
|
|
@@ -1543,26 +1589,69 @@ var Env;
|
|
|
1543
1589
|
Env2["mobile"] = "mobile";
|
|
1544
1590
|
})(Env || (Env = {}));
|
|
1545
1591
|
|
|
1546
|
-
// src/basic/bi-types/src/cube/cube-
|
|
1592
|
+
// src/basic/bi-types/src/cube/cube-field-expression.ts
|
|
1593
|
+
var FieldExpressionType;
|
|
1594
|
+
(function(FieldExpressionType2) {
|
|
1595
|
+
FieldExpressionType2["dataGroup"] = "dataGroup";
|
|
1596
|
+
FieldExpressionType2["udf"] = "udf";
|
|
1597
|
+
FieldExpressionType2["system"] = "system";
|
|
1598
|
+
FieldExpressionType2["tool"] = "tool";
|
|
1599
|
+
})(FieldExpressionType || (FieldExpressionType = {}));
|
|
1600
|
+
var ToolFieldType;
|
|
1601
|
+
(function(ToolFieldType2) {
|
|
1602
|
+
ToolFieldType2["DateDifference"] = "dateDifference";
|
|
1603
|
+
ToolFieldType2["MissingValueReplacement"] = "missingValueReplacement";
|
|
1604
|
+
ToolFieldType2["ValueReplacement"] = "valueReplacement";
|
|
1605
|
+
ToolFieldType2["SplitField"] = "SplitField";
|
|
1606
|
+
ToolFieldType2["MergeField"] = "mergeField";
|
|
1607
|
+
})(ToolFieldType || (ToolFieldType = {}));
|
|
1608
|
+
var GroupType;
|
|
1609
|
+
(function(GroupType2) {
|
|
1610
|
+
GroupType2["NormalGroup"] = "NormalGroup";
|
|
1611
|
+
GroupType2["ListGroup"] = "ListGroup";
|
|
1612
|
+
GroupType2["CustomizedGroup"] = "CustomizedGroup";
|
|
1613
|
+
})(GroupType || (GroupType = {}));
|
|
1614
|
+
var GroupOperator;
|
|
1615
|
+
(function(GroupOperator2) {
|
|
1616
|
+
GroupOperator2["LessThan"] = "lessThan";
|
|
1617
|
+
GroupOperator2["LessThanOrEqualTo"] = "lessThanOrEqualTo";
|
|
1618
|
+
GroupOperator2["GreaterThan"] = "greaterThan";
|
|
1619
|
+
GroupOperator2["GreaterThanOrEqualTo"] = "greaterThanOrEqualTo";
|
|
1620
|
+
GroupOperator2["IsNull"] = "isNull";
|
|
1621
|
+
GroupOperator2["Between"] = "between";
|
|
1622
|
+
})(GroupOperator || (GroupOperator = {}));
|
|
1623
|
+
|
|
1624
|
+
// src/basic/bi-types/src/cube/cube-links.ts
|
|
1625
|
+
var JoinCondition;
|
|
1626
|
+
(function(JoinCondition2) {
|
|
1627
|
+
JoinCondition2["EQUAL_TO"] = "equal-to";
|
|
1628
|
+
JoinCondition2["UNEQUAL_TO"] = "unequal-to";
|
|
1629
|
+
JoinCondition2["GREATER_THAN"] = "greater-than";
|
|
1630
|
+
JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
|
|
1631
|
+
JoinCondition2["LESS_THAN"] = "less-than";
|
|
1632
|
+
JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
|
|
1633
|
+
})(JoinCondition || (JoinCondition = {}));
|
|
1634
|
+
var TableRelation;
|
|
1635
|
+
(function(TableRelation2) {
|
|
1636
|
+
TableRelation2["ONE_TO_ONE"] = "one-to-one";
|
|
1637
|
+
TableRelation2["MANY_TO_MANY"] = "many-to-many";
|
|
1638
|
+
TableRelation2["ONE_TO_MANY"] = "one-to-many";
|
|
1639
|
+
TableRelation2["MANY_TO_ONE"] = "many-to-one";
|
|
1640
|
+
})(TableRelation || (TableRelation = {}));
|
|
1641
|
+
var ReferentialIntegrity;
|
|
1642
|
+
(function(ReferentialIntegrity2) {
|
|
1643
|
+
ReferentialIntegrity2["ALL_TO_ALL"] = "all-to-all";
|
|
1644
|
+
ReferentialIntegrity2["ALL_TO_SOME"] = "all-to-some";
|
|
1645
|
+
ReferentialIntegrity2["SOME_TO_ALL"] = "some-to-all";
|
|
1646
|
+
ReferentialIntegrity2["SOME_TO_SOME"] = "some-to-some";
|
|
1647
|
+
})(ReferentialIntegrity || (ReferentialIntegrity = {}));
|
|
1648
|
+
|
|
1649
|
+
// src/basic/bi-types/src/cube/cube-schema.ts
|
|
1547
1650
|
function _class_call_check6(instance, Constructor) {
|
|
1548
1651
|
if (!(instance instanceof Constructor)) {
|
|
1549
1652
|
throw new TypeError("Cannot call a class as a function");
|
|
1550
1653
|
}
|
|
1551
1654
|
}
|
|
1552
|
-
function _defineProperties2(target, props) {
|
|
1553
|
-
for (var i = 0; i < props.length; i++) {
|
|
1554
|
-
var descriptor = props[i];
|
|
1555
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
1556
|
-
descriptor.configurable = true;
|
|
1557
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
1558
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
function _create_class2(Constructor, protoProps, staticProps) {
|
|
1562
|
-
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
1563
|
-
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
1564
|
-
return Constructor;
|
|
1565
|
-
}
|
|
1566
1655
|
function _define_property7(obj, key, value) {
|
|
1567
1656
|
if (key in obj) {
|
|
1568
1657
|
Object.defineProperty(obj, key, {
|
|
@@ -1576,114 +1665,6 @@ function _define_property7(obj, key, value) {
|
|
|
1576
1665
|
}
|
|
1577
1666
|
return obj;
|
|
1578
1667
|
}
|
|
1579
|
-
var CustomAreaType;
|
|
1580
|
-
(function(CustomAreaType2) {
|
|
1581
|
-
CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
|
|
1582
|
-
CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
|
|
1583
|
-
CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
|
|
1584
|
-
CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
|
|
1585
|
-
CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
|
|
1586
|
-
})(CustomAreaType || (CustomAreaType = {}));
|
|
1587
|
-
var PictureCoordinateType;
|
|
1588
|
-
(function(PictureCoordinateType2) {
|
|
1589
|
-
PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
|
|
1590
|
-
PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
|
|
1591
|
-
})(PictureCoordinateType || (PictureCoordinateType = {}));
|
|
1592
|
-
var PhysicalTableType;
|
|
1593
|
-
(function(PhysicalTableType2) {
|
|
1594
|
-
PhysicalTableType2["Table"] = "table";
|
|
1595
|
-
PhysicalTableType2["Sql"] = "sql";
|
|
1596
|
-
PhysicalTableType2["File"] = "file";
|
|
1597
|
-
})(PhysicalTableType || (PhysicalTableType = {}));
|
|
1598
|
-
var PhysicalSchema = function PhysicalSchema2() {
|
|
1599
|
-
"use strict";
|
|
1600
|
-
_class_call_check6(this, PhysicalSchema2);
|
|
1601
|
-
_define_property7(this, "tables", []);
|
|
1602
|
-
_define_property7(this, "virtualTables", []);
|
|
1603
|
-
_define_property7(this, "unionTables", []);
|
|
1604
|
-
_define_property7(this, "links", []);
|
|
1605
|
-
_define_property7(this, "sqlHintTypes", []);
|
|
1606
|
-
_define_property7(this, "sqlHints", []);
|
|
1607
|
-
};
|
|
1608
|
-
var CubeSchema = function CubeSchema2() {
|
|
1609
|
-
"use strict";
|
|
1610
|
-
_class_call_check6(this, CubeSchema2);
|
|
1611
|
-
_define_property7(this, "uniqueId", "");
|
|
1612
|
-
_define_property7(this, "cubeId", "");
|
|
1613
|
-
_define_property7(this, "datasourceId", "");
|
|
1614
|
-
_define_property7(this, "caption", "");
|
|
1615
|
-
_define_property7(this, "fields", []);
|
|
1616
|
-
_define_property7(this, "fieldTree", []);
|
|
1617
|
-
_define_property7(this, "filter", null);
|
|
1618
|
-
_define_property7(this, "params", []);
|
|
1619
|
-
_define_property7(this, "sqlPlaceholders", []);
|
|
1620
|
-
};
|
|
1621
|
-
var EditPermitType;
|
|
1622
|
-
(function(EditPermitType2) {
|
|
1623
|
-
EditPermitType2[EditPermitType2["private"] = 0] = "private";
|
|
1624
|
-
EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
|
|
1625
|
-
EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
|
|
1626
|
-
EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
|
|
1627
|
-
})(EditPermitType || (EditPermitType = {}));
|
|
1628
|
-
var UsePermitType;
|
|
1629
|
-
(function(UsePermitType2) {
|
|
1630
|
-
UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
|
|
1631
|
-
UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
|
|
1632
|
-
})(UsePermitType || (UsePermitType = {}));
|
|
1633
|
-
var SchemaExtraInfo = function SchemaExtraInfo2() {
|
|
1634
|
-
"use strict";
|
|
1635
|
-
_class_call_check6(this, SchemaExtraInfo2);
|
|
1636
|
-
_define_property7(this, "aimDirId", null);
|
|
1637
|
-
_define_property7(this, "hasAuthorizedUse", void 0);
|
|
1638
|
-
_define_property7(this, "permissionList", void 0);
|
|
1639
|
-
_define_property7(this, "dataLevelAttributeIds", []);
|
|
1640
|
-
_define_property7(this, "withoutColumnLevelPermissionFields", []);
|
|
1641
|
-
_define_property7(this, "aggFunctions", []);
|
|
1642
|
-
_define_property7(this, "isDataMaskOpen", void 0);
|
|
1643
|
-
_define_property7(this, "isOpenColumnLevelPermission", void 0);
|
|
1644
|
-
_define_property7(this, "isOpenRowLevelPermission", void 0);
|
|
1645
|
-
_define_property7(this, "dsCreateOrigin", void 0);
|
|
1646
|
-
_define_property7(this, "dataLoadMode", void 0);
|
|
1647
|
-
_define_property7(this, "etlGenerateCube", void 0);
|
|
1648
|
-
_define_property7(this, "cubeType", null);
|
|
1649
|
-
_define_property7(this, "creatorId", void 0);
|
|
1650
|
-
_define_property7(this, "creatorName", void 0);
|
|
1651
|
-
_define_property7(this, "authLevel", void 0);
|
|
1652
|
-
_define_property7(this, "comments", void 0);
|
|
1653
|
-
_define_property7(this, "authorizedUseType", void 0);
|
|
1654
|
-
_define_property7(this, "functionConfig", void 0);
|
|
1655
|
-
_define_property7(this, "gmtModified", void 0);
|
|
1656
|
-
};
|
|
1657
|
-
var CubeModel = function CubeModel2() {
|
|
1658
|
-
"use strict";
|
|
1659
|
-
_class_call_check6(this, CubeModel2);
|
|
1660
|
-
_define_property7(this, "physicalSchema", new PhysicalSchema());
|
|
1661
|
-
_define_property7(this, "cubeSchema", new CubeSchema());
|
|
1662
|
-
_define_property7(this, "metaModelVersion", "2.0");
|
|
1663
|
-
_define_property7(this, "userDefineVersion", "5.0.1");
|
|
1664
|
-
_define_property7(this, "schemaExtraInfo", new SchemaExtraInfo());
|
|
1665
|
-
};
|
|
1666
|
-
var TableJoinType;
|
|
1667
|
-
(function(TableJoinType2) {
|
|
1668
|
-
TableJoinType2["LEFT_OUTER_JOIN"] = "LEFT_OUTER_JOIN";
|
|
1669
|
-
TableJoinType2["INNER_JOIN"] = "INNER_JOIN";
|
|
1670
|
-
TableJoinType2["RIGHT_OUTER_JOIN"] = "RIGHT_OUTER_JOIN";
|
|
1671
|
-
TableJoinType2["FULL_OUTER_JOIN"] = "FULL_OUTER_JOIN";
|
|
1672
|
-
TableJoinType2["JOIN_ERROR"] = "JOIN_ERROR";
|
|
1673
|
-
})(TableJoinType || (TableJoinType = {}));
|
|
1674
|
-
var TableRelation;
|
|
1675
|
-
(function(TableRelation2) {
|
|
1676
|
-
TableRelation2["MANY_TO_ONE"] = "many-to-one";
|
|
1677
|
-
})(TableRelation || (TableRelation = {}));
|
|
1678
|
-
var JoinCondition;
|
|
1679
|
-
(function(JoinCondition2) {
|
|
1680
|
-
JoinCondition2["EQUAL_TO"] = "equal-to";
|
|
1681
|
-
JoinCondition2["UNEQUAL_TO"] = "unequal-to";
|
|
1682
|
-
JoinCondition2["GREATER_THAN"] = "greater-than";
|
|
1683
|
-
JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
|
|
1684
|
-
JoinCondition2["LESS_THAN"] = "less-than";
|
|
1685
|
-
JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
|
|
1686
|
-
})(JoinCondition || (JoinCondition = {}));
|
|
1687
1668
|
var DataType;
|
|
1688
1669
|
(function(DataType2) {
|
|
1689
1670
|
DataType2["number"] = "number";
|
|
@@ -1704,6 +1685,15 @@ var SecondDataType;
|
|
|
1704
1685
|
SecondDataType2["time"] = "time";
|
|
1705
1686
|
SecondDataType2["multiValue"] = "multi_value";
|
|
1706
1687
|
})(SecondDataType || (SecondDataType = {}));
|
|
1688
|
+
var Aggregator;
|
|
1689
|
+
(function(Aggregator2) {
|
|
1690
|
+
Aggregator2["sum"] = "sum";
|
|
1691
|
+
Aggregator2["count"] = "count";
|
|
1692
|
+
Aggregator2["distinct-count"] = "distinct-count";
|
|
1693
|
+
Aggregator2["max"] = "max";
|
|
1694
|
+
Aggregator2["min"] = "min";
|
|
1695
|
+
Aggregator2["avg"] = "avg";
|
|
1696
|
+
})(Aggregator || (Aggregator = {}));
|
|
1707
1697
|
var CalendarTypeEnum;
|
|
1708
1698
|
(function(CalendarTypeEnum2) {
|
|
1709
1699
|
CalendarTypeEnum2["GregorianYear"] = "gregorian-year";
|
|
@@ -1743,6 +1733,36 @@ var MultiSeparator;
|
|
|
1743
1733
|
MultiSeparator2["semicolon"] = ";";
|
|
1744
1734
|
MultiSeparator2["space"] = " ";
|
|
1745
1735
|
})(MultiSeparator || (MultiSeparator = {}));
|
|
1736
|
+
var EmptyValueDisplayType;
|
|
1737
|
+
(function(EmptyValueDisplayType2) {
|
|
1738
|
+
EmptyValueDisplayType2["Hyphen"] = "hyphen";
|
|
1739
|
+
EmptyValueDisplayType2["Braces"] = "braces";
|
|
1740
|
+
EmptyValueDisplayType2["Null"] = "null";
|
|
1741
|
+
EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
|
|
1742
|
+
EmptyValueDisplayType2["Custom"] = "custom";
|
|
1743
|
+
})(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
|
|
1744
|
+
var CustomAreaType;
|
|
1745
|
+
(function(CustomAreaType2) {
|
|
1746
|
+
CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
|
|
1747
|
+
CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
|
|
1748
|
+
CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
|
|
1749
|
+
CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
|
|
1750
|
+
CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
|
|
1751
|
+
})(CustomAreaType || (CustomAreaType = {}));
|
|
1752
|
+
var PictureCoordinateType;
|
|
1753
|
+
(function(PictureCoordinateType2) {
|
|
1754
|
+
PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
|
|
1755
|
+
PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
|
|
1756
|
+
})(PictureCoordinateType || (PictureCoordinateType = {}));
|
|
1757
|
+
var FilterAttr = function FilterAttr2() {
|
|
1758
|
+
"use strict";
|
|
1759
|
+
_class_call_check6(this, FilterAttr2);
|
|
1760
|
+
_define_property7(this, "logicalOperator", void 0);
|
|
1761
|
+
_define_property7(this, "filterElements", []);
|
|
1762
|
+
_define_property7(this, "filters", []);
|
|
1763
|
+
_define_property7(this, "beforeJoin", void 0);
|
|
1764
|
+
_define_property7(this, "tableId", void 0);
|
|
1765
|
+
};
|
|
1746
1766
|
var ParamStyleType;
|
|
1747
1767
|
(function(ParamStyleType2) {
|
|
1748
1768
|
ParamStyleType2["condition"] = "condition";
|
|
@@ -1750,32 +1770,158 @@ var ParamStyleType;
|
|
|
1750
1770
|
ParamStyleType2["param"] = "param";
|
|
1751
1771
|
ParamStyleType2["accelerate"] = "accelerate";
|
|
1752
1772
|
})(ParamStyleType || (ParamStyleType = {}));
|
|
1773
|
+
var ParamDataType;
|
|
1774
|
+
(function(ParamDataType2) {
|
|
1775
|
+
ParamDataType2["string"] = "string";
|
|
1776
|
+
ParamDataType2["number"] = "number";
|
|
1777
|
+
ParamDataType2["dateTime"] = "datetime";
|
|
1778
|
+
ParamDataType2["dateRegion"] = "dateRegion";
|
|
1779
|
+
ParamDataType2["quarterRegion"] = "quarterRegion";
|
|
1780
|
+
ParamDataType2["monthRegion"] = "monthRegion";
|
|
1781
|
+
ParamDataType2["weekRegion"] = "weekRegion";
|
|
1782
|
+
ParamDataType2["yearRegion"] = "yearRegion";
|
|
1783
|
+
ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
|
|
1784
|
+
})(ParamDataType || (ParamDataType = {}));
|
|
1785
|
+
var CubeSchema = function CubeSchema2() {
|
|
1786
|
+
"use strict";
|
|
1787
|
+
_class_call_check6(this, CubeSchema2);
|
|
1788
|
+
_define_property7(this, "uniqueId", "");
|
|
1789
|
+
_define_property7(this, "cubeId", "");
|
|
1790
|
+
_define_property7(this, "datasourceId", "");
|
|
1791
|
+
_define_property7(this, "caption", "");
|
|
1792
|
+
_define_property7(this, "fields", []);
|
|
1793
|
+
_define_property7(this, "fieldTree", []);
|
|
1794
|
+
_define_property7(this, "filter", null);
|
|
1795
|
+
_define_property7(this, "params", []);
|
|
1796
|
+
_define_property7(this, "sqlPlaceholders", []);
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
// src/basic/bi-types/src/cube/logical-schema.ts
|
|
1800
|
+
function _class_call_check7(instance, Constructor) {
|
|
1801
|
+
if (!(instance instanceof Constructor)) {
|
|
1802
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
function _define_property8(obj, key, value) {
|
|
1806
|
+
if (key in obj) {
|
|
1807
|
+
Object.defineProperty(obj, key, {
|
|
1808
|
+
value,
|
|
1809
|
+
enumerable: true,
|
|
1810
|
+
configurable: true,
|
|
1811
|
+
writable: true
|
|
1812
|
+
});
|
|
1813
|
+
} else {
|
|
1814
|
+
obj[key] = value;
|
|
1815
|
+
}
|
|
1816
|
+
return obj;
|
|
1817
|
+
}
|
|
1818
|
+
var LogicalTable = function LogicalTable2() {
|
|
1819
|
+
"use strict";
|
|
1820
|
+
_class_call_check7(this, LogicalTable2);
|
|
1821
|
+
_define_property8(this, "uniqueId", void 0);
|
|
1822
|
+
_define_property8(this, "caption", void 0);
|
|
1823
|
+
_define_property8(this, "physicalSchema", void 0);
|
|
1824
|
+
};
|
|
1825
|
+
var LogicalTree = function LogicalTree2() {
|
|
1826
|
+
"use strict";
|
|
1827
|
+
_class_call_check7(this, LogicalTree2);
|
|
1828
|
+
_define_property8(this, "uniqueId", void 0);
|
|
1829
|
+
_define_property8(this, "links", void 0);
|
|
1830
|
+
};
|
|
1831
|
+
var LogicalSchema = function LogicalSchema2() {
|
|
1832
|
+
"use strict";
|
|
1833
|
+
_class_call_check7(this, LogicalSchema2);
|
|
1834
|
+
_define_property8(this, "logicalNodes", []);
|
|
1835
|
+
_define_property8(this, "logicalTrees", []);
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1838
|
+
// src/basic/bi-types/src/cube/cube-model.ts
|
|
1839
|
+
function _class_call_check8(instance, Constructor) {
|
|
1840
|
+
if (!(instance instanceof Constructor)) {
|
|
1841
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
function _defineProperties2(target, props) {
|
|
1845
|
+
for (var i = 0; i < props.length; i++) {
|
|
1846
|
+
var descriptor = props[i];
|
|
1847
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
1848
|
+
descriptor.configurable = true;
|
|
1849
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
1850
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
function _create_class2(Constructor, protoProps, staticProps) {
|
|
1854
|
+
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
1855
|
+
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
1856
|
+
return Constructor;
|
|
1857
|
+
}
|
|
1858
|
+
function _define_property9(obj, key, value) {
|
|
1859
|
+
if (key in obj) {
|
|
1860
|
+
Object.defineProperty(obj, key, {
|
|
1861
|
+
value,
|
|
1862
|
+
enumerable: true,
|
|
1863
|
+
configurable: true,
|
|
1864
|
+
writable: true
|
|
1865
|
+
});
|
|
1866
|
+
} else {
|
|
1867
|
+
obj[key] = value;
|
|
1868
|
+
}
|
|
1869
|
+
return obj;
|
|
1870
|
+
}
|
|
1871
|
+
var EditPermitType;
|
|
1872
|
+
(function(EditPermitType2) {
|
|
1873
|
+
EditPermitType2[EditPermitType2["private"] = 0] = "private";
|
|
1874
|
+
EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
|
|
1875
|
+
EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
|
|
1876
|
+
EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
|
|
1877
|
+
})(EditPermitType || (EditPermitType = {}));
|
|
1878
|
+
var UsePermitType;
|
|
1879
|
+
(function(UsePermitType2) {
|
|
1880
|
+
UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
|
|
1881
|
+
UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
|
|
1882
|
+
})(UsePermitType || (UsePermitType = {}));
|
|
1883
|
+
var SchemaExtraInfo = function SchemaExtraInfo2() {
|
|
1884
|
+
"use strict";
|
|
1885
|
+
_class_call_check8(this, SchemaExtraInfo2);
|
|
1886
|
+
_define_property9(this, "aimDirId", null);
|
|
1887
|
+
_define_property9(this, "hasAuthorizedUse", void 0);
|
|
1888
|
+
_define_property9(this, "permissionList", void 0);
|
|
1889
|
+
_define_property9(this, "dataLevelAttributeIds", []);
|
|
1890
|
+
_define_property9(this, "withoutColumnLevelPermissionFields", []);
|
|
1891
|
+
_define_property9(this, "aggFunctions", []);
|
|
1892
|
+
_define_property9(this, "isDataMaskOpen", void 0);
|
|
1893
|
+
_define_property9(this, "isOpenColumnLevelPermission", void 0);
|
|
1894
|
+
_define_property9(this, "isOpenRowLevelPermission", void 0);
|
|
1895
|
+
_define_property9(this, "dsCreateOrigin", void 0);
|
|
1896
|
+
_define_property9(this, "dataLoadMode", void 0);
|
|
1897
|
+
_define_property9(this, "etlGenerateCube", void 0);
|
|
1898
|
+
_define_property9(this, "cubeType", null);
|
|
1899
|
+
_define_property9(this, "creatorId", void 0);
|
|
1900
|
+
_define_property9(this, "creatorName", void 0);
|
|
1901
|
+
_define_property9(this, "authLevel", void 0);
|
|
1902
|
+
_define_property9(this, "comments", void 0);
|
|
1903
|
+
_define_property9(this, "authorizedUseType", void 0);
|
|
1904
|
+
_define_property9(this, "functionConfig", void 0);
|
|
1905
|
+
_define_property9(this, "gmtModified", void 0);
|
|
1906
|
+
};
|
|
1753
1907
|
var EmptyValueType;
|
|
1754
1908
|
(function(EmptyValueType2) {
|
|
1755
1909
|
EmptyValueType2["EmptyValue"] = "EmptyValue";
|
|
1756
1910
|
EmptyValueType2["EmptyString"] = "EmptyString";
|
|
1757
1911
|
})(EmptyValueType || (EmptyValueType = {}));
|
|
1758
|
-
var EmptyValueDisplayType;
|
|
1759
|
-
(function(EmptyValueDisplayType2) {
|
|
1760
|
-
EmptyValueDisplayType2["Hyphen"] = "hyphen";
|
|
1761
|
-
EmptyValueDisplayType2["Braces"] = "braces";
|
|
1762
|
-
EmptyValueDisplayType2["Null"] = "null";
|
|
1763
|
-
EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
|
|
1764
|
-
EmptyValueDisplayType2["Custom"] = "custom";
|
|
1765
|
-
})(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
|
|
1766
1912
|
var EmptyStringOrNullDisplayConfig = function EmptyStringOrNullDisplayConfig2() {
|
|
1767
1913
|
"use strict";
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1914
|
+
_class_call_check8(this, EmptyStringOrNullDisplayConfig2);
|
|
1915
|
+
_define_property9(this, "formatType", EmptyValueDisplayType.Hyphen);
|
|
1916
|
+
_define_property9(this, "customFormat", void 0);
|
|
1917
|
+
_define_property9(this, "isAuto", true);
|
|
1772
1918
|
};
|
|
1773
1919
|
var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
1774
1920
|
"use strict";
|
|
1775
1921
|
function EmptyValueDisplayConfig2() {
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1922
|
+
_class_call_check8(this, EmptyValueDisplayConfig2);
|
|
1923
|
+
_define_property9(this, "emptyValueConfig", new EmptyStringOrNullDisplayConfig());
|
|
1924
|
+
_define_property9(this, "emptyStringConfig", new EmptyStringOrNullDisplayConfig());
|
|
1779
1925
|
}
|
|
1780
1926
|
_create_class2(EmptyValueDisplayConfig2, null, [
|
|
1781
1927
|
{
|
|
@@ -1783,12 +1929,12 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1783
1929
|
value: function getDefaultConfigForQuickReport() {
|
|
1784
1930
|
return {
|
|
1785
1931
|
emptyValueConfig: {
|
|
1786
|
-
formatType:
|
|
1932
|
+
formatType: EmptyValueDisplayType.NotDisplay,
|
|
1787
1933
|
customFormat: null,
|
|
1788
1934
|
isAuto: false
|
|
1789
1935
|
},
|
|
1790
1936
|
emptyStringConfig: {
|
|
1791
|
-
formatType:
|
|
1937
|
+
formatType: EmptyValueDisplayType.NotDisplay,
|
|
1792
1938
|
customFormat: null,
|
|
1793
1939
|
isAuto: false
|
|
1794
1940
|
}
|
|
@@ -1821,23 +1967,23 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1821
1967
|
if (!fieldSetting) {
|
|
1822
1968
|
return defaultValue !== null && defaultValue !== void 0 ? defaultValue : {
|
|
1823
1969
|
emptyValueConfig: {
|
|
1824
|
-
formatType:
|
|
1970
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1825
1971
|
customFormat: null
|
|
1826
1972
|
},
|
|
1827
1973
|
emptyStringConfig: {
|
|
1828
|
-
formatType:
|
|
1974
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1829
1975
|
customFormat: null
|
|
1830
1976
|
}
|
|
1831
1977
|
};
|
|
1832
1978
|
}
|
|
1833
1979
|
var _fieldSetting_emptyValueConfig, _ref;
|
|
1834
1980
|
var emptyValueConfig = (_ref = (_fieldSetting_emptyValueConfig = fieldSetting.emptyValueConfig) !== null && _fieldSetting_emptyValueConfig !== void 0 ? _fieldSetting_emptyValueConfig : defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.emptyValueConfig) !== null && _ref !== void 0 ? _ref : {
|
|
1835
|
-
formatType:
|
|
1981
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1836
1982
|
customFormat: null
|
|
1837
1983
|
};
|
|
1838
1984
|
var _fieldSetting_emptyStringConfig, _ref1;
|
|
1839
1985
|
var emptyStringConfig = (_ref1 = (_fieldSetting_emptyStringConfig = fieldSetting.emptyStringConfig) !== null && _fieldSetting_emptyStringConfig !== void 0 ? _fieldSetting_emptyStringConfig : defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.emptyStringConfig) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
1840
|
-
formatType:
|
|
1986
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1841
1987
|
customFormat: null
|
|
1842
1988
|
};
|
|
1843
1989
|
return {
|
|
@@ -1850,41 +1996,6 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1850
1996
|
]);
|
|
1851
1997
|
return EmptyValueDisplayConfig2;
|
|
1852
1998
|
}();
|
|
1853
|
-
var Aggregator;
|
|
1854
|
-
(function(Aggregator2) {
|
|
1855
|
-
Aggregator2["sum"] = "sum";
|
|
1856
|
-
Aggregator2["count"] = "count";
|
|
1857
|
-
Aggregator2["distinct-count"] = "distinct-count";
|
|
1858
|
-
Aggregator2["max"] = "max";
|
|
1859
|
-
Aggregator2["min"] = "min";
|
|
1860
|
-
Aggregator2["avg"] = "avg";
|
|
1861
|
-
})(Aggregator || (Aggregator = {}));
|
|
1862
|
-
var FilterAttr = function FilterAttr2() {
|
|
1863
|
-
"use strict";
|
|
1864
|
-
_class_call_check6(this, FilterAttr2);
|
|
1865
|
-
_define_property7(this, "logicalOperator", void 0);
|
|
1866
|
-
_define_property7(this, "filterElements", []);
|
|
1867
|
-
_define_property7(this, "filters", []);
|
|
1868
|
-
_define_property7(this, "beforeJoin", void 0);
|
|
1869
|
-
_define_property7(this, "tableId", void 0);
|
|
1870
|
-
};
|
|
1871
|
-
var OriginDateType;
|
|
1872
|
-
(function(OriginDateType2) {
|
|
1873
|
-
OriginDateType2["SingleDate"] = "singleDate";
|
|
1874
|
-
OriginDateType2["DateRange"] = "dateRange";
|
|
1875
|
-
})(OriginDateType || (OriginDateType = {}));
|
|
1876
|
-
var ParamDataType;
|
|
1877
|
-
(function(ParamDataType2) {
|
|
1878
|
-
ParamDataType2["string"] = "string";
|
|
1879
|
-
ParamDataType2["number"] = "number";
|
|
1880
|
-
ParamDataType2["dateTime"] = "datetime";
|
|
1881
|
-
ParamDataType2["dateRegion"] = "dateRegion";
|
|
1882
|
-
ParamDataType2["quarterRegion"] = "quarterRegion";
|
|
1883
|
-
ParamDataType2["monthRegion"] = "monthRegion";
|
|
1884
|
-
ParamDataType2["weekRegion"] = "weekRegion";
|
|
1885
|
-
ParamDataType2["yearRegion"] = "yearRegion";
|
|
1886
|
-
ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
|
|
1887
|
-
})(ParamDataType || (ParamDataType = {}));
|
|
1888
1999
|
var CellsetDimTypes;
|
|
1889
2000
|
(function(CellsetDimTypes2) {
|
|
1890
2001
|
CellsetDimTypes2["StandardDimension"] = "StandardDimension";
|
|
@@ -1893,15 +2004,14 @@ var CellsetDimTypes;
|
|
|
1893
2004
|
CellsetDimTypes2["GeographicDimension"] = "GeographicDimension";
|
|
1894
2005
|
CellsetDimTypes2["measureCol"] = "measureCol";
|
|
1895
2006
|
})(CellsetDimTypes || (CellsetDimTypes = {}));
|
|
1896
|
-
var
|
|
2007
|
+
var CubeModel = function CubeModel2() {
|
|
1897
2008
|
"use strict";
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
_define_property7(this, "support", true);
|
|
2009
|
+
_class_call_check8(this, CubeModel2);
|
|
2010
|
+
_define_property9(this, "logicalSchema", new LogicalSchema());
|
|
2011
|
+
_define_property9(this, "cubeSchema", new CubeSchema());
|
|
2012
|
+
_define_property9(this, "metaModelVersion", "2.0");
|
|
2013
|
+
_define_property9(this, "userDefineVersion", "5.0.1");
|
|
2014
|
+
_define_property9(this, "schemaExtraInfo", new SchemaExtraInfo());
|
|
1905
2015
|
};
|
|
1906
2016
|
|
|
1907
2017
|
// src/basic/bi-types/src/cube/data-source.ts
|
|
@@ -2018,6 +2128,7 @@ var DsType;
|
|
|
2018
2128
|
DsType2["unicorn"] = "unicorn";
|
|
2019
2129
|
DsType2["dm"] = "dm";
|
|
2020
2130
|
DsType2["sls"] = "sls";
|
|
2131
|
+
DsType2["mysql_duckdb"] = "mysql_duckdb";
|
|
2021
2132
|
})(DsType || (DsType = {}));
|
|
2022
2133
|
var AcrossDsType;
|
|
2023
2134
|
(function(AcrossDsType2) {
|
|
@@ -2036,6 +2147,8 @@ var DataSourcePortValue;
|
|
|
2036
2147
|
DataSourcePortValue2["eight_two_four_two"] = "8242";
|
|
2037
2148
|
DataSourcePortValue2["three_three_zero_six_zero"] = "33060";
|
|
2038
2149
|
DataSourcePortValue2["three_zero_zero_six_zero"] = "30060";
|
|
2150
|
+
DataSourcePortValue2["three_three_zero_six"] = "33306";
|
|
2151
|
+
DataSourcePortValue2["one_zero_zero_zero_zero"] = "10000";
|
|
2039
2152
|
})(DataSourcePortValue || (DataSourcePortValue = {}));
|
|
2040
2153
|
var DataSourceSort;
|
|
2041
2154
|
(function(DataSourceSort2) {
|
|
@@ -2063,15 +2176,6 @@ var DataSourcesConfigId;
|
|
|
2063
2176
|
DataSourcesConfigId2["google"] = "google";
|
|
2064
2177
|
DataSourcesConfigId2["customDs"] = "customDs";
|
|
2065
2178
|
})(DataSourcesConfigId || (DataSourcesConfigId = {}));
|
|
2066
|
-
var dataBaseType = [
|
|
2067
|
-
"cloud",
|
|
2068
|
-
"local",
|
|
2069
|
-
"aws",
|
|
2070
|
-
"huawei",
|
|
2071
|
-
"tencent",
|
|
2072
|
-
"microsoft",
|
|
2073
|
-
"google"
|
|
2074
|
-
];
|
|
2075
2179
|
var SHEET_TABLE = [
|
|
2076
2180
|
"feishu_bitable",
|
|
2077
2181
|
"feishu_spreadsheet",
|
|
@@ -2079,36 +2183,59 @@ var SHEET_TABLE = [
|
|
|
2079
2183
|
"dingtalk_spreadsheet"
|
|
2080
2184
|
];
|
|
2081
2185
|
|
|
2082
|
-
// src/basic/bi-types/src/cube/
|
|
2083
|
-
|
|
2084
|
-
(
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2186
|
+
// src/basic/bi-types/src/cube/physical-schema.ts
|
|
2187
|
+
function _class_call_check9(instance, Constructor) {
|
|
2188
|
+
if (!(instance instanceof Constructor)) {
|
|
2189
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
function _define_property10(obj, key, value) {
|
|
2193
|
+
if (key in obj) {
|
|
2194
|
+
Object.defineProperty(obj, key, {
|
|
2195
|
+
value,
|
|
2196
|
+
enumerable: true,
|
|
2197
|
+
configurable: true,
|
|
2198
|
+
writable: true
|
|
2199
|
+
});
|
|
2200
|
+
} else {
|
|
2201
|
+
obj[key] = value;
|
|
2202
|
+
}
|
|
2203
|
+
return obj;
|
|
2204
|
+
}
|
|
2205
|
+
var TableJoinType;
|
|
2206
|
+
(function(TableJoinType2) {
|
|
2207
|
+
TableJoinType2["LEFT_OUTER_JOIN"] = "LEFT_OUTER_JOIN";
|
|
2208
|
+
TableJoinType2["INNER_JOIN"] = "INNER_JOIN";
|
|
2209
|
+
TableJoinType2["RIGHT_OUTER_JOIN"] = "RIGHT_OUTER_JOIN";
|
|
2210
|
+
TableJoinType2["FULL_OUTER_JOIN"] = "FULL_OUTER_JOIN";
|
|
2211
|
+
TableJoinType2["JOIN_ERROR"] = "JOIN_ERROR";
|
|
2212
|
+
})(TableJoinType || (TableJoinType = {}));
|
|
2213
|
+
var PhysicalTableType;
|
|
2214
|
+
(function(PhysicalTableType2) {
|
|
2215
|
+
PhysicalTableType2["Table"] = "table";
|
|
2216
|
+
PhysicalTableType2["Sql"] = "sql";
|
|
2217
|
+
PhysicalTableType2["File"] = "file";
|
|
2218
|
+
})(PhysicalTableType || (PhysicalTableType = {}));
|
|
2219
|
+
var HintModal = function HintModal2() {
|
|
2220
|
+
"use strict";
|
|
2221
|
+
_class_call_check9(this, HintModal2);
|
|
2222
|
+
_define_property10(this, "dsType", void 0);
|
|
2223
|
+
_define_property10(this, "head", "set");
|
|
2224
|
+
_define_property10(this, "key", "");
|
|
2225
|
+
_define_property10(this, "connector", "=");
|
|
2226
|
+
_define_property10(this, "value", "");
|
|
2227
|
+
_define_property10(this, "support", true);
|
|
2228
|
+
};
|
|
2229
|
+
var PhysicalSchema = function PhysicalSchema2() {
|
|
2230
|
+
"use strict";
|
|
2231
|
+
_class_call_check9(this, PhysicalSchema2);
|
|
2232
|
+
_define_property10(this, "tables", []);
|
|
2233
|
+
_define_property10(this, "virtualTables", []);
|
|
2234
|
+
_define_property10(this, "unionTables", []);
|
|
2235
|
+
_define_property10(this, "links", []);
|
|
2236
|
+
_define_property10(this, "sqlHintTypes", []);
|
|
2237
|
+
_define_property10(this, "sqlHints", []);
|
|
2238
|
+
};
|
|
2112
2239
|
|
|
2113
2240
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
2114
2241
|
var CustomMenuMode;
|
|
@@ -2188,13 +2315,17 @@ var RouteKey;
|
|
|
2188
2315
|
RouteKey2["orgAdminSmartQ"] = "orgAdminSmartQ";
|
|
2189
2316
|
RouteKey2["orgAdminSmartQGlobalConfig"] = "orgAdminSmartQGlobalConfig";
|
|
2190
2317
|
RouteKey2["orgAdminSmartQGlobalConfigLlmConfig"] = "orgAdminSmartQGlobalConfigLlmConfig";
|
|
2318
|
+
RouteKey2["orgAdminSmartQGlobalConfigAIConfig"] = "orgAdminSmartQGlobalConfigAIConfig";
|
|
2191
2319
|
RouteKey2["orgAdminSmartQGlobalConfigAgentManage"] = "orgAdminSmartQGlobalConfigAgentManage";
|
|
2192
|
-
RouteKey2["
|
|
2320
|
+
RouteKey2["orgAdminSmartQGlobalConfigKnowledgeManage"] = "orgAdminSmartQGlobalConfigKnowledgeManage";
|
|
2193
2321
|
RouteKey2["orgAdminCopilot"] = "orgAdminCopilot";
|
|
2194
2322
|
RouteKey2["orgAdminCopilotQueryAgent"] = "orgAdminCopilotQueryAgent";
|
|
2195
2323
|
RouteKey2["orgQueryAgentAnalysisThemeManage"] = "orgQueryAgentAnalysisThemeManage";
|
|
2196
2324
|
RouteKey2["orgQueryAgentAnalysisThemeAuth"] = "orgQueryAgentAnalysisThemeAuth";
|
|
2197
2325
|
RouteKey2["orgQueryAgentKnowledgeBaseManage"] = "orgQueryAgentKnowledgeBaseManage";
|
|
2326
|
+
RouteKey2["orgQueryAgentGlobalConfig"] = "orgQueryAgentGlobalConfig";
|
|
2327
|
+
RouteKey2["likeAndDislikeKnowledge"] = "likeAndDislikeKnowledge";
|
|
2328
|
+
RouteKey2["orgQueryAgentAssetPlatformConfig"] = "orgQueryAgentAssetPlatformConfig";
|
|
2198
2329
|
RouteKey2["orgResourceManage"] = "orgResourceManage";
|
|
2199
2330
|
RouteKey2["orgAnalysisThemeManage"] = "orgAnalysisThemeManage";
|
|
2200
2331
|
RouteKey2["orgDashboardQuestionManage"] = "orgDashboardQuestionManage";
|
|
@@ -2257,8 +2388,10 @@ var RouteKey;
|
|
|
2257
2388
|
RouteKey2["dataServiceDebug"] = "dataServiceDebug";
|
|
2258
2389
|
RouteKey2["dataServiceCount"] = "dataServiceCount";
|
|
2259
2390
|
RouteKey2["embedChannel"] = "embedChannel";
|
|
2391
|
+
RouteKey2["customManage"] = "componentManage";
|
|
2260
2392
|
RouteKey2["customComponent"] = "customComponent";
|
|
2261
2393
|
RouteKey2["customMenu"] = "customMenu";
|
|
2394
|
+
RouteKey2["customPage"] = "customPage";
|
|
2262
2395
|
RouteKey2["customTemplate"] = "customTemplate";
|
|
2263
2396
|
RouteKey2["customConnect"] = "customConnect";
|
|
2264
2397
|
RouteKey2["customPlugin"] = "customPlugin";
|
|
@@ -2276,6 +2409,7 @@ var RouteKey;
|
|
|
2276
2409
|
RouteKey2["view"] = "view";
|
|
2277
2410
|
RouteKey2["viewHome"] = "viewHome";
|
|
2278
2411
|
RouteKey2["viewBoard"] = "viewBoard";
|
|
2412
|
+
RouteKey2["viewExploration"] = "viewExploration";
|
|
2279
2413
|
RouteKey2["viewFavorite"] = "viewFavorite";
|
|
2280
2414
|
RouteKey2["viewRecent"] = "viewRecent";
|
|
2281
2415
|
RouteKey2["viewShared"] = "viewShared";
|
|
@@ -2291,10 +2425,9 @@ var RouteKey;
|
|
|
2291
2425
|
RouteKey2["copilotPageQChatCube"] = "copilotPageQChatCube";
|
|
2292
2426
|
RouteKey2["copilotPageQChatDatasource"] = "copilotPageQChatDatasource";
|
|
2293
2427
|
RouteKey2["copilotPageQInsight"] = "copilotPageQInsight";
|
|
2428
|
+
RouteKey2["copilotPageQMetric"] = "copilotPageQMetric";
|
|
2294
2429
|
RouteKey2["copilotPageQReport"] = "copilotPageQReport";
|
|
2295
2430
|
RouteKey2["copilotPageQDashboard"] = "copilotPageQDashboard";
|
|
2296
|
-
RouteKey2["copilotPageSearch"] = "copilotPageSearch";
|
|
2297
|
-
RouteKey2["copilotPageMore"] = "copilotPageMore";
|
|
2298
2431
|
RouteKey2["copilotPageAgentList"] = "copilotPageAgentList";
|
|
2299
2432
|
RouteKey2["copilotPageAgent"] = "copilotPageAgent";
|
|
2300
2433
|
RouteKey2["embedModule"] = "embedModule";
|
|
@@ -2367,6 +2500,9 @@ var RouteKey;
|
|
|
2367
2500
|
RouteKey2["downloadEdit"] = "downloadEdit";
|
|
2368
2501
|
RouteKey2["downloadView"] = "downloadView";
|
|
2369
2502
|
RouteKey2["downloadPublicView"] = "downloadPublicView";
|
|
2503
|
+
RouteKey2["explorationRoot"] = "explorationRoot";
|
|
2504
|
+
RouteKey2["explorationEdit"] = "explorationEdit";
|
|
2505
|
+
RouteKey2["explorationView"] = "explorationView";
|
|
2370
2506
|
RouteKey2["analysisRoot"] = "analysisRoot";
|
|
2371
2507
|
RouteKey2["analysisEdit"] = "analysisEdit";
|
|
2372
2508
|
RouteKey2["analysisView"] = "analysisView";
|
|
@@ -2441,6 +2577,7 @@ var RouteKey;
|
|
|
2441
2577
|
RouteKey2["loginMicro"] = "loginMicro";
|
|
2442
2578
|
RouteKey2["monitorScreenshot"] = "monitorScreenshot";
|
|
2443
2579
|
RouteKey2["dingDoc"] = "dingDoc";
|
|
2580
|
+
RouteKey2["aiExperience"] = "aiExperience";
|
|
2444
2581
|
RouteKey2["wordAgentRoot"] = "wordAgentRoot";
|
|
2445
2582
|
RouteKey2["wordAgentEdit"] = "wordAgentEdit";
|
|
2446
2583
|
RouteKey2["wordAgentView"] = "wordAgentView";
|
|
@@ -2452,6 +2589,13 @@ var RouteKey;
|
|
|
2452
2589
|
RouteKey2["dashboardScreenEdit"] = "dashboardScreenEdit";
|
|
2453
2590
|
RouteKey2["dashboardScreenView"] = "dashboardScreenView";
|
|
2454
2591
|
RouteKey2["dashboardScreenPublicView"] = "dashboardScreenPublicView";
|
|
2592
|
+
RouteKey2["businessInsightList"] = "businessInsightList";
|
|
2593
|
+
RouteKey2["metricInsightList"] = "metricInsightList";
|
|
2594
|
+
RouteKey2["metricTreeRoot"] = "metricTreeRoot";
|
|
2595
|
+
RouteKey2["businessInsightsEdit"] = "businessInsightsEdit";
|
|
2596
|
+
RouteKey2["businessInsightsView"] = "businessInsightsView";
|
|
2597
|
+
RouteKey2["metricInsightsEdit"] = "metricInsightsEdit";
|
|
2598
|
+
RouteKey2["metricInsightsView"] = "metricInsightsView";
|
|
2455
2599
|
})(RouteKey || (RouteKey = {}));
|
|
2456
2600
|
|
|
2457
2601
|
// src/basic/bi-types/src/router/route-tree.ts
|
|
@@ -2463,7 +2607,7 @@ function _array_like_to_array(arr, len) {
|
|
|
2463
2607
|
function _array_with_holes(arr) {
|
|
2464
2608
|
if (Array.isArray(arr)) return arr;
|
|
2465
2609
|
}
|
|
2466
|
-
function
|
|
2610
|
+
function _define_property11(obj, key, value) {
|
|
2467
2611
|
if (key in obj) {
|
|
2468
2612
|
Object.defineProperty(obj, key, {
|
|
2469
2613
|
value,
|
|
@@ -2513,7 +2657,7 @@ function _object_spread(target) {
|
|
|
2513
2657
|
}));
|
|
2514
2658
|
}
|
|
2515
2659
|
ownKeys2.forEach(function(key) {
|
|
2516
|
-
|
|
2660
|
+
_define_property11(target, key, source[key]);
|
|
2517
2661
|
});
|
|
2518
2662
|
}
|
|
2519
2663
|
return target;
|
|
@@ -2810,9 +2954,14 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2810
2954
|
path: "/org/admin/smartQ/globalConfig/llmConfig"
|
|
2811
2955
|
},
|
|
2812
2956
|
{
|
|
2813
|
-
/** 智能小 Q - 通用配置 -
|
|
2814
|
-
key: RouteKey.
|
|
2815
|
-
path: "/org/admin/smartQ/globalConfig/
|
|
2957
|
+
/** 智能小 Q - 通用配置 - AI功能管理 */
|
|
2958
|
+
key: RouteKey.orgAdminSmartQGlobalConfigAIConfig,
|
|
2959
|
+
path: "/org/admin/smartQ/globalConfig/aiConfig"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
/** 智能小 Q - 通用配置 - 大模型配置 */
|
|
2963
|
+
key: RouteKey.orgAdminSmartQGlobalConfigKnowledgeManage,
|
|
2964
|
+
path: "/org/admin/smartQ/globalConfig/knowledgeManage"
|
|
2816
2965
|
}
|
|
2817
2966
|
]
|
|
2818
2967
|
},
|
|
@@ -2871,6 +3020,18 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2871
3020
|
{
|
|
2872
3021
|
key: RouteKey.orgQueryAgentKnowledgeBaseManage,
|
|
2873
3022
|
path: "/org/admin/copilot/queryAgent/orgKnowledgeBaseManage"
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
key: RouteKey.orgQueryAgentGlobalConfig,
|
|
3026
|
+
path: "/org/admin/copilot/queryAgent/globalConfig"
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
key: RouteKey.likeAndDislikeKnowledge,
|
|
3030
|
+
path: "/org/admin/copilot/queryAgent/likeAndDislikeKnowledge"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
key: RouteKey.orgQueryAgentAssetPlatformConfig,
|
|
3034
|
+
path: "/org/admin/copilot/queryAgent/assetPlatformConfig"
|
|
2874
3035
|
}
|
|
2875
3036
|
]
|
|
2876
3037
|
},
|
|
@@ -3119,12 +3280,22 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3119
3280
|
path: "/openservice/embedChannel"
|
|
3120
3281
|
},
|
|
3121
3282
|
{
|
|
3122
|
-
key: RouteKey.
|
|
3123
|
-
path: "/openservice/componentManage"
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3283
|
+
key: RouteKey.customManage,
|
|
3284
|
+
path: "/openservice/componentManage",
|
|
3285
|
+
children: [
|
|
3286
|
+
{
|
|
3287
|
+
key: RouteKey.customComponent,
|
|
3288
|
+
path: "/openservice/componentManage/customComponent"
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
key: RouteKey.customMenu,
|
|
3292
|
+
path: "/openservice/componentManage/customMenu"
|
|
3293
|
+
},
|
|
3294
|
+
{
|
|
3295
|
+
key: RouteKey.customPage,
|
|
3296
|
+
path: "/openservice/componentManage/customPage"
|
|
3297
|
+
}
|
|
3298
|
+
]
|
|
3128
3299
|
},
|
|
3129
3300
|
{
|
|
3130
3301
|
key: RouteKey.customTemplate,
|
|
@@ -3204,6 +3375,10 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3204
3375
|
key: RouteKey.viewBoard,
|
|
3205
3376
|
path: "/view/card"
|
|
3206
3377
|
},
|
|
3378
|
+
{
|
|
3379
|
+
key: RouteKey.viewExploration,
|
|
3380
|
+
path: "/view/exploration"
|
|
3381
|
+
},
|
|
3207
3382
|
{
|
|
3208
3383
|
key: RouteKey.viewFavorite,
|
|
3209
3384
|
path: "/view/favorite"
|
|
@@ -3284,6 +3459,18 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3284
3459
|
key: RouteKey.downloadList,
|
|
3285
3460
|
path: "/workspace/download"
|
|
3286
3461
|
},
|
|
3462
|
+
// {
|
|
3463
|
+
// key: RouteKey.metricTree,
|
|
3464
|
+
// path: '/workspace/metricTree',
|
|
3465
|
+
// },
|
|
3466
|
+
{
|
|
3467
|
+
key: RouteKey.businessInsightList,
|
|
3468
|
+
path: "/workspace/metricTree/businessInsight"
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
key: RouteKey.metricInsightList,
|
|
3472
|
+
path: "/workspace/metricTree/metricInsight"
|
|
3473
|
+
},
|
|
3287
3474
|
{
|
|
3288
3475
|
key: RouteKey.formList,
|
|
3289
3476
|
path: "/workspace/dataForm"
|
|
@@ -3387,6 +3574,10 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3387
3574
|
key: RouteKey.copilotPageQInsight,
|
|
3388
3575
|
path: "/copilotPage/qInsight"
|
|
3389
3576
|
},
|
|
3577
|
+
{
|
|
3578
|
+
key: RouteKey.copilotPageQMetric,
|
|
3579
|
+
path: "/copilotPage/qMetric"
|
|
3580
|
+
},
|
|
3390
3581
|
{
|
|
3391
3582
|
key: RouteKey.copilotPageQReport,
|
|
3392
3583
|
path: "/copilotPage/qreport"
|
|
@@ -3596,6 +3787,21 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3596
3787
|
}
|
|
3597
3788
|
]
|
|
3598
3789
|
},
|
|
3790
|
+
/** 探索分析 */
|
|
3791
|
+
{
|
|
3792
|
+
key: RouteKey.explorationRoot,
|
|
3793
|
+
path: "/exploration",
|
|
3794
|
+
children: [
|
|
3795
|
+
{
|
|
3796
|
+
key: RouteKey.explorationEdit,
|
|
3797
|
+
path: "/exploration/pc.htm"
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
key: RouteKey.explorationView,
|
|
3801
|
+
path: "/exploration/view/pc.htm"
|
|
3802
|
+
}
|
|
3803
|
+
]
|
|
3804
|
+
},
|
|
3599
3805
|
/** 即席分析 */
|
|
3600
3806
|
{
|
|
3601
3807
|
key: RouteKey.analysisRoot,
|
|
@@ -3953,6 +4159,34 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3953
4159
|
}
|
|
3954
4160
|
]
|
|
3955
4161
|
},
|
|
4162
|
+
/** 指标树应用(编辑和预览页) */
|
|
4163
|
+
{
|
|
4164
|
+
key: RouteKey.metricTreeRoot,
|
|
4165
|
+
path: "/metricTree",
|
|
4166
|
+
children: [
|
|
4167
|
+
{
|
|
4168
|
+
key: RouteKey.businessInsightsEdit,
|
|
4169
|
+
path: "/metricTree/business/edit.htm"
|
|
4170
|
+
},
|
|
4171
|
+
{
|
|
4172
|
+
key: RouteKey.businessInsightsView,
|
|
4173
|
+
path: "/metricTree/business/view.htm"
|
|
4174
|
+
},
|
|
4175
|
+
{
|
|
4176
|
+
key: RouteKey.metricInsightsEdit,
|
|
4177
|
+
path: "/metricTree/insights/edit.htm"
|
|
4178
|
+
},
|
|
4179
|
+
{
|
|
4180
|
+
key: RouteKey.metricInsightsView,
|
|
4181
|
+
path: "/metricTree/insights/view.htm"
|
|
4182
|
+
}
|
|
4183
|
+
]
|
|
4184
|
+
},
|
|
4185
|
+
/** AI体验馆 */
|
|
4186
|
+
{
|
|
4187
|
+
key: RouteKey.aiExperience,
|
|
4188
|
+
path: "/aiExperience"
|
|
4189
|
+
},
|
|
3956
4190
|
/** 登陆页 */
|
|
3957
4191
|
{
|
|
3958
4192
|
key: RouteKey.loginRoot,
|
|
@@ -4097,4 +4331,7 @@ var PermissionPageType;
|
|
|
4097
4331
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
4098
4332
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
4099
4333
|
PermissionPageType2["qReport"] = "qreport";
|
|
4334
|
+
PermissionPageType2["businessInsight"] = "business_insight";
|
|
4335
|
+
PermissionPageType2["metricInsight"] = "metric_insight";
|
|
4336
|
+
PermissionPageType2["exploration"] = "exploration";
|
|
4100
4337
|
})(PermissionPageType || (PermissionPageType = {}));
|