// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import React from "react"; import { Field, WrappedFieldProps, FieldArray } from 'redux-form'; import { TextField, DateTextField } from "components/text-field/text-field"; import { CheckboxField } from 'components/checkbox-field/checkbox-field'; import { NativeSelectField } from 'components/select-field/select-field'; import { ResourceKind } from 'models/resource'; import { HomeTreePicker } from 'views-components/projects-tree-picker/home-tree-picker'; import { SEARCH_BAR_ADVANCED_FORM_PICKER_ID } from 'store/search-bar/search-bar-actions'; import { SearchBarAdvancedPropertiesView } from 'views-components/search-bar/search-bar-advanced-properties-view'; import { TreeItem } from "components/tree/tree"; import { ProjectsTreePickerItem } from "views-components/projects-tree-picker/generic-projects-tree-picker"; import { PropertyKeyField, } from 'views-components/resource-properties-form/property-key-field'; import { PropertyValueField } from 'views-components/resource-properties-form/property-value-field'; import { connect } from "react-redux"; import { RootState } from "store/store"; export const SearchBarTypeField = () => ; interface SearchBarClusterFieldProps { clusters: { key: string, value: string }[]; } export const SearchBarClusterField = connect( (state: RootState) => ({ clusters: [{key: '', value: 'Any'}].concat( state.auth.sessions .filter(s => s.loggedIn) .map(s => ({ key: s.clusterId, value: s.clusterId }))) }))((props: SearchBarClusterFieldProps) => ); export const SearchBarProjectField = () => ; const ProjectsPicker = (props: WrappedFieldProps) =>
) => { props.input.onChange(id); } } />
; export const SearchBarTrashField = () => ; export const SearchBarPastVersionsField = () => ; export const SearchBarDateFromField = () => ; export const SearchBarDateToField = () => ; export const SearchBarPropertiesField = () => ; export const SearchBarKeyField = () => ; export const SearchBarValueField = () => ; export const SearchBarSaveSearchField = () => ; export const SearchBarQuerySearchField = () => ;