@innovastudio/contentbox 1.3.16 → 1.3.19
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
@@ -1303,25 +1303,6 @@ class SideBar {
|
|
1303
1303
|
/* First Loading */
|
1304
1304
|
.is-category-list {opacity:0;transition: opacity ease 0.3s;}
|
1305
1305
|
.is-design-list {opacity:0;transition: opacity ease 0.3s;}
|
1306
|
-
.pace {
|
1307
|
-
-webkit-pointer-events: none;
|
1308
|
-
pointer-events: none;
|
1309
|
-
-webkit-user-select: none;
|
1310
|
-
-moz-user-select: none;
|
1311
|
-
user-select: none;
|
1312
|
-
}
|
1313
|
-
.pace-inactive {
|
1314
|
-
display: none;
|
1315
|
-
}
|
1316
|
-
.pace .pace-progress {
|
1317
|
-
background: #000000;
|
1318
|
-
position: fixed;
|
1319
|
-
z-index: 2000;
|
1320
|
-
top: 0;
|
1321
|
-
right: 100%;
|
1322
|
-
width: 100%;
|
1323
|
-
height: 2px;
|
1324
|
-
}
|
1325
1306
|
|
1326
1307
|
</style>
|
1327
1308
|
</head>`;
|
@@ -1399,6 +1380,14 @@ class SideBar {
|
|
1399
1380
|
<script src="${designUrl2}" type="text/javascript"></script>
|
1400
1381
|
|
1401
1382
|
<script>
|
1383
|
+
|
1384
|
+
applyParentStyles();
|
1385
|
+
setTimeout(()=>{
|
1386
|
+
document.querySelector('.is-category-list').style.opacity = 1;
|
1387
|
+
document.querySelector('.is-design-list').style.opacity = 1;
|
1388
|
+
},300);
|
1389
|
+
|
1390
|
+
|
1402
1391
|
function hasClass(element, classname) {
|
1403
1392
|
if(!element) return false;
|
1404
1393
|
try{
|
@@ -2345,12 +2334,6 @@ class SideBar {
|
|
2345
2334
|
}
|
2346
2335
|
});
|
2347
2336
|
|
2348
|
-
setTimeout(()=>{
|
2349
|
-
document.querySelector('.is-category-list').style.opacity = 1;
|
2350
|
-
document.querySelector('.is-design-list').style.opacity = 1;
|
2351
|
-
},300);
|
2352
|
-
|
2353
|
-
applyParentStyles();
|
2354
2337
|
</script>
|
2355
2338
|
</body>
|
2356
2339
|
</html>
|
@@ -10131,8 +10114,9 @@ class EditBox {
|
|
10131
10114
|
});
|
10132
10115
|
const btnModuleOk = modalEditModule.querySelector('.input-ok');
|
10133
10116
|
btnModuleOk.addEventListener('click', () => {
|
10134
|
-
let activeBox = this.builder.activeBox;
|
10135
|
-
let activeModule = activeBox.querySelector('.is-overlay-content[data-module]');
|
10117
|
+
// let activeBox = this.builder.activeBox;
|
10118
|
+
// let activeModule = activeBox.querySelector('.is-overlay-content[data-module]');
|
10119
|
+
let activeModule = document.querySelector('[data-module-active="1"]');
|
10136
10120
|
this.builder.editor.saveForUndo();
|
10137
10121
|
let modalIframe = modalEditModule.querySelector('iframe');
|
10138
10122
|
if (modalIframe.contentWindow.construct) modalIframe.contentWindow.construct();
|
@@ -10684,9 +10668,10 @@ class EditBox {
|
|
10684
10668
|
|
10685
10669
|
refreshModule() {
|
10686
10670
|
const modalEditModule = document.querySelector('.is-modal.editmodule');
|
10687
|
-
const builderStuff = this.builderStuff;
|
10688
|
-
let
|
10689
|
-
|
10671
|
+
const builderStuff = this.builderStuff; // let activeBox = this.builder.activeBox;
|
10672
|
+
// let activeModule = activeBox.querySelector('.is-overlay-content[data-module]');
|
10673
|
+
|
10674
|
+
let activeModule = document.querySelector('[data-module-active="1"]');
|
10690
10675
|
let modalIframe = modalEditModule.querySelector('iframe');
|
10691
10676
|
if (modalIframe.contentWindow.construct) modalIframe.contentWindow.construct();
|
10692
10677
|
const hidModuleCode = builderStuff.querySelector('#hidModuleCode');
|
@@ -87854,7 +87839,9 @@ class ContentBox {
|
|
87854
87839
|
});
|
87855
87840
|
} else {
|
87856
87841
|
Pace.stop();
|
87857
|
-
|
87842
|
+
setTimeout(() => {
|
87843
|
+
startShowing();
|
87844
|
+
}, 300);
|
87858
87845
|
}
|
87859
87846
|
} // Add document Click event
|
87860
87847
|
|