@quickbi/bi-types 3.1.5-beta.0 → 3.2.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 +871 -693
- package/cjs/index.js +386 -228
- package/esm/index.d.ts +871 -693
- package/esm/index.mjs +386 -228
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -98,6 +98,9 @@ __export(src_exports, {
|
|
|
98
98
|
LegendPositionType: () => LegendPositionType,
|
|
99
99
|
LegendUnHighLightedValue: () => LegendUnHighLightedValue,
|
|
100
100
|
LnglatGroupChildFlags: () => LnglatGroupChildFlags,
|
|
101
|
+
LogicalSchema: () => LogicalSchema,
|
|
102
|
+
LogicalTable: () => LogicalTable,
|
|
103
|
+
LogicalTree: () => LogicalTree,
|
|
101
104
|
MOBILE_PATH_ROUTE_MAP: () => MOBILE_PATH_ROUTE_MAP,
|
|
102
105
|
MultiSeparator: () => MultiSeparator,
|
|
103
106
|
NegativeMode: () => NegativeMode,
|
|
@@ -109,7 +112,6 @@ __export(src_exports, {
|
|
|
109
112
|
OperationMenuItem: () => OperationMenuItem,
|
|
110
113
|
OperationTypes: () => OperationTypes,
|
|
111
114
|
OrgThemeMode: () => OrgThemeMode,
|
|
112
|
-
OriginDateType: () => OriginDateType,
|
|
113
115
|
PATH_ROUTE_MAP: () => PATH_ROUTE_MAP,
|
|
114
116
|
ParamDataType: () => ParamDataType,
|
|
115
117
|
ParamStyleType: () => ParamStyleType,
|
|
@@ -124,6 +126,7 @@ __export(src_exports, {
|
|
|
124
126
|
ROUTE_PATH_MAP: () => ROUTE_PATH_MAP,
|
|
125
127
|
ROUTE_TREE: () => ROUTE_TREE,
|
|
126
128
|
ROUTE_TREE_MAP: () => ROUTE_TREE_MAP,
|
|
129
|
+
ReferentialIntegrity: () => ReferentialIntegrity,
|
|
127
130
|
RegionGranularity: () => RegionGranularity,
|
|
128
131
|
ReportSummaryInsightType: () => ReportSummaryInsightType,
|
|
129
132
|
ResourcePageHeaderGroupEnum: () => ResourcePageHeaderGroupEnum,
|
|
@@ -231,6 +234,7 @@ var CUSTOM_FIELD_TYPES;
|
|
|
231
234
|
CUSTOM_FIELD_TYPES2["FIELD_GROUP"] = "FIELD_GROUP";
|
|
232
235
|
CUSTOM_FIELD_TYPES2["AGGREGATE_FIELD"] = "AGGREGATE_FIELD";
|
|
233
236
|
CUSTOM_FIELD_TYPES2["STRING_FIELD"] = "STRING_FIELD";
|
|
237
|
+
CUSTOM_FIELD_TYPES2["GROUP_CONTRAST"] = "GROUP_CONTRAST";
|
|
234
238
|
})(CUSTOM_FIELD_TYPES || (CUSTOM_FIELD_TYPES = {}));
|
|
235
239
|
var ResultMode;
|
|
236
240
|
(function(ResultMode2) {
|
|
@@ -418,6 +422,8 @@ var DataConfigAreaItemColumn = function DataConfigAreaItemColumn2() {
|
|
|
418
422
|
_define_property2(this, "groupSortInfo", void 0);
|
|
419
423
|
_define_property2(this, "isMultiField", void 0);
|
|
420
424
|
_define_property2(this, "parentFieldGuid", void 0);
|
|
425
|
+
_define_property2(this, "isVirtual", void 0);
|
|
426
|
+
_define_property2(this, "groupContrast", void 0);
|
|
421
427
|
};
|
|
422
428
|
var ContrastType;
|
|
423
429
|
(function(ContrastType2) {
|
|
@@ -478,6 +484,7 @@ var Aggregators;
|
|
|
478
484
|
Aggregators2["avg"] = "avg";
|
|
479
485
|
Aggregators2["count"] = "count";
|
|
480
486
|
Aggregators2["countd"] = "countd";
|
|
487
|
+
Aggregators2["approx_distinct"] = "approx_distinct";
|
|
481
488
|
Aggregators2["null"] = "null";
|
|
482
489
|
Aggregators2["more"] = "more";
|
|
483
490
|
Aggregators2["max"] = "max";
|
|
@@ -965,6 +972,7 @@ var ComponentType;
|
|
|
965
972
|
ComponentType2[ComponentType2["UNSTRUCTURED_HIERARCHICAL"] = 128] = "UNSTRUCTURED_HIERARCHICAL";
|
|
966
973
|
ComponentType2[ComponentType2["UNSTRUCTURED_FREQUENCY"] = 129] = "UNSTRUCTURED_FREQUENCY";
|
|
967
974
|
ComponentType2[ComponentType2["SMART_INTERPRETATION"] = 130] = "SMART_INTERPRETATION";
|
|
975
|
+
ComponentType2[ComponentType2["EXPLORATION_SMART_CHART"] = 131] = "EXPLORATION_SMART_CHART";
|
|
968
976
|
})(ComponentType || (ComponentType = {}));
|
|
969
977
|
var _obj;
|
|
970
978
|
var ScreenComponentCode = (_obj = {}, _define_property5(_obj, "custom_component", 0), /** 图层组 */
|
|
@@ -1124,6 +1132,7 @@ var ChartType;
|
|
|
1124
1132
|
ChartType2["CONCAT_CONTAINER"] = "concat-container";
|
|
1125
1133
|
ChartType2["INDICATOR_RELATION"] = "indicator-relation";
|
|
1126
1134
|
ChartType2["SMART_INTERPRETATION"] = "smart-interpretation";
|
|
1135
|
+
ChartType2["EXPLORATION_SMART_CHART"] = "exploration-smart-chart";
|
|
1127
1136
|
ChartType2["UNSTRUCTURED_PARALLEL"] = "parallel";
|
|
1128
1137
|
ChartType2["UNSTRUCTURED_CONTRAST"] = "contrast";
|
|
1129
1138
|
ChartType2["UNSTRUCTURED_TIMELINE"] = "timeline";
|
|
@@ -1380,17 +1389,19 @@ var OpenEventTypeEnum;
|
|
|
1380
1389
|
(function(OpenEventTypeEnum2) {
|
|
1381
1390
|
OpenEventTypeEnum2["before-page-change-event"] = "before-page-change-event";
|
|
1382
1391
|
OpenEventTypeEnum2["after-component-rendered-event"] = "after-component-rendered-event";
|
|
1383
|
-
OpenEventTypeEnum2["before-download-event"] = "before-download-event";
|
|
1384
1392
|
OpenEventTypeEnum2["before-page-loaded-event"] = "before-page-loaded-event";
|
|
1385
1393
|
OpenEventTypeEnum2["before-publish-event"] = "before-publish-event";
|
|
1394
|
+
OpenEventTypeEnum2["before-download-event"] = "before-download-event";
|
|
1395
|
+
OpenEventTypeEnum2["after-download-event"] = "after-download-event";
|
|
1386
1396
|
})(OpenEventTypeEnum || (OpenEventTypeEnum = {}));
|
|
1387
1397
|
|
|
1388
1398
|
// src/basic/bi-types/src/open/events/event-props.ts
|
|
1389
1399
|
var CustomEventType;
|
|
1390
1400
|
(function(CustomEventType2) {
|
|
1391
|
-
CustomEventType2[CustomEventType2["beforeDownloadEvent"] = OpenEventTypeEnum["before-download-event"]] = "beforeDownloadEvent";
|
|
1392
1401
|
CustomEventType2[CustomEventType2["beforePageLoadEvent"] = OpenEventTypeEnum["before-page-loaded-event"]] = "beforePageLoadEvent";
|
|
1393
1402
|
CustomEventType2[CustomEventType2["beforePublishEvent"] = OpenEventTypeEnum["before-publish-event"]] = "beforePublishEvent";
|
|
1403
|
+
CustomEventType2[CustomEventType2["beforeDownloadEvent"] = OpenEventTypeEnum["before-download-event"]] = "beforeDownloadEvent";
|
|
1404
|
+
CustomEventType2[CustomEventType2["afterDownloadEvent"] = OpenEventTypeEnum["after-download-event"]] = "afterDownloadEvent";
|
|
1394
1405
|
})(CustomEventType || (CustomEventType = {}));
|
|
1395
1406
|
|
|
1396
1407
|
// src/basic/bi-types/src/open/components/data-schema.ts
|
|
@@ -1546,26 +1557,69 @@ var Env;
|
|
|
1546
1557
|
Env2["mobile"] = "mobile";
|
|
1547
1558
|
})(Env || (Env = {}));
|
|
1548
1559
|
|
|
1549
|
-
// src/basic/bi-types/src/cube/cube-
|
|
1560
|
+
// src/basic/bi-types/src/cube/cube-field-expression.ts
|
|
1561
|
+
var FieldExpressionType;
|
|
1562
|
+
(function(FieldExpressionType2) {
|
|
1563
|
+
FieldExpressionType2["dataGroup"] = "dataGroup";
|
|
1564
|
+
FieldExpressionType2["udf"] = "udf";
|
|
1565
|
+
FieldExpressionType2["system"] = "system";
|
|
1566
|
+
FieldExpressionType2["tool"] = "tool";
|
|
1567
|
+
})(FieldExpressionType || (FieldExpressionType = {}));
|
|
1568
|
+
var ToolFieldType;
|
|
1569
|
+
(function(ToolFieldType2) {
|
|
1570
|
+
ToolFieldType2["DateDifference"] = "dateDifference";
|
|
1571
|
+
ToolFieldType2["MissingValueReplacement"] = "missingValueReplacement";
|
|
1572
|
+
ToolFieldType2["ValueReplacement"] = "valueReplacement";
|
|
1573
|
+
ToolFieldType2["SplitField"] = "SplitField";
|
|
1574
|
+
ToolFieldType2["MergeField"] = "mergeField";
|
|
1575
|
+
})(ToolFieldType || (ToolFieldType = {}));
|
|
1576
|
+
var GroupType;
|
|
1577
|
+
(function(GroupType2) {
|
|
1578
|
+
GroupType2["NormalGroup"] = "NormalGroup";
|
|
1579
|
+
GroupType2["ListGroup"] = "ListGroup";
|
|
1580
|
+
GroupType2["CustomizedGroup"] = "CustomizedGroup";
|
|
1581
|
+
})(GroupType || (GroupType = {}));
|
|
1582
|
+
var GroupOperator;
|
|
1583
|
+
(function(GroupOperator2) {
|
|
1584
|
+
GroupOperator2["LessThan"] = "lessThan";
|
|
1585
|
+
GroupOperator2["LessThanOrEqualTo"] = "lessThanOrEqualTo";
|
|
1586
|
+
GroupOperator2["GreaterThan"] = "greaterThan";
|
|
1587
|
+
GroupOperator2["GreaterThanOrEqualTo"] = "greaterThanOrEqualTo";
|
|
1588
|
+
GroupOperator2["IsNull"] = "isNull";
|
|
1589
|
+
GroupOperator2["Between"] = "between";
|
|
1590
|
+
})(GroupOperator || (GroupOperator = {}));
|
|
1591
|
+
|
|
1592
|
+
// src/basic/bi-types/src/cube/cube-links.ts
|
|
1593
|
+
var JoinCondition;
|
|
1594
|
+
(function(JoinCondition2) {
|
|
1595
|
+
JoinCondition2["EQUAL_TO"] = "equal-to";
|
|
1596
|
+
JoinCondition2["UNEQUAL_TO"] = "unequal-to";
|
|
1597
|
+
JoinCondition2["GREATER_THAN"] = "greater-than";
|
|
1598
|
+
JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
|
|
1599
|
+
JoinCondition2["LESS_THAN"] = "less-than";
|
|
1600
|
+
JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
|
|
1601
|
+
})(JoinCondition || (JoinCondition = {}));
|
|
1602
|
+
var TableRelation;
|
|
1603
|
+
(function(TableRelation2) {
|
|
1604
|
+
TableRelation2["ONE_TO_ONE"] = "one-to-one";
|
|
1605
|
+
TableRelation2["MANY_TO_MANY"] = "many-to-many";
|
|
1606
|
+
TableRelation2["ONE_TO_MANY"] = "one-to-many";
|
|
1607
|
+
TableRelation2["MANY_TO_ONE"] = "many-to-one";
|
|
1608
|
+
})(TableRelation || (TableRelation = {}));
|
|
1609
|
+
var ReferentialIntegrity;
|
|
1610
|
+
(function(ReferentialIntegrity2) {
|
|
1611
|
+
ReferentialIntegrity2["ALL_TO_ALL"] = "all-to-all";
|
|
1612
|
+
ReferentialIntegrity2["ALL_TO_SOME"] = "all-to-some";
|
|
1613
|
+
ReferentialIntegrity2["SOME_TO_ALL"] = "some-to-all";
|
|
1614
|
+
ReferentialIntegrity2["SOME_TO_SOME"] = "some-to-some";
|
|
1615
|
+
})(ReferentialIntegrity || (ReferentialIntegrity = {}));
|
|
1616
|
+
|
|
1617
|
+
// src/basic/bi-types/src/cube/cube-schema.ts
|
|
1550
1618
|
function _class_call_check6(instance, Constructor) {
|
|
1551
1619
|
if (!(instance instanceof Constructor)) {
|
|
1552
1620
|
throw new TypeError("Cannot call a class as a function");
|
|
1553
1621
|
}
|
|
1554
1622
|
}
|
|
1555
|
-
function _defineProperties2(target, props) {
|
|
1556
|
-
for (var i = 0; i < props.length; i++) {
|
|
1557
|
-
var descriptor = props[i];
|
|
1558
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
1559
|
-
descriptor.configurable = true;
|
|
1560
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
1561
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
function _create_class2(Constructor, protoProps, staticProps) {
|
|
1565
|
-
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
1566
|
-
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
1567
|
-
return Constructor;
|
|
1568
|
-
}
|
|
1569
1623
|
function _define_property7(obj, key, value) {
|
|
1570
1624
|
if (key in obj) {
|
|
1571
1625
|
Object.defineProperty(obj, key, {
|
|
@@ -1579,114 +1633,6 @@ function _define_property7(obj, key, value) {
|
|
|
1579
1633
|
}
|
|
1580
1634
|
return obj;
|
|
1581
1635
|
}
|
|
1582
|
-
var CustomAreaType;
|
|
1583
|
-
(function(CustomAreaType2) {
|
|
1584
|
-
CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
|
|
1585
|
-
CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
|
|
1586
|
-
CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
|
|
1587
|
-
CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
|
|
1588
|
-
CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
|
|
1589
|
-
})(CustomAreaType || (CustomAreaType = {}));
|
|
1590
|
-
var PictureCoordinateType;
|
|
1591
|
-
(function(PictureCoordinateType2) {
|
|
1592
|
-
PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
|
|
1593
|
-
PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
|
|
1594
|
-
})(PictureCoordinateType || (PictureCoordinateType = {}));
|
|
1595
|
-
var PhysicalTableType;
|
|
1596
|
-
(function(PhysicalTableType2) {
|
|
1597
|
-
PhysicalTableType2["Table"] = "table";
|
|
1598
|
-
PhysicalTableType2["Sql"] = "sql";
|
|
1599
|
-
PhysicalTableType2["File"] = "file";
|
|
1600
|
-
})(PhysicalTableType || (PhysicalTableType = {}));
|
|
1601
|
-
var PhysicalSchema = function PhysicalSchema2() {
|
|
1602
|
-
"use strict";
|
|
1603
|
-
_class_call_check6(this, PhysicalSchema2);
|
|
1604
|
-
_define_property7(this, "tables", []);
|
|
1605
|
-
_define_property7(this, "virtualTables", []);
|
|
1606
|
-
_define_property7(this, "unionTables", []);
|
|
1607
|
-
_define_property7(this, "links", []);
|
|
1608
|
-
_define_property7(this, "sqlHintTypes", []);
|
|
1609
|
-
_define_property7(this, "sqlHints", []);
|
|
1610
|
-
};
|
|
1611
|
-
var CubeSchema = function CubeSchema2() {
|
|
1612
|
-
"use strict";
|
|
1613
|
-
_class_call_check6(this, CubeSchema2);
|
|
1614
|
-
_define_property7(this, "uniqueId", "");
|
|
1615
|
-
_define_property7(this, "cubeId", "");
|
|
1616
|
-
_define_property7(this, "datasourceId", "");
|
|
1617
|
-
_define_property7(this, "caption", "");
|
|
1618
|
-
_define_property7(this, "fields", []);
|
|
1619
|
-
_define_property7(this, "fieldTree", []);
|
|
1620
|
-
_define_property7(this, "filter", null);
|
|
1621
|
-
_define_property7(this, "params", []);
|
|
1622
|
-
_define_property7(this, "sqlPlaceholders", []);
|
|
1623
|
-
};
|
|
1624
|
-
var EditPermitType;
|
|
1625
|
-
(function(EditPermitType2) {
|
|
1626
|
-
EditPermitType2[EditPermitType2["private"] = 0] = "private";
|
|
1627
|
-
EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
|
|
1628
|
-
EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
|
|
1629
|
-
EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
|
|
1630
|
-
})(EditPermitType || (EditPermitType = {}));
|
|
1631
|
-
var UsePermitType;
|
|
1632
|
-
(function(UsePermitType2) {
|
|
1633
|
-
UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
|
|
1634
|
-
UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
|
|
1635
|
-
})(UsePermitType || (UsePermitType = {}));
|
|
1636
|
-
var SchemaExtraInfo = function SchemaExtraInfo2() {
|
|
1637
|
-
"use strict";
|
|
1638
|
-
_class_call_check6(this, SchemaExtraInfo2);
|
|
1639
|
-
_define_property7(this, "aimDirId", null);
|
|
1640
|
-
_define_property7(this, "hasAuthorizedUse", void 0);
|
|
1641
|
-
_define_property7(this, "permissionList", void 0);
|
|
1642
|
-
_define_property7(this, "dataLevelAttributeIds", []);
|
|
1643
|
-
_define_property7(this, "withoutColumnLevelPermissionFields", []);
|
|
1644
|
-
_define_property7(this, "aggFunctions", []);
|
|
1645
|
-
_define_property7(this, "isDataMaskOpen", void 0);
|
|
1646
|
-
_define_property7(this, "isOpenColumnLevelPermission", void 0);
|
|
1647
|
-
_define_property7(this, "isOpenRowLevelPermission", void 0);
|
|
1648
|
-
_define_property7(this, "dsCreateOrigin", void 0);
|
|
1649
|
-
_define_property7(this, "dataLoadMode", void 0);
|
|
1650
|
-
_define_property7(this, "etlGenerateCube", void 0);
|
|
1651
|
-
_define_property7(this, "cubeType", null);
|
|
1652
|
-
_define_property7(this, "creatorId", void 0);
|
|
1653
|
-
_define_property7(this, "creatorName", void 0);
|
|
1654
|
-
_define_property7(this, "authLevel", void 0);
|
|
1655
|
-
_define_property7(this, "comments", void 0);
|
|
1656
|
-
_define_property7(this, "authorizedUseType", void 0);
|
|
1657
|
-
_define_property7(this, "functionConfig", void 0);
|
|
1658
|
-
_define_property7(this, "gmtModified", void 0);
|
|
1659
|
-
};
|
|
1660
|
-
var CubeModel = function CubeModel2() {
|
|
1661
|
-
"use strict";
|
|
1662
|
-
_class_call_check6(this, CubeModel2);
|
|
1663
|
-
_define_property7(this, "physicalSchema", new PhysicalSchema());
|
|
1664
|
-
_define_property7(this, "cubeSchema", new CubeSchema());
|
|
1665
|
-
_define_property7(this, "metaModelVersion", "2.0");
|
|
1666
|
-
_define_property7(this, "userDefineVersion", "5.0.1");
|
|
1667
|
-
_define_property7(this, "schemaExtraInfo", new SchemaExtraInfo());
|
|
1668
|
-
};
|
|
1669
|
-
var TableJoinType;
|
|
1670
|
-
(function(TableJoinType2) {
|
|
1671
|
-
TableJoinType2["LEFT_OUTER_JOIN"] = "LEFT_OUTER_JOIN";
|
|
1672
|
-
TableJoinType2["INNER_JOIN"] = "INNER_JOIN";
|
|
1673
|
-
TableJoinType2["RIGHT_OUTER_JOIN"] = "RIGHT_OUTER_JOIN";
|
|
1674
|
-
TableJoinType2["FULL_OUTER_JOIN"] = "FULL_OUTER_JOIN";
|
|
1675
|
-
TableJoinType2["JOIN_ERROR"] = "JOIN_ERROR";
|
|
1676
|
-
})(TableJoinType || (TableJoinType = {}));
|
|
1677
|
-
var TableRelation;
|
|
1678
|
-
(function(TableRelation2) {
|
|
1679
|
-
TableRelation2["MANY_TO_ONE"] = "many-to-one";
|
|
1680
|
-
})(TableRelation || (TableRelation = {}));
|
|
1681
|
-
var JoinCondition;
|
|
1682
|
-
(function(JoinCondition2) {
|
|
1683
|
-
JoinCondition2["EQUAL_TO"] = "equal-to";
|
|
1684
|
-
JoinCondition2["UNEQUAL_TO"] = "unequal-to";
|
|
1685
|
-
JoinCondition2["GREATER_THAN"] = "greater-than";
|
|
1686
|
-
JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
|
|
1687
|
-
JoinCondition2["LESS_THAN"] = "less-than";
|
|
1688
|
-
JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
|
|
1689
|
-
})(JoinCondition || (JoinCondition = {}));
|
|
1690
1636
|
var DataType;
|
|
1691
1637
|
(function(DataType2) {
|
|
1692
1638
|
DataType2["number"] = "number";
|
|
@@ -1707,6 +1653,15 @@ var SecondDataType;
|
|
|
1707
1653
|
SecondDataType2["time"] = "time";
|
|
1708
1654
|
SecondDataType2["multiValue"] = "multi_value";
|
|
1709
1655
|
})(SecondDataType || (SecondDataType = {}));
|
|
1656
|
+
var Aggregator;
|
|
1657
|
+
(function(Aggregator2) {
|
|
1658
|
+
Aggregator2["sum"] = "sum";
|
|
1659
|
+
Aggregator2["count"] = "count";
|
|
1660
|
+
Aggregator2["distinct-count"] = "distinct-count";
|
|
1661
|
+
Aggregator2["max"] = "max";
|
|
1662
|
+
Aggregator2["min"] = "min";
|
|
1663
|
+
Aggregator2["avg"] = "avg";
|
|
1664
|
+
})(Aggregator || (Aggregator = {}));
|
|
1710
1665
|
var CalendarTypeEnum;
|
|
1711
1666
|
(function(CalendarTypeEnum2) {
|
|
1712
1667
|
CalendarTypeEnum2["GregorianYear"] = "gregorian-year";
|
|
@@ -1746,6 +1701,36 @@ var MultiSeparator;
|
|
|
1746
1701
|
MultiSeparator2["semicolon"] = ";";
|
|
1747
1702
|
MultiSeparator2["space"] = " ";
|
|
1748
1703
|
})(MultiSeparator || (MultiSeparator = {}));
|
|
1704
|
+
var EmptyValueDisplayType;
|
|
1705
|
+
(function(EmptyValueDisplayType2) {
|
|
1706
|
+
EmptyValueDisplayType2["Hyphen"] = "hyphen";
|
|
1707
|
+
EmptyValueDisplayType2["Braces"] = "braces";
|
|
1708
|
+
EmptyValueDisplayType2["Null"] = "null";
|
|
1709
|
+
EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
|
|
1710
|
+
EmptyValueDisplayType2["Custom"] = "custom";
|
|
1711
|
+
})(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
|
|
1712
|
+
var CustomAreaType;
|
|
1713
|
+
(function(CustomAreaType2) {
|
|
1714
|
+
CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
|
|
1715
|
+
CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
|
|
1716
|
+
CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
|
|
1717
|
+
CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
|
|
1718
|
+
CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
|
|
1719
|
+
})(CustomAreaType || (CustomAreaType = {}));
|
|
1720
|
+
var PictureCoordinateType;
|
|
1721
|
+
(function(PictureCoordinateType2) {
|
|
1722
|
+
PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
|
|
1723
|
+
PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
|
|
1724
|
+
})(PictureCoordinateType || (PictureCoordinateType = {}));
|
|
1725
|
+
var FilterAttr = function FilterAttr2() {
|
|
1726
|
+
"use strict";
|
|
1727
|
+
_class_call_check6(this, FilterAttr2);
|
|
1728
|
+
_define_property7(this, "logicalOperator", void 0);
|
|
1729
|
+
_define_property7(this, "filterElements", []);
|
|
1730
|
+
_define_property7(this, "filters", []);
|
|
1731
|
+
_define_property7(this, "beforeJoin", void 0);
|
|
1732
|
+
_define_property7(this, "tableId", void 0);
|
|
1733
|
+
};
|
|
1749
1734
|
var ParamStyleType;
|
|
1750
1735
|
(function(ParamStyleType2) {
|
|
1751
1736
|
ParamStyleType2["condition"] = "condition";
|
|
@@ -1753,32 +1738,158 @@ var ParamStyleType;
|
|
|
1753
1738
|
ParamStyleType2["param"] = "param";
|
|
1754
1739
|
ParamStyleType2["accelerate"] = "accelerate";
|
|
1755
1740
|
})(ParamStyleType || (ParamStyleType = {}));
|
|
1741
|
+
var ParamDataType;
|
|
1742
|
+
(function(ParamDataType2) {
|
|
1743
|
+
ParamDataType2["string"] = "string";
|
|
1744
|
+
ParamDataType2["number"] = "number";
|
|
1745
|
+
ParamDataType2["dateTime"] = "datetime";
|
|
1746
|
+
ParamDataType2["dateRegion"] = "dateRegion";
|
|
1747
|
+
ParamDataType2["quarterRegion"] = "quarterRegion";
|
|
1748
|
+
ParamDataType2["monthRegion"] = "monthRegion";
|
|
1749
|
+
ParamDataType2["weekRegion"] = "weekRegion";
|
|
1750
|
+
ParamDataType2["yearRegion"] = "yearRegion";
|
|
1751
|
+
ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
|
|
1752
|
+
})(ParamDataType || (ParamDataType = {}));
|
|
1753
|
+
var CubeSchema = function CubeSchema2() {
|
|
1754
|
+
"use strict";
|
|
1755
|
+
_class_call_check6(this, CubeSchema2);
|
|
1756
|
+
_define_property7(this, "uniqueId", "");
|
|
1757
|
+
_define_property7(this, "cubeId", "");
|
|
1758
|
+
_define_property7(this, "datasourceId", "");
|
|
1759
|
+
_define_property7(this, "caption", "");
|
|
1760
|
+
_define_property7(this, "fields", []);
|
|
1761
|
+
_define_property7(this, "fieldTree", []);
|
|
1762
|
+
_define_property7(this, "filter", null);
|
|
1763
|
+
_define_property7(this, "params", []);
|
|
1764
|
+
_define_property7(this, "sqlPlaceholders", []);
|
|
1765
|
+
};
|
|
1766
|
+
|
|
1767
|
+
// src/basic/bi-types/src/cube/logical-schema.ts
|
|
1768
|
+
function _class_call_check7(instance, Constructor) {
|
|
1769
|
+
if (!(instance instanceof Constructor)) {
|
|
1770
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
function _define_property8(obj, key, value) {
|
|
1774
|
+
if (key in obj) {
|
|
1775
|
+
Object.defineProperty(obj, key, {
|
|
1776
|
+
value,
|
|
1777
|
+
enumerable: true,
|
|
1778
|
+
configurable: true,
|
|
1779
|
+
writable: true
|
|
1780
|
+
});
|
|
1781
|
+
} else {
|
|
1782
|
+
obj[key] = value;
|
|
1783
|
+
}
|
|
1784
|
+
return obj;
|
|
1785
|
+
}
|
|
1786
|
+
var LogicalTable = function LogicalTable2() {
|
|
1787
|
+
"use strict";
|
|
1788
|
+
_class_call_check7(this, LogicalTable2);
|
|
1789
|
+
_define_property8(this, "uniqueId", void 0);
|
|
1790
|
+
_define_property8(this, "caption", void 0);
|
|
1791
|
+
_define_property8(this, "physicalSchema", void 0);
|
|
1792
|
+
};
|
|
1793
|
+
var LogicalTree = function LogicalTree2() {
|
|
1794
|
+
"use strict";
|
|
1795
|
+
_class_call_check7(this, LogicalTree2);
|
|
1796
|
+
_define_property8(this, "uniqueId", void 0);
|
|
1797
|
+
_define_property8(this, "links", void 0);
|
|
1798
|
+
};
|
|
1799
|
+
var LogicalSchema = function LogicalSchema2() {
|
|
1800
|
+
"use strict";
|
|
1801
|
+
_class_call_check7(this, LogicalSchema2);
|
|
1802
|
+
_define_property8(this, "logicalNodes", []);
|
|
1803
|
+
_define_property8(this, "logicalTrees", []);
|
|
1804
|
+
};
|
|
1805
|
+
|
|
1806
|
+
// src/basic/bi-types/src/cube/cube-model.ts
|
|
1807
|
+
function _class_call_check8(instance, Constructor) {
|
|
1808
|
+
if (!(instance instanceof Constructor)) {
|
|
1809
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
function _defineProperties2(target, props) {
|
|
1813
|
+
for (var i = 0; i < props.length; i++) {
|
|
1814
|
+
var descriptor = props[i];
|
|
1815
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
1816
|
+
descriptor.configurable = true;
|
|
1817
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
1818
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
function _create_class2(Constructor, protoProps, staticProps) {
|
|
1822
|
+
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
1823
|
+
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
1824
|
+
return Constructor;
|
|
1825
|
+
}
|
|
1826
|
+
function _define_property9(obj, key, value) {
|
|
1827
|
+
if (key in obj) {
|
|
1828
|
+
Object.defineProperty(obj, key, {
|
|
1829
|
+
value,
|
|
1830
|
+
enumerable: true,
|
|
1831
|
+
configurable: true,
|
|
1832
|
+
writable: true
|
|
1833
|
+
});
|
|
1834
|
+
} else {
|
|
1835
|
+
obj[key] = value;
|
|
1836
|
+
}
|
|
1837
|
+
return obj;
|
|
1838
|
+
}
|
|
1839
|
+
var EditPermitType;
|
|
1840
|
+
(function(EditPermitType2) {
|
|
1841
|
+
EditPermitType2[EditPermitType2["private"] = 0] = "private";
|
|
1842
|
+
EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
|
|
1843
|
+
EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
|
|
1844
|
+
EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
|
|
1845
|
+
})(EditPermitType || (EditPermitType = {}));
|
|
1846
|
+
var UsePermitType;
|
|
1847
|
+
(function(UsePermitType2) {
|
|
1848
|
+
UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
|
|
1849
|
+
UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
|
|
1850
|
+
})(UsePermitType || (UsePermitType = {}));
|
|
1851
|
+
var SchemaExtraInfo = function SchemaExtraInfo2() {
|
|
1852
|
+
"use strict";
|
|
1853
|
+
_class_call_check8(this, SchemaExtraInfo2);
|
|
1854
|
+
_define_property9(this, "aimDirId", null);
|
|
1855
|
+
_define_property9(this, "hasAuthorizedUse", void 0);
|
|
1856
|
+
_define_property9(this, "permissionList", void 0);
|
|
1857
|
+
_define_property9(this, "dataLevelAttributeIds", []);
|
|
1858
|
+
_define_property9(this, "withoutColumnLevelPermissionFields", []);
|
|
1859
|
+
_define_property9(this, "aggFunctions", []);
|
|
1860
|
+
_define_property9(this, "isDataMaskOpen", void 0);
|
|
1861
|
+
_define_property9(this, "isOpenColumnLevelPermission", void 0);
|
|
1862
|
+
_define_property9(this, "isOpenRowLevelPermission", void 0);
|
|
1863
|
+
_define_property9(this, "dsCreateOrigin", void 0);
|
|
1864
|
+
_define_property9(this, "dataLoadMode", void 0);
|
|
1865
|
+
_define_property9(this, "etlGenerateCube", void 0);
|
|
1866
|
+
_define_property9(this, "cubeType", null);
|
|
1867
|
+
_define_property9(this, "creatorId", void 0);
|
|
1868
|
+
_define_property9(this, "creatorName", void 0);
|
|
1869
|
+
_define_property9(this, "authLevel", void 0);
|
|
1870
|
+
_define_property9(this, "comments", void 0);
|
|
1871
|
+
_define_property9(this, "authorizedUseType", void 0);
|
|
1872
|
+
_define_property9(this, "functionConfig", void 0);
|
|
1873
|
+
_define_property9(this, "gmtModified", void 0);
|
|
1874
|
+
};
|
|
1756
1875
|
var EmptyValueType;
|
|
1757
1876
|
(function(EmptyValueType2) {
|
|
1758
1877
|
EmptyValueType2["EmptyValue"] = "EmptyValue";
|
|
1759
1878
|
EmptyValueType2["EmptyString"] = "EmptyString";
|
|
1760
1879
|
})(EmptyValueType || (EmptyValueType = {}));
|
|
1761
|
-
var EmptyValueDisplayType;
|
|
1762
|
-
(function(EmptyValueDisplayType2) {
|
|
1763
|
-
EmptyValueDisplayType2["Hyphen"] = "hyphen";
|
|
1764
|
-
EmptyValueDisplayType2["Braces"] = "braces";
|
|
1765
|
-
EmptyValueDisplayType2["Null"] = "null";
|
|
1766
|
-
EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
|
|
1767
|
-
EmptyValueDisplayType2["Custom"] = "custom";
|
|
1768
|
-
})(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
|
|
1769
1880
|
var EmptyStringOrNullDisplayConfig = function EmptyStringOrNullDisplayConfig2() {
|
|
1770
1881
|
"use strict";
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1882
|
+
_class_call_check8(this, EmptyStringOrNullDisplayConfig2);
|
|
1883
|
+
_define_property9(this, "formatType", EmptyValueDisplayType.Hyphen);
|
|
1884
|
+
_define_property9(this, "customFormat", void 0);
|
|
1885
|
+
_define_property9(this, "isAuto", true);
|
|
1775
1886
|
};
|
|
1776
1887
|
var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
1777
1888
|
"use strict";
|
|
1778
1889
|
function EmptyValueDisplayConfig2() {
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1890
|
+
_class_call_check8(this, EmptyValueDisplayConfig2);
|
|
1891
|
+
_define_property9(this, "emptyValueConfig", new EmptyStringOrNullDisplayConfig());
|
|
1892
|
+
_define_property9(this, "emptyStringConfig", new EmptyStringOrNullDisplayConfig());
|
|
1782
1893
|
}
|
|
1783
1894
|
_create_class2(EmptyValueDisplayConfig2, null, [
|
|
1784
1895
|
{
|
|
@@ -1786,12 +1897,12 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1786
1897
|
value: function getDefaultConfigForQuickReport() {
|
|
1787
1898
|
return {
|
|
1788
1899
|
emptyValueConfig: {
|
|
1789
|
-
formatType:
|
|
1900
|
+
formatType: EmptyValueDisplayType.NotDisplay,
|
|
1790
1901
|
customFormat: null,
|
|
1791
1902
|
isAuto: false
|
|
1792
1903
|
},
|
|
1793
1904
|
emptyStringConfig: {
|
|
1794
|
-
formatType:
|
|
1905
|
+
formatType: EmptyValueDisplayType.NotDisplay,
|
|
1795
1906
|
customFormat: null,
|
|
1796
1907
|
isAuto: false
|
|
1797
1908
|
}
|
|
@@ -1824,23 +1935,23 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1824
1935
|
if (!fieldSetting) {
|
|
1825
1936
|
return defaultValue !== null && defaultValue !== void 0 ? defaultValue : {
|
|
1826
1937
|
emptyValueConfig: {
|
|
1827
|
-
formatType:
|
|
1938
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1828
1939
|
customFormat: null
|
|
1829
1940
|
},
|
|
1830
1941
|
emptyStringConfig: {
|
|
1831
|
-
formatType:
|
|
1942
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1832
1943
|
customFormat: null
|
|
1833
1944
|
}
|
|
1834
1945
|
};
|
|
1835
1946
|
}
|
|
1836
1947
|
var _fieldSetting_emptyValueConfig, _ref;
|
|
1837
1948
|
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 : {
|
|
1838
|
-
formatType:
|
|
1949
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1839
1950
|
customFormat: null
|
|
1840
1951
|
};
|
|
1841
1952
|
var _fieldSetting_emptyStringConfig, _ref1;
|
|
1842
1953
|
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 : {
|
|
1843
|
-
formatType:
|
|
1954
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1844
1955
|
customFormat: null
|
|
1845
1956
|
};
|
|
1846
1957
|
return {
|
|
@@ -1853,41 +1964,6 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1853
1964
|
]);
|
|
1854
1965
|
return EmptyValueDisplayConfig2;
|
|
1855
1966
|
}();
|
|
1856
|
-
var Aggregator;
|
|
1857
|
-
(function(Aggregator2) {
|
|
1858
|
-
Aggregator2["sum"] = "sum";
|
|
1859
|
-
Aggregator2["count"] = "count";
|
|
1860
|
-
Aggregator2["distinct-count"] = "distinct-count";
|
|
1861
|
-
Aggregator2["max"] = "max";
|
|
1862
|
-
Aggregator2["min"] = "min";
|
|
1863
|
-
Aggregator2["avg"] = "avg";
|
|
1864
|
-
})(Aggregator || (Aggregator = {}));
|
|
1865
|
-
var FilterAttr = function FilterAttr2() {
|
|
1866
|
-
"use strict";
|
|
1867
|
-
_class_call_check6(this, FilterAttr2);
|
|
1868
|
-
_define_property7(this, "logicalOperator", void 0);
|
|
1869
|
-
_define_property7(this, "filterElements", []);
|
|
1870
|
-
_define_property7(this, "filters", []);
|
|
1871
|
-
_define_property7(this, "beforeJoin", void 0);
|
|
1872
|
-
_define_property7(this, "tableId", void 0);
|
|
1873
|
-
};
|
|
1874
|
-
var OriginDateType;
|
|
1875
|
-
(function(OriginDateType2) {
|
|
1876
|
-
OriginDateType2["SingleDate"] = "singleDate";
|
|
1877
|
-
OriginDateType2["DateRange"] = "dateRange";
|
|
1878
|
-
})(OriginDateType || (OriginDateType = {}));
|
|
1879
|
-
var ParamDataType;
|
|
1880
|
-
(function(ParamDataType2) {
|
|
1881
|
-
ParamDataType2["string"] = "string";
|
|
1882
|
-
ParamDataType2["number"] = "number";
|
|
1883
|
-
ParamDataType2["dateTime"] = "datetime";
|
|
1884
|
-
ParamDataType2["dateRegion"] = "dateRegion";
|
|
1885
|
-
ParamDataType2["quarterRegion"] = "quarterRegion";
|
|
1886
|
-
ParamDataType2["monthRegion"] = "monthRegion";
|
|
1887
|
-
ParamDataType2["weekRegion"] = "weekRegion";
|
|
1888
|
-
ParamDataType2["yearRegion"] = "yearRegion";
|
|
1889
|
-
ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
|
|
1890
|
-
})(ParamDataType || (ParamDataType = {}));
|
|
1891
1967
|
var CellsetDimTypes;
|
|
1892
1968
|
(function(CellsetDimTypes2) {
|
|
1893
1969
|
CellsetDimTypes2["StandardDimension"] = "StandardDimension";
|
|
@@ -1896,15 +1972,14 @@ var CellsetDimTypes;
|
|
|
1896
1972
|
CellsetDimTypes2["GeographicDimension"] = "GeographicDimension";
|
|
1897
1973
|
CellsetDimTypes2["measureCol"] = "measureCol";
|
|
1898
1974
|
})(CellsetDimTypes || (CellsetDimTypes = {}));
|
|
1899
|
-
var
|
|
1975
|
+
var CubeModel = function CubeModel2() {
|
|
1900
1976
|
"use strict";
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
_define_property7(this, "support", true);
|
|
1977
|
+
_class_call_check8(this, CubeModel2);
|
|
1978
|
+
_define_property9(this, "logicalSchema", new LogicalSchema());
|
|
1979
|
+
_define_property9(this, "cubeSchema", new CubeSchema());
|
|
1980
|
+
_define_property9(this, "metaModelVersion", "2.0");
|
|
1981
|
+
_define_property9(this, "userDefineVersion", "5.0.1");
|
|
1982
|
+
_define_property9(this, "schemaExtraInfo", new SchemaExtraInfo());
|
|
1908
1983
|
};
|
|
1909
1984
|
|
|
1910
1985
|
// src/basic/bi-types/src/cube/data-source.ts
|
|
@@ -2040,6 +2115,8 @@ var DataSourcePortValue;
|
|
|
2040
2115
|
DataSourcePortValue2["eight_two_four_two"] = "8242";
|
|
2041
2116
|
DataSourcePortValue2["three_three_zero_six_zero"] = "33060";
|
|
2042
2117
|
DataSourcePortValue2["three_zero_zero_six_zero"] = "30060";
|
|
2118
|
+
DataSourcePortValue2["three_three_zero_six"] = "33306";
|
|
2119
|
+
DataSourcePortValue2["one_zero_zero_zero_zero"] = "10000";
|
|
2043
2120
|
})(DataSourcePortValue || (DataSourcePortValue = {}));
|
|
2044
2121
|
var DataSourceSort;
|
|
2045
2122
|
(function(DataSourceSort2) {
|
|
@@ -2074,36 +2151,59 @@ var SHEET_TABLE = [
|
|
|
2074
2151
|
"dingtalk_spreadsheet"
|
|
2075
2152
|
];
|
|
2076
2153
|
|
|
2077
|
-
// src/basic/bi-types/src/cube/
|
|
2078
|
-
|
|
2079
|
-
(
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2154
|
+
// src/basic/bi-types/src/cube/physical-schema.ts
|
|
2155
|
+
function _class_call_check9(instance, Constructor) {
|
|
2156
|
+
if (!(instance instanceof Constructor)) {
|
|
2157
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
function _define_property10(obj, key, value) {
|
|
2161
|
+
if (key in obj) {
|
|
2162
|
+
Object.defineProperty(obj, key, {
|
|
2163
|
+
value,
|
|
2164
|
+
enumerable: true,
|
|
2165
|
+
configurable: true,
|
|
2166
|
+
writable: true
|
|
2167
|
+
});
|
|
2168
|
+
} else {
|
|
2169
|
+
obj[key] = value;
|
|
2170
|
+
}
|
|
2171
|
+
return obj;
|
|
2172
|
+
}
|
|
2173
|
+
var TableJoinType;
|
|
2174
|
+
(function(TableJoinType2) {
|
|
2175
|
+
TableJoinType2["LEFT_OUTER_JOIN"] = "LEFT_OUTER_JOIN";
|
|
2176
|
+
TableJoinType2["INNER_JOIN"] = "INNER_JOIN";
|
|
2177
|
+
TableJoinType2["RIGHT_OUTER_JOIN"] = "RIGHT_OUTER_JOIN";
|
|
2178
|
+
TableJoinType2["FULL_OUTER_JOIN"] = "FULL_OUTER_JOIN";
|
|
2179
|
+
TableJoinType2["JOIN_ERROR"] = "JOIN_ERROR";
|
|
2180
|
+
})(TableJoinType || (TableJoinType = {}));
|
|
2181
|
+
var PhysicalTableType;
|
|
2182
|
+
(function(PhysicalTableType2) {
|
|
2183
|
+
PhysicalTableType2["Table"] = "table";
|
|
2184
|
+
PhysicalTableType2["Sql"] = "sql";
|
|
2185
|
+
PhysicalTableType2["File"] = "file";
|
|
2186
|
+
})(PhysicalTableType || (PhysicalTableType = {}));
|
|
2187
|
+
var HintModal = function HintModal2() {
|
|
2188
|
+
"use strict";
|
|
2189
|
+
_class_call_check9(this, HintModal2);
|
|
2190
|
+
_define_property10(this, "dsType", void 0);
|
|
2191
|
+
_define_property10(this, "head", "set");
|
|
2192
|
+
_define_property10(this, "key", "");
|
|
2193
|
+
_define_property10(this, "connector", "=");
|
|
2194
|
+
_define_property10(this, "value", "");
|
|
2195
|
+
_define_property10(this, "support", true);
|
|
2196
|
+
};
|
|
2197
|
+
var PhysicalSchema = function PhysicalSchema2() {
|
|
2198
|
+
"use strict";
|
|
2199
|
+
_class_call_check9(this, PhysicalSchema2);
|
|
2200
|
+
_define_property10(this, "tables", []);
|
|
2201
|
+
_define_property10(this, "virtualTables", []);
|
|
2202
|
+
_define_property10(this, "unionTables", []);
|
|
2203
|
+
_define_property10(this, "links", []);
|
|
2204
|
+
_define_property10(this, "sqlHintTypes", []);
|
|
2205
|
+
_define_property10(this, "sqlHints", []);
|
|
2206
|
+
};
|
|
2107
2207
|
|
|
2108
2208
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
2109
2209
|
var CustomMenuMode;
|
|
@@ -2183,12 +2283,15 @@ var RouteKey;
|
|
|
2183
2283
|
RouteKey2["orgAdminSmartQ"] = "orgAdminSmartQ";
|
|
2184
2284
|
RouteKey2["orgAdminSmartQGlobalConfig"] = "orgAdminSmartQGlobalConfig";
|
|
2185
2285
|
RouteKey2["orgAdminSmartQGlobalConfigLlmConfig"] = "orgAdminSmartQGlobalConfigLlmConfig";
|
|
2286
|
+
RouteKey2["orgAdminSmartQGlobalConfigAIConfig"] = "orgAdminSmartQGlobalConfigAIConfig";
|
|
2186
2287
|
RouteKey2["orgAdminSmartQGlobalConfigAgentManage"] = "orgAdminSmartQGlobalConfigAgentManage";
|
|
2288
|
+
RouteKey2["orgAdminSmartQGlobalConfigKnowledgeManage"] = "orgAdminSmartQGlobalConfigKnowledgeManage";
|
|
2187
2289
|
RouteKey2["orgAdminCopilot"] = "orgAdminCopilot";
|
|
2188
2290
|
RouteKey2["orgAdminCopilotQueryAgent"] = "orgAdminCopilotQueryAgent";
|
|
2189
2291
|
RouteKey2["orgQueryAgentAnalysisThemeManage"] = "orgQueryAgentAnalysisThemeManage";
|
|
2190
2292
|
RouteKey2["orgQueryAgentAnalysisThemeAuth"] = "orgQueryAgentAnalysisThemeAuth";
|
|
2191
2293
|
RouteKey2["orgQueryAgentKnowledgeBaseManage"] = "orgQueryAgentKnowledgeBaseManage";
|
|
2294
|
+
RouteKey2["orgQueryAgentGlobalConfig"] = "orgQueryAgentGlobalConfig";
|
|
2192
2295
|
RouteKey2["orgResourceManage"] = "orgResourceManage";
|
|
2193
2296
|
RouteKey2["orgAnalysisThemeManage"] = "orgAnalysisThemeManage";
|
|
2194
2297
|
RouteKey2["orgDashboardQuestionManage"] = "orgDashboardQuestionManage";
|
|
@@ -2251,11 +2354,14 @@ var RouteKey;
|
|
|
2251
2354
|
RouteKey2["dataServiceDebug"] = "dataServiceDebug";
|
|
2252
2355
|
RouteKey2["dataServiceCount"] = "dataServiceCount";
|
|
2253
2356
|
RouteKey2["embedChannel"] = "embedChannel";
|
|
2357
|
+
RouteKey2["customManage"] = "componentManage";
|
|
2254
2358
|
RouteKey2["customComponent"] = "customComponent";
|
|
2255
2359
|
RouteKey2["customMenu"] = "customMenu";
|
|
2360
|
+
RouteKey2["customPage"] = "customPage";
|
|
2256
2361
|
RouteKey2["customTemplate"] = "customTemplate";
|
|
2257
2362
|
RouteKey2["customConnect"] = "customConnect";
|
|
2258
2363
|
RouteKey2["customPlugin"] = "customPlugin";
|
|
2364
|
+
RouteKey2["customScript"] = "customScript";
|
|
2259
2365
|
RouteKey2["monitorEvent"] = "monitorEvent";
|
|
2260
2366
|
RouteKey2["customEvent"] = "customEvent";
|
|
2261
2367
|
RouteKey2["embedStatistic"] = "embedStatistic";
|
|
@@ -2269,6 +2375,7 @@ var RouteKey;
|
|
|
2269
2375
|
RouteKey2["view"] = "view";
|
|
2270
2376
|
RouteKey2["viewHome"] = "viewHome";
|
|
2271
2377
|
RouteKey2["viewBoard"] = "viewBoard";
|
|
2378
|
+
RouteKey2["viewExploration"] = "viewExploration";
|
|
2272
2379
|
RouteKey2["viewFavorite"] = "viewFavorite";
|
|
2273
2380
|
RouteKey2["viewRecent"] = "viewRecent";
|
|
2274
2381
|
RouteKey2["viewShared"] = "viewShared";
|
|
@@ -2358,6 +2465,9 @@ var RouteKey;
|
|
|
2358
2465
|
RouteKey2["downloadEdit"] = "downloadEdit";
|
|
2359
2466
|
RouteKey2["downloadView"] = "downloadView";
|
|
2360
2467
|
RouteKey2["downloadPublicView"] = "downloadPublicView";
|
|
2468
|
+
RouteKey2["explorationRoot"] = "explorationRoot";
|
|
2469
|
+
RouteKey2["explorationEdit"] = "explorationEdit";
|
|
2470
|
+
RouteKey2["explorationView"] = "explorationView";
|
|
2361
2471
|
RouteKey2["analysisRoot"] = "analysisRoot";
|
|
2362
2472
|
RouteKey2["analysisEdit"] = "analysisEdit";
|
|
2363
2473
|
RouteKey2["analysisView"] = "analysisView";
|
|
@@ -2454,7 +2564,7 @@ function _array_like_to_array(arr, len) {
|
|
|
2454
2564
|
function _array_with_holes(arr) {
|
|
2455
2565
|
if (Array.isArray(arr)) return arr;
|
|
2456
2566
|
}
|
|
2457
|
-
function
|
|
2567
|
+
function _define_property11(obj, key, value) {
|
|
2458
2568
|
if (key in obj) {
|
|
2459
2569
|
Object.defineProperty(obj, key, {
|
|
2460
2570
|
value,
|
|
@@ -2504,7 +2614,7 @@ function _object_spread(target) {
|
|
|
2504
2614
|
}));
|
|
2505
2615
|
}
|
|
2506
2616
|
ownKeys2.forEach(function(key) {
|
|
2507
|
-
|
|
2617
|
+
_define_property11(target, key, source[key]);
|
|
2508
2618
|
});
|
|
2509
2619
|
}
|
|
2510
2620
|
return target;
|
|
@@ -2799,6 +2909,16 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2799
2909
|
/** 智能小 Q - 通用配置 - 大模型配置 */
|
|
2800
2910
|
key: RouteKey.orgAdminSmartQGlobalConfigLlmConfig,
|
|
2801
2911
|
path: "/org/admin/smartQ/globalConfig/llmConfig"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
/** 智能小 Q - 通用配置 - AI功能管理 */
|
|
2915
|
+
key: RouteKey.orgAdminSmartQGlobalConfigAIConfig,
|
|
2916
|
+
path: "/org/admin/smartQ/globalConfig/aiConfig"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
/** 智能小 Q - 通用配置 - 大模型配置 */
|
|
2920
|
+
key: RouteKey.orgAdminSmartQGlobalConfigKnowledgeManage,
|
|
2921
|
+
path: "/org/admin/smartQ/globalConfig/knowledgeManage"
|
|
2802
2922
|
}
|
|
2803
2923
|
]
|
|
2804
2924
|
},
|
|
@@ -2857,6 +2977,10 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2857
2977
|
{
|
|
2858
2978
|
key: RouteKey.orgQueryAgentKnowledgeBaseManage,
|
|
2859
2979
|
path: "/org/admin/copilot/queryAgent/orgKnowledgeBaseManage"
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
key: RouteKey.orgQueryAgentGlobalConfig,
|
|
2983
|
+
path: "/org/admin/copilot/queryAgent/globalConfig"
|
|
2860
2984
|
}
|
|
2861
2985
|
]
|
|
2862
2986
|
},
|
|
@@ -3105,12 +3229,22 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3105
3229
|
path: "/openservice/embedChannel"
|
|
3106
3230
|
},
|
|
3107
3231
|
{
|
|
3108
|
-
key: RouteKey.
|
|
3109
|
-
path: "/openservice/componentManage"
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3232
|
+
key: RouteKey.customManage,
|
|
3233
|
+
path: "/openservice/componentManage",
|
|
3234
|
+
children: [
|
|
3235
|
+
{
|
|
3236
|
+
key: RouteKey.customComponent,
|
|
3237
|
+
path: "/openservice/componentManage/customComponent"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
key: RouteKey.customMenu,
|
|
3241
|
+
path: "/openservice/componentManage/customMenu"
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
key: RouteKey.customPage,
|
|
3245
|
+
path: "/openservice/componentManage/customPage"
|
|
3246
|
+
}
|
|
3247
|
+
]
|
|
3114
3248
|
},
|
|
3115
3249
|
{
|
|
3116
3250
|
key: RouteKey.customTemplate,
|
|
@@ -3124,6 +3258,10 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3124
3258
|
key: RouteKey.customPlugin,
|
|
3125
3259
|
path: "/openservice/customPlugin"
|
|
3126
3260
|
},
|
|
3261
|
+
{
|
|
3262
|
+
key: RouteKey.customScript,
|
|
3263
|
+
path: "/openservice/customScript"
|
|
3264
|
+
},
|
|
3127
3265
|
{
|
|
3128
3266
|
key: RouteKey.monitorEvent,
|
|
3129
3267
|
path: "/openservice/event"
|
|
@@ -3186,6 +3324,10 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3186
3324
|
key: RouteKey.viewBoard,
|
|
3187
3325
|
path: "/view/card"
|
|
3188
3326
|
},
|
|
3327
|
+
{
|
|
3328
|
+
key: RouteKey.viewExploration,
|
|
3329
|
+
path: "/view/exploration"
|
|
3330
|
+
},
|
|
3189
3331
|
{
|
|
3190
3332
|
key: RouteKey.viewFavorite,
|
|
3191
3333
|
path: "/view/favorite"
|
|
@@ -3578,6 +3720,21 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3578
3720
|
}
|
|
3579
3721
|
]
|
|
3580
3722
|
},
|
|
3723
|
+
/** 探索分析 */
|
|
3724
|
+
{
|
|
3725
|
+
key: RouteKey.explorationRoot,
|
|
3726
|
+
path: "/exploration",
|
|
3727
|
+
children: [
|
|
3728
|
+
{
|
|
3729
|
+
key: RouteKey.explorationEdit,
|
|
3730
|
+
path: "/exploration/pc.htm"
|
|
3731
|
+
},
|
|
3732
|
+
{
|
|
3733
|
+
key: RouteKey.explorationView,
|
|
3734
|
+
path: "/exploration/view/pc.htm"
|
|
3735
|
+
}
|
|
3736
|
+
]
|
|
3737
|
+
},
|
|
3581
3738
|
/** 即席分析 */
|
|
3582
3739
|
{
|
|
3583
3740
|
key: RouteKey.analysisRoot,
|
|
@@ -4079,4 +4236,5 @@ var PermissionPageType;
|
|
|
4079
4236
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
4080
4237
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
4081
4238
|
PermissionPageType2["qReport"] = "qreport";
|
|
4239
|
+
PermissionPageType2["exploration"] = "exploration";
|
|
4082
4240
|
})(PermissionPageType || (PermissionPageType = {}));
|