adds two new components to deal with blacklab api for showing kwic highlights:
pb-kwic-results uses blacklab api to dispatch a CQL query and display the results in a paginated list of result documents along with the first matches in text. The display is similar to the eXist-db kwic module
pb-highlight displays kwic results within a document. It will be triggered by pb-kwic-results if the user uses either the document link or a specific hit. Navigation controls allow to jump forward/backward to next/previous highlight. If several highlights exist on one page the current highlight gets a different color which is configurable via highlight.css
Note: Demo pages have been sketched but are not functional yet, as the blacklab api still needs to be integrated before. There's no sensible demo without the endpoint, so that should be done later.
adds two new components to deal with blacklab api for showing kwic highlights:
Note: Demo pages have been sketched but are not functional yet, as the blacklab api still needs to be integrated before. There's no sensible demo without the endpoint, so that should be done later.