@simon_he/vue-tui 0.0.1 → 0.0.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/README.md +1 -1
- package/dist/index.cjs +567 -203
- package/dist/index.d.ts +8 -8
- package/dist/index.js +703 -221
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -77,19 +77,15 @@ type PathPickerProvider = Readonly<{
|
|
|
77
77
|
}>;
|
|
78
78
|
declare function createNodePathPickerProvider(): PathPickerProvider;
|
|
79
79
|
|
|
80
|
-
//#endregion
|
|
81
|
-
//#region src/cli/recording.d.ts
|
|
82
|
-
declare function writeEventLog(path: string, events: readonly TerminalEventRecord[]): Promise<void>;
|
|
83
|
-
declare function writeSnapshot(path: string, lines: readonly string[]): Promise<void>;
|
|
84
|
-
declare function readEventLog(path: string): Promise<TerminalEventRecord[]>;
|
|
85
|
-
|
|
86
80
|
//#endregion
|
|
87
81
|
//#region src/cli/path-suggest.d.ts
|
|
88
82
|
declare function resolveUserPath(workspaceAbs: string, input: string): string;
|
|
89
83
|
|
|
90
84
|
//#endregion
|
|
91
|
-
//#region src/
|
|
92
|
-
declare function
|
|
85
|
+
//#region src/cli/recording.d.ts
|
|
86
|
+
declare function writeEventLog(path: string, events: readonly TerminalEventRecord[]): Promise<void>;
|
|
87
|
+
declare function writeSnapshot(path: string, lines: readonly string[]): Promise<void>;
|
|
88
|
+
declare function readEventLog(path: string): Promise<TerminalEventRecord[]>;
|
|
93
89
|
|
|
94
90
|
//#endregion
|
|
95
91
|
//#region src/core/types.d.ts
|
|
@@ -160,6 +156,10 @@ interface AnsiSegment {
|
|
|
160
156
|
}
|
|
161
157
|
declare function parseAnsiSgr(input: string, baseStyle?: Style): AnsiSegment[];
|
|
162
158
|
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region src/core/buffer/width.d.ts
|
|
161
|
+
declare function charCellWidth(text: string): 1 | 2;
|
|
162
|
+
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/core/terminal/create-terminal.d.ts
|
|
165
165
|
declare function createTerminal(opts: {
|