@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.
@@ -16410,7 +16410,7 @@ class API {
16410
16410
  return {
16411
16411
  clientName: "@seamly/web-ui",
16412
16412
  clientVariant: this.#layoutMode,
16413
- clientVersion: "23.0.5",
16413
+ clientVersion: "23.0.6-alpha.1",
16414
16414
  currentUrl: window.location.toString(),
16415
16415
  screenResolution: `${window.screen.width}x${window.screen.height}`,
16416
16416
  timezone: getTimeZone(),
@@ -24262,6 +24262,7 @@ class ExternalApi {
24262
24262
  constructor(appConfig) {
24263
24263
  this._waitingActions = [];
24264
24264
  this._instances = {};
24265
+ this._timeoutId = undefined;
24265
24266
  this.appConfig = appConfig;
24266
24267
  this.context = {};
24267
24268
  }
@@ -24371,7 +24372,10 @@ class ExternalApi {
24371
24372
  this._instances[config.namespace] = instance;
24372
24373
  // Clear the context after creating the instance, so we do not reuse it for the next
24373
24374
  this.context = {};
24374
- instance.render();
24375
+ window.clearTimeout(this._timeoutId);
24376
+ this._timeoutId = window.setTimeout(() => {
24377
+ instance.render();
24378
+ }, 60);
24375
24379
  }
24376
24380
  }
24377
24381
  handleDestroy(actionObj) {