@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<
|
|
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<
|
|
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, {
|
package/modules/ruler/index.d.ts
CHANGED
|
@@ -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 {
|
|
5
|
-
|
|
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 &
|
|
9
|
+
type MMapRulerR = TReact.ForwardRefExoticComponent<Prettify<MMapRulerReactifiedProps & TReact.RefAttributes<MMapRulerCommon>>>;
|
|
10
10
|
export declare const MMapRulerReactifyOverride: CustomReactify<MMapRulerI, MMapRulerR>;
|
|
11
11
|
export {};
|