constants.ts 676 B

123456789101112131415161718192021222324252627282930313233
  1. import { BASE_CLASS_PREFIX } from '../base/constants';
  2. const cssClasses = {
  3. PREFIX: `${BASE_CLASS_PREFIX}-popconfirm`,
  4. POPOVER: `${BASE_CLASS_PREFIX}-popconfirm-popover`,
  5. };
  6. const strings = {
  7. POSITION_SET: [
  8. 'top',
  9. 'topLeft',
  10. 'topRight',
  11. 'left',
  12. 'leftTop',
  13. 'leftBottom',
  14. 'right',
  15. 'rightTop',
  16. 'rightBottom',
  17. 'bottom',
  18. 'bottomLeft',
  19. 'bottomRight',
  20. 'leftTopOver',
  21. 'rightTopOver',
  22. ],
  23. TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
  24. };
  25. const numbers = {
  26. SPACING: 4,
  27. DEFAULT_Z_INDEX: 1030,
  28. };
  29. export { cssClasses, strings, numbers };