@gis_victory/gismap 2.0.84 → 2.0.85

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
@@ -1893,12 +1893,20 @@ readonly nextSibling: any | null;
1893
1893
  readonly previousSibling: any | null;
1894
1894
  contains: (target: default_2, deep?: boolean) => boolean;
1895
1895
  remove: () => void;
1896
- insertChild: (child?: FakeNode | default_2, index?: number, batch?: boolean) => void;
1896
+ insertChild: (child?: FakeNode | default_2, index?: number, batch
1897
+ /**
1898
+ * 是否根据图层设置的 checked 属性联动打开
1899
+ * 默认 true,若为 false,则所有设置打开的图层都默认关闭
1900
+ */
1901
+ ?: boolean) => void;
1897
1902
  insertBefore: (child: FakeNode | default_2, ref: default_2) => void;
1898
1903
  insertAfter: (child: FakeNode | default_2, ref: default_2) => void;
1899
1904
  removeChild: (child: default_2) => void;
1900
1905
  removeChildByData: (data: TreeNodeData | null) => void;
1901
- expand: (callback?: (() => void) | null, expandParent?: boolean) => void;
1906
+ expand: (callback?: (() => void) | null, expandParent? /**
1907
+ * 简易模式
1908
+ * 默认为 false,为 true 时隐藏工具栏、标签页和搜索框
1909
+ */: boolean) => void;
1902
1910
  doCreateChildren: (array: TreeNodeData[], defaultProps?: TreeNodeLoadedDefaultProps) => void;
1903
1911
  collapse: () => void;
1904
1912
  shouldLoadData: () => boolean;
@@ -2028,7 +2036,12 @@ lazy: boolean;
2028
2036
  load?: LoadFunction | undefined;
2029
2037
  filterNodeMethod?: FilterNodeMethodFunction | undefined;
2030
2038
  key: TreeKey;
2031
- defaultCheckedKeys?: TreeKey[] | undefined;
2039
+ defaultCheckedKeys
2040
+ /**
2041
+ * 切换收藏状态
2042
+ * @param data 图层数据
2043
+ */
2044
+ ?: TreeKey[] | undefined;
2032
2045
  checkStrictly: boolean;
2033
2046
  defaultExpandedKeys?: TreeKey[] | undefined;
2034
2047
  autoExpandParent: boolean;
@@ -3531,12 +3544,20 @@ readonly nextSibling: any | null;
3531
3544
  readonly previousSibling: any | null;
3532
3545
  contains: (target: default_2, deep?: boolean) => boolean;
3533
3546
  remove: () => void;
3534
- insertChild: (child?: FakeNode | default_2, index?: number, batch?: boolean) => void;
3547
+ insertChild: (child?: FakeNode | default_2, index?: number, batch
3548
+ /**
3549
+ * 是否根据图层设置的 checked 属性联动打开
3550
+ * 默认 true,若为 false,则所有设置打开的图层都默认关闭
3551
+ */
3552
+ ?: boolean) => void;
3535
3553
  insertBefore: (child: FakeNode | default_2, ref: default_2) => void;
3536
3554
  insertAfter: (child: FakeNode | default_2, ref: default_2) => void;
3537
3555
  removeChild: (child: default_2) => void;
3538
3556
  removeChildByData: (data: TreeNodeData | null) => void;
3539
- expand: (callback?: (() => void) | null, expandParent?: boolean) => void;
3557
+ expand: (callback?: (() => void) | null, expandParent? /**
3558
+ * 简易模式
3559
+ * 默认为 false,为 true 时隐藏工具栏、标签页和搜索框
3560
+ */: boolean) => void;
3540
3561
  doCreateChildren: (array: TreeNodeData[], defaultProps?: TreeNodeLoadedDefaultProps) => void;
3541
3562
  collapse: () => void;
3542
3563
  shouldLoadData: () => boolean;
@@ -3666,7 +3687,12 @@ lazy: boolean;
3666
3687
  load?: LoadFunction | undefined;
3667
3688
  filterNodeMethod?: FilterNodeMethodFunction | undefined;
3668
3689
  key: TreeKey;
3669
- defaultCheckedKeys?: TreeKey[] | undefined;
3690
+ defaultCheckedKeys
3691
+ /**
3692
+ * 切换收藏状态
3693
+ * @param data 图层数据
3694
+ */
3695
+ ?: TreeKey[] | undefined;
3670
3696
  checkStrictly: boolean;
3671
3697
  defaultExpandedKeys?: TreeKey[] | undefined;
3672
3698
  autoExpandParent: boolean;