figures.js 692 B

1234567891011121314151617181920212223242526
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.figures = void 0;
  4. const is_unicode_supported_1 = require("./is-unicode-supported");
  5. const FIGURES_MAIN = {
  6. warning: '⚠',
  7. cross: '✖',
  8. arrowDown: '↓',
  9. tick: '✔',
  10. arrowRight: '→',
  11. pointer: '❯',
  12. checkboxOn: '☒',
  13. arrowLeft: '←',
  14. squareSmallFilled: '◼',
  15. pointerSmall: '›'
  16. };
  17. const FIGURES_FALLBACK = {
  18. ...FIGURES_MAIN,
  19. warning: '‼',
  20. cross: '×',
  21. tick: '√',
  22. pointer: '>',
  23. checkboxOn: '[×]',
  24. squareSmallFilled: '■'
  25. };
  26. exports.figures = (0, is_unicode_supported_1.isUnicodeSupported)() ? FIGURES_MAIN : FIGURES_FALLBACK;