@quickbi/bi-types 3.2.4 → 3.2.5
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 +737 -935
- package/cjs/index.js +244 -410
- package/esm/index.d.ts +737 -935
- package/esm/index.mjs +244 -410
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -94,13 +94,9 @@ __export(src_exports, {
|
|
|
94
94
|
ImageSizes: () => ImageSizes,
|
|
95
95
|
JoinCondition: () => JoinCondition,
|
|
96
96
|
LegendAlignType: () => LegendAlignType,
|
|
97
|
-
LegendDisplayPercentPositionValue: () => LegendDisplayPercentPositionValue,
|
|
98
97
|
LegendPositionType: () => LegendPositionType,
|
|
99
98
|
LegendUnHighLightedValue: () => LegendUnHighLightedValue,
|
|
100
99
|
LnglatGroupChildFlags: () => LnglatGroupChildFlags,
|
|
101
|
-
LogicalSchema: () => LogicalSchema,
|
|
102
|
-
LogicalTable: () => LogicalTable,
|
|
103
|
-
LogicalTree: () => LogicalTree,
|
|
104
100
|
MOBILE_PATH_ROUTE_MAP: () => MOBILE_PATH_ROUTE_MAP,
|
|
105
101
|
MultiSeparator: () => MultiSeparator,
|
|
106
102
|
NegativeMode: () => NegativeMode,
|
|
@@ -112,6 +108,7 @@ __export(src_exports, {
|
|
|
112
108
|
OperationMenuItem: () => OperationMenuItem,
|
|
113
109
|
OperationTypes: () => OperationTypes,
|
|
114
110
|
OrgThemeMode: () => OrgThemeMode,
|
|
111
|
+
OriginDateType: () => OriginDateType,
|
|
115
112
|
PATH_ROUTE_MAP: () => PATH_ROUTE_MAP,
|
|
116
113
|
ParamDataType: () => ParamDataType,
|
|
117
114
|
ParamStyleType: () => ParamStyleType,
|
|
@@ -126,7 +123,6 @@ __export(src_exports, {
|
|
|
126
123
|
ROUTE_PATH_MAP: () => ROUTE_PATH_MAP,
|
|
127
124
|
ROUTE_TREE: () => ROUTE_TREE,
|
|
128
125
|
ROUTE_TREE_MAP: () => ROUTE_TREE_MAP,
|
|
129
|
-
ReferentialIntegrity: () => ReferentialIntegrity,
|
|
130
126
|
RegionGranularity: () => RegionGranularity,
|
|
131
127
|
ReportSummaryInsightType: () => ReportSummaryInsightType,
|
|
132
128
|
ResourcePageHeaderGroupEnum: () => ResourcePageHeaderGroupEnum,
|
|
@@ -153,7 +149,8 @@ __export(src_exports, {
|
|
|
153
149
|
ToolFieldType: () => ToolFieldType,
|
|
154
150
|
UsePermitType: () => UsePermitType,
|
|
155
151
|
VerticalAlignTypes: () => VerticalAlignTypes,
|
|
156
|
-
VirtualFieldOperation: () => VirtualFieldOperation
|
|
152
|
+
VirtualFieldOperation: () => VirtualFieldOperation,
|
|
153
|
+
dataBaseType: () => dataBaseType
|
|
157
154
|
});
|
|
158
155
|
module.exports = __toCommonJS(src_exports);
|
|
159
156
|
|
|
@@ -234,7 +231,6 @@ var CUSTOM_FIELD_TYPES;
|
|
|
234
231
|
CUSTOM_FIELD_TYPES2["FIELD_GROUP"] = "FIELD_GROUP";
|
|
235
232
|
CUSTOM_FIELD_TYPES2["AGGREGATE_FIELD"] = "AGGREGATE_FIELD";
|
|
236
233
|
CUSTOM_FIELD_TYPES2["STRING_FIELD"] = "STRING_FIELD";
|
|
237
|
-
CUSTOM_FIELD_TYPES2["GROUP_CONTRAST"] = "GROUP_CONTRAST";
|
|
238
234
|
})(CUSTOM_FIELD_TYPES || (CUSTOM_FIELD_TYPES = {}));
|
|
239
235
|
var ResultMode;
|
|
240
236
|
(function(ResultMode2) {
|
|
@@ -422,8 +418,6 @@ var DataConfigAreaItemColumn = function DataConfigAreaItemColumn2() {
|
|
|
422
418
|
_define_property2(this, "groupSortInfo", void 0);
|
|
423
419
|
_define_property2(this, "isMultiField", void 0);
|
|
424
420
|
_define_property2(this, "parentFieldGuid", void 0);
|
|
425
|
-
_define_property2(this, "isVirtual", void 0);
|
|
426
|
-
_define_property2(this, "groupContrast", void 0);
|
|
427
421
|
};
|
|
428
422
|
var ContrastType;
|
|
429
423
|
(function(ContrastType2) {
|
|
@@ -477,8 +471,6 @@ var FieldConfigTypes;
|
|
|
477
471
|
FieldConfigTypes2["hideField"] = "hideField";
|
|
478
472
|
FieldConfigTypes2["auxiliaryField"] = "auxiliaryField";
|
|
479
473
|
FieldConfigTypes2["emptyValueDisplay"] = "emptyValueDisplay";
|
|
480
|
-
FieldConfigTypes2["drillSwitch"] = "drillSwitch";
|
|
481
|
-
FieldConfigTypes2["drillConfig"] = "drillConfig";
|
|
482
474
|
})(FieldConfigTypes || (FieldConfigTypes = {}));
|
|
483
475
|
var Aggregators;
|
|
484
476
|
(function(Aggregators2) {
|
|
@@ -486,7 +478,6 @@ var Aggregators;
|
|
|
486
478
|
Aggregators2["avg"] = "avg";
|
|
487
479
|
Aggregators2["count"] = "count";
|
|
488
480
|
Aggregators2["countd"] = "countd";
|
|
489
|
-
Aggregators2["approx_distinct"] = "approx_distinct";
|
|
490
481
|
Aggregators2["null"] = "null";
|
|
491
482
|
Aggregators2["more"] = "more";
|
|
492
483
|
Aggregators2["max"] = "max";
|
|
@@ -727,11 +718,7 @@ var DropDownMenuType = {
|
|
|
727
718
|
/** 时间补齐 */
|
|
728
719
|
timeCompletion: "timeCompletion",
|
|
729
720
|
/** 空值展示配置 */
|
|
730
|
-
emptyValueDisplay: "emptyValueDisplay"
|
|
731
|
-
/** 钻取开关(开启下钻/取消下钻) */
|
|
732
|
-
drillSwitch: "drillSwitch",
|
|
733
|
-
/** 钻取层级配置 */
|
|
734
|
-
drillConfig: "drillConfig"
|
|
721
|
+
emptyValueDisplay: "emptyValueDisplay"
|
|
735
722
|
};
|
|
736
723
|
|
|
737
724
|
// src/basic/bi-types/src/data-panel/data-schema.ts
|
|
@@ -978,12 +965,6 @@ var ComponentType;
|
|
|
978
965
|
ComponentType2[ComponentType2["UNSTRUCTURED_HIERARCHICAL"] = 128] = "UNSTRUCTURED_HIERARCHICAL";
|
|
979
966
|
ComponentType2[ComponentType2["UNSTRUCTURED_FREQUENCY"] = 129] = "UNSTRUCTURED_FREQUENCY";
|
|
980
967
|
ComponentType2[ComponentType2["SMART_INTERPRETATION"] = 130] = "SMART_INTERPRETATION";
|
|
981
|
-
ComponentType2[ComponentType2["EXPLORATION_SMART_CHART"] = 131] = "EXPLORATION_SMART_CHART";
|
|
982
|
-
ComponentType2[ComponentType2["QUICK_REPORT_AI_TRANSLATE"] = 132] = "QUICK_REPORT_AI_TRANSLATE";
|
|
983
|
-
ComponentType2[ComponentType2["QUICK_REPORT_AI_CLASSIFY"] = 133] = "QUICK_REPORT_AI_CLASSIFY";
|
|
984
|
-
ComponentType2[ComponentType2["QUICK_REPORT_AI_CUSTOM"] = 134] = "QUICK_REPORT_AI_CUSTOM";
|
|
985
|
-
ComponentType2[ComponentType2["QUICK_REPORT_AI_EXTRACT"] = 135] = "QUICK_REPORT_AI_EXTRACT";
|
|
986
|
-
ComponentType2[ComponentType2["QUICK_REPORT_AI_SUMMARIZE"] = 136] = "QUICK_REPORT_AI_SUMMARIZE";
|
|
987
968
|
})(ComponentType || (ComponentType = {}));
|
|
988
969
|
var _obj;
|
|
989
970
|
var ScreenComponentCode = (_obj = {}, _define_property5(_obj, "custom_component", 0), /** 图层组 */
|
|
@@ -1143,7 +1124,6 @@ var ChartType;
|
|
|
1143
1124
|
ChartType2["CONCAT_CONTAINER"] = "concat-container";
|
|
1144
1125
|
ChartType2["INDICATOR_RELATION"] = "indicator-relation";
|
|
1145
1126
|
ChartType2["SMART_INTERPRETATION"] = "smart-interpretation";
|
|
1146
|
-
ChartType2["EXPLORATION_SMART_CHART"] = "exploration-smart-chart";
|
|
1147
1127
|
ChartType2["UNSTRUCTURED_PARALLEL"] = "parallel";
|
|
1148
1128
|
ChartType2["UNSTRUCTURED_CONTRAST"] = "contrast";
|
|
1149
1129
|
ChartType2["UNSTRUCTURED_TIMELINE"] = "timeline";
|
|
@@ -1160,11 +1140,6 @@ var ChartType;
|
|
|
1160
1140
|
ChartType2["QUICK_REPORT_FORM_CHECKBOX"] = "quick-report-form-checkbox";
|
|
1161
1141
|
ChartType2["QUICK_REPORT_FORM_FUNCTION"] = "quick-report-form-function";
|
|
1162
1142
|
ChartType2["QUICK_REPORT"] = "quick-report";
|
|
1163
|
-
ChartType2["QUICK_REPORT_AI_TRANSLATE"] = "quick-report-ai-translate";
|
|
1164
|
-
ChartType2["QUICK_REPORT_AI_CLASSIFY"] = "quick-report-ai-classify";
|
|
1165
|
-
ChartType2["QUICK_REPORT_AI_CUSTOM"] = "quick-report-ai-custom";
|
|
1166
|
-
ChartType2["QUICK_REPORT_AI_EXTRACT"] = "quick-report-ai-extract";
|
|
1167
|
-
ChartType2["QUICK_REPORT_AI_SUMMARIZE"] = "quick-report-ai-summarize";
|
|
1168
1143
|
ChartType2["DATAFORM_TEXT"] = "dataform-text";
|
|
1169
1144
|
ChartType2["DATAFORM_TEXTAREA"] = "dataform-textarea";
|
|
1170
1145
|
ChartType2["DATAFORM_DROPDOWN"] = "dataform-dropdown";
|
|
@@ -1487,11 +1462,6 @@ var LegendUnHighLightedValue;
|
|
|
1487
1462
|
LegendUnHighLightedValue2["default"] = "-";
|
|
1488
1463
|
LegendUnHighLightedValue2["empty"] = "";
|
|
1489
1464
|
})(LegendUnHighLightedValue || (LegendUnHighLightedValue = {}));
|
|
1490
|
-
var LegendDisplayPercentPositionValue;
|
|
1491
|
-
(function(LegendDisplayPercentPositionValue2) {
|
|
1492
|
-
LegendDisplayPercentPositionValue2["Bottom"] = "bottom";
|
|
1493
|
-
LegendDisplayPercentPositionValue2["Right"] = "right";
|
|
1494
|
-
})(LegendDisplayPercentPositionValue || (LegendDisplayPercentPositionValue = {}));
|
|
1495
1465
|
var ConstastTypeMap = {
|
|
1496
1466
|
dateRegion: [
|
|
1497
1467
|
"DAY_DAY_RING_RATIO",
|
|
@@ -1573,69 +1543,26 @@ var Env;
|
|
|
1573
1543
|
Env2["mobile"] = "mobile";
|
|
1574
1544
|
})(Env || (Env = {}));
|
|
1575
1545
|
|
|
1576
|
-
// src/basic/bi-types/src/cube/cube-
|
|
1577
|
-
var FieldExpressionType;
|
|
1578
|
-
(function(FieldExpressionType2) {
|
|
1579
|
-
FieldExpressionType2["dataGroup"] = "dataGroup";
|
|
1580
|
-
FieldExpressionType2["udf"] = "udf";
|
|
1581
|
-
FieldExpressionType2["system"] = "system";
|
|
1582
|
-
FieldExpressionType2["tool"] = "tool";
|
|
1583
|
-
})(FieldExpressionType || (FieldExpressionType = {}));
|
|
1584
|
-
var ToolFieldType;
|
|
1585
|
-
(function(ToolFieldType2) {
|
|
1586
|
-
ToolFieldType2["DateDifference"] = "dateDifference";
|
|
1587
|
-
ToolFieldType2["MissingValueReplacement"] = "missingValueReplacement";
|
|
1588
|
-
ToolFieldType2["ValueReplacement"] = "valueReplacement";
|
|
1589
|
-
ToolFieldType2["SplitField"] = "SplitField";
|
|
1590
|
-
ToolFieldType2["MergeField"] = "mergeField";
|
|
1591
|
-
})(ToolFieldType || (ToolFieldType = {}));
|
|
1592
|
-
var GroupType;
|
|
1593
|
-
(function(GroupType2) {
|
|
1594
|
-
GroupType2["NormalGroup"] = "NormalGroup";
|
|
1595
|
-
GroupType2["ListGroup"] = "ListGroup";
|
|
1596
|
-
GroupType2["CustomizedGroup"] = "CustomizedGroup";
|
|
1597
|
-
})(GroupType || (GroupType = {}));
|
|
1598
|
-
var GroupOperator;
|
|
1599
|
-
(function(GroupOperator2) {
|
|
1600
|
-
GroupOperator2["LessThan"] = "lessThan";
|
|
1601
|
-
GroupOperator2["LessThanOrEqualTo"] = "lessThanOrEqualTo";
|
|
1602
|
-
GroupOperator2["GreaterThan"] = "greaterThan";
|
|
1603
|
-
GroupOperator2["GreaterThanOrEqualTo"] = "greaterThanOrEqualTo";
|
|
1604
|
-
GroupOperator2["IsNull"] = "isNull";
|
|
1605
|
-
GroupOperator2["Between"] = "between";
|
|
1606
|
-
})(GroupOperator || (GroupOperator = {}));
|
|
1607
|
-
|
|
1608
|
-
// src/basic/bi-types/src/cube/cube-links.ts
|
|
1609
|
-
var JoinCondition;
|
|
1610
|
-
(function(JoinCondition2) {
|
|
1611
|
-
JoinCondition2["EQUAL_TO"] = "equal-to";
|
|
1612
|
-
JoinCondition2["UNEQUAL_TO"] = "unequal-to";
|
|
1613
|
-
JoinCondition2["GREATER_THAN"] = "greater-than";
|
|
1614
|
-
JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
|
|
1615
|
-
JoinCondition2["LESS_THAN"] = "less-than";
|
|
1616
|
-
JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
|
|
1617
|
-
})(JoinCondition || (JoinCondition = {}));
|
|
1618
|
-
var TableRelation;
|
|
1619
|
-
(function(TableRelation2) {
|
|
1620
|
-
TableRelation2["ONE_TO_ONE"] = "one-to-one";
|
|
1621
|
-
TableRelation2["MANY_TO_MANY"] = "many-to-many";
|
|
1622
|
-
TableRelation2["ONE_TO_MANY"] = "one-to-many";
|
|
1623
|
-
TableRelation2["MANY_TO_ONE"] = "many-to-one";
|
|
1624
|
-
})(TableRelation || (TableRelation = {}));
|
|
1625
|
-
var ReferentialIntegrity;
|
|
1626
|
-
(function(ReferentialIntegrity2) {
|
|
1627
|
-
ReferentialIntegrity2["ALL_TO_ALL"] = "all-to-all";
|
|
1628
|
-
ReferentialIntegrity2["ALL_TO_SOME"] = "all-to-some";
|
|
1629
|
-
ReferentialIntegrity2["SOME_TO_ALL"] = "some-to-all";
|
|
1630
|
-
ReferentialIntegrity2["SOME_TO_SOME"] = "some-to-some";
|
|
1631
|
-
})(ReferentialIntegrity || (ReferentialIntegrity = {}));
|
|
1632
|
-
|
|
1633
|
-
// src/basic/bi-types/src/cube/cube-schema.ts
|
|
1546
|
+
// src/basic/bi-types/src/cube/cube-model.ts
|
|
1634
1547
|
function _class_call_check6(instance, Constructor) {
|
|
1635
1548
|
if (!(instance instanceof Constructor)) {
|
|
1636
1549
|
throw new TypeError("Cannot call a class as a function");
|
|
1637
1550
|
}
|
|
1638
1551
|
}
|
|
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
|
+
}
|
|
1639
1566
|
function _define_property7(obj, key, value) {
|
|
1640
1567
|
if (key in obj) {
|
|
1641
1568
|
Object.defineProperty(obj, key, {
|
|
@@ -1649,6 +1576,114 @@ function _define_property7(obj, key, value) {
|
|
|
1649
1576
|
}
|
|
1650
1577
|
return obj;
|
|
1651
1578
|
}
|
|
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 = {}));
|
|
1652
1687
|
var DataType;
|
|
1653
1688
|
(function(DataType2) {
|
|
1654
1689
|
DataType2["number"] = "number";
|
|
@@ -1669,15 +1704,6 @@ var SecondDataType;
|
|
|
1669
1704
|
SecondDataType2["time"] = "time";
|
|
1670
1705
|
SecondDataType2["multiValue"] = "multi_value";
|
|
1671
1706
|
})(SecondDataType || (SecondDataType = {}));
|
|
1672
|
-
var Aggregator;
|
|
1673
|
-
(function(Aggregator2) {
|
|
1674
|
-
Aggregator2["sum"] = "sum";
|
|
1675
|
-
Aggregator2["count"] = "count";
|
|
1676
|
-
Aggregator2["distinct-count"] = "distinct-count";
|
|
1677
|
-
Aggregator2["max"] = "max";
|
|
1678
|
-
Aggregator2["min"] = "min";
|
|
1679
|
-
Aggregator2["avg"] = "avg";
|
|
1680
|
-
})(Aggregator || (Aggregator = {}));
|
|
1681
1707
|
var CalendarTypeEnum;
|
|
1682
1708
|
(function(CalendarTypeEnum2) {
|
|
1683
1709
|
CalendarTypeEnum2["GregorianYear"] = "gregorian-year";
|
|
@@ -1717,36 +1743,6 @@ var MultiSeparator;
|
|
|
1717
1743
|
MultiSeparator2["semicolon"] = ";";
|
|
1718
1744
|
MultiSeparator2["space"] = " ";
|
|
1719
1745
|
})(MultiSeparator || (MultiSeparator = {}));
|
|
1720
|
-
var EmptyValueDisplayType;
|
|
1721
|
-
(function(EmptyValueDisplayType2) {
|
|
1722
|
-
EmptyValueDisplayType2["Hyphen"] = "hyphen";
|
|
1723
|
-
EmptyValueDisplayType2["Braces"] = "braces";
|
|
1724
|
-
EmptyValueDisplayType2["Null"] = "null";
|
|
1725
|
-
EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
|
|
1726
|
-
EmptyValueDisplayType2["Custom"] = "custom";
|
|
1727
|
-
})(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
|
|
1728
|
-
var CustomAreaType;
|
|
1729
|
-
(function(CustomAreaType2) {
|
|
1730
|
-
CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
|
|
1731
|
-
CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
|
|
1732
|
-
CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
|
|
1733
|
-
CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
|
|
1734
|
-
CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
|
|
1735
|
-
})(CustomAreaType || (CustomAreaType = {}));
|
|
1736
|
-
var PictureCoordinateType;
|
|
1737
|
-
(function(PictureCoordinateType2) {
|
|
1738
|
-
PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
|
|
1739
|
-
PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
|
|
1740
|
-
})(PictureCoordinateType || (PictureCoordinateType = {}));
|
|
1741
|
-
var FilterAttr = function FilterAttr2() {
|
|
1742
|
-
"use strict";
|
|
1743
|
-
_class_call_check6(this, FilterAttr2);
|
|
1744
|
-
_define_property7(this, "logicalOperator", void 0);
|
|
1745
|
-
_define_property7(this, "filterElements", []);
|
|
1746
|
-
_define_property7(this, "filters", []);
|
|
1747
|
-
_define_property7(this, "beforeJoin", void 0);
|
|
1748
|
-
_define_property7(this, "tableId", void 0);
|
|
1749
|
-
};
|
|
1750
1746
|
var ParamStyleType;
|
|
1751
1747
|
(function(ParamStyleType2) {
|
|
1752
1748
|
ParamStyleType2["condition"] = "condition";
|
|
@@ -1754,158 +1750,32 @@ var ParamStyleType;
|
|
|
1754
1750
|
ParamStyleType2["param"] = "param";
|
|
1755
1751
|
ParamStyleType2["accelerate"] = "accelerate";
|
|
1756
1752
|
})(ParamStyleType || (ParamStyleType = {}));
|
|
1757
|
-
var ParamDataType;
|
|
1758
|
-
(function(ParamDataType2) {
|
|
1759
|
-
ParamDataType2["string"] = "string";
|
|
1760
|
-
ParamDataType2["number"] = "number";
|
|
1761
|
-
ParamDataType2["dateTime"] = "datetime";
|
|
1762
|
-
ParamDataType2["dateRegion"] = "dateRegion";
|
|
1763
|
-
ParamDataType2["quarterRegion"] = "quarterRegion";
|
|
1764
|
-
ParamDataType2["monthRegion"] = "monthRegion";
|
|
1765
|
-
ParamDataType2["weekRegion"] = "weekRegion";
|
|
1766
|
-
ParamDataType2["yearRegion"] = "yearRegion";
|
|
1767
|
-
ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
|
|
1768
|
-
})(ParamDataType || (ParamDataType = {}));
|
|
1769
|
-
var CubeSchema = function CubeSchema2() {
|
|
1770
|
-
"use strict";
|
|
1771
|
-
_class_call_check6(this, CubeSchema2);
|
|
1772
|
-
_define_property7(this, "uniqueId", "");
|
|
1773
|
-
_define_property7(this, "cubeId", "");
|
|
1774
|
-
_define_property7(this, "datasourceId", "");
|
|
1775
|
-
_define_property7(this, "caption", "");
|
|
1776
|
-
_define_property7(this, "fields", []);
|
|
1777
|
-
_define_property7(this, "fieldTree", []);
|
|
1778
|
-
_define_property7(this, "filter", null);
|
|
1779
|
-
_define_property7(this, "params", []);
|
|
1780
|
-
_define_property7(this, "sqlPlaceholders", []);
|
|
1781
|
-
};
|
|
1782
|
-
|
|
1783
|
-
// src/basic/bi-types/src/cube/logical-schema.ts
|
|
1784
|
-
function _class_call_check7(instance, Constructor) {
|
|
1785
|
-
if (!(instance instanceof Constructor)) {
|
|
1786
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1787
|
-
}
|
|
1788
|
-
}
|
|
1789
|
-
function _define_property8(obj, key, value) {
|
|
1790
|
-
if (key in obj) {
|
|
1791
|
-
Object.defineProperty(obj, key, {
|
|
1792
|
-
value,
|
|
1793
|
-
enumerable: true,
|
|
1794
|
-
configurable: true,
|
|
1795
|
-
writable: true
|
|
1796
|
-
});
|
|
1797
|
-
} else {
|
|
1798
|
-
obj[key] = value;
|
|
1799
|
-
}
|
|
1800
|
-
return obj;
|
|
1801
|
-
}
|
|
1802
|
-
var LogicalTable = function LogicalTable2() {
|
|
1803
|
-
"use strict";
|
|
1804
|
-
_class_call_check7(this, LogicalTable2);
|
|
1805
|
-
_define_property8(this, "uniqueId", void 0);
|
|
1806
|
-
_define_property8(this, "caption", void 0);
|
|
1807
|
-
_define_property8(this, "physicalSchema", void 0);
|
|
1808
|
-
};
|
|
1809
|
-
var LogicalTree = function LogicalTree2() {
|
|
1810
|
-
"use strict";
|
|
1811
|
-
_class_call_check7(this, LogicalTree2);
|
|
1812
|
-
_define_property8(this, "uniqueId", void 0);
|
|
1813
|
-
_define_property8(this, "links", void 0);
|
|
1814
|
-
};
|
|
1815
|
-
var LogicalSchema = function LogicalSchema2() {
|
|
1816
|
-
"use strict";
|
|
1817
|
-
_class_call_check7(this, LogicalSchema2);
|
|
1818
|
-
_define_property8(this, "logicalNodes", []);
|
|
1819
|
-
_define_property8(this, "logicalTrees", []);
|
|
1820
|
-
};
|
|
1821
|
-
|
|
1822
|
-
// src/basic/bi-types/src/cube/cube-model.ts
|
|
1823
|
-
function _class_call_check8(instance, Constructor) {
|
|
1824
|
-
if (!(instance instanceof Constructor)) {
|
|
1825
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1826
|
-
}
|
|
1827
|
-
}
|
|
1828
|
-
function _defineProperties2(target, props) {
|
|
1829
|
-
for (var i = 0; i < props.length; i++) {
|
|
1830
|
-
var descriptor = props[i];
|
|
1831
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
1832
|
-
descriptor.configurable = true;
|
|
1833
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
1834
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1835
|
-
}
|
|
1836
|
-
}
|
|
1837
|
-
function _create_class2(Constructor, protoProps, staticProps) {
|
|
1838
|
-
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
1839
|
-
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
1840
|
-
return Constructor;
|
|
1841
|
-
}
|
|
1842
|
-
function _define_property9(obj, key, value) {
|
|
1843
|
-
if (key in obj) {
|
|
1844
|
-
Object.defineProperty(obj, key, {
|
|
1845
|
-
value,
|
|
1846
|
-
enumerable: true,
|
|
1847
|
-
configurable: true,
|
|
1848
|
-
writable: true
|
|
1849
|
-
});
|
|
1850
|
-
} else {
|
|
1851
|
-
obj[key] = value;
|
|
1852
|
-
}
|
|
1853
|
-
return obj;
|
|
1854
|
-
}
|
|
1855
|
-
var EditPermitType;
|
|
1856
|
-
(function(EditPermitType2) {
|
|
1857
|
-
EditPermitType2[EditPermitType2["private"] = 0] = "private";
|
|
1858
|
-
EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
|
|
1859
|
-
EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
|
|
1860
|
-
EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
|
|
1861
|
-
})(EditPermitType || (EditPermitType = {}));
|
|
1862
|
-
var UsePermitType;
|
|
1863
|
-
(function(UsePermitType2) {
|
|
1864
|
-
UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
|
|
1865
|
-
UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
|
|
1866
|
-
})(UsePermitType || (UsePermitType = {}));
|
|
1867
|
-
var SchemaExtraInfo = function SchemaExtraInfo2() {
|
|
1868
|
-
"use strict";
|
|
1869
|
-
_class_call_check8(this, SchemaExtraInfo2);
|
|
1870
|
-
_define_property9(this, "aimDirId", null);
|
|
1871
|
-
_define_property9(this, "hasAuthorizedUse", void 0);
|
|
1872
|
-
_define_property9(this, "permissionList", void 0);
|
|
1873
|
-
_define_property9(this, "dataLevelAttributeIds", []);
|
|
1874
|
-
_define_property9(this, "withoutColumnLevelPermissionFields", []);
|
|
1875
|
-
_define_property9(this, "aggFunctions", []);
|
|
1876
|
-
_define_property9(this, "isDataMaskOpen", void 0);
|
|
1877
|
-
_define_property9(this, "isOpenColumnLevelPermission", void 0);
|
|
1878
|
-
_define_property9(this, "isOpenRowLevelPermission", void 0);
|
|
1879
|
-
_define_property9(this, "dsCreateOrigin", void 0);
|
|
1880
|
-
_define_property9(this, "dataLoadMode", void 0);
|
|
1881
|
-
_define_property9(this, "etlGenerateCube", void 0);
|
|
1882
|
-
_define_property9(this, "cubeType", null);
|
|
1883
|
-
_define_property9(this, "creatorId", void 0);
|
|
1884
|
-
_define_property9(this, "creatorName", void 0);
|
|
1885
|
-
_define_property9(this, "authLevel", void 0);
|
|
1886
|
-
_define_property9(this, "comments", void 0);
|
|
1887
|
-
_define_property9(this, "authorizedUseType", void 0);
|
|
1888
|
-
_define_property9(this, "functionConfig", void 0);
|
|
1889
|
-
_define_property9(this, "gmtModified", void 0);
|
|
1890
|
-
};
|
|
1891
1753
|
var EmptyValueType;
|
|
1892
1754
|
(function(EmptyValueType2) {
|
|
1893
1755
|
EmptyValueType2["EmptyValue"] = "EmptyValue";
|
|
1894
1756
|
EmptyValueType2["EmptyString"] = "EmptyString";
|
|
1895
1757
|
})(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 = {}));
|
|
1896
1766
|
var EmptyStringOrNullDisplayConfig = function EmptyStringOrNullDisplayConfig2() {
|
|
1897
1767
|
"use strict";
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1768
|
+
_class_call_check6(this, EmptyStringOrNullDisplayConfig2);
|
|
1769
|
+
_define_property7(this, "formatType", "hyphen");
|
|
1770
|
+
_define_property7(this, "customFormat", void 0);
|
|
1771
|
+
_define_property7(this, "isAuto", true);
|
|
1902
1772
|
};
|
|
1903
1773
|
var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
1904
1774
|
"use strict";
|
|
1905
1775
|
function EmptyValueDisplayConfig2() {
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1776
|
+
_class_call_check6(this, EmptyValueDisplayConfig2);
|
|
1777
|
+
_define_property7(this, "emptyValueConfig", new EmptyStringOrNullDisplayConfig());
|
|
1778
|
+
_define_property7(this, "emptyStringConfig", new EmptyStringOrNullDisplayConfig());
|
|
1909
1779
|
}
|
|
1910
1780
|
_create_class2(EmptyValueDisplayConfig2, null, [
|
|
1911
1781
|
{
|
|
@@ -1913,12 +1783,12 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1913
1783
|
value: function getDefaultConfigForQuickReport() {
|
|
1914
1784
|
return {
|
|
1915
1785
|
emptyValueConfig: {
|
|
1916
|
-
formatType:
|
|
1786
|
+
formatType: "notDisplay",
|
|
1917
1787
|
customFormat: null,
|
|
1918
1788
|
isAuto: false
|
|
1919
1789
|
},
|
|
1920
1790
|
emptyStringConfig: {
|
|
1921
|
-
formatType:
|
|
1791
|
+
formatType: "notDisplay",
|
|
1922
1792
|
customFormat: null,
|
|
1923
1793
|
isAuto: false
|
|
1924
1794
|
}
|
|
@@ -1951,23 +1821,23 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1951
1821
|
if (!fieldSetting) {
|
|
1952
1822
|
return defaultValue !== null && defaultValue !== void 0 ? defaultValue : {
|
|
1953
1823
|
emptyValueConfig: {
|
|
1954
|
-
formatType:
|
|
1824
|
+
formatType: "hyphen",
|
|
1955
1825
|
customFormat: null
|
|
1956
1826
|
},
|
|
1957
1827
|
emptyStringConfig: {
|
|
1958
|
-
formatType:
|
|
1828
|
+
formatType: "hyphen",
|
|
1959
1829
|
customFormat: null
|
|
1960
1830
|
}
|
|
1961
1831
|
};
|
|
1962
1832
|
}
|
|
1963
1833
|
var _fieldSetting_emptyValueConfig, _ref;
|
|
1964
1834
|
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 : {
|
|
1965
|
-
formatType:
|
|
1835
|
+
formatType: "hyphen",
|
|
1966
1836
|
customFormat: null
|
|
1967
1837
|
};
|
|
1968
1838
|
var _fieldSetting_emptyStringConfig, _ref1;
|
|
1969
1839
|
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 : {
|
|
1970
|
-
formatType:
|
|
1840
|
+
formatType: "hyphen",
|
|
1971
1841
|
customFormat: null
|
|
1972
1842
|
};
|
|
1973
1843
|
return {
|
|
@@ -1980,6 +1850,41 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
|
|
|
1980
1850
|
]);
|
|
1981
1851
|
return EmptyValueDisplayConfig2;
|
|
1982
1852
|
}();
|
|
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 = {}));
|
|
1983
1888
|
var CellsetDimTypes;
|
|
1984
1889
|
(function(CellsetDimTypes2) {
|
|
1985
1890
|
CellsetDimTypes2["StandardDimension"] = "StandardDimension";
|
|
@@ -1988,14 +1893,15 @@ var CellsetDimTypes;
|
|
|
1988
1893
|
CellsetDimTypes2["GeographicDimension"] = "GeographicDimension";
|
|
1989
1894
|
CellsetDimTypes2["measureCol"] = "measureCol";
|
|
1990
1895
|
})(CellsetDimTypes || (CellsetDimTypes = {}));
|
|
1991
|
-
var
|
|
1896
|
+
var HintModal = function HintModal2() {
|
|
1992
1897
|
"use strict";
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1898
|
+
_class_call_check6(this, HintModal2);
|
|
1899
|
+
_define_property7(this, "dsType", void 0);
|
|
1900
|
+
_define_property7(this, "head", "set");
|
|
1901
|
+
_define_property7(this, "key", "");
|
|
1902
|
+
_define_property7(this, "connector", "=");
|
|
1903
|
+
_define_property7(this, "value", "");
|
|
1904
|
+
_define_property7(this, "support", true);
|
|
1999
1905
|
};
|
|
2000
1906
|
|
|
2001
1907
|
// src/basic/bi-types/src/cube/data-source.ts
|
|
@@ -2112,7 +2018,6 @@ var DsType;
|
|
|
2112
2018
|
DsType2["unicorn"] = "unicorn";
|
|
2113
2019
|
DsType2["dm"] = "dm";
|
|
2114
2020
|
DsType2["sls"] = "sls";
|
|
2115
|
-
DsType2["mysql_duckdb"] = "mysql_duckdb";
|
|
2116
2021
|
})(DsType || (DsType = {}));
|
|
2117
2022
|
var AcrossDsType;
|
|
2118
2023
|
(function(AcrossDsType2) {
|
|
@@ -2131,8 +2036,6 @@ var DataSourcePortValue;
|
|
|
2131
2036
|
DataSourcePortValue2["eight_two_four_two"] = "8242";
|
|
2132
2037
|
DataSourcePortValue2["three_three_zero_six_zero"] = "33060";
|
|
2133
2038
|
DataSourcePortValue2["three_zero_zero_six_zero"] = "30060";
|
|
2134
|
-
DataSourcePortValue2["three_three_zero_six"] = "33306";
|
|
2135
|
-
DataSourcePortValue2["one_zero_zero_zero_zero"] = "10000";
|
|
2136
2039
|
})(DataSourcePortValue || (DataSourcePortValue = {}));
|
|
2137
2040
|
var DataSourceSort;
|
|
2138
2041
|
(function(DataSourceSort2) {
|
|
@@ -2160,6 +2063,15 @@ var DataSourcesConfigId;
|
|
|
2160
2063
|
DataSourcesConfigId2["google"] = "google";
|
|
2161
2064
|
DataSourcesConfigId2["customDs"] = "customDs";
|
|
2162
2065
|
})(DataSourcesConfigId || (DataSourcesConfigId = {}));
|
|
2066
|
+
var dataBaseType = [
|
|
2067
|
+
"cloud",
|
|
2068
|
+
"local",
|
|
2069
|
+
"aws",
|
|
2070
|
+
"huawei",
|
|
2071
|
+
"tencent",
|
|
2072
|
+
"microsoft",
|
|
2073
|
+
"google"
|
|
2074
|
+
];
|
|
2163
2075
|
var SHEET_TABLE = [
|
|
2164
2076
|
"feishu_bitable",
|
|
2165
2077
|
"feishu_spreadsheet",
|
|
@@ -2167,59 +2079,36 @@ var SHEET_TABLE = [
|
|
|
2167
2079
|
"dingtalk_spreadsheet"
|
|
2168
2080
|
];
|
|
2169
2081
|
|
|
2170
|
-
// src/basic/bi-types/src/cube/
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
PhysicalTableType2["Sql"] = "sql";
|
|
2201
|
-
PhysicalTableType2["File"] = "file";
|
|
2202
|
-
})(PhysicalTableType || (PhysicalTableType = {}));
|
|
2203
|
-
var HintModal = function HintModal2() {
|
|
2204
|
-
"use strict";
|
|
2205
|
-
_class_call_check9(this, HintModal2);
|
|
2206
|
-
_define_property10(this, "dsType", void 0);
|
|
2207
|
-
_define_property10(this, "head", "set");
|
|
2208
|
-
_define_property10(this, "key", "");
|
|
2209
|
-
_define_property10(this, "connector", "=");
|
|
2210
|
-
_define_property10(this, "value", "");
|
|
2211
|
-
_define_property10(this, "support", true);
|
|
2212
|
-
};
|
|
2213
|
-
var PhysicalSchema = function PhysicalSchema2() {
|
|
2214
|
-
"use strict";
|
|
2215
|
-
_class_call_check9(this, PhysicalSchema2);
|
|
2216
|
-
_define_property10(this, "tables", []);
|
|
2217
|
-
_define_property10(this, "virtualTables", []);
|
|
2218
|
-
_define_property10(this, "unionTables", []);
|
|
2219
|
-
_define_property10(this, "links", []);
|
|
2220
|
-
_define_property10(this, "sqlHintTypes", []);
|
|
2221
|
-
_define_property10(this, "sqlHints", []);
|
|
2222
|
-
};
|
|
2082
|
+
// src/basic/bi-types/src/cube/cube-field-expression.ts
|
|
2083
|
+
var FieldExpressionType;
|
|
2084
|
+
(function(FieldExpressionType2) {
|
|
2085
|
+
FieldExpressionType2["dataGroup"] = "dataGroup";
|
|
2086
|
+
FieldExpressionType2["udf"] = "udf";
|
|
2087
|
+
FieldExpressionType2["system"] = "system";
|
|
2088
|
+
FieldExpressionType2["tool"] = "tool";
|
|
2089
|
+
})(FieldExpressionType || (FieldExpressionType = {}));
|
|
2090
|
+
var ToolFieldType;
|
|
2091
|
+
(function(ToolFieldType2) {
|
|
2092
|
+
ToolFieldType2["DateDifference"] = "dateDifference";
|
|
2093
|
+
ToolFieldType2["MissingValueReplacement"] = "missingValueReplacement";
|
|
2094
|
+
ToolFieldType2["ValueReplacement"] = "valueReplacement";
|
|
2095
|
+
ToolFieldType2["SplitField"] = "SplitField";
|
|
2096
|
+
ToolFieldType2["MergeField"] = "mergeField";
|
|
2097
|
+
})(ToolFieldType || (ToolFieldType = {}));
|
|
2098
|
+
var GroupType;
|
|
2099
|
+
(function(GroupType2) {
|
|
2100
|
+
GroupType2["NormalGroup"] = "NormalGroup";
|
|
2101
|
+
GroupType2["ListGroup"] = "ListGroup";
|
|
2102
|
+
GroupType2["CustomizedGroup"] = "CustomizedGroup";
|
|
2103
|
+
})(GroupType || (GroupType = {}));
|
|
2104
|
+
var GroupOperator;
|
|
2105
|
+
(function(GroupOperator2) {
|
|
2106
|
+
GroupOperator2["LessThan"] = "lessThan";
|
|
2107
|
+
GroupOperator2["LessThanOrEqualTo"] = "lessThanOrEqualTo";
|
|
2108
|
+
GroupOperator2["GreaterThan"] = "greaterThan";
|
|
2109
|
+
GroupOperator2["GreaterThanOrEqualTo"] = "greaterThanOrEqualTo";
|
|
2110
|
+
GroupOperator2["IsNull"] = "isNull";
|
|
2111
|
+
})(GroupOperator || (GroupOperator = {}));
|
|
2223
2112
|
|
|
2224
2113
|
// src/basic/bi-types/src/open/menus/menu-props.ts
|
|
2225
2114
|
var CustomMenuMode;
|
|
@@ -2299,17 +2188,13 @@ var RouteKey;
|
|
|
2299
2188
|
RouteKey2["orgAdminSmartQ"] = "orgAdminSmartQ";
|
|
2300
2189
|
RouteKey2["orgAdminSmartQGlobalConfig"] = "orgAdminSmartQGlobalConfig";
|
|
2301
2190
|
RouteKey2["orgAdminSmartQGlobalConfigLlmConfig"] = "orgAdminSmartQGlobalConfigLlmConfig";
|
|
2302
|
-
RouteKey2["orgAdminSmartQGlobalConfigAIConfig"] = "orgAdminSmartQGlobalConfigAIConfig";
|
|
2303
2191
|
RouteKey2["orgAdminSmartQGlobalConfigAgentManage"] = "orgAdminSmartQGlobalConfigAgentManage";
|
|
2304
|
-
RouteKey2["
|
|
2192
|
+
RouteKey2["orgAdminSmartQGlobalThemeSetting"] = "orgAdminSmartQGlobalThemeSetting";
|
|
2305
2193
|
RouteKey2["orgAdminCopilot"] = "orgAdminCopilot";
|
|
2306
2194
|
RouteKey2["orgAdminCopilotQueryAgent"] = "orgAdminCopilotQueryAgent";
|
|
2307
2195
|
RouteKey2["orgQueryAgentAnalysisThemeManage"] = "orgQueryAgentAnalysisThemeManage";
|
|
2308
2196
|
RouteKey2["orgQueryAgentAnalysisThemeAuth"] = "orgQueryAgentAnalysisThemeAuth";
|
|
2309
2197
|
RouteKey2["orgQueryAgentKnowledgeBaseManage"] = "orgQueryAgentKnowledgeBaseManage";
|
|
2310
|
-
RouteKey2["orgQueryAgentGlobalConfig"] = "orgQueryAgentGlobalConfig";
|
|
2311
|
-
RouteKey2["likeAndDislikeKnowledge"] = "likeAndDislikeKnowledge";
|
|
2312
|
-
RouteKey2["orgQueryAgentAssetPlatformConfig"] = "orgQueryAgentAssetPlatformConfig";
|
|
2313
2198
|
RouteKey2["orgResourceManage"] = "orgResourceManage";
|
|
2314
2199
|
RouteKey2["orgAnalysisThemeManage"] = "orgAnalysisThemeManage";
|
|
2315
2200
|
RouteKey2["orgDashboardQuestionManage"] = "orgDashboardQuestionManage";
|
|
@@ -2372,10 +2257,8 @@ var RouteKey;
|
|
|
2372
2257
|
RouteKey2["dataServiceDebug"] = "dataServiceDebug";
|
|
2373
2258
|
RouteKey2["dataServiceCount"] = "dataServiceCount";
|
|
2374
2259
|
RouteKey2["embedChannel"] = "embedChannel";
|
|
2375
|
-
RouteKey2["customManage"] = "componentManage";
|
|
2376
2260
|
RouteKey2["customComponent"] = "customComponent";
|
|
2377
2261
|
RouteKey2["customMenu"] = "customMenu";
|
|
2378
|
-
RouteKey2["customPage"] = "customPage";
|
|
2379
2262
|
RouteKey2["customTemplate"] = "customTemplate";
|
|
2380
2263
|
RouteKey2["customConnect"] = "customConnect";
|
|
2381
2264
|
RouteKey2["customPlugin"] = "customPlugin";
|
|
@@ -2393,7 +2276,6 @@ var RouteKey;
|
|
|
2393
2276
|
RouteKey2["view"] = "view";
|
|
2394
2277
|
RouteKey2["viewHome"] = "viewHome";
|
|
2395
2278
|
RouteKey2["viewBoard"] = "viewBoard";
|
|
2396
|
-
RouteKey2["viewExploration"] = "viewExploration";
|
|
2397
2279
|
RouteKey2["viewFavorite"] = "viewFavorite";
|
|
2398
2280
|
RouteKey2["viewRecent"] = "viewRecent";
|
|
2399
2281
|
RouteKey2["viewShared"] = "viewShared";
|
|
@@ -2411,6 +2293,8 @@ var RouteKey;
|
|
|
2411
2293
|
RouteKey2["copilotPageQInsight"] = "copilotPageQInsight";
|
|
2412
2294
|
RouteKey2["copilotPageQReport"] = "copilotPageQReport";
|
|
2413
2295
|
RouteKey2["copilotPageQDashboard"] = "copilotPageQDashboard";
|
|
2296
|
+
RouteKey2["copilotPageSearch"] = "copilotPageSearch";
|
|
2297
|
+
RouteKey2["copilotPageMore"] = "copilotPageMore";
|
|
2414
2298
|
RouteKey2["copilotPageAgentList"] = "copilotPageAgentList";
|
|
2415
2299
|
RouteKey2["copilotPageAgent"] = "copilotPageAgent";
|
|
2416
2300
|
RouteKey2["embedModule"] = "embedModule";
|
|
@@ -2483,9 +2367,6 @@ var RouteKey;
|
|
|
2483
2367
|
RouteKey2["downloadEdit"] = "downloadEdit";
|
|
2484
2368
|
RouteKey2["downloadView"] = "downloadView";
|
|
2485
2369
|
RouteKey2["downloadPublicView"] = "downloadPublicView";
|
|
2486
|
-
RouteKey2["explorationRoot"] = "explorationRoot";
|
|
2487
|
-
RouteKey2["explorationEdit"] = "explorationEdit";
|
|
2488
|
-
RouteKey2["explorationView"] = "explorationView";
|
|
2489
2370
|
RouteKey2["analysisRoot"] = "analysisRoot";
|
|
2490
2371
|
RouteKey2["analysisEdit"] = "analysisEdit";
|
|
2491
2372
|
RouteKey2["analysisView"] = "analysisView";
|
|
@@ -2582,7 +2463,7 @@ function _array_like_to_array(arr, len) {
|
|
|
2582
2463
|
function _array_with_holes(arr) {
|
|
2583
2464
|
if (Array.isArray(arr)) return arr;
|
|
2584
2465
|
}
|
|
2585
|
-
function
|
|
2466
|
+
function _define_property8(obj, key, value) {
|
|
2586
2467
|
if (key in obj) {
|
|
2587
2468
|
Object.defineProperty(obj, key, {
|
|
2588
2469
|
value,
|
|
@@ -2632,7 +2513,7 @@ function _object_spread(target) {
|
|
|
2632
2513
|
}));
|
|
2633
2514
|
}
|
|
2634
2515
|
ownKeys2.forEach(function(key) {
|
|
2635
|
-
|
|
2516
|
+
_define_property8(target, key, source[key]);
|
|
2636
2517
|
});
|
|
2637
2518
|
}
|
|
2638
2519
|
return target;
|
|
@@ -2929,14 +2810,9 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2929
2810
|
path: "/org/admin/smartQ/globalConfig/llmConfig"
|
|
2930
2811
|
},
|
|
2931
2812
|
{
|
|
2932
|
-
/** 智能小 Q - 通用配置 -
|
|
2933
|
-
key: RouteKey.
|
|
2934
|
-
path: "/org/admin/smartQ/globalConfig/
|
|
2935
|
-
},
|
|
2936
|
-
{
|
|
2937
|
-
/** 智能小 Q - 通用配置 - 大模型配置 */
|
|
2938
|
-
key: RouteKey.orgAdminSmartQGlobalConfigKnowledgeManage,
|
|
2939
|
-
path: "/org/admin/smartQ/globalConfig/knowledgeManage"
|
|
2813
|
+
/** 智能小 Q - 通用配置 - 主题定制 */
|
|
2814
|
+
key: RouteKey.orgAdminSmartQGlobalThemeSetting,
|
|
2815
|
+
path: "/org/admin/smartQ/globalConfig/themeSetting"
|
|
2940
2816
|
}
|
|
2941
2817
|
]
|
|
2942
2818
|
},
|
|
@@ -2995,18 +2871,6 @@ var ROUTE_TREE_CONFIG = {
|
|
|
2995
2871
|
{
|
|
2996
2872
|
key: RouteKey.orgQueryAgentKnowledgeBaseManage,
|
|
2997
2873
|
path: "/org/admin/copilot/queryAgent/orgKnowledgeBaseManage"
|
|
2998
|
-
},
|
|
2999
|
-
{
|
|
3000
|
-
key: RouteKey.orgQueryAgentGlobalConfig,
|
|
3001
|
-
path: "/org/admin/copilot/queryAgent/globalConfig"
|
|
3002
|
-
},
|
|
3003
|
-
{
|
|
3004
|
-
key: RouteKey.likeAndDislikeKnowledge,
|
|
3005
|
-
path: "/org/admin/copilot/queryAgent/likeAndDislikeKnowledge"
|
|
3006
|
-
},
|
|
3007
|
-
{
|
|
3008
|
-
key: RouteKey.orgQueryAgentAssetPlatformConfig,
|
|
3009
|
-
path: "/org/admin/copilot/queryAgent/assetPlatformConfig"
|
|
3010
2874
|
}
|
|
3011
2875
|
]
|
|
3012
2876
|
},
|
|
@@ -3255,22 +3119,12 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3255
3119
|
path: "/openservice/embedChannel"
|
|
3256
3120
|
},
|
|
3257
3121
|
{
|
|
3258
|
-
key: RouteKey.
|
|
3259
|
-
path: "/openservice/componentManage"
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
},
|
|
3265
|
-
{
|
|
3266
|
-
key: RouteKey.customMenu,
|
|
3267
|
-
path: "/openservice/componentManage/customMenu"
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
key: RouteKey.customPage,
|
|
3271
|
-
path: "/openservice/componentManage/customPage"
|
|
3272
|
-
}
|
|
3273
|
-
]
|
|
3122
|
+
key: RouteKey.customComponent,
|
|
3123
|
+
path: "/openservice/componentManage"
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
key: RouteKey.customMenu,
|
|
3127
|
+
path: "/openservice/componentMenu"
|
|
3274
3128
|
},
|
|
3275
3129
|
{
|
|
3276
3130
|
key: RouteKey.customTemplate,
|
|
@@ -3350,10 +3204,6 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3350
3204
|
key: RouteKey.viewBoard,
|
|
3351
3205
|
path: "/view/card"
|
|
3352
3206
|
},
|
|
3353
|
-
{
|
|
3354
|
-
key: RouteKey.viewExploration,
|
|
3355
|
-
path: "/view/exploration"
|
|
3356
|
-
},
|
|
3357
3207
|
{
|
|
3358
3208
|
key: RouteKey.viewFavorite,
|
|
3359
3209
|
path: "/view/favorite"
|
|
@@ -3746,21 +3596,6 @@ var ROUTE_TREE_CONFIG = {
|
|
|
3746
3596
|
}
|
|
3747
3597
|
]
|
|
3748
3598
|
},
|
|
3749
|
-
/** 探索分析 */
|
|
3750
|
-
{
|
|
3751
|
-
key: RouteKey.explorationRoot,
|
|
3752
|
-
path: "/exploration",
|
|
3753
|
-
children: [
|
|
3754
|
-
{
|
|
3755
|
-
key: RouteKey.explorationEdit,
|
|
3756
|
-
path: "/exploration/pc.htm"
|
|
3757
|
-
},
|
|
3758
|
-
{
|
|
3759
|
-
key: RouteKey.explorationView,
|
|
3760
|
-
path: "/exploration/view/pc.htm"
|
|
3761
|
-
}
|
|
3762
|
-
]
|
|
3763
|
-
},
|
|
3764
3599
|
/** 即席分析 */
|
|
3765
3600
|
{
|
|
3766
3601
|
key: RouteKey.analysisRoot,
|
|
@@ -4262,5 +4097,4 @@ var PermissionPageType;
|
|
|
4262
4097
|
PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
|
|
4263
4098
|
PermissionPageType2["resourceConfig"] = "resourceConfig";
|
|
4264
4099
|
PermissionPageType2["qReport"] = "qreport";
|
|
4265
|
-
PermissionPageType2["exploration"] = "exploration";
|
|
4266
4100
|
})(PermissionPageType || (PermissionPageType = {}));
|