document-cli 5.12.12 → 5.12.13
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/cli.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{tui-y8MLtP8W.js → tui-BXX7R8xz.js} +1 -5
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1195,7 +1195,7 @@ function registerSetMetadataCommand(program) {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
//#endregion
|
|
1197
1197
|
//#region package.json
|
|
1198
|
-
var version = "5.12.
|
|
1198
|
+
var version = "5.12.13";
|
|
1199
1199
|
//#endregion
|
|
1200
1200
|
//#region src/program.ts
|
|
1201
1201
|
function createProgram() {
|
|
@@ -1223,7 +1223,7 @@ function createProgram() {
|
|
|
1223
1223
|
//#region src/cli-main.ts
|
|
1224
1224
|
async function launchTui(startPath, signal) {
|
|
1225
1225
|
try {
|
|
1226
|
-
const { runTui } = await import("./tui-
|
|
1226
|
+
const { runTui } = await import("./tui-BXX7R8xz.js");
|
|
1227
1227
|
await runTui({
|
|
1228
1228
|
startPath,
|
|
1229
1229
|
signal
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -9414,7 +9414,7 @@ function FilePickerScreen() {
|
|
|
9414
9414
|
const isActive = !anyOverlayOpen(state);
|
|
9415
9415
|
const { entries: rawEntries, error: listError } = readEntries(currentDir);
|
|
9416
9416
|
const query = state.searchQuery.trim().toLowerCase();
|
|
9417
|
-
const filtered =
|
|
9417
|
+
const filtered = rawEntries.filter((entry) => entry.name.toLowerCase().includes(query));
|
|
9418
9418
|
const displayEntries = dirname(currentDir) !== currentDir ? [PARENT_ENTRY, ...filtered] : filtered;
|
|
9419
9419
|
function openAtPath(path) {
|
|
9420
9420
|
(async () => {
|
|
@@ -9511,10 +9511,6 @@ function FilePickerScreen() {
|
|
|
9511
9511
|
onSelect: (index) => {
|
|
9512
9512
|
const entry = displayEntries[index];
|
|
9513
9513
|
if (entry === void 0) return;
|
|
9514
|
-
if (entry.name === "..") {
|
|
9515
|
-
setCurrentDir(dirname(currentDir));
|
|
9516
|
-
return;
|
|
9517
|
-
}
|
|
9518
9514
|
const fullPath = join(currentDir, entry.name);
|
|
9519
9515
|
if (entry.isDirectory) {
|
|
9520
9516
|
setCurrentDir(fullPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-cli",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.13",
|
|
4
4
|
"description": "CLI and interactive Ink TUI for documents.js: every docx/pptx/odt/odp/ods/odg/odf/pdf/odm/odb/xlsx/csv/svg/markdown/rtf conversion, bridge, and editor as a scriptable command or a terminal app.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"commander": "15.0.0",
|
|
95
95
|
"document-outline.js": "3.10.6",
|
|
96
96
|
"document-schema.js": "7.15.0",
|
|
97
|
-
"documents.js": "14.4.
|
|
97
|
+
"documents.js": "14.4.4",
|
|
98
98
|
"ink": "7.1.1",
|
|
99
99
|
"ink-text-input": "6.0.0",
|
|
100
100
|
"react": "19.2.8"
|