phirepass-widgets 0.0.16 → 0.0.17
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/phirepass-terminal.cjs.entry.js +3 -1
- package/dist/collection/components/phirepass-terminal/phirepass-terminal.js +3 -1
- package/dist/components/phirepass-terminal.js +4 -4
- package/dist/esm/phirepass-terminal.entry.js +3 -1
- package/dist/phirepass-widgets/{p-28ebc71e.entry.js → p-38bcbe7c.entry.js} +1 -1
- package/dist/phirepass-widgets/phirepass-widgets.esm.js +1 -1
- package/package.json +1 -1
|
@@ -1267,8 +1267,10 @@ const PhirepassTerminal = class {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
connect() {
|
|
1269
1269
|
const container = this.el.shadowRoot.getElementById('ccc');
|
|
1270
|
+
console.log('Attempting to connect terminal to container:', container);
|
|
1270
1271
|
if (container) {
|
|
1271
1272
|
this.terminal.open(container);
|
|
1273
|
+
console.log('Terminal opened in container');
|
|
1272
1274
|
this.fitAddon.fit();
|
|
1273
1275
|
this.terminal.focus();
|
|
1274
1276
|
this.terminal.onData(this.handleTerminalData.bind(this));
|
|
@@ -1382,7 +1384,7 @@ const PhirepassTerminal = class {
|
|
|
1382
1384
|
this.usernameBuffer = "";
|
|
1383
1385
|
}
|
|
1384
1386
|
render() {
|
|
1385
|
-
return (index.h(index.Host, { key: '
|
|
1387
|
+
return (index.h(index.Host, { key: '1456c7a70c91f451ee9da4382e97b1b69a786fa0' }, index.h("div", { key: 'acdc106e9687508da70cb2f9b5897c67537da012', id: "ccc" })));
|
|
1386
1388
|
}
|
|
1387
1389
|
static get watchers() { return {
|
|
1388
1390
|
"nodeId": [{
|
|
@@ -292,8 +292,10 @@ export class PhirepassTerminal {
|
|
|
292
292
|
}
|
|
293
293
|
connect() {
|
|
294
294
|
const container = this.el.shadowRoot.getElementById('ccc');
|
|
295
|
+
console.log('Attempting to connect terminal to container:', container);
|
|
295
296
|
if (container) {
|
|
296
297
|
this.terminal.open(container);
|
|
298
|
+
console.log('Terminal opened in container');
|
|
297
299
|
this.fitAddon.fit();
|
|
298
300
|
this.terminal.focus();
|
|
299
301
|
this.terminal.onData(this.handleTerminalData.bind(this));
|
|
@@ -407,7 +409,7 @@ export class PhirepassTerminal {
|
|
|
407
409
|
this.usernameBuffer = "";
|
|
408
410
|
}
|
|
409
411
|
render() {
|
|
410
|
-
return (h(Host, { key: '
|
|
412
|
+
return (h(Host, { key: '1456c7a70c91f451ee9da4382e97b1b69a786fa0' }, h("div", { key: 'acdc106e9687508da70cb2f9b5897c67537da012', id: "ccc" })));
|
|
411
413
|
}
|
|
412
414
|
static get is() { return "phirepass-terminal"; }
|
|
413
415
|
static get encapsulation() { return "shadow"; }
|