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

geonetwork / geonetwork-ui / 11880026268

17 Nov 2024 03:22PM UTC coverage: 83.556% (+0.3%) from 83.209%
11880026268

push

github

web-flow
Merge pull request #1032 from geonetwork/ME-record-field-contraints

Metadata Editor: constraints fields

2900 of 3930 branches covered (73.79%)

Branch coverage included in aggregate %.

203 of 222 new or added lines in 21 files covered. (91.44%)

8243 of 9406 relevant lines covered (87.64%)

219.69 hits per line

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

83.33
/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.ts
1
import {
1✔
2
  ChangeDetectionStrategy,
3
  Component,
4
  EventEmitter,
5
  Input,
6
  Output,
7
} from '@angular/core'
8
import { FormsModule } from '@angular/forms'
1✔
9

10
@Component({
11
  selector: 'gn-ui-check-toggle',
12
  templateUrl: './check-toggle.component.html',
13
  styleUrls: ['./check-toggle.component.css'],
14
  changeDetection: ChangeDetectionStrategy.OnPush,
15
  standalone: true,
16
  imports: [FormsModule],
17
})
18
export class CheckToggleComponent {
1✔
19
  @Input() title: string
20
  @Input() label: string
21
  @Input() value: boolean
22
  @Input() color: 'primary' | 'secondary' = 'primary'
1✔
23
  @Output() toggled = new EventEmitter<boolean>()
1✔
24

25
  toggle(value: boolean) {
NEW
26
    this.toggled.emit(value)
×
27
  }
28
}
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