phirepass-widgets 0.0.15 → 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.
@@ -594,7 +594,7 @@ function __wbg_get_imports() {
594
594
  __wbg_set_onopen_34e3e24cf9337ddd: function(arg0, arg1) {
595
595
  getObject(arg0).onopen = getObject(arg1);
596
596
  },
597
- __wbg_warn_3ba994e68c965ce3: function(arg0, arg1) {
597
+ __wbg_warn_805e04431c9f73c4: function(arg0, arg1) {
598
598
  console.warn(getStringFromWasm0(arg0, arg1));
599
599
  },
600
600
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
@@ -613,8 +613,8 @@ function __wbg_get_imports() {
613
613
  return addHeapObject(ret);
614
614
  },
615
615
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
616
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
617
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_40);
616
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
617
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_41);
618
618
  return addHeapObject(ret);
619
619
  },
620
620
  __wbindgen_cast_0000000000000005: function(arg0) {
@@ -651,8 +651,8 @@ function __wbg_get_imports() {
651
651
  };
652
652
  }
653
653
 
654
- function __wasm_bindgen_func_elem_40(arg0, arg1) {
655
- wasm.__wasm_bindgen_func_elem_40(arg0, arg1);
654
+ function __wasm_bindgen_func_elem_41(arg0, arg1) {
655
+ wasm.__wasm_bindgen_func_elem_41(arg0, arg1);
656
656
  }
657
657
 
658
658
  function __wasm_bindgen_func_elem_38(arg0, arg1, arg2) {
@@ -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"; }