Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fenextjs-interface

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fenextjs-interface - npm Package Compare versions

Comparing version 1.0.34 to 1.0.35

198

cjs/AddressGoogle/index.d.ts

@@ -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

3

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc