({
+ clusters: [{key: '', value: 'Any'}].concat(
+ state.auth.sessions
+ .filter(s => s.loggedIn)
+ .map(s => ({
+ key: s.clusterId,
+ value: s.clusterId
+ })))
+ }))((props: SearchBarClusterFieldProps) => ;
+ component={NativeSelectField as any}
+ items={props.clusters}/>
+ );
+
+export const SearchBarProjectField = () =>
+ ;
-export const SearchBarProjectField = () =>
+const ProjectsPicker = (props: WrappedFieldProps) =>
+
+ ) => {
+ props.input.onChange(id);
+ }
+ } />
+
;
+
+export const SearchBarTrashField = () =>
;
-
-export const SearchBarTrashField = () =>
-
- }
+ name='inTrash'
+ component={CheckboxField}
label="In trash" />;
-export const SearchBarDataFromField = () =>
+export const SearchBarPastVersionsField = () =>
;
+ name='pastVersions'
+ component={CheckboxField}
+ label="Past versions" />;
-export const SearchBarDataToField = () =>
+export const SearchBarDateFromField = () =>
;
+ name='dateFrom'
+ component={DateTextField as any} />;
-export const SearchBarKeyField = () =>
+export const SearchBarDateToField = () =>
;
+ name='dateTo'
+ component={DateTextField as any} />;
+
+export const SearchBarPropertiesField = () =>
+ ;
+
+export const SearchBarKeyField = () =>
+ ;
-export const SearchBarValueField = () =>
+export const SearchBarValueField = () =>
+ ;
+
+export const SearchBarSaveSearchField = () =>
;
-
-export const SearchBarSaveSearchField = () =>
-
- }
- label="Save search query" />;
-
-export const SearchBarQuerySearchField = () =>
+ name='saveQuery'
+ component={CheckboxField}
+ label="Save query" />;
+
+export const SearchBarQuerySearchField = () =>
;
\ No newline at end of file
+ name='queryName'
+ component={TextField as any}
+ label="Query name" />;