@innovastudio/contentbuilder 1.4.12 → 1.4.13

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.12",
4
+ "version": "1.4.13",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -57513,8 +57513,9 @@ class RowTool {
57513
57513
  </button>
57514
57514
  </div>
57515
57515
 
57516
- <label for="chkReverseColumns" style="margin:20px 0 0;display:flex"><input id="chkReverseColumns" type="checkbox" style="margin:0 7px 0 0"/><span>${util.out('Reverse Columns')}</span></label>
57517
-
57516
+ <div id="divReverseColumns" style="diplay:none">
57517
+ <label for="chkReverseColumns" style="margin:20px 0 0;display:flex"><input id="chkReverseColumns" type="checkbox" style="margin:0 7px 0 0"/><span>${util.out('Reverse Columns')}</span></label>
57518
+ </div>
57518
57519
  </div>
57519
57520
 
57520
57521
  <div id="divRowMore" class="is-tab-content" data-group="rowsettings" tabindex="-1">
@@ -58325,6 +58326,19 @@ class RowTool {
58325
58326
  let actualRow = row.parentNode; // row is actually row overlay
58326
58327
 
58327
58328
  this.realtimeVisibility(actualRow);
58329
+ const divReverseBoxes = this.rowSettings.querySelector('#divReverseColumns');
58330
+ let num = 3; //is-row-tool, is-col-tool & is-rowadd-tool
58331
+
58332
+ if (actualRow.querySelector('.is-row-overlay')) {
58333
+ num = 4; //is-row-tool, is-col-tool, is-rowadd-tool & is-row-overlay
58334
+ }
58335
+
58336
+ if (actualRow.childElementCount - num > 1) {
58337
+ divReverseBoxes.style.display = 'flex';
58338
+ } else {
58339
+ divReverseBoxes.style.display = 'none';
58340
+ }
58341
+
58328
58342
  let elms = this.rowSettings.querySelectorAll('.input-breakpoint');
58329
58343
  elms.forEach(elm => {
58330
58344
  elm.classList.remove('on');