FilterOldEmbed
components/filter/old/Embed.vue
No-chrome variant of the filter list/edit UI — same add/edit rows as FilterOldManage (key input, operator select, value input, suggestion dropdowns) without the modal wrapper, header, or footer buttons; edits apply immediately rather than needing Apply/Cancel. Still used live as Filter's embed=true fallback (not yet redesigned).
method
is
GET
Delete
Scenarios
Empty
Several filters
method
is
GET
Delete
status
is not
200
Delete
destination
contains
qpoint
Delete
bin
tag exists
Delete
components/filter/old/Embed.vue
Usage
<FilterOldEmbed
:filters = "[]"
:availableKeyDefs = "[]"
:valSuggestions = "{}"
:filterKeyDefs = "[]"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| filters | Array | [] | { key, operator, val }[] — current filters. |
| availableKeyDefs | Array | [] | FilterKeyDefinition[] not already used by an existing filter — offered when adding. |
| valSuggestions | Object | {} | Map of key -> string[] value suggestions. |
| filterKeyDefs | Array | [] | FilterKeyDefinition[] — full key vocabulary, used to resolve operators and tag-vs-attribute type per key. |
Events
| Event | Description |
|---|---|
| update:filters | Fired with the full updated filters array on add/edit/delete. |
| requestKeySuggestions | Fired on key-input focus so the consumer can (re)fetch availableKeyDefs. |
| requestValSuggestions | Fired with { key } on value-input focus so the consumer can fetch valSuggestions[key]. |