inquirer-plugins 1.0.1 → 1.0.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/README.md +34 -5
- package/dist/lib/_internal/plugins/table/types/rows.d.ts +2 -2
- package/dist/lib/_internal/plugins/table/types/rows.d.ts.map +1 -1
- package/dist/lib/_internal/plugins/table/types.d.ts +6 -1
- package/dist/lib/_internal/plugins/table/types.d.ts.map +1 -1
- package/dist/lib/_internal/plugins/table/utils.d.ts +3 -3
- package/dist/lib/_internal/plugins/table/utils.d.ts.map +1 -1
- package/dist/lib/_internal/plugins/table/utils.js +2 -2
- package/dist/lib/_internal/plugins/table.d.ts +7 -1
- package/dist/lib/_internal/plugins/table.d.ts.map +1 -1
- package/dist/lib/_internal/plugins/table.js +5 -4
- package/dist/lib/_internal/types/inquirer.d.ts +12 -6
- package/dist/lib/_internal/types/inquirer.d.ts.map +1 -1
- package/package.json +26 -3
package/README.md
CHANGED
|
@@ -1,11 +1,40 @@
|
|
|
1
|
+
<!-- MD_HOPPER: CONFIG:
|
|
2
|
+
skip-hidden: true
|
|
3
|
+
filenames: README.md
|
|
4
|
+
output: README.md
|
|
5
|
+
-->
|
|
6
|
+
|
|
1
7
|
# inquirer-plugins
|
|
2
8
|
|
|
3
|
-
|
|
9
|
+
_This repository manages custom plugins for the iInquirer package. (Currently, it only includes table.)_
|
|
10
|
+
|
|
11
|
+
This is mostly a collection of custom plugins for my personal use, but feel free to use any that you find useful.
|
|
12
|
+
|
|
13
|
+
## Plugins
|
|
14
|
+
|
|
15
|
+
<!-- MD_HOPPER: LINK_NEXT_LINE:
|
|
16
|
+
id: src-_internal-plugins-table-rmd
|
|
17
|
+
inline: true
|
|
18
|
+
-->
|
|
19
|
+
|
|
20
|
+
### [Table][md_hopper:src-_internal-plugins-table-rmd]
|
|
21
|
+
|
|
22
|
+
`Table Plugin` is based on the original [inquirer-table-input](https://github.com/edelciomolina/inquirer-table-input).
|
|
23
|
+
This plugin has been customized to support TypeScript and symbol input.
|
|
24
|
+
|
|
25
|
+
## PLUGIN DOCS (same as above plugin title links)
|
|
26
|
+
|
|
27
|
+
<!-- MD_HOPPER: BEGIN_LINKS:
|
|
28
|
+
all: true
|
|
29
|
+
linked: true
|
|
30
|
+
-->
|
|
31
|
+
|
|
32
|
+
[TABLE PLUGIN][md_hopper:src-_internal-plugins-table-rmd]
|
|
4
33
|
|
|
5
|
-
|
|
34
|
+
<!-- MD_HOPPER: END_LINKS: -->
|
|
6
35
|
|
|
7
|
-
|
|
36
|
+
<!-- MD_HOPPER: BEGIN_DEFINE_LINKS: -->
|
|
8
37
|
|
|
9
|
-
|
|
38
|
+
[md_hopper:src-_internal-plugins-table-rmd]: ./src/lib/_internal/plugins/table/README.md 'TABLE PLUGIN'
|
|
10
39
|
|
|
11
|
-
|
|
40
|
+
<!-- MD_HOPPER: END_DEFINE_LINKS: -->
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type KeyMapRows = Record<string, string>[]
|
|
2
|
-
//# sourceMappingURL=rows.d.ts.map
|
|
1
|
+
export type KeyMapRows = Record<string, number | boolean | string | null>[];
|
|
2
|
+
//# sourceMappingURL=rows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rows.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_internal/plugins/table/types/rows.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"rows.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_internal/plugins/table/types/rows.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,EAAE,CAAA"}
|
|
@@ -2,13 +2,18 @@ import { Colors, ValidateResult } from './types/common.js';
|
|
|
2
2
|
import { Column } from './types/columns.js';
|
|
3
3
|
import { Messages, TableConfig } from './types/table.js';
|
|
4
4
|
import { ExtractedRows, PageSize } from '../../types/table.js';
|
|
5
|
+
import { Answers as _Answers, Done as _Done } from '../../types/inquirer.js';
|
|
5
6
|
export * from './types/columns.js';
|
|
6
7
|
export * from './types/common.js';
|
|
7
8
|
export * from './types/rows.js';
|
|
8
9
|
export * from './types/table.js';
|
|
9
|
-
export type TableValidator = (raws: ExtractedRows, config: TableConfig<TableValidator>, memo: Memo) => ValidateResult;
|
|
10
|
+
export type TableValidator = (raws: ExtractedRows, answers: Answers, config: TableConfig<TableValidator>, memo: Memo) => ValidateResult;
|
|
10
11
|
export type Validator = (input: any, raws: ExtractedRows, memo: Memo) => ValidateResult;
|
|
11
12
|
export type Parser = (input: any, raws: ExtractedRows, memo: Memo) => any;
|
|
13
|
+
export type Answers = _Answers<{
|
|
14
|
+
table: Record<string, number | boolean | string | null>[];
|
|
15
|
+
}>;
|
|
16
|
+
export type Done = _Done<Answers>;
|
|
12
17
|
export interface Memo {
|
|
13
18
|
maxRowIndex: number;
|
|
14
19
|
maxColumnIndex: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_internal/plugins/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,cAAc,EAAE,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_internal/plugins/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,EAAE,OAAO,I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QAAQ,CAAC,CAAC;IAC7G,MAAM,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,eAAe,EAAE,cAgB7B,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Status } from '@inquirer/core';
|
|
2
2
|
import { Key } from 'readline';
|
|
3
|
-
import { Column, Memo, TableConfig, Typing, Colors, EndStatus, NextClose, TableValidator } from './types.js';
|
|
3
|
+
import { Column, Memo, TableConfig, Typing, Colors, EndStatus, NextClose, TableValidator, Answers, Done } from './types.js';
|
|
4
4
|
import { Paginator, PointerIndexes, ExtractedRows } from '../../types/table.js';
|
|
5
|
-
import {
|
|
5
|
+
import { SetUseState } from '../../types/inquirer.js';
|
|
6
6
|
import { ParseType } from '../../types/parse-types.js';
|
|
7
7
|
import Table from 'cli-table3';
|
|
8
8
|
import { Message } from '../../types/chalk.js';
|
|
@@ -21,5 +21,5 @@ export declare const getMessages: (isEditing: boolean, { escape }: NextClose, me
|
|
|
21
21
|
export declare const clearTyping: (setState: SetUseState<Typing>) => void;
|
|
22
22
|
export declare const clear: (setTyping: SetUseState<Typing>, setEditing: SetUseState<boolean>, setNextClose: SetUseState<NextClose>) => void;
|
|
23
23
|
export declare const onPointer: (key: Key, pointerIndexes: PointerIndexes, setPointer: SetUseState<PointerIndexes>, setPaginator: SetUseState<Paginator>, memo: Memo) => void;
|
|
24
|
-
export declare const validTable: (rows: ExtractedRows, config: TableConfig<TableValidator>, memo: Memo) => import("./types.js").ValidateResult;
|
|
24
|
+
export declare const validTable: (rows: ExtractedRows, answers: Answers, config: TableConfig<TableValidator>, memo: Memo) => import("./types.js").ValidateResult;
|
|
25
25
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_internal/plugins/table/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,E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,WAAW,CAAC,OAAO,EAAE,CAAC,KAClC,IAsBF,CAAA;AAED,eAAO,MAAM,SAAS,YAAa,MAAM,EAAE,QAAQ,aAAa,QAAQ,IAAI,KAAG,OAI9E,CAAA;AAED,eAAO,MAAM,KAAK,YACP,MAAM,EAAE,QACX,aAAa,QACb,IAAI,UACF,SAAS,aACN,WAAW,CAAC,MAAM,CAAC,QACxB,IAAI,SAQX,CAAA;AAED,eAAO,MAAM,QAAQ,YAAa,OAAO,aAAa,WAAW,CAAC,MAAM,CAAC,QAAQ,IAAI,SAOpF,CAAA;AAiCD,eAAO,MAAM,QAAQ,SACb,aAAa,kBACH,cAAc,aACnB,OAAO,0BACM,SAAS,QAC3B,IAAI,gBAyBX,CAAA;AAED,eAAO,MAAM,YAAY,YAAa,MAAM,EAAE,eAAe,MAAM,KAAG,SAKrE,CAAA;AAED,eAAO,MAAM,WAAW,cAAe,OAAO,cAAc,SAAS,YAAY,WAAW,CAAC,UAAU,CAAC,cAQvG,CAAA;AAED,eAAO,MAAM,WAAW,aAAc,WAAW,CAAC,MAAM,CAAC,SAKxD,CAAA;AAED,eAAO,MAAM,KAAK,cACL,WAAW,CAAC,MAAM,CAAC,cAClB,WAAW,CAAC,OAAO,CAAC,gBAClB,WAAW,CAAC,SAAS,CAAC,SAKrC,CAAA;AAED,eAAO,MAAM,SAAS,QACf,GAAG,kBACQ,cAAc,cAClB,WAAW,CAAC,cAAc,CAAC,gBACzB,WAAW,CAAC,SAAS,CAAC,QAC9B,IAAI,SAYX,CAAA;AAED,eAAO,MAAM,UAAU,SAAU,aAAa,WAAW,OAAO,UAAU,WAAW,CAAC,cAAc,CAAC,QAAQ,IAAI,wCAEhH,CAAA"}
|
|
@@ -174,6 +174,6 @@ export const clear = (setTyping, setEditing, setNextClose) => {
|
|
|
174
174
|
export const onPointer = (key, pointerIndexes, setPointer, setPaginator, memo) => {
|
|
175
175
|
onArrowKeyPress(key, pointerIndexes, setPointer, setPaginator, memo.pageSize, memo.maxColumnIndex, memo.maxRowIndex, memo.disableColumnIndexes);
|
|
176
176
|
};
|
|
177
|
-
export const validTable = (rows, config, memo) => {
|
|
178
|
-
return memo.validate(rows, config, memo);
|
|
177
|
+
export const validTable = (rows, answers, config, memo) => {
|
|
178
|
+
return memo.validate(rows, answers, config, memo);
|
|
179
179
|
};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { Status } from '@inquirer/core';
|
|
2
|
+
export declare const TablePlugin: import("@inquirer/type").Prompt<{
|
|
3
|
+
status: Status;
|
|
4
|
+
data: Readonly<{
|
|
5
|
+
table: Record<string, number | boolean | string | null>[];
|
|
6
|
+
}>;
|
|
7
|
+
}, {
|
|
2
8
|
columns: import("./table/types.js").Column[];
|
|
3
9
|
rows: import("../types/table.js").Rows;
|
|
4
10
|
colors?: Partial<import("./table/types.js").Colors> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/lib/_internal/plugins/table.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/lib/_internal/plugins/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAkEtG,eAAO,MAAM,WAAW;;;;;;;;;;;;;;EAuJtB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createPrompt, useState, useKeypress, useMemo, ValidationError } from '@inquirer/core';
|
|
2
2
|
import cliCursor from 'cli-cursor';
|
|
3
|
-
import { DEFAULT_OPTIONS, END_STATUSES } from './table/types.js';
|
|
4
|
-
import { hasEditableColumn, updateRows, getTable, getParseType, getAnswer, onEnd, onEscape, getMessages, clearTyping, clear, onPointer, validTable, isEditable } from './table/utils.js';
|
|
3
|
+
import { DEFAULT_OPTIONS, END_STATUSES, } from './table/types.js';
|
|
4
|
+
import { hasEditableColumn, updateRows, getTable, getParseType, getAnswer, onEnd, onEscape, getMessages, clearTyping, clear, onPointer, validTable, isEditable, } from './table/utils.js';
|
|
5
5
|
import { STATUSES } from '../types/inquirer.js';
|
|
6
6
|
import { getBackspaceText, getKeypressValue, isUpKey, isDownKey, isRightKey, isLeftKey, isEscapeKey, isSpaceKey, } from '../utils/keypress.js';
|
|
7
7
|
import { getCellValue } from '../utils/table/cell.js';
|
|
@@ -78,18 +78,19 @@ export const TablePlugin = createPrompt((_config, done) => {
|
|
|
78
78
|
setMessages([]);
|
|
79
79
|
switch (key.name) {
|
|
80
80
|
case 'enter':
|
|
81
|
-
case 'return':
|
|
81
|
+
case 'return': {
|
|
82
82
|
if (isEditing) {
|
|
83
83
|
setEditing(false);
|
|
84
84
|
break;
|
|
85
85
|
}
|
|
86
|
-
const valid = validTable(rows, config, memo);
|
|
86
|
+
const valid = validTable(rows, getAnswer(memo.columns, rows, memo), config, memo);
|
|
87
87
|
if (!valid.isValid) {
|
|
88
88
|
setMessages([valid.message]);
|
|
89
89
|
break;
|
|
90
90
|
}
|
|
91
91
|
onEnd(memo.columns, rows, memo, END_STATUSES.confirmed, setStatus, done);
|
|
92
92
|
break;
|
|
93
|
+
}
|
|
93
94
|
case 'escape':
|
|
94
95
|
if (isEditing) {
|
|
95
96
|
updateRows(rows, typing.backup, pointerIndexes, memo, setRows, setMessages);
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import { Status } from '@inquirer/core'
|
|
2
|
-
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Status } from '@inquirer/core';
|
|
2
|
+
import { type Prettify } from '@inquirer/type';
|
|
3
|
+
export type Answers<T> = Readonly<T>;
|
|
4
|
+
export type SetUseState<Value> = (newValue: Value) => void;
|
|
5
|
+
interface DoneIf<T> {
|
|
6
|
+
status: Status;
|
|
7
|
+
data: T;
|
|
8
|
+
}
|
|
9
|
+
export type Done<T> = (arg: Prettify<DoneIf<T>>) => void;
|
|
10
|
+
export declare const STATUSES: Record<Status, Status>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=inquirer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inquirer.d.ts","sourceRoot":"","sources":["../../../../src/lib/_internal/types/inquirer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"inquirer.d.ts","sourceRoot":"","sources":["../../../../src/lib/_internal/types/inquirer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAA;AACpC,MAAM,MAAM,WAAW,CAAC,KAAK,IAAI,CAAC,QAAQ,EAAE,KAAK,KAAK,IAAI,CAAA;AAE1D,UAAU,MAAM,CAAC,CAAC;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,CAAC,CAAA;CACR;AACD,MAAM,MAAM,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;AAExD,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIjC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inquirer-plugins",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"type": "module",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"answer",
|
|
7
|
+
"answers",
|
|
8
|
+
"ask",
|
|
9
|
+
"confirm",
|
|
10
|
+
"generator",
|
|
11
|
+
"input",
|
|
12
|
+
"inquire",
|
|
13
|
+
"inquirer",
|
|
14
|
+
"prompt",
|
|
15
|
+
"prompts",
|
|
16
|
+
"table",
|
|
17
|
+
"question"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/cilly-yllic/my-packages.git"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/cilly-yllic/my-packages/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/cilly-yllic/my-packages/blob/main/packages/inquirer-plugins/src/lib/_internal/plugins/table/README.md",
|
|
5
27
|
"main": "./dist/index.js",
|
|
6
28
|
"module": "./dist/index.js",
|
|
7
29
|
"types": "./dist/index.d.ts",
|
|
@@ -29,7 +51,8 @@
|
|
|
29
51
|
"cli-cursor": "^5.0.0",
|
|
30
52
|
"cli-table3": "^0.6.5",
|
|
31
53
|
"figures": "^6.1.0",
|
|
32
|
-
"my-gadgetry": "1.3.
|
|
33
|
-
"tslib": "^2.3.0"
|
|
54
|
+
"my-gadgetry": "1.3.7",
|
|
55
|
+
"tslib": "^2.3.0",
|
|
56
|
+
"@inquirer/type": "3.0.6"
|
|
34
57
|
}
|
|
35
58
|
}
|