import * as React from "react"; import { FieldProps, JSONSchemaArray, JSONSchemaObject } from "../../../types"; import type { components } from "../../../generated/api.d"; type NamedPlace = components["schemas"]["store-namedPlace"]; type Props = FieldProps>; type State = { show?: boolean; failed?: string; buttonDefinition?: any; places?: NamedPlace[]; }; /** Compatible only with gatherings array and gathering object */ export default class NamedPlaceChooserField extends React.Component { static contextType: React.Context; mounted: boolean; state: State; getUiSchema: (props: Props, buttonDefinition: any) => import("../../../types").UiSchema | { "ui:options": any; "ui:ArrayFieldTemplate"?: React.ComponentType> | undefined; "ui:ArrayFieldDescriptionTemplate"?: React.ComponentType> | undefined; "ui:ArrayFieldItemTemplate"?: React.ComponentType> | undefined; "ui:ArrayFieldTitleTemplate"?: React.ComponentType> | undefined; "ui:BaseInputTemplate"?: React.ComponentType> | undefined; "ui:DescriptionFieldTemplate"?: React.ComponentType> | undefined; "ui:ErrorListTemplate"?: React.ComponentType> | undefined; "ui:FieldErrorTemplate"?: React.ComponentType> | undefined; "ui:FieldHelpTemplate"?: React.ComponentType> | undefined; "ui:FieldTemplate"?: React.ComponentType> | undefined; "ui:ObjectFieldTemplate"?: React.ComponentType> | undefined; "ui:TitleFieldTemplate"?: React.ComponentType> | undefined; "ui:UnsupportedFieldTemplate"?: React.ComponentType> | undefined; "ui:WrapIfAdditionalTemplate"?: React.ComponentType> | undefined; "ui:classNames"?: string | undefined; "ui:style"?: React.StyleHTMLAttributes | undefined; "ui:title"?: string | undefined; "ui:description"?: string | undefined; "ui:placeholder"?: string | undefined; "ui:help"?: string | undefined; "ui:autofocus"?: boolean | undefined; "ui:autocomplete"?: AutoFill | undefined; "ui:disabled"?: boolean | undefined; "ui:emptyValue"?: any; "ui:enumDisabled"?: (string | number | boolean)[] | undefined; "ui:hideError"?: boolean | undefined; "ui:readonly"?: boolean | undefined; "ui:order"?: string[] | undefined; "ui:addable"?: boolean | undefined; "ui:orderable"?: boolean | undefined; "ui:removable"?: boolean | undefined; "ui:inline"?: boolean | undefined; "ui:inputType"?: string | undefined; "ui:label"?: boolean | undefined; "ui:rows"?: number | undefined; "ui:submitButtonOptions"?: import("@rjsf/utils").UISchemaSubmitButtonOptions | undefined; "ui:widget"?: string | import("@rjsf/utils").Widget | undefined; "ui:duplicateKeySuffixSeparator"?: string | undefined; "ui:rootFieldId"?: string; "ui:field"?: string | import("@rjsf/utils").Field | undefined; "ui:fieldReplacesAnyOrOneOf"?: boolean; }; isGatheringsArray: (schema: JSONSchemaObject | JSONSchemaArray) => schema is JSONSchemaArray; onPlaceSelected: (place: NamedPlace) => void; onPlaceDeleted: (place: NamedPlace & { id: string; }, end: () => void) => Promise; onButtonClick: () => () => void; updatePlaces: (response: { results: NamedPlace[]; }) => void; getNamedPlacesUnsubscribe: () => void; componentDidMount(): void; componentWillUnmount(): void; onHide: () => void; render(): JSX.Element; } export {};