devkill 0.12.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 -0
- package/README.es.md +253 -0
- package/README.id.md +238 -0
- package/README.md +377 -0
- package/README.pt.md +241 -0
- package/README.tr.md +242 -0
- package/lib/cli/cli.controller.d.ts +81 -0
- package/lib/cli/cli.controller.js +760 -0
- package/lib/cli/cli.controller.js.map +1 -0
- package/lib/cli/interfaces/cli-options.interface.d.ts +5 -0
- package/lib/cli/interfaces/cli-options.interface.js +2 -0
- package/lib/cli/interfaces/cli-options.interface.js.map +1 -0
- package/lib/cli/interfaces/command-keys.interface.d.ts +17 -0
- package/lib/cli/interfaces/command-keys.interface.js +2 -0
- package/lib/cli/interfaces/command-keys.interface.js.map +1 -0
- package/lib/cli/interfaces/config.interface.d.ts +17 -0
- package/lib/cli/interfaces/config.interface.js +2 -0
- package/lib/cli/interfaces/config.interface.js.map +1 -0
- package/lib/cli/interfaces/index.d.ts +11 -0
- package/lib/cli/interfaces/index.js +12 -0
- package/lib/cli/interfaces/index.js.map +1 -0
- package/lib/cli/interfaces/json-output.interface.d.ts +30 -0
- package/lib/cli/interfaces/json-output.interface.js +2 -0
- package/lib/cli/interfaces/json-output.interface.js.map +1 -0
- package/lib/cli/interfaces/key-press.interface.d.ts +7 -0
- package/lib/cli/interfaces/key-press.interface.js +2 -0
- package/lib/cli/interfaces/key-press.interface.js.map +1 -0
- package/lib/cli/interfaces/node-version.interface.d.ts +5 -0
- package/lib/cli/interfaces/node-version.interface.js +2 -0
- package/lib/cli/interfaces/node-version.interface.js.map +1 -0
- package/lib/cli/interfaces/stats.interface.d.ts +15 -0
- package/lib/cli/interfaces/stats.interface.js +2 -0
- package/lib/cli/interfaces/stats.interface.js.map +1 -0
- package/lib/cli/interfaces/ui-positions.interface.d.ts +5 -0
- package/lib/cli/interfaces/ui-positions.interface.js +2 -0
- package/lib/cli/interfaces/ui-positions.interface.js.map +1 -0
- package/lib/cli/interfaces/version.interface.d.ts +5 -0
- package/lib/cli/interfaces/version.interface.js +2 -0
- package/lib/cli/interfaces/version.interface.js.map +1 -0
- package/lib/cli/models/start-parameters.model.d.ts +7 -0
- package/lib/cli/models/start-parameters.model.js +25 -0
- package/lib/cli/models/start-parameters.model.js.map +1 -0
- package/lib/cli/services/console.service.d.ts +23 -0
- package/lib/cli/services/console.service.js +87 -0
- package/lib/cli/services/console.service.js.map +1 -0
- package/lib/cli/services/https.service.d.ts +4 -0
- package/lib/cli/services/https.service.js +32 -0
- package/lib/cli/services/https.service.js.map +1 -0
- package/lib/cli/services/index.d.ts +7 -0
- package/lib/cli/services/index.js +8 -0
- package/lib/cli/services/index.js.map +1 -0
- package/lib/cli/services/json-output.service.d.ts +20 -0
- package/lib/cli/services/json-output.service.js +101 -0
- package/lib/cli/services/json-output.service.js.map +1 -0
- package/lib/cli/services/results.service.d.ts +13 -0
- package/lib/cli/services/results.service.js +61 -0
- package/lib/cli/services/results.service.js.map +1 -0
- package/lib/cli/services/scan.service.d.ts +13 -0
- package/lib/cli/services/scan.service.js +79 -0
- package/lib/cli/services/scan.service.js.map +1 -0
- package/lib/cli/services/spinner.service.d.ts +9 -0
- package/lib/cli/services/spinner.service.js +27 -0
- package/lib/cli/services/spinner.service.js.map +1 -0
- package/lib/cli/services/ui.service.d.ts +17 -0
- package/lib/cli/services/ui.service.js +59 -0
- package/lib/cli/services/ui.service.js.map +1 -0
- package/lib/cli/services/update.service.d.ts +15 -0
- package/lib/cli/services/update.service.js +37 -0
- package/lib/cli/services/update.service.js.map +1 -0
- package/lib/cli/ui/base.ui.d.ts +28 -0
- package/lib/cli/ui/base.ui.js +49 -0
- package/lib/cli/ui/base.ui.js.map +1 -0
- package/lib/cli/ui/components/general.ui.d.ts +7 -0
- package/lib/cli/ui/components/general.ui.js +13 -0
- package/lib/cli/ui/components/general.ui.js.map +1 -0
- package/lib/cli/ui/components/header/header-ui.constants.d.ts +7 -0
- package/lib/cli/ui/components/header/header-ui.constants.js +7 -0
- package/lib/cli/ui/components/header/header-ui.constants.js.map +1 -0
- package/lib/cli/ui/components/header/header.ui.d.ts +18 -0
- package/lib/cli/ui/components/header/header.ui.js +96 -0
- package/lib/cli/ui/components/header/header.ui.js.map +1 -0
- package/lib/cli/ui/components/header/stats.ui.d.ts +25 -0
- package/lib/cli/ui/components/header/stats.ui.js +198 -0
- package/lib/cli/ui/components/header/stats.ui.js.map +1 -0
- package/lib/cli/ui/components/header/status.ui.d.ts +33 -0
- package/lib/cli/ui/components/header/status.ui.js +188 -0
- package/lib/cli/ui/components/header/status.ui.js.map +1 -0
- package/lib/cli/ui/components/help/help-command.ui.d.ts +9 -0
- package/lib/cli/ui/components/help/help-command.ui.js +61 -0
- package/lib/cli/ui/components/help/help-command.ui.js.map +1 -0
- package/lib/cli/ui/components/help/help.constants.d.ts +8 -0
- package/lib/cli/ui/components/help/help.constants.js +270 -0
- package/lib/cli/ui/components/help/help.constants.js.map +1 -0
- package/lib/cli/ui/components/help/help.ui.d.ts +30 -0
- package/lib/cli/ui/components/help/help.ui.js +176 -0
- package/lib/cli/ui/components/help/help.ui.js.map +1 -0
- package/lib/cli/ui/components/logs.ui.d.ts +24 -0
- package/lib/cli/ui/components/logs.ui.js +132 -0
- package/lib/cli/ui/components/logs.ui.js.map +1 -0
- package/lib/cli/ui/components/options.ui.d.ts +29 -0
- package/lib/cli/ui/components/options.ui.js +327 -0
- package/lib/cli/ui/components/options.ui.js.map +1 -0
- package/lib/cli/ui/components/profile-picker.ui.d.ts +25 -0
- package/lib/cli/ui/components/profile-picker.ui.js +117 -0
- package/lib/cli/ui/components/profile-picker.ui.js.map +1 -0
- package/lib/cli/ui/components/result-details.ui.d.ts +23 -0
- package/lib/cli/ui/components/result-details.ui.js +182 -0
- package/lib/cli/ui/components/result-details.ui.js.map +1 -0
- package/lib/cli/ui/components/results.ui.d.ts +86 -0
- package/lib/cli/ui/components/results.ui.js +620 -0
- package/lib/cli/ui/components/results.ui.js.map +1 -0
- package/lib/cli/ui/components/warning.ui.d.ts +12 -0
- package/lib/cli/ui/components/warning.ui.js +30 -0
- package/lib/cli/ui/components/warning.ui.js.map +1 -0
- package/lib/cli/ui/heavy.ui.d.ts +18 -0
- package/lib/cli/ui/heavy.ui.js +37 -0
- package/lib/cli/ui/heavy.ui.js.map +1 -0
- package/lib/cli/ui/index.d.ts +14 -0
- package/lib/cli/ui/index.js +15 -0
- package/lib/cli/ui/index.js.map +1 -0
- package/lib/constants/cli.constants.d.ts +14 -0
- package/lib/constants/cli.constants.js +138 -0
- package/lib/constants/cli.constants.js.map +1 -0
- package/lib/constants/index.d.ts +8 -0
- package/lib/constants/index.js +9 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/main.constants.d.ts +96 -0
- package/lib/constants/main.constants.js +79 -0
- package/lib/constants/main.constants.js.map +1 -0
- package/lib/constants/messages.constants.d.ts +31 -0
- package/lib/constants/messages.constants.js +37 -0
- package/lib/constants/messages.constants.js.map +1 -0
- package/lib/constants/options.constants.d.ts +6 -0
- package/lib/constants/options.constants.js +8 -0
- package/lib/constants/options.constants.js.map +1 -0
- package/lib/constants/os-service-map.constants.d.ts +10 -0
- package/lib/constants/os-service-map.constants.js +11 -0
- package/lib/constants/os-service-map.constants.js.map +1 -0
- package/lib/constants/result-descriptions.constants.d.ts +142 -0
- package/lib/constants/result-descriptions.constants.js +203 -0
- package/lib/constants/result-descriptions.constants.js.map +1 -0
- package/lib/constants/sort.result.d.ts +6 -0
- package/lib/constants/sort.result.js +22 -0
- package/lib/constants/sort.result.js.map +1 -0
- package/lib/constants/spinner.constants.d.ts +5 -0
- package/lib/constants/spinner.constants.js +88 -0
- package/lib/constants/spinner.constants.js.map +1 -0
- package/lib/constants/status.constants.d.ts +7 -0
- package/lib/constants/status.constants.js +9 -0
- package/lib/constants/status.constants.js.map +1 -0
- package/lib/constants/update.constants.d.ts +2 -0
- package/lib/constants/update.constants.js +3 -0
- package/lib/constants/update.constants.js.map +1 -0
- package/lib/constants/workers.constants.d.ts +14 -0
- package/lib/constants/workers.constants.js +16 -0
- package/lib/constants/workers.constants.js.map +1 -0
- package/lib/core/constants/global-ignored.constants.d.ts +1 -0
- package/lib/core/constants/global-ignored.constants.js +44 -0
- package/lib/core/constants/global-ignored.constants.js.map +1 -0
- package/lib/core/constants/index.d.ts +1 -0
- package/lib/core/constants/index.js +2 -0
- package/lib/core/constants/index.js.map +1 -0
- package/lib/core/constants/profiles.constants.d.ts +8 -0
- package/lib/core/constants/profiles.constants.js +138 -0
- package/lib/core/constants/profiles.constants.js.map +1 -0
- package/lib/core/devkill.d.ts +25 -0
- package/lib/core/devkill.js +129 -0
- package/lib/core/devkill.js.map +1 -0
- package/lib/core/index.d.ts +4 -0
- package/lib/core/index.js +5 -0
- package/lib/core/index.js.map +1 -0
- package/lib/core/interfaces/devkill.interface.d.ts +78 -0
- package/lib/core/interfaces/devkill.interface.js +2 -0
- package/lib/core/interfaces/devkill.interface.js.map +1 -0
- package/lib/core/interfaces/devkillrc-config.interface.d.ts +87 -0
- package/lib/core/interfaces/devkillrc-config.interface.js +12 -0
- package/lib/core/interfaces/devkillrc-config.interface.js.map +1 -0
- package/lib/core/interfaces/file-service.interface.d.ts +76 -0
- package/lib/core/interfaces/file-service.interface.js +2 -0
- package/lib/core/interfaces/file-service.interface.js.map +1 -0
- package/lib/core/interfaces/folder.interface.d.ts +89 -0
- package/lib/core/interfaces/folder.interface.js +2 -0
- package/lib/core/interfaces/folder.interface.js.map +1 -0
- package/lib/core/interfaces/index.d.ts +6 -0
- package/lib/core/interfaces/index.js +7 -0
- package/lib/core/interfaces/index.js.map +1 -0
- package/lib/core/interfaces/logger-service.interface.d.ts +59 -0
- package/lib/core/interfaces/logger-service.interface.js +2 -0
- package/lib/core/interfaces/logger-service.interface.js.map +1 -0
- package/lib/core/interfaces/npkill.interface.d.ts +78 -0
- package/lib/core/interfaces/npkill.interface.js +2 -0
- package/lib/core/interfaces/npkill.interface.js.map +1 -0
- package/lib/core/interfaces/npkillrc-config.interface.d.ts +87 -0
- package/lib/core/interfaces/npkillrc-config.interface.js +12 -0
- package/lib/core/interfaces/npkillrc-config.interface.js.map +1 -0
- package/lib/core/interfaces/profile.interface.d.ts +9 -0
- package/lib/core/interfaces/profile.interface.js +2 -0
- package/lib/core/interfaces/profile.interface.js.map +1 -0
- package/lib/core/interfaces/search-status.model.d.ts +35 -0
- package/lib/core/interfaces/search-status.model.js +48 -0
- package/lib/core/interfaces/search-status.model.js.map +1 -0
- package/lib/core/interfaces/services.interface.d.ts +26 -0
- package/lib/core/interfaces/services.interface.js +2 -0
- package/lib/core/interfaces/services.interface.js.map +1 -0
- package/lib/core/npkill.d.ts +25 -0
- package/lib/core/npkill.js +129 -0
- package/lib/core/npkill.js.map +1 -0
- package/lib/core/services/config/config-merger.d.ts +17 -0
- package/lib/core/services/config/config-merger.js +57 -0
- package/lib/core/services/config/config-merger.js.map +1 -0
- package/lib/core/services/config/config-validator.d.ts +3 -0
- package/lib/core/services/config/config-validator.js +43 -0
- package/lib/core/services/config/config-validator.js.map +1 -0
- package/lib/core/services/config/index.d.ts +4 -0
- package/lib/core/services/config/index.js +5 -0
- package/lib/core/services/config/index.js.map +1 -0
- package/lib/core/services/config/profile-validator.d.ts +6 -0
- package/lib/core/services/config/profile-validator.js +68 -0
- package/lib/core/services/config/profile-validator.js.map +1 -0
- package/lib/core/services/config/property-validators.d.ts +33 -0
- package/lib/core/services/config/property-validators.js +125 -0
- package/lib/core/services/config/property-validators.js.map +1 -0
- package/lib/core/services/config.service.d.ts +37 -0
- package/lib/core/services/config.service.js +100 -0
- package/lib/core/services/config.service.js.map +1 -0
- package/lib/core/services/files/files.service.d.ts +28 -0
- package/lib/core/services/files/files.service.js +207 -0
- package/lib/core/services/files/files.service.js.map +1 -0
- package/lib/core/services/files/files.worker.d.ts +1 -0
- package/lib/core/services/files/files.worker.js +286 -0
- package/lib/core/services/files/files.worker.js.map +1 -0
- package/lib/core/services/files/files.worker.service.d.ts +90 -0
- package/lib/core/services/files/files.worker.service.js +216 -0
- package/lib/core/services/files/files.worker.service.js.map +1 -0
- package/lib/core/services/files/index.d.ts +4 -0
- package/lib/core/services/files/index.js +5 -0
- package/lib/core/services/files/index.js.map +1 -0
- package/lib/core/services/files/unix-files.service.d.ts +9 -0
- package/lib/core/services/files/unix-files.service.js +28 -0
- package/lib/core/services/files/unix-files.service.js.map +1 -0
- package/lib/core/services/files/windows-files.service.d.ts +9 -0
- package/lib/core/services/files/windows-files.service.js +16 -0
- package/lib/core/services/files/windows-files.service.js.map +1 -0
- package/lib/core/services/index.d.ts +5 -0
- package/lib/core/services/index.js +6 -0
- package/lib/core/services/index.js.map +1 -0
- package/lib/core/services/logger.service.d.ts +22 -0
- package/lib/core/services/logger.service.js +84 -0
- package/lib/core/services/logger.service.js.map +1 -0
- package/lib/core/services/profiles.service.d.ts +54 -0
- package/lib/core/services/profiles.service.js +86 -0
- package/lib/core/services/profiles.service.js.map +1 -0
- package/lib/core/services/stream.service.d.ts +12 -0
- package/lib/core/services/stream.service.js +39 -0
- package/lib/core/services/stream.service.js.map +1 -0
- package/lib/dirname.d.ts +2 -0
- package/lib/dirname.js +6 -0
- package/lib/dirname.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +11 -0
- package/lib/index.js.map +1 -0
- package/lib/main.d.ts +2 -0
- package/lib/main.js +19 -0
- package/lib/main.js.map +1 -0
- package/lib/utils/get-file-content.d.ts +1 -0
- package/lib/utils/get-file-content.js +6 -0
- package/lib/utils/get-file-content.js.map +1 -0
- package/lib/utils/is-safe-to-delete.d.ts +1 -0
- package/lib/utils/is-safe-to-delete.js +9 -0
- package/lib/utils/is-safe-to-delete.js.map +1 -0
- package/lib/utils/unit-conversions.d.ts +11 -0
- package/lib/utils/unit-conversions.js +54 -0
- package/lib/utils/unit-conversions.js.map +1 -0
- package/package.json +96 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { resolve } from 'node:path';
|
|
2
|
+
import pc from 'picocolors';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { RESULT_TYPE_INFO } from '../../../constants/index.js';
|
|
5
|
+
import { MARGINS } from '../../../constants/main.constants.js';
|
|
6
|
+
import { formatSize } from '../../../utils/unit-conversions.js';
|
|
7
|
+
import { BaseUi } from '../base.ui.js';
|
|
8
|
+
export class ResultDetailsUi extends BaseUi {
|
|
9
|
+
result;
|
|
10
|
+
config;
|
|
11
|
+
resultIndex = 0;
|
|
12
|
+
goBack$ = new Subject();
|
|
13
|
+
openFolder$ = new Subject();
|
|
14
|
+
KEYS = {
|
|
15
|
+
left: () => this.goBack(),
|
|
16
|
+
h: () => this.goBack(),
|
|
17
|
+
o: () => this.openFolder(),
|
|
18
|
+
q: () => this.goBack(),
|
|
19
|
+
escape: () => this.goBack(),
|
|
20
|
+
};
|
|
21
|
+
constructor(result, config) {
|
|
22
|
+
super();
|
|
23
|
+
this.result = result;
|
|
24
|
+
this.config = config;
|
|
25
|
+
}
|
|
26
|
+
openFolder() {
|
|
27
|
+
const folderPath = this.result.path;
|
|
28
|
+
const parentPath = resolve(folderPath, '..');
|
|
29
|
+
this.openFolder$.next(parentPath);
|
|
30
|
+
}
|
|
31
|
+
goBack() {
|
|
32
|
+
this.clear();
|
|
33
|
+
this.goBack$.next(null);
|
|
34
|
+
}
|
|
35
|
+
onKeyInput({ name }) {
|
|
36
|
+
const action = this.KEYS[name];
|
|
37
|
+
if (action === undefined) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
action();
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
const { path, size, modificationTime, status, riskAnalysis } = this.result;
|
|
44
|
+
const maxWidth = Math.min(this.terminal.columns, 80);
|
|
45
|
+
const startRow = MARGINS.ROW_RESULTS_START;
|
|
46
|
+
let currentRow = startRow;
|
|
47
|
+
this.clear();
|
|
48
|
+
const wrapText = (text, width, splitter = ' ') => {
|
|
49
|
+
const words = typeof splitter === 'string'
|
|
50
|
+
? text.split(splitter)
|
|
51
|
+
: text.split(splitter);
|
|
52
|
+
const lines = [];
|
|
53
|
+
let currentLine = '';
|
|
54
|
+
for (const word of words) {
|
|
55
|
+
if ((currentLine + word).length >= width) {
|
|
56
|
+
lines.push(currentLine.trim());
|
|
57
|
+
currentLine = '';
|
|
58
|
+
}
|
|
59
|
+
currentLine += word + (typeof splitter === 'string' ? splitter : '');
|
|
60
|
+
}
|
|
61
|
+
if (currentLine.trim())
|
|
62
|
+
lines.push(currentLine.trim());
|
|
63
|
+
return lines;
|
|
64
|
+
};
|
|
65
|
+
const wrapPath = (text, width) => {
|
|
66
|
+
return wrapText(text, width, /([/\\])/g);
|
|
67
|
+
};
|
|
68
|
+
const drawLabel = (label, value, colorFn = (v) => v) => {
|
|
69
|
+
const text = `${label.padEnd(16)}${colorFn(value)}`;
|
|
70
|
+
this.printAt(text, { x: 2, y: currentRow++ });
|
|
71
|
+
};
|
|
72
|
+
// Header
|
|
73
|
+
this.printAt(pc.bold(pc.bgYellow(pc.black(' Result Details '))), {
|
|
74
|
+
x: 1,
|
|
75
|
+
y: currentRow++,
|
|
76
|
+
});
|
|
77
|
+
this.printAt('-'.repeat(maxWidth - 4), { x: 2, y: currentRow++ });
|
|
78
|
+
// Path
|
|
79
|
+
const folderName = path.split(/[/\\]/).filter(Boolean).pop() || '';
|
|
80
|
+
const wrappedPath = wrapPath(path, maxWidth - 4);
|
|
81
|
+
this.printAt(pc.cyan('Path:'), { x: 2, y: currentRow++ });
|
|
82
|
+
for (let i = 0; i < wrappedPath.length; i++) {
|
|
83
|
+
const line = wrappedPath[i];
|
|
84
|
+
const isLastLine = i === wrappedPath.length - 1;
|
|
85
|
+
if (isLastLine && line.includes(folderName)) {
|
|
86
|
+
const idx = line.lastIndexOf(folderName);
|
|
87
|
+
const before = line.slice(0, idx);
|
|
88
|
+
const name = line.slice(idx);
|
|
89
|
+
this.printAt(` ${before}${pc.yellow(pc.underline(name))}`, {
|
|
90
|
+
x: 2,
|
|
91
|
+
y: currentRow++,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
this.printAt(` ${line}`, { x: 2, y: currentRow++ });
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
// Size, Modified
|
|
99
|
+
const formattedSize = formatSize(size, this.config.sizeUnit);
|
|
100
|
+
drawLabel('Size:', size ? formattedSize.text : '...', size ? pc.yellow : pc.gray);
|
|
101
|
+
drawLabel('Modified:', modificationTime > 0
|
|
102
|
+
? new Date(modificationTime * 1000).toLocaleString()
|
|
103
|
+
: '...', pc.gray);
|
|
104
|
+
// Status
|
|
105
|
+
const statusColors = {
|
|
106
|
+
live: pc.green,
|
|
107
|
+
deleting: pc.yellow,
|
|
108
|
+
'error-deleting': pc.red,
|
|
109
|
+
deleted: pc.gray,
|
|
110
|
+
};
|
|
111
|
+
drawLabel('Status:', status, statusColors[status]);
|
|
112
|
+
// Delicate
|
|
113
|
+
drawLabel('Delicate:', riskAnalysis?.isSensitive ? 'YES ⚠️' : 'No', riskAnalysis?.isSensitive ? (v) => pc.red(pc.bold(v)) : pc.green);
|
|
114
|
+
if (riskAnalysis?.isSensitive && riskAnalysis.reason) {
|
|
115
|
+
const reasonLines = wrapPath(`${riskAnalysis?.reason}.`, maxWidth - 16);
|
|
116
|
+
for (const line of reasonLines) {
|
|
117
|
+
this.printAt(` ${pc.red(pc.italic(line))}`, {
|
|
118
|
+
x: 16,
|
|
119
|
+
y: currentRow++,
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
// Footer
|
|
124
|
+
currentRow++;
|
|
125
|
+
this.printAt(pc.gray('← Back ') + pc.gray('o: Open parent folder'), {
|
|
126
|
+
x: 2,
|
|
127
|
+
y: currentRow++,
|
|
128
|
+
});
|
|
129
|
+
// Target folder details
|
|
130
|
+
const folderKey = folderName.toLowerCase();
|
|
131
|
+
const targetInfo = RESULT_TYPE_INFO[folderKey];
|
|
132
|
+
if (targetInfo) {
|
|
133
|
+
currentRow += 2;
|
|
134
|
+
this.printAt(pc.bold(pc.bgBlack(pc.gray(` ${folderName} info `))), {
|
|
135
|
+
x: 2,
|
|
136
|
+
y: currentRow++,
|
|
137
|
+
});
|
|
138
|
+
const warningMatch = targetInfo.match(/^(.*?)\s*WARNING:\s*(.*)$/s);
|
|
139
|
+
if (warningMatch) {
|
|
140
|
+
const mainInfo = warningMatch[1].trim();
|
|
141
|
+
const warningText = warningMatch[2].trim();
|
|
142
|
+
const infoLines = wrapText(mainInfo, maxWidth - 2);
|
|
143
|
+
for (const line of infoLines) {
|
|
144
|
+
this.printAt(pc.gray(line), {
|
|
145
|
+
x: 2,
|
|
146
|
+
y: currentRow++,
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
const warningLines = wrapText(`⚠️ ${warningText}`, maxWidth - 2);
|
|
150
|
+
for (const line of warningLines) {
|
|
151
|
+
this.printAt(pc.yellow(line), {
|
|
152
|
+
x: 2,
|
|
153
|
+
y: currentRow++,
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
const infoLines = wrapText(targetInfo, maxWidth - 2);
|
|
159
|
+
for (const line of infoLines) {
|
|
160
|
+
this.printAt(pc.gray(line), {
|
|
161
|
+
x: 2,
|
|
162
|
+
y: currentRow++,
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
clear() {
|
|
169
|
+
for (let row = MARGINS.ROW_RESULTS_START; row < this.terminal.rows; row++) {
|
|
170
|
+
this.clearLine(row);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
/** Returns the number of results that can be displayed. */
|
|
174
|
+
getRowsAvailable() {
|
|
175
|
+
return this.terminal.rows - MARGINS.ROW_RESULTS_START;
|
|
176
|
+
}
|
|
177
|
+
/** Returns the row to which the index corresponds. */
|
|
178
|
+
getRow(index) {
|
|
179
|
+
return index + MARGINS.ROW_RESULTS_START;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
//# sourceMappingURL=result-details.ui.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result-details.ui.js","sourceRoot":"","sources":["../../../../src/cli/ui/components/result-details.ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,OAAO,EAAE,MAAM,EAAsB,MAAM,eAAe,CAAC;AAE3D,MAAM,OAAO,eAAgB,SAAQ,MAAM;IAetB;IACA;IAfnB,WAAW,GAAG,CAAC,CAAC;IAEP,OAAO,GAAG,IAAI,OAAO,EAAQ,CAAC;IAC9B,WAAW,GAAG,IAAI,OAAO,EAAU,CAAC;IAE5B,IAAI,GAAG;QACtB,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;QACzB,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;QACtB,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE;QAC1B,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;QACtB,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;KAC5B,CAAC;IAEF,YACmB,MAA0B,EAC1B,MAAe;QAEhC,KAAK,EAAE,CAAC;QAHS,WAAM,GAAN,MAAM,CAAoB;QAC1B,WAAM,GAAN,MAAM,CAAS;IAGlC,CAAC;IAEO,UAAU;QAChB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAA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OAAO,CAAC,iBAAiB,CAAC;IACxD,CAAC;IAED,sDAAsD;IAC9C,MAAM,CAAC,KAAa;QAC1B,OAAO,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAC3C,CAAC;CACF"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { InteractiveUi } from '../base.ui.js';
|
|
2
|
+
import { HeavyUi } from '../heavy.ui.js';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import type { CliScanFoundFolder } from '../../../cli/interfaces/stats.interface.js';
|
|
5
|
+
import type { IKeyPress } from '../../interfaces/key-press.interface.js';
|
|
6
|
+
import type { ConsoleService } from '../../services/console.service.js';
|
|
7
|
+
import type { ResultsService } from '../../services/results.service.js';
|
|
8
|
+
export declare class ResultsUi extends HeavyUi implements InteractiveUi {
|
|
9
|
+
private readonly resultsService;
|
|
10
|
+
private readonly consoleService;
|
|
11
|
+
resultIndex: number;
|
|
12
|
+
previousIndex: number;
|
|
13
|
+
scroll: number;
|
|
14
|
+
private haveResultsAfterCompleted;
|
|
15
|
+
private selectMode;
|
|
16
|
+
private selectedFolders;
|
|
17
|
+
private rangeSelectionStart;
|
|
18
|
+
private isRangeSelectionMode;
|
|
19
|
+
readonly delete$: Subject<CliScanFoundFolder>;
|
|
20
|
+
readonly deleteMultiple$: Subject<CliScanFoundFolder[]>;
|
|
21
|
+
readonly showErrors$: Subject<null>;
|
|
22
|
+
readonly openFolder$: Subject<string>;
|
|
23
|
+
readonly showDetails$: Subject<CliScanFoundFolder>;
|
|
24
|
+
readonly goOptions$: Subject<null>;
|
|
25
|
+
readonly endNpkill$: Subject<null>;
|
|
26
|
+
readonly search$: Subject<{
|
|
27
|
+
text: string;
|
|
28
|
+
isInputActive: boolean;
|
|
29
|
+
} | null>;
|
|
30
|
+
private isSearchInputMode;
|
|
31
|
+
private searchText;
|
|
32
|
+
private filteredResults;
|
|
33
|
+
private readonly config;
|
|
34
|
+
private readonly KEYS;
|
|
35
|
+
constructor(resultsService: ResultsService, consoleService: ConsoleService);
|
|
36
|
+
private openFolder;
|
|
37
|
+
private showDetails;
|
|
38
|
+
private goOptions;
|
|
39
|
+
private endNpkill;
|
|
40
|
+
private toggleSelectMode;
|
|
41
|
+
private startRangeSelection;
|
|
42
|
+
private toggleSelectAll;
|
|
43
|
+
private handleSpacePress;
|
|
44
|
+
private toggleFolderSelection;
|
|
45
|
+
private applyRangeSelection;
|
|
46
|
+
private deleteSelected;
|
|
47
|
+
private activateSearchInputMode;
|
|
48
|
+
private handleSearchInput;
|
|
49
|
+
private filterResults;
|
|
50
|
+
onKeyInput(key: IKeyPress): void;
|
|
51
|
+
render(): void;
|
|
52
|
+
clear(): void;
|
|
53
|
+
completeSearch(): void;
|
|
54
|
+
private printResults;
|
|
55
|
+
private noResults;
|
|
56
|
+
private printFolderRow;
|
|
57
|
+
private rangeSelectedCursor;
|
|
58
|
+
private selectionCursor;
|
|
59
|
+
private getFolderTexts;
|
|
60
|
+
cursorUp(): void;
|
|
61
|
+
cursorDown(): void;
|
|
62
|
+
cursorPageUp(): void;
|
|
63
|
+
cursorPageDown(): void;
|
|
64
|
+
cursorFirstResult(): void;
|
|
65
|
+
cursorLastResult(): void;
|
|
66
|
+
fitScroll(): void;
|
|
67
|
+
scrollFolderResults(scrollAmount: number): void;
|
|
68
|
+
private moveCursor;
|
|
69
|
+
private getFolderPathText;
|
|
70
|
+
private paintStatusFolderPath;
|
|
71
|
+
private printScrollBar;
|
|
72
|
+
private isCursorInLowerLimit;
|
|
73
|
+
private isCursorInUpperLimit;
|
|
74
|
+
private getRealCursorPosY;
|
|
75
|
+
private getVisibleScrollFolders;
|
|
76
|
+
private paintBgRow;
|
|
77
|
+
private delete;
|
|
78
|
+
/** Returns the number of results that can be displayed. */
|
|
79
|
+
private getRowsAvailable;
|
|
80
|
+
/** Returns the row to which the index corresponds. */
|
|
81
|
+
private getRow;
|
|
82
|
+
private showErrorsPopup;
|
|
83
|
+
private truncateText;
|
|
84
|
+
private clamp;
|
|
85
|
+
private get results();
|
|
86
|
+
}
|