phirepass-widgets 0.0.53 → 0.0.55
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/cjs/{index-DqslB2R4.js → index-YW0ts9D0.js} +0 -37
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/phirepass-sftp-client.cjs.entry.js +462 -83
- package/dist/cjs/phirepass-terminal.cjs.entry.js +3 -3
- package/dist/cjs/phirepass-widgets.cjs.js +2 -2
- package/dist/cjs/{protocol-D_0VKXs_.js → protocol-DPi8rcp9.js} +5 -1
- package/dist/collection/common/protocol.js +4 -0
- package/dist/collection/components/phirepass-sftp-client/phirepass-sftp-client.css +53 -40
- package/dist/collection/components/phirepass-sftp-client/phirepass-sftp-client.js +462 -81
- package/dist/collection/components/phirepass-terminal/phirepass-terminal.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-D7u6YzKp.js +1 -0
- package/dist/components/phirepass-sftp-client.js +1 -1
- package/dist/components/phirepass-terminal.js +2 -2
- package/dist/esm/{index-jdexunMF.js → index-PKnTMZa7.js} +0 -37
- package/dist/esm/loader.js +3 -3
- package/dist/esm/phirepass-sftp-client.entry.js +462 -83
- package/dist/esm/phirepass-terminal.entry.js +3 -3
- package/dist/esm/phirepass-widgets.js +3 -3
- package/dist/esm/{protocol-BYaVbj9C.js → protocol-D7u6YzKp.js} +4 -0
- package/dist/phirepass-widgets/p-21fb3b58.entry.js +1 -0
- package/dist/phirepass-widgets/p-D7u6YzKp.js +1 -0
- package/dist/phirepass-widgets/p-PKnTMZa7.js +2 -0
- package/dist/phirepass-widgets/{p-a6553a86.entry.js → p-fec100bd.entry.js} +2 -2
- package/dist/phirepass-widgets/phirepass-widgets.esm.js +1 -1
- package/dist/types/common/protocol.d.ts +37 -2
- package/dist/types/components/phirepass-sftp-client/phirepass-sftp-client.d.ts +28 -5
- package/package.json +1 -1
- package/dist/components/p-BYaVbj9C.js +0 -1
- package/dist/phirepass-widgets/p-BYaVbj9C.js +0 -1
- package/dist/phirepass-widgets/p-ba7d75c5.entry.js +0 -1
- package/dist/phirepass-widgets/p-jdexunMF.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var protocol = require('./protocol-
|
|
3
|
+
var index = require('./index-YW0ts9D0.js');
|
|
4
|
+
var protocol = require('./protocol-DPi8rcp9.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Copyright (c) 2014-2024 The xterm.js authors. All rights reserved.
|
|
@@ -694,7 +694,7 @@ const PhirepassTerminal = class {
|
|
|
694
694
|
this.usernameBuffer = "";
|
|
695
695
|
}
|
|
696
696
|
render() {
|
|
697
|
-
return (index.h(index.Host, { key: '
|
|
697
|
+
return (index.h(index.Host, { key: '641344887f33ba9c4c8aa98186b84a92ebb020e7' }, index.h("div", { key: '558aebfd21575d5dbdaacf03335485941373679a', id: "ccc", ref: el => (this.containerEl = el) })));
|
|
698
698
|
}
|
|
699
699
|
static get watchers() { return {
|
|
700
700
|
"nodeId": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-YW0ts9D0.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["phirepass-sftp-client.cjs",[[513,"phirepass-sftp-client",{"name":[1],"description":[1],"hideHeader":[4,"hide-header"],"serverHost":[1,"server-host"],"serverPort":[2,"server-port"],"allowInsecure":[4,"allow-insecure"],"heartbeatInterval":[2,"heartbeat-interval"],"nodeId":[1,"node-id"],"token":[1],"serverId":[1,"server-id"],"max":[32],"show_login_screen":[32],"show_login_screen_username":[32],"show_error":[32],"error_message":[32],"show_login_screen_password":[32],"show_navigation":[32],"breadcrumbs":[32],"current_dir":[32],"listing":[32],"show_content":[32],"show_loader":[32],"version":[32],"status":[32],"selected_item":[32],"show_upload_modal":[32],"upload_progress":[32],"upload_file_name":[32],"upload_finished":[32],"show_download_modal":[32],"download_progress":[32],"download_file_name":[32],"download_finished":[32],"show_delete_modal":[32],"delete_file_name":[32],"delete_loading":[32],"maximize":[64],"minimize":[64]},null,{"nodeId":[{"onNodeIdChange":0}],"serverId":[{"onServerIdChange":0}]}]]],["phirepass-terminal.cjs",[[513,"phirepass-terminal",{"terminalOptions":[16],"serverHost":[1,"server-host"],"serverPort":[2,"server-port"],"allowInsecure":[4,"allow-insecure"],"heartbeatInterval":[2,"heartbeat-interval"],"nodeId":[1,"node-id"],"token":[1],"serverId":[1,"server-id"]},null,{"nodeId":[{"onNodeIdChange":0}],"serverId":[{"onServerIdChange":0}]}]]]], options);
|
|
22
|
+
return index.bootstrapLazy([["phirepass-sftp-client.cjs",[[513,"phirepass-sftp-client",{"name":[1],"description":[1],"hideHeader":[4,"hide-header"],"serverHost":[1,"server-host"],"serverPort":[2,"server-port"],"allowInsecure":[4,"allow-insecure"],"heartbeatInterval":[2,"heartbeat-interval"],"nodeId":[1,"node-id"],"token":[1],"serverId":[1,"server-id"],"max":[32],"show_login_screen":[32],"show_login_screen_username":[32],"show_error":[32],"error_message":[32],"show_login_screen_password":[32],"show_navigation":[32],"breadcrumbs":[32],"current_dir":[32],"listing":[32],"show_content":[32],"show_loader":[32],"version":[32],"status":[32],"selected_item":[32],"show_upload_modal":[32],"upload_progress":[32],"upload_file_name":[32],"upload_speed":[32],"upload_finished":[32],"show_download_modal":[32],"download_progress":[32],"download_file_name":[32],"download_speed":[32],"download_finished":[32],"show_delete_modal":[32],"delete_file_name":[32],"delete_loading":[32],"maximize":[64],"minimize":[64]},null,{"nodeId":[{"onNodeIdChange":0}],"serverId":[{"onServerIdChange":0}]}]]],["phirepass-terminal.cjs",[[513,"phirepass-terminal",{"terminalOptions":[16],"serverHost":[1,"server-host"],"serverPort":[2,"server-port"],"allowInsecure":[4,"allow-insecure"],"heartbeatInterval":[2,"heartbeat-interval"],"nodeId":[1,"node-id"],"token":[1],"serverId":[1,"server-id"]},null,{"nodeId":[{"onNodeIdChange":0}],"serverId":[{"onServerIdChange":0}]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -762,7 +762,7 @@ async function __wbg_init(module_or_path) {
|
|
|
762
762
|
}
|
|
763
763
|
|
|
764
764
|
if (module_or_path === undefined) {
|
|
765
|
-
module_or_path = new URL('phirepass-channel_bg.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('protocol-
|
|
765
|
+
module_or_path = new URL('phirepass-channel_bg.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('protocol-DPi8rcp9.js', document.baseURI).href)));
|
|
766
766
|
}
|
|
767
767
|
const imports = __wbg_get_imports();
|
|
768
768
|
|
|
@@ -783,6 +783,10 @@ exports.ProtocolMessageType = void 0;
|
|
|
783
783
|
ProtocolMessageType["TunnelClosed"] = "TunnelClosed";
|
|
784
784
|
ProtocolMessageType["TunnelData"] = "TunnelData";
|
|
785
785
|
ProtocolMessageType["SFTPListItems"] = "SFTPListItems";
|
|
786
|
+
ProtocolMessageType["SFTPDownloadStartResponse"] = "SFTPDownloadStartResponse";
|
|
787
|
+
ProtocolMessageType["SFTPDownloadChunk"] = "SFTPDownloadChunk";
|
|
788
|
+
ProtocolMessageType["SFTPUploadStartResponse"] = "SFTPUploadStartResponse";
|
|
789
|
+
ProtocolMessageType["SFTPUploadChunkAck"] = "SFTPUploadChunkAck";
|
|
786
790
|
})(exports.ProtocolMessageType || (exports.ProtocolMessageType = {}));
|
|
787
791
|
exports.InputMode = void 0;
|
|
788
792
|
(function (InputMode) {
|
|
@@ -7,6 +7,10 @@ export var ProtocolMessageType;
|
|
|
7
7
|
ProtocolMessageType["TunnelClosed"] = "TunnelClosed";
|
|
8
8
|
ProtocolMessageType["TunnelData"] = "TunnelData";
|
|
9
9
|
ProtocolMessageType["SFTPListItems"] = "SFTPListItems";
|
|
10
|
+
ProtocolMessageType["SFTPDownloadStartResponse"] = "SFTPDownloadStartResponse";
|
|
11
|
+
ProtocolMessageType["SFTPDownloadChunk"] = "SFTPDownloadChunk";
|
|
12
|
+
ProtocolMessageType["SFTPUploadStartResponse"] = "SFTPUploadStartResponse";
|
|
13
|
+
ProtocolMessageType["SFTPUploadChunkAck"] = "SFTPUploadChunkAck";
|
|
10
14
|
})(ProtocolMessageType || (ProtocolMessageType = {}));
|
|
11
15
|
export var InputMode;
|
|
12
16
|
(function (InputMode) {
|
|
@@ -156,23 +156,27 @@
|
|
|
156
156
|
align-items: center;
|
|
157
157
|
margin-right: 10px;
|
|
158
158
|
|
|
159
|
-
.breadcrumb {
|
|
160
|
-
|
|
161
|
-
margin-right: 4px;
|
|
162
|
-
cursor: pointer;
|
|
159
|
+
.breadcrumb-container {
|
|
160
|
+
white-space: nowrap;
|
|
163
161
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
.breadcrumb {
|
|
163
|
+
color: hsl(var(--primary));
|
|
164
|
+
margin-right: 4px;
|
|
165
|
+
cursor: pointer;
|
|
167
166
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
&:after {
|
|
168
|
+
margin-left: 4px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
color: rgb(189, 219, 209);
|
|
173
|
+
}
|
|
171
174
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
175
|
+
&:last-child {
|
|
176
|
+
margin-right: 0;
|
|
177
|
+
color: rgb(189, 219, 209);
|
|
178
|
+
cursor: default;
|
|
179
|
+
}
|
|
176
180
|
}
|
|
177
181
|
}
|
|
178
182
|
|
|
@@ -597,10 +601,28 @@
|
|
|
597
601
|
}
|
|
598
602
|
}
|
|
599
603
|
|
|
600
|
-
.progress-
|
|
604
|
+
.progress-meta {
|
|
601
605
|
margin-top: 8px;
|
|
606
|
+
margin-bottom: 12px;
|
|
607
|
+
display: flex;
|
|
608
|
+
align-items: center;
|
|
609
|
+
justify-content: space-between;
|
|
610
|
+
gap: 10px;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.progress-speed {
|
|
602
614
|
color: hsl(var(--muted-foreground));
|
|
603
|
-
font-size: 0.
|
|
615
|
+
font-size: 0.75rem;
|
|
616
|
+
font-variant-numeric: tabular-nums;
|
|
617
|
+
line-height: 1.4;
|
|
618
|
+
text-align: left;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.progress-value {
|
|
622
|
+
color: hsl(var(--muted-foreground));
|
|
623
|
+
font-size: 0.75rem;
|
|
624
|
+
font-variant-numeric: tabular-nums;
|
|
625
|
+
line-height: 1.4;
|
|
604
626
|
text-align: right;
|
|
605
627
|
}
|
|
606
628
|
|
|
@@ -683,36 +705,27 @@
|
|
|
683
705
|
}
|
|
684
706
|
}
|
|
685
707
|
|
|
686
|
-
.delete-
|
|
687
|
-
margin-top:
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
animation: delete-loading 1s linear infinite;
|
|
708
|
+
.delete-loader {
|
|
709
|
+
margin-top: 4px;
|
|
710
|
+
display: flex;
|
|
711
|
+
justify-content: center;
|
|
712
|
+
|
|
713
|
+
.spinner {
|
|
714
|
+
width: 16px;
|
|
715
|
+
height: 16px;
|
|
716
|
+
border: 2px solid hsl(var(--muted-foreground) / 0.35);
|
|
717
|
+
border-top-color: hsl(var(--primary));
|
|
718
|
+
border-radius: 50%;
|
|
719
|
+
animation: spin 0.7s linear infinite;
|
|
720
|
+
}
|
|
700
721
|
}
|
|
701
722
|
}
|
|
702
723
|
}
|
|
703
724
|
}
|
|
704
725
|
|
|
705
|
-
@keyframes
|
|
706
|
-
from {
|
|
707
|
-
background-position:
|
|
708
|
-
0 0,
|
|
709
|
-
-45% 0;
|
|
710
|
-
}
|
|
711
|
-
|
|
726
|
+
@keyframes spin {
|
|
712
727
|
to {
|
|
713
|
-
|
|
714
|
-
0 0,
|
|
715
|
-
145% 0;
|
|
728
|
+
transform: rotate(360deg);
|
|
716
729
|
}
|
|
717
730
|
}
|
|
718
731
|
|