console-gui-tools
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -103,4 +103,4 @@ import InPageWidgetBuilder from "../InPageWidgetBuilder.js"; | ||
this.style = style; | ||
super.draggable = draggable; | ||
super.on("relativeMouse", (event) => { | ||
this.draggable = draggable; | ||
this.on("relativeMouse", (event) => { | ||
if (!this.enabled) { | ||
@@ -136,3 +136,3 @@ return; | ||
}); | ||
super.on("hoverOut", () => { | ||
this.on("hoverOut", () => { | ||
this.status = "normal"; | ||
@@ -145,2 +145,2 @@ this.update(); | ||
export default Button; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvd2lkZ2V0cy9CdXR0b24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxtQkFBbUIsTUFBTSwyQkFBMkIsQ0FBQTtBQUMzRCxPQUFPLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxNQUFNLGFBQWEsQ0FBQTtBQUNoRCxPQUFPLE9BQU8sTUFBTSxjQUFjLENBQUE7QUFnQmxDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBa0NHO0FBQ0gsTUFBTSxPQUFPLE1BQU8sU0FBUSxPQUFPO0lBWS9CLFlBQ0ksRUFBVSxFQUNWLElBQVksRUFDWixLQUFhLEVBQ2IsTUFBYyxFQUNkLENBQVMsRUFDVCxDQUFTLEVBQ1QsS0FBa0IsRUFDbEIsT0FBbUIsRUFDbkIsU0FBcUIsRUFDckIsT0FBTyxHQUFHLElBQUksRUFDZCxPQUFPLEdBQUcsSUFBSSxFQUNkLFNBQVMsR0FBRyxLQUFLO1FBRWpCLEtBQUssQ0FBQyxFQUFFLEVBQUUsT0FBTyxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMs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GV4dFxuICAgICAgICB0aGlzLmVuYWJsZWQgPSBlbmFibGVkXG4gICAgICAgIHRoaXMub25DbGljayA9IG9uQ2xpY2tcbiAgICAgICAgdGhpcy5vblJlbGVhc2UgPSBvblJlbGVhc2VcbiAgICAgICAgdGhpcy5zdHlsZSA9IHN0eWxlXG4gICAgICAgIHN1cGVyLmRyYWdnYWJsZSA9IGRyYWdnYWJsZVxuXG4gICAgICAgIHN1cGVyLm9uKFwicmVsYXRpdmVNb3VzZVwiLCAoZXZlbnQpID0+IHtcbiAgICAgICAgICAgIGlmICghdGhpcy5lbmFibGVkKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoZXZlbnQubmFtZSA9PT0gXCJNT1VTRV9MRUZUX0JVVFRPTl9QUkVTU0VEXCIpIHtcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXR1cyA9IFwic2VsZWN0ZWRcIlxuICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlKClcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5vbkNsaWNrKSB0aGlzLm9uQ2xpY2suY2FsbCh0aGlzKVxuICAgICAgICAgICAgICAgIHRoaXMuZW1pdChcImNsaWNrXCIpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoZXZlbnQubmFtZSA9PT0gXCJNT1VTRV9MRUZUX0JVVFRPTl9SRUxFQVNFRFwiKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5zdGF0dXMgPSBcImhvdmVyZWRcIlxuICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlKClcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5vblJlbGVhc2UpIHRoaXMub25SZWxlYXNlLmNhbGwodGhpcylcbiAgICAgICAgICAgICAgICB0aGlzLmVtaXQoXCJyZWxlYXNlXCIpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoZXZlbnQubmFtZSA9PT0gXCJNT1VTRV9SSUdIVF9CVV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wiLnJlcGVhdCgoKGFic1ZhbC53aWR0aCAtIDIpIC0gdHJ1bmNhdGVkVGV4dC5sZW5ndGgpIC8gMil9YCxcbiAgICAgICAgICAgICAgICBiZzogdGhpcy5zdHlsZS5iYWNrZ3JvdW5kLCBcbiAgICAgICAgICAgICAgICBjb2xvcjogdGhpcy5zdHlsZS5jb2xvciwgXG4gICAgICAgICAgICAgICAgYm9sZDogdGhpcy5zdHlsZS5ib2xkLFxuICAgICAgICAgICAgICAgIGl0YWxpYzogdGhpcy5zdHlsZS5pdGFsaWMsXG4gICAgICAgICAgICAgICAgZGltOiB0aGlzLnN0eWxlLmRpbSxcbiAgICAgICAgICAgICAgICB1bmRlcmxpbmU6IHRoaXMuc3R5bGUudW5kZXJsaW5lLFxuICAgICAgICAgICAgICAgIGludmVyc2U6IHRoaXMuc3R5bGUuaW52ZXJzZSxcbiAgICAgICAgICAgICAgICBoaWRkZW46IHRoaXMuc3R5bGUuaGlkZGVuLFxuICAgICAgICAgICAgICAgIHN0cmlrZXRocm91Z2g6IHRoaXMuc3R5bGUuc3RyaWtldGhyb3VnaCxcbiAgICAgICAgICAgICAgICBvdmVybGluZTogdGhpcy5zdHlsZS5vdmVybGluZVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHsgXG4gICAgICAgICAgICAgICAgdGV4dDogYCR7Ym94Q2hhcnNbdGhpcy5zdGF0dXNdLnZlcnRpY2FsfWAsIFxuICAgICAgICAgICAgICAgIGJnOiB0aGlzLnN0eWxlLmJhY2tncm91bmQsIFxuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGlzLnN0eWxlLmJvcmRlckNvbG9yLCBcbiAgICAgICAgICAgICAgICBib2xkOiB0aGlzLnN0eWxlLmJvbGQgXG4gICAgICAgICAgICB9XG4gICAgICAgIClcbiAgICAgICAgdGhpcy5nZXRDb250ZW50KCkuYWRkUm93KHsgdGV4dDogYCR7Ym94Q2hhcnNbdGhpcy5zdGF0dXNdLmJvdHRvbUxlZnR9JHtib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AgICAgICAgICAgICB0aGlzLmVtaXQoXCJjbGlja1wiKVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGV2ZW50Lm5hbWUgPT09IFwiTU9VU0VfTEVGVF9CVVRUT05fUkVMRUFTRURcIikge1xuICAgICAgICAgICAgICAgIHRoaXMuc3RhdHVzID0gXCJob3ZlcmVkXCJcbiAgICAgICAgICAgICAgICB0aGlzLnVwZGF0ZSgpXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMub25SZWxlYXNlKSB0aGlzLm9uUmVsZWFzZS5jYWxsKHRoaXMpXG4gICAgICAgICAgICAgICAgdGhpcy5lbWl0KFwicmVsZWFzZVwiKVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGV2ZW50Lm5hbWUgPT09IFwiTU9VU0VfUklHSFRfQlVUVE9OX1BSRVNTRURcIikge1xuICAgICAgICAgICAgICAgIHRoaXMuZW1pdChcInJpZ2h0Q2xpY2tcIilcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChldmVudC5uYW1lID09PSBcIk1PVVNFX1JJR0hUX0JVVFRPTl9SRUxFQVNFRFwiKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5lbWl0KFwicmlnaHRSZWxlYXNlXCIpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoZXZlbnQubmFtZSA9PT0gXCJNT1VTRV9NT1RJT05cIikge1xuICAgICAgICAgICAgICAgIGlmICh0aGlzLnN0YXR1cyA9PT0gXCJub3JtYWxcIikge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnN0YXR1cyA9IFwiaG92ZXJlZFwiXG4gICAgICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlKClcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICAgIHRoaXMub24oXCJob3Zlck91dFwiLCAoKSA9PiB7XG4gICAgICAgICAgICB0aGlzLnN0YXR1cyA9IFwibm9ybWFsXCJcbiA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gICAgeyBcbiAgICAgICAgICAgICAgICB0ZXh0OiBgJHtib3hDaGFyc1t0aGlzLnN0YXR1c10udmVydGljYWx9YCwgXG4gICAgICAgICAgICAgICAgYmc6IHRoaXMuc3R5bGUuYmFja2dyb3VuZCwgXG4gICAgICAgICAgICAgICAgY29sb3I6IHRoaXMuc3R5bGUuYm9yZGVyQ29sb3IsIFxuICAgICAgICAgICAgICAgIGJvbGQ6IHRoaXMuc3R5bGUuYm9sZCBcbiAgICAgICAgICAgIH0sIFxuICAgICAgICAgICAgeyBcbiAgICAgICAgICAgICAgICB0ZXh0OiBgJHtcIiBcIi5yZXBlYXQoKChhYnNWYWwud2lkdGggLSAyKSAtIHRydW5jYXRlZFRleHQubGVuZ3RoKSAvIDIpfSR7dHJ1bmNhdGVkVGV4dH0ke1wiIFwiLnJlcGVhdCgoKGFic1ZhbC53aWR0aCAtIDIpIC0gdHJ1bmNhdGVkVGV4dC5sZW5ndGgpIC8gMil9YCxcbiAgICAgICAgICAgICAgICBiZzogdGhpcy5zdHlsZS5iYWNrZ3JvdW5kLCBcbiAgICAgICAgICAgICAgICBjb2xvcjogdGhpcy5zdHlsZS5jb2xvciwgXG4gICAgICAgICAgICAgICAgYm9sZDogdGhpcy5zdHlsZS5ib2xkLFxuICAgICAgICAgICAgICAgIGl0YWxpYzogdGhpcy5zdHlsZS5pdGFsaWMsXG4gICAgICAgICAgICAgICAgZGltOiB0aGlzLnN0eWxlLmRpbSxcbiAgICAgICAgICAgICAgICB1bmRlcmxpbmU6IHRoaXMuc3R5bGUudW5kZXJsaW5lLFxuICAgICAgICAgICAgICAgIGludmVyc2U6IHRoaXMuc3R5bGUuaW52ZXJzZSxcbiAgICAgICAgICAgICAgICBoaWRkZW46IHRoaXMuc3R5bGUuaGlkZGVuLFxuICAgICAgICAgICAgICAgIHN0cmlrZXRocm91Z2g6IHRoaXMuc3R5bGUuc3RyaWtldGhyb3VnaCxcbiAgICAgICAgICAgICAgICBvdmVybGluZTogdGhpcy5zd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lzLmVuYWJsZWQgPSBlbmFibGVkXG4gICAgICAgIHRoaXMudXBkYXRlKClcbiAgICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IEJ1dHRvbiJdfQ== |
@@ -15,2 +15,3 @@ /// <reference types="node" /> | ||
import { Button } from "./components/widgets/Button.js"; | ||
import { Progress } from "./components/widgets/ProgressBar.js"; | ||
import LayoutManager, { LayoutOptions } from "./components/layout/LayoutManager.js"; | ||
@@ -263,3 +264,3 @@ import { MouseEvent, MouseManager } from "./components/MouseManager.js"; | ||
} | ||
export { PageBuilder, InPageWidgetBuilder, ConsoleManager, OptionPopup, InputPopup, ConfirmPopup, ButtonPopup, CustomPopup, FileSelectorPopup, Control, Button, PhisicalValues, StyledElement, SimplifiedStyledElement, StyleObject }; | ||
export { PageBuilder, InPageWidgetBuilder, ConsoleManager, OptionPopup, InputPopup, ConfirmPopup, ButtonPopup, CustomPopup, FileSelectorPopup, Control, Button, Progress, PhisicalValues, StyledElement, SimplifiedStyledElement, StyleObject }; | ||
//# sourceMappingURL=ConsoleGui.d.ts.map |
{ | ||
"name": "console-gui-tools", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "A simple library to draw option menu, text popup or other widgets and layout on a Node.js console.", | ||
@@ -5,0 +5,0 @@ "main": "dist/ConsoleGui.js", |
@@ -358,3 +358,2 @@ # console-gui-tools | ||
**Example** | ||
```js | ||
@@ -373,2 +372,28 @@ new Button("btnRun", "Run me!", 10, 3, 21, 18, | ||
### Progress (since 1.3.0) [New!](docs/ProgressBar.md) | ||
This is a control widget that is used to draw a customizable progress bar. | ||
It can also be used as interactive control (slider) by setting the `interactive` option to `true`. | ||
```js | ||
const p2Style = { | ||
background: "bgBlack", | ||
borderColor: "yellow", | ||
color: "magenta", | ||
boxed: true, | ||
showTitle: true, | ||
showValue: true, | ||
showPercentage: true, | ||
showMinMax: true, | ||
} | ||
const p2 = new Progress("prog3", 25, 2, 3, 31, p2Style, "precision", "horizontal", true) | ||
p2.setText("Interactive") | ||
p2.on("valueChanged", (value) => { | ||
console.log(`Value changed: ${value}`) | ||
}) | ||
``` | ||
**Example** | ||
<p><img src="https://user-images.githubusercontent.com/14907987/203607512-6ce3656c-7ffb-4185-b36e-6c10619b2b6e.gif" alt="Progress_Interactive"></p> | ||
In the next versions of the library, more control widgets will be added as Control extensions. | ||
@@ -375,0 +400,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
982754
60
8184
575