@social-mail/social-mail-client 1.11.119 → 1.11.121
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/content/preview-video-generator/stop-script.js +28 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/admin/AdminAppIndex.loader.js +1 -1
- package/dist/admin/AdminAppIndex.pack.js +4 -4
- package/dist/apps/hosting/HostingApp.loader.js +1 -1
- package/dist/apps/hosting/HostingApp.pack.js +27 -27
- package/dist/apps/site/user/SiteUserApp.loader.js +1 -1
- package/dist/public/channel/ChannelApp.loader.js +1 -1
- package/dist/public/channel/ChannelApp.pack.js +4 -4
- package/dist/public/contact-us/ContactUsApp.loader.js +1 -1
- package/dist/public/contact-us/ContactUsApp.pack.js +4 -4
- package/dist/public/download-zip/DownloadZip.loader.js +1 -1
- package/dist/public/download-zip/DownloadZip.pack.js +3 -3
- package/dist/public/preview/pdf/PreviewPDF.loader.js +1 -1
- package/dist/public/preview/pdf/PreviewPDF.pack.js +4 -4
- package/dist/public/preview/video/PreviewVideo.loader.js +1 -1
- package/dist/public/preview/video/PreviewVideo.pack.js +4 -4
- package/dist/public/preview/zip/DownloadZip.loader.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.js +7 -7
- package/dist/public/store/StoreApp.loader.js +1 -1
- package/dist/public/store/cart/ShoppingCart.loader.js +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +22 -22
- package/dist/public/users/signup/SignupPage.loader.js +1 -1
- package/dist/public/users/signup/SignupPage.pack.js +13 -13
- package/dist/site-editor-app/SiteEditorApp.loader.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +10 -10
- package/dist/web/AppIndex.loader.js +1 -1
- package/dist/web/AppIndex.pack.js +12 -12
- package/package.json +1 -1
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
window.stopPreviewRecording = async () => {
|
|
2
|
+
|
|
3
|
+
const flipBoxes = document.querySelectorAll("flip-box");
|
|
4
|
+
|
|
5
|
+
/** @type {[() => void, number][]} */
|
|
6
|
+
const tasks = [];
|
|
7
|
+
|
|
8
|
+
if(flipBoxes.length) {
|
|
9
|
+
for(let i=0;i<flipBoxes.length;i++) {
|
|
10
|
+
const fp = flipBoxes[i];
|
|
11
|
+
tasks.push([() => fp.dispatchEvent(new CustomEvent("click", { bubbles: true })), 1000]);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const onScrolls = document.querySelectorAll("[styler-on-scroll-above]");
|
|
16
|
+
if(onScrolls.length) {
|
|
17
|
+
for(let i=0;i<onScrolls.length;i++) {
|
|
18
|
+
const oss = onScrolls[i];
|
|
19
|
+
tasks.push([() => oss.scrollIntoView({ behavior: "smooth" }), 1000]);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
(async () => {
|
|
24
|
+
for(const [t, delay = 1000] of tasks) {
|
|
25
|
+
t();
|
|
26
|
+
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
27
|
+
}
|
|
28
|
+
})().catch(console.error)
|
|
29
|
+
|
|
2
30
|
await new Promise((resolve) => setTimeout(resolve, 7000));
|
|
3
31
|
return true;
|
|
4
32
|
};
|