// Copyright (C) The Arvados Authors. All rights reserved.
//
// SPDX-License-Identifier: AGPL-3.0
import React from "react";
import { Field, 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 { SearchBarAdvancedPropertiesView } from 'views-components/search-bar/search-bar-advanced-properties-view';
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";
import { ProjectInput, ProjectCommandInputParameter } from 'views/run-process-panel/inputs/project-input';
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 = () =>
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 = () =>
;