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

geonetwork / geonetwork-ui / 19326962313

13 Nov 2025 09:34AM UTC coverage: 84.524% (+0.3%) from 84.183%
19326962313

push

github

web-flow
Merge pull request #1400 from geonetwork/dh-stac-items-grid

[Datahub]: Add STAC items results grid

3933 of 5204 branches covered (75.58%)

Branch coverage included in aggregate %.

88 of 96 new or added lines in 10 files covered. (91.67%)

11043 of 12514 relevant lines covered (88.25%)

347.83 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