fenextjs-interface
Advanced tools
Comparing version 1.0.34 to 1.0.35
@@ -1,5 +0,197 @@ | ||
/// <reference types="google.maps" /> | ||
export interface AddressGoogle extends google.maps.places.PlaceResult { | ||
export interface GeocoderAddressComponent { | ||
long_name: string; | ||
short_name: string; | ||
types: string[]; | ||
} | ||
export interface AutocompleteGoogle extends google.maps.places.Autocomplete { | ||
export interface PlaceAspectRating { | ||
rating: number; | ||
type: string; | ||
} | ||
export declare enum BusinessStatus { | ||
CLOSED_PERMANENTLY = "CLOSED_PERMANENTLY", | ||
CLOSED_TEMPORARILY = "CLOSED_TEMPORARILY", | ||
OPERATIONAL = "OPERATIONAL" | ||
} | ||
export interface LatLngLiteral { | ||
lat: number; | ||
lng: number; | ||
} | ||
export interface LatLngBoundsLiteral { | ||
east: number; | ||
north: number; | ||
south: number; | ||
west: number; | ||
} | ||
export declare class LatLngBounds { | ||
constructor(swOrLatLngBounds?: LatLng | null | LatLngLiteral | LatLngBounds | LatLngBoundsLiteral, ne?: LatLng | null | LatLngLiteral); | ||
contains(latLng: LatLng | LatLngLiteral): boolean; | ||
equals(other: LatLngBounds | null | LatLngBoundsLiteral): boolean; | ||
extend(point: LatLng | LatLngLiteral): LatLngBounds; | ||
getCenter(): LatLng; | ||
getNorthEast(): LatLng; | ||
getSouthWest(): LatLng; | ||
intersects(other: LatLngBounds | LatLngBoundsLiteral): boolean; | ||
isEmpty(): boolean; | ||
toJSON(): LatLngBoundsLiteral; | ||
toSpan(): LatLng; | ||
toString(): string; | ||
toUrlValue(precision?: number): string; | ||
union(other: LatLngBounds | LatLngBoundsLiteral): LatLngBounds; | ||
static readonly MAX_BOUNDS: LatLngBounds; | ||
} | ||
export declare class LatLng { | ||
constructor(latOrLatLngOrLatLngLiteral: number | LatLngLiteral | LatLng, lngOrNoClampNoWrap?: number | boolean | null, noClampNoWrap?: boolean); | ||
equals(other: LatLng | null): boolean; | ||
lat(): number; | ||
lng(): number; | ||
toJSON(): LatLngLiteral; | ||
toString(): string; | ||
toUrlValue(precision?: number): string; | ||
} | ||
export interface PlaceGeometry { | ||
location?: LatLng; | ||
viewport?: LatLngBounds; | ||
} | ||
export interface PlaceOpeningHoursTime { | ||
day: number; | ||
hours: number; | ||
minutes: number; | ||
nextDate?: number; | ||
time: string; | ||
} | ||
export interface PlaceOpeningHoursPeriod { | ||
close?: PlaceOpeningHoursTime; | ||
open: PlaceOpeningHoursTime; | ||
} | ||
export interface PlaceOpeningHours { | ||
isOpen(date?: Date): boolean | undefined; | ||
open_now?: boolean; | ||
periods?: PlaceOpeningHoursPeriod[]; | ||
weekday_text?: string[]; | ||
} | ||
export interface PhotoOptions { | ||
maxHeight?: number | null; | ||
maxWidth?: number | null; | ||
} | ||
export interface PlacePhoto { | ||
getUrl(opts?: PhotoOptions): string; | ||
height: number; | ||
html_attributions: string[]; | ||
width: number; | ||
} | ||
export interface PlacePlusCode { | ||
compound_code?: string; | ||
global_code: string; | ||
} | ||
export interface PlaceAspectRating { | ||
rating: number; | ||
type: string; | ||
} | ||
export interface PlaceReview { | ||
aspects?: PlaceAspectRating[]; | ||
author_name: string; | ||
author_url?: string; | ||
language: string; | ||
profile_photo_url: string; | ||
rating?: number; | ||
relative_time_description: string; | ||
text: string; | ||
time: number; | ||
} | ||
export interface AddressGoogle { | ||
address_components?: GeocoderAddressComponent[]; | ||
adr_address?: string; | ||
aspects?: PlaceAspectRating[]; | ||
business_status?: BusinessStatus; | ||
formatted_address?: string; | ||
formatted_phone_number?: string; | ||
geometry?: PlaceGeometry; | ||
html_attributions?: string[]; | ||
icon?: string; | ||
icon_background_color?: string; | ||
icon_mask_base_uri?: string; | ||
international_phone_number?: string; | ||
name?: string; | ||
opening_hours?: PlaceOpeningHours; | ||
permanently_closed?: boolean; | ||
photos?: PlacePhoto[]; | ||
place_id?: string; | ||
plus_code?: PlacePlusCode; | ||
price_level?: number; | ||
rating?: number; | ||
reviews?: PlaceReview[]; | ||
types?: string[]; | ||
url?: string; | ||
user_ratings_total?: number; | ||
utc_offset?: number; | ||
utc_offset_minutes?: number; | ||
vicinity?: string; | ||
website?: string; | ||
} | ||
export interface ComponentRestrictions { | ||
country: string | string[] | null; | ||
} | ||
export interface AutocompleteOptions { | ||
bounds?: LatLngBounds | LatLngBoundsLiteral; | ||
componentRestrictions?: ComponentRestrictions; | ||
fields?: string[]; | ||
placeIdOnly?: boolean; | ||
strictBounds?: boolean; | ||
types?: string[]; | ||
} | ||
export interface PlaceResult { | ||
address_components?: GeocoderAddressComponent[]; | ||
adr_address?: string; | ||
aspects?: PlaceAspectRating[]; | ||
business_status?: BusinessStatus; | ||
formatted_address?: string; | ||
formatted_phone_number?: string; | ||
geometry?: PlaceGeometry; | ||
html_attributions?: string[]; | ||
icon?: string; | ||
icon_background_color?: string; | ||
icon_mask_base_uri?: string; | ||
international_phone_number?: string; | ||
name?: string; | ||
opening_hours?: PlaceOpeningHours; | ||
permanently_closed?: boolean; | ||
photos?: PlacePhoto[]; | ||
place_id?: string; | ||
plus_code?: PlacePlusCode; | ||
price_level?: number; | ||
rating?: number; | ||
reviews?: PlaceReview[]; | ||
types?: string[]; | ||
url?: string; | ||
user_ratings_total?: number; | ||
utc_offset?: number; | ||
utc_offset_minutes?: number; | ||
vicinity?: string; | ||
website?: string; | ||
} | ||
export interface MapsEventListener { | ||
remove(): void; | ||
} | ||
export declare class MVCObject { | ||
addListener(eventName: string, handler: () => void): MapsEventListener; | ||
bindTo(key: string, target: MVCObject, targetKey?: string | null, noNotify?: boolean): void; | ||
get(key: string): any; | ||
notify(key: string): void; | ||
set(key: string, value: any): void; | ||
setValues(values?: object | null): void; | ||
unbind(key: string): void; | ||
unbindAll(): void; | ||
} | ||
export declare class Autocomplete extends MVCObject { | ||
constructor(inputField: HTMLInputElement, opts?: AutocompleteOptions | null); | ||
getBounds(): LatLngBounds | undefined; | ||
getFields(): string[] | undefined; | ||
getPlace(): PlaceResult; | ||
setBounds(bounds: LatLngBounds | LatLngBoundsLiteral | undefined): void; | ||
setComponentRestrictions(restrictions: ComponentRestrictions | null): void; | ||
setFields(fields: string[] | undefined): void; | ||
setOptions(options: AutocompleteOptions | null): void; | ||
setTypes(types: string[] | null): void; | ||
} | ||
export interface AutocompleteGoogle extends Autocomplete { | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BusinessStatus = void 0; | ||
var BusinessStatus; | ||
(function (BusinessStatus) { | ||
BusinessStatus["CLOSED_PERMANENTLY"] = "CLOSED_PERMANENTLY"; | ||
BusinessStatus["CLOSED_TEMPORARILY"] = "CLOSED_TEMPORARILY"; | ||
BusinessStatus["OPERATIONAL"] = "OPERATIONAL"; | ||
})(BusinessStatus || (exports.BusinessStatus = BusinessStatus = {})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "fenextjs-interface", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "", | ||
@@ -42,3 +42,2 @@ "main": "./cjs/index.js", | ||
"dependencies": { | ||
"@react-google-maps/api": "^2.19.2" | ||
}, | ||
@@ -45,0 +44,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23576
0
562
- Removed@react-google-maps/api@^2.19.2
- Removed@googlemaps/js-api-loader@1.16.8(transitive)
- Removed@googlemaps/markerclusterer@2.5.3(transitive)
- Removed@react-google-maps/api@2.20.5(transitive)
- Removed@react-google-maps/infobox@2.20.0(transitive)
- Removed@react-google-maps/marker-clusterer@2.20.0(transitive)
- Removed@types/google.maps@3.58.1(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedinvariant@2.2.4(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedkdbush@4.0.2(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedreact@19.0.0(transitive)
- Removedreact-dom@19.0.0(transitive)
- Removedscheduler@0.25.0(transitive)
- Removedsupercluster@8.0.1(transitive)