@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.
- package/build/dist/lib/index.debug.js +6 -2
- package/build/dist/lib/index.debug.js.map +1 -1
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.debug.min.js.map +1 -1
- package/build/dist/lib/index.js +6 -2
- package/build/dist/lib/index.js.map +1 -1
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/index.min.js.map +1 -1
- package/build/dist/lib/standalone.js +6 -2
- package/build/dist/lib/standalone.js.map +1 -1
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/standalone.min.js.map +1 -1
- package/build/dist/lib/style-guide.js +6 -2
- package/build/dist/lib/style-guide.js.map +1 -1
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/style-guide.min.js.map +1 -1
- package/build/dist/lib/utils.js +6 -2
- package/build/dist/lib/utils.js.map +1 -1
- package/build/dist/lib/utils.min.js +1 -1
- package/build/dist/lib/utils.min.js.map +1 -1
- package/package.json +1 -1
- package/src/javascripts/lib/external-api/index.js +5 -1
|
@@ -5910,7 +5910,7 @@ class API {
|
|
|
5910
5910
|
return {
|
|
5911
5911
|
clientName: "@seamly/web-ui",
|
|
5912
5912
|
clientVariant: this.#layoutMode,
|
|
5913
|
-
clientVersion: "23.0.
|
|
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
|
-
|
|
23352
|
+
window.clearTimeout(this._timeoutId);
|
|
23353
|
+
this._timeoutId = window.setTimeout(() => {
|
|
23354
|
+
instance.render();
|
|
23355
|
+
}, 60);
|
|
23352
23356
|
}
|
|
23353
23357
|
}
|
|
23354
23358
|
handleDestroy(actionObj) {
|