@mappable-world/mappable-types 0.0.15085412 → 0.0.15090529

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.
@@ -19,7 +19,7 @@ export declare class MMapRuler extends MMapComplexEntity<MMapRulerProps, typeof
19
19
  onUpdateStart?: import("./MMapRulerCommon").UpdateStartFn | undefined;
20
20
  onUpdateEnd?: import("./MMapRulerCommon").UpdateEndFn | undefined;
21
21
  }>;
22
- static [overrideKeyReactify]: import("../../reactify/reactify").CustomReactify<MMapRulerCommon, import("react").ForwardRefExoticComponent<{
22
+ static [overrideKeyReactify]: import("../../reactify/reactify").CustomReactify<MMapRuler, import("react").ForwardRefExoticComponent<{
23
23
  type: import("./MMapRulerCommon").RulerType;
24
24
  source?: string | undefined;
25
25
  geometry: import("./MMapRulerCommon").RulerGeometry;
@@ -31,19 +31,7 @@ export declare class MMapRuler extends MMapComplexEntity<MMapRulerProps, typeof
31
31
  onUpdateEnd?: import("./MMapRulerCommon").UpdateEndFn | undefined;
32
32
  point: (params: RenderPointCommonArgs) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
33
33
  previewPoint: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
34
- ref?: import("react").Ref<MMapEntity<{
35
- type: import("./MMapRulerCommon").RulerType;
36
- source?: string | undefined;
37
- geometry: import("./MMapRulerCommon").RulerGeometry;
38
- zIndex?: number | undefined;
39
- onUpdate?: import("./MMapRulerCommon").UpdateCommonFn | undefined;
40
- points: import("../../common/types/lng-lat").LngLat[];
41
- editable?: boolean | undefined;
42
- onUpdateStart?: import("./MMapRulerCommon").UpdateStartFn | undefined;
43
- onUpdateEnd?: import("./MMapRulerCommon").UpdateEndFn | undefined;
44
- point: (params: RenderPointCommonArgs) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
45
- previewPoint: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
46
- }, {}>> | undefined;
34
+ ref?: import("react").Ref<MMapRulerCommon> | undefined;
47
35
  key?: import("react").Key | null | undefined;
48
36
  }>>;
49
37
  static [overrideKeyVuefy]: import("../vuefy").CustomVuefyFn<MMapRulerCommon, {
@@ -1,2 +1,3 @@
1
1
  export { MMapRuler, MMapRulerProps, RenderPointArgs } from "./MMapRuler";
2
2
  export { RulerGeometry, RulerType, RulerPointState, RulerCommonState, Measurements } from "./MMapRulerCommon";
3
+ export { MMapRulerReactifiedProps } from "./react/MMapRuler";
@@ -1,11 +1,11 @@
1
1
  import type TReact from "react";
2
- import type { MMapEntity } from "../../../imperative";
3
2
  import type { CustomReactify, OverrideProps, Prettify } from "../../../reactify/reactify";
4
- import { RenderPointCommonArgs, MMapRulerCommonProps, MMapRulerCommon as MMapRulerI } from "../MMapRulerCommon";
5
- type MMapRulerReactifiedProps = Prettify<OverrideProps<MMapRulerCommonProps, {
3
+ import type { MMapRuler as MMapRulerI } from "../MMapRuler";
4
+ import { RenderPointCommonArgs, MMapRulerCommon, MMapRulerCommonProps } from "../MMapRulerCommon";
5
+ export type MMapRulerReactifiedProps = Prettify<OverrideProps<MMapRulerCommonProps, {
6
6
  point: (params: RenderPointCommonArgs) => TReact.ReactElement;
7
7
  previewPoint: TReact.ReactElement;
8
8
  }>>;
9
- type MMapRulerR = TReact.ForwardRefExoticComponent<Prettify<MMapRulerReactifiedProps & React.RefAttributes<MMapEntity<MMapRulerReactifiedProps>>>>;
9
+ type MMapRulerR = TReact.ForwardRefExoticComponent<Prettify<MMapRulerReactifiedProps & TReact.RefAttributes<MMapRulerCommon>>>;
10
10
  export declare const MMapRulerReactifyOverride: CustomReactify<MMapRulerI, MMapRulerR>;
11
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappable-world/mappable-types",
3
- "version": "0.0.15085412",
3
+ "version": "0.0.15090529",
4
4
  "description": "Types for mappable maps library",
5
5
  "main": "",
6
6
  "types": "index.d.ts",