GlFilteredSearch - Add readonly state to search bar and tokens

Problem to solve

For gitlab#344452 (closed) we need to show the GlFilteredSearch and tokens as read-only as certain roles don't have access to other terms.

Designs

image

Filter_search

Figma

Proposal

  1. Add a readonly property to GlFilteredSearch. When true:
    1. Don't show the suggestions list.
    2. Don't show the clear X button.
    3. Don't allow the user to type or clear any existing text or tokens.
  2. Add a disabled property to GlFilteredSearchToken. When true:
    1. Don't allow the user to change it.
    2. Don't show the clear X postfix.
Edited by Jiaan Louw