• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

geonetwork / geonetwork-ui / 19108470805

05 Nov 2025 04:12PM UTC coverage: 84.538% (-0.02%) from 84.554%
19108470805

Pull #1400

github

web-flow
Merge 9feb29cfd into 2abe6a279
Pull Request #1400: [Datahub]: Add STAC items results grid

3911 of 5164 branches covered (75.74%)

Branch coverage included in aggregate %.

86 of 93 new or added lines in 11 files covered. (92.47%)

11004 of 12479 relevant lines covered (88.18%)

348.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

63.64
/libs/ui/inputs/src/lib/date-range-inputs/date-range-inputs.component.ts
1
import {
1✔
2
  ChangeDetectionStrategy,
3
  Component,
4
  EventEmitter,
5
  Input,
6
  Output,
7
} from '@angular/core'
8
import { DatePickerComponent } from '../date-picker/date-picker.component'
1✔
9
import { DatasetTemporalExtent } from '@geonetwork-ui/common/domain/model/record/metadata.model'
1✔
10
import { TranslateDirective } from '@ngx-translate/core'
1✔
11
import { CommonModule } from '@angular/common'
1✔
12

13
@Component({
14
  selector: 'gn-ui-date-range-inputs',
15
  standalone: true,
16
  imports: [CommonModule, TranslateDirective, DatePickerComponent],
17
  templateUrl: './date-range-inputs.component.html',
18
  styleUrl: './date-range-inputs.component.css',
19
  changeDetection: ChangeDetectionStrategy.OnPush,
20
})
21
export class DateRangeInputsComponent {
1✔
22
  @Input() temporalExtent: DatasetTemporalExtent | null
23
  @Output() temporalExtentChange =
1✔
24
    new EventEmitter<DatasetTemporalExtent | null>()
25

26
  onStartDateChange(date: Date) {
NEW
27
    this.temporalExtent = {
×
28
      ...this.temporalExtent,
29
      start: date,
30
    }
NEW
31
    this.temporalExtentChange.emit(this.temporalExtent)
×
32
  }
33

34
  onEndDateChange(date: Date) {
NEW
35
    this.temporalExtent = {
×
36
      ...this.temporalExtent,
37
      end: date,
38
    }
NEW
39
    this.temporalExtentChange.emit(this.temporalExtent)
×
40
  }
41
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc