@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/esm/index.mjs
CHANGED
|
@@ -75,6 +75,7 @@ var CUSTOM_FIELD_TYPES;
|
|
|
75
75
|
CUSTOM_FIELD_TYPES2["FIELD_GROUP"] = "FIELD_GROUP";
|
|
76
76
|
CUSTOM_FIELD_TYPES2["AGGREGATE_FIELD"] = "AGGREGATE_FIELD";
|
|
77
77
|
CUSTOM_FIELD_TYPES2["STRING_FIELD"] = "STRING_FIELD";
|
|
78
|
+
CUSTOM_FIELD_TYPES2["GROUP_CONTRAST"] = "GROUP_CONTRAST";
|
|
78
79
|
})(CUSTOM_FIELD_TYPES || (CUSTOM_FIELD_TYPES = {}));
|
|
79
80
|
var ResultMode;
|
|
80
81
|
(function(ResultMode2) {
|
|
@@ -262,6 +263,8 @@ var DataConfigAreaItemColumn = function DataConfigAreaItemColumn2() {
|
|
|
262
263
|
_define_property2(this, "groupSortInfo", void 0);
|
|
263
264
|
_define_property2(this, "isMultiField", void 0);
|
|
264
265
|
_define_property2(this, "parentFieldGuid", void 0);
|
|
266
|
+
_define_property2(this, "isVirtual", void 0);
|
|
267
|
+
_define_property2(this, "groupContrast", void 0);
|
|
265
268
|
};
|
|
266
269
|
var ContrastType;
|
|
267
270
|
(function(ContrastType2) {
|
|
@@ -322,6 +325,7 @@ var Aggregators;
|
|
|
322
325
|
Aggregators2["avg"] = "avg";
|
|
323
326
|
Aggregators2["count"] = "count";
|
|
324
327
|
Aggregators2["countd"] = "countd";
|
|
328
|
+
Aggregators2["approx_distinct"] = "approx_distinct";
|
|
325
329
|
Aggregators2["null"] = "null";
|
|
326
330
|
Aggregators2["more"] = "more";
|
|
327
331
|
Aggregators2["max"] = "max";
|
|
@@ -809,6 +813,7 @@ var ComponentType;
|
|
|
809
813
|
ComponentType2[ComponentType2["UNSTRUCTURED_HIERARCHICAL"] = 128] = "UNSTRUCTURED_HIERARCHICAL";
|
|
810
814
|
ComponentType2[ComponentType2["UNSTRUCTURED_FREQUENCY"] = 129] = "UNSTRUCTURED_FREQUENCY";
|
|
811
815
|
ComponentType2[ComponentType2["SMART_INTERPRETATION"] = 130] = "SMART_INTERPRETATION";
|
|
816
|
+
ComponentType2[ComponentType2["EXPLORATION_SMART_CHART"] = 131] = "EXPLORATION_SMART_CHART";
|
|
812
817
|
})(ComponentType || (ComponentType = {}));
|
|
813
818
|
var _obj;
|
|
814
819
|
var ScreenComponentCode = (_obj = {}, _define_property5(_obj, "custom_component", 0), /** 图层组 */
|
|
@@ -968,6 +973,7 @@ var ChartType;
|
|
|
968
973
|
ChartType2["CONCAT_CONTAINER"] = "concat-container";
|
|
969
974
|
ChartType2["INDICATOR_RELATION"] = "indicator-relation";
|
|
970
975
|
ChartType2["SMART_INTERPRETATION"] = "smart-interpretation";
|
|
976
|
+
ChartType2["EXPLORATION_SMART_CHART"] = "exploration-smart-chart";
|
|
971
977
|
ChartType2["UNSTRUCTURED_PARALLEL"] = "parallel";
|
|
972
978
|
ChartType2["UNSTRUCTURED_CONTRAST"] = "contrast";
|
|
973
979
|
ChartType2["UNSTRUCTURED_TIMELINE"] = "timeline";
|
|
@@ -1224,17 +1230,19 @@ var OpenEventTypeEnum;
|
|
|
1224
1230
|
(function(OpenEventTypeEnum2) {
|
|
1225
1231
|
OpenEventTypeEnum2["before-page-change-event"] = "before-page-change-event";
|
|
1226
1232
|
OpenEventTypeEnum2["after-component-rendered-event"] = "after-component-rendered-event";
|
|
1227
|
-
OpenEventTypeEnum2["before-download-event"] = "before-download-event";
|
|
1228
1233
|
OpenEventTypeEnum2["before-page-loaded-event"] = "before-page-loaded-event";
|
|
1229
1234
|
OpenEventTypeEnum2["before-publish-event"] = "before-publish-event";
|
|
1235
|
+
OpenEventTypeEnum2["before-download-event"] = "before-download-event";
|
|
1236
|
+
OpenEventTypeEnum2["after-download-event"] = "after-download-event";
|
|
1230
1237
|
})(OpenEventTypeEnum || (OpenEventTypeEnum = {}));
|
|
1231
1238
|
|
|
1232
1239
|
// src/basic/bi-types/src/open/events/event-props.ts
|
|
1233
1240
|
var CustomEventType;
|
|
1234
1241
|
(function(CustomEventType2) {
|
|
1235
|
-
CustomEventType2[CustomEventType2["beforeDownloadEvent"] = OpenEventTypeEnum["before-download-event"]] = "beforeDownloadEvent";
|
|
1236
1242
|
CustomEventType2[CustomEventType2["beforePageLoadEvent"] = OpenEventTypeEnum["before-page-loaded-event"]] = "beforePageLoadEvent";
|
|
1237
1243
|
CustomEventType2[CustomEventType2["beforePublishEvent"] = OpenEventTypeEnum["before-publish-event"]] = "beforePublishEvent";
|
|
1244
|
+
CustomEventType2[CustomEventType2["beforeDownloadEvent"] = OpenEventTypeEnum["before-download-event"]] = "beforeDownloadEvent";
|
|
1245
|
+
CustomEventType2[CustomEventType2["afterDownloadEvent"] = OpenEventTypeEnum["after-download-event"]] = "afterDownloadEvent";
|
|
1238
1246
|
})(CustomEventType || (CustomEventType = {}));
|
|
1239
1247
|
|
|
1240
1248
|
// src/basic/bi-types/src/open/components/data-schema.ts
|
|
@@ -1390,26 +1398,69 @@ var Env;
|
|
|
1390
1398
|
Env2["mobile"] = "mobile";
|
|
1391
1399
|
})(Env || (Env = {}));
|
|
1392
1400
|
|
|
1393
|
-
// src/basic/bi-types/src/cube/cube-
|
|
1401
|
+
// src/basic/bi-types/src/cube/cube-field-expression.ts
|
|
1402
|
+
var FieldExpressionType;
|
|
1403
|
+
(function(FieldExpressionType2) {
|
|
1404
|
+
FieldExpressionType2["dataGroup"] = "dataGroup";
|
|
1405
|
+
FieldExpressionType2["udf"] = "udf";
|
|
1406
|
+
FieldExpressionType2["system"] = "system";
|
|
1407
|
+
FieldExpressionType2["tool"] = "tool";
|
|
1408
|
+
})(FieldExpressionType || (FieldExpressionType = {}));
|
|
1409
|
+
var ToolFieldType;
|
|
1410
|
+
(function(ToolFieldType2) {
|
|
1411
|
+
ToolFieldType2["DateDifference"] = "dateDifference";
|
|
1412
|
+
ToolFieldType2["MissingValueReplacement"] = "missingValueReplacement";
|
|
1413
|
+
ToolFieldType2["ValueReplacement"] = "valueReplacement";
|
|
1414
|
+
ToolFieldType2["SplitField"] = "SplitField";
|
|
1415
|
+
ToolFieldType2["MergeField"] = "mergeField";
|
|
1416
|
+
})(ToolFieldType || (ToolFieldType = {}));
|
|
1417
|
+
var GroupType;
|
|
1418
|
+
(function(GroupType2) {
|
|
1419
|
+
GroupType2["NormalGroup"] = "NormalGroup";
|
|
1420
|
+
GroupType2["ListGroup"] = "ListGroup";
|
|
1421
|
+
GroupType2["CustomizedGroup"] = "CustomizedGroup";
|
|
1422
|
+
})(GroupType || (GroupType = {}));
|
|
1423
|
+
var GroupOperator;
|
|
1424
|
+
(function(GroupOperator2) {
|
|
1425
|
+
GroupOperator2["LessThan"] = "lessThan";
|
|
1426
|
+
GroupOperator2["LessThanOrEqualTo"] = "lessThanOrEqualTo";
|
|
1427
|
+
GroupOperator2["GreaterThan"] = "greaterThan";
|
|
1428
|
+
GroupOperator2["GreaterThanOrEqualTo"] = "greaterThanOrEqualTo";
|
|
1429
|
+
GroupOperator2["IsNull"] = "isNull";
|
|
1430
|
+
GroupOperator2["Between"] = "between";
|
|
1431
|
+
})(GroupOperator || (GroupOperator = {}));
|
|
1432
|
+
|
|
1433
|
+
// src/basic/bi-types/src/cube/cube-links.ts
|
|
1434
|
+
var JoinCondition;
|
|
1435
|
+
(function(JoinCondition2) {
|
|
1436
|
+
JoinCondition2["EQUAL_TO"] = "equal-to";
|
|
1437
|
+
JoinCondition2["UNEQUAL_TO"] = "unequal-to";
|
|
1438
|
+
JoinCondition2["GREATER_THAN"] = "greater-than";
|
|
1439
|
+
JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
|
|
1440
|
+
JoinCondition2["LESS_THAN"] = "less-than";
|
|
1441
|
+
JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
|
|
1442
|
+
})(JoinCondition || (JoinCondition = {}));
|
|
1443
|
+
var TableRelation;
|
|
1444
|
+
(function(TableRelation2) {
|
|
1445
|
+
TableRelation2["ONE_TO_ONE"] = "one-to-one";
|
|
1446
|
+
TableRelation2["MANY_TO_MANY"] = "many-to-many";
|
|
1447
|
+
TableRelation2["ONE_TO_MANY"] = "one-to-many";
|
|
1448
|
+
TableRelation2["MANY_TO_ONE"] = "many-to-one";
|
|
1449
|
+
})(TableRelation || (TableRelation = {}));
|
|
1450
|
+
var ReferentialIntegrity;
|
|
1451
|
+
(function(ReferentialIntegrity2) {
|
|
1452
|
+
ReferentialIntegrity2["ALL_TO_ALL"] = "all-to-all";
|
|
1453
|
+
ReferentialIntegrity2["ALL_TO_SOME"] = "all-to-some";
|
|
1454
|
+
ReferentialIntegrity2["SOME_TO_ALL"] = "some-to-all";
|
|
1455
|
+
ReferentialIntegrity2["SOME_TO_SOME"] = "some-to-some";
|
|
1456
|
+
})(ReferentialIntegrity || (ReferentialIntegrity = {}));
|
|
1457
|
+
|
|
1458
|
+
// src/basic/bi-types/src/cube/cube-schema.ts
|
|
1394
1459
|
function _class_call_check6(instance, Constructor) {
|
|
1395
1460
|
if (!(instance instanceof Constructor)) {
|
|
1396
1461
|
throw new TypeError("Cannot call a class as a function");
|
|
1397
1462
|
}
|
|
1398
1463
|
}
|
|
1399
|
-
function _defineProperties2(target, props) {
|
|
1400
|
-
for (var i = 0; i < props.length; i++) {
|
|
1401
|
-
var descriptor = props[i];
|
|
1402
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
1403
|
-
descriptor.configurable = true;
|
|
1404
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
1405
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1406
|
-
}
|
|
1407
|
-
}
|
|
1408
|
-
function _create_class2(Constructor, protoProps, staticProps) {
|
|
1409
|
-
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
1410
|
-
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
1411
|
-
return Constructor;
|
|
1412
|
-
}
|
|
1413
1464
|
function _define_property7(obj, key, value) {
|
|
1414
1465
|
if (key in obj) {
|
|
1415
1466
|
Object.defineProperty(obj, key, {
|
|
@@ -1423,114 +1474,6 @@ function _define_property7(obj, key, value) {
|
|
|
1423
1474
|
}
|
|
1424
1475
|
return obj;
|
|
1425
1476
|
}
|
|
1426
|
-
var CustomAreaType;
|
|
1427
|
-
(function(CustomAreaType2) {
|
|
1428
|
-
CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
|
|
1429
|
-
CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
|
|
1430
|
-
CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
|
|
1431
|
-
CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
|
|
1432
|
-
CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
|
|
1433
|
-
})(CustomAreaType || (CustomAreaType = {}));
|
|
1434
|
-
var PictureCoordinateType;
|
|
1435
|
-
(function(PictureCoordinateType2) {
|
|
1436
|
-
PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
|
|
1437
|
-
PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
|
|
1438
|
-
})(PictureCoordinateType || (PictureCoordinateType = {}));
|
|
1439
|
-
var PhysicalTableType;
|
|
1440
|
-
(function(PhysicalTableType2) {
|
|
1441
|
-
PhysicalTableType2["Table"] = "table";
|
|
1442
|
-
PhysicalTableType2["Sql"] = "sql";
|
|
1443
|
-
PhysicalTableType2["File"] = "file";
|
|
1444
|
-
})(PhysicalTableType || (PhysicalTableType = {}));
|
|
1445
|
-
var PhysicalSchema = function PhysicalSchema2() {
|
|
1446
|
-
"use strict";
|
|
1447
|
-
_class_call_check6(this, PhysicalSchema2);
|
|
1448
|
-
_define_property7(this, "tables", []);
|
|
1449
|
-
_define_property7(this, "virtualTables", []);
|
|
1450
|
-
_define_property7(this, "unionTables", []);
|
|
1451
|
-
_define_property7(this, "links", []);
|
|
1452
|
-
_define_property7(this, "sqlHintTypes", []);
|
|
1453
|
-
_define_property7(this, "sqlHints", []);
|
|
1454
|
-
};
|
|
1455
|
-
var CubeSchema = function CubeSchema2() {
|
|
1456
|
-
"use strict";
|
|
1457
|
-
_class_call_check6(this, CubeSchema2);
|
|
1458
|
-
_define_property7(this, "uniqueId", "");
|
|
1459
|
-
_define_property7(this, "cubeId", "");
|
|
1460
|
-
_define_property7(this, "datasourceId", "");
|
|
1461
|
-
_define_property7(this, "caption", "");
|
|
1462
|
-
_define_property7(this, "fields", []);
|
|
1463
|
-
_define_property7(this, "fieldTree", []);
|
|
1464
|
-
_define_property7(this, "filter", null);
|
|
1465
|
-
_define_property7(this, "params", []);
|
|
1466
|
-
_define_property7(this, "sqlPlaceholders", []);
|
|
1467
|
-
};
|
|
1468
|
-
var EditPermitType;
|
|
1469
|
-
(function(EditPermitType2) {
|
|
1470
|
-
EditPermitType2[EditPermitType2["private"] = 0] = "private";
|
|
1471
|
-
EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
|
|
1472
|
-
EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
|
|
1473
|
-
EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
|
|
1474
|
-
})(EditPermitType || (EditPermitType = {}));
|
|
1475
|
-
var UsePermitType;
|
|
1476
|
-
(function(UsePermitType2) {
|
|
1477
|
-
UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
|
|
1478
|
-
UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
|
|
1479
|
-
})(UsePermitType || (UsePermitType = {}));
|
|
1480
|
-
var SchemaExtraInfo = function SchemaExtraInfo2() {
|
|
1481
|
-
"use strict";
|
|
1482
|
-
_class_call_check6(this, SchemaExtraInfo2);
|
|
1483
|
-
_define_property7(this, "aimDirId", null);
|
|
1484
|
-
_define_property7(this, "hasAuthorizedUse", void 0);
|
|
1485
|
-
_define_property7(this, "permissionList", void 0);
|
|
1486
|
-
_define_property7(this, "dataLevelAttributeIds", []);
|
|
1487
|
-
_define_property7(this, "withoutColumnLevelPermissionFields", []);
|
|
1488
|
-
_define_property7(this, "aggFunctions", []);
|
|
1489
|
-
_define_property7(this, "isDataMaskOpen", void 0);
|
|
1490
|
-
_define_property7(this, "isOpenColumnLevelPermission", void 0);
|
|
1491
|
-
_define_property7(this, "isOpenRowLevelPermission", void 0);
|
|
1492
|
-
_define_property7(this, "dsCreateOrigin", void 0);
|
|
1493
|
-
_define_property7(this, "dataLoadMode", void 0);
|
|
1494
|
-
_define_property7(this, "etlGenerateCube", void 0);
|
|
1495
|
-
_define_property7(this, "cubeType", null);
|
|
1496
|
-
_define_property7(this, "creatorId", void 0);
|
|
1497
|
-
_define_property7(this, "creatorName", void 0);
|
|
1498
|
-
_define_property7(this, "authLevel", void 0);
|
|
1499
|
-
_define_property7(this, "comments", void 0);
|
|
1500
|
-
_define_property7(this, "authorizedUseType", void 0);
|
|
1501
|
-
_define_property7(this, "functionConfig", void 0);
|
|
1502
|
-
_define_property7(this, "gmtModified", void 0);
|
|
1503
|
-
};
|
|
1504
|
-
var CubeModel = function CubeModel2() {
|
|
1505
|
-
"use strict";
|
|
1506
|
-
_class_call_check6(this, CubeModel2);
|
|
1507
|
-
_define_property7(this, "physicalSchema", new PhysicalSchema());
|
|
1508
|
-
_define_property7(this, "cubeSchema", new CubeSchema());
|
|
1509
|
-
_define_property7(this, "metaModelVersion", "2.0");
|
|
1510
|
-
_define_property7(this, "userDefineVersion", "5.0.1");
|
|
1511
|
-
_define_property7(this, "schemaExtraInfo", new SchemaExtraInfo());
|
|
1512
|
-
};
|
|
1513
|
-
var TableJoinType;
|
|
1514
|
-
(function(TableJoinType2) {
|
|
1515
|
-
TableJoinType2["LEFT_OUTER_JOIN"] = "LEFT_OUTER_JOIN";
|
|
1516
|
-
TableJoinType2["INNER_JOIN"] = "INNER_JOIN";
|
|
1517
|
-
TableJoinType2["RIGHT_OUTER_JOIN"] = "RIGHT_OUTER_JOIN";
|
|
1518
|
-
TableJoinType2["FULL_OUTER_JOIN"] = "FULL_OUTER_JOIN";
|
|
1519
|
-
TableJoinType2["JOIN_ERROR"] = "JOIN_ERROR";
|
|
1520
|
-
})(TableJoinType || (TableJoinType = {}));
|
|
1521
|
-
var TableRelation;
|
|
1522
|
-
(function(TableRelation2) {
|
|
1523
|
-
TableRelation2["MANY_TO_ONE"] = "many-to-one";
|
|
1524
|
-
})(TableRelation || (TableRelation = {}));
|
|
1525
|
-
var JoinCondition;
|
|
1526
|
-
(function(JoinCondition2) {
|
|
1527
|
-
JoinCondition2["EQUAL_TO"] = "equal-to";
|
|
1528
|
-
JoinCondition2["UNEQUAL_TO"] = "unequal-to";
|
|
1529
|
-
JoinCondition2["GREATER_THAN"] = "greater-than";
|
|
1530
|
-
JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
|
|
1531
|
-
JoinCondition2["LESS_THAN"] = "less-than";
|
|
1532
|
-
JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
|
|
1533
|
-
})(JoinCondition || (JoinCondition = {}));
|
|
1534
1477
|
var DataType;
|
|
1535
1478
|
(function(DataType2) {
|
|
1536
1479
|
DataType2["number"] = "number";
|
|
@@ -1551,6 +1494,15 @@ var SecondDataType;
|
|
|
1551
1494
|
SecondDataType2["time"] = "time";
|
|
1552
1495
|
SecondDataType2["multiValue"] = "multi_value";
|
|
1553
1496
|
})(SecondDataType || (SecondDataType = {}));
|
|
1497
|
+
var Aggregator;
|
|
1498
|
+
(function(Aggregator2) {
|
|
1499
|
+
Aggregator2["sum"] = "sum";
|
|
1500
|
+
Aggregator2["count"] = "count";
|
|
1501
|
+
Aggregator2["distinct-count"] = "distinct-count";
|
|
1502
|
+
Aggregator2["max"] = "max";
|
|
1503
|
+
Aggregator2["min"] = "min";
|
|
1504
|
+
Aggregator2["avg"] = "avg";
|
|
1505
|
+
})(Aggregator || (Aggregator = {}));
|
|
1554
1506
|
var CalendarTypeEnum;
|
|
1555
1507
|
(function(CalendarTypeEnum2) {
|
|
1556
1508
|
CalendarTypeEnum2["GregorianYear"] = "gregorian-year";
|
|
@@ -1590,6 +1542,36 @@ var MultiSeparator;
|
|
|
1590
1542
|
MultiSeparator2["semicolon"] = ";";
|
|
1591
1543
|
MultiSeparator2["space"] = " ";
|
|
1592
1544
|
})(MultiSeparator || (MultiSeparator = {}));
|
|
1545
|
+
var EmptyValueDisplayType;
|
|
1546
|
+
(function(EmptyValueDisplayType2) {
|
|
1547
|
+
EmptyValueDisplayType2["Hyphen"] = "hyphen";
|
|
1548
|
+
EmptyValueDisplayType2["Braces"] = "braces";
|
|
1549
|
+
EmptyValueDisplayType2["Null"] = "null";
|
|
1550
|
+
EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
|
|
1551
|
+
EmptyValueDisplayType2["Custom"] = "custom";
|
|
1552
|
+
})(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
|
|
1553
|
+
var CustomAreaType;
|
|
1554
|
+
(function(CustomAreaType2) {
|
|
1555
|
+
CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
|
|
1556
|
+
CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
|
|
1557
|
+
CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
|
|
1558
|
+
CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
|
|
1559
|
+
CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
|
|
1560
|
+
})(CustomAreaType || (CustomAreaType = {}));
|
|
1561
|
+
var PictureCoordinateType;
|
|
1562
|
+
(function(PictureCoordinateType2) {
|
|
1563
|
+
PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
|
|
1564
|
+
PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
|
|
1565
|
+
})(PictureCoordinateType || (PictureCoordinateType = {}));
|
|
1566
|
+
var FilterAttr = function FilterAttr2() {
|
|
1567
|
+
"use strict";
|
|
1568
|
+
_class_call_check6(this, FilterAttr2);
|
|
1569
|
+
_define_property7(this, "logicalOperator", void 0);
|
|
1570
|
+
_define_property7(this, "filterElements", []);
|
|
1571
|
+
_define_property7(this, "filters", []);
|
|
1572
|
+
_define_property7(this, "beforeJoin", void 0);
|
|
1573
|
+
_define_property7(this, "tableId", void 0);
|
|
1574
|
+
};
|
|
1593
1575
|
var ParamStyleType;
|
|
1594
1576
|
(function(ParamStyleType2) {
|
|
1595
1577
|
ParamStyleType2["condition"] = "condition";
|
|
@@ -1597,32 +1579,158 @@ var ParamStyleType;
|
|
|
1597
1579
|
ParamStyleType2["param"] = "param";
|
|
1598
1580
|
ParamStyleType2["accelerate"] = "accelerate";
|
|
1599
1581
|
})(ParamStyleType || (ParamStyleType = {}));
|
|
1582
|
+
var ParamDataType;
|
|
1583
|
+
(function(ParamDataType2) {
|
|
1584
|
+
ParamDataType2["string"] = "string";
|
|
1585
|
+
ParamDataType2["number"] = "number";
|
|
1586
|
+
ParamDataType2["dateTime"] = "datetime";
|
|
1587
|
+
ParamDataType2["dateRegion"] = "dateRegion";
|
|
1588
|
+
ParamDataType2["quarterRegion"] = "quarterRegion";
|
|
1589
|
+
ParamDataType2["monthRegion"] = "monthRegion";
|
|
1590
|
+
ParamDataType2["weekRegion"] = "weekRegion";
|
|
1591
|
+
ParamDataType2["yearRegion"] = "yearRegion";
|
|
1592
|
+
ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
|
|
1593
|
+
})(ParamDataType || (ParamDataType = {}));
|
|
1594
|
+
var CubeSchema = function CubeSchema2() {
|
|
1595
|
+
"use strict";
|
|
1596
|
+
_class_call_check6(this, CubeSchema2);
|
|
1597
|
+
_define_property7(this, "uniqueId", "");
|
|
1598
|
+
_define_property7(this, "cubeId", "");
|
|
1599
|
+
_define_property7(this, "datasourceId", "");
|
|
1600
|
+
_define_property7(this, "caption", "");
|
|
1601
|
+
_define_property7(this, "fields", []);
|
|
1602
|
+
_define_property7(this, "fieldTree", []);
|
|
1603
|
+
_define_property7(this, "filter", null);
|
|
1604
|
+
_define_property7(this, "params", []);
|
|
1605
|
+
_define_property7(this, "sqlPlaceholders", []);
|
|
1606
|
+
};
|
|
1607
|
+
|
|
1608
|
+
// src/basic/bi-types/src/cube/logical-schema.ts
|
|
1609
|
+
function _class_call_check7(instance, Constructor) {
|
|
1610
|
+
if (!(instance instanceof Constructor)) {
|
|
1611
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
function _define_property8(obj, key, value) {
|
|
1615
|
+
if (key in obj) {
|
|
1616
|
+
Object.defineProperty(obj, key, {
|
|
1617
|
+
value,
|
|
1618
|
+
enumerable: true,
|
|
1619
|
+
configurable: true,
|
|
1620
|
+
writable: true
|
|
1621
|
+
});
|
|
1622
|
+
} else {
|
|
1623
|
+
obj[key] = value;
|
|
1624
|
+
}
|
|
1625
|
+
return obj;
|
|
1626
|
+
}
|
|
1627
|
+
var LogicalTable = function LogicalTable2() {
|
|
1628
|
+
"use strict";
|
|
1629
|
+
_class_call_check7(this, LogicalTable2);
|
|
1630
|
+
_define_property8(this, "uniqueId", void 0);
|
|
1631
|
+
_define_property8(this, "caption", void 0);
|
|
1632
|
+
_define_property8(this, "physicalSchema", void 0);
|
|
1633
|
+
};
|
|
1634
|
+
var LogicalTree = function LogicalTree2() {
|
|
1635
|
+
"use strict";
|
|
1636
|
+
_class_call_check7(this, LogicalTree2);
|
|
1637
|
+
_define_property8(this, "uniqueId", void 0);
|
|
1638
|
+
_define_property8(this, "links", void 0);
|
|
1639
|
+
};
|
|
1640
|
+
var LogicalSchema = function LogicalSchema2() {
|
|
1641
|
+
"use strict";
|
|
1642
|
+
_class_call_check7(this, LogicalSchema2);
|
|
1643
|
+
_define_property8(this, "logicalNodes", []);
|
|
1644
|
+
_define_property8(this, "logicalTrees", []);
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1647
|
+
// src/basic/bi-types/src/cube/cube-model.ts
|
|
1648
|
+
function _class_call_check8(instance, Constructor) {
|
|
1649
|
+
if (!(instance instanceof Constructor)) {
|
|
1650
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
function _defineProperties2(target, props) {
|
|
1654
|
+
for (var i = 0; i < props.length; i++) {
|
|
1655
|
+
var descriptor = props[i];
|
|
1656
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
1657
|
+
descriptor.configurable = true;
|
|
1658
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
1659
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
function _create_class2(Constructor, protoProps, staticProps) {
|
|
1663
|
+
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
1664
|
+
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
1665
|
+
return Constructor;
|
|
1666
|
+
}
|
|
1667
|
+
function _define_property9(obj, key, value) {
|
|
1668
|
+
if (key in obj) {
|
|
1669
|
+
Object.defineProperty(obj, key, {
|
|
1670
|
+
value,
|
|
1671
|
+
enumerable: true,
|
|
1672
|
+
configurable: true,
|
|
1673
|
+
writable: true
|
|
1674
|
+
});
|
|
1675
|
+
} else {
|
|
1676
|
+
obj[key] = value;
|
|
1677
|
+
}
|
|
1678
|
+
return obj;
|
|
1679
|
+
}
|
|
1680
|
+
var EditPermitType;
|
|
1681
|
+
(function(EditPermitType2) {
|
|
1682
|
+
EditPermitType2[EditPermitType2["private"] = 0] = "private";
|
|
1683
|
+
EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
|
|
1684
|
+
EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
|
|
1685
|
+
EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
|
|
1686
|
+
})(EditPermitType || (EditPermitType = {}));
|
|
1687
|
+
var UsePermitType;
|
|
1688
|
+
(function(UsePermitType2) {
|
|
1689
|
+
UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
|
|
1690
|
+
UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
|
|
1691
|
+
})(UsePermitType || (UsePermitType = {}));
|
|
1692
|
+
var SchemaExtraInfo = function SchemaExtraInfo2() {
|
|
1693
|
+
"use strict";
|
|
1694
|
+
_class_call_check8(this, SchemaExtraInfo2);
|
|
1695
|
+
_define_property9(this, "aimDirId", null);
|
|
1696
|
+
_define_property9(this, "hasAuthorizedUse", void 0);
|
|
1697
|
+
_define_property9(this, "permissionList", void 0);
|
|
1698
|
+
_define_property9(this, "dataLevelAttributeIds", []);
|
|
1699
|
+
_define_property9(this, "withoutColumnLevelPermissionFields", []);
|
|
1700
|
+
_define_property9(this, "aggFunctions", []);
|
|
1701
|
+
_define_property9(this, "isDataMaskOpen", void 0);
|
|
1702
|
+
_define_property9(this, "isOpenColumnLevelPermission", void 0);
|
|
1703
|
+
_define_property9(this, "isOpenRowLevelPermission", void 0);
|
|
1704
|
+
_define_property9(this, "dsCreateOrigin", void 0);
|
|
1705
|
+
_define_property9(this, "dataLoadMode", void 0);
|
|
1706
|
+
_define_property9(this, "etlGenerateCube", void 0);
|
|
1707
|
+
_define_property9(this, "cubeType", null);
|
|
1708
|
+
_define_property9(this, "creatorId", void 0);
|
|
1709
|
+
_define_property9(this, "creatorName", void 0);
|
|
1710
|
+
_define_property9(this, "authLevel", void 0);
|
|
1711
|
+
_define_property9(this, "comments", void 0);
|
|
1712
|
+
_define_property9(this, "authorizedUseType", void 0);
|
|
1713
|
+
_define_property9(this, "functionConfig", void 0);
|
|
1714
|
+
_define_property9(this, "gmtModified", void 0);
|
|
1715
|
+
};
|
|
1600
1716
|
var EmptyValueType;
|
|
1601
1717
|
(function(EmptyValueType2) {
|
|
1602
1718
|
EmptyValueType2["EmptyValue"] = "EmptyValue";
|
|
1603
1719
|
EmptyValueType2["EmptyString"] = "EmptyString";
|
|
1604
1720
|
})(EmptyValueType || (EmptyValueType = {}));
|
|
1605
|
-
var EmptyValueDisplayType;
|
|
1606
|
-
(function(EmptyValueDisplayType2) {
|
|
1607
|
-
EmptyValueDisplayType2["Hyphen"] = "hyphen";
|
|
1608
|
-
EmptyValueDisplayType2["Braces"] = "braces";
|
|
1609
|
-
EmptyValueDisplayType2["Null"] = "null";
|
|
1610
|
-
EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
|
|
1611
|
-
EmptyValueDisplayType2["Custom"] = "custom";
|
|
1612
|
-
})(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
|
|
1613
1721
|
var EmptyStringOrNullDisplayConfig = function EmptyStringOrNullDisplayConfig2() {
|
|
1614
1722
|
"use strict";
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1723
|
+
_class_call_check8(this, EmptyStringOrNullDisplayConfig2);
|
|
1724
|
+
_define_property9(this, "formatType", EmptyValueDisplayType.Hyphen);
|
|
1725
|
+
_define_property9(this, "customFormat", void 0);
|
|
1726
|
+
_define_property9(this, "isAuto", true);
|
|
1619
1727
|
};
|
|
1620
1728
|
var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
1621
1729
|
"use strict";
|
|
1622
1730
|
function EmptyValueDisplayConfig2() {
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1731
|
+
_class_call_check8(this, EmptyValueDisplayConfig2);
|
|
1732
|
+
_define_property9(this, "emptyValueConfig", new EmptyStringOrNullDisplayConfig());
|
|
1733
|
+
_define_property9(this, "emptyStringConfig", new EmptyStringOrNullDisplayConfig());
|
|
1626
1734
|
}
|
|
1627
1735
|
_create_class2(EmptyValueDisplayConfig2, null, [
|
|
1628
1736
|
{
|
|
@@ -1630,12 +1738,12 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1630
1738
|
value: function getDefaultConfigForQuickReport() {
|
|
1631
1739
|
return {
|
|
1632
1740
|
emptyValueConfig: {
|
|
1633
|
-
formatType:
|
|
1741
|
+
formatType: EmptyValueDisplayType.NotDisplay,
|
|
1634
1742
|
customFormat: null,
|
|
1635
1743
|
isAuto: false
|
|
1636
1744
|
},
|
|
1637
1745
|
emptyStringConfig: {
|
|
1638
|
-
formatType:
|
|
1746
|
+
formatType: EmptyValueDisplayType.NotDisplay,
|
|
1639
1747
|
customFormat: null,
|
|
1640
1748
|
isAuto: false
|
|
1641
1749
|
}
|
|
@@ -1668,23 +1776,23 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1668
1776
|
if (!fieldSetting) {
|
|
1669
1777
|
return defaultValue !== null && defaultValue !== void 0 ? defaultValue : {
|
|
1670
1778
|
emptyValueConfig: {
|
|
1671
|
-
formatType:
|
|
1779
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1672
1780
|
customFormat: null
|
|
1673
1781
|
},
|
|
1674
1782
|
emptyStringConfig: {
|
|
1675
|
-
formatType:
|
|
1783
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1676
1784
|
customFormat: null
|
|
1677
1785
|
}
|
|
1678
1786
|
};
|
|
1679
1787
|
}
|
|
1680
1788
|
var _fieldSetting_emptyValueConfig, _ref;
|
|
1681
1789
|
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 : {
|
|
1682
|
-
formatType:
|
|
1790
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1683
1791
|
customFormat: null
|
|
1684
1792
|
};
|
|
1685
1793
|
var _fieldSetting_emptyStringConfig, _ref1;
|
|
1686
1794
|
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 : {
|
|
1687
|
-
formatType:
|
|
1795
|
+
formatType: EmptyValueDisplayType.Hyphen,
|
|
1688
1796
|
customFormat: null
|
|
1689
1797
|
};
|
|
1690
1798
|
return {
|
|
@@ -1697,41 +1805,6 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1697
1805
|
]);
|
|
1698
1806
|
return EmptyValueDisplayConfig2;
|
|
1699
1807
|
}();
|
|
1700
|
-
var Aggregator;
|
|
1701
|
-
(function(Aggregator2) {
|
|
1702
|
-
Aggregator2["sum"] = "sum";
|
|
1703
|
-
Aggregator2["count"] = "count";
|
|
1704
|
-
Aggregator2["distinct-count"] = "distinct-count";
|
|
1705
|
-
Aggregator2["max"] = "max";
|
|
1706
|
-
Aggregator2["min"] = "min";
|
|
1707
|
-
Aggregator2["avg"] = "avg";
|
|
1708
|
-
})(Aggregator || (Aggregator = {}));
|
|
1709
|
-
var FilterAttr = function FilterAttr2() {
|
|
1710
|
-
"use strict";
|
|
1711
|
-
_class_call_check6(this, FilterAttr2);
|
|
1712
|
-
_define_property7(this, "logicalOperator", void 0);
|
|
1713
|
-
_define_property7(this, "filterElements", []);
|
|
1714
|
-
_define_property7(this, "filters", []);
|
|
1715
|
-
_define_property7(this, "beforeJoin", void 0);
|
|
1716
|
-
_define_property7(this, "tableId", void 0);
|
|
1717
|
-
};
|
|
1718
|
-
var OriginDateType;
|
|
1719
|
-
(function(OriginDateType2) {
|
|
1720
|
-
OriginDateType2["SingleDate"] = "singleDate";
|
|
1721
|
-
OriginDateType2["DateRange"] = "dateRange";
|
|
1722
|
-
})(OriginDateType || (OriginDateType = {}));
|
|
1723
|
-
var ParamDataType;
|
|
1724
|
-
(function(ParamDataType2) {
|
|
1725
|
-
ParamDataType2["string"] = "string";
|
|
1726
|
-
ParamDataType2["number"] = "number";
|
|
1727
|
-
ParamDataType2["dateTime"] = "datetime";
|
|
1728
|
-
ParamDataType2["dateRegion"] = "dateRegion";
|
|
1729
|
-
ParamDataType2["quarterRegion"] = "quarterRegion";
|
|
1730
|
-
ParamDataType2["monthRegion"] = "monthRegion";
|
|
1731
|
-
ParamDataType2["weekRegion"] = "weekRegion";
|
|
1732
|
-
ParamDataType2["yearRegion"] = "yearRegion";
|
|
1733
|
-
ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
|
|
1734
|
-
})(ParamDataType || (ParamDataType = {}));
|
|
1735
1808
|
var CellsetDimTypes;
|
|
1736
1809
|
(function(CellsetDimTypes2) {
|
|
1737
1810
|
CellsetDimTypes2["StandardDimension"] = "StandardDimension";
|
|
@@ -1740,15 +1813,14 @@ var CellsetDimTypes;
|
|
|
1740
1813
|
CellsetDimTypes2["GeographicDimension"] = "GeographicDimension";
|
|
1741
1814
|
CellsetDimTypes2["measureCol"] = "measureCol";
|
|
1742
1815
|
})(CellsetDimTypes || (CellsetDimTypes = {}));
|
|
1743
|
-
var
|
|
1816
|
+
var CubeModel = function CubeModel2() {
|
|
1744
1817
|
"use strict";
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
_define_property7(this, "support", true);
|
|
1818
|
+
_class_call_check8(this, CubeModel2);
|
|
1819
|
+
_define_property9(this, "logicalSchema", new LogicalSchema());
|
|
1820
|
+
_define_property9(this, "cubeSchema", new CubeSchema());
|
|
1821
|
+
_define_property9(this, "metaModelVersion", "2.0");
|
|
1822
|
+
_define_property9(this, "userDefineVersion", "5.0.1");
|
|
1823
|
+
_define_property9(this, "schemaExtraInfo", new SchemaExtraInfo());
|
|
1752
1824
|
};
|
|
1753
1825
|
|
|
1754
1826
|
// src/basic/bi-types/src/cube/data-source.ts
|
|
@@ -1884,6 +1956,8 @@ var DataSourcePortValue;
|
|
|
1884
1956
|
DataSourcePortValue2["eight_two_four_two"] = "8242";
|
|
1885
1957
|
DataSourcePortValue2["three_three_zero_six_zero"] = "33060";
|
|
1886
1958
|
DataSourcePortValue2["three_zero_zero_six_zero"] = "30060";
|
|
1959
|
+
DataSourcePortValue2["three_three_zero_six"] = "33306";
|
|
1960
|
+
DataSourcePortValue2["one_zero_zero_zero_zero"] = "10000";
|
|
1887
1961
|
})(DataSourcePortValue || (DataSourcePortValue = {}));
|
|
1888
1962
|
var DataSourceSort;
|
|
1889
1963
|
(function(DataSourceSort2) {
|
|
@@ -1918,36 +1992,59 @@ var SHEET_TABLE = [
|
|
|
1918
1992
|
"dingtalk_spreadsheet"
|
|
1919
1993
|
];
|
|
1920
1994
|
|
|
1921
|
-
// src/basic/bi-types/src/cube/
|
|
1922
|
-
|
|
1923
|
-
(
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1995
|
+
// src/basic/bi-types/src/cube/physical-schema.ts
|
|
1996
|
+
function _class_call_check9(instance, Constructor) {
|
|
1997
|
+
if (!(instance instanceof Constructor)) {
|
|
1998
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
function _define_property10(obj, key, value) {
|
|
2002
|
+
if (key in obj) {
|
|
2003
|
+
Object.defineProperty(obj, key, {
|
|
2004
|
+
value,
|
|
2005
|
+
enumerable: true,
|
|
2006
|
+
configurable: true,
|
|
2007
|
+
writable: true
|
|
2008
|
+
});
|
|
2009
|
+
} else {
|
|
2010
|
+
obj[key] = value;
|
|
2011
|
+
}
|
|
2012
|
+
return obj;
|
|
2013
|
+
}
|
|
2014
|
+
var TableJoinType;
|
|
2015
|
+
(function(TableJoinType2) {
|
|
2016
|
+
TableJoinType2["LEFT_OUTER_JOIN"] = "LEFT_OUTER_JOIN";
|
|
2017
|
+
TableJoinType2["INNER_JOIN"] = "INNER_JOIN";
|
|
2018
|
+
TableJoinType2["RIGHT_OUTER_JOIN"] = "RIGHT_OUTER_JOIN";
|
|
2019
|
+
TableJoinType2["FULL_OUTER_JOIN"] = "FULL_OUTER_JOIN";
|
|
2020
|
+
TableJoinType2["JOIN_ERROR"] = "JOIN_ERROR";
|
|
2021
|
+
})(TableJoinType || (TableJoinType = {}));
|
|
2022
|
+
var PhysicalTableType;
|
|
2023
|
+
(function(PhysicalTableType2) {
|
|
2024
|
+
PhysicalTableType2["Table"] = "table";
|
|
2025
|
+
PhysicalTableType2["Sql"] = "sql";
|
|
2026
|
+
PhysicalTableType2["File"] = "file";
|
|
2027
|
+
})(PhysicalTableType || (PhysicalTableType = {}));
|
|
2028
|
+
var HintModal = function HintModal2() {
|
|
2029
|
+
"use strict";
|
|
2030
|
+
_class_call_check9(this, HintModal2);
|
|
2031
|
+
_define_property10(this, "dsType", void 0);
|
|
2032
|
+
_define_property10(this, "head", "set");
|
|
2033
|
+
_define_property10(this, "key", "");
|
|
2034
|
+
_define_property10(this, "connector", "=");
|
|
2035
|
+
_define_property10(this, "value", "");
|
|
2036
|
+
_define_property10(this, "support", true);
|
|
2037
|
+
};
|
|
2038
|
+
var PhysicalSchema = function PhysicalSchema2() {
|
|
2039
|
+
"use strict";
|
|
2040
|
+
_class_call_check9(this, PhysicalSchema2);
|
|
2041
|
+
_define_property10(this, "tables", []);
|
|
2042
|
+
_define_property10(this, "virtualTables", []);
|
|
2043
|
+
_define_property10(this, "unionTables", []);
|
|
2044
|
+
_define_property10(this, "links", []);
|
|
2045
|
+
_define_property10(this, "sqlHintTypes", []);
|
|
2046
|
+
_define_property10(this, "sqlHints", []);
|
|
2047
|
+
};
|
|
1951
2048
|
|
|
1952
2049
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
1953
2050
|
var CustomMenuMode;
|
|
@@ -2027,12 +2124,15 @@ var RouteKey;
|
|
|
2027
2124
|
RouteKey2["orgAdminSmartQ"] = "orgAdminSmartQ";
|
|
2028
2125
|
RouteKey2["orgAdminSmartQGlobalConfig"] = "orgAdminSmartQGlobalConfig";
|
|
2029
2126
|
RouteKey2["orgAdminSmartQGlobalConfigLlmConfig"] = "orgAdminSmartQGlobalConfigLlmConfig";
|
|
2127
|
+
RouteKey2["orgAdminSmartQGlobalConfigAIConfig"] = "orgAdminSmartQGlobalConfigAIConfig";
|
|
2030
2128
|
RouteKey2["orgAdminSmartQGlobalConfigAgentManage"] = "orgAdminSmartQGlobalConfigAgentManage";
|
|
2129
|
+
RouteKey2["orgAdminSmartQGlobalConfigKnowledgeManage"] = "orgAdminSmartQGlobalConfigKnowledgeManage";
|
|
2031
2130
|
RouteKey2["orgAdminCopilot"] = "orgAdminCopilot";
|
|
2032
2131
|
RouteKey2["orgAdminCopilotQueryAgent"] = "orgAdminCopilotQueryAgent";
|
|
2033
2132
|
RouteKey2["orgQueryAgentAnalysisThemeManage"] = "orgQueryAgentAnalysisThemeManage";
|
|
2034
2133
|
RouteKey2["orgQueryAgentAnalysisThemeAuth"] = "orgQueryAgentAnalysisThemeAuth";
|
|
2035
2134
|
RouteKey2["orgQueryAgentKnowledgeBaseManage"] = "orgQueryAgentKnowledgeBaseManage";
|
|
2135
|
+
RouteKey2["orgQueryAgentGlobalConfig"] = "orgQueryAgentGlobalConfig";
|
|
2036
2136
|
RouteKey2["orgResourceManage"] = "orgResourceManage";
|
|
2037
2137
|
RouteKey2["orgAnalysisThemeManage"] = "orgAnalysisThemeManage";
|
|
2038
2138
|
RouteKey2["orgDashboardQuestionManage"] = "orgDashboardQuestionManage";
|
|
@@ -2095,11 +2195,14 @@ var RouteKey;
|
|
|
2095
2195
|
RouteKey2["dataServiceDebug"] = "dataServiceDebug";
|
|
2096
2196
|
RouteKey2["dataServiceCount"] = "dataServiceCount";
|
|
2097
2197
|
RouteKey2["embedChannel"] = "embedChannel";
|
|
2198
|
+
RouteKey2["customManage"] = "componentManage";
|
|
2098
2199
|
RouteKey2["customComponent"] = "customComponent";
|
|
2099
2200
|
RouteKey2["customMenu"] = "customMenu";
|
|
2201
|
+
RouteKey2["customPage"] = "customPage";
|
|
2100
2202
|
RouteKey2["customTemplate"] = "customTemplate";
|
|
2101
2203
|
RouteKey2["customConnect"] = "customConnect";
|
|
2102
2204
|
RouteKey2["customPlugin"] = "customPlugin";
|
|
2205
|
+
RouteKey2["customScript"] = "customScript";
|
|
2103
2206
|
RouteKey2["monitorEvent"] = "monitorEvent";
|
|
2104
2207
|
RouteKey2["customEvent"] = "customEvent";
|
|
2105
2208
|
RouteKey2["embedStatistic"] = "embedStatistic";
|
|
@@ -2113,6 +2216,7 @@ var RouteKey;
|
|
|
2113
2216
|
RouteKey2["view"] = "view";
|
|
2114
2217
|
RouteKey2["viewHome"] = "viewHome";
|
|
2115
2218
|
RouteKey2["viewBoard"] = "viewBoard";
|
|
2219
|
+
RouteKey2["viewExploration"] = "viewExploration";
|
|
2116
2220
|
RouteKey2["viewFavorite"] = "viewFavorite";
|
|
2117
2221
|
RouteKey2["viewRecent"] = "viewRecent";
|
|
2118
2222
|
RouteKey2["viewShared"] = "viewShared";
|
|
@@ -2202,6 +2306,9 @@ var RouteKey;
|
|
|
2202
2306
|
RouteKey2["downloadEdit"] = "downloadEdit";
|
|
2203
2307
|
RouteKey2["downloadView"] = "downloadView";
|
|
2204
2308
|
RouteKey2["downloadPublicView"] = "downloadPublicView";
|
|
2309
|
+
RouteKey2["explorationRoot"] = "explorationRoot";
|
|
2310
|
+
RouteKey2["explorationEdit"] = "explorationEdit";
|
|
2311
|
+
RouteKey2["explorationView"] = "explorationView";
|
|
2205
2312
|
RouteKey2["analysisRoot"] = "analysisRoot";
|
|
2206
2313
|
RouteKey2["analysisEdit"] = "analysisEdit";
|
|
2207
2314
|
RouteKey2["analysisView"] = "analysisView";
|
|
@@ -2298,7 +2405,7 @@ function _array_like_to_array(arr, len) {
|
|
|
2298
2405
|
function _array_with_holes(arr) {
|
|
2299
2406
|
if (Array.isArray(arr)) return arr;
|
|
2300
2407
|
}
|
|
2301
|
-
function
|
|
2408
|
+
function _define_property11(obj, key, value) {
|
|
2302
2409
|
if (key in obj) {
|
|
2303
2410
|
Object.defineProperty(obj, key, {
|
|
2304
2411
|
value,
|
|
@@ -2348,7 +2455,7 @@ function _object_spread(target) {
|
|
|
2348
2455
|
}));
|
|
2349
2456
|
}
|
|
2350
2457
|
ownKeys2.forEach(function(key) {
|
|
2351
|
-
|
|
2458
|
+
_define_property11(target, key, source[key]);
|
|
2352
2459
|
});
|
|
2353
2460
|
}
|
|
2354
2461
|
return target;
|
|
@@ -2643,6 +2750,16 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2643
2750
|
/** 智能小 Q - 通用配置 - 大模型配置 */
|
|
2644
2751
|
key: RouteKey.orgAdminSmartQGlobalConfigLlmConfig,
|
|
2645
2752
|
path: "/org/admin/smartQ/globalConfig/llmConfig"
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
/** 智能小 Q - 通用配置 - AI功能管理 */
|
|
2756
|
+
key: RouteKey.orgAdminSmartQGlobalConfigAIConfig,
|
|
2757
|
+
path: "/org/admin/smartQ/globalConfig/aiConfig"
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
/** 智能小 Q - 通用配置 - 大模型配置 */
|
|
2761
|
+
key: RouteKey.orgAdminSmartQGlobalConfigKnowledgeManage,
|
|
2762
|
+
path: "/org/admin/smartQ/globalConfig/knowledgeManage"
|
|
2646
2763
|
}
|
|
2647
2764
|
]
|
|
2648
2765
|
},
|
|
@@ -2701,6 +2818,10 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2701
2818
|
{
|
|
2702
2819
|
key: RouteKey.orgQueryAgentKnowledgeBaseManage,
|
|
2703
2820
|
path: "/org/admin/copilot/queryAgent/orgKnowledgeBaseManage"
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
key: RouteKey.orgQueryAgentGlobalConfig,
|
|
2824
|
+
path: "/org/admin/copilot/queryAgent/globalConfig"
|
|
2704
2825
|
}
|
|
2705
2826
|
]
|
|
2706
2827
|
},
|
|
@@ -2949,12 +3070,22 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2949
3070
|
path: "/openservice/embedChannel"
|
|
2950
3071
|
},
|
|
2951
3072
|
{
|
|
2952
|
-
key: RouteKey.
|
|
2953
|
-
path: "/openservice/componentManage"
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
3073
|
+
key: RouteKey.customManage,
|
|
3074
|
+
path: "/openservice/componentManage",
|
|
3075
|
+
children: [
|
|
3076
|
+
{
|
|
3077
|
+
key: RouteKey.customComponent,
|
|
3078
|
+
path: "/openservice/componentManage/customComponent"
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
key: RouteKey.customMenu,
|
|
3082
|
+
path: "/openservice/componentManage/customMenu"
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
key: RouteKey.customPage,
|
|
3086
|
+
path: "/openservice/componentManage/customPage"
|
|
3087
|
+
}
|
|
3088
|
+
]
|
|
2958
3089
|
},
|
|
2959
3090
|
{
|
|
2960
3091
|
key: RouteKey.customTemplate,
|
|
@@ -2968,6 +3099,10 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2968
3099
|
key: RouteKey.customPlugin,
|
|
2969
3100
|
path: "/openservice/customPlugin"
|
|
2970
3101
|
},
|
|
3102
|
+
{
|
|
3103
|
+
key: RouteKey.customScript,
|
|
3104
|
+
path: "/openservice/customScript"
|
|
3105
|
+
},
|
|
2971
3106
|
{
|
|
2972
3107
|
key: RouteKey.monitorEvent,
|
|
2973
3108
|
path: "/openservice/event"
|
|
@@ -3030,6 +3165,10 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3030
3165
|
key: RouteKey.viewBoard,
|
|
3031
3166
|
path: "/view/card"
|
|
3032
3167
|
},
|
|
3168
|
+
{
|
|
3169
|
+
key: RouteKey.viewExploration,
|
|
3170
|
+
path: "/view/exploration"
|
|
3171
|
+
},
|
|
3033
3172
|
{
|
|
3034
3173
|
key: RouteKey.viewFavorite,
|
|
3035
3174
|
path: "/view/favorite"
|
|
@@ -3422,6 +3561,21 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3422
3561
|
}
|
|
3423
3562
|
]
|
|
3424
3563
|
},
|
|
3564
|
+
/** 探索分析 */
|
|
3565
|
+
{
|
|
3566
|
+
key: RouteKey.explorationRoot,
|
|
3567
|
+
path: "/exploration",
|
|
3568
|
+
children: [
|
|
3569
|
+
{
|
|
3570
|
+
key: RouteKey.explorationEdit,
|
|
3571
|
+
path: "/exploration/pc.htm"
|
|
3572
|
+
},
|
|
3573
|
+
{
|
|
3574
|
+
key: RouteKey.explorationView,
|
|
3575
|
+
path: "/exploration/view/pc.htm"
|
|
3576
|
+
}
|
|
3577
|
+
]
|
|
3578
|
+
},
|
|
3425
3579
|
/** 即席分析 */
|
|
3426
3580
|
{
|
|
3427
3581
|
key: RouteKey.analysisRoot,
|
|
@@ -3923,6 +4077,7 @@ var PermissionPageType;
|
|
|
3923
4077
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
3924
4078
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
3925
4079
|
PermissionPageType2["qReport"] = "qreport";
|
|
4080
|
+
PermissionPageType2["exploration"] = "exploration";
|
|
3926
4081
|
})(PermissionPageType || (PermissionPageType = {}));
|
|
3927
4082
|
export {
|
|
3928
4083
|
AccumulateCalcType,
|
|
@@ -4004,6 +4159,9 @@ export {
|
|
|
4004
4159
|
LegendPositionType,
|
|
4005
4160
|
LegendUnHighLightedValue,
|
|
4006
4161
|
LnglatGroupChildFlags,
|
|
4162
|
+
LogicalSchema,
|
|
4163
|
+
LogicalTable,
|
|
4164
|
+
LogicalTree,
|
|
4007
4165
|
MOBILE_PATH_ROUTE_MAP,
|
|
4008
4166
|
MultiSeparator,
|
|
4009
4167
|
NegativeMode,
|
|
@@ -4015,7 +4173,6 @@ export {
|
|
|
4015
4173
|
OperationMenuItem,
|
|
4016
4174
|
OperationTypes,
|
|
4017
4175
|
OrgThemeMode,
|
|
4018
|
-
OriginDateType,
|
|
4019
4176
|
PATH_ROUTE_MAP,
|
|
4020
4177
|
ParamDataType,
|
|
4021
4178
|
ParamStyleType,
|
|
@@ -4030,6 +4187,7 @@ export {
|
|
|
4030
4187
|
ROUTE_PATH_MAP,
|
|
4031
4188
|
ROUTE_TREE,
|
|
4032
4189
|
ROUTE_TREE_MAP,
|
|
4190
|
+
ReferentialIntegrity,
|
|
4033
4191
|
RegionGranularity,
|
|
4034
4192
|
ReportSummaryInsightType,
|
|
4035
4193
|
ResourcePageHeaderGroupEnum,
|