import { TuplePage } from '@/services/data/query/tuple-page' ; import { Bucket , BucketId } from '@/services/data/tuples/bucket-types' ; import { Indicator } from '@/services/data/tuples/indicator-types' ; import { Navigation } from '@/services/data/tuples/navigation-types' ; import { QueryByBucketMethod } from '@/services/data/tuples/query-bucket-types' ; import { Topic , TopicId } from '@/services/data/tuples/topic-types' ; import { QueryTuple } from '@/services/data/tuples/tuple-types' ; export enum NavigationEventTypes { NAVIGATION_PICKED = 'navigation-picked' , ASK_NAVIGATION = 'ask-navigation' , NAVIGATION_SEARCHED = 'navigation-searched' , ASK_NAVIGATION_QUERY_PAGE_DATA = 'ask-navigation-query-page-data' , TO_EDIT_NAVIGATION = 'to-edit-navigation' , SWITCH_INDICATOR_CANDIDATES = 'switch-indicator_candidates' , BACK_TO_QUERY = 'back-to-query' , NAME_CHANGED = 'name-changed' , SAVE_NAVIGATION = 'save-navigation' , NAVIGATION_SAVED = 'navigation-saved' , ASK_INDICATORS = 'ask-indicators' , ASK_TOPIC = 'ask-topic' , ASK_VALUE_BUCKETS = 'ask-value-buckets' , ASK_MEASURE_BUCKETS = 'ask-measure-buckets' } export interface NavigationEventBus { fire ( type , navigation ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , page , searchText ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , navigation ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , navigation , view ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , navigation , onSaved ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , navigation , onSaved ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , navigation ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , topicId , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , bucketIds , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , methods , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }