2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* AutoComplete is an input component that provides real-time suggestions while being typed.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/autocomplete/)
|
|
|
|
*
|
|
|
|
* @module autocompletestyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum AutoCompleteClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-autocomplete',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the input element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcInput = 'p-autocomplete-input',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the input multiple element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
inputMultiple = 'p-autocomplete-input-multiple',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the chip item element
|
|
|
|
*/
|
2024-05-15 07:35:36 +00:00
|
|
|
chipItem = 'p-autocomplete-chip-item',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the chip element
|
|
|
|
*/
|
2024-05-15 07:35:36 +00:00
|
|
|
pcChip = 'p-autocomplete-chip',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the chip icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
chipIcon = 'p-autocomplete-chip-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the input chip element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
inputChip = 'p-autocomplete-input-chip',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the loader element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
loader = 'p-autocomplete-loader',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the dropdown element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
dropdown = 'p-autocomplete-dropdown',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the panel element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
panel = 'p-autocomplete-overlay',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
list = 'p-autocomplete-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-autocomplete-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-autocomplete-option',
|
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-autocomplete-empty-message'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface AutoCompleteStyle extends BaseStyle {}
|