@quickbi/bi-types 3.2.5 → 3.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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) {
@@ -315,6 +318,8 @@ var FieldConfigTypes;
315
318
  FieldConfigTypes2["hideField"] = "hideField";
316
319
  FieldConfigTypes2["auxiliaryField"] = "auxiliaryField";
317
320
  FieldConfigTypes2["emptyValueDisplay"] = "emptyValueDisplay";
321
+ FieldConfigTypes2["drillSwitch"] = "drillSwitch";
322
+ FieldConfigTypes2["drillConfig"] = "drillConfig";
318
323
  })(FieldConfigTypes || (FieldConfigTypes = {}));
319
324
  var Aggregators;
320
325
  (function(Aggregators2) {
@@ -322,6 +327,7 @@ var Aggregators;
322
327
  Aggregators2["avg"] = "avg";
323
328
  Aggregators2["count"] = "count";
324
329
  Aggregators2["countd"] = "countd";
330
+ Aggregators2["approx_distinct"] = "approx_distinct";
325
331
  Aggregators2["null"] = "null";
326
332
  Aggregators2["more"] = "more";
327
333
  Aggregators2["max"] = "max";
@@ -368,6 +374,7 @@ var AdvanceCalcDateTypes;
368
374
  var NumberFormats;
369
375
  (function(NumberFormats2) {
370
376
  NumberFormats2["auto"] = "auto";
377
+ NumberFormats2["general"] = "general";
371
378
  NumberFormats2["int"] = "int";
372
379
  NumberFormats2["oneDecimal"] = "oneDecimal";
373
380
  NumberFormats2["twoDecimal"] = "twoDecimal";
@@ -499,6 +506,7 @@ var DataSchemaAreaItem = function DataSchemaAreaItem2() {
499
506
  _define_property3(this, "namePrefixIcon", void 0);
500
507
  _define_property3(this, "nameSuffix", void 0);
501
508
  _define_property3(this, "chartStatus", void 0);
509
+ _define_property3(this, "geomType", void 0);
502
510
  _define_property3(this, "chartStatusExclude", void 0);
503
511
  _define_property3(this, "stackedSortType", void 0);
504
512
  _define_property3(this, "isMultiMeasureWithColorLegend", void 0);
@@ -562,7 +570,11 @@ var DropDownMenuType = {
562
570
  /** 时间补齐 */
563
571
  timeCompletion: "timeCompletion",
564
572
  /** 空值展示配置 */
565
- emptyValueDisplay: "emptyValueDisplay"
573
+ emptyValueDisplay: "emptyValueDisplay",
574
+ /** 钻取开关(开启下钻/取消下钻) */
575
+ drillSwitch: "drillSwitch",
576
+ /** 钻取层级配置 */
577
+ drillConfig: "drillConfig"
566
578
  };
567
579
 
568
580
  // src/basic/bi-types/src/data-panel/data-schema.ts
@@ -809,6 +821,15 @@ var ComponentType;
809
821
  ComponentType2[ComponentType2["UNSTRUCTURED_HIERARCHICAL"] = 128] = "UNSTRUCTURED_HIERARCHICAL";
810
822
  ComponentType2[ComponentType2["UNSTRUCTURED_FREQUENCY"] = 129] = "UNSTRUCTURED_FREQUENCY";
811
823
  ComponentType2[ComponentType2["SMART_INTERPRETATION"] = 130] = "SMART_INTERPRETATION";
824
+ ComponentType2[ComponentType2["EXPLORATION_SMART_CHART"] = 131] = "EXPLORATION_SMART_CHART";
825
+ ComponentType2[ComponentType2["QUICK_REPORT_AI_TRANSLATE"] = 132] = "QUICK_REPORT_AI_TRANSLATE";
826
+ ComponentType2[ComponentType2["QUICK_REPORT_AI_CLASSIFY"] = 133] = "QUICK_REPORT_AI_CLASSIFY";
827
+ ComponentType2[ComponentType2["QUICK_REPORT_AI_CUSTOM"] = 134] = "QUICK_REPORT_AI_CUSTOM";
828
+ ComponentType2[ComponentType2["QUICK_REPORT_AI_EXTRACT"] = 135] = "QUICK_REPORT_AI_EXTRACT";
829
+ ComponentType2[ComponentType2["QUICK_REPORT_AI_SUMMARIZE"] = 136] = "QUICK_REPORT_AI_SUMMARIZE";
830
+ ComponentType2[ComponentType2["ANALYTICAL_METRIC_NODE"] = 137] = "ANALYTICAL_METRIC_NODE";
831
+ ComponentType2[ComponentType2["ANALYTICAL_TEXT_NODE"] = 138] = "ANALYTICAL_TEXT_NODE";
832
+ ComponentType2[ComponentType2["INSIGHT_ANALYTICAL"] = 139] = "INSIGHT_ANALYTICAL";
812
833
  })(ComponentType || (ComponentType = {}));
813
834
  var _obj;
814
835
  var ScreenComponentCode = (_obj = {}, _define_property5(_obj, "custom_component", 0), /** 图层组 */
@@ -968,6 +989,7 @@ var ChartType;
968
989
  ChartType2["CONCAT_CONTAINER"] = "concat-container";
969
990
  ChartType2["INDICATOR_RELATION"] = "indicator-relation";
970
991
  ChartType2["SMART_INTERPRETATION"] = "smart-interpretation";
992
+ ChartType2["EXPLORATION_SMART_CHART"] = "exploration-smart-chart";
971
993
  ChartType2["UNSTRUCTURED_PARALLEL"] = "parallel";
972
994
  ChartType2["UNSTRUCTURED_CONTRAST"] = "contrast";
973
995
  ChartType2["UNSTRUCTURED_TIMELINE"] = "timeline";
@@ -984,6 +1006,11 @@ var ChartType;
984
1006
  ChartType2["QUICK_REPORT_FORM_CHECKBOX"] = "quick-report-form-checkbox";
985
1007
  ChartType2["QUICK_REPORT_FORM_FUNCTION"] = "quick-report-form-function";
986
1008
  ChartType2["QUICK_REPORT"] = "quick-report";
1009
+ ChartType2["QUICK_REPORT_AI_TRANSLATE"] = "quick-report-ai-translate";
1010
+ ChartType2["QUICK_REPORT_AI_CLASSIFY"] = "quick-report-ai-classify";
1011
+ ChartType2["QUICK_REPORT_AI_CUSTOM"] = "quick-report-ai-custom";
1012
+ ChartType2["QUICK_REPORT_AI_EXTRACT"] = "quick-report-ai-extract";
1013
+ ChartType2["QUICK_REPORT_AI_SUMMARIZE"] = "quick-report-ai-summarize";
987
1014
  ChartType2["DATAFORM_TEXT"] = "dataform-text";
988
1015
  ChartType2["DATAFORM_TEXTAREA"] = "dataform-textarea";
989
1016
  ChartType2["DATAFORM_DROPDOWN"] = "dataform-dropdown";
@@ -1006,6 +1033,8 @@ var ChartType;
1006
1033
  ChartType2["DATAFORM_USER_SELECT_SINGLE"] = "dataform-user-select-single";
1007
1034
  ChartType2["DATAFORM_USER_SELECT_MULTI"] = "dataform-user-select-multi";
1008
1035
  ChartType2["DATAFORM_SUBMIT_USER"] = "dataform-submit-user";
1036
+ ChartType2["ANALYTICAL_METRIC_NODE"] = "analytical-metric-node";
1037
+ ChartType2["ANALYTICAL_TEXT_NODE"] = "analytical-text-node";
1009
1038
  })(ChartType || (ChartType = {}));
1010
1039
 
1011
1040
  // src/basic/bi-types/src/cross-table.ts
@@ -1253,9 +1282,17 @@ var NegativeMode;
1253
1282
  NegativeMode2["negative"] = "0";
1254
1283
  NegativeMode2["bracket"] = "1";
1255
1284
  })(NegativeMode || (NegativeMode = {}));
1285
+ var FormatType;
1286
+ (function(FormatType2) {
1287
+ FormatType2[FormatType2["Number"] = 0] = "Number";
1288
+ FormatType2[FormatType2["Percent"] = 1] = "Percent";
1289
+ FormatType2[FormatType2["Custom"] = 2] = "Custom";
1290
+ FormatType2[FormatType2["Auto"] = 3] = "Auto";
1291
+ })(FormatType || (FormatType = {}));
1256
1292
  var SelectType;
1257
1293
  (function(SelectType2) {
1258
1294
  SelectType2["auto"] = "auto";
1295
+ SelectType2["general"] = "general";
1259
1296
  SelectType2["int"] = "int";
1260
1297
  SelectType2["oneDecimal"] = "oneDecimal";
1261
1298
  SelectType2["twoDecimal"] = "twoDecimal";
@@ -1306,6 +1343,11 @@ var LegendUnHighLightedValue;
1306
1343
  LegendUnHighLightedValue2["default"] = "-";
1307
1344
  LegendUnHighLightedValue2["empty"] = "";
1308
1345
  })(LegendUnHighLightedValue || (LegendUnHighLightedValue = {}));
1346
+ var LegendDisplayPercentPositionValue;
1347
+ (function(LegendDisplayPercentPositionValue2) {
1348
+ LegendDisplayPercentPositionValue2["Bottom"] = "bottom";
1349
+ LegendDisplayPercentPositionValue2["Right"] = "right";
1350
+ })(LegendDisplayPercentPositionValue || (LegendDisplayPercentPositionValue = {}));
1309
1351
  var ConstastTypeMap = {
1310
1352
  dateRegion: [
1311
1353
  "DAY_DAY_RING_RATIO",
@@ -1387,26 +1429,69 @@ var Env;
1387
1429
  Env2["mobile"] = "mobile";
1388
1430
  })(Env || (Env = {}));
1389
1431
 
1390
- // src/basic/bi-types/src/cube/cube-model.ts
1432
+ // src/basic/bi-types/src/cube/cube-field-expression.ts
1433
+ var FieldExpressionType;
1434
+ (function(FieldExpressionType2) {
1435
+ FieldExpressionType2["dataGroup"] = "dataGroup";
1436
+ FieldExpressionType2["udf"] = "udf";
1437
+ FieldExpressionType2["system"] = "system";
1438
+ FieldExpressionType2["tool"] = "tool";
1439
+ })(FieldExpressionType || (FieldExpressionType = {}));
1440
+ var ToolFieldType;
1441
+ (function(ToolFieldType2) {
1442
+ ToolFieldType2["DateDifference"] = "dateDifference";
1443
+ ToolFieldType2["MissingValueReplacement"] = "missingValueReplacement";
1444
+ ToolFieldType2["ValueReplacement"] = "valueReplacement";
1445
+ ToolFieldType2["SplitField"] = "SplitField";
1446
+ ToolFieldType2["MergeField"] = "mergeField";
1447
+ })(ToolFieldType || (ToolFieldType = {}));
1448
+ var GroupType;
1449
+ (function(GroupType2) {
1450
+ GroupType2["NormalGroup"] = "NormalGroup";
1451
+ GroupType2["ListGroup"] = "ListGroup";
1452
+ GroupType2["CustomizedGroup"] = "CustomizedGroup";
1453
+ })(GroupType || (GroupType = {}));
1454
+ var GroupOperator;
1455
+ (function(GroupOperator2) {
1456
+ GroupOperator2["LessThan"] = "lessThan";
1457
+ GroupOperator2["LessThanOrEqualTo"] = "lessThanOrEqualTo";
1458
+ GroupOperator2["GreaterThan"] = "greaterThan";
1459
+ GroupOperator2["GreaterThanOrEqualTo"] = "greaterThanOrEqualTo";
1460
+ GroupOperator2["IsNull"] = "isNull";
1461
+ GroupOperator2["Between"] = "between";
1462
+ })(GroupOperator || (GroupOperator = {}));
1463
+
1464
+ // src/basic/bi-types/src/cube/cube-links.ts
1465
+ var JoinCondition;
1466
+ (function(JoinCondition2) {
1467
+ JoinCondition2["EQUAL_TO"] = "equal-to";
1468
+ JoinCondition2["UNEQUAL_TO"] = "unequal-to";
1469
+ JoinCondition2["GREATER_THAN"] = "greater-than";
1470
+ JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
1471
+ JoinCondition2["LESS_THAN"] = "less-than";
1472
+ JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
1473
+ })(JoinCondition || (JoinCondition = {}));
1474
+ var TableRelation;
1475
+ (function(TableRelation2) {
1476
+ TableRelation2["ONE_TO_ONE"] = "one-to-one";
1477
+ TableRelation2["MANY_TO_MANY"] = "many-to-many";
1478
+ TableRelation2["ONE_TO_MANY"] = "one-to-many";
1479
+ TableRelation2["MANY_TO_ONE"] = "many-to-one";
1480
+ })(TableRelation || (TableRelation = {}));
1481
+ var ReferentialIntegrity;
1482
+ (function(ReferentialIntegrity2) {
1483
+ ReferentialIntegrity2["ALL_TO_ALL"] = "all-to-all";
1484
+ ReferentialIntegrity2["ALL_TO_SOME"] = "all-to-some";
1485
+ ReferentialIntegrity2["SOME_TO_ALL"] = "some-to-all";
1486
+ ReferentialIntegrity2["SOME_TO_SOME"] = "some-to-some";
1487
+ })(ReferentialIntegrity || (ReferentialIntegrity = {}));
1488
+
1489
+ // src/basic/bi-types/src/cube/cube-schema.ts
1391
1490
  function _class_call_check6(instance, Constructor) {
1392
1491
  if (!(instance instanceof Constructor)) {
1393
1492
  throw new TypeError("Cannot call a class as a function");
1394
1493
  }
1395
1494
  }
1396
- function _defineProperties2(target, props) {
1397
- for (var i = 0; i < props.length; i++) {
1398
- var descriptor = props[i];
1399
- descriptor.enumerable = descriptor.enumerable || false;
1400
- descriptor.configurable = true;
1401
- if ("value" in descriptor) descriptor.writable = true;
1402
- Object.defineProperty(target, descriptor.key, descriptor);
1403
- }
1404
- }
1405
- function _create_class2(Constructor, protoProps, staticProps) {
1406
- if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
1407
- if (staticProps) _defineProperties2(Constructor, staticProps);
1408
- return Constructor;
1409
- }
1410
1495
  function _define_property7(obj, key, value) {
1411
1496
  if (key in obj) {
1412
1497
  Object.defineProperty(obj, key, {
@@ -1420,114 +1505,6 @@ function _define_property7(obj, key, value) {
1420
1505
  }
1421
1506
  return obj;
1422
1507
  }
1423
- var CustomAreaType;
1424
- (function(CustomAreaType2) {
1425
- CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
1426
- CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
1427
- CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
1428
- CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
1429
- CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
1430
- })(CustomAreaType || (CustomAreaType = {}));
1431
- var PictureCoordinateType;
1432
- (function(PictureCoordinateType2) {
1433
- PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
1434
- PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
1435
- })(PictureCoordinateType || (PictureCoordinateType = {}));
1436
- var PhysicalTableType;
1437
- (function(PhysicalTableType2) {
1438
- PhysicalTableType2["Table"] = "table";
1439
- PhysicalTableType2["Sql"] = "sql";
1440
- PhysicalTableType2["File"] = "file";
1441
- })(PhysicalTableType || (PhysicalTableType = {}));
1442
- var PhysicalSchema = function PhysicalSchema2() {
1443
- "use strict";
1444
- _class_call_check6(this, PhysicalSchema2);
1445
- _define_property7(this, "tables", []);
1446
- _define_property7(this, "virtualTables", []);
1447
- _define_property7(this, "unionTables", []);
1448
- _define_property7(this, "links", []);
1449
- _define_property7(this, "sqlHintTypes", []);
1450
- _define_property7(this, "sqlHints", []);
1451
- };
1452
- var CubeSchema = function CubeSchema2() {
1453
- "use strict";
1454
- _class_call_check6(this, CubeSchema2);
1455
- _define_property7(this, "uniqueId", "");
1456
- _define_property7(this, "cubeId", "");
1457
- _define_property7(this, "datasourceId", "");
1458
- _define_property7(this, "caption", "");
1459
- _define_property7(this, "fields", []);
1460
- _define_property7(this, "fieldTree", []);
1461
- _define_property7(this, "filter", null);
1462
- _define_property7(this, "params", []);
1463
- _define_property7(this, "sqlPlaceholders", []);
1464
- };
1465
- var EditPermitType;
1466
- (function(EditPermitType2) {
1467
- EditPermitType2[EditPermitType2["private"] = 0] = "private";
1468
- EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
1469
- EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
1470
- EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
1471
- })(EditPermitType || (EditPermitType = {}));
1472
- var UsePermitType;
1473
- (function(UsePermitType2) {
1474
- UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
1475
- UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
1476
- })(UsePermitType || (UsePermitType = {}));
1477
- var SchemaExtraInfo = function SchemaExtraInfo2() {
1478
- "use strict";
1479
- _class_call_check6(this, SchemaExtraInfo2);
1480
- _define_property7(this, "aimDirId", null);
1481
- _define_property7(this, "hasAuthorizedUse", void 0);
1482
- _define_property7(this, "permissionList", void 0);
1483
- _define_property7(this, "dataLevelAttributeIds", []);
1484
- _define_property7(this, "withoutColumnLevelPermissionFields", []);
1485
- _define_property7(this, "aggFunctions", []);
1486
- _define_property7(this, "isDataMaskOpen", void 0);
1487
- _define_property7(this, "isOpenColumnLevelPermission", void 0);
1488
- _define_property7(this, "isOpenRowLevelPermission", void 0);
1489
- _define_property7(this, "dsCreateOrigin", void 0);
1490
- _define_property7(this, "dataLoadMode", void 0);
1491
- _define_property7(this, "etlGenerateCube", void 0);
1492
- _define_property7(this, "cubeType", null);
1493
- _define_property7(this, "creatorId", void 0);
1494
- _define_property7(this, "creatorName", void 0);
1495
- _define_property7(this, "authLevel", void 0);
1496
- _define_property7(this, "comments", void 0);
1497
- _define_property7(this, "authorizedUseType", void 0);
1498
- _define_property7(this, "functionConfig", void 0);
1499
- _define_property7(this, "gmtModified", void 0);
1500
- };
1501
- var CubeModel = function CubeModel2() {
1502
- "use strict";
1503
- _class_call_check6(this, CubeModel2);
1504
- _define_property7(this, "physicalSchema", new PhysicalSchema());
1505
- _define_property7(this, "cubeSchema", new CubeSchema());
1506
- _define_property7(this, "metaModelVersion", "2.0");
1507
- _define_property7(this, "userDefineVersion", "5.0.1");
1508
- _define_property7(this, "schemaExtraInfo", new SchemaExtraInfo());
1509
- };
1510
- var TableJoinType;
1511
- (function(TableJoinType2) {
1512
- TableJoinType2["LEFT_OUTER_JOIN"] = "LEFT_OUTER_JOIN";
1513
- TableJoinType2["INNER_JOIN"] = "INNER_JOIN";
1514
- TableJoinType2["RIGHT_OUTER_JOIN"] = "RIGHT_OUTER_JOIN";
1515
- TableJoinType2["FULL_OUTER_JOIN"] = "FULL_OUTER_JOIN";
1516
- TableJoinType2["JOIN_ERROR"] = "JOIN_ERROR";
1517
- })(TableJoinType || (TableJoinType = {}));
1518
- var TableRelation;
1519
- (function(TableRelation2) {
1520
- TableRelation2["MANY_TO_ONE"] = "many-to-one";
1521
- })(TableRelation || (TableRelation = {}));
1522
- var JoinCondition;
1523
- (function(JoinCondition2) {
1524
- JoinCondition2["EQUAL_TO"] = "equal-to";
1525
- JoinCondition2["UNEQUAL_TO"] = "unequal-to";
1526
- JoinCondition2["GREATER_THAN"] = "greater-than";
1527
- JoinCondition2["GREATER_THAN_OR_EQUAL_TO"] = "greater-than-or-equal-to";
1528
- JoinCondition2["LESS_THAN"] = "less-than";
1529
- JoinCondition2["LESS_THAN_OR_EQUAL_TO"] = "less-than-or-equal-to";
1530
- })(JoinCondition || (JoinCondition = {}));
1531
1508
  var DataType;
1532
1509
  (function(DataType2) {
1533
1510
  DataType2["number"] = "number";
@@ -1548,6 +1525,15 @@ var SecondDataType;
1548
1525
  SecondDataType2["time"] = "time";
1549
1526
  SecondDataType2["multiValue"] = "multi_value";
1550
1527
  })(SecondDataType || (SecondDataType = {}));
1528
+ var Aggregator;
1529
+ (function(Aggregator2) {
1530
+ Aggregator2["sum"] = "sum";
1531
+ Aggregator2["count"] = "count";
1532
+ Aggregator2["distinct-count"] = "distinct-count";
1533
+ Aggregator2["max"] = "max";
1534
+ Aggregator2["min"] = "min";
1535
+ Aggregator2["avg"] = "avg";
1536
+ })(Aggregator || (Aggregator = {}));
1551
1537
  var CalendarTypeEnum;
1552
1538
  (function(CalendarTypeEnum2) {
1553
1539
  CalendarTypeEnum2["GregorianYear"] = "gregorian-year";
@@ -1587,6 +1573,36 @@ var MultiSeparator;
1587
1573
  MultiSeparator2["semicolon"] = ";";
1588
1574
  MultiSeparator2["space"] = " ";
1589
1575
  })(MultiSeparator || (MultiSeparator = {}));
1576
+ var EmptyValueDisplayType;
1577
+ (function(EmptyValueDisplayType2) {
1578
+ EmptyValueDisplayType2["Hyphen"] = "hyphen";
1579
+ EmptyValueDisplayType2["Braces"] = "braces";
1580
+ EmptyValueDisplayType2["Null"] = "null";
1581
+ EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
1582
+ EmptyValueDisplayType2["Custom"] = "custom";
1583
+ })(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
1584
+ var CustomAreaType;
1585
+ (function(CustomAreaType2) {
1586
+ CustomAreaType2["CUSTOM_AREA"] = "CUSTOM_AREA";
1587
+ CustomAreaType2["CUSTOM_GIS"] = "CUSTOM_GIS";
1588
+ CustomAreaType2["CUSTOM_GEOJSON"] = "CUSTOM_GEOJSON";
1589
+ CustomAreaType2["CUSTOM_TREE"] = "CUSTOM_TREE";
1590
+ CustomAreaType2["CUSTOM_PICTURE"] = "CUSTOM_PICTURE";
1591
+ })(CustomAreaType || (CustomAreaType = {}));
1592
+ var PictureCoordinateType;
1593
+ (function(PictureCoordinateType2) {
1594
+ PictureCoordinateType2["HORIZONTAL"] = "CUSTOM_PICTURE_HORIZONTAL";
1595
+ PictureCoordinateType2["VERTICAL"] = "CUSTOM_PICTURE_VERTICAL";
1596
+ })(PictureCoordinateType || (PictureCoordinateType = {}));
1597
+ var FilterAttr = function FilterAttr2() {
1598
+ "use strict";
1599
+ _class_call_check6(this, FilterAttr2);
1600
+ _define_property7(this, "logicalOperator", void 0);
1601
+ _define_property7(this, "filterElements", []);
1602
+ _define_property7(this, "filters", []);
1603
+ _define_property7(this, "beforeJoin", void 0);
1604
+ _define_property7(this, "tableId", void 0);
1605
+ };
1590
1606
  var ParamStyleType;
1591
1607
  (function(ParamStyleType2) {
1592
1608
  ParamStyleType2["condition"] = "condition";
@@ -1594,32 +1610,158 @@ var ParamStyleType;
1594
1610
  ParamStyleType2["param"] = "param";
1595
1611
  ParamStyleType2["accelerate"] = "accelerate";
1596
1612
  })(ParamStyleType || (ParamStyleType = {}));
1613
+ var ParamDataType;
1614
+ (function(ParamDataType2) {
1615
+ ParamDataType2["string"] = "string";
1616
+ ParamDataType2["number"] = "number";
1617
+ ParamDataType2["dateTime"] = "datetime";
1618
+ ParamDataType2["dateRegion"] = "dateRegion";
1619
+ ParamDataType2["quarterRegion"] = "quarterRegion";
1620
+ ParamDataType2["monthRegion"] = "monthRegion";
1621
+ ParamDataType2["weekRegion"] = "weekRegion";
1622
+ ParamDataType2["yearRegion"] = "yearRegion";
1623
+ ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
1624
+ })(ParamDataType || (ParamDataType = {}));
1625
+ var CubeSchema = function CubeSchema2() {
1626
+ "use strict";
1627
+ _class_call_check6(this, CubeSchema2);
1628
+ _define_property7(this, "uniqueId", "");
1629
+ _define_property7(this, "cubeId", "");
1630
+ _define_property7(this, "datasourceId", "");
1631
+ _define_property7(this, "caption", "");
1632
+ _define_property7(this, "fields", []);
1633
+ _define_property7(this, "fieldTree", []);
1634
+ _define_property7(this, "filter", null);
1635
+ _define_property7(this, "params", []);
1636
+ _define_property7(this, "sqlPlaceholders", []);
1637
+ };
1638
+
1639
+ // src/basic/bi-types/src/cube/logical-schema.ts
1640
+ function _class_call_check7(instance, Constructor) {
1641
+ if (!(instance instanceof Constructor)) {
1642
+ throw new TypeError("Cannot call a class as a function");
1643
+ }
1644
+ }
1645
+ function _define_property8(obj, key, value) {
1646
+ if (key in obj) {
1647
+ Object.defineProperty(obj, key, {
1648
+ value,
1649
+ enumerable: true,
1650
+ configurable: true,
1651
+ writable: true
1652
+ });
1653
+ } else {
1654
+ obj[key] = value;
1655
+ }
1656
+ return obj;
1657
+ }
1658
+ var LogicalTable = function LogicalTable2() {
1659
+ "use strict";
1660
+ _class_call_check7(this, LogicalTable2);
1661
+ _define_property8(this, "uniqueId", void 0);
1662
+ _define_property8(this, "caption", void 0);
1663
+ _define_property8(this, "physicalSchema", void 0);
1664
+ };
1665
+ var LogicalTree = function LogicalTree2() {
1666
+ "use strict";
1667
+ _class_call_check7(this, LogicalTree2);
1668
+ _define_property8(this, "uniqueId", void 0);
1669
+ _define_property8(this, "links", void 0);
1670
+ };
1671
+ var LogicalSchema = function LogicalSchema2() {
1672
+ "use strict";
1673
+ _class_call_check7(this, LogicalSchema2);
1674
+ _define_property8(this, "logicalNodes", []);
1675
+ _define_property8(this, "logicalTrees", []);
1676
+ };
1677
+
1678
+ // src/basic/bi-types/src/cube/cube-model.ts
1679
+ function _class_call_check8(instance, Constructor) {
1680
+ if (!(instance instanceof Constructor)) {
1681
+ throw new TypeError("Cannot call a class as a function");
1682
+ }
1683
+ }
1684
+ function _defineProperties2(target, props) {
1685
+ for (var i = 0; i < props.length; i++) {
1686
+ var descriptor = props[i];
1687
+ descriptor.enumerable = descriptor.enumerable || false;
1688
+ descriptor.configurable = true;
1689
+ if ("value" in descriptor) descriptor.writable = true;
1690
+ Object.defineProperty(target, descriptor.key, descriptor);
1691
+ }
1692
+ }
1693
+ function _create_class2(Constructor, protoProps, staticProps) {
1694
+ if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
1695
+ if (staticProps) _defineProperties2(Constructor, staticProps);
1696
+ return Constructor;
1697
+ }
1698
+ function _define_property9(obj, key, value) {
1699
+ if (key in obj) {
1700
+ Object.defineProperty(obj, key, {
1701
+ value,
1702
+ enumerable: true,
1703
+ configurable: true,
1704
+ writable: true
1705
+ });
1706
+ } else {
1707
+ obj[key] = value;
1708
+ }
1709
+ return obj;
1710
+ }
1711
+ var EditPermitType;
1712
+ (function(EditPermitType2) {
1713
+ EditPermitType2[EditPermitType2["private"] = 0] = "private";
1714
+ EditPermitType2[EditPermitType2["oldWorkSpaceMember"] = 1] = "oldWorkSpaceMember";
1715
+ EditPermitType2[EditPermitType2["appointPerson"] = 12] = "appointPerson";
1716
+ EditPermitType2[EditPermitType2["allWorkSpacePerson"] = 11] = "allWorkSpacePerson";
1717
+ })(EditPermitType || (EditPermitType = {}));
1718
+ var UsePermitType;
1719
+ (function(UsePermitType2) {
1720
+ UsePermitType2[UsePermitType2["appointPerson"] = 2] = "appointPerson";
1721
+ UsePermitType2[UsePermitType2["allWorkSpacePerson"] = 1] = "allWorkSpacePerson";
1722
+ })(UsePermitType || (UsePermitType = {}));
1723
+ var SchemaExtraInfo = function SchemaExtraInfo2() {
1724
+ "use strict";
1725
+ _class_call_check8(this, SchemaExtraInfo2);
1726
+ _define_property9(this, "aimDirId", null);
1727
+ _define_property9(this, "hasAuthorizedUse", void 0);
1728
+ _define_property9(this, "permissionList", void 0);
1729
+ _define_property9(this, "dataLevelAttributeIds", []);
1730
+ _define_property9(this, "withoutColumnLevelPermissionFields", []);
1731
+ _define_property9(this, "aggFunctions", []);
1732
+ _define_property9(this, "isDataMaskOpen", void 0);
1733
+ _define_property9(this, "isOpenColumnLevelPermission", void 0);
1734
+ _define_property9(this, "isOpenRowLevelPermission", void 0);
1735
+ _define_property9(this, "dsCreateOrigin", void 0);
1736
+ _define_property9(this, "dataLoadMode", void 0);
1737
+ _define_property9(this, "etlGenerateCube", void 0);
1738
+ _define_property9(this, "cubeType", null);
1739
+ _define_property9(this, "creatorId", void 0);
1740
+ _define_property9(this, "creatorName", void 0);
1741
+ _define_property9(this, "authLevel", void 0);
1742
+ _define_property9(this, "comments", void 0);
1743
+ _define_property9(this, "authorizedUseType", void 0);
1744
+ _define_property9(this, "functionConfig", void 0);
1745
+ _define_property9(this, "gmtModified", void 0);
1746
+ };
1597
1747
  var EmptyValueType;
1598
1748
  (function(EmptyValueType2) {
1599
1749
  EmptyValueType2["EmptyValue"] = "EmptyValue";
1600
1750
  EmptyValueType2["EmptyString"] = "EmptyString";
1601
1751
  })(EmptyValueType || (EmptyValueType = {}));
1602
- var EmptyValueDisplayType;
1603
- (function(EmptyValueDisplayType2) {
1604
- EmptyValueDisplayType2["Hyphen"] = "hyphen";
1605
- EmptyValueDisplayType2["Braces"] = "braces";
1606
- EmptyValueDisplayType2["Null"] = "null";
1607
- EmptyValueDisplayType2["NotDisplay"] = "notDisplay";
1608
- EmptyValueDisplayType2["Custom"] = "custom";
1609
- })(EmptyValueDisplayType || (EmptyValueDisplayType = {}));
1610
1752
  var EmptyStringOrNullDisplayConfig = function EmptyStringOrNullDisplayConfig2() {
1611
1753
  "use strict";
1612
- _class_call_check6(this, EmptyStringOrNullDisplayConfig2);
1613
- _define_property7(this, "formatType", "hyphen");
1614
- _define_property7(this, "customFormat", void 0);
1615
- _define_property7(this, "isAuto", true);
1754
+ _class_call_check8(this, EmptyStringOrNullDisplayConfig2);
1755
+ _define_property9(this, "formatType", EmptyValueDisplayType.Hyphen);
1756
+ _define_property9(this, "customFormat", void 0);
1757
+ _define_property9(this, "isAuto", true);
1616
1758
  };
1617
1759
  var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
1618
1760
  "use strict";
1619
1761
  function EmptyValueDisplayConfig2() {
1620
- _class_call_check6(this, EmptyValueDisplayConfig2);
1621
- _define_property7(this, "emptyValueConfig", new EmptyStringOrNullDisplayConfig());
1622
- _define_property7(this, "emptyStringConfig", new EmptyStringOrNullDisplayConfig());
1762
+ _class_call_check8(this, EmptyValueDisplayConfig2);
1763
+ _define_property9(this, "emptyValueConfig", new EmptyStringOrNullDisplayConfig());
1764
+ _define_property9(this, "emptyStringConfig", new EmptyStringOrNullDisplayConfig());
1623
1765
  }
1624
1766
  _create_class2(EmptyValueDisplayConfig2, null, [
1625
1767
  {
@@ -1627,12 +1769,12 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
1627
1769
  value: function getDefaultConfigForQuickReport() {
1628
1770
  return {
1629
1771
  emptyValueConfig: {
1630
- formatType: "notDisplay",
1772
+ formatType: EmptyValueDisplayType.NotDisplay,
1631
1773
  customFormat: null,
1632
1774
  isAuto: false
1633
1775
  },
1634
1776
  emptyStringConfig: {
1635
- formatType: "notDisplay",
1777
+ formatType: EmptyValueDisplayType.NotDisplay,
1636
1778
  customFormat: null,
1637
1779
  isAuto: false
1638
1780
  }
@@ -1665,23 +1807,23 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
1665
1807
  if (!fieldSetting) {
1666
1808
  return defaultValue !== null && defaultValue !== void 0 ? defaultValue : {
1667
1809
  emptyValueConfig: {
1668
- formatType: "hyphen",
1810
+ formatType: EmptyValueDisplayType.Hyphen,
1669
1811
  customFormat: null
1670
1812
  },
1671
1813
  emptyStringConfig: {
1672
- formatType: "hyphen",
1814
+ formatType: EmptyValueDisplayType.Hyphen,
1673
1815
  customFormat: null
1674
1816
  }
1675
1817
  };
1676
1818
  }
1677
1819
  var _fieldSetting_emptyValueConfig, _ref;
1678
1820
  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 : {
1679
- formatType: "hyphen",
1821
+ formatType: EmptyValueDisplayType.Hyphen,
1680
1822
  customFormat: null
1681
1823
  };
1682
1824
  var _fieldSetting_emptyStringConfig, _ref1;
1683
1825
  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 : {
1684
- formatType: "hyphen",
1826
+ formatType: EmptyValueDisplayType.Hyphen,
1685
1827
  customFormat: null
1686
1828
  };
1687
1829
  return {
@@ -1694,41 +1836,6 @@ var EmptyValueDisplayConfig = /* @__PURE__ */ function() {
1694
1836
  ]);
1695
1837
  return EmptyValueDisplayConfig2;
1696
1838
  }();
1697
- var Aggregator;
1698
- (function(Aggregator2) {
1699
- Aggregator2["sum"] = "sum";
1700
- Aggregator2["count"] = "count";
1701
- Aggregator2["distinct-count"] = "distinct-count";
1702
- Aggregator2["max"] = "max";
1703
- Aggregator2["min"] = "min";
1704
- Aggregator2["avg"] = "avg";
1705
- })(Aggregator || (Aggregator = {}));
1706
- var FilterAttr = function FilterAttr2() {
1707
- "use strict";
1708
- _class_call_check6(this, FilterAttr2);
1709
- _define_property7(this, "logicalOperator", void 0);
1710
- _define_property7(this, "filterElements", []);
1711
- _define_property7(this, "filters", []);
1712
- _define_property7(this, "beforeJoin", void 0);
1713
- _define_property7(this, "tableId", void 0);
1714
- };
1715
- var OriginDateType;
1716
- (function(OriginDateType2) {
1717
- OriginDateType2["SingleDate"] = "singleDate";
1718
- OriginDateType2["DateRange"] = "dateRange";
1719
- })(OriginDateType || (OriginDateType = {}));
1720
- var ParamDataType;
1721
- (function(ParamDataType2) {
1722
- ParamDataType2["string"] = "string";
1723
- ParamDataType2["number"] = "number";
1724
- ParamDataType2["dateTime"] = "datetime";
1725
- ParamDataType2["dateRegion"] = "dateRegion";
1726
- ParamDataType2["quarterRegion"] = "quarterRegion";
1727
- ParamDataType2["monthRegion"] = "monthRegion";
1728
- ParamDataType2["weekRegion"] = "weekRegion";
1729
- ParamDataType2["yearRegion"] = "yearRegion";
1730
- ParamDataType2["ymdHmsRegion"] = "ymdHmsRegion";
1731
- })(ParamDataType || (ParamDataType = {}));
1732
1839
  var CellsetDimTypes;
1733
1840
  (function(CellsetDimTypes2) {
1734
1841
  CellsetDimTypes2["StandardDimension"] = "StandardDimension";
@@ -1737,15 +1844,14 @@ var CellsetDimTypes;
1737
1844
  CellsetDimTypes2["GeographicDimension"] = "GeographicDimension";
1738
1845
  CellsetDimTypes2["measureCol"] = "measureCol";
1739
1846
  })(CellsetDimTypes || (CellsetDimTypes = {}));
1740
- var HintModal = function HintModal2() {
1847
+ var CubeModel = function CubeModel2() {
1741
1848
  "use strict";
1742
- _class_call_check6(this, HintModal2);
1743
- _define_property7(this, "dsType", void 0);
1744
- _define_property7(this, "head", "set");
1745
- _define_property7(this, "key", "");
1746
- _define_property7(this, "connector", "=");
1747
- _define_property7(this, "value", "");
1748
- _define_property7(this, "support", true);
1849
+ _class_call_check8(this, CubeModel2);
1850
+ _define_property9(this, "logicalSchema", new LogicalSchema());
1851
+ _define_property9(this, "cubeSchema", new CubeSchema());
1852
+ _define_property9(this, "metaModelVersion", "2.0");
1853
+ _define_property9(this, "userDefineVersion", "5.0.1");
1854
+ _define_property9(this, "schemaExtraInfo", new SchemaExtraInfo());
1749
1855
  };
1750
1856
 
1751
1857
  // src/basic/bi-types/src/cube/data-source.ts
@@ -1862,6 +1968,7 @@ var DsType;
1862
1968
  DsType2["unicorn"] = "unicorn";
1863
1969
  DsType2["dm"] = "dm";
1864
1970
  DsType2["sls"] = "sls";
1971
+ DsType2["mysql_duckdb"] = "mysql_duckdb";
1865
1972
  })(DsType || (DsType = {}));
1866
1973
  var AcrossDsType;
1867
1974
  (function(AcrossDsType2) {
@@ -1880,6 +1987,8 @@ var DataSourcePortValue;
1880
1987
  DataSourcePortValue2["eight_two_four_two"] = "8242";
1881
1988
  DataSourcePortValue2["three_three_zero_six_zero"] = "33060";
1882
1989
  DataSourcePortValue2["three_zero_zero_six_zero"] = "30060";
1990
+ DataSourcePortValue2["three_three_zero_six"] = "33306";
1991
+ DataSourcePortValue2["one_zero_zero_zero_zero"] = "10000";
1883
1992
  })(DataSourcePortValue || (DataSourcePortValue = {}));
1884
1993
  var DataSourceSort;
1885
1994
  (function(DataSourceSort2) {
@@ -1907,15 +2016,6 @@ var DataSourcesConfigId;
1907
2016
  DataSourcesConfigId2["google"] = "google";
1908
2017
  DataSourcesConfigId2["customDs"] = "customDs";
1909
2018
  })(DataSourcesConfigId || (DataSourcesConfigId = {}));
1910
- var dataBaseType = [
1911
- "cloud",
1912
- "local",
1913
- "aws",
1914
- "huawei",
1915
- "tencent",
1916
- "microsoft",
1917
- "google"
1918
- ];
1919
2019
  var SHEET_TABLE = [
1920
2020
  "feishu_bitable",
1921
2021
  "feishu_spreadsheet",
@@ -1923,36 +2023,59 @@ var SHEET_TABLE = [
1923
2023
  "dingtalk_spreadsheet"
1924
2024
  ];
1925
2025
 
1926
- // src/basic/bi-types/src/cube/cube-field-expression.ts
1927
- var FieldExpressionType;
1928
- (function(FieldExpressionType2) {
1929
- FieldExpressionType2["dataGroup"] = "dataGroup";
1930
- FieldExpressionType2["udf"] = "udf";
1931
- FieldExpressionType2["system"] = "system";
1932
- FieldExpressionType2["tool"] = "tool";
1933
- })(FieldExpressionType || (FieldExpressionType = {}));
1934
- var ToolFieldType;
1935
- (function(ToolFieldType2) {
1936
- ToolFieldType2["DateDifference"] = "dateDifference";
1937
- ToolFieldType2["MissingValueReplacement"] = "missingValueReplacement";
1938
- ToolFieldType2["ValueReplacement"] = "valueReplacement";
1939
- ToolFieldType2["SplitField"] = "SplitField";
1940
- ToolFieldType2["MergeField"] = "mergeField";
1941
- })(ToolFieldType || (ToolFieldType = {}));
1942
- var GroupType;
1943
- (function(GroupType2) {
1944
- GroupType2["NormalGroup"] = "NormalGroup";
1945
- GroupType2["ListGroup"] = "ListGroup";
1946
- GroupType2["CustomizedGroup"] = "CustomizedGroup";
1947
- })(GroupType || (GroupType = {}));
1948
- var GroupOperator;
1949
- (function(GroupOperator2) {
1950
- GroupOperator2["LessThan"] = "lessThan";
1951
- GroupOperator2["LessThanOrEqualTo"] = "lessThanOrEqualTo";
1952
- GroupOperator2["GreaterThan"] = "greaterThan";
1953
- GroupOperator2["GreaterThanOrEqualTo"] = "greaterThanOrEqualTo";
1954
- GroupOperator2["IsNull"] = "isNull";
1955
- })(GroupOperator || (GroupOperator = {}));
2026
+ // src/basic/bi-types/src/cube/physical-schema.ts
2027
+ function _class_call_check9(instance, Constructor) {
2028
+ if (!(instance instanceof Constructor)) {
2029
+ throw new TypeError("Cannot call a class as a function");
2030
+ }
2031
+ }
2032
+ function _define_property10(obj, key, value) {
2033
+ if (key in obj) {
2034
+ Object.defineProperty(obj, key, {
2035
+ value,
2036
+ enumerable: true,
2037
+ configurable: true,
2038
+ writable: true
2039
+ });
2040
+ } else {
2041
+ obj[key] = value;
2042
+ }
2043
+ return obj;
2044
+ }
2045
+ var TableJoinType;
2046
+ (function(TableJoinType2) {
2047
+ TableJoinType2["LEFT_OUTER_JOIN"] = "LEFT_OUTER_JOIN";
2048
+ TableJoinType2["INNER_JOIN"] = "INNER_JOIN";
2049
+ TableJoinType2["RIGHT_OUTER_JOIN"] = "RIGHT_OUTER_JOIN";
2050
+ TableJoinType2["FULL_OUTER_JOIN"] = "FULL_OUTER_JOIN";
2051
+ TableJoinType2["JOIN_ERROR"] = "JOIN_ERROR";
2052
+ })(TableJoinType || (TableJoinType = {}));
2053
+ var PhysicalTableType;
2054
+ (function(PhysicalTableType2) {
2055
+ PhysicalTableType2["Table"] = "table";
2056
+ PhysicalTableType2["Sql"] = "sql";
2057
+ PhysicalTableType2["File"] = "file";
2058
+ })(PhysicalTableType || (PhysicalTableType = {}));
2059
+ var HintModal = function HintModal2() {
2060
+ "use strict";
2061
+ _class_call_check9(this, HintModal2);
2062
+ _define_property10(this, "dsType", void 0);
2063
+ _define_property10(this, "head", "set");
2064
+ _define_property10(this, "key", "");
2065
+ _define_property10(this, "connector", "=");
2066
+ _define_property10(this, "value", "");
2067
+ _define_property10(this, "support", true);
2068
+ };
2069
+ var PhysicalSchema = function PhysicalSchema2() {
2070
+ "use strict";
2071
+ _class_call_check9(this, PhysicalSchema2);
2072
+ _define_property10(this, "tables", []);
2073
+ _define_property10(this, "virtualTables", []);
2074
+ _define_property10(this, "unionTables", []);
2075
+ _define_property10(this, "links", []);
2076
+ _define_property10(this, "sqlHintTypes", []);
2077
+ _define_property10(this, "sqlHints", []);
2078
+ };
1956
2079
 
1957
2080
  // src/basic/bi-types/src/open/menus/menu-props.ts
1958
2081
  var CustomMenuMode;
@@ -2032,13 +2155,17 @@ var RouteKey;
2032
2155
  RouteKey2["orgAdminSmartQ"] = "orgAdminSmartQ";
2033
2156
  RouteKey2["orgAdminSmartQGlobalConfig"] = "orgAdminSmartQGlobalConfig";
2034
2157
  RouteKey2["orgAdminSmartQGlobalConfigLlmConfig"] = "orgAdminSmartQGlobalConfigLlmConfig";
2158
+ RouteKey2["orgAdminSmartQGlobalConfigAIConfig"] = "orgAdminSmartQGlobalConfigAIConfig";
2035
2159
  RouteKey2["orgAdminSmartQGlobalConfigAgentManage"] = "orgAdminSmartQGlobalConfigAgentManage";
2036
- RouteKey2["orgAdminSmartQGlobalThemeSetting"] = "orgAdminSmartQGlobalThemeSetting";
2160
+ RouteKey2["orgAdminSmartQGlobalConfigKnowledgeManage"] = "orgAdminSmartQGlobalConfigKnowledgeManage";
2037
2161
  RouteKey2["orgAdminCopilot"] = "orgAdminCopilot";
2038
2162
  RouteKey2["orgAdminCopilotQueryAgent"] = "orgAdminCopilotQueryAgent";
2039
2163
  RouteKey2["orgQueryAgentAnalysisThemeManage"] = "orgQueryAgentAnalysisThemeManage";
2040
2164
  RouteKey2["orgQueryAgentAnalysisThemeAuth"] = "orgQueryAgentAnalysisThemeAuth";
2041
2165
  RouteKey2["orgQueryAgentKnowledgeBaseManage"] = "orgQueryAgentKnowledgeBaseManage";
2166
+ RouteKey2["orgQueryAgentGlobalConfig"] = "orgQueryAgentGlobalConfig";
2167
+ RouteKey2["likeAndDislikeKnowledge"] = "likeAndDislikeKnowledge";
2168
+ RouteKey2["orgQueryAgentAssetPlatformConfig"] = "orgQueryAgentAssetPlatformConfig";
2042
2169
  RouteKey2["orgResourceManage"] = "orgResourceManage";
2043
2170
  RouteKey2["orgAnalysisThemeManage"] = "orgAnalysisThemeManage";
2044
2171
  RouteKey2["orgDashboardQuestionManage"] = "orgDashboardQuestionManage";
@@ -2101,8 +2228,10 @@ var RouteKey;
2101
2228
  RouteKey2["dataServiceDebug"] = "dataServiceDebug";
2102
2229
  RouteKey2["dataServiceCount"] = "dataServiceCount";
2103
2230
  RouteKey2["embedChannel"] = "embedChannel";
2231
+ RouteKey2["customManage"] = "componentManage";
2104
2232
  RouteKey2["customComponent"] = "customComponent";
2105
2233
  RouteKey2["customMenu"] = "customMenu";
2234
+ RouteKey2["customPage"] = "customPage";
2106
2235
  RouteKey2["customTemplate"] = "customTemplate";
2107
2236
  RouteKey2["customConnect"] = "customConnect";
2108
2237
  RouteKey2["customPlugin"] = "customPlugin";
@@ -2120,6 +2249,7 @@ var RouteKey;
2120
2249
  RouteKey2["view"] = "view";
2121
2250
  RouteKey2["viewHome"] = "viewHome";
2122
2251
  RouteKey2["viewBoard"] = "viewBoard";
2252
+ RouteKey2["viewExploration"] = "viewExploration";
2123
2253
  RouteKey2["viewFavorite"] = "viewFavorite";
2124
2254
  RouteKey2["viewRecent"] = "viewRecent";
2125
2255
  RouteKey2["viewShared"] = "viewShared";
@@ -2135,10 +2265,9 @@ var RouteKey;
2135
2265
  RouteKey2["copilotPageQChatCube"] = "copilotPageQChatCube";
2136
2266
  RouteKey2["copilotPageQChatDatasource"] = "copilotPageQChatDatasource";
2137
2267
  RouteKey2["copilotPageQInsight"] = "copilotPageQInsight";
2268
+ RouteKey2["copilotPageQMetric"] = "copilotPageQMetric";
2138
2269
  RouteKey2["copilotPageQReport"] = "copilotPageQReport";
2139
2270
  RouteKey2["copilotPageQDashboard"] = "copilotPageQDashboard";
2140
- RouteKey2["copilotPageSearch"] = "copilotPageSearch";
2141
- RouteKey2["copilotPageMore"] = "copilotPageMore";
2142
2271
  RouteKey2["copilotPageAgentList"] = "copilotPageAgentList";
2143
2272
  RouteKey2["copilotPageAgent"] = "copilotPageAgent";
2144
2273
  RouteKey2["embedModule"] = "embedModule";
@@ -2211,6 +2340,9 @@ var RouteKey;
2211
2340
  RouteKey2["downloadEdit"] = "downloadEdit";
2212
2341
  RouteKey2["downloadView"] = "downloadView";
2213
2342
  RouteKey2["downloadPublicView"] = "downloadPublicView";
2343
+ RouteKey2["explorationRoot"] = "explorationRoot";
2344
+ RouteKey2["explorationEdit"] = "explorationEdit";
2345
+ RouteKey2["explorationView"] = "explorationView";
2214
2346
  RouteKey2["analysisRoot"] = "analysisRoot";
2215
2347
  RouteKey2["analysisEdit"] = "analysisEdit";
2216
2348
  RouteKey2["analysisView"] = "analysisView";
@@ -2285,6 +2417,7 @@ var RouteKey;
2285
2417
  RouteKey2["loginMicro"] = "loginMicro";
2286
2418
  RouteKey2["monitorScreenshot"] = "monitorScreenshot";
2287
2419
  RouteKey2["dingDoc"] = "dingDoc";
2420
+ RouteKey2["aiExperience"] = "aiExperience";
2288
2421
  RouteKey2["wordAgentRoot"] = "wordAgentRoot";
2289
2422
  RouteKey2["wordAgentEdit"] = "wordAgentEdit";
2290
2423
  RouteKey2["wordAgentView"] = "wordAgentView";
@@ -2296,6 +2429,13 @@ var RouteKey;
2296
2429
  RouteKey2["dashboardScreenEdit"] = "dashboardScreenEdit";
2297
2430
  RouteKey2["dashboardScreenView"] = "dashboardScreenView";
2298
2431
  RouteKey2["dashboardScreenPublicView"] = "dashboardScreenPublicView";
2432
+ RouteKey2["businessInsightList"] = "businessInsightList";
2433
+ RouteKey2["metricInsightList"] = "metricInsightList";
2434
+ RouteKey2["metricTreeRoot"] = "metricTreeRoot";
2435
+ RouteKey2["businessInsightsEdit"] = "businessInsightsEdit";
2436
+ RouteKey2["businessInsightsView"] = "businessInsightsView";
2437
+ RouteKey2["metricInsightsEdit"] = "metricInsightsEdit";
2438
+ RouteKey2["metricInsightsView"] = "metricInsightsView";
2299
2439
  })(RouteKey || (RouteKey = {}));
2300
2440
 
2301
2441
  // src/basic/bi-types/src/router/route-tree.ts
@@ -2307,7 +2447,7 @@ function _array_like_to_array(arr, len) {
2307
2447
  function _array_with_holes(arr) {
2308
2448
  if (Array.isArray(arr)) return arr;
2309
2449
  }
2310
- function _define_property8(obj, key, value) {
2450
+ function _define_property11(obj, key, value) {
2311
2451
  if (key in obj) {
2312
2452
  Object.defineProperty(obj, key, {
2313
2453
  value,
@@ -2357,7 +2497,7 @@ function _object_spread(target) {
2357
2497
  }));
2358
2498
  }
2359
2499
  ownKeys2.forEach(function(key) {
2360
- _define_property8(target, key, source[key]);
2500
+ _define_property11(target, key, source[key]);
2361
2501
  });
2362
2502
  }
2363
2503
  return target;
@@ -2654,9 +2794,14 @@ var ROUTE_TREE_CONFIG = {
2654
2794
  path: "/org/admin/smartQ/globalConfig/llmConfig"
2655
2795
  },
2656
2796
  {
2657
- /** 智能小 Q - 通用配置 - 主题定制 */
2658
- key: RouteKey.orgAdminSmartQGlobalThemeSetting,
2659
- path: "/org/admin/smartQ/globalConfig/themeSetting"
2797
+ /** 智能小 Q - 通用配置 - AI功能管理 */
2798
+ key: RouteKey.orgAdminSmartQGlobalConfigAIConfig,
2799
+ path: "/org/admin/smartQ/globalConfig/aiConfig"
2800
+ },
2801
+ {
2802
+ /** 智能小 Q - 通用配置 - 大模型配置 */
2803
+ key: RouteKey.orgAdminSmartQGlobalConfigKnowledgeManage,
2804
+ path: "/org/admin/smartQ/globalConfig/knowledgeManage"
2660
2805
  }
2661
2806
  ]
2662
2807
  },
@@ -2715,6 +2860,18 @@ var ROUTE_TREE_CONFIG = {
2715
2860
  {
2716
2861
  key: RouteKey.orgQueryAgentKnowledgeBaseManage,
2717
2862
  path: "/org/admin/copilot/queryAgent/orgKnowledgeBaseManage"
2863
+ },
2864
+ {
2865
+ key: RouteKey.orgQueryAgentGlobalConfig,
2866
+ path: "/org/admin/copilot/queryAgent/globalConfig"
2867
+ },
2868
+ {
2869
+ key: RouteKey.likeAndDislikeKnowledge,
2870
+ path: "/org/admin/copilot/queryAgent/likeAndDislikeKnowledge"
2871
+ },
2872
+ {
2873
+ key: RouteKey.orgQueryAgentAssetPlatformConfig,
2874
+ path: "/org/admin/copilot/queryAgent/assetPlatformConfig"
2718
2875
  }
2719
2876
  ]
2720
2877
  },
@@ -2963,12 +3120,22 @@ var ROUTE_TREE_CONFIG = {
2963
3120
  path: "/openservice/embedChannel"
2964
3121
  },
2965
3122
  {
2966
- key: RouteKey.customComponent,
2967
- path: "/openservice/componentManage"
2968
- },
2969
- {
2970
- key: RouteKey.customMenu,
2971
- path: "/openservice/componentMenu"
3123
+ key: RouteKey.customManage,
3124
+ path: "/openservice/componentManage",
3125
+ children: [
3126
+ {
3127
+ key: RouteKey.customComponent,
3128
+ path: "/openservice/componentManage/customComponent"
3129
+ },
3130
+ {
3131
+ key: RouteKey.customMenu,
3132
+ path: "/openservice/componentManage/customMenu"
3133
+ },
3134
+ {
3135
+ key: RouteKey.customPage,
3136
+ path: "/openservice/componentManage/customPage"
3137
+ }
3138
+ ]
2972
3139
  },
2973
3140
  {
2974
3141
  key: RouteKey.customTemplate,
@@ -3048,6 +3215,10 @@ var ROUTE_TREE_CONFIG = {
3048
3215
  key: RouteKey.viewBoard,
3049
3216
  path: "/view/card"
3050
3217
  },
3218
+ {
3219
+ key: RouteKey.viewExploration,
3220
+ path: "/view/exploration"
3221
+ },
3051
3222
  {
3052
3223
  key: RouteKey.viewFavorite,
3053
3224
  path: "/view/favorite"
@@ -3128,6 +3299,18 @@ var ROUTE_TREE_CONFIG = {
3128
3299
  key: RouteKey.downloadList,
3129
3300
  path: "/workspace/download"
3130
3301
  },
3302
+ // {
3303
+ // key: RouteKey.metricTree,
3304
+ // path: '/workspace/metricTree',
3305
+ // },
3306
+ {
3307
+ key: RouteKey.businessInsightList,
3308
+ path: "/workspace/metricTree/businessInsight"
3309
+ },
3310
+ {
3311
+ key: RouteKey.metricInsightList,
3312
+ path: "/workspace/metricTree/metricInsight"
3313
+ },
3131
3314
  {
3132
3315
  key: RouteKey.formList,
3133
3316
  path: "/workspace/dataForm"
@@ -3231,6 +3414,10 @@ var ROUTE_TREE_CONFIG = {
3231
3414
  key: RouteKey.copilotPageQInsight,
3232
3415
  path: "/copilotPage/qInsight"
3233
3416
  },
3417
+ {
3418
+ key: RouteKey.copilotPageQMetric,
3419
+ path: "/copilotPage/qMetric"
3420
+ },
3234
3421
  {
3235
3422
  key: RouteKey.copilotPageQReport,
3236
3423
  path: "/copilotPage/qreport"
@@ -3440,6 +3627,21 @@ var ROUTE_TREE_CONFIG = {
3440
3627
  }
3441
3628
  ]
3442
3629
  },
3630
+ /** 探索分析 */
3631
+ {
3632
+ key: RouteKey.explorationRoot,
3633
+ path: "/exploration",
3634
+ children: [
3635
+ {
3636
+ key: RouteKey.explorationEdit,
3637
+ path: "/exploration/pc.htm"
3638
+ },
3639
+ {
3640
+ key: RouteKey.explorationView,
3641
+ path: "/exploration/view/pc.htm"
3642
+ }
3643
+ ]
3644
+ },
3443
3645
  /** 即席分析 */
3444
3646
  {
3445
3647
  key: RouteKey.analysisRoot,
@@ -3797,6 +3999,34 @@ var ROUTE_TREE_CONFIG = {
3797
3999
  }
3798
4000
  ]
3799
4001
  },
4002
+ /** 指标树应用(编辑和预览页) */
4003
+ {
4004
+ key: RouteKey.metricTreeRoot,
4005
+ path: "/metricTree",
4006
+ children: [
4007
+ {
4008
+ key: RouteKey.businessInsightsEdit,
4009
+ path: "/metricTree/business/edit.htm"
4010
+ },
4011
+ {
4012
+ key: RouteKey.businessInsightsView,
4013
+ path: "/metricTree/business/view.htm"
4014
+ },
4015
+ {
4016
+ key: RouteKey.metricInsightsEdit,
4017
+ path: "/metricTree/insights/edit.htm"
4018
+ },
4019
+ {
4020
+ key: RouteKey.metricInsightsView,
4021
+ path: "/metricTree/insights/view.htm"
4022
+ }
4023
+ ]
4024
+ },
4025
+ /** AI体验馆 */
4026
+ {
4027
+ key: RouteKey.aiExperience,
4028
+ path: "/aiExperience"
4029
+ },
3800
4030
  /** 登陆页 */
3801
4031
  {
3802
4032
  key: RouteKey.loginRoot,
@@ -3941,6 +4171,9 @@ var PermissionPageType;
3941
4171
  PermissionPageType2["dashboardNl2sql"] = "dashboardNl2sql";
3942
4172
  PermissionPageType2["resourceConfig"] = "resourceConfig";
3943
4173
  PermissionPageType2["qReport"] = "qreport";
4174
+ PermissionPageType2["businessInsight"] = "business_insight";
4175
+ PermissionPageType2["metricInsight"] = "metric_insight";
4176
+ PermissionPageType2["exploration"] = "exploration";
3944
4177
  })(PermissionPageType || (PermissionPageType = {}));
3945
4178
  export {
3946
4179
  AccumulateCalcType,
@@ -4011,6 +4244,7 @@ export {
4011
4244
  FieldGroupType,
4012
4245
  FieldType,
4013
4246
  FilterAttr,
4247
+ FormatType,
4014
4248
  GroupOperator,
4015
4249
  GroupType,
4016
4250
  HintModal,
@@ -4018,9 +4252,13 @@ export {
4018
4252
  ImageSizes,
4019
4253
  JoinCondition,
4020
4254
  LegendAlignType,
4255
+ LegendDisplayPercentPositionValue,
4021
4256
  LegendPositionType,
4022
4257
  LegendUnHighLightedValue,
4023
4258
  LnglatGroupChildFlags,
4259
+ LogicalSchema,
4260
+ LogicalTable,
4261
+ LogicalTree,
4024
4262
  MOBILE_PATH_ROUTE_MAP,
4025
4263
  MultiSeparator,
4026
4264
  NegativeMode,
@@ -4032,7 +4270,6 @@ export {
4032
4270
  OperationMenuItem,
4033
4271
  OperationTypes,
4034
4272
  OrgThemeMode,
4035
- OriginDateType,
4036
4273
  PATH_ROUTE_MAP,
4037
4274
  ParamDataType,
4038
4275
  ParamStyleType,
@@ -4047,6 +4284,7 @@ export {
4047
4284
  ROUTE_PATH_MAP,
4048
4285
  ROUTE_TREE,
4049
4286
  ROUTE_TREE_MAP,
4287
+ ReferentialIntegrity,
4050
4288
  RegionGranularity,
4051
4289
  ReportSummaryInsightType,
4052
4290
  ResourcePageHeaderGroupEnum,
@@ -4073,6 +4311,5 @@ export {
4073
4311
  ToolFieldType,
4074
4312
  UsePermitType,
4075
4313
  VerticalAlignTypes,
4076
- VirtualFieldOperation,
4077
- dataBaseType
4314
+ VirtualFieldOperation
4078
4315
  };