mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-5179] Add search facet tabbed component for creator and modifier (#8775)
This commit is contained in:
49
docs/content-services/components/search-facet-chip-tabbed.md
Normal file
49
docs/content-services/components/search-facet-chip-tabbed.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
Title: Search facet chip tabbed component
|
||||
Added: v6.2.0
|
||||
Status: Active
|
||||
Last reviewed: 2023-07-18
|
||||
---
|
||||
|
||||
# [Search facet chip tabbed component](../../../lib/content-services/src/lib/search/components/search-filter-chips/search-facet-chip-tabbed/search-facet-chip-tabbed.component.ts "Defined in search-facet-chip-tabbed.component.ts")
|
||||
|
||||
Implements a [facet widget](../../../lib/content-services/src/lib/search/models/facet-widget.interface.ts) consisting of creator and modifier facets inside tabbed component.
|
||||
|
||||

|
||||
|
||||
## Basic usage
|
||||
When both creator and modifier facets are present in config file as stated below they will be merged into this component.
|
||||
|
||||
```json
|
||||
{
|
||||
"search": {
|
||||
"facetFields": {
|
||||
"fields": [
|
||||
{
|
||||
"mincount": 1,
|
||||
"field": "creator",
|
||||
"label": "SEARCH.FACET_FIELDS.CREATOR",
|
||||
},
|
||||
{
|
||||
"mincount": 1,
|
||||
"field": "modifier",
|
||||
"label": "SEARCH.FACET_FIELDS.MODIFIER",
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Settings
|
||||
|
||||
| Name | Type | Description |
|
||||
| ---- | ---- | ----------- |
|
||||
| tabbedFacet | [TabbedFacetField](../../../lib/content-services/src/lib/search/models/tabbed-facet-field.interface.ts) | Tabbed facet configuration containing label, fields and facets to display. Required value |
|
||||
|
||||
## See also
|
||||
|
||||
- [Search Configuration Guide](../../user-guide/search-configuration-guide.md)
|
||||
- [Search Query Builder service](../services/search-query-builder.service.md)
|
||||
- [Search Widget Interface](../interfaces/search-widget.interface.md)
|
||||
- [Search chip autocomplete input component](search-chip-autocomplete-input.component.md)
|
BIN
docs/docassets/images/search-facet-chip-tabbed.png
Normal file
BIN
docs/docassets/images/search-facet-chip-tabbed.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
@@ -51,6 +51,7 @@ backend services have been tested with each released version of ADF.
|
||||
- [Search Date Range Advanced Component](content-services/components/search-date-range-advanced.component.md)
|
||||
- [Search Date Range Advanced Tabbed Component](content-services/components/search-date-range-advanced-tabbed.component.md)
|
||||
- [Search Filter Tabbed Component](content-services/components/search-filter-tabbed.component.md)
|
||||
- [Search Facet Chip Tabbed Component](content-services/components/search-facet-chip-tabbed.md)
|
||||
|
||||
<!--v620 end-->
|
||||
|
||||
|
Reference in New Issue
Block a user