|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- "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: '┼',
- };
- }
- if (name === 'norc') {
- return {
- topBody: '─',
- topJoin: '┬',
- topLeft: '┌',
- topRight: '┐',
- bottomBody: '─',
- bottomJoin: '┴',
- bottomLeft: '└',
- bottomRight: '┘',
- bodyLeft: '│',
- bodyRight: '│',
- bodyJoin: '│',
- headerJoin: '┬',
- joinBody: '─',
- joinLeft: '├',
- joinRight: '┤',
- joinJoin: '┼',
- };
- }
- if (name === 'ramac') {
- return {
- topBody: '-',
- topJoin: '+',
- topLeft: '+',
- topRight: '+',
- bottomBody: '-',
- bottomJoin: '+',
- bottomLeft: '+',
- bottomRight: '+',
- bodyLeft: '|',
- bodyRight: '|',
- bodyJoin: '|',
- headerJoin: '+',
- joinBody: '-',
- joinLeft: '|',
- joinRight: '|',
- joinJoin: '|',
- };
- }
- if (name === 'void') {
- return {
- topBody: '',
- topJoin: '',
- topLeft: '',
- topRight: '',
- bottomBody: '',
- bottomJoin: '',
- bottomLeft: '',
- bottomRight: '',
- bodyLeft: '',
- bodyRight: '',
- bodyJoin: '',
- headerJoin: '',
- joinBody: '',
- joinLeft: '',
- joinRight: '',
- joinJoin: '',
- };
- }
- throw new Error('Unknown border template "' + name + '".');
- };
- exports.getBorderCharacters = getBorderCharacters;
|