@@ -9,7 +9,12 @@ import { PropertyService } from '@services';
99import { SubSink } from 'subsink' ;
1010import * as models from '@models' ;
1111import { ProductTypeSelectorComponent } from '../product-type-selector/product-type-selector.component' ;
12- import { MatFormField , MatHint , MatInput } from '@angular/material/input' ;
12+ import {
13+ MatFormField ,
14+ MatHint ,
15+ MatInput ,
16+ MatLabel ,
17+ } from '@angular/material/input' ;
1318import { MatSelect , MatOption } from '@angular/material/select' ;
1419import { FormsModule } from '@angular/forms' ;
1520import { ShortNameSelectorComponent } from '../short-name-selector/short-name-selector.component' ;
@@ -27,6 +32,7 @@ import { TranslateModule } from '@ngx-translate/core';
2732
2833 MatOption ,
2934 MatHint ,
35+ MatLabel ,
3036 MatInput ,
3137 ShortNameSelectorComponent ,
3238 TranslateModule ,
@@ -43,6 +49,7 @@ export class OtherSelectorComponent implements OnInit, OnDestroy {
4349 polarizations : models . DatasetPolarizations ;
4450 subtypes : models . DatasetSubtypes ;
4551 groupID : string ;
52+ ariaVersion : string ;
4653
4754 public datasetProductTypes$ = this . store$ . select (
4855 filtersStore . getProductTypes ,
@@ -55,7 +62,6 @@ export class OtherSelectorComponent implements OnInit, OnDestroy {
5562 public selectedDataset$ = this . store$ . select ( filtersStore . getSelectedDataset ) ;
5663 public subtypes$ = this . store$ . select ( filtersStore . getSubtypes ) ;
5764 public groupID$ = this . store$ . select ( filtersStore . getGroupID ) ;
58-
5965 public flightDirectionTypes = models . flightDirections ;
6066 public p = models . Props ;
6167 private subs = new SubSink ( ) ;
@@ -96,6 +102,11 @@ export class OtherSelectorComponent implements OnInit, OnDestroy {
96102 this . subs . add (
97103 this . groupID$ . subscribe ( ( groupID ) => ( this . groupID = groupID ) ) ,
98104 ) ;
105+ this . subs . add (
106+ this . store$
107+ . select ( filtersStore . getAriaVersion )
108+ . subscribe ( ( version ) => ( this . ariaVersion = version ) ) ,
109+ ) ;
99110 }
100111
101112 public onNewDatasetBeamModes ( beamModes : string [ ] ) : void {
@@ -127,6 +138,9 @@ export class OtherSelectorComponent implements OnInit, OnDestroy {
127138 public onNewSubtypeSelected ( subtypes ) : void {
128139 this . store$ . dispatch ( new filtersStore . SetSubtypes ( subtypes ) ) ;
129140 }
141+ public onNewAriaVersionSelected ( version ) : void {
142+ this . store$ . dispatch ( new filtersStore . setAriaVersion ( version ) ) ;
143+ }
130144
131145 public onNewGroupID ( ) : void {
132146 if ( this . groupID . length > 29 ) {
0 commit comments