@seamly/web-ui 23.0.5 → 23.0.6-alpha.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.
@@ -5910,7 +5910,7 @@ class API {
5910
5910
  return {
5911
5911
  clientName: "@seamly/web-ui",
5912
5912
  clientVariant: this.#layoutMode,
5913
- clientVersion: "23.0.5",
5913
+ clientVersion: "23.0.6-alpha.1",
5914
5914
  currentUrl: window.location.toString(),
5915
5915
  screenResolution: `${window.screen.width}x${window.screen.height}`,
5916
5916
  timezone: getTimeZone(),
@@ -23239,6 +23239,7 @@ class ExternalApi {
23239
23239
  constructor(appConfig) {
23240
23240
  this._waitingActions = [];
23241
23241
  this._instances = {};
23242
+ this._timeoutId = undefined;
23242
23243
  this.appConfig = appConfig;
23243
23244
  this.context = {};
23244
23245
  }
@@ -23348,7 +23349,10 @@ class ExternalApi {
23348
23349
  this._instances[config.namespace] = instance;
23349
23350
  // Clear the context after creating the instance, so we do not reuse it for the next
23350
23351
  this.context = {};
23351
- instance.render();
23352
+ window.clearTimeout(this._timeoutId);
23353
+ this._timeoutId = window.setTimeout(() => {
23354
+ instance.render();
23355
+ }, 60);
23352
23356
  }
23353
23357
  }
23354
23358
  handleDestroy(actionObj) {