mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #5681
This commit is contained in:
parent
3cc675e50f
commit
e1367fd494
89 changed files with 376 additions and 339 deletions
2
components/lib/tree/Tree.d.ts
vendored
2
components/lib/tree/Tree.d.ts
vendored
|
@ -112,7 +112,7 @@ export interface TreePassThroughOptions<T = any> {
|
|||
* Used to pass attributes to the input's DOM element.
|
||||
* @see {@link InputTextPassThroughOptions}
|
||||
*/
|
||||
filterInput?: InputTextPassThroughOptions<TreeSharedPassThroughMethodOptions>;
|
||||
pcFilterInput?: InputTextPassThroughOptions<TreeSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the filter icon's DOM element.
|
||||
*/
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<div v-if="filter" :class="cx('filterContainer')" v-bind="ptm('filterContainer')">
|
||||
<InputText v-model="filterValue" autocomplete="off" :class="cx('filterInput')" :placeholder="filterPlaceholder" @keydown="onFilterKeydown" v-bind="ptm('filterInput')" />
|
||||
<InputText v-model="filterValue" autocomplete="off" :class="cx('pcFilterInput')" :placeholder="filterPlaceholder" @keydown="onFilterKeydown" v-bind="ptm('pcFilterInput')" />
|
||||
<!--TODO: searchicon deprecated since v4.0-->
|
||||
<slot :name="$slots.filtericon ? 'filtericon' : 'searchicon'" :class="cx('filterIcon')">
|
||||
<SearchIcon :class="cx('filterIcon')" v-bind="ptm('filterIcon')" />
|
||||
|
|
|
@ -191,7 +191,7 @@ const classes = {
|
|||
mask: 'p-tree-mask p-component-overlay',
|
||||
loadingIcon: 'p-tree-loading-icon',
|
||||
filterContainer: 'p-tree-filter-container',
|
||||
filterInput: 'p-tree-filter-input',
|
||||
pcFilterInput: 'p-tree-filter-input',
|
||||
filterIcon: 'p-tree-filter-icon',
|
||||
wrapper: 'p-tree-root', //TODO: discuss
|
||||
rootChildren: 'p-tree-root-children',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue