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.
@@ -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: '3f923e0cc42c6a8eca61424a7e75960317a5d99c' }, index.h("div", { key: '4a3e2f6d4652b7049c9ec9f535ad32fd6401cc09', id: "ccc" })));
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: '3f923e0cc42c6a8eca61424a7e75960317a5d99c' }, h("div", { key: '4a3e2f6d4652b7049c9ec9f535ad32fd6401cc09', id: "ccc" })));
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"; }