123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- "use strict";
- /* eslint-disable sort-keys-fix/sort-keys-fix */
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.getBorderCharacters = void 0;
- const getBorderCharacters = (name) => {
- if (name === 'honeywell') {
- return {
- topBody: '═',
- topJoin: '╤',
- topLeft: '╔',
- topRight: '╗',
- bottomBody: '═',
- bottomJoin: '╧',
- bottomLeft: '╚',
- bottomRight: '╝',
- bodyLeft: '║',
- bodyRight: '║',
- bodyJoin: '│',
- headerJoin: '┬',
- joinBody: '─',
- joinLeft: '╟',
- joinRight: '╢',
- joinJoin: '┼',
- joinMiddleDown: '┬',
- joinMiddleUp: '┴',
- joinMiddleLeft: '┤',
- joinMiddleRight: '├',
- };
- }
- if (name === 'norc') {
- return {
- topBody: '─',
- topJoin: '┬',
- topLeft: '┌',
- topRight: '┐',
- bottomBody: '─',
- bottomJoin: '┴',
- bottomLeft: '└',
- bottomRight: '┘',
- bodyLeft: '│',
- bodyRight: '│',
- bodyJoin: '│',
- headerJoin: '┬',
- joinBody: '─',
- joinLeft: '├',
- joinRight: '┤',
- joinJoin: '┼',
- joinMiddleDown: '┬',
- joinMiddleUp: '┴',
- joinMiddleLeft: '┤',
- joinMiddleRight: '├',
- };
- }
- if (name === 'ramac') {
- return {
- topBody: '-',
- topJoin: '+',
- topLeft: '+',
- topRight: '+',
- bottomBody: '-',
- bottomJoin: '+',
- bottomLeft: '+',
- bottomRight: '+',
- bodyLeft: '|',
- bodyRight: '|',
- bodyJoin: '|',
- headerJoin: '+',
- joinBody: '-',
- joinLeft: '|',
- joinRight: '|',
- joinJoin: '|',
- joinMiddleDown: '+',
- joinMiddleUp: '+',
- joinMiddleLeft: '+',
- joinMiddleRight: '+',
- };
- }
- if (name === 'void') {
- return {
- topBody: '',
- topJoin: '',
- topLeft: '',
- topRight: '',
- bottomBody: '',
- bottomJoin: '',
- bottomLeft: '',
- bottomRight: '',
- bodyLeft: '',
- bodyRight: '',
- bodyJoin: '',
- headerJoin: '',
- joinBody: '',
- joinLeft: '',
- joinRight: '',
- joinJoin: '',
- joinMiddleDown: '',
- joinMiddleUp: '',
- joinMiddleLeft: '',
- joinMiddleRight: '',
- };
- }
- throw new Error('Unknown border template "' + name + '".');
- };
- exports.getBorderCharacters = getBorderCharacters;
- //# sourceMappingURL=getBorderCharacters.js.map
|