///
import React from 'react';
import { ThemeProps } from 'amis-core';
import { LocaleProps } from 'amis-core';
export interface LocationProps extends ThemeProps, LocaleProps {
vendor: 'baidu' | 'gaode' | 'tenxun';
coordinatesType: 'bd09' | 'gcj02';
placeholder: string;
getLocationPlaceholder: string;
clearable: boolean;
ak: string;
value?: {
address: string;
lat: number;
lng: number;
city?: string;
};
disabled?: boolean;
className?: string;
popoverClassName?: string;
onChange: (value: any) => void;
popOverContainer?: any;
autoSelectCurrentLoc?: boolean;
onlySelectCurrentLoc?: boolean;
}
export interface LocationState {
isFocused: boolean;
isOpened: boolean;
}
export declare class LocationPicker extends React.Component {
static defaultProps: {
placeholder: string;
getLocationPlaceholder: string;
clearable: boolean;
};
domRef: React.RefObject;
tempValue: any;
state: {
isFocused: boolean;
isOpened: boolean;
};
handleKeyPress(e: React.KeyboardEvent): void;
handleFocus(): void;
handleBlur(): void;
handleClick(): void;
getTarget(): HTMLDivElement | null;
getParent(): HTMLElement | null | undefined;
open(fn?: () => void): void;
close(): void;
clearValue(e: React.MouseEvent): void;
handlePopOverClick(e: React.MouseEvent): void;
handleChange(value: any): void;
handleTempChange(value: any): void;
handleConfirm(): void;
render(): React.JSX.Element;
}
declare const ThemedCity: {
new (props: Omit, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): React.JSX.Element;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType<{
new (props: Pick, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): React.JSX.Element;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType;
} & import("hoist-non-react-statics").NonReactStatics & {
ComposedComponent: typeof LocationPicker;
}>;
} & import("hoist-non-react-statics").NonReactStatics<{
new (props: Pick, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): React.JSX.Element;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType;
} & import("hoist-non-react-statics").NonReactStatics & {
ComposedComponent: typeof LocationPicker;
}, {}> & {
ComposedComponent: {
new (props: Pick, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): React.JSX.Element;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onChange" | "popoverClassName" | "popOverContainer" | "vendor" | "coordinatesType" | "ak" | "autoSelectCurrentLoc" | "onlySelectCurrentLoc"> & {
placeholder?: string | undefined;
clearable?: boolean | undefined;
getLocationPlaceholder?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType;
} & import("hoist-non-react-statics").NonReactStatics & {
ComposedComponent: typeof LocationPicker;
};
};
export default ThemedCity;