tg-map-vue3 3.0.2 → 3.0.3
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/src/components/TgMap.vue.d.ts +2 -2
- package/dist/src/components/TgMapWidget.vue.d.ts +2 -2
- package/dist/src/components/controls/TgCustomControl.vue.d.ts +3 -3
- package/dist/src/components/controls/TgMapTypeControl.vue.d.ts +3 -3
- package/dist/src/components/controls/TgScaleControl.vue.d.ts +3 -3
- package/dist/src/components/controls/TgZoomControl.vue.d.ts +3 -3
- package/dist/src/components/extra/TgMarkerClusterer.vue.d.ts +6 -6
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/components/layers/TgTrafficLayer.vue.d.ts +3 -3
- package/dist/src/components/map-mixin.d.ts +2 -2
- package/dist/src/components/overlays/TgCircle.vue.d.ts +3 -3
- package/dist/src/components/overlays/TgElementOverlay.vue.d.ts +3 -3
- package/dist/src/components/overlays/TgInfoBox.vue.d.ts +3 -3
- package/dist/src/components/overlays/TgInfoWindow.vue.d.ts +3 -3
- package/dist/src/components/overlays/TgLabel.vue.d.ts +3 -3
- package/dist/src/components/overlays/TgMarker.vue.d.ts +6 -6
- package/dist/src/components/overlays/TgPolygon.vue.d.ts +3 -3
- package/dist/src/components/overlays/TgPolyline.vue.d.ts +3 -3
- package/dist/src/map/event.d.ts +1 -1
- package/dist/src/utils/lifecycle-log.d.ts +1 -1
- package/dist/src/utils/mapped-types.d.ts +2 -2
- package/dist/src/utils/vue-utils.d.ts +2 -2
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { TgMapType } from '../map/map-factory';
|
|
|
6
6
|
import { LatLng } from '../map/lat-lng';
|
|
7
7
|
import { MapOptions } from '../map/map/map-options';
|
|
8
8
|
import { MapType } from '../map/map/map-type';
|
|
9
|
-
declare const _sfc_main: import(
|
|
9
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<Omit<MapOptions, "buildInMapTypeId"> & {
|
|
10
10
|
type: TgMapType;
|
|
11
11
|
currentCenter?: LatLng | undefined;
|
|
12
12
|
lastCenter?: LatLng | undefined;
|
|
@@ -20,7 +20,7 @@ declare const _sfc_main: import('./@vue/compat').DefineComponent<Props<Omit<MapO
|
|
|
20
20
|
isDestroyed: boolean;
|
|
21
21
|
}, {
|
|
22
22
|
propsJson(): string;
|
|
23
|
-
}, {}, import(
|
|
23
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<Omit<MapOptions, "buildInMapTypeId"> & {
|
|
24
24
|
type: TgMapType;
|
|
25
25
|
currentCenter?: LatLng | undefined;
|
|
26
26
|
lastCenter?: LatLng | undefined;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import { dimen } from '../utils/formatter';
|
|
4
4
|
/** TgMap上的Widget, 只是对绝对布局进行简单的封装 */
|
|
5
|
-
declare const _sfc_main: import(
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
6
6
|
left: {
|
|
7
7
|
type: (NumberConstructor | StringConstructor)[];
|
|
8
8
|
default: null;
|
|
@@ -23,7 +23,7 @@ declare const _sfc_main: import('./@vue/compat').DefineComponent<{
|
|
|
23
23
|
topValue(): string | number;
|
|
24
24
|
}, {
|
|
25
25
|
dimen: typeof dimen;
|
|
26
|
-
}, import(
|
|
26
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
left: {
|
|
28
28
|
type: (NumberConstructor | StringConstructor)[];
|
|
29
29
|
default: null;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import { type Props } from '../../utils/vue-utils';
|
|
4
4
|
import { ControlPosition, CustomControl } from '../../map/map/controls/control';
|
|
5
|
-
declare const _sfc_main: import(
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<{
|
|
6
6
|
position: ControlPosition;
|
|
7
7
|
}>, {
|
|
8
8
|
control: CustomControl;
|
|
9
|
-
}, unknown, {}, {}, import(
|
|
9
|
+
}, unknown, {}, {}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
10
10
|
recreate(): void;
|
|
11
|
-
}, import(
|
|
11
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<{
|
|
12
12
|
position: ControlPosition;
|
|
13
13
|
}>>>, {
|
|
14
14
|
position: any;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import { type MapTypeControlOptions, type MapTypeControl } from '../../map/map/controls/map-type.control';
|
|
4
4
|
import { type Props } from '../../utils/vue-utils';
|
|
5
|
-
declare const _sfc_main: import(
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<MapTypeControlOptions>, {
|
|
6
6
|
control: MapTypeControl;
|
|
7
|
-
}, unknown, {}, {}, import(
|
|
7
|
+
}, unknown, {}, {}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
8
8
|
recreate(): void;
|
|
9
|
-
}, import(
|
|
9
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<MapTypeControlOptions>>>, {
|
|
10
10
|
type?: any;
|
|
11
11
|
mapTypes?: any;
|
|
12
12
|
position?: any;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import { type Props } from '../../utils/vue-utils';
|
|
4
4
|
import type { ScaleControlOptions, ScaleControl } from '../../map/map/controls/scale.control';
|
|
5
|
-
declare const _sfc_main: import(
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<ScaleControlOptions>, {
|
|
6
6
|
control: ScaleControl;
|
|
7
|
-
}, unknown, {}, {}, import(
|
|
7
|
+
}, unknown, {}, {}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
8
8
|
recreate(): void;
|
|
9
|
-
}, import(
|
|
9
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<ScaleControlOptions>>>, {
|
|
10
10
|
position?: any;
|
|
11
11
|
}>;
|
|
12
12
|
export default _sfc_main;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import type { ZoomControlOptions, ZoomControl } from '../../map/map/controls/zoom.control';
|
|
4
4
|
import { type Props } from '../../utils/vue-utils';
|
|
5
|
-
declare const _sfc_main: import(
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<ZoomControlOptions>, {
|
|
6
6
|
control: ZoomControl;
|
|
7
|
-
}, unknown, {}, {}, import(
|
|
7
|
+
}, unknown, {}, {}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
8
8
|
recreate(): void;
|
|
9
|
-
}, import(
|
|
9
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<ZoomControlOptions>>>, {
|
|
10
10
|
position?: any;
|
|
11
11
|
}>;
|
|
12
12
|
export default _sfc_main;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { MarkerClusterer, MarkerClustererOptions } from '../../map/map/extra/marker-clusterer';
|
|
4
4
|
import { type Props } from '../../utils/vue-utils';
|
|
5
5
|
import type { MarkerOverlay } from '../../map/map/overlay/marker';
|
|
6
|
-
declare const TgMarkerClusterer: import(
|
|
6
|
+
declare const TgMarkerClusterer: import("vue").DefineComponent<Props<Omit<MarkerClustererOptions, "markers">>, {
|
|
7
7
|
clusterer: MarkerClusterer;
|
|
8
8
|
}, unknown, {}, {
|
|
9
9
|
getOptions(): MarkerClustererOptions;
|
|
@@ -12,9 +12,9 @@ declare const TgMarkerClusterer: import('./@vue/compat').DefineComponent<Props<O
|
|
|
12
12
|
markers(): MarkerOverlay[];
|
|
13
13
|
onAddMarker(marker: MarkerOverlay): void;
|
|
14
14
|
onRemoveMarker(marker: MarkerOverlay): void;
|
|
15
|
-
}, import(
|
|
15
|
+
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
16
16
|
recreate(): void;
|
|
17
|
-
}, import(
|
|
17
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<Omit<MarkerClustererOptions, "markers">>>>, {
|
|
18
18
|
maxZoom?: any;
|
|
19
19
|
zIndex?: any;
|
|
20
20
|
gridSize?: any;
|
|
@@ -23,7 +23,7 @@ declare const TgMarkerClusterer: import('./@vue/compat').DefineComponent<Props<O
|
|
|
23
23
|
styles?: any;
|
|
24
24
|
stylesIndexCalculator?: any;
|
|
25
25
|
}>;
|
|
26
|
-
declare const _sfc_main: import(
|
|
26
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<Omit<MarkerClustererOptions, "markers">>, {
|
|
27
27
|
clusterer: MarkerClusterer;
|
|
28
28
|
}, unknown, {}, {
|
|
29
29
|
getOptions(): MarkerClustererOptions;
|
|
@@ -32,9 +32,9 @@ declare const _sfc_main: import('./@vue/compat').DefineComponent<Props<Omit<Mark
|
|
|
32
32
|
markers(): MarkerOverlay[];
|
|
33
33
|
onAddMarker(marker: MarkerOverlay): void;
|
|
34
34
|
onRemoveMarker(marker: MarkerOverlay): void;
|
|
35
|
-
}, import(
|
|
35
|
+
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
36
36
|
recreate(): void;
|
|
37
|
-
}, import(
|
|
37
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<Omit<MarkerClustererOptions, "markers">>>>, {
|
|
38
38
|
maxZoom?: any;
|
|
39
39
|
zIndex?: any;
|
|
40
40
|
gridSize?: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@/map/dts" />
|
|
2
|
-
import type { App } from '
|
|
2
|
+
import type { App } from 'vue';
|
|
3
3
|
import { type PartialTgMapConfig, setTgMapConfig, type TgMapConfig, getTgMapConfig } from '../map/map-config';
|
|
4
4
|
import MapMixin, { MIXIN_HOOK_DESTROY, MIXIN_HOOK_CREATE, MIXIN_MAP_NAME } from './map-mixin';
|
|
5
5
|
import LifecycleLogPlugin, { type LifecycleLogOptions } from '../utils/lifecycle-log';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference path="../map-mixin.d.ts" />
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import { TrafficLayer } from '../../map/map/map-type';
|
|
4
|
-
declare const _sfc_main: import(
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
|
5
5
|
[x: string]: unknown;
|
|
6
6
|
}>>, {
|
|
7
7
|
layer: TrafficLayer;
|
|
8
|
-
}, unknown, {}, {}, import(
|
|
8
|
+
}, unknown, {}, {}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
9
9
|
recreate(): void;
|
|
10
|
-
}, import(
|
|
10
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
11
11
|
[x: string]: unknown;
|
|
12
12
|
}>>>>, {
|
|
13
13
|
[x: number]: string;
|
|
@@ -16,7 +16,7 @@ declare module 'vue' {
|
|
|
16
16
|
[MIXIN_HOOK_DESTROY]?(): void;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
declare const MapMixin: import(
|
|
19
|
+
declare const MapMixin: import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
20
20
|
recreate(): void;
|
|
21
|
-
}, import(
|
|
21
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
22
22
|
export default MapMixin;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import { type Props } from '../../utils/vue-utils';
|
|
4
4
|
import type { CircleOptions, CircleOverlay } from '../../map/map/overlay/circle';
|
|
5
|
-
declare const _sfc_main: import(
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<CircleOptions>, {
|
|
6
6
|
overlay: CircleOverlay;
|
|
7
|
-
}, unknown, {}, {}, import(
|
|
7
|
+
}, unknown, {}, {}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
8
8
|
recreate(): void;
|
|
9
|
-
}, import(
|
|
9
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<CircleOptions>>>, {
|
|
10
10
|
center: any;
|
|
11
11
|
fillColor?: any;
|
|
12
12
|
fillOpacity?: any;
|
|
@@ -13,15 +13,15 @@ declare class SimpleElementOverlay extends ElementOverlay {
|
|
|
13
13
|
protected onDraw(projection: OverlayProjection): void;
|
|
14
14
|
setPosition(position: LatLng): void;
|
|
15
15
|
}
|
|
16
|
-
declare const _sfc_main: import(
|
|
16
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<ElementOverlayOptions & {
|
|
17
17
|
position: LatLng;
|
|
18
18
|
}>, {
|
|
19
19
|
overlay: SimpleElementOverlay;
|
|
20
20
|
}, unknown, {}, {
|
|
21
21
|
content(): HTMLElement;
|
|
22
|
-
}, import(
|
|
22
|
+
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
23
23
|
recreate(): void;
|
|
24
|
-
}, import(
|
|
24
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<ElementOverlayOptions & {
|
|
25
25
|
position: LatLng;
|
|
26
26
|
}>>>, {
|
|
27
27
|
position: any;
|
|
@@ -4,7 +4,7 @@ import { type Props } from '../../utils/vue-utils';
|
|
|
4
4
|
import { type TgMarkerInstanceType } from './TgMarker.vue';
|
|
5
5
|
import type { InfoBoxOverlay, InfoBoxOptions } from '../../map/map/overlay/info-box';
|
|
6
6
|
import type { MarkerOverlay } from '../../map/map/overlay/marker';
|
|
7
|
-
declare const _sfc_main: import(
|
|
7
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<Omit<InfoBoxOptions, "content"> & {
|
|
8
8
|
show: boolean;
|
|
9
9
|
}>, {
|
|
10
10
|
overlay: InfoBoxOverlay;
|
|
@@ -14,9 +14,9 @@ declare const _sfc_main: import('./@vue/compat').DefineComponent<Props<Omit<Info
|
|
|
14
14
|
$marker(): TgMarkerInstanceType | undefined;
|
|
15
15
|
open(marker?: MarkerOverlay): void;
|
|
16
16
|
close(): void;
|
|
17
|
-
}, import(
|
|
17
|
+
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
18
18
|
recreate(): void;
|
|
19
|
-
}, import(
|
|
19
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<Omit<InfoBoxOptions, "content"> & {
|
|
20
20
|
show: boolean;
|
|
21
21
|
}>>>, {
|
|
22
22
|
maxWidth?: any;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { type Props } from '../../utils/vue-utils';
|
|
4
4
|
import type { InfoWindowOverlay, InfoWindowOptions } from '../../map/map/overlay/info-window';
|
|
5
5
|
import { type TgMarkerInstanceType } from './TgMarker.vue';
|
|
6
|
-
declare const _sfc_main: import(
|
|
6
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<Omit<InfoWindowOptions, "content"> & {
|
|
7
7
|
show: boolean;
|
|
8
8
|
}>, {
|
|
9
9
|
overlay: InfoWindowOverlay;
|
|
@@ -11,9 +11,9 @@ declare const _sfc_main: import('./@vue/compat').DefineComponent<Props<Omit<Info
|
|
|
11
11
|
content(): HTMLElement;
|
|
12
12
|
$marker(): TgMarkerInstanceType | undefined;
|
|
13
13
|
getOptions(): InfoWindowOptions;
|
|
14
|
-
}, import(
|
|
14
|
+
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
15
15
|
recreate(): void;
|
|
16
|
-
}, import(
|
|
16
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<Omit<InfoWindowOptions, "content"> & {
|
|
17
17
|
show: boolean;
|
|
18
18
|
}>>>, {
|
|
19
19
|
maxWidth?: any;
|
|
@@ -4,16 +4,16 @@ import { type Props } from '../../utils/vue-utils';
|
|
|
4
4
|
import type { LabelOptions, LabelOverlay } from '../../map/map/overlay/label';
|
|
5
5
|
import { type TgMarkerInstanceType } from './TgMarker.vue';
|
|
6
6
|
import type { Marker } from '../../map/map/overlay/marker';
|
|
7
|
-
declare const _sfc_main: import(
|
|
7
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<Omit<LabelOptions, "content">>, {
|
|
8
8
|
overlay: LabelOverlay;
|
|
9
9
|
}, unknown, {}, {
|
|
10
10
|
content(): HTMLElement;
|
|
11
11
|
marker(): Marker | undefined;
|
|
12
12
|
$marker(): TgMarkerInstanceType | undefined;
|
|
13
13
|
getOptions(): LabelOptions;
|
|
14
|
-
}, import(
|
|
14
|
+
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
15
15
|
recreate(): void;
|
|
16
|
-
}, import(
|
|
16
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<Omit<LabelOptions, "content">>>>, {
|
|
17
17
|
zIndex?: any;
|
|
18
18
|
position?: any;
|
|
19
19
|
offset?: any;
|
|
@@ -12,7 +12,7 @@ type TgInfo = {
|
|
|
12
12
|
show?: boolean;
|
|
13
13
|
overlay: Info;
|
|
14
14
|
};
|
|
15
|
-
declare const TgMarker: import(
|
|
15
|
+
declare const TgMarker: import("vue").DefineComponent<Props<MarkerOptions>, {
|
|
16
16
|
marker: MarkerOverlay;
|
|
17
17
|
}, unknown, {}, {
|
|
18
18
|
$clusterer(): TgMarkerClustererInstanceType | undefined;
|
|
@@ -21,9 +21,9 @@ declare const TgMarker: import('./@vue/compat').DefineComponent<Props<MarkerOpti
|
|
|
21
21
|
onAddInfo(info: TgInfo): void;
|
|
22
22
|
onRemoveInfo(info: TgInfo): void;
|
|
23
23
|
onInfoShowChanged(info: TgInfo, isShow: boolean): void;
|
|
24
|
-
}, import(
|
|
24
|
+
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
25
25
|
recreate(): void;
|
|
26
|
-
}, import(
|
|
26
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<MarkerOptions>>>, {
|
|
27
27
|
zIndex?: any;
|
|
28
28
|
clickable?: any;
|
|
29
29
|
visible?: any;
|
|
@@ -34,7 +34,7 @@ declare const TgMarker: import('./@vue/compat').DefineComponent<Props<MarkerOpti
|
|
|
34
34
|
crossOnDrag?: any;
|
|
35
35
|
cursor?: any;
|
|
36
36
|
}>;
|
|
37
|
-
declare const _sfc_main: import(
|
|
37
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<MarkerOptions>, {
|
|
38
38
|
marker: MarkerOverlay;
|
|
39
39
|
}, unknown, {}, {
|
|
40
40
|
$clusterer(): TgMarkerClustererInstanceType | undefined;
|
|
@@ -43,9 +43,9 @@ declare const _sfc_main: import('./@vue/compat').DefineComponent<Props<MarkerOpt
|
|
|
43
43
|
onAddInfo(info: TgInfo): void;
|
|
44
44
|
onRemoveInfo(info: TgInfo): void;
|
|
45
45
|
onInfoShowChanged(info: TgInfo, isShow: boolean): void;
|
|
46
|
-
}, import(
|
|
46
|
+
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
47
47
|
recreate(): void;
|
|
48
|
-
}, import(
|
|
48
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<MarkerOptions>>>, {
|
|
49
49
|
zIndex?: any;
|
|
50
50
|
clickable?: any;
|
|
51
51
|
visible?: any;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import type { PolygonOptions, PolygonOverlay } from '../../map/map/overlay/polygon';
|
|
4
4
|
import { type Props } from '../../utils/vue-utils';
|
|
5
|
-
declare const _sfc_main: import(
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<PolygonOptions>, {
|
|
6
6
|
polygon: PolygonOverlay;
|
|
7
|
-
}, unknown, {}, {}, import(
|
|
7
|
+
}, unknown, {}, {}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
8
8
|
recreate(): void;
|
|
9
|
-
}, import(
|
|
9
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<PolygonOptions>>>, {
|
|
10
10
|
fillColor?: any;
|
|
11
11
|
fillOpacity?: any;
|
|
12
12
|
clickable?: any;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/// <reference types="@/global" />
|
|
3
3
|
import { type Props } from '../../utils/vue-utils';
|
|
4
4
|
import type { PolylineOptions, PolylineOverlay } from '../../map/map/overlay/polyline';
|
|
5
|
-
declare const _sfc_main: import(
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<Props<PolylineOptions>, {
|
|
6
6
|
polyline: PolylineOverlay;
|
|
7
|
-
}, unknown, {}, {}, import(
|
|
7
|
+
}, unknown, {}, {}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
8
8
|
recreate(): void;
|
|
9
|
-
}, import(
|
|
9
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props<PolylineOptions>>>, {
|
|
10
10
|
clickable?: any;
|
|
11
11
|
editable?: any;
|
|
12
12
|
strokeColor?: any;
|
package/dist/src/map/event.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Component, ComponentPublicInstance } from
|
|
1
|
+
import type { Component, ComponentPublicInstance } from "vue";
|
|
2
2
|
/** deep版的 `Partial` */
|
|
3
3
|
export type DeepPartial<T> = {
|
|
4
4
|
[U in keyof T]?: T[U] extends object ? DeepPartial<T[U]> : T[U];
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* 表示一个构造器
|
|
8
|
-
* {@link import('
|
|
8
|
+
* {@link import('vue/types/options').Constructor}
|
|
9
9
|
* */
|
|
10
10
|
export type Constructor<T = {}> = new (...args: any[]) => T;
|
|
11
11
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { VNode, ComponentPublicInstance, Component } from '
|
|
2
|
-
import type { ComponentOptions, PropType, PropOptions, PropValidator, WritableComputedOptions } from '
|
|
1
|
+
import type { VNode, ComponentPublicInstance, Component } from 'vue';
|
|
2
|
+
import type { ComponentOptions, PropType, PropOptions, PropValidator, WritableComputedOptions } from 'vue';
|
|
3
3
|
import type { AbstractConstructor, KeysMatching, StringEnumLike, Thing } from './mapped-types';
|
|
4
4
|
/** 组件选项中的hook名 */
|
|
5
5
|
export type VueHookName = ExcludeSubtype<KeysMatching<OmitStartsWith<RemoveIndex<ComponentOptions>, '_'>, {
|