@salla.sa/twilight-components 2.11.79 → 2.11.80
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/cjs/{app-globals-7aa5a435.js → app-globals-60594fbd.js} +4 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/collection/global/app.js +4 -5
- package/dist/components/index.js +4 -5
- package/dist/esm/{app-globals-225364bb.js → app-globals-42c6e258.js} +4 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/twilight.js +1 -1
- package/dist/esm-es5/{app-globals-225364bb.js → app-globals-42c6e258.js} +2 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/twilight.js +1 -1
- package/dist/twilight/{p-60fb9bb5.system.js → p-12b94535.system.js} +1 -1
- package/dist/twilight/{p-3c6e1a89.js → p-5221b5ad.js} +2 -2
- package/dist/twilight/{p-f35ef1d6.system.js → p-5b027395.system.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/twilight/twilight.js +1 -1
- package/package.json +2 -2
|
@@ -7535,11 +7535,10 @@ function appGlobalScript () {
|
|
|
7535
7535
|
//native way doesn't load backgrounds
|
|
7536
7536
|
// document.lazyLoadBackgrounds = new LazyLoad();
|
|
7537
7537
|
}
|
|
7538
|
-
//
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
// }
|
|
7538
|
+
//make sure that lazyLoad will be fired after loading the page too.
|
|
7539
|
+
if (document.readyState !== 'complete') {
|
|
7540
|
+
document.addEventListener("DOMContentLoaded", () => document.lazyLoadInstance.update());
|
|
7541
|
+
}
|
|
7543
7542
|
// fire it after each load more request;
|
|
7544
7543
|
// @ts-ignore
|
|
7545
7544
|
salla.infiniteScroll.event.onAppend(() => document.lazyLoadInstance.update());
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-1d2b3370.js');
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
9
|
+
const appGlobals = require('./app-globals-60594fbd.js');
|
|
10
10
|
require('./_commonjsHelpers-691dd63b.js');
|
|
11
11
|
|
|
12
12
|
/*
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -19,11 +19,10 @@ export default function () {
|
|
|
19
19
|
//native way doesn't load backgrounds
|
|
20
20
|
// document.lazyLoadBackgrounds = new LazyLoad();
|
|
21
21
|
}
|
|
22
|
-
//
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
// }
|
|
22
|
+
//make sure that lazyLoad will be fired after loading the page too.
|
|
23
|
+
if (document.readyState !== 'complete') {
|
|
24
|
+
document.addEventListener("DOMContentLoaded", () => document.lazyLoadInstance.update());
|
|
25
|
+
}
|
|
27
26
|
// fire it after each load more request;
|
|
28
27
|
// @ts-ignore
|
|
29
28
|
salla.infiniteScroll.event.onAppend(() => document.lazyLoadInstance.update());
|
package/dist/components/index.js
CHANGED
|
@@ -7578,11 +7578,10 @@ function appGlobalScript () {
|
|
|
7578
7578
|
//native way doesn't load backgrounds
|
|
7579
7579
|
// document.lazyLoadBackgrounds = new LazyLoad();
|
|
7580
7580
|
}
|
|
7581
|
-
//
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
// }
|
|
7581
|
+
//make sure that lazyLoad will be fired after loading the page too.
|
|
7582
|
+
if (document.readyState !== 'complete') {
|
|
7583
|
+
document.addEventListener("DOMContentLoaded", () => document.lazyLoadInstance.update());
|
|
7584
|
+
}
|
|
7586
7585
|
// fire it after each load more request;
|
|
7587
7586
|
// @ts-ignore
|
|
7588
7587
|
salla.infiniteScroll.event.onAppend(() => document.lazyLoadInstance.update());
|
|
@@ -7533,11 +7533,10 @@ function appGlobalScript () {
|
|
|
7533
7533
|
//native way doesn't load backgrounds
|
|
7534
7534
|
// document.lazyLoadBackgrounds = new LazyLoad();
|
|
7535
7535
|
}
|
|
7536
|
-
//
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
// }
|
|
7536
|
+
//make sure that lazyLoad will be fired after loading the page too.
|
|
7537
|
+
if (document.readyState !== 'complete') {
|
|
7538
|
+
document.addEventListener("DOMContentLoaded", () => document.lazyLoadInstance.update());
|
|
7539
|
+
}
|
|
7541
7540
|
// fire it after each load more request;
|
|
7542
7541
|
// @ts-ignore
|
|
7543
7542
|
salla.infiniteScroll.event.onAppend(() => document.lazyLoadInstance.update());
|
package/dist/esm/loader.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
4
|
import { C as CSS, p as plt, w as win, a as promiseResolve, b as bootstrapLazy } from './index-f1d446ac.js';
|
|
5
|
-
import { g as globalScripts } from './app-globals-
|
|
5
|
+
import { g as globalScripts } from './app-globals-42c6e258.js';
|
|
6
6
|
import './_commonjsHelpers-1415ffd3.js';
|
|
7
7
|
|
|
8
8
|
/*
|
package/dist/esm/twilight.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
4
|
import { p as plt, w as win, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-f1d446ac.js';
|
|
5
|
-
import { g as globalScripts } from './app-globals-
|
|
5
|
+
import { g as globalScripts } from './app-globals-42c6e258.js';
|
|
6
6
|
import './_commonjsHelpers-1415ffd3.js';
|
|
7
7
|
|
|
8
8
|
/*
|