@gis_victory/gismap 2.0.30 → 2.0.32

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
@@ -187,6 +187,7 @@ addVecLayer: (sourceConfig?: any, beforeId?: string) => void;
187
187
  removeVecLayer: () => void;
188
188
  addCiaLayer: (sourceConfig?: any, beforeId?: string) => void;
189
189
  removeCiaLayer: () => void;
190
+ setGrayMode: (id: string) => void;
190
191
  clear: () => void;
191
192
  show: () => void;
192
193
  hideAll: () => void;
@@ -1106,6 +1107,92 @@ export declare const getEndpoint: (key: string) => string;
1106
1107
  */
1107
1108
  export declare const getFullUrl: (key: string) => string;
1108
1109
 
1110
+ export declare const GisMapCompareFrame: DefineComponent<ExtractPropTypes< {
1111
+ direction: {
1112
+ type: () => "horizontal" | "vertical";
1113
+ default: string;
1114
+ };
1115
+ initialPercent: {
1116
+ type: NumberConstructor;
1117
+ default: number;
1118
+ };
1119
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1120
+ cancel: () => any;
1121
+ change: (payload: {
1122
+ direction: "horizontal" | "vertical";
1123
+ percent: number;
1124
+ }) => any;
1125
+ confirm: (payload: {
1126
+ direction: "horizontal" | "vertical";
1127
+ percent: number;
1128
+ }) => any;
1129
+ "update:direction": (value: "horizontal" | "vertical") => any;
1130
+ "update:percent": (value: number) => any;
1131
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1132
+ direction: {
1133
+ type: () => "horizontal" | "vertical";
1134
+ default: string;
1135
+ };
1136
+ initialPercent: {
1137
+ type: NumberConstructor;
1138
+ default: number;
1139
+ };
1140
+ }>> & Readonly<{
1141
+ onCancel?: (() => any) | undefined;
1142
+ onChange?: ((payload: {
1143
+ direction: "horizontal" | "vertical";
1144
+ percent: number;
1145
+ }) => any) | undefined;
1146
+ onConfirm?: ((payload: {
1147
+ direction: "horizontal" | "vertical";
1148
+ percent: number;
1149
+ }) => any) | undefined;
1150
+ "onUpdate:direction"?: ((value: "horizontal" | "vertical") => any) | undefined;
1151
+ "onUpdate:percent"?: ((value: number) => any) | undefined;
1152
+ }>, {
1153
+ direction: "horizontal" | "vertical";
1154
+ initialPercent: number;
1155
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1156
+
1157
+ export declare const GisMapCompareSplit: DefineComponent<ExtractPropTypes< {
1158
+ active: {
1159
+ type: BooleanConstructor;
1160
+ default: boolean;
1161
+ };
1162
+ direction: {
1163
+ type: () => "horizontal" | "vertical";
1164
+ default: string;
1165
+ };
1166
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1167
+ change: (payload: {
1168
+ active: boolean;
1169
+ direction: "horizontal" | "vertical";
1170
+ }) => any;
1171
+ toggle: () => any;
1172
+ "update:active": (value: boolean) => any;
1173
+ "update:direction": (value: "horizontal" | "vertical") => any;
1174
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1175
+ active: {
1176
+ type: BooleanConstructor;
1177
+ default: boolean;
1178
+ };
1179
+ direction: {
1180
+ type: () => "horizontal" | "vertical";
1181
+ default: string;
1182
+ };
1183
+ }>> & Readonly<{
1184
+ onChange?: ((payload: {
1185
+ active: boolean;
1186
+ direction: "horizontal" | "vertical";
1187
+ }) => any) | undefined;
1188
+ onToggle?: (() => any) | undefined;
1189
+ "onUpdate:active"?: ((value: boolean) => any) | undefined;
1190
+ "onUpdate:direction"?: ((value: "horizontal" | "vertical") => any) | undefined;
1191
+ }>, {
1192
+ active: boolean;
1193
+ direction: "horizontal" | "vertical";
1194
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1195
+
1109
1196
  export declare const GisMapCompass: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1110
1197
 
1111
1198
  export declare const GisMapContainer: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -3737,6 +3824,10 @@ extensionsPosition: {
3737
3824
  type: StringConstructor;
3738
3825
  default: string;
3739
3826
  };
3827
+ gray: {
3828
+ type: BooleanConstructor;
3829
+ default: boolean;
3830
+ };
3740
3831
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
3741
3832
  data: {
3742
3833
  type: ObjectConstructor;
@@ -3749,9 +3840,14 @@ extensionsPosition: {
3749
3840
  type: StringConstructor;
3750
3841
  default: string;
3751
3842
  };
3843
+ gray: {
3844
+ type: BooleanConstructor;
3845
+ default: boolean;
3846
+ };
3752
3847
  }>> & Readonly<{}>, {
3753
3848
  data: Record<string, any>;
3754
3849
  extensionsPosition: string;
3850
+ gray: boolean;
3755
3851
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
3756
3852
  left?(_: {}): any;
3757
3853
  right?(_: {}): any;
@@ -5935,6 +6031,7 @@ declare interface Props {
5935
6031
  name: string;
5936
6032
  url: string;
5937
6033
  }>;
6034
+ theme?: 'light' | 'dark';
5938
6035
  }
5939
6036
 
5940
6037
  /** 地图提供者
@@ -6167,6 +6264,8 @@ declare class TDTManager {
6167
6264
  /** 添加天地图注记图层 */
6168
6265
  addCiaLayer(sourceConfig?: any, beforeId?: string): void;
6169
6266
  removeCiaLayer(): void;
6267
+ /** 设置天地图图层灰度显示 */
6268
+ setGrayMode(id: string): void;
6170
6269
  /** 移除所有天地图图层 */
6171
6270
  clear(): void;
6172
6271
  /** 显示天地图(恢复可见性) */