constants.ts 554 B

123456789101112131415161718
  1. import { strings as tooltipStrings } from '../tooltip/constants';
  2. import { BASE_CLASS_PREFIX, VALIDATE_STATUS } from '../base/constants';
  3. const cssClasses = {
  4. PREFIX: `${BASE_CLASS_PREFIX}-autocomplete`,
  5. PREFIX_OPTION: `${BASE_CLASS_PREFIX}-autoComplete-option`,
  6. PREFIX_GROUP: `${BASE_CLASS_PREFIX}-autoComplete-group`,
  7. };
  8. const strings = {
  9. SIZE: ['small', 'large', 'default'],
  10. POSITION: tooltipStrings.POSITION_SET,
  11. OPTIONS: ['children', 'value'],
  12. STATUS: VALIDATE_STATUS,
  13. } as const;
  14. export { cssClasses, strings };