@mappedin/react-native-sdk 4.1.0 → 4.1.1
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 +11 -61
- package/dist/index.js +31 -31
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare module '@mappedin/react-native-sdk' {
|
|
|
15
15
|
export type { TMiMiniMapProps } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap';
|
|
16
16
|
export type { MapViewStore } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store';
|
|
17
17
|
export { getVenue, getVenueBundle } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
18
|
-
export type { TGetVenueOptions, TGetVenueBundleOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
18
|
+
export type { TGetVenueOptions, TGetVenueBundleOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
19
19
|
export { STATE } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
20
20
|
export { COLLISION_RANKING_TIERS, MARKER_ANCHOR, E_BLUEDOT_STATE, MappedinCoordinate, labelThemes, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE_REASON, MAP_RENDER_MODE } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
21
21
|
export type { TSerializableJourneyOptions, TMiMapViewOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
@@ -116,7 +116,7 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
116
116
|
/**
|
|
117
117
|
* @category Component
|
|
118
118
|
*/
|
|
119
|
-
export const MiMapView: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<TMiMapViewProps, "
|
|
119
|
+
export const MiMapView: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<TMiMapViewProps, "onFirstMapLoaded" | "style" | "options" | "onDataLoaded" | "venueData" | "onPolygonClicked" | "onBlueDotStateChanged" | "onBlueDotPositionUpdated" | "onNothingClicked" | "onMapChanged" | "onStateChanged" | "onVenueLoadError"> & React.RefAttributes<MapViewStore>>>;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap' {
|
|
@@ -431,7 +431,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/index.rn' {
|
|
|
431
431
|
export type { TBlueDotPositionUpdate, TBlueDotStateChange, TJourneyOptions, TMapViewOptions, TCreateMarkerOptions, TGeolocationObject, TPathOptions, TCommonLabelOptions, TFlatLabelOptions, TFlatLabelPolygonOptions, TFloatingLabelPolygonOptions, TLabelAllLocationCommonOptions, TLabelAllLocationFloatingLabelOptions, TLabelAllLocationFlatLabelOptions, TEnableBlueDotOptions, TFloatingLabelAppearance, TFlatLabelAppearance } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
432
432
|
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
433
433
|
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
434
|
-
export type { TGetVenueBundleOptions, TGetVenueOptions, TMappedinDirective, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
434
|
+
export type { TGetVenueBundleOptions, TGetVenueOptions, TMappedinDirective, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
435
435
|
export { MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinDirections, MappedinNavigatable, MappedinCoordinate, MappedinRankings, MAP_RENDER_MODE, OfflineSearch, MappedinCollectionType } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
436
436
|
export type { TSafeAreaInsets, TFocusOnTargets, TFocusOnCameraOptions, TAnimatePositionOptions, TCameraAnimationOptions, TFocusOnOptions } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
437
437
|
export { SAFE_AREA_INSET_TYPE, ANIMATION_TWEENS, CAMERA_EASING_MODE } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
@@ -512,7 +512,7 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src' {
|
|
|
512
512
|
export type { TMiMiniMapProps } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap';
|
|
513
513
|
export type { MapViewStore } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store';
|
|
514
514
|
export { getVenue, getVenueBundle } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
515
|
-
export type { TGetVenueOptions, TGetVenueBundleOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
515
|
+
export type { TGetVenueOptions, TGetVenueBundleOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
516
516
|
export { STATE } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
517
517
|
export { COLLISION_RANKING_TIERS, MARKER_ANCHOR, E_BLUEDOT_STATE, MappedinCoordinate, labelThemes, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE_REASON, MAP_RENDER_MODE } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
518
518
|
export type { TSerializableJourneyOptions, TMiMapViewOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
@@ -598,7 +598,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue' {
|
|
|
598
598
|
export type { TOperationHoursMap } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocation';
|
|
599
599
|
export type { TDirectionToOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNavigatable';
|
|
600
600
|
export { OfflineSearch } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.OfflineSearch';
|
|
601
|
-
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.OfflineSearch';
|
|
601
|
+
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.OfflineSearch';
|
|
602
602
|
/** API data types */
|
|
603
603
|
export type { TLocationType, TNode, TImage, TLogo, TGalleryImage, TPhone, TSocial, TColor, TVortex, TPicture, TOpeningHours, TSiblingGroup, TState, TCategory, TEvent, TGeoReference, TMap, TMapGroup, TBuilding, TLocation, TPolygon, TPolygonRanking, TVenue, TMappedinAPI } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.API.types';
|
|
604
604
|
export type { TGetVenueOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.types';
|
|
@@ -2402,32 +2402,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
2402
2402
|
};
|
|
2403
2403
|
showVenueOptions: import("../react-native-sdk/src").TShowVenueOptions & {
|
|
2404
2404
|
prepareSearch?: boolean | undefined;
|
|
2405
|
-
searchOptions?: Partial<
|
|
2406
|
-
stopWords?: string[] | undefined;
|
|
2407
|
-
searchTags?: boolean | undefined;
|
|
2408
|
-
searchDescriptions?: boolean | undefined;
|
|
2409
|
-
searchTagsInCategories?: boolean | undefined; /**
|
|
2410
|
-
* Handle rejection from the other side, typically when the request results in an error
|
|
2411
|
-
* @hidden
|
|
2412
|
-
searchDescriptionsInCategories?: boolean | undefined;
|
|
2413
|
-
jsonIndex?: string | undefined;
|
|
2414
|
-
useLocationRank?: boolean | undefined;
|
|
2415
|
-
emitAnalyticsEvents?: boolean | undefined;
|
|
2416
|
-
constants: {
|
|
2417
|
-
PRIMARY_INDEX_FUZZYNESS: number;
|
|
2418
|
-
PRIMARY_INDEX_WEIGHT: number;
|
|
2419
|
-
SECONDARY_INDEX_WEIGHT: number;
|
|
2420
|
-
LOCATION_NAME_WEIGHT: number;
|
|
2421
|
-
CATEGORY_NAME_WEIGHT: number;
|
|
2422
|
-
CATEGORY_LOCATION_DESCRIPTION_WEIGHT: number;
|
|
2423
|
-
CATEGORY_LOCATION_TAGS_WEIGHT: number;
|
|
2424
|
-
CATEGORY_LOCATION_NAME_WEIGHT: number;
|
|
2425
|
-
PRIMARY_INDEX_TAGS_NAME_WEIGHT: number;
|
|
2426
|
-
LOCATION_DEFAULT_RANK: number;
|
|
2427
|
-
RATIO_OF_FUZZY_TO_EXACT: number;
|
|
2428
|
-
RATIO_OF_PREFIX_TO_EXACT: number;
|
|
2429
|
-
};
|
|
2430
|
-
}> | undefined;
|
|
2405
|
+
searchOptions?: Partial<import("../react-native-sdk/src").TMappedinOfflineSearchAllOptions> | undefined;
|
|
2431
2406
|
};
|
|
2432
2407
|
};
|
|
2433
2408
|
};
|
|
@@ -2438,32 +2413,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
2438
2413
|
format: "jsonstring";
|
|
2439
2414
|
showVenueOptions: import("../react-native-sdk/src").TShowVenueOptions & {
|
|
2440
2415
|
prepareSearch?: boolean | undefined;
|
|
2441
|
-
searchOptions?: Partial<
|
|
2442
|
-
stopWords?: string[] | undefined;
|
|
2443
|
-
searchTags?: boolean | undefined;
|
|
2444
|
-
searchDescriptions?: boolean | undefined;
|
|
2445
|
-
searchTagsInCategories?: boolean | undefined; /**
|
|
2446
|
-
* Handle rejection from the other side, typically when the request results in an error
|
|
2447
|
-
* @hidden
|
|
2448
|
-
searchDescriptionsInCategories?: boolean | undefined;
|
|
2449
|
-
jsonIndex?: string | undefined;
|
|
2450
|
-
useLocationRank?: boolean | undefined;
|
|
2451
|
-
emitAnalyticsEvents?: boolean | undefined;
|
|
2452
|
-
constants: {
|
|
2453
|
-
PRIMARY_INDEX_FUZZYNESS: number;
|
|
2454
|
-
PRIMARY_INDEX_WEIGHT: number;
|
|
2455
|
-
SECONDARY_INDEX_WEIGHT: number;
|
|
2456
|
-
LOCATION_NAME_WEIGHT: number;
|
|
2457
|
-
CATEGORY_NAME_WEIGHT: number;
|
|
2458
|
-
CATEGORY_LOCATION_DESCRIPTION_WEIGHT: number;
|
|
2459
|
-
CATEGORY_LOCATION_TAGS_WEIGHT: number;
|
|
2460
|
-
CATEGORY_LOCATION_NAME_WEIGHT: number;
|
|
2461
|
-
PRIMARY_INDEX_TAGS_NAME_WEIGHT: number;
|
|
2462
|
-
LOCATION_DEFAULT_RANK: number;
|
|
2463
|
-
RATIO_OF_FUZZY_TO_EXACT: number;
|
|
2464
|
-
RATIO_OF_PREFIX_TO_EXACT: number;
|
|
2465
|
-
};
|
|
2466
|
-
}> | undefined;
|
|
2416
|
+
searchOptions?: Partial<import("../react-native-sdk/src").TMappedinOfflineSearchAllOptions> | undefined;
|
|
2467
2417
|
};
|
|
2468
2418
|
};
|
|
2469
2419
|
};
|
|
@@ -3869,7 +3819,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Offl
|
|
|
3869
3819
|
*
|
|
3870
3820
|
* @class Mappedin.OfflineSearch
|
|
3871
3821
|
*/
|
|
3872
|
-
type
|
|
3822
|
+
export type TMappedinOfflineSearchAllOptions = {
|
|
3873
3823
|
/**
|
|
3874
3824
|
* Array of stopwords to ignore when searching, default: english stopwords
|
|
3875
3825
|
*/
|
|
@@ -3991,7 +3941,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Offl
|
|
|
3991
3941
|
*/
|
|
3992
3942
|
value?: string;
|
|
3993
3943
|
};
|
|
3994
|
-
export type TMappedinOfflineSearchOptions = Partial<
|
|
3944
|
+
export type TMappedinOfflineSearchOptions = Partial<TMappedinOfflineSearchAllOptions>;
|
|
3995
3945
|
export type TMappedinOfflineSearchResult = {
|
|
3996
3946
|
/**
|
|
3997
3947
|
* Type describing the object
|
|
@@ -4026,7 +3976,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Offl
|
|
|
4026
3976
|
}[];
|
|
4027
3977
|
};
|
|
4028
3978
|
/**
|
|
4029
|
-
* A {@link OfflineSearch} is an offline search module. It can be initialized at any time by passing the {@link Mappedin} object and a set of {@link
|
|
3979
|
+
* A {@link OfflineSearch} is an offline search module. It can be initialized at any time by passing the {@link Mappedin} object and a set of {@link TMappedinOfflineSearchOptions} options.
|
|
4030
3980
|
*
|
|
4031
3981
|
*
|
|
4032
3982
|
* @class Mappedin.OfflineSearch
|
|
@@ -5417,7 +5367,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5417
5367
|
export type { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
5418
5368
|
export type { TSafeAreaInsets, TFocusOnTargets, TFocusOnCameraOptions, TAnimatePositionOptions, TCameraAnimationOptions, TFocusOnOptions, default as Camera } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
5419
5369
|
export { SAFE_AREA_INSET_TYPE, ANIMATION_TWEENS, CAMERA_EASING_MODE } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
5420
|
-
export type { TGetVenueOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5370
|
+
export type { TGetVenueOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5421
5371
|
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5422
5372
|
export { BundleAssetManager } from '@mappedin/react-native-sdk/core/packages/renderer/bundle-asset-manager';
|
|
5423
5373
|
}
|