mepcli 0.6.1 → 1.0.0-beta.2
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/LICENSE +21 -21
- package/README.md +512 -326
- package/dist/ansi.d.ts +8 -0
- package/dist/ansi.js +8 -0
- package/dist/base.d.ts +21 -0
- package/dist/base.js +57 -0
- package/dist/core.d.ts +48 -1
- package/dist/core.js +156 -0
- package/dist/data/licenses.d.ts +2 -0
- package/dist/data/licenses.js +109 -0
- package/dist/highlight.js +58 -26
- package/dist/index.d.ts +36 -0
- package/dist/index.js +36 -0
- package/dist/input.js +0 -3
- package/dist/prompts/box.d.ts +21 -0
- package/dist/prompts/box.js +192 -0
- package/dist/prompts/breadcrumb.d.ts +22 -0
- package/dist/prompts/breadcrumb.js +302 -0
- package/dist/prompts/byte.d.ts +13 -0
- package/dist/prompts/byte.js +159 -0
- package/dist/prompts/calculator.d.ts +16 -0
- package/dist/prompts/calculator.js +213 -0
- package/dist/prompts/calendar.js +0 -5
- package/dist/prompts/code.d.ts +2 -0
- package/dist/prompts/code.js +104 -70
- package/dist/prompts/connection-string.d.ts +18 -0
- package/dist/prompts/connection-string.js +97 -0
- package/dist/prompts/curl.d.ts +39 -0
- package/dist/prompts/curl.js +285 -0
- package/dist/prompts/data-inspector.d.ts +22 -0
- package/dist/prompts/data-inspector.js +256 -0
- package/dist/prompts/dependency.d.ts +16 -0
- package/dist/prompts/dependency.js +265 -0
- package/dist/prompts/dial.d.ts +10 -0
- package/dist/prompts/dial.js +110 -0
- package/dist/prompts/diff.d.ts +10 -0
- package/dist/prompts/diff.js +101 -0
- package/dist/prompts/draw.d.ts +20 -0
- package/dist/prompts/draw.js +188 -0
- package/dist/prompts/editor.js +0 -4
- package/dist/prompts/emoji.d.ts +18 -0
- package/dist/prompts/emoji.js +228 -0
- package/dist/prompts/exec.d.ts +13 -0
- package/dist/prompts/exec.js +83 -0
- package/dist/prompts/fuzzy.d.ts +12 -0
- package/dist/prompts/fuzzy.js +136 -0
- package/dist/prompts/gauge.d.ts +21 -0
- package/dist/prompts/gauge.js +130 -0
- package/dist/prompts/heatmap.d.ts +13 -0
- package/dist/prompts/heatmap.js +141 -0
- package/dist/prompts/ip.d.ts +11 -0
- package/dist/prompts/ip.js +118 -0
- package/dist/prompts/kanban.d.ts +17 -0
- package/dist/prompts/kanban.js +228 -0
- package/dist/prompts/keypress.js +0 -2
- package/dist/prompts/license.d.ts +9 -0
- package/dist/prompts/license.js +105 -0
- package/dist/prompts/map.d.ts +15 -0
- package/dist/prompts/map.js +199 -0
- package/dist/prompts/match.d.ts +19 -0
- package/dist/prompts/match.js +275 -0
- package/dist/prompts/miller.d.ts +15 -0
- package/dist/prompts/miller.js +221 -0
- package/dist/prompts/multi-column-select.d.ts +10 -0
- package/dist/prompts/multi-column-select.js +166 -0
- package/dist/prompts/number.js +0 -2
- package/dist/prompts/otp.d.ts +10 -0
- package/dist/prompts/otp.js +91 -0
- package/dist/prompts/pattern.d.ts +22 -0
- package/dist/prompts/pattern.js +249 -0
- package/dist/prompts/quiz-select.d.ts +10 -0
- package/dist/prompts/quiz-select.js +104 -0
- package/dist/prompts/quiz-text.d.ts +11 -0
- package/dist/prompts/quiz-text.js +82 -0
- package/dist/prompts/regex.d.ts +13 -0
- package/dist/prompts/regex.js +131 -0
- package/dist/prompts/region.d.ts +11 -0
- package/dist/prompts/region.js +164 -0
- package/dist/prompts/schedule.d.ts +18 -0
- package/dist/prompts/schedule.js +221 -0
- package/dist/prompts/scroll.d.ts +13 -0
- package/dist/prompts/scroll.js +152 -0
- package/dist/prompts/seat.d.ts +17 -0
- package/dist/prompts/seat.js +165 -0
- package/dist/prompts/select-range.d.ts +8 -0
- package/dist/prompts/select-range.js +136 -0
- package/dist/prompts/select.d.ts +9 -9
- package/dist/prompts/semver.d.ts +6 -0
- package/dist/prompts/semver.js +32 -0
- package/dist/prompts/shortcut.d.ts +9 -0
- package/dist/prompts/shortcut.js +135 -0
- package/dist/prompts/slot.d.ts +16 -0
- package/dist/prompts/slot.js +107 -0
- package/dist/prompts/snippet.js +0 -3
- package/dist/prompts/sort-grid.d.ts +16 -0
- package/dist/prompts/sort-grid.js +146 -0
- package/dist/prompts/sort.js +0 -1
- package/dist/prompts/spreadsheet.d.ts +21 -0
- package/dist/prompts/spreadsheet.js +239 -0
- package/dist/prompts/text.d.ts +9 -7
- package/dist/prompts/text.js +52 -0
- package/dist/prompts/time.d.ts +12 -0
- package/dist/prompts/time.js +202 -0
- package/dist/prompts/tree-select.d.ts +0 -1
- package/dist/prompts/tree-select.js +1 -5
- package/dist/symbols.d.ts +12 -0
- package/dist/symbols.js +14 -2
- package/dist/theme.js +10 -1
- package/dist/types.d.ts +264 -1
- package/dist/utils.d.ts +53 -0
- package/dist/utils.js +252 -0
- package/package.json +51 -47
- package/example.ts +0 -390
package/README.md
CHANGED
|
@@ -1,326 +1,512 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
* `
|
|
192
|
-
* `
|
|
193
|
-
* `
|
|
194
|
-
|
|
195
|
-
*
|
|
196
|
-
* `
|
|
197
|
-
* `
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
*
|
|
205
|
-
* `
|
|
206
|
-
* `
|
|
207
|
-
* `
|
|
208
|
-
* `
|
|
209
|
-
|
|
210
|
-
*
|
|
211
|
-
* `
|
|
212
|
-
* `
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
*
|
|
220
|
-
* `
|
|
221
|
-
* `
|
|
222
|
-
* `
|
|
223
|
-
* `
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
* `
|
|
232
|
-
* `
|
|
233
|
-
* `
|
|
234
|
-
* `
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
* `
|
|
254
|
-
* `
|
|
255
|
-
|
|
256
|
-
* **
|
|
257
|
-
* `
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
* **
|
|
269
|
-
* `
|
|
270
|
-
* `
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
* **
|
|
275
|
-
* `
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
* `
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
*
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
* `
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
*
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
1
|
+
<h1 align="center">Mep</h1>
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
<p align="center">
|
|
5
|
+
<sub>(Mep <a href="examples/basic-prompts.ts">Basic Prompts</a>)</a></sub>
|
|
6
|
+
<img src="https://raw.githubusercontent.com/CodeTease/mep/refs/heads/dev/media/basic.gif" alt="Enquirer Survey Prompt" width="750">
|
|
7
|
+
|
|
8
|
+
**Mep** is a lightweight and zero-dependency library for creating interactive command-line prompts in Node.js. It focuses on simplicity, modern design, and robust input handling.
|
|
9
|
+
|
|
10
|
+
[Try the demo](https://stackblitz.com/edit/mepcli?file=index.js)
|
|
11
|
+
|
|
12
|
+
A **CodeTease** project.
|
|
13
|
+
|
|
14
|
+
## Features
|
|
15
|
+
|
|
16
|
+
- **Zero Dependency:** Keeps your project clean and fast.
|
|
17
|
+
- **Comprehensive:** 60+ prompt types for every need.
|
|
18
|
+
- **Mouse Support:** Built-in scroll and click interaction.
|
|
19
|
+
- **Responsive:** Fluid cursor movement and validation.
|
|
20
|
+
- **Elegant:** Modern ANSI color styling.
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
npm install mepcli
|
|
26
|
+
# or
|
|
27
|
+
yarn add mepcli
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Quick Start
|
|
31
|
+
|
|
32
|
+
```typescript
|
|
33
|
+
import { MepCLI } from 'mepcli';
|
|
34
|
+
|
|
35
|
+
async function main() {
|
|
36
|
+
// 1. Text Input
|
|
37
|
+
const name = await MepCLI.text({
|
|
38
|
+
message: "What's your name?",
|
|
39
|
+
placeholder: "John Doe"
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
// 2. Select Menu
|
|
43
|
+
const lang = await MepCLI.select({
|
|
44
|
+
message: "Choose language:",
|
|
45
|
+
choices: [
|
|
46
|
+
{ title: "JavaScript", value: "js" },
|
|
47
|
+
{ title: "TypeScript", value: "ts" }
|
|
48
|
+
]
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
// 3. Confirm
|
|
52
|
+
const ready = await MepCLI.confirm({
|
|
53
|
+
message: "Ready to deploy?"
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
console.log({ name, lang, ready });
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
main();
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
> 💡 **Want more?** Check out the full feature demo in [`example.ts`](example.ts) or browse the `examples/` directory. Or see [`GALLERY.md`](GALLERY.md) for media demos.
|
|
63
|
+
|
|
64
|
+
## Prompt Types
|
|
65
|
+
|
|
66
|
+
Feature mark with "(experimental)" are still in active development and may have limited functionality or stability.
|
|
67
|
+
|
|
68
|
+
### 🔹 The Basics
|
|
69
|
+
Essential prompts for everyday input.
|
|
70
|
+
|
|
71
|
+
| Function | Description |
|
|
72
|
+
| :--- | :--- |
|
|
73
|
+
| `text` | Single line or multiline text input. |
|
|
74
|
+
| `password` | Masked text input (`***`). |
|
|
75
|
+
| `secret` | Completely hidden text input. |
|
|
76
|
+
| `number` | Numeric input with increment/decrement. |
|
|
77
|
+
| `confirm` | Yes/No question. |
|
|
78
|
+
| `toggle` | On/Off switch (True/False). |
|
|
79
|
+
| `select` | Single item selection from a list. |
|
|
80
|
+
| `list` | Enter a list of tags/strings. |
|
|
81
|
+
|
|
82
|
+
### 🔹 Selection & Pickers
|
|
83
|
+
Powerful tools for selecting dates, files, colors, and more.
|
|
84
|
+
|
|
85
|
+
| Function | Description |
|
|
86
|
+
| :--- | :--- |
|
|
87
|
+
| `checkbox` | Multiple choice selection. |
|
|
88
|
+
| `multiSelect` | Multiple selection with filtering. |
|
|
89
|
+
| `multiColumnSelect` | Selection with grid layout. |
|
|
90
|
+
| `fuzzySelect` | Selection with fuzzy search. |
|
|
91
|
+
| `autocomplete` | Async searchable selection. |
|
|
92
|
+
| `selectRange` | Select a continuous range (start-end). |
|
|
93
|
+
| `treeSelect` | Hierarchical multi-selection. |
|
|
94
|
+
| `grid` | 2D matrix selection (rows x columns). |
|
|
95
|
+
| `seat` | Seat selection map with gaps. |
|
|
96
|
+
| `emoji` | Emoji picker with history. |
|
|
97
|
+
| `color` | RGB/Hex color picker. |
|
|
98
|
+
| `date` | Date and time picker. |
|
|
99
|
+
| `calendar` | Interactive calendar for dates/ranges. |
|
|
100
|
+
| `time` | Time picker. |
|
|
101
|
+
| `file` | File system navigator. |
|
|
102
|
+
| `breadcrumb` | Breadcrumb navigation style. |
|
|
103
|
+
| `miller` | Miller columns navigation. |
|
|
104
|
+
| `tree` | Hierarchical tree navigation. |
|
|
105
|
+
|
|
106
|
+
### 🔹 Advanced Layouts
|
|
107
|
+
Complex interfaces for structured data.
|
|
108
|
+
|
|
109
|
+
| Function | Description |
|
|
110
|
+
| :--- | :--- |
|
|
111
|
+
| `table` | Display data in columns and select rows. |
|
|
112
|
+
| `spreadsheet` | Interactive table editor. |
|
|
113
|
+
| `inspector` | JSON data explorer/editor. |
|
|
114
|
+
| `schedule` | Gantt chart timeline. |
|
|
115
|
+
| `kanban` | Kanban board (Drag & Drop). |
|
|
116
|
+
| `heatmap` | Grid intensity selector. |
|
|
117
|
+
| `sort` | Reorder a list of items. |
|
|
118
|
+
| `sortGrid` | Rearrange items in a 2D grid. |
|
|
119
|
+
| `transfer` | Move items between two lists. |
|
|
120
|
+
| `match` | Link items between source and target. |
|
|
121
|
+
| `map` | Key-Value editor. |
|
|
122
|
+
| `form` | Multi-field input form. |
|
|
123
|
+
| `snippet` | Template string filling. |
|
|
124
|
+
| `cron` | Cron schedule builder. |
|
|
125
|
+
| `code` | Code/JSON editor with syntax highlighting. |
|
|
126
|
+
|
|
127
|
+
### 🔹 Specialized Inputs
|
|
128
|
+
tailored for specific data formats.
|
|
129
|
+
|
|
130
|
+
| Function | Description |
|
|
131
|
+
| :--- | :--- |
|
|
132
|
+
| `ip` | IPv4 address input. |
|
|
133
|
+
| `semver` | Semantic versioning bumper. |
|
|
134
|
+
| `otp` | One Time Password (PIN) input. |
|
|
135
|
+
| `byte` | Byte size input (KB, MB, GB). |
|
|
136
|
+
| `rating` | Star rating input. |
|
|
137
|
+
| `slider` | Visual numeric slider. |
|
|
138
|
+
| `range` | Dual-handle slider (min-max). |
|
|
139
|
+
| `dial` | Rotary knob for numeric input. |
|
|
140
|
+
| `calculator` | Math expression evaluator. |
|
|
141
|
+
| `region` | ASCII map region selector. |
|
|
142
|
+
| `pattern` | Android-style pattern lock. |
|
|
143
|
+
| `dependency` | Checkbox with logic (Depends/Conflict). |
|
|
144
|
+
| `license` | License picker with Split View. |
|
|
145
|
+
| `regex` | Real-time regex validator. |
|
|
146
|
+
| `box` | Box model (CSS Margin/Padding) editor. |
|
|
147
|
+
| `connectionString` | Database URL wizard. |
|
|
148
|
+
| `curl` (experimental) | Interactive HTTP request builder. |
|
|
149
|
+
|
|
150
|
+
### 🔹 Gamified & Fun
|
|
151
|
+
Add some personality to your CLI.
|
|
152
|
+
|
|
153
|
+
| Function | Description |
|
|
154
|
+
| :--- | :--- |
|
|
155
|
+
| `slot` | Slot machine randomizer. |
|
|
156
|
+
| `gauge` | Rhythm/accuracy game. |
|
|
157
|
+
| `draw` | Braille canvas drawing. |
|
|
158
|
+
| `quizSelect` | Multiple choice quiz. |
|
|
159
|
+
| `quizText` | Text answer quiz. |
|
|
160
|
+
| `spam` | Mash keys to confirm (fun mode). |
|
|
161
|
+
|
|
162
|
+
### 🔹 Utilities
|
|
163
|
+
Helper functions for better CLI UX.
|
|
164
|
+
|
|
165
|
+
| Function | Description |
|
|
166
|
+
| :--- | :--- |
|
|
167
|
+
| `exec` (experimental) | Run shell command with spinner. |
|
|
168
|
+
| `scroll` | Scrollable text viewer (e.g., License). |
|
|
169
|
+
| `diff` | Text merge conflict resolver. |
|
|
170
|
+
| `editor` | Open external editor (Vim/Nano). |
|
|
171
|
+
| `shortcut` | Record key combinations. |
|
|
172
|
+
| `keypress` | Wait for a specific key press. |
|
|
173
|
+
| `wait` | Pause for a few seconds. |
|
|
174
|
+
| `spinner` | Simple loading spinner control. |
|
|
175
|
+
|
|
176
|
+
## Keyboard & Mouse Support
|
|
177
|
+
|
|
178
|
+
MepCLI automatically detects modern terminals and enables **Mouse Tracking** (using SGR 1006 protocol) for scrolling and clicking.
|
|
179
|
+
|
|
180
|
+
### ⌨️ Advanced Shortcuts
|
|
181
|
+
|
|
182
|
+
<details>
|
|
183
|
+
<summary><b>Calendar Prompt</b></summary>
|
|
184
|
+
|
|
185
|
+
Mep's Calendar prompt supports advanced navigation and selection shortcuts for power users.
|
|
186
|
+
|
|
187
|
+
* **Keyboard:**
|
|
188
|
+
* `Arrow Keys`: Move cursor day by day.
|
|
189
|
+
* `PageUp` / `PageDown`: Jump to previous/next **Month**.
|
|
190
|
+
* `Ctrl + Up` / `Ctrl + Down`: Jump to previous/next **Year**.
|
|
191
|
+
* `Home` / `End`: Jump to the first/last day of the current month.
|
|
192
|
+
* `t`: Jump immediately to **Today**.
|
|
193
|
+
* `Enter`: Select date (or start/end of range).
|
|
194
|
+
|
|
195
|
+
* **Mouse:**
|
|
196
|
+
* `Scroll`: Navigate **Months**.
|
|
197
|
+
* `Ctrl + Scroll`: Adjust the selected **Day** (cursor movement).
|
|
198
|
+
|
|
199
|
+
</details>
|
|
200
|
+
|
|
201
|
+
<details>
|
|
202
|
+
<summary><b>Color Prompt</b></summary>
|
|
203
|
+
|
|
204
|
+
* **Keyboard:**
|
|
205
|
+
* `Tab`: Switch between RGB channels.
|
|
206
|
+
* `Up` / `Down`: Move between channels.
|
|
207
|
+
* `Left` / `Right`: Adjust current channel value.
|
|
208
|
+
* `Shift + Left` / `Shift + Right`: Fast adjust current channel value.
|
|
209
|
+
|
|
210
|
+
* **Mouse:**
|
|
211
|
+
* `Scroll`: Adjust the current channel value.
|
|
212
|
+
* `Ctrl + Scroll`: Fast adjust.
|
|
213
|
+
|
|
214
|
+
</details>
|
|
215
|
+
|
|
216
|
+
<details>
|
|
217
|
+
<summary><b>Checkbox Prompt</b></summary>
|
|
218
|
+
|
|
219
|
+
* **Keyboard:**
|
|
220
|
+
* `Space`: Toggle selection.
|
|
221
|
+
* `a`: Select **All**.
|
|
222
|
+
* `x` / `n`: Select **None**.
|
|
223
|
+
* `i`: **Invert** selection.
|
|
224
|
+
|
|
225
|
+
</details>
|
|
226
|
+
|
|
227
|
+
<details>
|
|
228
|
+
<summary><b>MultiSelect Prompt</b></summary>
|
|
229
|
+
|
|
230
|
+
* **Keyboard:**
|
|
231
|
+
* `Space`: Toggle selection.
|
|
232
|
+
* `Ctrl + A`: Select **All** (Visible).
|
|
233
|
+
* `Ctrl + X`: Deselect **All** (Visible).
|
|
234
|
+
* `Typing`: Filter list.
|
|
235
|
+
|
|
236
|
+
</details>
|
|
237
|
+
|
|
238
|
+
<details>
|
|
239
|
+
<summary><b>Transfer Prompt</b></summary>
|
|
240
|
+
|
|
241
|
+
* **Keyboard:**
|
|
242
|
+
* `Tab` / `Left` / `Right`: Switch focus between Source and Target.
|
|
243
|
+
* `Space`: Move selected item.
|
|
244
|
+
* `a` / `>`: Move **All** to Target.
|
|
245
|
+
* `r` / `<`: Move **All** to Source (Reset).
|
|
246
|
+
|
|
247
|
+
</details>
|
|
248
|
+
|
|
249
|
+
<details>
|
|
250
|
+
<summary><b>Tree & TreeSelect Prompt</b></summary>
|
|
251
|
+
|
|
252
|
+
* **Keyboard:**
|
|
253
|
+
* `Right`: Expand folder or jump to child.
|
|
254
|
+
* `Left`: Collapse folder or jump to parent.
|
|
255
|
+
* `Space`: Toggle expansion (Tree) or Checkbox (TreeSelect).
|
|
256
|
+
* `e`: **Expand** all recursively.
|
|
257
|
+
* `c`: **Collapse** all recursively.
|
|
258
|
+
|
|
259
|
+
</details>
|
|
260
|
+
|
|
261
|
+
<details>
|
|
262
|
+
<summary><b>Grid Prompt</b></summary>
|
|
263
|
+
|
|
264
|
+
The Grid prompt (Matrix selection) includes robust shortcuts for bulk actions.
|
|
265
|
+
|
|
266
|
+
* **Keyboard:**
|
|
267
|
+
* `Arrow Keys`: Move cursor.
|
|
268
|
+
* `PageUp` / `PageDown`: Jump to the first/last **Row**.
|
|
269
|
+
* `Home` / `End`: Jump to the first/last **Column**.
|
|
270
|
+
* `Space`: Toggle current cell.
|
|
271
|
+
* `r`: Toggle entire **Row**.
|
|
272
|
+
* `c`: Toggle entire **Column**.
|
|
273
|
+
* `a`: Select **All**.
|
|
274
|
+
* `x`: Deselect **All** (None).
|
|
275
|
+
* `i`: **Invert** selection.
|
|
276
|
+
|
|
277
|
+
* **Mouse:**
|
|
278
|
+
* `Scroll`: Vertical navigation (Rows).
|
|
279
|
+
* `Shift + Scroll`: Horizontal navigation (Columns).
|
|
280
|
+
|
|
281
|
+
</details>
|
|
282
|
+
|
|
283
|
+
<details>
|
|
284
|
+
<summary><b>Map Prompt</b></summary>
|
|
285
|
+
|
|
286
|
+
* **Keyboard:**
|
|
287
|
+
* `Ctrl + N`: Add new row.
|
|
288
|
+
* `Ctrl + D`: Delete current row.
|
|
289
|
+
* `Arrows` / `Tab`: Navigate cells.
|
|
290
|
+
|
|
291
|
+
</details>
|
|
292
|
+
|
|
293
|
+
<details>
|
|
294
|
+
<summary><b>IP Prompt</b></summary>
|
|
295
|
+
|
|
296
|
+
* **Keyboard:**
|
|
297
|
+
* `typing...`: Auto-jumps to next octet after 3 digits or `.`.
|
|
298
|
+
* `Backspace`: Navigates back to previous octet if empty.
|
|
299
|
+
|
|
300
|
+
</details>
|
|
301
|
+
|
|
302
|
+
<details>
|
|
303
|
+
<summary><b>Kanban Prompt</b></summary>
|
|
304
|
+
|
|
305
|
+
* **Keyboard:**
|
|
306
|
+
* `Arrows`: Navigate items/columns.
|
|
307
|
+
* `Space`: Grab/Drop item (Drag & Drop mode).
|
|
308
|
+
* `Enter`: Submit.
|
|
309
|
+
|
|
310
|
+
* **Mouse:**
|
|
311
|
+
* `Scroll`: Navigate items (Normal) or Move item Left/Right (Grabbed).
|
|
312
|
+
|
|
313
|
+
</details>
|
|
314
|
+
|
|
315
|
+
<details>
|
|
316
|
+
<summary><b>Time Prompt</b></summary>
|
|
317
|
+
|
|
318
|
+
* **Keyboard:**
|
|
319
|
+
* `Up` / `Down`: Adjust value.
|
|
320
|
+
* `Left` / `Right` / `Tab`: Switch unit (Hour/Minute/AM-PM).
|
|
321
|
+
|
|
322
|
+
* **Mouse:**
|
|
323
|
+
* `Scroll`: Adjust value (Up/Down).
|
|
324
|
+
|
|
325
|
+
</details>
|
|
326
|
+
|
|
327
|
+
<details>
|
|
328
|
+
<summary><b>Heatmap Prompt</b></summary>
|
|
329
|
+
|
|
330
|
+
* **Keyboard:**
|
|
331
|
+
* `Arrows`: Navigate cells.
|
|
332
|
+
* `Tab` / `Shift+Tab`: Navigate cells (Horizontal).
|
|
333
|
+
* `Space`: Cycle value.
|
|
334
|
+
* `0-9`: Set value directly.
|
|
335
|
+
|
|
336
|
+
* **Mouse:**
|
|
337
|
+
* `Scroll`: Navigate rows (Vertical).
|
|
338
|
+
|
|
339
|
+
</details>
|
|
340
|
+
|
|
341
|
+
<details>
|
|
342
|
+
<summary><b>Emoji Prompt & MultiColumnSelect</b></summary>
|
|
343
|
+
|
|
344
|
+
* **Keyboard:**
|
|
345
|
+
* `Arrows`: Navigate grid.
|
|
346
|
+
* `Typing`: Filter/Search (Emoji only).
|
|
347
|
+
|
|
348
|
+
</details>
|
|
349
|
+
|
|
350
|
+
<details>
|
|
351
|
+
<summary><b>Miller Prompt</b></summary>
|
|
352
|
+
|
|
353
|
+
* **Keyboard:**
|
|
354
|
+
* `Up` / `Down`: Navigate items.
|
|
355
|
+
* `Right` / `Enter` / `Tab`: Expand child or Drill down.
|
|
356
|
+
* `Left` / `Shift + Tab`: Collapse or Go back.
|
|
357
|
+
|
|
358
|
+
</details>
|
|
359
|
+
|
|
360
|
+
<details>
|
|
361
|
+
<summary><b>Match Prompt</b></summary>
|
|
362
|
+
|
|
363
|
+
* **Keyboard:**
|
|
364
|
+
* `Arrows`: Navigate lists.
|
|
365
|
+
* `Tab`: Switch Source/Target.
|
|
366
|
+
* `Space`: Pick Source or Toggle Link.
|
|
367
|
+
|
|
368
|
+
</details>
|
|
369
|
+
|
|
370
|
+
<details>
|
|
371
|
+
<summary><b>Diff Prompt</b></summary>
|
|
372
|
+
|
|
373
|
+
* **Keyboard:**
|
|
374
|
+
* `Left` / `Right`: Switch Action (Original / Modified / Edit).
|
|
375
|
+
* `Enter`: Submit selection.
|
|
376
|
+
|
|
377
|
+
</details>
|
|
378
|
+
|
|
379
|
+
<details>
|
|
380
|
+
<summary><b>Dial Prompt</b></summary>
|
|
381
|
+
|
|
382
|
+
* **Keyboard:**
|
|
383
|
+
* `Arrows`: Adjust value (rotate knob).
|
|
384
|
+
* `Enter`: Submit.
|
|
385
|
+
|
|
386
|
+
* **Mouse:**
|
|
387
|
+
* `Scroll`: Adjust value.
|
|
388
|
+
|
|
389
|
+
</details>
|
|
390
|
+
|
|
391
|
+
<details>
|
|
392
|
+
<summary><b>Draw Prompt</b></summary>
|
|
393
|
+
|
|
394
|
+
* **Keyboard:**
|
|
395
|
+
* `Arrows`: Move cursor.
|
|
396
|
+
* `Space`: Toggle pixel.
|
|
397
|
+
* `c`: Clear canvas.
|
|
398
|
+
* `i`: Invert canvas.
|
|
399
|
+
* `Enter`: Submit.
|
|
400
|
+
|
|
401
|
+
* **Mouse:**
|
|
402
|
+
* `Drag`: Paint (Left Click) or Erase (Right Click).
|
|
403
|
+
* `Click`: Toggle pixel.
|
|
404
|
+
|
|
405
|
+
</details>
|
|
406
|
+
|
|
407
|
+
<details>
|
|
408
|
+
<summary><b>Breadcrumb Prompt</b></summary>
|
|
409
|
+
|
|
410
|
+
* **Keyboard:**
|
|
411
|
+
* `Arrows`: Navigate list.
|
|
412
|
+
* `Enter`: Drill down into folder.
|
|
413
|
+
* `Backspace`: Go up one level.
|
|
414
|
+
|
|
415
|
+
* **Mouse:**
|
|
416
|
+
* `Scroll`: Navigate list.
|
|
417
|
+
|
|
418
|
+
</details>
|
|
419
|
+
|
|
420
|
+
<details>
|
|
421
|
+
<summary><b>Schedule Prompt</b></summary>
|
|
422
|
+
|
|
423
|
+
* **Keyboard:**
|
|
424
|
+
* `Arrows`: Move task in time.
|
|
425
|
+
* `Tab` / `Shift + Tab`: Switch between tasks.
|
|
426
|
+
* `Shift + Left/Right`: Resize task duration.
|
|
427
|
+
* `PageUp` / `PageDown`: Scroll timeline horizontally.
|
|
428
|
+
|
|
429
|
+
* **Mouse:**
|
|
430
|
+
* `Scroll`: Scroll timeline horizontally.
|
|
431
|
+
|
|
432
|
+
</details>
|
|
433
|
+
|
|
434
|
+
<details>
|
|
435
|
+
<summary><b>Data Inspector</b></summary>
|
|
436
|
+
|
|
437
|
+
* **Keyboard:**
|
|
438
|
+
* `Space` / `Arrows`: Expand/Collapse nodes.
|
|
439
|
+
* `Enter`: Toggle Boolean or Edit String/Number.
|
|
440
|
+
|
|
441
|
+
* **Mouse:**
|
|
442
|
+
* `Scroll`: Navigate tree.
|
|
443
|
+
|
|
444
|
+
</details>
|
|
445
|
+
|
|
446
|
+
<details>
|
|
447
|
+
<summary><b>Seat Prompt</b></summary>
|
|
448
|
+
|
|
449
|
+
* **Keyboard:**
|
|
450
|
+
* `Arrows`: Navigate seat grid.
|
|
451
|
+
* `Tab` / `Shift+Tab`: Navigate Left/Right.
|
|
452
|
+
* `Space`: Select/Deselect seat.
|
|
453
|
+
|
|
454
|
+
* **Mouse:**
|
|
455
|
+
* `Scroll`: Navigate Up/Down.
|
|
456
|
+
|
|
457
|
+
</details>
|
|
458
|
+
|
|
459
|
+
<details>
|
|
460
|
+
<summary><b>Select Range Prompt</b></summary>
|
|
461
|
+
|
|
462
|
+
* **Keyboard:**
|
|
463
|
+
* `Arrows (Up/Down)`: Navigate items.
|
|
464
|
+
* `Space`: Set/Unset anchor point.
|
|
465
|
+
* `Enter`: Submit selected range.
|
|
466
|
+
|
|
467
|
+
</details>
|
|
468
|
+
|
|
469
|
+
<details>
|
|
470
|
+
<summary><b>Sort Grid Prompt</b></summary>
|
|
471
|
+
|
|
472
|
+
* **Keyboard:**
|
|
473
|
+
* `Arrows`: Navigate grid.
|
|
474
|
+
* `Tab` / `Shift+Tab`: Navigate Left/Right.
|
|
475
|
+
* `Space`: Grab/Drop item.
|
|
476
|
+
* `Enter`: Submit grid.
|
|
477
|
+
|
|
478
|
+
* **Mouse:**
|
|
479
|
+
* `Scroll`: Navigate Up/Down.
|
|
480
|
+
|
|
481
|
+
</details>
|
|
482
|
+
|
|
483
|
+
<details>
|
|
484
|
+
<summary><b>Dependency Prompt</b></summary>
|
|
485
|
+
|
|
486
|
+
* **Keyboard:**
|
|
487
|
+
* `Arrows`: Navigate items.
|
|
488
|
+
* `Space`: Toggle item (Triggers auto-resolution).
|
|
489
|
+
* `Enter`: Submit selection.
|
|
490
|
+
|
|
491
|
+
* **Mouse:**
|
|
492
|
+
* `Scroll`: Navigate Up/Down.
|
|
493
|
+
|
|
494
|
+
</details>
|
|
495
|
+
|
|
496
|
+
<details>
|
|
497
|
+
<summary><b>Box Prompt</b></summary>
|
|
498
|
+
|
|
499
|
+
* **Keyboard:**
|
|
500
|
+
* `Arrows` / `Tab`: Navigate (Top -> Right -> Bottom -> Left).
|
|
501
|
+
* `Shift + Tab`: Navigate backwards.
|
|
502
|
+
* `+` / `-`: Increment/Decrement value.
|
|
503
|
+
* `0-9`: Type value directly.
|
|
504
|
+
|
|
505
|
+
* **Mouse:**
|
|
506
|
+
* `Scroll`: Cycle focus (Up=Backwards, Down=Forwards).
|
|
507
|
+
|
|
508
|
+
</details>
|
|
509
|
+
|
|
510
|
+
## License
|
|
511
|
+
|
|
512
|
+
This project is under the **MIT License**.
|