()
| 26 | } |
| 27 | |
| 28 | private toggleAll() { |
| 29 | const enabledOptions = this._enabledOptions; |
| 30 | const allSelected = this.value !== undefined && this.value.length === enabledOptions.length; |
| 31 | this.value = allSelected ? [] : enabledOptions.map((v) => v.value); |
| 32 | } |
| 33 | |
| 34 | private toggleInvert() { |
| 35 | const value = this.value; |