@gis_victory/gismap 2.0.55 → 2.0.56

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/dist/index.d.ts CHANGED
@@ -1413,6 +1413,22 @@ required: true;
1413
1413
  type: FunctionConstructor;
1414
1414
  default: undefined;
1415
1415
  };
1416
+ /**
1417
+ * 是否根据图层设置的 checked 属性联动打开
1418
+ * 默认 true,若为 false,则所有设置打开的图层都默认关闭
1419
+ */
1420
+ checkedLinkage: {
1421
+ type: BooleanConstructor;
1422
+ default: boolean;
1423
+ };
1424
+ /**
1425
+ * 默认打开的图层 id 数组
1426
+ * 如果设置了,将优先使用这些 id 来决定哪些图层默认打开
1427
+ */
1428
+ defaultCheckedIds: {
1429
+ type: () => string[];
1430
+ default: () => never[];
1431
+ };
1416
1432
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1417
1433
  title: {
1418
1434
  type: StringConstructor;
@@ -1452,6 +1468,22 @@ required: true;
1452
1468
  type: FunctionConstructor;
1453
1469
  default: undefined;
1454
1470
  };
1471
+ /**
1472
+ * 是否根据图层设置的 checked 属性联动打开
1473
+ * 默认 true,若为 false,则所有设置打开的图层都默认关闭
1474
+ */
1475
+ checkedLinkage: {
1476
+ type: BooleanConstructor;
1477
+ default: boolean;
1478
+ };
1479
+ /**
1480
+ * 默认打开的图层 id 数组
1481
+ * 如果设置了,将优先使用这些 id 来决定哪些图层默认打开
1482
+ */
1483
+ defaultCheckedIds: {
1484
+ type: () => string[];
1485
+ default: () => never[];
1486
+ };
1455
1487
  }>> & Readonly<{}>, {
1456
1488
  data: any[];
1457
1489
  title: string;
@@ -1459,6 +1491,8 @@ prefix: string;
1459
1491
  toggleFavorite: Function;
1460
1492
  maxHeight: number;
1461
1493
  activeTab: "layers" | "selected" | "favorites" | "recent";
1494
+ checkedLinkage: boolean;
1495
+ defaultCheckedIds: string[];
1462
1496
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
1463
1497
  layerTabRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
1464
1498
  prefix: {
@@ -3954,6 +3988,22 @@ showSearch: {
3954
3988
  type: BooleanConstructor;
3955
3989
  default: boolean;
3956
3990
  };
3991
+ /**
3992
+ * 是否根据图层设置的 checked 属性联动打开
3993
+ * 默认 true,若为 false,则所有设置打开的图层都默认关闭
3994
+ */
3995
+ checkedLinkage: {
3996
+ type: BooleanConstructor;
3997
+ default: boolean;
3998
+ };
3999
+ /**
4000
+ * 默认打开的图层 id 数组
4001
+ * 如果设置了,将优先使用这些 id 来决定哪些图层默认打开
4002
+ */
4003
+ defaultCheckedIds: {
4004
+ type: () => string[];
4005
+ default: () => never[];
4006
+ };
3957
4007
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3958
4008
  close: (...args: any[]) => void;
3959
4009
  "layer-toggle": (...args: any[]) => void;
@@ -3983,12 +4033,30 @@ showSearch: {
3983
4033
  type: BooleanConstructor;
3984
4034
  default: boolean;
3985
4035
  };
4036
+ /**
4037
+ * 是否根据图层设置的 checked 属性联动打开
4038
+ * 默认 true,若为 false,则所有设置打开的图层都默认关闭
4039
+ */
4040
+ checkedLinkage: {
4041
+ type: BooleanConstructor;
4042
+ default: boolean;
4043
+ };
4044
+ /**
4045
+ * 默认打开的图层 id 数组
4046
+ * 如果设置了,将优先使用这些 id 来决定哪些图层默认打开
4047
+ */
4048
+ defaultCheckedIds: {
4049
+ type: () => string[];
4050
+ default: () => never[];
4051
+ };
3986
4052
  }>> & Readonly<{
3987
4053
  onClose?: ((...args: any[]) => any) | undefined;
3988
4054
  "onLayer-toggle"?: ((...args: any[]) => any) | undefined;
3989
4055
  }>, {
3990
4056
  data: any[];
3991
4057
  title: string;
4058
+ checkedLinkage: boolean;
4059
+ defaultCheckedIds: string[];
3992
4060
  showSearch: boolean;
3993
4061
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3994
4062