mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* * Genearated EditTaskFilterCloudComponent * * Added unit tests to the editTaskFiltercomponent * Added unit tests to the taskFilterDialog * Added id selector * * Added translation keys to the editTaskFilter component* Added translation keys related to the editTask in the en.json file* Changed FilterRepresentationModel to TaskFilterCloudRepresentationModel* Refactored editTaskFilterComponent* Created a deleteFilter method in the taskService * * Refactored editTaskFilterComponent * * used new editTaskFilterCloud component in the demo shell * * Refactored editTaskFilter component* Updated unit tests * Refresh the filters after the action Reset the values after the EditComponentChanges Improve the code * * Added translate keys in demo shell for edittaskDialog component * Modified translate keys for editTaskFilterCLoud component * * Added documentation to the editTaskFilter component.* Fixed a typo.* Fixed Failing Test cases. * Added a EditTaskFilterCloud png * rebase to dev fix bugs and improve integration * * Fixed tsLint css error * * Fixed tslint css error * Fixed one unit test * Move the concern of save delete saveAs into the component fix integration with Demo shell fix bugs * * Updated unit test to the recent changes * * Updated editTaskFIlter doc * Added unit tests to the taskFIlterDialog component * * Updated editTaskFIlter doc* Added unit tests to the taskFIlterDialog component * * Merged task filter models to a single model * * Updated tests with new taskfilter model * * Updated documentation for new taskfilter model * * Used new taskfilter model in the demo * * Improved filter selection method * * Removed unnecessory tanslate keys from demo shell * Modified filterCloudModel * fixed unit tests to the recent changes * * Improved change handling for filter properties * * Improved unit tests
2.1 KiB
2.1 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Task Filters Cloud component | v3.0.0 | Active | 2018-20-11 |
Task Filters Cloud component
Shows all available filters.
Basic Usage
<adf-cloud-task-filters></adf-cloud-task-filters>
Class members
Properties
Name | Type | Default value | Description |
---|---|---|---|
appName | string |
Display filters available to the current user for the application with the specified name. | |
filterParam | TaskFilterCloudModel |
Parameters to use for the task filter cloud. If there is no match then the default filter (the first one in the list) is selected. | |
showIcons | boolean |
false | Toggles display of the filter's icons. |
Events
Name | Type | Description |
---|---|---|
error | EventEmitter <any> |
Emitted when an error occurs during loading. |
filterClick | EventEmitter < TaskFilterCloudModel > |
Emitted when a filter in the list is clicked. |
success | EventEmitter <any> |
Emitted when the list is loaded. |
Details
Filtering APS2 task filters
Use the filterParam
property to restrict the range of filters that are shown:
<adf-cloud-task-filters
[filterParam]="{name:'My tasks'}">
</adf-cloud-task-filters>
You can use properties from TaskFilterCloudModel
as the value of filterParam
as shown in the table below:
Name | Type | Description |
---|---|---|
id | string | The id of the task filter |
name | string | The name of the task filter, lowercase is checked |
key | string | The key of the task filter |
index | string | The zero-based position of the filter in the array. |