({
+ clusters: [{key: '', value: 'Any'}].concat(
+ state.auth.sessions
+ .filter(s => s.loggedIn)
+ .map(s => ({
+ key: s.clusterId,
+ value: s.clusterId
+ })))
+ }))((props: SearchBarClusterFieldProps) => ;
+ items={props.clusters}/>
+ );
-export const SearchBarProjectField = () =>
- Box
;
+export const SearchBarProjectField = () =>
+ ;
+
+const ProjectsPicker = (props: WrappedFieldProps) =>
+
+ ) => {
+ props.input.onChange(id);
+ }
+ } />
+
;
-export const SearchBarTrashField = () =>
+export const SearchBarTrashField = () =>
;
-export const SearchBarDataFromField = () =>
+export const SearchBarDateFromField = () =>
;
-export const SearchBarDataToField = () =>
+export const SearchBarDateToField = () =>
;
-export const SearchBarKeyField = () =>
- ;
+export const SearchBarPropertiesField = () =>
+ ;
-export const SearchBarValueField = () =>
- ;
+export const SearchBarKeyField = connectVocabulary(
+ ({ vocabulary }: VocabularyProp) =>
+ );
+
+export const SearchBarValueField = compose(
+ connectVocabulary,
+ formValues({ propertyKey: 'key' })
+)(
+ (props: PropertyValueFieldProps) =>
+ );
-export const SearchBarSaveSearchField = () =>
+export const SearchBarSaveSearchField = () =>
;
+ label="Save query" />;
-export const SearchBarQuerySearchField = () =>
+export const SearchBarQuerySearchField = () =>
;
\ No newline at end of file
+ label="Query name" />;