(value: string)
| 377 | } |
| 378 | |
| 379 | private getQuery(value: string): string { |
| 380 | const { delimiter } = this.options; |
| 381 | if (!delimiter) { |
| 382 | return value; |
| 383 | } |
| 384 | const parts = value.split(delimiter); |
| 385 | return parts[parts.length - 1]!.trim(); |
| 386 | } |
| 387 | |
| 388 | private getSuggestionsLocal(query: string): AutocompleteResponse { |
| 389 | const options = this.options; |
no outgoing calls
no test coverage detected