2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* ListBox is used to select one or more values from a list of items.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/listbox/)
|
|
|
|
*
|
|
|
|
* @module listboxstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum ListboxClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-listbox',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
header = 'p-listbox-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFilter = 'p-listbox-filter',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the list container element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
listContainer = 'p-listbox-list-container',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
list = 'p-listbox-list',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the option group element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
optionGroup = 'p-listbox-option-group',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the option element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
option = 'p-listbox-option',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the option check icon element
|
|
|
|
*/
|
2024-05-09 10:02:54 +00:00
|
|
|
optionCheckIcon = 'p-listbox-option-check-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the option blank icon element
|
|
|
|
*/
|
2024-05-09 10:02:54 +00:00
|
|
|
optionBlankIcon = 'p-listbox-option-blank-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the empty message element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
emptyMessage = 'p-listbox-empty-message'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface ListboxStyle extends BaseStyle {}
|