@jboltai/tokui 0.1.0 → 0.1.1

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/tokui.mjs CHANGED
@@ -8705,7 +8705,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
8705
8705
  theme: "default",
8706
8706
  streaming: !0,
8707
8707
  onEvent: null
8708
- }, e), this.renderer = new n(i), o(this.renderer), this.parser = null, this.container = null, this.streamingContainer = null, this.options.container && typeof document < "u" && (this.container = typeof this.options.container == "string" ? document.querySelector(this.options.container) : this.options.container, a.init(this.container), this.options.theme && this.options.theme !== "default" && a.setTheme(this.options.theme)), typeof window < "u" && (window.TokUI._instance = this, window.TokUI._internal.el = r, window.TokUI.registerHandler = i.registerHandler.bind(i), window.TokUI.setTheme = a.setTheme.bind(a), window.TokUI.showNotification || (window.TokUI.showNotification = function() {}));
8708
+ }, e), this.renderer = new n(i), o(this.renderer), this.parser = null, this.container = null, this.streamingContainer = null, this.options.container && typeof document < "u" && (this.container = typeof this.options.container == "string" ? document.querySelector(this.options.container) : this.options.container, a.init(this.container), this.options.theme && a.setTheme(this.options.theme)), typeof window < "u" && (window.TokUI._instance = this, window.TokUI._internal.el = r, window.TokUI.registerHandler = i.registerHandler.bind(i), window.TokUI.setTheme = a.setTheme.bind(a), window.TokUI.showNotification || (window.TokUI.showNotification = function() {}));
8709
8709
  }
8710
8710
  render(t, n) {
8711
8711
  let r = n || this.container;