openscd / oscd-filtered-list

Apache License 2.0
0 stars 0 forks source link

Create `oscd-filtered-list` based on `filtered-list` #1

Closed ca-d closed 1 year ago

ca-d commented 1 year ago

As a plugin author and maintainer of already existing plugins, I need to have open-scds filtered-list available through nmp.

Requirements:

name type description
searchFieldLabel string text on the filter textbox
disableCheckAll boolean disable the "check all" button
filter string the current value of the filter textbox
wrapFocus boolean whether focus wraps around the end and beginning of the list
multi boolean multi-select
activatable boolean color icons permanently on clicking
@action event fired before selection is made (find out: is this actually needed?)
@selected event fired after selection is made

TODO: search codebase for instances of filtered-list usage and add any properties/events/methods used that are not listed here.

Additional Information This web-component is used pretty much everywhere in the software

Sander3003 commented 1 year ago

Almost done; Still todo: some testing

Sander3003 commented 1 year ago

The documentation needs to be added in the readme.md