@gis_victory/gismap 2.0.85 → 2.0.86
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 +13 -36
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -270,7 +270,7 @@ destroy: () => void;
|
|
|
270
270
|
} | undefined;
|
|
271
271
|
readonly layerManager: {
|
|
272
272
|
queryLayerIds: string[];
|
|
273
|
-
addSource: (source: any) => void;
|
|
273
|
+
addSource: (source: any, layerConfig?: any) => void;
|
|
274
274
|
addLayer: (layerConfig: any, beforeLayerId?: string) => LayerManager;
|
|
275
275
|
addGroupLayer: (layer: any) => void;
|
|
276
276
|
removeLayer: (layer: any) => void;
|
|
@@ -1893,20 +1893,12 @@ 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
|
|
1897
|
-
/**
|
|
1898
|
-
* 是否根据图层设置的 checked 属性联动打开
|
|
1899
|
-
* 默认 true,若为 false,则所有设置打开的图层都默认关闭
|
|
1900
|
-
*/
|
|
1901
|
-
?: boolean) => void;
|
|
1896
|
+
insertChild: (child?: FakeNode | default_2, index?: number, batch?: boolean) => void;
|
|
1902
1897
|
insertBefore: (child: FakeNode | default_2, ref: default_2) => void;
|
|
1903
1898
|
insertAfter: (child: FakeNode | default_2, ref: default_2) => void;
|
|
1904
1899
|
removeChild: (child: default_2) => void;
|
|
1905
1900
|
removeChildByData: (data: TreeNodeData | null) => void;
|
|
1906
|
-
expand: (callback?: (() => void) | null, expandParent
|
|
1907
|
-
* 简易模式
|
|
1908
|
-
* 默认为 false,为 true 时隐藏工具栏、标签页和搜索框
|
|
1909
|
-
*/: boolean) => void;
|
|
1901
|
+
expand: (callback?: (() => void) | null, expandParent?: boolean) => void;
|
|
1910
1902
|
doCreateChildren: (array: TreeNodeData[], defaultProps?: TreeNodeLoadedDefaultProps) => void;
|
|
1911
1903
|
collapse: () => void;
|
|
1912
1904
|
shouldLoadData: () => boolean;
|
|
@@ -2036,12 +2028,7 @@ lazy: boolean;
|
|
|
2036
2028
|
load?: LoadFunction | undefined;
|
|
2037
2029
|
filterNodeMethod?: FilterNodeMethodFunction | undefined;
|
|
2038
2030
|
key: TreeKey;
|
|
2039
|
-
defaultCheckedKeys
|
|
2040
|
-
/**
|
|
2041
|
-
* 切换收藏状态
|
|
2042
|
-
* @param data 图层数据
|
|
2043
|
-
*/
|
|
2044
|
-
?: TreeKey[] | undefined;
|
|
2031
|
+
defaultCheckedKeys?: TreeKey[] | undefined;
|
|
2045
2032
|
checkStrictly: boolean;
|
|
2046
2033
|
defaultExpandedKeys?: TreeKey[] | undefined;
|
|
2047
2034
|
autoExpandParent: boolean;
|
|
@@ -2138,7 +2125,8 @@ root: any;
|
|
|
2138
2125
|
data: TreeNodeData[];
|
|
2139
2126
|
lazy: boolean;
|
|
2140
2127
|
load?: LoadFunction | undefined;
|
|
2141
|
-
filterNodeMethod
|
|
2128
|
+
filterNodeMethod
|
|
2129
|
+
/** @type { [typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ] } */ ? /** @type { [typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ] } */: FilterNodeMethodFunction | undefined;
|
|
2142
2130
|
key: TreeKey;
|
|
2143
2131
|
defaultCheckedKeys?: TreeKey[] | undefined;
|
|
2144
2132
|
checkStrictly: boolean;
|
|
@@ -3544,20 +3532,12 @@ readonly nextSibling: any | null;
|
|
|
3544
3532
|
readonly previousSibling: any | null;
|
|
3545
3533
|
contains: (target: default_2, deep?: boolean) => boolean;
|
|
3546
3534
|
remove: () => void;
|
|
3547
|
-
insertChild: (child?: FakeNode | default_2, index?: number, batch
|
|
3548
|
-
/**
|
|
3549
|
-
* 是否根据图层设置的 checked 属性联动打开
|
|
3550
|
-
* 默认 true,若为 false,则所有设置打开的图层都默认关闭
|
|
3551
|
-
*/
|
|
3552
|
-
?: boolean) => void;
|
|
3535
|
+
insertChild: (child?: FakeNode | default_2, index?: number, batch?: boolean) => void;
|
|
3553
3536
|
insertBefore: (child: FakeNode | default_2, ref: default_2) => void;
|
|
3554
3537
|
insertAfter: (child: FakeNode | default_2, ref: default_2) => void;
|
|
3555
3538
|
removeChild: (child: default_2) => void;
|
|
3556
3539
|
removeChildByData: (data: TreeNodeData | null) => void;
|
|
3557
|
-
expand: (callback?: (() => void) | null, expandParent
|
|
3558
|
-
* 简易模式
|
|
3559
|
-
* 默认为 false,为 true 时隐藏工具栏、标签页和搜索框
|
|
3560
|
-
*/: boolean) => void;
|
|
3540
|
+
expand: (callback?: (() => void) | null, expandParent?: boolean) => void;
|
|
3561
3541
|
doCreateChildren: (array: TreeNodeData[], defaultProps?: TreeNodeLoadedDefaultProps) => void;
|
|
3562
3542
|
collapse: () => void;
|
|
3563
3543
|
shouldLoadData: () => boolean;
|
|
@@ -3687,12 +3667,7 @@ lazy: boolean;
|
|
|
3687
3667
|
load?: LoadFunction | undefined;
|
|
3688
3668
|
filterNodeMethod?: FilterNodeMethodFunction | undefined;
|
|
3689
3669
|
key: TreeKey;
|
|
3690
|
-
defaultCheckedKeys
|
|
3691
|
-
/**
|
|
3692
|
-
* 切换收藏状态
|
|
3693
|
-
* @param data 图层数据
|
|
3694
|
-
*/
|
|
3695
|
-
?: TreeKey[] | undefined;
|
|
3670
|
+
defaultCheckedKeys?: TreeKey[] | undefined;
|
|
3696
3671
|
checkStrictly: boolean;
|
|
3697
3672
|
defaultExpandedKeys?: TreeKey[] | undefined;
|
|
3698
3673
|
autoExpandParent: boolean;
|
|
@@ -3789,7 +3764,8 @@ root: any;
|
|
|
3789
3764
|
data: TreeNodeData[];
|
|
3790
3765
|
lazy: boolean;
|
|
3791
3766
|
load?: LoadFunction | undefined;
|
|
3792
|
-
filterNodeMethod
|
|
3767
|
+
filterNodeMethod
|
|
3768
|
+
/** @type { [typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ] } */ ? /** @type { [typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ] } */: FilterNodeMethodFunction | undefined;
|
|
3793
3769
|
key: TreeKey;
|
|
3794
3770
|
defaultCheckedKeys?: TreeKey[] | undefined;
|
|
3795
3771
|
checkStrictly: boolean;
|
|
@@ -5990,8 +5966,9 @@ export declare class LayerManager extends BaseManager {
|
|
|
5990
5966
|
/**
|
|
5991
5967
|
* 添加指定数据源
|
|
5992
5968
|
* @param source 数据源
|
|
5969
|
+
* @param layerConfig 图层配置
|
|
5993
5970
|
*/
|
|
5994
|
-
addSource(source: any): void;
|
|
5971
|
+
addSource(source: any, layerConfig?: any): void;
|
|
5995
5972
|
/**
|
|
5996
5973
|
* 添加指定图层
|
|
5997
5974
|
* @param layerConfig 图层配置
|