()
| 517 | return this.getGroupItems(u3).every((F5) => this.value.includes(F5.value)); |
| 518 | } |
| 519 | toggleValue() { |
| 520 | const u3 = this.options[this.cursor]; |
| 521 | if (u3.group === true) { |
| 522 | const F5 = u3.value, e3 = this.getGroupItems(F5); |
| 523 | this.isGroupSelected(F5) ? this.value = this.value.filter((s2) => e3.findIndex((C5) => C5.value === s2) === -1) : this.value = [...this.value, ...e3.map((s2) => s2.value)], this.value = Array.from(new Set(this.value)); |
| 524 | } else { |
| 525 | const F5 = this.value.includes(u3.value); |
| 526 | this.value = F5 ? this.value.filter((e3) => e3 !== u3.value) : [...this.value, u3.value]; |
| 527 | } |
| 528 | } |
| 529 | }; |
| 530 | pD2 = Object.defineProperty; |
| 531 | fD2 = (t2, u3, F5) => u3 in t2 ? pD2(t2, u3, { enumerable: true, configurable: true, writable: true, value: F5 }) : t2[u3] = F5; |
no test coverage detected