@innovastudio/contentbuilder 1.4.49 → 1.4.51
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/package.json
CHANGED
@@ -3941,6 +3941,11 @@ class Util {
|
|
3941
3941
|
}
|
3942
3942
|
|
3943
3943
|
confirm(message, callback, yesno, yestext) {
|
3944
|
+
if (!this.builder.deleteConfirm) {
|
3945
|
+
callback(true);
|
3946
|
+
return;
|
3947
|
+
}
|
3948
|
+
|
3944
3949
|
const dom = this.dom;
|
3945
3950
|
let html = '';
|
3946
3951
|
html = `<div class="is-modal is-confirm" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
@@ -77933,7 +77938,27 @@ class LivePreview {
|
|
77933
77938
|
iframeDocument.body.appendChild(scriptElm);
|
77934
77939
|
}
|
77935
77940
|
}
|
77941
|
+
}); // Play Anim
|
77942
|
+
|
77943
|
+
elms = wrapper.querySelectorAll('.is-animated');
|
77944
|
+
elms.forEach(elm => {
|
77945
|
+
elm.style.opacity = '0';
|
77946
|
+
elm.style.transition = 'none';
|
77936
77947
|
});
|
77948
|
+
setTimeout(() => {
|
77949
|
+
let elms = wrapper.querySelectorAll('.is-animated');
|
77950
|
+
elms.forEach(elm => {
|
77951
|
+
elm.classList.remove('is-inview');
|
77952
|
+
});
|
77953
|
+
setTimeout(() => {
|
77954
|
+
elms = wrapper.querySelectorAll('.is-animated');
|
77955
|
+
elms.forEach(elm => {
|
77956
|
+
elm.style.opacity = '';
|
77957
|
+
elm.style.transition = '';
|
77958
|
+
elm.classList.add('is-inview');
|
77959
|
+
});
|
77960
|
+
}, 30);
|
77961
|
+
}, 200);
|
77937
77962
|
}
|
77938
77963
|
}
|
77939
77964
|
} else {
|
@@ -78281,6 +78306,7 @@ class ContentBuilder {
|
|
78281
78306
|
lightboxArrow: true,
|
78282
78307
|
imageRenameOnEdit: true,
|
78283
78308
|
disableAutoEmbedVideo: false,
|
78309
|
+
deleteConfirm: false,
|
78284
78310
|
sectionTemplate: `
|
78285
78311
|
<div class="is-section is-box is-section-100 type-opensans">
|
78286
78312
|
<div class="is-overlay"></div>
|