phirepass-widgets 0.0.116 → 0.0.118
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 +10 -20
- package/dist/cjs/{index-BCgmMoIq.js → index-C3v5xmUo.js} +3 -75
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/phirepass-rdp.cjs.entry.js +5 -16
- package/dist/cjs/phirepass-sftp-client.cjs.entry.js +1470 -0
- package/dist/cjs/phirepass-terminal.cjs.entry.js +4 -4
- package/dist/cjs/phirepass-widgets.cjs.js +3 -3
- package/dist/cjs/{protocol-BjOgJZ9-.js → protocol-DCBMfc2u.js} +21 -277
- package/dist/collection/collection-manifest.json +1 -3
- package/dist/collection/common/channel.js +1 -21
- package/dist/collection/components/phirepass-rdp/phirepass-rdp.js +13 -36
- package/dist/collection/components/phirepass-sftp-client/phirepass-sftp-client.css +0 -122
- package/dist/collection/components/phirepass-sftp-client/phirepass-sftp-client.js +31 -181
- package/dist/collection/components/phirepass-terminal/phirepass-terminal.js +2 -2
- package/dist/collection/phirepass-channel_bg.wasm +0 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-CsYQJXY2.js +1 -0
- package/dist/components/phirepass-rdp.js +1 -1
- package/dist/components/phirepass-sftp-client.js +1 -1
- package/dist/components/phirepass-terminal.js +5 -5
- package/dist/esm/{index-Dd9o0CbU.js → index-BVOulYtW.js} +3 -75
- package/dist/esm/loader.js +3 -3
- package/dist/esm/phirepass-rdp.entry.js +5 -16
- package/dist/esm/phirepass-sftp-client.entry.js +1468 -0
- package/dist/esm/phirepass-terminal.entry.js +4 -4
- package/dist/esm/phirepass-widgets.js +4 -4
- package/dist/esm/{protocol-BekUePpu.js → protocol-CsYQJXY2.js} +20 -276
- package/dist/phirepass-widgets/{p-c28a9257.entry.js → p-7ea2fdbc.entry.js} +2 -2
- package/dist/phirepass-widgets/p-BVOulYtW.js +3 -0
- package/dist/phirepass-widgets/p-CsYQJXY2.js +1 -0
- package/dist/phirepass-widgets/p-c1c616ca.entry.js +1 -0
- package/dist/phirepass-widgets/p-f1bc04a8.entry.js +1 -0
- package/dist/phirepass-widgets/phirepass-channel_bg.wasm +0 -0
- package/dist/phirepass-widgets/phirepass-widgets.esm.js +1 -1
- package/dist/types/common/channel.d.ts +0 -30
- package/dist/types/components/phirepass-rdp/phirepass-rdp.d.ts +0 -10
- package/dist/types/components/phirepass-sftp-client/phirepass-sftp-client.d.ts +0 -30
- package/dist/types/components.d.ts +34 -434
- package/package.json +5 -19
- package/dist/cjs/phirepass-downloader_3.cjs.entry.js +0 -3812
- package/dist/collection/common/fetch.js +0 -44
- package/dist/collection/components/phirepass-downloader/form.js +0 -69
- package/dist/collection/components/phirepass-downloader/format.js +0 -105
- package/dist/collection/components/phirepass-downloader/jobs.js +0 -393
- package/dist/collection/components/phirepass-downloader/phirepass-downloader.css +0 -1109
- package/dist/collection/components/phirepass-downloader/phirepass-downloader.js +0 -1455
- package/dist/collection/components/phirepass-downloader/source.js +0 -120
- package/dist/collection/components/phirepass-downloader/views/dialogs.js +0 -34
- package/dist/collection/components/phirepass-downloader/views/fetch-form.js +0 -65
- package/dist/collection/components/phirepass-downloader/views/icons.js +0 -34
- package/dist/collection/components/phirepass-downloader/views/job-row.js +0 -91
- package/dist/collection/components/phirepass-downloader/views/notices.js +0 -15
- package/dist/collection/components/phirepass-downloader/views/states.js +0 -19
- package/dist/collection/components/phirepass-media-player/phirepass-media-player.css +0 -225
- package/dist/collection/components/phirepass-media-player/phirepass-media-player.js +0 -549
- package/dist/collection/components/phirepass-media-player/player.js +0 -118
- package/dist/collection/components/phirepass-sftp-client/phirepass-sftp-client.fetch.js +0 -35
- package/dist/collection/testing/fixtures.js +0 -219
- package/dist/collection/testing/mock-channel.js +0 -410
- package/dist/components/p-5QoAejYG.js +0 -1
- package/dist/components/p-BekUePpu.js +0 -1
- package/dist/components/p-DIf-Ru26.js +0 -1
- package/dist/components/phirepass-downloader.d.ts +0 -11
- package/dist/components/phirepass-downloader.js +0 -1
- package/dist/components/phirepass-media-player.d.ts +0 -11
- package/dist/components/phirepass-media-player.js +0 -1
- package/dist/esm/phirepass-downloader_3.entry.js +0 -3808
- package/dist/phirepass-widgets/p-70a67e4d.entry.js +0 -1
- package/dist/phirepass-widgets/p-BekUePpu.js +0 -1
- package/dist/phirepass-widgets/p-Dd9o0CbU.js +0 -3
- package/dist/phirepass-widgets/p-ab33f71f.entry.js +0 -1
- package/dist/types/common/fetch.d.ts +0 -167
- package/dist/types/components/phirepass-downloader/form.d.ts +0 -54
- package/dist/types/components/phirepass-downloader/format.d.ts +0 -17
- package/dist/types/components/phirepass-downloader/jobs.d.ts +0 -123
- package/dist/types/components/phirepass-downloader/phirepass-downloader.d.ts +0 -231
- package/dist/types/components/phirepass-downloader/source.d.ts +0 -61
- package/dist/types/components/phirepass-downloader/views/dialogs.d.ts +0 -52
- package/dist/types/components/phirepass-downloader/views/fetch-form.d.ts +0 -31
- package/dist/types/components/phirepass-downloader/views/icons.d.ts +0 -5
- package/dist/types/components/phirepass-downloader/views/job-row.d.ts +0 -21
- package/dist/types/components/phirepass-downloader/views/notices.d.ts +0 -18
- package/dist/types/components/phirepass-downloader/views/states.d.ts +0 -38
- package/dist/types/components/phirepass-media-player/phirepass-media-player.d.ts +0 -82
- package/dist/types/components/phirepass-media-player/player.d.ts +0 -53
- package/dist/types/components/phirepass-sftp-client/phirepass-sftp-client.fetch.d.ts +0 -40
- package/dist/types/testing/fixtures.d.ts +0 -25
- package/dist/types/testing/mock-channel.d.ts +0 -132
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'phirepass-widgets';
|
|
|
2
2
|
const BUILD = /* phirepass-widgets */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.45.
|
|
5
|
+
Stencil Client Platform v4.45.5 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
@@ -138,7 +138,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
138
138
|
var styles = /* @__PURE__ */ new Map();
|
|
139
139
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
140
140
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
141
|
-
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
142
141
|
var MAX_LAZY_LOAD_RETRIES = 3;
|
|
143
142
|
var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
|
|
144
143
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -416,13 +415,6 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
416
415
|
}
|
|
417
416
|
}
|
|
418
417
|
}
|
|
419
|
-
if (typeof nodeName === "function") {
|
|
420
|
-
return nodeName(
|
|
421
|
-
vnodeData === null ? {} : vnodeData,
|
|
422
|
-
vNodeChildren,
|
|
423
|
-
vdomFnUtils
|
|
424
|
-
);
|
|
425
|
-
}
|
|
426
418
|
const vnode = newVNode(nodeName, null);
|
|
427
419
|
vnode.$attrs$ = vnodeData;
|
|
428
420
|
if (vNodeChildren.length > 0) {
|
|
@@ -452,36 +444,6 @@ var newVNode = (tag, text) => {
|
|
|
452
444
|
};
|
|
453
445
|
var Host = {};
|
|
454
446
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
455
|
-
var vdomFnUtils = {
|
|
456
|
-
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
457
|
-
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
|
|
458
|
-
};
|
|
459
|
-
var convertToPublic = (node) => ({
|
|
460
|
-
vattrs: node.$attrs$,
|
|
461
|
-
vchildren: node.$children$,
|
|
462
|
-
vkey: node.$key$,
|
|
463
|
-
vname: node.$name$,
|
|
464
|
-
vtag: node.$tag$,
|
|
465
|
-
vtext: node.$text$
|
|
466
|
-
});
|
|
467
|
-
var convertToPrivate = (node) => {
|
|
468
|
-
if (typeof node.vtag === "function") {
|
|
469
|
-
const vnodeData = { ...node.vattrs };
|
|
470
|
-
if (node.vkey) {
|
|
471
|
-
vnodeData.key = node.vkey;
|
|
472
|
-
}
|
|
473
|
-
if (node.vname) {
|
|
474
|
-
vnodeData.name = node.vname;
|
|
475
|
-
}
|
|
476
|
-
return h(node.vtag, vnodeData, ...node.vchildren || []);
|
|
477
|
-
}
|
|
478
|
-
const vnode = newVNode(node.vtag, node.vtext);
|
|
479
|
-
vnode.$attrs$ = node.vattrs;
|
|
480
|
-
vnode.$children$ = node.vchildren;
|
|
481
|
-
vnode.$key$ = node.vkey;
|
|
482
|
-
vnode.$name$ = node.vname;
|
|
483
|
-
return vnode;
|
|
484
|
-
};
|
|
485
447
|
|
|
486
448
|
// src/runtime/normalize-watchers.ts
|
|
487
449
|
var normalizeWatchers = (raw) => {
|
|
@@ -659,26 +621,15 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
659
621
|
} catch (e) {
|
|
660
622
|
}
|
|
661
623
|
}
|
|
662
|
-
let xlink = false;
|
|
663
|
-
{
|
|
664
|
-
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
|
665
|
-
memberName = ln;
|
|
666
|
-
xlink = true;
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
624
|
if (newValue == null || newValue === false) {
|
|
670
625
|
if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
|
|
671
|
-
|
|
672
|
-
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
673
|
-
} else {
|
|
626
|
+
{
|
|
674
627
|
elm.removeAttribute(memberName);
|
|
675
628
|
}
|
|
676
629
|
}
|
|
677
630
|
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
|
678
631
|
newValue = newValue === true ? "" : newValue;
|
|
679
|
-
|
|
680
|
-
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
681
|
-
} else {
|
|
632
|
+
{
|
|
682
633
|
elm.setAttribute(memberName, newValue);
|
|
683
634
|
}
|
|
684
635
|
}
|
|
@@ -1004,14 +955,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1004
955
|
const isHostElement = isHost(renderFnResults);
|
|
1005
956
|
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
1006
957
|
hostTagName = hostElm.tagName;
|
|
1007
|
-
if (cmpMeta.$attrsToReflect$) {
|
|
1008
|
-
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
1009
|
-
cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
|
|
1010
|
-
{
|
|
1011
|
-
rootVnode.$attrs$[attribute] = hostElm[propName];
|
|
1012
|
-
}
|
|
1013
|
-
});
|
|
1014
|
-
}
|
|
1015
958
|
if (isInitialLoad && rootVnode.$attrs$) {
|
|
1016
959
|
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
1017
960
|
if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
|
|
@@ -1252,9 +1195,6 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1252
1195
|
}
|
|
1253
1196
|
}
|
|
1254
1197
|
};
|
|
1255
|
-
|
|
1256
|
-
// src/runtime/proxy-component.ts
|
|
1257
|
-
var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
|
|
1258
1198
|
var replayPendingSetterValues = (hostRef, cmpMeta) => {
|
|
1259
1199
|
var _a;
|
|
1260
1200
|
const instance = hostRef.$lazyInstance$;
|
|
@@ -1390,11 +1330,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1390
1330
|
const propFlags = members.find(([m]) => m === propName);
|
|
1391
1331
|
const propMemberFlags = propFlags ? propFlags[1][0] : 0;
|
|
1392
1332
|
const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
|
|
1393
|
-
if (propMemberFlags & 512 /* ReflectAttr */ && propMemberFlags & 8 /* Any */ && // a complex value is never written to an attribute, so a change while the prop holds
|
|
1394
|
-
// one is always external
|
|
1395
|
-
!isComplexType(this[propName]) && reflectedAttrValue(this[propName]) === newValue) {
|
|
1396
|
-
return;
|
|
1397
|
-
}
|
|
1398
1333
|
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
1399
1334
|
if (isBooleanTarget) {
|
|
1400
1335
|
newValue = newValue === null || newValue === "false" && true ? false : true;
|
|
@@ -1410,12 +1345,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1410
1345
|
/* @__PURE__ */ new Set([
|
|
1411
1346
|
...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
|
|
1412
1347
|
...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
|
|
1413
|
-
var _a2;
|
|
1414
1348
|
const attrName = m[1] || propName;
|
|
1415
1349
|
attrNameToPropName.set(attrName, propName);
|
|
1416
|
-
if (m[0] & 512 /* ReflectAttr */) {
|
|
1417
|
-
(_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
|
|
1418
|
-
}
|
|
1419
1350
|
return attrName;
|
|
1420
1351
|
})
|
|
1421
1352
|
])
|
|
@@ -1619,9 +1550,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1619
1550
|
{
|
|
1620
1551
|
cmpMeta.$members$ = compactMeta[2];
|
|
1621
1552
|
}
|
|
1622
|
-
{
|
|
1623
|
-
cmpMeta.$attrsToReflect$ = [];
|
|
1624
|
-
}
|
|
1625
1553
|
{
|
|
1626
1554
|
cmpMeta.$watchers$ = normalizeWatchers(compactMeta[4]);
|
|
1627
1555
|
cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-BVOulYtW.js';
|
|
2
|
+
export { s as setNonce } from './index-BVOulYtW.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy([["phirepass-rdp",[[769,"phirepass-rdp",{"serverHost":[1,"server-host"],"serverPort":[2,"server-port"],"allowInsecure":[4,"allow-insecure"],"heartbeatInterval":[2,"heartbeat-interval"],"nodeId":[1,"node-id"],"serviceId":[1,"service-id"],"token":[1],"username":[1],"password":[1],"destination":[1],"scale":[1],"dynamicResize":[4,"dynamic-resize"],"captureKeyboard":[4,"capture-keyboard"],"clipboard":[4],"serverId":[1,"server-id"],"
|
|
8
|
+
return bootstrapLazy([["phirepass-rdp",[[769,"phirepass-rdp",{"serverHost":[1,"server-host"],"serverPort":[2,"server-port"],"allowInsecure":[4,"allow-insecure"],"heartbeatInterval":[2,"heartbeat-interval"],"nodeId":[1,"node-id"],"serviceId":[1,"service-id"],"token":[1],"username":[1],"password":[1],"destination":[1],"scale":[1],"dynamicResize":[4,"dynamic-resize"],"captureKeyboard":[4,"capture-keyboard"],"clipboard":[4],"serverId":[1,"server-id"],"credentialsPrompt":[32],"statusMessage":[32],"toggleFullscreen":[64],"keyboardLockSupported":[64],"focusDesktop":[64],"sendCtrlAltDel":[64],"sendMetaKey":[64]},null,{"nodeId":[{"onNodeIdChange":0}],"serverId":[{"onServerIdChange":0}]}]]],["phirepass-sftp-client",[[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"],"serviceId":[1,"service-id"],"token":[1],"serverId":[1,"server-id"],"channelFactory":[16],"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],"delete_is_dir":[32],"delete_recursive":[32],"delete_error":[32],"prompt_kind":[32],"prompt_value":[32],"prompt_error":[32],"prompt_busy":[32],"chmod_target":[32],"chmod_mode":[32],"chmod_error":[32],"chmod_busy":[32],"show_editor":[32],"editor_name":[32],"editor_text":[32],"editor_saved_text":[32],"editor_busy":[32],"editor_error":[32],"editor_confirm_discard":[32],"editor_loaded":[32],"filter":[32],"sort_key":[32],"sort_asc":[32],"maximize":[64],"minimize":[64]},null,{"nodeId":[{"onNodeIdChange":0}],"serverId":[{"onServerIdChange":0}]}]]],["phirepass-terminal",[[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"],"serviceId":[1,"service-id"],"token":[1],"keyBar":[1,"key-bar"],"serverId":[1,"server-id"],"channelFactory":[16],"ctrlArmed":[32],"altArmed":[32]},null,{"nodeId":[{"onNodeIdChange":0}],"serverId":[{"onServerIdChange":0}]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-
|
|
2
|
-
import { _ as __wbg_init, C as Channel, a as ConnectionState, P as ProtocolMessageType } from './protocol-
|
|
1
|
+
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-BVOulYtW.js';
|
|
2
|
+
import { _ as __wbg_init, C as Channel, a as ConnectionState, P as ProtocolMessageType } from './protocol-CsYQJXY2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* RDP's display-control PDU describes a monitor in whole, even pixels within
|
|
@@ -317,12 +317,6 @@ const PhirepassRdp = class {
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
serverId;
|
|
320
|
-
/**
|
|
321
|
-
* Supplies the channel instead of a WebSocket to the server — for demos,
|
|
322
|
-
* screenshots and tests, as on the terminal and SFTP client. A property
|
|
323
|
-
* only; read once, when the widget connects.
|
|
324
|
-
*/
|
|
325
|
-
channelFactory;
|
|
326
320
|
onServerIdChange(_newValue, _oldValue) {
|
|
327
321
|
this.onNodeIdChange(this.nodeId, this.nodeId);
|
|
328
322
|
}
|
|
@@ -342,9 +336,7 @@ const PhirepassRdp = class {
|
|
|
342
336
|
// A widget can be moved in the DOM rather than destroyed, which
|
|
343
337
|
// disconnects and reconnects it; the second life is a real one.
|
|
344
338
|
this.disposed = false;
|
|
345
|
-
|
|
346
|
-
await __wbg_init();
|
|
347
|
-
}
|
|
339
|
+
await __wbg_init();
|
|
348
340
|
this.open_comms();
|
|
349
341
|
this.runtimeReady = true;
|
|
350
342
|
if (!this.nodeId) {
|
|
@@ -440,10 +432,7 @@ const PhirepassRdp = class {
|
|
|
440
432
|
this.channel.connect();
|
|
441
433
|
}
|
|
442
434
|
open_comms() {
|
|
443
|
-
if (this.
|
|
444
|
-
this.channel = this.channelFactory(`${this.create_web_socket_endpoint()}/api/web/ws`, this.nodeId, this.serverId || undefined);
|
|
445
|
-
}
|
|
446
|
-
else if (this.serverId) {
|
|
435
|
+
if (this.serverId) {
|
|
447
436
|
this.channel = new Channel(`${this.create_web_socket_endpoint()}/api/web/ws`, this.nodeId, this.serverId);
|
|
448
437
|
}
|
|
449
438
|
else {
|
|
@@ -762,7 +751,7 @@ const PhirepassRdp = class {
|
|
|
762
751
|
this.request_tunnel();
|
|
763
752
|
}
|
|
764
753
|
render() {
|
|
765
|
-
return (h(Host, { key: '
|
|
754
|
+
return (h(Host, { key: '56354df7bd0d3f01fcd5ff65ca5618ceb6af1b91' }, h("div", { key: '446dc83e41a29c3bc2c341a26092ed3581565967', class: "screen", ref: (el) => (this.containerEl = el) }, h("slot", { key: '2beafc92d81662dfac5c7b41356f6c6c802643b9' })), this.credentialsPrompt && (h("form", { key: 'dcc29b21fba03bb97526ec3d1cf5a1fb51b483e9', class: "prompt", onSubmit: (event) => this.submit_credentials(event) }, h("label", { key: 'b5a3e302089b2282aedbdbefd4fb5eaca7c34455', htmlFor: "rdp-username" }, "Username"), h("input", { key: '3bd1c902a6bc41bc7e69c16258cac78035a949bd', id: "rdp-username", type: "text", autocomplete: "off", autofocus: true, onInput: (event) => (this.usernameBuffer = event.target.value) }), h("label", { key: '2defe12d73b609cbad27c06447c3c3221ff3e5aa', htmlFor: "rdp-password" }, "Password"), h("input", { key: '55935891f24f0c1db71a14c42b2fc7a96c0c0ba6', id: "rdp-password", type: "password", autocomplete: "off", onInput: (event) => (this.passwordBuffer = event.target.value) }), h("button", { key: '83439c0e8756001c7042fc3b6754889d62a8eada', type: "submit" }, "Connect"))), this.statusMessage && !this.credentialsPrompt && (h("div", { key: '294262625f44a3f45d54bcd492875a9b6fd03219', class: "status" }, this.statusMessage))));
|
|
766
755
|
}
|
|
767
756
|
static get watchers() { return {
|
|
768
757
|
"nodeId": [{
|