tg-map-vue3 3.0.1 → 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.
Files changed (29) hide show
  1. package/README.md +15 -31
  2. package/dist/src/components/TgMap.vue.d.ts +2 -2
  3. package/dist/src/components/TgMapWidget.vue.d.ts +2 -2
  4. package/dist/src/components/controls/TgCustomControl.vue.d.ts +3 -3
  5. package/dist/src/components/controls/TgMapTypeControl.vue.d.ts +4 -4
  6. package/dist/src/components/controls/TgScaleControl.vue.d.ts +3 -3
  7. package/dist/src/components/controls/TgZoomControl.vue.d.ts +3 -3
  8. package/dist/src/components/extra/TgMarkerClusterer.vue.d.ts +6 -6
  9. package/dist/src/components/index.d.ts +18 -4
  10. package/dist/src/components/layers/TgTrafficLayer.vue.d.ts +3 -3
  11. package/dist/src/components/map-mixin.d.ts +2 -2
  12. package/dist/src/components/overlays/TgCircle.vue.d.ts +5 -5
  13. package/dist/src/components/overlays/TgElementOverlay.vue.d.ts +3 -3
  14. package/dist/src/components/overlays/TgInfoBox.vue.d.ts +5 -5
  15. package/dist/src/components/overlays/TgInfoWindow.vue.d.ts +5 -5
  16. package/dist/src/components/overlays/TgLabel.vue.d.ts +4 -4
  17. package/dist/src/components/overlays/TgMarker.vue.d.ts +12 -12
  18. package/dist/src/components/overlays/TgPolygon.vue.d.ts +5 -5
  19. package/dist/src/components/overlays/TgPolyline.vue.d.ts +4 -4
  20. package/dist/src/map/event.d.ts +1 -1
  21. package/dist/src/map/map/overlay/overlay.d.ts +1 -1
  22. package/dist/src/utils/lifecycle-log.d.ts +1 -1
  23. package/dist/src/utils/mapped-types.d.ts +2 -2
  24. package/dist/src/utils/vue-utils.d.ts +2 -2
  25. package/dist/tg-map.js +14 -0
  26. package/dist/tg-map.js.map +1 -1
  27. package/dist/tg-map.umd.cjs +4 -4
  28. package/dist/tg-map.umd.cjs.map +1 -1
  29. package/package.json +1 -1
@@ -30,7 +30,7 @@ export declare class GoogleOverlay<T extends UnionGoogleOverlay = UnionGoogleOve
30
30
  export declare class BaiduOverlay<T extends UnionBaiduOverlay = UnionBaiduOverlay> extends Overlay<T> {
31
31
  constructor(innerOverlay: T, coordType: CoordType, map: AbstractMap);
32
32
  /** 仅限内部使用; 设为private时, 生成的d.ts文件中, 方法返回值会变成any, 故改成了public */
33
- get overlay(): Required<Pick<UnionBaiduOverlay, "show" | "isVisible" | "hide">>;
33
+ get overlay(): Required<Pick<UnionBaiduOverlay, "isVisible" | "show" | "hide">>;
34
34
  isVisible(): boolean;
35
35
  setVisible(visible: boolean): void;
36
36
  /** 在创建BaiduOverlay时, 设置options.visible, 仅内部使用 */
@@ -1,4 +1,4 @@
1
- import { type App } from './@vue/compat';
1
+ import { type App } from 'vue';
2
2
  import type { VueHookName } from './vue-utils';
3
3
  export interface LifecycleLogOptions {
4
4
  /** @default /^[A-Z]/ 匹配大写字母开头的组件名 */
@@ -1,11 +1,11 @@
1
- import type { Component, ComponentPublicInstance } from './@vue/compat';
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('./@vue/compat/types/options').Constructor}
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 './@vue/compat';
2
- import type { ComponentOptions, PropType, PropOptions, PropValidator, WritableComputedOptions } from './@vue/compat';
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>, '_'>, {
package/dist/tg-map.js CHANGED
@@ -4838,10 +4838,24 @@ export {
4838
4838
  Pt as Overlay,
4839
4839
  ce as Point,
4840
4840
  ye as Strings,
4841
+ ui as TgCircle,
4842
+ Jr as TgCustomControl,
4843
+ vi as TgElementOverlay,
4841
4844
  Zt as TgInfoBox,
4845
+ Dt as TgInfoWindow,
4846
+ Rt as TgLabel,
4842
4847
  Nt as TgMap,
4843
4848
  ze as TgMapFactory,
4844
4849
  $ as TgMapType,
4850
+ Qr as TgMapTypeControl,
4851
+ Kr as TgMapWidget,
4852
+ de as TgMarker,
4853
+ Gt as TgMarkerClusterer,
4854
+ _i as TgPolygon,
4855
+ Mi as TgPolyline,
4856
+ ei as TgScaleControl,
4857
+ pi as TgTrafficLayer,
4858
+ ti as TgZoomControl,
4845
4859
  ue as callHook,
4846
4860
  xi as computedSaveOnThis,
4847
4861
  rr as createEmptyVNode,