/// import React from 'react'; import { FormControlProps } from 'fabos-amis-core'; import { ThemeProps } from 'fabos-amis-core'; import { SpinnerExtraProps } from 'fabos-amis-ui'; import { ActionObject } from 'fabos-amis-core'; import { Option } from 'fabos-amis-core'; import { LocaleProps } from 'fabos-amis-core'; import { FormBaseControlSchema } from '../../Schema'; import type { TestIdBuilder } from 'fabos-amis-core'; /** * City 城市选择框。 * 文档:https://aisuda.bce.baidu.com/amis/zh-CN/components/form/city */ export interface InputCityControlSchema extends FormBaseControlSchema, SpinnerExtraProps { /** * 指定为城市选择框。 */ type: 'input-city'; /** * 开启后只会存城市的 code 信息 */ extractValue?: boolean; /** * 是否将各个信息拼接成字符串。 */ joinValues?: boolean; /** * 拼接的符号是啥? */ delimiter?: string; /** * 允许选择城市? */ allowCity?: boolean; /** * 允许选择地区? */ allowDistrict?: boolean; /** * 允许选择街道? */ allowStreet?: boolean; /** * 是否显示搜索框 */ searchable?: boolean; /** * 下拉框className */ itemClassName?: string; } export interface CityPickerProps extends Omit, LocaleProps, ThemeProps { value: any; onChange: (value: any) => void; extractValue: boolean; delimiter: string; allowCity: boolean; allowDistrict: boolean; allowStreet: boolean; mobileUI?: boolean; style?: { [propName: string]: any; }; popOverContainer?: any; testIdBuilder?: TestIdBuilder; } export interface CityDb { province: Array; city: { [propName: number]: Array; }; district: { [propName: number]: { [propName: number]: Array; } | Array; }; [propName: string]: any; } export interface CityPickerState { code: number; province: string; provinceCode: number; city: string; cityCode: number; district: string; districtCode: number; street: string; db?: CityDb; } export declare class CityPicker extends React.Component { static defaultProps: { joinValues: boolean; extractValue: boolean; delimiter: string; allowCity: boolean; allowDistrict: boolean; allowStreet: boolean; }; state: CityPickerState; componentDidMount(): void; componentDidUpdate(prevProps: CityPickerProps): void; loadDb(callback?: () => void): void; handleProvinceChange(option: Option): void; handleCityChange(option: Option): void; handleDistrictChange(option: Option, otherStates?: Partial): void; handleStreetChange(e: React.ChangeEvent): void; handleStreetEnd(): void; syncIn(props?: Readonly): void; syncOut(): void; render(): React.JSX.Element; } declare const ThemedCity: { new (props: Omit, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-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, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("fabos-amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType<{ new (props: Pick, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; /** * 下拉框className */ context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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 CityPicker; }>; } & import("hoist-non-react-statics").NonReactStatics<{ new (props: Pick, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; /** * 下拉框className */ context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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 CityPicker; }, {}> & { ComposedComponent: { new (props: Pick, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { /** * 拼接的符号是啥? */ locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; /** * 下拉框className */ context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "remark" | "hidden" | "static" | "label" | "$$id" | "className" | "$ref" | "disabled" | "disabledOn" | "hiddenOn" | "visible" | "visibleOn" | "id" | "onEvent" | "staticOn" | "staticPlaceholder" | "staticClassName" | "staticLabelClassName" | "staticInputClassName" | "staticSchema" | "style" | "editorSetting" | "useMobileUI" | "testIdBuilder" | "mobileUI" | "classnames" | "classPrefix" | "theme" | "popOverContainer" | "name" | "desc" | "itemClassName" | "placeholder" | "loadingConfig" | "size" | "onChange" | "labelRemark" | "labelAlign" | "labelWidth" | "labelClassName" | "extraName" | "hint" | "submitOnChange" | "readOnly" | "readOnlyOn" | "validateOnChange" | "description" | "descriptionClassName" | "mode" | "horizontal" | "inline" | "inputClassName" | "required" | "validationErrors" | "validations" | "value" | "clearValueOnHidden" | "validateApi" | "autoFill" | "initAutoFill" | "searchable"> & { delimiter?: string | undefined; joinValues?: boolean | undefined; extractValue?: boolean | undefined; allowCity?: boolean | undefined; allowDistrict?: boolean | undefined; allowStreet?: boolean | 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 CityPicker; }; }; export default ThemedCity; export interface LocationControlProps extends FormControlProps { allowCity?: boolean; allowDistrict?: boolean; extractValue?: boolean; joinValues?: boolean; allowStreet?: boolean; } export declare class LocationControl extends React.Component { state: { db: null; }; doAction(action: ActionObject, data: object, throwErrors: boolean): void; handleChange(value: number | string): Promise; renderStatic(displayValue?: string): React.JSX.Element; render(): React.JSX.Element; } export declare class CheckboxControlRenderer extends LocationControl { }