@teaui/core 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dist/Buffer.d.ts +21 -0
- package/.dist/Buffer.js +140 -0
- package/.dist/Buffer.js.map +1 -0
- package/.dist/Color.d.ts +7 -0
- package/.dist/Color.js +39 -0
- package/.dist/Color.js.map +1 -0
- package/.dist/Container.d.ts +21 -0
- package/.dist/Container.js +138 -0
- package/.dist/Container.js.map +1 -0
- package/.dist/Screen.d.ts +54 -0
- package/.dist/Screen.js +278 -0
- package/.dist/Screen.js.map +1 -0
- package/.dist/Style.d.ts +46 -0
- package/.dist/Style.js +433 -0
- package/.dist/Style.js.map +1 -0
- package/.dist/System.d.ts +13 -0
- package/.dist/System.js +26 -0
- package/.dist/System.js.map +1 -0
- package/.dist/Theme.d.ts +56 -0
- package/.dist/Theme.js +157 -0
- package/.dist/Theme.js.map +1 -0
- package/.dist/UI.d.ts +2 -0
- package/.dist/UI.js +28 -0
- package/.dist/UI.js.map +1 -0
- package/.dist/View.d.ts +99 -0
- package/.dist/View.js +374 -0
- package/.dist/View.js.map +1 -0
- package/.dist/Viewport.d.ts +89 -0
- package/.dist/Viewport.js +295 -0
- package/.dist/Viewport.js.map +1 -0
- package/.dist/ansi.d.ts +31 -0
- package/.dist/ansi.js +139 -0
- package/.dist/ansi.js.map +1 -0
- package/.dist/components/Accordion.d.ts +47 -0
- package/.dist/components/Accordion.js +294 -0
- package/.dist/components/Accordion.js.map +1 -0
- package/.dist/components/Box.d.ts +67 -0
- package/.dist/components/Box.js +211 -0
- package/.dist/components/Box.js.map +1 -0
- package/.dist/components/Button.d.ts +28 -0
- package/.dist/components/Button.js +118 -0
- package/.dist/components/Button.js.map +1 -0
- package/.dist/components/Checkbox.d.ts +31 -0
- package/.dist/components/Checkbox.js +106 -0
- package/.dist/components/Checkbox.js.map +1 -0
- package/.dist/components/Collapsible.d.ts +32 -0
- package/.dist/components/Collapsible.js +109 -0
- package/.dist/components/Collapsible.js.map +1 -0
- package/.dist/components/CollapsibleText.d.ts +21 -0
- package/.dist/components/CollapsibleText.js +113 -0
- package/.dist/components/CollapsibleText.js.map +1 -0
- package/.dist/components/Digits.d.ts +20 -0
- package/.dist/components/Digits.js +843 -0
- package/.dist/components/Digits.js.map +1 -0
- package/.dist/components/Drawer.d.ts +44 -0
- package/.dist/components/Drawer.js +473 -0
- package/.dist/components/Drawer.js.map +1 -0
- package/.dist/components/Dropdown.d.ts +61 -0
- package/.dist/components/Dropdown.js +367 -0
- package/.dist/components/Dropdown.js.map +1 -0
- package/.dist/components/Header.d.ts +25 -0
- package/.dist/components/Header.js +106 -0
- package/.dist/components/Header.js.map +1 -0
- package/.dist/components/HotKey.d.ts +14 -0
- package/.dist/components/HotKey.js +31 -0
- package/.dist/components/HotKey.js.map +1 -0
- package/.dist/components/Input.d.ts +45 -0
- package/.dist/components/Input.js +1109 -0
- package/.dist/components/Input.js.map +1 -0
- package/.dist/components/Log.d.ts +16 -0
- package/.dist/components/Log.js +122 -0
- package/.dist/components/Log.js.map +1 -0
- package/.dist/components/Progress.d.ts +21 -0
- package/.dist/components/Progress.js +200 -0
- package/.dist/components/Progress.js.map +1 -0
- package/.dist/components/Scrollable.d.ts +50 -0
- package/.dist/components/Scrollable.js +226 -0
- package/.dist/components/Scrollable.js.map +1 -0
- package/.dist/components/ScrollableList.d.ts +70 -0
- package/.dist/components/ScrollableList.js +354 -0
- package/.dist/components/ScrollableList.js.map +1 -0
- package/.dist/components/Separator.d.ts +21 -0
- package/.dist/components/Separator.js +67 -0
- package/.dist/components/Separator.js.map +1 -0
- package/.dist/components/Slider.d.ts +60 -0
- package/.dist/components/Slider.js +341 -0
- package/.dist/components/Slider.js.map +1 -0
- package/.dist/components/Space.d.ts +19 -0
- package/.dist/components/Space.js +45 -0
- package/.dist/components/Space.js.map +1 -0
- package/.dist/components/Spinner.d.ts +16 -0
- package/.dist/components/Spinner.js +48 -0
- package/.dist/components/Spinner.js.map +1 -0
- package/.dist/components/Stack.d.ts +33 -0
- package/.dist/components/Stack.js +285 -0
- package/.dist/components/Stack.js.map +1 -0
- package/.dist/components/Tabs.d.ts +52 -0
- package/.dist/components/Tabs.js +312 -0
- package/.dist/components/Tabs.js.map +1 -0
- package/.dist/components/Text.d.ts +35 -0
- package/.dist/components/Text.js +242 -0
- package/.dist/components/Text.js.map +1 -0
- package/.dist/components/ToggleGroup.d.ts +26 -0
- package/.dist/components/ToggleGroup.js +279 -0
- package/.dist/components/ToggleGroup.js.map +1 -0
- package/.dist/components/Tree.d.ts +21 -0
- package/.dist/components/Tree.js +233 -0
- package/.dist/components/Tree.js.map +1 -0
- package/.dist/components/Window.d.ts +6 -0
- package/.dist/components/Window.js +17 -0
- package/.dist/components/Window.js.map +1 -0
- package/.dist/components/fonts.d.ts +2 -0
- package/.dist/components/fonts.js +39 -0
- package/.dist/components/fonts.js.map +1 -0
- package/.dist/components/index.d.ts +27 -0
- package/.dist/components/index.js +48 -0
- package/.dist/components/index.js.map +1 -0
- package/.dist/components/types.d.ts +6 -0
- package/.dist/components/types.js +20 -0
- package/.dist/components/types.js.map +1 -0
- package/.dist/components/utility/TrackMouse.d.ts +16 -0
- package/.dist/components/utility/TrackMouse.js +53 -0
- package/.dist/components/utility/TrackMouse.js.map +1 -0
- package/.dist/components/utility/index.d.ts +1 -0
- package/.dist/components/utility/index.js +6 -0
- package/.dist/components/utility/index.js.map +1 -0
- package/.dist/events/index.d.ts +12 -0
- package/.dist/events/index.js +20 -0
- package/.dist/events/index.js.map +1 -0
- package/.dist/events/key.d.ts +15 -0
- package/.dist/events/key.js +105 -0
- package/.dist/events/key.js.map +1 -0
- package/.dist/events/mouse.d.ts +65 -0
- package/.dist/events/mouse.js +68 -0
- package/.dist/events/mouse.js.map +1 -0
- package/.dist/events/window.d.ts +6 -0
- package/.dist/events/window.js +3 -0
- package/.dist/events/window.js.map +1 -0
- package/.dist/geometry.d.ts +178 -0
- package/.dist/geometry.js +315 -0
- package/.dist/geometry.js.map +1 -0
- package/.dist/iTerm2.d.ts +20 -0
- package/.dist/iTerm2.js +60 -0
- package/.dist/iTerm2.js.map +1 -0
- package/.dist/index.d.ts +18 -0
- package/.dist/index.js +37 -0
- package/.dist/index.js.map +1 -0
- package/.dist/inspect.d.ts +2 -0
- package/.dist/inspect.js +118 -0
- package/.dist/inspect.js.map +1 -0
- package/.dist/log.d.ts +12 -0
- package/.dist/log.js +56 -0
- package/.dist/log.js.map +1 -0
- package/.dist/managers/FocusManager.d.ts +28 -0
- package/.dist/managers/FocusManager.js +143 -0
- package/.dist/managers/FocusManager.js.map +1 -0
- package/.dist/managers/ModalManager.d.ts +10 -0
- package/.dist/managers/ModalManager.js +67 -0
- package/.dist/managers/ModalManager.js.map +1 -0
- package/.dist/managers/MouseManager.d.ts +21 -0
- package/.dist/managers/MouseManager.js +313 -0
- package/.dist/managers/MouseManager.js.map +1 -0
- package/.dist/managers/TickManager.d.ts +11 -0
- package/.dist/managers/TickManager.js +63 -0
- package/.dist/managers/TickManager.js.map +1 -0
- package/.dist/sys/alias.d.ts +470 -0
- package/.dist/sys/alias.js +487 -0
- package/.dist/sys/alias.js.map +1 -0
- package/.dist/sys/colors.d.ts +10 -0
- package/.dist/sys/colors.js +285 -0
- package/.dist/sys/colors.js.map +1 -0
- package/.dist/sys/gpmclient.d.ts +11 -0
- package/.dist/sys/gpmclient.js +193 -0
- package/.dist/sys/gpmclient.js.map +1 -0
- package/.dist/sys/index.d.ts +4 -0
- package/.dist/sys/index.js +41 -0
- package/.dist/sys/index.js.map +1 -0
- package/.dist/sys/keys.d.ts +4 -0
- package/.dist/sys/keys.js +531 -0
- package/.dist/sys/keys.js.map +1 -0
- package/.dist/sys/program.d.ts +356 -0
- package/.dist/sys/program.js +3739 -0
- package/.dist/sys/program.js.map +1 -0
- package/.dist/sys/tput.d.ts +297 -0
- package/.dist/sys/tput.js +2708 -0
- package/.dist/sys/tput.js.map +1 -0
- package/.dist/sys/unicode.d.ts +11 -0
- package/.dist/sys/unicode.js +619 -0
- package/.dist/sys/unicode.js.map +1 -0
- package/.dist/sys/usr/linux +0 -0
- package/.dist/sys/usr/windows-ansi +0 -0
- package/.dist/sys/usr/xterm +0 -0
- package/.dist/sys/usr/xterm-256color +0 -0
- package/.dist/sys/usr/xterm.termcap +243 -0
- package/.dist/sys/usr/xterm.terminfo +1977 -0
- package/.dist/terminal.d.ts +7 -0
- package/.dist/terminal.js +3 -0
- package/.dist/terminal.js.map +1 -0
- package/.dist/util.d.ts +22 -0
- package/.dist/util.js +79 -0
- package/.dist/util.js.map +1 -0
- package/LICENSE +24 -0
- package/package.json +49 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BlessedProgram } from './sys';
|
|
2
|
+
import type { Style } from './Style';
|
|
3
|
+
export interface Terminal {
|
|
4
|
+
writeChar(char: string, x: number, y: number, style: Style): void;
|
|
5
|
+
writeMeta(str: string): void;
|
|
6
|
+
}
|
|
7
|
+
export type SGRTerminal = Pick<BlessedProgram, 'cols' | 'rows' | 'move' | 'write' | 'on' | 'once' | 'flush'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terminal.js","sourceRoot":"","sources":["../lib/terminal.ts"],"names":[],"mappings":""}
|
package/.dist/util.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A global function to turn debugging on/off, useful to test things that would
|
|
3
|
+
* otherwise output way too much, ie console in render()
|
|
4
|
+
*/
|
|
5
|
+
export declare function debug(value?: boolean): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Left pads (with spaces) according to terminal width
|
|
8
|
+
*/
|
|
9
|
+
export declare function leftPad(str: string, length: number): string;
|
|
10
|
+
/**
|
|
11
|
+
* Right pads (with spaces) according to terminal width
|
|
12
|
+
*/
|
|
13
|
+
export declare function rightPad(str: string, length: number): string;
|
|
14
|
+
/**
|
|
15
|
+
* Center pads (with spaces) according to terminal width
|
|
16
|
+
*/
|
|
17
|
+
export declare function centerPad(str: string, length: number): string;
|
|
18
|
+
/**
|
|
19
|
+
* Used to add {enumerable: true} to defined properties on Components, so they
|
|
20
|
+
* are picked up by inspect().
|
|
21
|
+
*/
|
|
22
|
+
export declare function define<T extends object>(object: T, property: keyof T, attributes: PropertyDescriptor): void;
|
package/.dist/util.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.debug = debug;
|
|
4
|
+
exports.leftPad = leftPad;
|
|
5
|
+
exports.rightPad = rightPad;
|
|
6
|
+
exports.centerPad = centerPad;
|
|
7
|
+
exports.define = define;
|
|
8
|
+
const sys_1 = require("./sys");
|
|
9
|
+
let _debug = false;
|
|
10
|
+
/**
|
|
11
|
+
* A global function to turn debugging on/off, useful to test things that would
|
|
12
|
+
* otherwise output way too much, ie console in render()
|
|
13
|
+
*/
|
|
14
|
+
function debug(value) {
|
|
15
|
+
return (_debug = value ?? _debug);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Left pads (with spaces) according to terminal width
|
|
19
|
+
*/
|
|
20
|
+
function leftPad(str, length) {
|
|
21
|
+
const lines = str.split('\n');
|
|
22
|
+
if (lines.length > 1) {
|
|
23
|
+
return lines.map(line => leftPad(line, length)).join('\n');
|
|
24
|
+
}
|
|
25
|
+
const width = sys_1.unicode.lineWidth(str);
|
|
26
|
+
if (width >= length) {
|
|
27
|
+
return str;
|
|
28
|
+
}
|
|
29
|
+
return ' '.repeat(length - width).concat(str);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Right pads (with spaces) according to terminal width
|
|
33
|
+
*/
|
|
34
|
+
function rightPad(str, length) {
|
|
35
|
+
const lines = str.split('\n');
|
|
36
|
+
if (lines.length > 1) {
|
|
37
|
+
return lines.map(line => rightPad(line, length)).join('\n');
|
|
38
|
+
}
|
|
39
|
+
const width = sys_1.unicode.lineWidth(str);
|
|
40
|
+
if (width >= length) {
|
|
41
|
+
return str;
|
|
42
|
+
}
|
|
43
|
+
return str.concat(' '.repeat(length - width));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Center pads (with spaces) according to terminal width
|
|
47
|
+
*/
|
|
48
|
+
function centerPad(str, length) {
|
|
49
|
+
const lines = str.split('\n');
|
|
50
|
+
if (lines.length > 1) {
|
|
51
|
+
return lines.map(line => centerPad(line, length)).join('\n');
|
|
52
|
+
}
|
|
53
|
+
const width = sys_1.unicode.lineWidth(str);
|
|
54
|
+
if (width >= length) {
|
|
55
|
+
return str;
|
|
56
|
+
}
|
|
57
|
+
const left = ' '.repeat(~~((length - width) / 2));
|
|
58
|
+
const right = ' '.repeat(~~((length - width) / 2 + 0.5));
|
|
59
|
+
return left.concat(str, right);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Used to add {enumerable: true} to defined properties on Components, so they
|
|
63
|
+
* are picked up by inspect().
|
|
64
|
+
*/
|
|
65
|
+
function define(object, property, attributes) {
|
|
66
|
+
let kls = object;
|
|
67
|
+
do {
|
|
68
|
+
const descriptor = Object.getOwnPropertyDescriptor(kls, property);
|
|
69
|
+
if (descriptor) {
|
|
70
|
+
const modified_descriptor = Object.assign(descriptor, attributes);
|
|
71
|
+
Object.defineProperty(object, property, modified_descriptor);
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
kls = Object.getPrototypeOf(kls);
|
|
76
|
+
}
|
|
77
|
+
} while (kls && kls !== Object.prototype);
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../lib/util.ts"],"names":[],"mappings":";;AAOA,sBAEC;AAKD,0BAWC;AAKD,4BAWC;AAKD,8BAaC;AAMD,wBAgBC;AAjFD,+BAA6B;AAE7B,IAAI,MAAM,GAAG,KAAK,CAAA;AAClB;;;GAGG;AACH,S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,OAAM;QACR,CAAC;aAAM,CAAC;YACN,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;QAClC,CAAC;IACH,CAAC,QAAQ,GAAG,IAAI,GAAG,KAAK,MAAM,CAAC,SAAS,EAAC;AAC3C,CAAC"}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
TeaUI
|
|
2
|
+
Copyright (c) 2023, Colin T.A. Gray
|
|
3
|
+
https://github.com/colinta/teaui
|
|
4
|
+
|
|
5
|
+
With code from Blessed
|
|
6
|
+
https://npmjs.com/packages/blessed
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
in the Software without restriction, including without limitation the rights
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
furnished to do so, subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in
|
|
16
|
+
all copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
24
|
+
THE SOFTWARE.
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@teaui/core",
|
|
3
|
+
"description": "A high-level terminal UI library for Node",
|
|
4
|
+
"author": "Colin T.A. Gray <colinta@colinta.com>",
|
|
5
|
+
"contributors": [
|
|
6
|
+
"Shawn Chen <meishangchen@gmail.com>",
|
|
7
|
+
"npmjs.com/blessed"
|
|
8
|
+
],
|
|
9
|
+
"version": "1.1.4",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"preferGlobal": false,
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git://github.com/colinta/teaui.git"
|
|
15
|
+
},
|
|
16
|
+
"homepage": "https://github.com/colinta/teaui",
|
|
17
|
+
"main": ".dist/index.js",
|
|
18
|
+
"types": ".dist/index.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
".dist/"
|
|
21
|
+
],
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "http://github.com/colinta/teaui/issues"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"curses",
|
|
27
|
+
"tui",
|
|
28
|
+
"terminal",
|
|
29
|
+
"terminal-ui"
|
|
30
|
+
],
|
|
31
|
+
"tags": [
|
|
32
|
+
"curses",
|
|
33
|
+
"tui",
|
|
34
|
+
"terminal"
|
|
35
|
+
],
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">= 18.12.0"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@teaui/shared": "1.1.4"
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"gittag": "git tag $(node -e 'process.stdout.write(require(\"./package\").version)')",
|
|
45
|
+
"clean": "rm -rf .dist/",
|
|
46
|
+
"cp-usr": "mkdir -p .dist/sys/usr/ && cp lib/sys/usr/* .dist/sys/usr/",
|
|
47
|
+
"build": "pnpm clean && pnpm tsc && pnpm cp-usr"
|
|
48
|
+
}
|
|
49
|
+
}
|